Add more libm tests (fabs, fdim, fma, fmax, fmin, fmod).
[glibc.git] / ChangeLog
blobd720fcb01b361fbc900702c71ca145d78a182c10
1 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3         * math/libm-test.inc (fabs_test_data): Add more tests.
4         (fdim_test_data): Likewise.
5         (fma_test_data): Likewise.
6         (fmax_test_data): Likewise.
7         (fmin_test_data): Likewise.
8         (fmod_test_data): Likewise.
10 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
13         data.
15 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17         * math/libm-test.inc (ceil_test_data): Add more tests and more
18         expectations for "inexact".
19         (floor_test_data): Add more tests.
20         (round_test_data): Likewise.
21         (trunc_test_data): Likewise.
23         * crypt/cert.c (good_bye): Convert to prototype-style function
24         definition.
25         (get8): Likewise.
26         (put8): Likewise.
27         * crypt/crypt-entry.c (crypt): Likewise.
28         (__fcrypt): Likewise.
29         * crypt/crypt_util.c (_ufc_prbits): Likewise.
30         (_ufc_set_bits): Likewise.
31         (_ufc_clearmem): Likewise.
32         (__init_des_r): Likewise.
33         (shuffle_sb): Likewise.
34         (shuffle_sb): Likewise.
35         (_ufc_setup_salt_r): Likewise.
36         (_ufc_mk_keytab_r): Likewise.
37         (_ufc_dofinalperm_r): Likewise.
38         (encrypt): Likewise.
39         (__setkey_r): Likewise.
40         (setkey): Likewise.
41         * crypt/md5.c (md5_init_ctx): Likewise.
42         (md5_read_ctx): Likewise.
43         (md5_finish_ctx): Likewise.
44         (md5_stream): Likewise.
45         (md5_buffer): Likewise.
46         (md5_process_bytes): Likewise.
47         * crypt/sha256.c (__sha256_init_ctx): Likewise.
48         (__sha256_finish_ctx): Likewise.
49         (__sha256_process_bytes): Likewise.
50         * crypt/sha512.c (__sha512_init_ctx): Likewise.
51         (__sha512_finish_ctx): Likewise.
52         (__sha512_process_bytes): Likewise.
53         * ctype/isctype.c (__isctype): Likewise.
54         * debug/backtrace.c (__backtrace): Likewise.
55         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
56         * debug/fgets_chk.c (__fgets_chk): Likewise.
57         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
58         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
59         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
61         * debug/memset_chk.c (__memset_chk): Likewise.
62         * debug/strcat_chk.c (__strcat_chk): Likewise.
63         * debug/strncat_chk.c (__strncat_chk): Likewise.
64         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
65         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
66         * dirent/dirfd.c (dirfd): Likewise.
67         * dirent/getdents.c (__getdirentries): Likewise.
68         * dirent/getdents64.c (getdirentries64): Likewise.
69         * dirent/rewinddir.c (__rewinddir): Likewise.
70         * dirent/seekdir.c (seekdir): Likewise.
71         * dirent/telldir.c (telldir): Likewise.
72         * elf/sln.c (makesymlinks): Likewise.
73         (makesymlink): Likewise.
74         * gmon/gmon.c (__moncontrol): Likewise.
75         (__monstartup): Likewise.
76         (write_hist): Likewise.
77         (write_call_graph): Likewise.
78         (write_bb_counts): Likewise.
79         * grp/setgroups.c (setgroups): Likewise.
80         * inet/inet_lnaof.c (inet_lnaof): Likewise.
81         * inet/inet_net.c (inet_network): Likewise.
82         * inet/inet_netof.c (inet_netof): Likewise.
83         * inet/rcmd.c (rresvport_af): Likewise.
84         (rresvport): Likewise.
85         * io/access.c (__access): Likewise.
86         * io/chdir.c (__chdir): Likewise.
87         * io/chmod.c (__chmod): Likewise.
88         * io/chown.c (__chown): Likewise.
89         * io/close.c (__close): Likewise.
90         * io/creat.c (creat): Likewise.
91         * io/creat64.c (creat64): Likewise.
92         * io/dup.c (__dup): Likewise.
93         * io/dup2.c (__dup2): Likewise.
94         * io/dup3.c (__dup3): Likewise.
95         * io/euidaccess.c (__euidaccess): Likewise.
96         * io/faccessat.c (faccessat): Likewise.
97         * io/fchmod.c (__fchmod): Likewise.
98         * io/fchmodat.c (fchmodat): Likewise.
99         * io/fchown.c (__fchown): Likewise.
100         * io/fchownat.c (fchownat): Likewise.
101         * io/fcntl.c (__fcntl): Likewise.
102         * io/flock.c (__flock): Likewise.
103         * io/fts.c (fts_load): Likewise.
104         (fts_close): Likewise.
105         (fts_read): Likewise.
106         (fts_set): Likewise.
107         (fts_children): Likewise.
108         (fts_build): Likewise.
109         (fts_stat): Likewise.
110         (fts_sort): Likewise.
111         (fts_alloc): Likewise.
112         (fts_lfree): Likewise.
113         (fts_palloc): Likewise.
114         (fts_padjust): Likewise.
115         (fts_maxarglen): Likewise.
116         (fts_safe_changedir): Likewise.
117         * io/getwd.c (getwd): Likewise.
118         * io/isatty.c (__isatty): Likewise.
119         * io/lchown.c (__lchown): Likewise.
120         * io/link.c (__link): Likewise.
121         * io/linkat.c (linkat): Likewise.
122         * io/lseek.c (__libc_lseek): Likewise.
123         * io/mkdir.c (__mkdir): Likewise.
124         * io/mkdirat.c (mkdirat): Likewise.
125         * io/mkfifo.c (mkfifo): Likewise.
126         * io/mkfifoat.c (mkfifoat): Likewise.
127         * io/open.c (__libc_open): Likewise.
128         * io/open64.c (__libc_open64): Likewise.
129         * io/readlink.c (__readlink): Likewise.
130         * io/readlinkat.c (readlinkat): Likewise.
131         * io/rmdir.c (__rmdir): Likewise.
132         * io/symlink.c (__symlink): Likewise.
133         * io/symlinkat.c (symlinkat): Likewise.
134         * io/ttyname.c (ttyname): Likewise.
135         * io/ttyname_r.c (__ttyname_r): Likewise.
136         * io/umask.c (__umask): Likewise.
137         * io/unlink.c (__unlink): Likewise.
138         * io/unlinkat.c (unlinkat): Likewise.
139         * io/utime.c (utime): Likewise.
140         * libio/clearerr.c (clearerr): Likewise.
141         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
142         * libio/feof.c (_IO_feof): Likewise.
143         * libio/feof_u.c (feof_unlocked): Likewise.
144         * libio/ferror.c (_IO_ferror): Likewise.
145         * libio/ferror_u.c (ferror_unlocked): Likewise.
146         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
147         * libio/fileno.c (__fileno): Likewise.
148         * libio/fputc.c (fputc): Likewise.
149         * libio/fputc_u.c (fputc_unlocked): Likewise.
150         * libio/fputwc.c (fputwc): Likewise.
151         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
152         * libio/freopen.c (freopen): Likewise.
153         * libio/freopen64.c (freopen64): Likewise.
154         * libio/fseek.c (fseek): Likewise.
155         * libio/fseeko.c (fseeko): Likewise.
156         * libio/fseeko64.c (fseeko64): Likewise.
157         * libio/ftello.c (__ftello): Likewise.
158         * libio/ftello64.c (ftello64): Likewise.
159         * libio/fwide.c (fwide): Likewise.
160         * libio/genops.c (_IO_un_link): Likewise.
161         (_IO_link_in): Likewise.
162         (_IO_least_marker): Likewise.
163         (_IO_switch_to_main_get_area): Likewise.
164         (_IO_switch_to_backup_area): Likewise.
165         (_IO_switch_to_get_mode): Likewise.
166         (_IO_free_backup_area): Likewise.
167         (_IO_switch_to_put_mode): Likewise.
168         (__overflow): Likewise.
169         (__underflow): Likewise.
170         (__uflow): Likewise.
171         (_IO_setb): Likewise.
172         (_IO_doallocbuf): Likewise.
173         (_IO_default_underflow): Likewise.
174         (_IO_default_uflow): Likewise.
175         (_IO_default_xsputn): Likewise.
176         (_IO_sgetn): Likewise.
177         (_IO_default_xsgetn): Likewise.
178         (_IO_sync): Likewise.
179         (_IO_default_setbuf): Likewise.
180         (_IO_default_seekpos): Likewise.
181         (_IO_default_doallocate): Likewise.
182         (_IO_init): Likewise.
183         (_IO_old_init): Likewise.
184         (_IO_default_sync): Likewise.
185         (_IO_default_finish): Likewise.
186         (_IO_default_seekoff): Likewise.
187         (_IO_sputbackc): Likewise.
188         (_IO_sungetc): Likewise.
189         (_IO_set_column): Likewise.
190         (_IO_set_column): Likewise.
191         (_IO_adjust_column): Likewise.
192         (_IO_get_column): Likewise.
193         (_IO_init_marker): Likewise.
194         (_IO_remove_marker): Likewise.
195         (_IO_marker_difference): Likewise.
196         (_IO_marker_delta): Likewise.
197         (_IO_seekmark): Likewise.
198         (_IO_unsave_markers): Likewise.
199         (_IO_nobackup_pbackfail): Likewise.
200         (_IO_default_pbackfail): Likewise.
201         (_IO_default_seek): Likewise.
202         (_IO_default_stat): Likewise.
203         (_IO_default_read): Likewise.
204         (_IO_default_write): Likewise.
205         (_IO_default_showmanyc): Likewise.
206         (_IO_default_imbue): Likewise.
207         (_IO_iter_next): Likewise.
208         (_IO_iter_file): Likewise.
209         * libio/getc.c (_IO_getc): Likewise.
210         * libio/getwc.c (_IO_getwc): Likewise.
211         * libio/iofclose.c (_IO_new_fclose): Likewise.
212         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
213         * libio/iofflush.c (_IO_fflush): Likewise.
214         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
215         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
216         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
217         * libio/iofgets.c (_IO_fgets): Likewise.
218         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
219         * libio/iofgetws.c (fgetws): Likewise.
220         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
221         * libio/iofopen64.c (_IO_fopen64): Likewise.
222         * libio/iofopncook.c (_IO_cookie_read): Likewise.
223         (_IO_cookie_write): Likewise.
224         (_IO_cookie_seek): Likewise.
225         (_IO_cookie_close): Likewise.
226         (_IO_cookie_seekoff): Likewise.
227         (_IO_old_cookie_seek): Likewise.
228         * libio/iofputs.c (_IO_fputs): Likewise.
229         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
230         * libio/iofputws.c (fputws): Likewise.
231         * libio/iofputws_u.c (fputws_unlocked): Likewise.
232         * libio/iofread.c (_IO_fread): Likewise.
233         * libio/iofread_u.c (__fread_unlocked): Likewise.
234         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
235         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
236         * libio/ioftell.c (_IO_ftell): Likewise.
237         * libio/iofwrite.c (_IO_fwrite): Likewise.
238         * libio/iogetdelim.c (_IO_getdelim): Likewise.
239         * libio/iogets.c (_IO_gets): Likewise.
240         * libio/iopadn.c (_IO_padn): Likewise.
241         * libio/iopopen.c (_IO_new_proc_open): Likewise.
242         (_IO_new_popen): Likewise.
243         (_IO_new_proc_close): Likewise.
244         * libio/ioputs.c (_IO_puts): Likewise.
245         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
246         (_IO_seekoff): Likewise.
247         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
248         (_IO_seekpos): Likewise.
249         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
250         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
251         * libio/ioungetc.c (_IO_ungetc): Likewise.
252         * libio/ioungetwc.c (ungetwc): Likewise.
253         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
254         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
255         * libio/iowpadn.c (_IO_wpadn): Likewise.
256         * libio/libc_fatal.c (__libc_fatal): Likewise.
257         * libio/memstream.c (__open_memstream): Likewise.
258         (_IO_mem_sync): Likewise.
259         (_IO_mem_finish): Likewise.
260         * libio/oldfileops.c (_IO_old_file_init): Likewise.
261         (_IO_old_file_close_it): Likewise.
262         (_IO_old_file_finish): Likewise.
263         (_IO_old_file_fopen): Likewise.
264         (_IO_old_file_attach): Likewise.
265         (_IO_old_file_setbuf): Likewise.
266         (_IO_old_do_write): Likewise.
267         (old_do_write): Likewise.
268         (_IO_old_file_underflow): Likewise.
269         (_IO_old_file_overflow): Likewise.
270         (_IO_old_file_sync): Likewise.
271         (_IO_old_file_seekoff): Likewise.
272         (_IO_old_file_write): Likewise.
273         (_IO_old_file_xsputn): Likewise.
274         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
275         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
276         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
277         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
278         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
279         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
280         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
281         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
282         (_IO_old_popen): Likewise.
283         (_IO_old_proc_close): Likewise.
284         * libio/oldpclose.c (__old_pclose): Likewise.
285         * libio/pclose.c (__new_pclose): Likewise.
286         * libio/peekc.c (_IO_peekc_locked): Likewise.
287         * libio/putc.c (_IO_putc): Likewise.
288         * libio/putc_u.c (putc_unlocked): Likewise.
289         * libio/putchar.c (putchar): Likewise.
290         * libio/putchar_u.c (putchar_unlocked): Likewise.
291         * libio/putwc.c (putwc): Likewise.
292         * libio/putwc_u.c (putwc_unlocked): Likewise.
293         * libio/putwchar.c (putwchar): Likewise.
294         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
295         * libio/rewind.c (rewind): Likewise.
296         * libio/setbuf.c (setbuf): Likewise.
297         * libio/setlinebuf.c (setlinebuf): Likewise.
298         * libio/vasprintf.c (_IO_vasprintf): Likewise.
299         * libio/vscanf.c (_IO_vscanf): Likewise.
300         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
301         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
302         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
303         * libio/wgenops.c (_IO_least_wmarker): Likewise.
304         (_IO_switch_to_main_wget_area): Likewise.
305         (_IO_switch_to_wbackup_area): Likewise.
306         (_IO_wsetb): Likewise.
307         (_IO_wdefault_pbackfail): Likewise.
308         (_IO_wdefault_finish): Likewise.
309         (_IO_wdefault_uflow): Likewise.
310         (__woverflow): Likewise.
311         (__wuflow): Likewise.
312         (__wunderflow): Likewise.
313         (_IO_wdefault_xsputn): Likewise.
314         (_IO_wdefault_xsgetn): Likewise.
315         (_IO_wdoallocbuf): Likewise.
316         (_IO_wdefault_doallocate): Likewise.
317         (_IO_switch_to_wget_mode): Likewise.
318         (_IO_free_wbackup_area): Likewise.
319         (_IO_switch_to_wput_mode): Likewise.
320         (_IO_sputbackwc): Likewise.
321         (_IO_sungetwc): Likewise.
322         (_IO_adjust_wcolumn): Likewise.
323         (_IO_init_wmarker): Likewise.
324         (_IO_wmarker_delta): Likewise.
325         (_IO_seekwmark): Likewise.
326         (_IO_unsave_wmarkers): Likewise.
327         * libio/wmemstream.c (open_wmemstream): Likewise.
328         (_IO_wmem_sync): Likewise.
329         (_IO_wmem_finish): Likewise.
330         * locale/nl_langinfo.c (nl_langinfo): Likewise.
331         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
332         * locale/programs/simple-hash.c (init_hash): Likewise.
333         (delete_hash): Likewise.
334         (insert_entry): Likewise.
335         (set_entry): Likewise.
336         (next_prime): Likewise.
337         (is_prime): Likewise.
338         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
339         (xmalloc): Likewise.
340         (xrealloc): Likewise.
341         * locale/programs/xstrdup.c (xstrdup): Likewise.
342         * localedata/collate-test.c (xstrcoll): Likewise.
343         * localedata/xfrm-test.c (xstrcmp): Likewise.
344         * login/getlogin_r.c (__getlogin_r): Likewise.
345         * login/getpt.c (__posix_openpt): Likewise.
346         * login/login_tty.c (login_tty): Likewise.
347         * login/setlogin.c (setlogin): Likewise.
348         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
349         (mach_msg_destroy_port): Likewise.
350         (mach_msg_destroy_memory): Likewise.
351         * malloc/mcheck.c (flood): Likewise.
352         * misc/acct.c (acct): Likewise.
353         * misc/brk.c (__brk): Likewise.
354         * misc/chflags.c (chflags): Likewise.
355         * misc/chroot.c (chroot): Likewise.
356         * misc/fchflags.c (fchflags): Likewise.
357         * misc/fstab.c (getfsspec): Likewise.
358         (getfsfile): Likewise.
359         * misc/fsync.c (fsync): Likewise.
360         * misc/ftruncate.c (__ftruncate): Likewise.
361         * misc/ftruncate64.c (__ftruncate64): Likewise.
362         * misc/getdomain.c (getdomainname): Likewise.
363         (getdomainname): Likewise.
364         * misc/gethostname.c (__gethostname): Likewise.
365         * misc/getpass.c (getpass): Likewise.
366         * misc/getttyent.c (skip): Likewise.
367         (value): Likewise.
368         * misc/gtty.c (gtty): Likewise.
369         * misc/hsearch.c (hsearch): Likewise.
370         (hcreate): Likewise.
371         * misc/hsearch_r.c (__hcreate_r): Likewise.
372         (__hdestroy_r): Likewise.
373         * misc/ioctl.c (__ioctl): Likewise.
374         * misc/mkdtemp.c (mkdtemp): Likewise.
375         * misc/mkostemp.c (mkostemp): Likewise.
376         * misc/mkostemp64.c (mkostemp64): Likewise.
377         * misc/mkostemps.c (mkostemps): Likewise.
378         * misc/mkostemps64.c (mkostemps64): Likewise.
379         * misc/mkstemp.c (mkstemp): Likewise.
380         * misc/mkstemp64.c (mkstemp64): Likewise.
381         * misc/mkstemps.c (mkstemps): Likewise.
382         * misc/mkstemps64.c (mkstemps64): Likewise.
383         * misc/mktemp.c (__mktemp): Likewise.
384         * misc/preadv.c (preadv): Likewise.
385         * misc/preadv64.c (preadv64): Likewise.
386         * misc/pwritev.c (pwritev): Likewise.
387         * misc/pwritev64.c (pwritev64): Likewise.
388         * misc/readv.c (__readv): Likewise.
389         * misc/revoke.c (revoke): Likewise.
390         * misc/setdomain.c (setdomainname): Likewise.
391         * misc/setegid.c (setegid): Likewise.
392         * misc/seteuid.c (seteuid): Likewise.
393         * misc/sethostid.c (sethostid): Likewise.
394         * misc/sethostname.c (sethostname): Likewise.
395         * misc/setregid.c (__setregid): Likewise.
396         * misc/setreuid.c (__setreuid): Likewise.
397         * misc/sstk.c (sstk): Likewise.
398         * misc/stty.c (stty): Likewise.
399         * misc/syscall.c (syscall): Likewise.
400         * misc/syslog.c (setlogmask): Likewise.
401         * misc/truncate.c (__truncate): Likewise.
402         * misc/truncate64.c (truncate64): Likewise.
403         * misc/ualarm.c (ualarm): Likewise.
404         * misc/usleep.c (usleep): Likewise.
405         * misc/ustat.c (ustat): Likewise.
406         * misc/writev.c (__writev): Likewise.
407         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
408         * nptl/old_pthread_cond_broadcast.c
409         (__pthread_cond_broadcast_2_0): Likewise.
410         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
411         Likewise.
412         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
413         Likewise.
414         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
415         Likewise.
416         * nptl/pt-raise.c (raise): Likewise.
417         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
418         Likewise.
419         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
420         * nptl/pthread_barrierattr_destroy.c
421         (pthread_barrierattr_destroy): Likewise.
422         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
423         Likewise.
424         * nptl/pthread_barrierattr_setpshared.c
425         (pthread_barrierattr_setpshared): Likewise.
426         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
427         Likewise.
428         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
429         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
430         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
431         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
432         Likewise.
433         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
434         Likewise.
435         * nptl/pthread_condattr_getpshared.c
436         (pthread_condattr_getpshared): Likewise.
437         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
438         Likewise.
439         * nptl/pthread_condattr_setpshared.c
440         (pthread_condattr_setpshared): Likewise.
441         * nptl/pthread_detach.c (pthread_detach): Likewise.
442         * nptl/pthread_equal.c (__pthread_equal): Likewise.
443         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
444         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
445         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
446         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
447         Likewise.
448         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
449         Likewise.
450         * nptl/pthread_mutex_getprioceiling.c
451         (pthread_mutex_getprioceiling): Likewise.
452         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
453         Likewise.
454         * nptl/pthread_mutexattr_getprotocol.c
455         (pthread_mutexattr_getprotocol): Likewise.
456         * nptl/pthread_mutexattr_getpshared.c
457         (pthread_mutexattr_getpshared): Likewise.
458         * nptl/pthread_mutexattr_getrobust.c
459         (pthread_mutexattr_getrobust): Likewise.
460         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
461         Likewise.
462         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
463         Likewise.
464         * nptl/pthread_mutexattr_setprioceiling.c
465         (pthread_mutexattr_setprioceiling): Likewise.
466         * nptl/pthread_mutexattr_setprotocol.c
467         (pthread_mutexattr_setprotocol): Likewise.
468         * nptl/pthread_mutexattr_setpshared.c
469         (pthread_mutexattr_setpshared): Likewise.
470         * nptl/pthread_mutexattr_setrobust.c
471         (pthread_mutexattr_setrobust): Likewise.
472         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
473         Likewise.
474         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
475         Likewise.
476         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
477         Likewise.
478         * nptl/pthread_rwlockattr_getkind_np.c
479         (pthread_rwlockattr_getkind_np): Likewise.
480         * nptl/pthread_rwlockattr_getpshared.c
481         (pthread_rwlockattr_getpshared): Likewise.
482         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
483         Likewise.
484         * nptl/pthread_rwlockattr_setkind_np.c
485         (pthread_rwlockattr_setkind_np): Likewise.
486         * nptl/pthread_rwlockattr_setpshared.c
487         (pthread_rwlockattr_setpshared): Likewise.
488         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
489         Likewise.
490         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
491         Likewise.
492         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
493         Likewise.
494         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
495         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
496         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
497         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
498         * nptl/sem_close.c (sem_close): Likewise.
499         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
500         * nptl/sem_init.c (__old_sem_init): Likewise.
501         * nptl/sigaction.c (__sigaction): Likewise.
502         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
503         * posix/_exit.c (_exit): Likewise.
504         * posix/alarm.c (alarm): Likewise.
505         * posix/confstr.c (confstr): Likewise.
506         * posix/fpathconf.c (__fpathconf): Likewise.
507         * posix/getgroups.c (__getgroups): Likewise.
508         * posix/getpgid.c (__getpgid): Likewise.
509         * posix/group_member.c (__group_member): Likewise.
510         * posix/pathconf.c (__pathconf): Likewise.
511         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
512         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
513         * posix/setgid.c (__setgid): Likewise.
514         * posix/setpgid.c (__setpgid): Likewise.
515         * posix/setuid.c (__setuid): Likewise.
516         * posix/sleep.c (__sleep): Likewise.
517         * posix/sysconf.c (__sysconf): Likewise.
518         * posix/times.c (__times): Likewise.
519         * posix/uname.c (__uname): Likewise.
520         * posix/waitid.c (__waitid): Likewise.
521         * pwd/getpw.c (__getpw): Likewise.
522         * resolv/base64.c (b64_pton): Likewise.
523         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
524         * resolv/gethnamaddr.c (Dprintf): Likewise.
525         (gethostbyname): Likewise.
526         (gethostbyname2): Likewise.
527         (gethostbyaddr): Likewise.
528         (_sethtent): Likewise.
529         (_gethtbyname): Likewise.
530         (_gethtbyname2): Likewise.
531         (_gethtbyaddr): Likewise.
532         (map_v4v6_address): Likewise.
533         (map_v4v6_hostent): Likewise.
534         (addrsort): Likewise.
535         (ht_sethostent): Likewise.
536         (ht_gethostbyname): Likewise.
537         (ht_gethostbyaddr): Likewise.
538         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
539         (inet_net_ntop_ipv4): Likewise.
540         * resolv/inet_neta.c (inet_neta): Likewise.
541         * resolv/inet_ntop.c (inet_ntop): Likewise.
542         (inet_ntop4): Likewise.
543         (inet_ntop6): Likewise.
544         * resolv/inet_pton.c (__inet_pton): Likewise.
545         (inet_pton4): Likewise.
546         (inet_pton6): Likewise.
547         * resolv/res_debug.c (loc_aton): Likewise.
548         (loc_ntoa): Likewise.
549         * resource/getpriority.c (__getpriority): Likewise.
550         * resource/getrusage.c (__getrusage): Likewise.
551         * resource/nice.c (nice): Likewise.
552         * resource/setpriority.c (__setpriority): Likewise.
553         * resource/setrlimit64.c (setrlimit64): Likewise.
554         * resource/vlimit.c (vlimit): Likewise.
555         * resource/vtimes.c (vtimes): Likewise.
556         * rt/aio_error.c (aio_error): Likewise.
557         * rt/aio_return.c (aio_return): Likewise.
558         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
559         * signal/kill.c (__kill): Likewise.
560         * signal/killpg.c (killpg): Likewise.
561         * signal/raise.c (raise): Likewise.
562         * signal/sigaction.c (__sigaction): Likewise.
563         * signal/sigaddset.c (sigaddset): Likewise.
564         * signal/sigaltstack.c (sigaltstack): Likewise.
565         * signal/sigandset.c (sigandset): Likewise.
566         * signal/sigblock.c (__sigblock): Likewise.
567         * signal/sigdelset.c (sigdelset): Likewise.
568         * signal/sigempty.c (sigemptyset): Likewise.
569         * signal/sigfillset.c (sigfillset): Likewise.
570         * signal/sighold.c (sighold): Likewise.
571         * signal/sigignore.c (sigignore): Likewise.
572         * signal/sigintr.c (siginterrupt): Likewise.
573         * signal/sigisempty.c (sigisemptyset): Likewise.
574         * signal/sigismem.c (sigismember): Likewise.
575         * signal/signal.c (signal): Likewise.
576         * signal/sigorset.c (sigorset): Likewise.
577         * signal/sigpause.c (__sigpause): Likewise.
578         * signal/sigpending.c (sigpending): Likewise.
579         * signal/sigprocmask.c (__sigprocmask): Likewise.
580         * signal/sigrelse.c (sigrelse): Likewise.
581         * signal/sigreturn.c (__sigreturn): Likewise.
582         * signal/sigset.c (sigset): Likewise.
583         * signal/sigsetmask.c (__sigsetmask): Likewise.
584         * signal/sigstack.c (sigstack): Likewise.
585         * signal/sigsuspend.c (__sigsuspend): Likewise.
586         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
587         * signal/sysv_signal.c (__sysv_signal): Likewise.
588         * socket/accept.c (accept): Likewise.
589         * socket/accept4.c (__libc_accept4): Likewise.
590         * socket/bind.c (__bind): Likewise.
591         * socket/connect.c (__connect): Likewise.
592         * socket/getpeername.c (getpeername): Likewise.
593         * socket/getsockname.c (__getsockname): Likewise.
594         * socket/getsockopt.c (getsockopt): Likewise.
595         * socket/listen.c (__listen): Likewise.
596         * socket/recv.c (__recv): Likewise.
597         * socket/recvmsg.c (__recvmsg): Likewise.
598         * socket/send.c (__send): Likewise.
599         * socket/sendmsg.c (__sendmsg): Likewise.
600         * socket/shutdown.c (shutdown): Likewise.
601         * socket/sockatmark.c (sockatmark): Likewise.
602         * socket/socket.c (__socket): Likewise.
603         * stdio-common/ctermid.c (ctermid): Likewise.
604         * stdio-common/cuserid.c (cuserid): Likewise.
605         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
606         * stdio-common/remove.c (remove): Likewise.
607         * stdio-common/rename.c (rename): Likewise.
608         * stdio-common/renameat.c (renameat): Likewise.
609         * stdio-common/tempname.c (__gen_tempname): Likewise.
610         * stdio-common/xbug.c (InitBuffer): Likewise.
611         (AppendToBuffer): Likewise.
612         (ReadFile): Likewise.
613         * stdlib/a64l.c (a64l): Likewise.
614         * stdlib/drand48_r.c (drand48_r): Likewise.
615         * stdlib/getcontext.c (getcontext): Likewise.
616         * stdlib/getenv.c (getenv): Likewise.
617         * stdlib/l64a.c (l64a): Likewise.
618         * stdlib/llabs.c (llabs): Likewise.
619         * stdlib/lldiv.c (lldiv): Likewise.
620         * stdlib/lrand48_r.c (lrand48_r): Likewise.
621         * stdlib/mrand48_r.c (mrand48_r): Likewise.
622         * stdlib/putenv.c (putenv): Likewise.
623         * stdlib/random.c (__srandom): Likewise.
624         (__initstate): Likewise.
625         (__setstate): Likewise.
626         * stdlib/random_r.c (__srandom_r): Likewise.
627         (__setstate_r): Likewise.
628         (__random_r): Likewise.
629         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
630         * stdlib/setcontext.c (setcontext): Likewise.
631         * stdlib/setenv.c (setenv): Likewise.
632         (unsetenv): Likewise.
633         * stdlib/srand48.c (srand48): Likewise.
634         * stdlib/srand48_r.c (__srand48_r): Likewise.
635         * stdlib/swapcontext.c (swapcontext): Likewise.
636         * stdlib/system.c (__libc_system): Likewise.
637         * stdlib/tst-strtod.c (expand): Likewise.
638         * stdlib/tst-strtol.c (expand): Likewise.
639         * stdlib/tst-strtoll.c (expand): Likewise.
640         * streams/fattach.c (fattach): Likewise.
641         * streams/fdetach.c (fdetach): Likewise.
642         * streams/getmsg.c (getmsg): Likewise.
643         * streams/isastream.c (isastream): Likewise.
644         * string/ffs.c (__ffs): Likewise.
645         * string/ffsll.c (ffsll): Likewise.
646         * string/memcmp.c (memcmp_common_alignment): Likewise.
647         (memcmp_not_common_alignment): Likewise.
648         (MEMCMP): Likewise.
649         * string/memcpy.c (memcpy): Likewise.
650         * string/memmove.c (MEMMOVE): Likewise.
651         * string/memset.c (memset): Likewise.
652         * string/rawmemchr.c (RAWMEMCHR): Likewise.
653         * string/strchrnul.c (STRCHRNUL): Likewise.
654         * string/strerror.c (strerror): Likewise.
655         * string/strndup.c (__strndup): Likewise.
656         * string/strverscmp.c (__strverscmp): Likewise.
657         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
658         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
659         (clnttcp_freeres): Likewise.
660         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
661         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
662         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
663         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
664         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
665         (xdr_callhdr): Likewise.
666         * sunrpc/rpcinfo.c (udpping): Likewise.
667         (tcpping): Likewise.
668         (pstatus): Likewise.
669         (pmapdump): Likewise.
670         (brdcst): Likewise.
671         (deletereg): Likewise.
672         (getprognum): Likewise.
673         (getvers): Likewise.
674         (get_inet_address): Likewise.
675         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
676         * sunrpc/svc_udp.c (svcudp_create): Likewise.
677         (svcudp_stat): Likewise.
678         (svcudp_recv): Likewise.
679         (svcudp_reply): Likewise.
680         (svcudp_getargs): Likewise.
681         (svcudp_freeargs): Likewise.
682         (svcudp_destroy): Likewise.
683         * sunrpc/xdr.c (xdr_bytes): Likewise.
684         (xdr_netobj): Likewise.
685         (xdr_string): Likewise.
686         (xdr_wrapstring): Likewise.
687         * sunrpc/xdr_float.c (xdr_float): Likewise.
688         (xdr_double): Likewise.
689         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
690         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
691         * sysvipc/ftok.c (ftok): Likewise.
692         * sysvipc/msgctl.c (msgctl): Likewise.
693         * sysvipc/msgget.c (msgget): Likewise.
694         * sysvipc/msgrcv.c (msgrcv): Likewise.
695         * sysvipc/msgsnd.c (msgsnd): Likewise.
696         * sysvipc/semget.c (semget): Likewise.
697         * sysvipc/semop.c (semop): Likewise.
698         * sysvipc/shmat.c (shmat): Likewise.
699         * sysvipc/shmctl.c (shmctl): Likewise.
700         * sysvipc/shmdt.c (shmdt): Likewise.
701         * sysvipc/shmget.c (shmget): Likewise.
702         * termios/cfmakeraw.c (cfmakeraw): Likewise.
703         * termios/speed.c (cfgetospeed): Likewise.
704         (cfgetispeed): Likewise.
705         (cfsetospeed): Likewise.
706         (cfsetispeed): Likewise.
707         * termios/tcflow.c (tcflow): Likewise.
708         * termios/tcflush.c (tcflush): Likewise.
709         * termios/tcgetattr.c (__tcgetattr): Likewise.
710         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
711         * termios/tcgetsid.c (tcgetsid): Likewise.
712         * termios/tcsendbrk.c (tcsendbreak): Likewise.
713         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
714         * time/adjtime.c (__adjtime): Likewise.
715         * time/dysize.c (dysize): Likewise.
716         * time/ftime.c (ftime): Likewise.
717         * time/getitimer.c (__getitimer): Likewise.
718         * time/gettimeofday.c (__gettimeofday): Likewise.
719         * time/gmtime.c (__gmtime_r): Likewise.
720         (gmtime): Likewise.
721         * time/localtime.c (__localtime_r): Likewise.
722         (localtime): Likewise.
723         * time/offtime.c (__offtime): Likewise.
724         * time/settimeofday.c (__settimeofday): Likewise.
725         * time/stime.c (stime): Likewise.
726         * time/strftime_l.c (tm_diff): Likewise.
727         (iso_week_days): Likewise.
728         * time/strptime.c (strptime): Likewise.
729         * time/time.c (time): Likewise.
730         * time/timespec_get.c (timespec_get): Likewise.
731         * time/tzset.c (tzset_internal): Likewise.
732         (compute_change): Likewise.
733         (__tz_compute): Likewise.
734         * wcsmbs/btowc.c (__btowc): Likewise.
735         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
736         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
737         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
738         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
739         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
740         * wcsmbs/wcscat.c (__wcscat): Likewise.
741         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
742         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
743         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
744         * wcsmbs/wcscspn.c (wcscspn): Likewise.
745         * wcsmbs/wcsdup.c (wcsdup): Likewise.
746         * wcsmbs/wcslen.c (__wcslen): Likewise.
747         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
748         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
749         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
750         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
751         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
752         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
753         * wcsmbs/wcsspn.c (wcsspn): Likewise.
754         * wcsmbs/wcsstr.c (wcsstr): Likewise.
755         * wcsmbs/wcstok.c (wcstok): Likewise.
756         * wcsmbs/wctob.c (wctob): Likewise.
757         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
758         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
759         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
760         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
761         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
762         * wcsmbs/wmemset.c (__wmemset): Likewise.
763         * wctype/wcfuncs.c (__towlower): Likewise.
764         (__towupper): Likewise.
766         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
767         (lll_unlock_elision): Add adapt_count parameter.
769 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
771         * sysdeps/nptl/configure.ac: Do not give errors based on the
772         results of top-level configure tests.
773         * sysdeps/nptl/configure: Regenerated.
775         * configure.ac (libc_cv_Bgroup): Remove configure test.
776         * configure: Regenerated.
777         * config.make.in (have-Bgroup): Remove variable.
779         * configure.ac (sizeof_long_double): Remove configure test.
780         * configure: Regenerated.
781         * config.make.in (sizeof-long-double): Remove variable.
783         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
784         * configure: Regenerated.
785         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
786         variable.
787         (exceptions): Likewise.
788         * sysdeps/arm/configure: Regenerated.
789         * config.make.in (exceptions): Remove variable.
790         * Makeconfig (uses-callbacks): Use -fexceptions instead of
791         $(exceptions).
792         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
793         (CFLAGS-vdprintf_chk.c): Likewise.
794         (CFLAGS-printf_chk.c): Likewise.
795         (CFLAGS-fprintf_chk.c): Likewise.
796         (CFLAGS-vprintf_chk.c): Likewise.
797         (CFLAGS-vfprintf_chk.c): Likewise.
798         (CFLAGS-gets_chk.c): Likewise.
799         (CFLAGS-fgets_chk.c): Likewise.
800         (CFLAGS-fgets_u_chk.c): Likewise.
801         (CFLAGS-fread_chk.c): Likewise.
802         (CFLAGS-fread_u_chk.c): Likewise.
803         (CFLAGS-wprintf_chk.c): Likewise.
804         (CFLAGS-fwprintf_chk.c): Likewise.
805         (CFLAGS-vwprintf_chk.c): Likewise.
806         (CFLAGS-vfwprintf_chk.c): Likewise.
807         (CFLAGS-fgetws_chk.c): Likewise.
808         (CFLAGS-fgetws_u_chk.c): Likewise.
809         * libio/Makefile (CFLAGS-fileops.c): Likewise.
810         (CFLAGS-fputc.c): Likewise.
811         (CFLAGS-fputwc.c): Likewise.
812         (CFLAGS-freopen64.c): Likewise.
813         (CFLAGS-freopen.c): Likewise.
814         (CFLAGS-fseek.c): Likewise.
815         (CFLAGS-fseeko64.c): Likewise.
816         (CFLAGS-fseeko.c): Likewise.
817         (CFLAGS-ftello64.c): Likewise.
818         (CFLAGS-ftello.c): Likewise.
819         (CFLAGS-fwide.c): Likewise.
820         (CFLAGS-genops.c): Likewise.
821         (CFLAGS-getc.c): Likewise.
822         (CFLAGS-getchar.c): Likewise.
823         (CFLAGS-getwc.c): Likewise.
824         (CFLAGS-getwchar.c): Likewise.
825         (CFLAGS-iofclose.c): Likewise.
826         (CFLAGS-iofflush.c): Likewise.
827         (CFLAGS-iofgetpos64.c): Likewise.
828         (CFLAGS-iofgetpos.c): Likewise.
829         (CFLAGS-iofgets.c): Likewise.
830         (CFLAGS-iofgetws.c): Likewise.
831         (CFLAGS-iofputs.c): Likewise.
832         (CFLAGS-iofputws.c): Likewise.
833         (CFLAGS-iofread.c): Likewise.
834         (CFLAGS-iofsetpos64.c): Likewise.
835         (CFLAGS-iofsetpos.c): Likewise.
836         (CFLAGS-ioftell.c): Likewise.
837         (CFLAGS-iofwrite.c): Likewise.
838         (CFLAGS-iogetdelim.c): Likewise.
839         (CFLAGS-iogetline.c): Likewise.
840         (CFLAGS-iogets.c): Likewise.
841         (CFLAGS-iogetwline.c): Likewise.
842         (CFLAGS-ioputs.c): Likewise.
843         (CFLAGS-ioseekoff.c): Likewise.
844         (CFLAGS-ioseekpos.c): Likewise.
845         (CFLAGS-iosetbuffer.c): Likewise.
846         (CFLAGS-iosetvbuf.c): Likewise.
847         (CFLAGS-ioungetc.c): Likewise.
848         (CFLAGS-ioungetwc.c): Likewise.
849         (CFLAGS-oldfileops.c): Likewise.
850         (CFLAGS-oldiofclose.c): Likewise.
851         (CFLAGS-oldiofgetpos64.c): Likewise.
852         (CFLAGS-oldiofgetpos.c): Likewise.
853         (CFLAGS-oldiofsetpos64.c): Likewise.
854         (CFLAGS-oldiofsetpos.c): Likewise.
855         (CFLAGS-peekc.c): Likewise.
856         (CFLAGS-putc.c): Likewise.
857         (CFLAGS-putchar.c): Likewise.
858         (CFLAGS-putwc.c): Likewise.
859         (CFLAGS-putwchar.c): Likewise.
860         (CFLAGS-rewind.c): Likewise.
861         (CFLAGS-wfileops.c): Likewise.
862         (CFLAGS-wgenops.c): Likewise.
863         (CFLAGS-oldiofopen.c): Likewise.
864         (CFLAGS-iofopen.c): Likewise.
865         (CFLAGS-iofopen64.c): Likewise.
866         (CFLAGS-oldtmpfile.c): Likewise.
867         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
868         (CFLAGS-fprintf.c): Likewise.
869         (CFLAGS-printf.c): Likewise.
870         (CFLAGS-vfwprintf.c): Likewise.
871         (CFLAGS-vfscanf.c): Likewise.
872         (CFLAGS-vfwscanf.c): Likewise.
873         (CFLAGS-fscanf.c): Likewise.
874         (CFLAGS-scanf.c): Likewise.
875         (CFLAGS-isoc99_vfscanf.c): Likewise.
876         (CFLAGS-isoc99_vscanf.c): Likewise.
877         (CFLAGS-isoc99_fscanf.c): Likewise.
878         (CFLAGS-isoc99_scanf.c): Likewise.
879         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
880         (CFLAGS-isoc99_fwscanf.c): Likewise.
881         (CFLAGS-isoc99_vwscanf.c): Likewise.
882         (CFLAGS-isoc99_vfwscanf.c): Likewise.
884         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
885         after mkstemp64.
886         * login/tst-utmp.c (do_prepare): Likewise.
887         * rt/tst-aio.c (do_prepare): Likewise.
888         * rt/tst-aio64.c (do_prepare): Likewise.
890 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
892         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
893         (__lll_lock_elision): Remove adapt_count decrement...
894         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
895         (__lll_trylock_elision): Likewise.
896         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
897         (__lll_unlock_elision): ... to here. And utilize
898         new adapt_count parameter.
899         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
900         (__lll_unlock_elision): Update to include adapt_count
901         parameter.
902         (lll_unlock_elision): Pass pointer to adapt_count
903         variable.
905 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
907         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
908         Add elision adapt_count parameter to list of arguments.
909         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
910         (lll_unlock_elision): Update with new parameter list
911         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
912         (lll_unlock_elision): Likewise
913         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
914         (lll_unlock_elision): Likewise
916 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
918         [BZ #19122]
919         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
920         attribute_hidden.
922         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
923         attribute_hidden.
924         [IS_IN (rtld)] (__strdup): Likewise.
925         [IS_IN (rtld)] (__strerror_r): Likewise.
926         [IS_IN (rtld)] (__strsep_g): Likewise.
927         [IS_IN (rtld)] (memchr): Likewise.
928         [IS_IN (rtld)] (memcmp): Likewise.
929         [IS_IN (rtld)] (memcpy): Likewise.
930         [IS_IN (rtld)] (memmove): Likewise.
931         [IS_IN (rtld)] (memset): Likewise.
932         [IS_IN (rtld)] (rawmemchr): Likewise.
933         [IS_IN (rtld)] (stpcpy): Likewise.
934         [IS_IN (rtld)] (strchr): Likewise.
935         [IS_IN (rtld)] (strcmp): Likewise.
936         [IS_IN (rtld)] (strlen): Likewise.
937         [IS_IN (rtld)] (strnlen): Likewise.
938         [IS_IN (rtld)] (strsep): Likewise.
940         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
941         attribute_hidden.
942         [IS_IN (rtld)] (__strtoul_internal): Likewise.
944         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
945         attribute_hidden.
946         [IS_IN (rtld)] (__libc_sigaction): Likewise.
948         * include/setjmp.h (__longjmp): Add attribute_hidden.
949         [IS_IN (rtld)] (__sigsetjmp): Likewise.
951         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
952         Add attribute_hidden.
954         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
955         [IS_IN (rtld)] (__open): Likewise.
956         [IS_IN (rtld)] (__fcntl): Likewise.
958         * include/dirent.h (__opendirat): Add attribute_hidden.
959         (__getdents): Likewise.
960         (__getdents64): Likewise.
961         (__alloc_dir): Likewise.
962         [IS_IN (rtld)] (__closedir): Likewise.
963         [IS_IN (rtld)] (__fdopendir): Likewise.
964         [IS_IN (rtld)] (__readdir): Likewise.
965         [IS_IN (rtld)] (__readdir64): Likewise.
966         [IS_IN (rtld)] (__rewinddir): Likewise.
968         * include/dlfcn.h (_dl_catch_error): Moved to ...
969         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
970         attribute_hidden.
972         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
973         (_itoa_word): Likewise.
975         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
976         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
977         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
978         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
979         (_dl_higher_prime_number): Likewise.
980         (_dl_debug_printf_c): Likewise.
981         (_dl_signal_cerror): Likewise.
982         (_dl_receive_error): Likewise.
983         (_dl_reloc_bad_type): Likewise.
984         (_dl_resolve_conflicts): Likewise.
985         (_dl_check_all_versions): Likewise.
986         (_dl_check_map_versions): Likewise.
987         (_dl_sort_fini): Likewise.
988         (_dl_debug_initialize): Likewise.
989         (_dl_init_paths): Likewise.
990         (_dl_show_auxv): Likewise.
991         (_dl_next_ld_env_entry): Likewise.
992         (_dl_important_hwcaps): Likewise.
993         (_dl_load_cache_lookup): Likewise.
994         (_dl_update_slotinfo): Likewise.
995         (_dl_show_scope): Likewise.
997         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
998         attribute_hidden.
999         (_wordcopy_fwd_dest_aligned): Likewise.
1000         (_wordcopy_bwd_aligned): Likewise.
1001         (_wordcopy_bwd_dest_aligned): Likewise.
1003         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1004         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
1005         Likewise.
1006         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
1007         Likewise.
1008         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
1010 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1012         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
1013         GCC 5 requirement.
1015 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
1017         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
1018         test.
1019         * sysdeps/i386/configure: Regenerated.
1020         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
1021         code unconditional.
1023         * configure.ac (libc_cv_asm_previous_directive): Remove configure
1024         test.
1025         (libc_cv_asm_popsection_directive): Likewise.
1026         * configure: Regenerated.
1027         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
1028         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
1029         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
1030         (__make_section_unallocated): Make definition unconditional.
1031         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
1032         Remove conditional definition.
1033         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
1034         (__make_section_unallocated): Likewise.
1036         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
1037         * configure: Regenerated.
1038         * config.make.in (static-libgcc): Remove variable.
1039         * Makerules (build-shlib-helper): Use -static-libgcc instead of
1040         $(static-libgcc).
1041         (build-module-helper): Likewise.
1043         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
1044         * configure: Regenerated.
1046 2015-10-15  Florian Weimer  <fweimer@redhat.com>
1048         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
1049         (struct char_buffer): New type.
1050         (char_buffer_start, char_buffer_size, char_buffer_error)
1051         (char_buffer_rewind, char_buffer_add): New functions.
1052         (ADDW): Remove macro, replaced by the char_buffer_add function.
1053         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
1054         of extend_alloca.  Make control flow more explicit.
1056 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1058         [BZ #19137]
1059         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
1060         Add -fomit-frame-pointer.
1061         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
1063 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1065         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
1066         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
1067         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
1068         only if !__GNUC_PREREQ (5,0).
1069         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
1070         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
1071         (INTERNAL_SYSCALL_NCS): Likewise.
1072         (LOADREGS_0): New macro for GCC 5.
1073         (ASMARGS_0): Likewise.
1074         (LOADREGS_1): Likewise.
1075         (ASMARGS_1): Likewise.
1076         (LOADREGS_2): Likewise.
1077         (ASMARGS_2): Likewise.
1078         (LOADREGS_3): Likewise.
1079         (ASMARGS_3): Likewise.
1080         (LOADREGS_4): Likewise.
1081         (ASMARGS_4): Likewise.
1082         (LOADREGS_5): Likewise.
1083         (ASMARGS_5): Likewise.
1084         (LOADREGS_6): Likewise.
1085         (ASMARGS_6): Likewise.
1087 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1089         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
1090         -fomit-frame-pointer.
1091         (CFLAGS-mmap64.c): Likewise.
1092         (CFLAGS-semtimedop.c): Likewise.
1093         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
1094         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
1095         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1096         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1098 2015-10-15  Florian Weimer  <fweimer@redhat.com>
1100         [BZ #18928]
1101         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
1102         _dl_pointer_guard member.
1103         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
1104         initializer.
1105         (security_init): Always set up pointer guard.
1106         (process_envvars): Do not process LD_POINTER_GUARD.
1108 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
1110         [BZ #19134]
1111         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
1112         (.LC2): Likewise.
1113         (.LC3): Likewise.
1114         (__lround): Do not add 0.5 to integer or out-of-range arguments.
1116 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1118         [BZ #19129]
1119         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
1120         r0 and r1.
1122 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
1124         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
1126 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
1128         * include/stap-probe.h: Fix macro definition formatting.
1130 2015-10-14  Florian Weimer  <fweimer@redhat.com>
1132         [BZ #19074]
1133         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
1134         load and store num_ifs.
1136 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1138         [BZ #18822]
1139         * sysdeps/unix/sysv/linux/sched_getaffinity.c
1140         (__sched_getaffinity_new): Add libc_hidden_proto and
1141         libc_hidden_def.
1143 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1145         [BZ #19007]
1146         * scripts/localplt.awk: Also allow GOT references.
1147         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
1148         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
1149         with "+ REL R_386_GLOB_DAT".
1150         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
1151         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
1153 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1155         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
1156         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1157         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
1158         Likewise.
1159         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
1160         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
1161         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
1162         INTERNAL_SYSCALLINTERNAL_SYSCALL and
1163         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1164         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
1165         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1166         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
1167         Likewise.
1168         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1170 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
1172         [BZ #19125]
1173         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
1174         <math_private.h> and <stdint.h>.
1175         (__llround): Avoid conversions to and from long long int, and
1176         subtractions, where those might raise spurious exceptions.
1177         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
1178         <math_private.h> and <stdint.h>.
1179         (__llroundf): Avoid conversions to and from long long int, and
1180         subtractions, where those might raise spurious exceptions.
1182 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
1184         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
1185         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1186         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1187         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
1188         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1189         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1190         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
1191         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
1192         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
1193         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1194         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1195         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1196         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
1197         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1198         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1199         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
1200         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
1201         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1202         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
1203         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
1204         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1205         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
1206         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
1207         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1208         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
1209         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1210         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
1211         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1212         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1213         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
1214         (__xstat64_conv): Likewise.
1215         (__xstat32_conv): Likewise.
1217 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
1219         * sysdeps/unix/sysv/linux/sysdep.h: New file.
1220         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
1221         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
1222         <sysdeps/unix/sysv/linux/sysdep.h>.
1223         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1224         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
1225         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
1226         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1227         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1228         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
1229         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
1230         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1231         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1234         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1235         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1236         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1237         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1238         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1239         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
1240         (sysdep-dl-routines): Add sysdep.
1241         [$(subdir) == nptl] (libpthread-routines): Likewise.
1242         [$(subdir) == rt] (librt-routines): Likewise.
1243         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
1244         PIC when branching to SYSCALL_ERROR_LABEL.
1245         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
1246         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
1247         <sysdeps/unix/sysv/linux/sysdep.h>.
1248         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
1249         (SYSCALL_ERROR_ERRNO): Removed.
1250         (SYSCALL_ERROR_HANDLER): Changed to empty.
1251         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
1252         (__syscall_error): New prototype.
1253         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
1254         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
1256 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
1258         [BZ #19124]
1259         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
1260         (_dl_runtime_resolve_avx512): Make it a hidden alias of
1261         _dl_runtime_resolve_avx.
1262         (_dl_runtime_profile_avx512): Make it a hidden alias of
1263         _dl_runtime_profile_avx.
1265 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
1267         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
1268         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
1269         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
1270         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
1272         [BZ #16422]
1273         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
1274         New configure test.
1275         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
1276         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
1277         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
1278         <math_private.h> and <stdint.h>.
1279         (__llrint): Avoid conversions to long long int where those might
1280         raise spurious exceptions.
1281         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
1282         <math_private.h> and <stdint.h>.
1283         (__llrintf): Avoid conversions to long long int where those might
1284         raise spurious exceptions.
1286 2015-10-12  Andreas Schwab  <schwab@suse.de>
1288         [BZ #18969]
1289         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
1290         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
1291         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
1292         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
1293         $(gen-locales).
1294         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
1295         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
1296         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
1297         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
1298         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
1299         $(gen-locales).
1300         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
1301         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
1302         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
1303         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
1304         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
1305         ($(objpfx)tst-ftell-active-handler.out)
1306         ($(objpfx)tst-ftell-append.out)
1307         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
1308         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
1309         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
1310         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
1311         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
1312         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
1313         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
1314         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
1315         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
1316         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
1317         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
1318         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
1319         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
1320         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
1321         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
1322         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
1323         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
1324         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
1325         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
1326         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
1327         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
1328         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
1329         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
1330         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
1331         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
1332         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
1333         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
1334         $(gen-locales).
1335         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
1336         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
1337         $(gen-locales).
1338         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
1339         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
1340         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
1341         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
1342         $(gen-locales).
1343         * libio/tst_wprintf2.c (main): Use explicit locale.
1344         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
1346 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1348         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
1349         __msg_sig_post.
1350         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
1352 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
1354         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1355         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1357         * sysdeps/arm/libm-test-ulps: Regenerated.
1359         [BZ #15470]
1360         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
1362         [BZ #16399]
1363         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
1364         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
1365         and <fix-fp-int-convert-overflow.h>.
1366         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
1367         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1368         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
1369         and <fix-fp-int-convert-overflow.h>.
1370         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
1371         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1372         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
1373         <fix-fp-int-convert-overflow.h>.
1374         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
1375         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1376         * sysdeps/ieee754/dbl-64/s_lround.c: Include
1377         <fix-fp-int-convert-overflow.h>.
1378         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
1379         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1380         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
1381         and <fix-fp-int-convert-overflow.h>.
1382         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
1383         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1384         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
1385         <limits.h> and <fix-fp-int-convert-overflow.h>.
1386         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
1387         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1388         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
1389         and <fix-fp-int-convert-overflow.h>.
1390         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
1391         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1392         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
1393         and <fix-fp-int-convert-overflow.h>.
1394         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
1395         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1396         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
1398 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
1400         [BZ #18589]
1401         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
1402         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
1403         $(gen-locales).
1405 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1406             Phil Blundell <pb@pbcl.net>
1408         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
1409         * nptl/tst-cancel26.c: New file.
1410         * nptl/tst-cancel27.c: Likewise.
1412 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
1414         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
1415         __ILP32__ isn't defined.
1416         (lrint): Likewise.
1417         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
1418         (lrintf): Likewise.
1419         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
1420         (lrintl): Likewise.
1421         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
1422         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
1423         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
1425 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1427         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1428         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1430         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
1431         file.
1432         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
1433         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
1435 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
1437         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
1438         configure test.
1439         * sysdeps/i386/configure: Regenerated.
1440         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
1441         configure test.
1442         * sysdeps/x86_64/configure: Regenerated.
1443         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
1444         Make code unconditional.
1446         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
1447         test.
1448         * sysdeps/i386/configure: Regenerated.
1449         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
1450         test.
1451         * sysdeps/x86_64/configure: Regenerated.
1452         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
1453         Make code unconditional.
1454         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1455         Likewise.
1456         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
1457         Likewise.
1458         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1459         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
1460         code unconditional.
1461         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1462         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
1463         code unconditional.
1464         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1465         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
1466         code unconditional.
1467         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
1468         code unconditional.
1469         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1470         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
1471         code unconditional.
1472         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1473         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
1474         code unconditional.
1475         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1476         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
1477         code unconditional.
1478         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1479         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
1480         code unconditional.
1481         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1482         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
1484         [BZ #19095]
1485         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
1486         mantissa to long int before shifting left.
1488 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
1490         [BZ #19094]
1491         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
1492         <limits.h>.
1493         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
1494         when result overflows but exception would not result from cast.
1495         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
1496         <limits.h>.
1497         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
1498         when result overflows but exception would not result from cast.
1499         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
1500         <limits.h>.
1501         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
1502         when result overflows but exception would not result from cast.
1503         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
1504         <limits.h>.
1505         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
1506         when result overflows but exception would not result from cast.
1507         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
1508         <limits.h>.
1509         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
1510         when result overflows but exception would not result from cast.
1511         * math/libm-test.inc (lrint_test_data): Add more tests.
1512         (llrint_test_data): Likewise.
1514 2015-10-08  Roland McGrath  <roland@hack.frob.com>
1516         [BZ #18872]
1517         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
1518         Move out from under [$(run-built-tests) = yes] conditional.
1519         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
1520         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
1522 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
1524         [BZ #18589]
1525         * string/Makefile (tests): Add bug-strcoll2.
1526         (LOCALES): Add cs_CZ.UTF-8.
1527         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
1529         [BZ #18589]
1530         * string/bug-strcoll2.c: New file.
1531         * locale/categories.def: Revert commit
1532         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
1533         * locale/langinfo.h: Likewise.
1534         * locale/localeinfo.h: Likewise.
1535         * locale/C-collate.c: Likewise.
1536         * locale/programs/ld-collate.c (collate_output): Likewise.
1537         * string/strcoll_l.c (STRDIFF): Likewise.
1538         (STRCOLL): Likewise.
1539         * wcsmbs/wcscoll_l.c: Likewise.
1541 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
1543         * math/libm-test.inc (lround_test_data): Do not expect the absence
1544         of "inexact" for some tests with non-integer arguments.
1545         (llround_test_data): Likewise.
1547         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
1548         test.
1549         (libc_cv_cc_sse2avx): Likewise.
1550         * sysdeps/i386/configure: Regenerated.
1551         * sysdeps/i386/i686/multiarch/Makefile
1552         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
1553         [$(subdir) = math].
1554         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
1555         code unconditional.
1556         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
1557         Likewise.
1558         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
1559         Likewise.
1560         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
1561         Likewise.
1562         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
1563         test.
1564         (libc_cv_cc_sse2avx): Likewise.
1565         * sysdeps/x86_64/configure: Regenerated.
1566         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
1567         unconditional.
1568         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
1569         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
1570         unconditional.
1571         (_dl_runtime_profile)
1572         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
1573         conditional code.
1574         * sysdeps/x86_64/fpu/multiarch/Makefile
1575         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
1576         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1577         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1578         * sysdeps/x86_64/fpu/multiarch/e_exp.c
1579         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1580         * sysdeps/x86_64/fpu/multiarch/e_log.c
1581         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1582         * sysdeps/x86_64/fpu/multiarch/s_atan.c
1583         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1584         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
1585         Likewise.
1586         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
1587         Likewise.
1588         * sysdeps/x86_64/fpu/multiarch/s_sin.c
1589         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1590         * sysdeps/x86_64/fpu/multiarch/s_tan.c
1591         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1592         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
1593         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
1594         (HAVE_SSE2AVX_SUPPORT): Likewise.
1596 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
1598         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
1599         instead of #pragma optimize.
1601 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
1603         [BZ #17195]
1604         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
1605         as is similarly done in systrim and _int_free already.
1607 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1609         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
1611 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
1613         [BZ #19088]
1614         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
1615         <limits.h>.
1616         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
1617         overflows but exception would not result from cast.
1618         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
1619         and <limits.h>.
1620         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
1621         overflows but exception would not result from cast.
1622         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
1623         <limits.h>.
1624         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
1625         overflows but exception would not result from cast.
1626         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
1627         <limits.h>.
1628         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
1629         overflows but exception would not result from cast.
1630         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
1631         <limits.h>.
1632         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
1633         overflows but exception would not result from cast.
1634         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
1635         <limits.h>.
1636         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
1637         overflows but exception would not result from cast.
1638         * math/libm-test.inc (lround_test_data): Add more tests.
1639         (llround_test_data): Likewise.
1641 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
1643         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
1644         (CFLAGS-ialloc.c): Ditto.
1645         (CFLAGS-scheck.c): Ditto.
1647 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
1649         [BZ #19086]
1650         * manual/filesys.texi (Storage Allocation): Fix argument order for
1651         posix_fallocate64.
1653 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
1655         [BZ #19085]
1656         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
1657         exponent below 48 inside case for non-overflowing exponent.
1658         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
1660 2015-10-07  Florian Weimer  <fweimer@redhat.com>
1662         * iconvdata/cp737.h (from_idx): Add const.
1663         * iconvdata/cp775.h (from_idx): Likewise.
1665 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
1667         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
1668         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
1669         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
1671         [BZ #19079]
1672         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
1673         file, conditioned on [!_LP64].
1674         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
1675         [!_LP64] (__lround): Do not define as function or alias.
1676         [!_LP64] (lround): Likewise.
1677         [!_LP64] (__lroundl): Likewise.
1678         [!_LP64] (lroundl): Likewise.
1679         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
1680         macro.
1681         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1682         Likewise.
1684 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
1686         * math/libm-test.inc (lrint_test_data): Add more tests.
1687         (llrint_test_data): Likewise.
1688         (lround_test_data): Likewise.
1689         (llround_test_data): Likewise.
1691         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
1692         (llrint_test_data): Add tests used for lrint.
1694         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
1695         test.
1696         * sysdeps/i386/configure: Regenerated.
1697         * sysdeps/i386/i686/multiarch/Makefile
1698         [$(config-cflags-sse4) = yes]: Make code unconditional.
1699         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
1700         Likewise.
1701         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
1702         Likewise.
1703         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
1704         test.
1705         * sysdeps/x86_64/configure: Regenerated.
1706         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
1707         Make code unconditional.
1708         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
1709         Likewise.
1710         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
1711         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
1713         * scripts/rpm2dynsym.sh: Remove file.
1715 2015-10-06  Florian Weimer  <fweimer@redhat.com>
1717         * configure.ac (libc_cv_cxx_thread_local): Define.
1718         * configure: Regenerate.
1719         * config.make.in (have-cxx-thread_local): Define.
1720         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
1721         (LDLIBS-tst-thread_local1): Define.
1722         (tests): Add tst-thread_local1.
1723         [have-cxx-thread_local != yes] (tests-unsupported): Add
1724         tst-thread_local1.
1725         * nptl/tst-thread_local1.cc: New file.
1727 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
1729         [BZ #19078]
1730         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
1731         (u_thres): Likewise.
1732         (__expl): Determine whether to call __kernel_standard_l based on
1733         value of result, not argument.
1735         * math/libm-test.inc (scalb_test_data): Add more expectations for
1736         the "inexact" exception.
1738         [BZ #19077]
1739         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
1740         0.0L for argument 1.0L.
1742         [BZ #19076]
1743         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
1744         constant 0.0L when computing infinite result.
1746 2015-10-06  Florian Weimer  <fweimer@redhat.com>
1748         [BZ #10432]
1749         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
1750         malloc_usable_size.
1752 2015-10-06  Florian Weimer  <fweimer@redhat.com>
1754         [BZ #19018]
1755         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1756         Mangle function pointer before storing it.
1757         (__call_tls_dtors): Demangle function pointer before calling it.
1759 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1761         [BZ #19012]
1762         * iconv/gconv_db.c (gen_steps): Check for additional errors.
1763         Clean up on failure.
1765 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
1767         [BZ #19071]
1768         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
1769         long int variable to store possibly incremented high part of
1770         mantissa.
1771         * math/libm-test.inc (lround_test_data): Add tests used for
1772         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
1773         for tests requiring 64-bit long.  Do not condition tests on
1774         [TEST_FLOAT] unnecessarily.
1775         (llround_test_data): Add tests used for lround.  Add another
1776         expectation for the "inexact" exception.  Do not condition tests
1777         on [TEST_FLOAT] unnecessarily.
1779         [BZ #887]
1780         [BZ #19049]
1781         [BZ #19050]
1782         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
1783         * sysdeps/ieee754/dbl-64/e_log10.c: Include
1784         <fix-int-fp-convert-zero.h>.
1785         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1786         * sysdeps/ieee754/dbl-64/e_log2.c: Include
1787         <fix-int-fp-convert-zero.h>.
1788         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1789         * sysdeps/ieee754/dbl-64/s_erf.c: Include
1790         <fix-int-fp-convert-zero.h>.
1791         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1792         * sysdeps/ieee754/dbl-64/s_logb.c: Include
1793         <fix-int-fp-convert-zero.h>.
1794         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1795         * sysdeps/ieee754/flt-32/e_log10f.c: Include
1796         <fix-int-fp-convert-zero.h>.
1797         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1798         * sysdeps/ieee754/flt-32/e_log2f.c: Include
1799         <fix-int-fp-convert-zero.h>.
1800         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1801         * sysdeps/ieee754/flt-32/s_erff.c: Include
1802         <fix-int-fp-convert-zero.h>.
1803         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1804         * sysdeps/ieee754/flt-32/s_logbf.c: Include
1805         <fix-int-fp-convert-zero.h>.
1806         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1807         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
1808         <fix-int-fp-convert-zero.h>.
1809         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1810         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
1811         <fix-int-fp-convert-zero.h>.
1812         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1813         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
1814         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
1815         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
1816         file.
1817         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
1819 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
1821         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1823 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
1825         [BZ #19059]
1826         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
1827         overflowing computation.
1828         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1829         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
1830         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1831         Likewise.
1832         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1833         Likewise.
1834         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
1835         Likewise.
1836         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1837         Likewise.
1838         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1839         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1840         Likewise.
1841         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1842         Likewise.
1843         * math/libm-test.inc (nexttoward_test_data): Add more tests.
1845         * nss/rewrite_field.c (__nss_rewrite_field): Use
1846         internal_function.
1847         * nss/valid_field.c (__nss_valid_field): Likewise.
1848         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
1850 2015-10-02  Florian Weimer  <fweimer@redhat.com>
1852         [BZ #18724]
1853         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
1854         (__nss_invalid_field_characters, __nss_valid_field)
1855         (__nss_valid_list_field, __nss_rewrite_field): Declare.
1856         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
1857         tst-field.c: New file.
1858         * nss/Makefile (routines): Add valid_field, rewrite_field.
1859         (tests-static): Define unconditionally.
1860         (tests): Include tests-static.
1861         [build-static-nss] (tests-static): Use append.
1862         [build-static-nss] (tests): Remove modification.
1863         * nss/getent.c (print_group): Call putgrent.  Report error.
1864         (print_gshadow): Call putsgent.  Report error.
1865         (print_passwd): Call putpwent.  Report error.
1866         (print_shadow): Call putspent.  Report error.
1867         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
1868         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
1869         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
1870         name, password, directory, shell fields for valid syntax.  Rewrite
1871         GECOS field to match syntax.
1872         * pwd/Makefile (tests): Add tst-putpwent.
1873         * pwd/tst-putpwent.c: New file.
1874         * grp/putgrent.c (putgrent): Convert to ISO function definition.
1875         Check grName, grpasswd, gr_mem fields for valid syntax.
1876         Change loop variable i to size_t.
1877         * grp/Makefile (tests): Add tst-putgrent.
1878         * grp/tst-putgrent.c: New file.
1879         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
1880         valid syntax.
1881         * shadow/Makefile (tests): Add tst-putspent.
1882         * shadow/tst-putspent.c: New file.
1883         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
1884         sg_mem fields for valid syntax.
1885         * gshadow/Makefile (tests): Add tst-putsgent.
1886         * gshadow/tst-putsgent.c: New file.
1888 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1890         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
1891         assembly instructions.
1893 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1895         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
1896         prefix from operands.
1898 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
1900         [BZ #16347]
1901         [BZ #19046]
1902         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
1903         <libc-internal.h>.
1904         (MAXLGM): Do not use diagnostic control macros.
1905         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
1906         threshold for ldbl-128ibm.
1907         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
1908         instead of multiplying by log then subtracting.
1909         * math/auto-libm-test-in: Add more tests of lgamma.
1910         * math/auto-libm-test-out: Regenerated.
1912         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
1913         (TYPE_HEX_DIG): Likewise.
1914         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
1915         precisions when printing floating-point numbers.
1916         (check_float_internal): Likewise.
1918 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
1920         [BZ #16620]
1921         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
1922         of log (10) rounded downward to 48 bits.
1923         (log10_low): Use corresponding low part of log (10).
1925         [BZ #19032]
1926         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
1927         compute result as (x - x) / (x - x) not as 0 / 0.
1928         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1929         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
1931         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1932         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
1933         and expm1.
1934         * math/auto-libm-test-out: Regenerated.
1935         * math/libm-test.inc (acos_test_data): Add more tests.
1936         (asin_test_data): Likewise.
1937         (asinh_test_data): Likewise.
1938         (atan_test_data): Likewise.
1939         (atanh_test_data): Likewise.
1940         (atan2_test_data): Likewise.
1941         (cbrt_test_data): Likewise.
1942         (ceil_test_data): Likewise.
1943         (copysign_test_data): Likewise.
1944         (cos_test_data): Likewise.
1945         (cosh_test_data): Likewise.
1946         (erf_test_data): Likewise.
1947         (erfc_test_data): Likewise.
1948         (exp_test_data): Likewise.
1949         (exp10_test_data): Likewise.
1950         (exp2_test_data): Likewise.
1951         (expm1_test_data): Likewise.
1952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1954 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
1956         [BZ #19006]
1957         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
1958         to ...
1959         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
1960         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
1961         to ...
1962         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
1963         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
1964         to ...
1965         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
1966         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
1967         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
1968         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
1969         to ...
1970         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
1971         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1972         Moved to ...
1973         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
1974         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1975         Moved to ...
1976         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
1977         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
1978         to ...
1979         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
1980         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1981         Moved to ...
1982         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
1983         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
1984         to ...
1985         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
1986         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
1987         Removed.
1988         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
1989         Likewise.
1990         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
1991         Likewise.
1992         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
1993         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
1994         Likewise.
1995         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1996         Likewise.
1997         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1998         Likewise.
1999         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2000         Likewise.
2001         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2002         Likewise.
2003         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
2004         Likewise.
2005         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
2006         Likewise.
2007         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
2008         Likewise.
2009         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
2010         Likewise.
2011         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
2012         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
2013         Likewise.
2014         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2015         Likewise.
2016         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2017         Likewise.
2018         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2019         Likewise.
2020         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
2021         Likewise.
2022         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2023         Replace ../i486/pthread_cond_timedwait.S with
2024         ../pthread_cond_timedwait.S.
2026 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
2028         * math/libm-test.inc (acos_test_data): Refine expectations for
2029         errno and "inexact" exceptions.
2030         (acosh_test_data): Likewise.
2031         (asin_test_data): Likewise.
2032         (asinh_test_data): Likewise.
2033         (atan_test_data): Likewise.
2034         (atanh_test_data): Likewise.
2035         (atan2_test_data): Likewise.
2036         (cbrt_test_data): Likewise.
2037         (ceil_test_data): Likewise.
2038         (copysign_test_data): Likewise.
2039         (cosh_test_data): Likewise.
2040         (erf_test_data): Likewise.
2041         (erfc_test_data): Likewise.
2042         (exp_test_data): Likewise.
2043         (exp10_test_data): Likewise.
2044         (exp2_test_data): Likewise.
2045         (expm1_test_data): Likewise.
2046         (fabs_test_data): Likewise.
2047         (floor_test_data): Likewise.
2048         (fma_test_data): Likewise.
2049         (fmax_test_data): Likewise.
2050         (fmin_test_data): Likewise.
2051         (fmod_test_data): Likewise.
2052         (fpclassify_test_data): Likewise.
2053         (frexp_test_data): Likewise.
2054         (hypot_test_data): Likewise.
2055         (ilogb_test_data): Likewise.
2056         (isgreater_test_data): Likewise.
2057         (isgreaterequal_test_data): Likewise.
2058         (isinf_test_data): Likewise.
2059         (isless_test_data): Likewise.
2060         (islessequal_test_data): Likewise.
2061         (islessgreater_test_data): Likewise.
2062         (isnan_test_data): Likewise.
2063         (isnormal_test_data): Likewise.
2064         (issignaling_test_data): Likewise.
2065         (isunordered_test_data): Likewise.
2066         (j0_test_data): Likewise.
2067         (j1_test_data): Likewise.
2068         (jn_test_data): Likewise.
2069         (lgamma_test_data): Likewise.
2070         (lrint_test_data): Likewise.
2071         (llrint_test_data): Likewise.
2072         (log_test_data): Likewise.
2073         (log10_test_data): Likewise.
2074         (log1p_test_data): Likewise.
2075         (log2_test_data): Likewise.
2076         (logb_test_data): Likewise.
2077         (lround_test_data): Likewise.
2078         (llround_test_data): Likewise.
2079         (modf_test_data): Likewise.
2080         (nearbyint_test_data): Likewise.
2081         (nextafter_test_data): Likewise.
2082         (nexttoward_test_data): Likewise.
2083         (pow_test_data): Likewise.
2084         (remainder_test_data): Likewise.
2085         (remquo_test_data): Likewise.
2086         (rint_test_data): Likewise.
2087         (round_test_data): Likewise.
2088         (signbit_test_data): Likewise.
2089         (sinh_test_data): Likewise.
2090         (sqrt_test_data): Likewise.
2091         (tanh_test_data): Likewise.
2092         (tgamma_test_data): Likewise.
2093         (trunc_test_data): Likewise.
2094         (y0_test_data): Likewise.
2095         (y1_test_data): Likewise.
2096         (yn_test_data): Likewise.
2097         (significand_test_data): Likewise.
2099 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
2101         * manual/filesys.texi (Storage Allocation): Document that
2102         posix_fallocate emulation fails when fd is open with O_WRONLY.
2104 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
2106         [BZ #19016]
2107         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
2108         allow more cases with X^2 + Y^2 >= 0.5.
2109         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
2110         normal element in sum instead of special-casing based on values of
2111         arguments.
2112         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
2113         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
2114         -1 as normal element in sum instead of special-casing based on
2115         values of arguments.
2116         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
2117         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
2118         (__x2y2m1): Update comment.
2119         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
2120         as normal element in sum instead of special-casing based on values
2121         of arguments.
2122         * math/s_clog.c (__clog): Handle more cases using log1p without
2123         hypot.
2124         * math/s_clog10.c (__clog10): Likewise.
2125         * math/s_clog10f.c (__clog10f): Likewise.
2126         * math/s_clog10l.c (__clog10l): Likewise.
2127         * math/s_clogf.c (__clogf): Likewise.
2128         * math/s_clogl.c (__clogl): Likewise.
2129         * math/auto-libm-test-in: Add more tests of clog and clog10.
2130         * math/auto-libm-test-out: Regenerated.
2131         * sysdeps/i386/fpu/libm-test-ulps: Update.
2132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2134 2015-09-28  Martin Sebor  <msebor@redhat.com>
2136         [BZ #18969]
2137         * string/Makefile (LOCALES): Define.
2138         (gen-locales.mk): Include.
2139         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
2140         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
2141         * string/tst-strxfrm2.c (do_test): Print the name of the locale
2142         on setlocale failure.
2144 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
2146         [BZ #18985]
2147         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
2148         (__strftime_internal): Likewise.
2149         * time/tst-strftime.c (do_bz18985): New test.
2150         (do_test): Call it.
2152 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
2154         [BZ #18956]
2155         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
2156         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
2157         extracting high part.
2158         * math/auto-libm-test-in: Add another test of pow.
2159         * math/auto-libm-test-out: Regenerated.
2160         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2162 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
2164         [BZ #18825]
2165         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
2166         New macro.
2167         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
2168         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2169         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
2170         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
2171         DBL_NARROW_EVAL, reloading the PIC register as needed.
2172         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
2173         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
2174         FLT_NARROW_EVAL.  Use separate return path for case when first
2175         argument is NaN.
2176         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
2177         DEFINE_LDBL_MIN.
2178         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
2179         PIC register.
2180         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
2181         math_check_force_underflow_nonneg.
2182         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
2183         underflow for subnormal result.
2184         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2185         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
2186         math_check_force_underflow_nonneg.
2187         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
2188         math_check_force_underflow.
2189         * sysdeps/x86_64/fpu/x86_64-math-asm.h
2190         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
2191         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
2192         DEFINE_LDBL_MIN.
2193         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
2194         * math/auto-libm-test-in: Add more tests of pow.
2195         * math/auto-libm-test-out: Regenerated.
2197 2015-09-25  Florian Weimer  <fweimer@redhat.com>
2199         * nss/bug17079.c (init_test_items): Add diagnostic for
2200         inconsistent entries.
2201         (test_buffer_size): Skip inconsistent entries.
2203 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
2205         [BZ #13304]
2206         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
2207         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
2208         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
2210         [BZ #13304]
2211         * sysdeps/microblaze/s_fma.c: New file.
2212         * sysdeps/microblaze/s_fmaf.c: Likewise.
2213         * sysdeps/microblaze/sfp-machine.h: Likewise.
2215 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
2217         [BZ #17250]
2218         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
2219         member.
2221 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
2223         [BZ #18803]
2224         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
2225         (MO): New macro.
2226         (__ieee754_hypot) [PIC]: Load PIC register.
2227         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
2228         DBL_NARROW_EVAL.
2229         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
2230         math_check_force_underflow_nonneg in case where result might be
2231         tiny.
2232         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2233         Likewise.
2234         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2235         Likewise.
2236         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2237         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
2238         * math/auto-libm-test-in: Add more tests of hypot.
2239         * math/auto-libm-test-out: Regenerated.
2241 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
2243         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
2245 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
2247         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
2248         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
2249         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
2250         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
2251         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
2252         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
2253         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
2255         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
2256         LOAD_PIC_REG.
2258         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
2259         (FLT_CHECK_FORCE_UFLOW): Likewise.
2260         (DBL_CHECK_FORCE_UFLOW): Likewise.
2261         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
2262         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
2263         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
2264         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2265         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2266         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
2267         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
2268         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
2269         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
2270         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2271         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
2272         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
2273         (flt_min): Replace with use of DEFINE_FLT_MIN.
2274         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
2275         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
2276         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2277         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
2278         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
2279         (flt_min): Replace with use of DEFINE_FLT_MIN.
2280         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
2281         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
2282         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2283         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
2284         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
2285         (flt_min): Replace with use of DEFINE_FLT_MIN.
2286         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
2287         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
2288         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
2289         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
2290         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
2291         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
2292         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
2293         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
2294         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2295         (__atan): Use DBL_CHECK_FORCE_UFLOW.
2296         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
2297         (flt_min): Replace with use of DEFINE_FLT_MIN.
2298         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
2299         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
2300         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2301         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
2302         main computation.
2303         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
2304         (flt_min): Replace with use of DEFINE_FLT_MIN.
2305         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
2306         main computation.
2307         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
2308         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2309         (MO): New macro.
2310         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
2311         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
2312         (flt_min): Replace with use of DEFINE_FLT_MIN.
2313         (MO): New macro.
2314         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
2315         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
2316         (__log1pl): Use MO.
2318         [BZ #19003]
2319         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
2320         $(config-cflags-nofma).
2322 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2324         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2326 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
2328         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
2329         (TWO127): Likewise.
2331         * sysdeps/generic/math_private.h (fabs_tg): New macro.
2332         (min_of_type): Likewise.
2333         (math_check_force_underflow): Likewise.
2334         (math_check_force_underflow_nonneg): Likewise.
2335         (math_check_force_underflow_complex): Likewise.
2336         * math/e_exp2l.c (__ieee754_exp2l): Use
2337         math_check_force_underflow_nonneg.
2338         * math/k_casinh.c (__kernel_casinh): Likewise.
2339         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2340         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2341         * math/s_catan.c (__catan): Use
2342         math_check_force_underflow_complex.
2343         * math/s_catanf.c (__catanf): Likewise.
2344         * math/s_catanh.c (__catanh): Likewise.
2345         * math/s_catanhf.c (__catanhf): Likewise.
2346         * math/s_catanhl.c (__catanhl): Likewise.
2347         * math/s_catanl.c (__catanl): Likewise.
2348         * math/s_ccosh.c (__ccosh): Likewise.
2349         * math/s_ccoshf.c (__ccoshf): Likewise.
2350         * math/s_ccoshl.c (__ccoshl): Likewise.
2351         * math/s_cexp.c (__cexp): Likewise.
2352         * math/s_cexpf.c (__cexpf): Likewise.
2353         * math/s_cexpl.c (__cexpl): Likewise.
2354         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
2355         * math/s_clog10.c (__clog10): Likewise.
2356         * math/s_clog10f.c (__clog10f): Likewise.
2357         * math/s_clog10l.c (__clog10l): Likewise.
2358         * math/s_clogf.c (__clogf): Likewise.
2359         * math/s_clogl.c (__clogl): Likewise.
2360         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
2361         * math/s_csinf.c (__csinf): Likewise.
2362         * math/s_csinh.c (__csinh): Likewise.
2363         * math/s_csinhf.c (__csinhf): Likewise.
2364         * math/s_csinhl.c (__csinhl): Likewise.
2365         * math/s_csinl.c (__csinl): Likewise.
2366         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
2367         * math/s_csqrtf.c (__csqrtf): Likewise.
2368         * math/s_csqrtl.c (__csqrtl): Likewise.
2369         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
2370         * math/s_ctanf.c (__ctanf): Likewise.
2371         * math/s_ctanh.c (__ctanh): Likewise.
2372         * math/s_ctanhf.c (__ctanhf): Likewise.
2373         * math/s_ctanhl.c (__ctanhl): Likewise.
2374         * math/s_ctanl.c (__ctanl): Likewise.
2375         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
2376         instead of volatile.
2377         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
2378         math_check_force_underflow.
2379         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2380         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
2381         volatile when forcing underflow.
2382         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2383         math_check_force_underflow_nonneg.
2384         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
2385         Likewise.
2386         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
2387         math_check_force_underflow.
2388         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2389         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2390         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2391         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
2392         math_check_force_underflow_nonneg.
2393         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
2394         math_check_force_underflow.
2395         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
2396         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
2397         instead of volatile.
2398         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
2399         math_check_force_underflow.
2400         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
2401         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2402         math_check_force_underflow_nonneg.
2403         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
2404         math_check_force_underflow.
2405         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
2406         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2407         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
2408         math_check_force_underflow_nonneg.
2409         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
2410         Likewise.
2411         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
2412         math_check_force_underflow.
2413         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2414         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
2415         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
2416         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
2417         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
2418         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
2419         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
2420         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
2421         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2422         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
2423         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
2424         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
2425         Likewise.
2426         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
2427         math_check_force_underflow_nonneg.
2428         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
2429         Likewise.
2430         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
2431         math_check_force_underflow.
2432         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2433         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
2434         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2435         Likewise.
2436         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
2437         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
2438         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
2439         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
2440         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
2441         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
2442         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
2443         instead of volatile.
2444         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
2445         math_check_force_underflow.
2446         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
2447         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
2448         math_check_force_underflow.
2449         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
2450         Likewise.
2451         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2452         Use math_check_force_underflow_nonneg.
2453         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
2454         math_check_force_underflow.
2455         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2456         Likewise.
2457         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2458         Likewise.
2459         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2460         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2461         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2462         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2463         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
2464         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2465         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
2466         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
2467         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
2468         math_check_force_underflow_nonneg.
2469         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
2470         math_check_force_underflow.
2471         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2472         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
2473         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
2474         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
2475         math_check_force_underflow_nonneg.
2476         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
2477         math_check_force_underflow.
2478         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
2479         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
2480         instead of volatile.
2481         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
2482         math_check_force_underflow.
2484         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
2485         * stdlib/strtod_l.c: Include <math_private.h>.
2486         (overflow_value): Use math_narrow_eval.
2487         (underflow_value): Likewise.
2488         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2489         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
2490         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
2491         (__ieee754_gamma_r): Likewise.
2492         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
2493         Likewise.
2494         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2495         Likewise.
2496         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
2497         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
2498         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
2499         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
2500         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
2501         (__ieee754_gammaf_r): Likewise.
2502         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2503         Likewise.
2504         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
2505         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
2506         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
2507         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
2508         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
2509         volatile.
2510         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
2511         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
2512         math_narrow_eval.
2513         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
2514         Likewise.
2515         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2516         Likewise.
2517         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
2518         Likewise.
2519         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
2520         volatile.
2521         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
2522         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
2523         math_narrow_eval.
2524         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2525         Likewise.
2526         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2527         Likewise.
2529 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
2531         * nptl/Versions: Remove ignored symbols.
2533 2015-09-22  Florian Weimer  <fweimer@redhat.com>
2535         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
2536         * nss/Makefile (tests): Update.
2538 2015-09-22  Florian Weimer  <fweimer@redhat.com>
2540         * nss/bug18287.c: New file.
2541         * nss/Makefile (tests): Add bug18287.
2543 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2545         * mach/Versions (__mach_host_self_): Add symbol.
2547 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2549         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
2550         vm_page_size.
2552 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2554         Really fix sysdeps/i386/fpu/s_scalbn.S build
2556         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
2557         (libc: GLIBC_2_22): Remove unused version set.
2559 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
2561         * config.make.in (enable-timezone-tools): New variable.
2562         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
2563         (enable_timezone_tools): Export to generated files.
2564         * configure: Regenerate.
2565         * INSTALL: Regenerate.
2566         * manual/install.texi (--disable-timezone-tools): Document new flag.
2567         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
2568         ifeq ($(enable-timezone-tools),yes) check.
2570 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
2572         * timezone/Makefile: Revert previous change.
2574         [BZ #18980]
2575         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
2576         (DEFINE_DBL_MIN): Likewise.
2577         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
2578         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
2579         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
2580         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
2581         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
2582         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2583         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
2584         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
2585         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
2586         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2587         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
2588         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
2589         (flt_min): Replace with use of DEFINE_FLT_MIN.
2590         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
2591         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
2592         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2593         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
2594         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
2595         (flt_min): Replace with use of DEFINE_FLT_MIN.
2596         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
2597         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
2598         (flt_min): Replace with use of DEFINE_FLT_MIN.
2599         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
2600         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
2601         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
2602         (__ieee754_hypot): Use DBL_NARROW_EVAL.
2603         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
2604         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
2605         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
2606         (__ieee754_pow): Use DBL_NARROW_EVAL.
2607         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
2608         (__ieee754_powf): Use FLT_NARROW_EVAL.
2609         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
2610         (__ieee754_expf_sse2): Convert double-precision result to single
2611         precision.
2612         * sysdeps/i386/fpu/libm-test-ulps: Update.
2614 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
2616         * timezone/Makefile: Ignore unused variable errors due to private.h
2617         (time_t_min) and (time_t_max).
2618         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
2619         Likewise.
2621 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
2623         [BZ #18981]
2624         * sysdeps/i386/fpu/i386-math-asm.h: New file.
2625         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
2626         (__ieee754_scalb): Use DBL_NARROW_EVAL.
2627         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
2628         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
2629         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
2630         (__scalbn): Use DBL_NARROW_EVAL.
2631         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
2632         (__scalbnf): Use FLT_NARROW_EVAL.
2634 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
2636         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
2637         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
2638         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
2639         * stdio-common/printf_fp.c (___printf_fp):
2640         Use signbit to get the sign. Use isinf macro to allow inlining.
2641         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
2642         * stdio-common/printf_size.c (__printf_size): Likewise.
2644 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
2646         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
2648 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
2650         [BZ #18980]
2651         * sysdeps/generic/math_private.h: Include <float.h>.
2652         (math_narrow_eval): New macro.
2653         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
2654         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
2655         math_narrow_eval on overflowing return value.
2656         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
2657         Likewise.
2658         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2659         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
2660         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
2661         Likewise.
2662         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
2664 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
2666         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
2667         * math/Makefile: Remove isinf_ns.c.
2668         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
2669         * math/multc3.c (__multc3): Likewise.
2670         * math/s_casin.c (__casin): Likewise.
2671         * math/s_casinf.c (__casinf): Likewise.
2672         * math/s_casinl.c (__casinl): Likewise.
2673         * math/s_cproj.c (__cproj): Likewise.
2674         * math/s_cprojf.c (__cprojf): Likewise.
2675         * math/s_cprojl.c (__cprofl): Likewise.
2676         * math/s_ctan.c (__ctan): Likewise.
2677         * math/s_ctanf.c (__ctanf): Likewise.
2678         * math/s_ctanh.c (__ctanh): Likewise.
2679         * math/s_ctanhf.c (__ctanhf): Likewise.
2680         * math/s_ctanhl.c (__ctanhl): Likewise.
2681         * math/s_ctanl.c (__ctanl): Likewise.
2682         * math/w_fmod.c (__fmod): Likewise.
2683         * math/w_fmodf.c (__fmodf): Likewise.
2684         * math/w_fmodl.c (_fmodl): Likewise.
2685         * math/w_remainder.c (__remainder): Likewise.
2686         * math/w_remainderf.c (__remainderf): Likewise.
2687         * math/w_remainderl.c (__remainderl): Likewise.
2688         * math/w_scalb.c (__scalb): Likewise.
2689         * math/w_scalbf.c (__scalbf): Likewise.
2690         * math/w_scalbl.c (__scalbl): Likewise.
2691         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
2692         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
2693         with isinf.
2694         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
2695         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
2696         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
2697         __isinf_nsf with isinf.
2698         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
2699         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
2700         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
2701         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
2702         with isinf.
2703         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
2704         __isinf_nsl with isinf.
2705         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
2706         with isinf.
2707         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
2708         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
2709         __isinf_nsl with isinf.
2710         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
2711         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
2712         with isinf.
2714 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
2716         * resolv/base64.c (rcsid): Remove unused static.
2717         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
2718         static.  (tqpi1): Likewise.
2719         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
2720         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
2721         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
2722         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
2723         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
2724         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
2725         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
2726         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
2727         Likewise.
2729 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
2731         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
2732         <nptl/pthreadP.h>.
2733         (_longjmp_unwind): Use __libc_ptf_call.
2734         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
2736 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
2738         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
2739         * sysdeps/arm/__longjmp.S: Likewise
2741 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
2743         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
2744         Use __builtin_signbit.
2745         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
2746         Use __builtin_signbitf.
2747         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
2748         Use __builtin_signbitl.
2749         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2750         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
2752 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
2754         [BZ #15367]
2755         [BZ #17441]
2757         * math/Makefile: Build test-snan.c with -fsignaling-nans.
2758         * math/math.h (fpclassify): Use __builtin_fpclassify when
2759         available.  (signbit): Use __builtin_signbit(f/l).
2760         (isfinite): Use__builtin_isfinite.  (isnormal): Use
2761         __builtin_isnormal.  (isnan): Use __builtin_isnan.
2762         (isinf): Use __builtin_isinf_sign.
2764 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
2766         * benchtests/Makefile: Add bench-math-inlines, link with libm.
2767         * benchtests/bench-math-inlines.c: New benchmark.
2768         * benchtests/bench-util.h: New file.
2769         * benchtests/bench-util.c: New file.
2770         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
2772 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
2774         * elf/tst-dlmopen1.c: Define TEST_SO.
2775         (do_test): Use TEST_SO.
2777         * elf/dl-load.c: Include libc-internal.h.
2778         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
2780 2015-09-18  Vincent Bernat  <vincent@bernat.im>
2782         [BZ #17887]
2783         * time/strptime_l.c (__strptime_internal): Make %z accept
2784         [+-]HH:MM time zones.
2786 2015-09-18  Vincent Bernat  <vincent@bernat.im>
2788         [BZ #17886]
2789         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
2790         valid time zone.
2792 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
2794         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
2795         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
2796         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2797         (__ASSUME_FDATASYNC): Delete.
2799 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
2801         * conform/linknamespace.pl: Require weak undefined symbols to be
2802         in the standard namespace.
2803         (%strong_syms): Rename to %seen_syms.
2804         (%strong_seen): Rename to %seen_where.
2806 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
2808         [BZ #18970]
2809         * misc/error.c (error): Replace pthread_setcancelstate with
2810         __pthread_setcancelstate.
2811         (error_at_line): Likewise.
2812         * posix/wordexp.c (parse_comm): Likewise.
2813         * stdlib/fmtmsg.c (fmtmsg): Likewise.
2814         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
2815         (__pthread_setcancelstate): This.
2816         (pthread_setcancelstate): Add an alias.
2817         * nptl/nptl-init.c (pthread_functions): Replace
2818         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
2819         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
2820         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
2821         hidden_proto.
2822         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
2823         it with hidden_def.
2824         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
2825         (pthread_setcancelstate): Renamed to ...
2826         (__pthread_setcancelstate): This.
2827         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
2828         __libc_ptf_call with __pthread_setcancelstate.
2830 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
2831             Andreas Schwab  <schwab@suse.de>
2833         [BZ #17118]
2834         * math/s_ctan.c (__ctan): Determine sign of zero real part of
2835         result when imaginary part of argument is infinite using sine and
2836         cosine.
2837         * math/s_ctanf.c (__ctanf): Likewise.
2838         * math/s_ctanl.c (__ctanl): Likewise.
2839         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
2840         of result when real part of argument is infinite using sine and
2841         cosine.
2842         * math/s_ctanhf.c (__ctanhf): Likewise.
2843         * math/s_ctanhl.c (__ctanhl): Likewise.
2844         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
2845         (ctanh_test_data): Add more tests of ctanh.
2847 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
2849         [BZ #15384]
2850         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
2851         bit-mask as in subtraction.
2852         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
2853         Likewise.
2854         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
2855         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
2856         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
2858         [BZ #18951]
2859         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
2860         underflow exception for small results.
2861         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
2862         Likewise.
2863         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
2864         Likewise.
2865         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2866         Likewise.
2867         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2868         Likewise.
2869         * math/auto-libm-test-in: Add more tests of tgamma.
2870         * math/auto-libm-test-out: Regenerated.
2872 2015-09-17  Andreas Schwab  <schwab@suse.de>
2874         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
2876 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
2878         [BZ #18977]
2879         * math/bits/mathcalls.h
2880         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
2881         not declare.
2882         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
2883         Likewise.
2884         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
2885         Likewise.
2886         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
2887         Likewise.
2888         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
2889         Likewise.
2890         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
2891         Likewise.
2892         * conform/data/math.h-data
2893         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
2894         function.
2895         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
2896         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
2897         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
2898         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
2899         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
2900         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
2901         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
2902         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
2903         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
2904         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
2905         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
2907         [BZ #6803]
2908         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
2909         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
2910         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
2911         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
2912         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
2913         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
2914         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
2915         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
2916         [NO_LONG_DOUBLE] (scalbnl): Likewise.
2917         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
2918         Likewise.
2919         [NO_LONG_DOUBLE] (scalbnl): Likewise.
2920         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
2921         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
2922         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
2923         long_double_symbol calls.
2924         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
2925         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
2926         strong alias of __ldexpl.
2927         (scalbnl): Define using long_double_symbol.
2928         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
2929         Remove alias.
2930         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
2931         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
2932         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
2933         (scalbln_test_data): Add more errno expectations.
2935 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
2937         Cache the host port like we cache the task port.  This way we do not
2938         need to call the kernel just to get the port.  Furthermore, we no
2939         longer increase the reference count on every invocation of
2940         `mach_host_self'.
2942         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
2943         Protect declarations against the macro expansion.
2944         * mach/mach_init.c (__mach_host_self_): New variable.
2945         (mach_init): Initialize `__mach_host_self_'.
2946         * mach/mach_init.h (__mach_host_self_): New declaration.
2947         (__mach_host_self, mach_host_self): New macros.
2948         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
2949         Release reference.
2951 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
2953         [BZ #4404]
2954         * po/de.po: Update from Translation Project.
2956         [BZ #16415]
2957         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
2958         (__expm1l): Remove code to handle positive infinity and overflow.
2959         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
2960         variable.
2961         (__expm1l): Remove code to handle positive infinity and overflow.
2963 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
2964             Paul Pluzhnikov  <ppluzhnikov@google.com>
2966         [BZ #18872]
2967         * stdio-common/Makefile (tst-printf-bz18872): New test.
2968         (tst-printf-bz18872-mem.out): Likewise.
2969         * stdio-common/tst-printf-bz18872.sh: Generate new test.
2970         * stdio-common/vfprintf.c: Fix memory leaks.
2972 2015-09-16  Andreas Schwab  <schwab@suse.de>
2974         [BZ #17244]
2975         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
2976         Remove extra va_start/va_end calls.
2978         [BZ #17243]
2979         * posix/execl.c (execl): Add missing va_end.
2980         * posix/execle.c (execle): Likewise.
2981         * posix/execlp.c (execlp): Likewise.
2983 2015-09-15  Roland McGrath  <roland@hack.frob.com>
2985         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
2986         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
2988 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
2990         [BZ #18967]
2991         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
2992         undefine around includes of <bits/mathcalls.h>.
2993         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
2994         not declare function.
2995         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
2996         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
2997         (scalb): Likewise.
2998         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
2999         not define macro.
3000         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
3001         variable.
3002         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3003         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3004         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3006         [BZ #18857]
3007         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
3008         return non-finite argument without doing ordered comparisons on
3009         it.
3011         [BZ #16296]
3012         * math/fenv.h (fegetround): Use __attribute_pure__.
3013         * include/fenv.h (__fegetround): Likewise.
3015         [BZ #18595]
3016         * math/s_ctan.c (__ctan): Force underflow exception for results
3017         whose real or imaginary part has small absolute value.
3018         * math/s_ctanf.c (__ctanf): Likewise.
3019         * math/s_ctanh.c (__ctanh): Likewise.
3020         * math/s_ctanhf.c (__ctanhf): Likewise.
3021         * math/s_ctanhl.c (__ctanhl): Likewise.
3022         * math/s_ctanl.c (__ctanl): Likewise.
3023         * math/auto-libm-test-in: Do not allow missing underflow for ctan
3024         and ctanh.  Add more tests of ctan and ctanh.
3026         [BZ #15918]
3027         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
3028         handling of cases where one argument is an infinity.
3030         [BZ #18875]
3031         [BZ #18966]
3032         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
3033         (MO): New macro.
3034         (__ieee754_exp10): For small results, force underflow exception
3035         and remove excess range and precision from return value.
3036         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
3037         (MO): New macro.
3038         (__ieee754_exp10f): For small results, force underflow exception
3039         and remove excess range and precision from return value.
3040         * math/auto-libm-test-in: Add more tests of exp10.
3041         * math/auto-libm-test-out: Regenerated.
3043 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
3045         [BZ #18875]
3046         [BZ #18961]
3047         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
3048         (MO): New macro.
3049         (__ieee754_exp): For small results, force underflow exception and
3050         remove excess range and precision from return value.
3051         (__exp_finite): Likewise.
3052         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
3053         (MO): New macro.
3054         (__ieee754_expf): For small results, force underflow exception and
3055         remove excess range and precision from return value.
3056         (__expf_finite): Likewise.
3057         * math/auto-libm-test-in: Add more tests of exp.
3058         * math/auto-libm-test-out: Regenerated.
3060         [BZ #16521]
3061         [BZ #18875]
3062         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
3063         small results.
3064         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
3065         (MO): New macro.
3066         (__ieee754_exp2): For small results, force underflow exception and
3067         remove excess range and precision from return value.
3068         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
3069         (MO): New macro.
3070         (__ieee754_exp2f): For small results, force underflow exception
3071         and remove excess range and precision from return value.
3072         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
3073         (MO): New macro.
3074         (__ieee754_exp2l): Force underflow exception for small results.
3075         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3076         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3077         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
3078         (MO): New macro.
3079         (__ieee754_exp2l): Force underflow exception for small results.
3080         * math/auto-libm-test-in: Add more tests or exp2.
3081         * math/auto-libm-test-out: Regenerated.
3083 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
3085         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
3087         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
3088         /dev/null.
3090 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3092         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
3093         io fs process)): Drop spurious backslash.
3095 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3097         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
3098         Use sysinfo system call instead of parsing /proc/meminfo.
3099         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
3100         Likewise.
3102 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
3104         [BZ #16985]
3105         * programs/localedef.c (main): Display argv[remaining] when
3106         output_path is NULL.
3108 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
3110         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3111         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
3112         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
3113         tanh.
3114         * math/auto-libm-test-out: Regenerated.
3115         * sysdeps/i386/fpu/libm-test-ulps: Update.
3116         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3117         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3120 2015-09-11  Roland McGrath  <roland@hack.frob.com>
3122         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
3123         Use 'override' keyword to freeze the value here, preventing
3124         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
3126 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
3128         [BZ #14912]
3129         * sysdeps/aarch64/bits/atomic.h: Move to ...
3130         * sysdeps/aarch64/atomic-machine.h: ...here.
3131         (_AARCH64_BITS_ATOMIC_H): Rename macro to
3132         _AARCH64_ATOMIC_MACHINE_H.
3133         * sysdeps/alpha/bits/atomic.h: Move to ...
3134         * sysdeps/alpha/atomic-machine.h: ...here.
3135         * sysdeps/arm/bits/atomic.h: Move to ...
3136         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
3137         * bits/atomic.h: Move to ...
3138         * sysdeps/generic/atomic-machine.h: ...here.
3139         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3140         * sysdeps/i386/bits/atomic.h: Move to ...
3141         * sysdeps/i386/atomic-machine.h: ...here.
3142         * sysdeps/ia64/bits/atomic.h: Move to ...
3143         * sysdeps/ia64/atomic-machine.h: ...here.
3144         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
3145         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
3146         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3147         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
3148         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
3149         * sysdeps/microblaze/bits/atomic.h: Move to ...
3150         * sysdeps/microblaze/atomic-machine.h: ...here.
3151         * sysdeps/mips/bits/atomic.h: Move to ...
3152         * sysdeps/mips/atomic-machine.h: ...here.
3153         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
3154         * sysdeps/powerpc/bits/atomic.h: Move to ...
3155         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
3156         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
3157         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
3158         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
3159         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
3160         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
3161         <atomic-machine.h> instead of <bits/atomic.h>.
3162         * sysdeps/s390/bits/atomic.h: Move to ...
3163         * sysdeps/s390/atomic-machine.h: ...here.
3164         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
3165         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
3166         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3167         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
3168         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
3169         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
3170         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
3171         * sysdeps/tile/bits/atomic.h: Move to ...
3172         * sysdeps/tile/atomic-machine.h: ...here.
3173         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
3174         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
3175         <sysdeps/tile/atomic-machine.h> instead of
3176         <sysdeps/tile/bits/atomic.h>.
3177         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3178         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
3179         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
3180         <sysdeps/tile/atomic-machine.h> instead of
3181         <sysdeps/tile/bits/atomic.h>.
3182         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3183         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
3184         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
3185         <sysdeps/arm/atomic-machine.h> instead of
3186         <sysdeps/arm/bits/atomic.h>.
3187         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
3188         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
3189         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3190         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
3191         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
3192         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3193         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
3194         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
3195         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
3196         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
3197         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
3198         * sysdeps/x86_64/bits/atomic.h: Move to ...
3199         * sysdeps/x86_64/atomic-machine.h: ...here.
3200         * include/atomic.h: Include <atomic-machine.h> instead of
3201         <bits/atomic.h>.
3203         * sysdeps/mips/mips32/libm-test-ulps: Update.
3204         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3206         [BZ #18952]
3207         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
3208         not convert non-integer negative arguments to int to determine the
3209         value of signgam.
3210         * math/auto-libm-test-in: Add more tests of lgamma.
3211         * math/auto-libm-test-out: Regenerated.
3213         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
3214         cosh, csqrt, erfc, expm1 and lgamma.
3215         * math/auto-libm-test-out: Regenerated.
3216         * sysdeps/i386/fpu/libm-test-ulps: Update.
3217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3219 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
3221         [BZ #2542]
3222         [BZ #2543]
3223         [BZ #2558]
3224         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
3225         __lgamma_neg for arguments from -28.0 to -2.0.
3226         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
3227         __lgamma_negf for arguments from -15.0 to -2.0.
3228         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3229         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
3230         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
3231         Call __lgamma_negl for arguments from -33.0 to -2.0.
3232         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
3233         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
3234         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
3235         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
3236         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3237         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3238         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
3239         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
3240         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
3241         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
3242         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
3243         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
3244         (__lgamma_neg): Likewise.
3245         (__lgamma_negl): Likewise.
3246         (__lgamma_product): Likewise.
3247         (__lgamma_productl): Likewise.
3248         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
3249         * math/auto-libm-test-in: Add more tests of lgamma.
3250         * math/auto-libm-test-out: Regenerated.
3251         * sysdeps/i386/fpu/libm-test-ulps: Update.
3252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3254 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
3256         [BZ #18675]
3257         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
3259 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
3261         [BZ #14912]
3262         * bits/libc-lock.h: Move to ...
3263         * sysdeps/generic/libc-lock.h: ...here.
3264         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3265         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
3266         * sysdeps/mach/hurd/libc-lock.h: ...here.
3267         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3268         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
3269         * sysdeps/mach/bits/libc-lock.h: Move to ...
3270         * sysdeps/mach/libc-lock.h: ...here.
3271         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3272         * sysdeps/nptl/bits/libc-lock.h: Move to ...
3273         * sysdeps/nptl/libc-lock.h: ...here.
3274         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3275         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
3276         * sysdeps/nptl/libc-lockP.h: ...here.
3277         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
3278         * crypt/crypt_util.c: Include <libc-lock.h> instead of
3279         <bits/libc-lock.h>.
3280         * dirent/scandir-tail.c: Likewise.
3281         * dlfcn/dlerror.c: Likewise.
3282         * elf/dl-close.c: Likewise.
3283         * elf/dl-iteratephdr.c: Likewise.
3284         * elf/dl-lookup.c: Likewise.
3285         * elf/dl-open.c: Likewise.
3286         * elf/dl-support.c: Likewise.
3287         * elf/dl-writev.h: Likewise.
3288         * elf/rtld.c: Likewise.
3289         * grp/fgetgrent.c: Likewise.
3290         * gshadow/fgetsgent.c: Likewise.
3291         * gshadow/sgetsgent.c: Likewise.
3292         * iconv/gconv_conf.c: Likewise.
3293         * iconv/gconv_db.c: Likewise.
3294         * iconv/gconv_dl.c: Likewise.
3295         * iconv/gconv_int.h: Likewise.
3296         * iconv/gconv_trans.c: Likewise.
3297         * include/link.h: Likewise.
3298         * inet/getnameinfo.c: Likewise.
3299         * inet/getnetgrent.c: Likewise.
3300         * inet/getnetgrent_r.c: Likewise.
3301         * intl/bindtextdom.c: Likewise.
3302         * intl/dcigettext.c: Likewise.
3303         * intl/finddomain.c: Likewise.
3304         * intl/gettextP.h: Likewise.
3305         * intl/loadmsgcat.c: Likewise.
3306         * intl/localealias.c: Likewise.
3307         * intl/textdomain.c: Likewise.
3308         * libidn/idn-stub.c: Likewise.
3309         * libio/libioP.h: Likewise.
3310         * locale/duplocale.c: Likewise.
3311         * locale/freelocale.c: Likewise.
3312         * locale/newlocale.c: Likewise.
3313         * locale/setlocale.c: Likewise.
3314         * login/getutent_r.c: Likewise.
3315         * login/getutid_r.c: Likewise.
3316         * login/getutline_r.c: Likewise.
3317         * login/utmp-private.h: Likewise.
3318         * login/utmpname.c: Likewise.
3319         * malloc/mtrace.c: Likewise.
3320         * misc/efgcvt.c: Likewise.
3321         * misc/error.c: Likewise.
3322         * misc/fstab.c: Likewise.
3323         * misc/getpass.c: Likewise.
3324         * misc/mntent.c: Likewise.
3325         * misc/syslog.c: Likewise.
3326         * nis/nis_call.c: Likewise.
3327         * nis/nis_callback.c: Likewise.
3328         * nis/nss-default.c: Likewise.
3329         * nis/nss_compat/compat-grp.c: Likewise.
3330         * nis/nss_compat/compat-initgroups.c: Likewise.
3331         * nis/nss_compat/compat-pwd.c: Likewise.
3332         * nis/nss_compat/compat-spwd.c: Likewise.
3333         * nis/nss_nis/nis-alias.c: Likewise.
3334         * nis/nss_nis/nis-ethers.c: Likewise.
3335         * nis/nss_nis/nis-grp.c: Likewise.
3336         * nis/nss_nis/nis-hosts.c: Likewise.
3337         * nis/nss_nis/nis-network.c: Likewise.
3338         * nis/nss_nis/nis-proto.c: Likewise.
3339         * nis/nss_nis/nis-pwd.c: Likewise.
3340         * nis/nss_nis/nis-rpc.c: Likewise.
3341         * nis/nss_nis/nis-service.c: Likewise.
3342         * nis/nss_nis/nis-spwd.c: Likewise.
3343         * nis/nss_nisplus/nisplus-alias.c: Likewise.
3344         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
3345         * nis/nss_nisplus/nisplus-grp.c: Likewise.
3346         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
3347         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
3348         * nis/nss_nisplus/nisplus-network.c: Likewise.
3349         * nis/nss_nisplus/nisplus-proto.c: Likewise.
3350         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
3351         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
3352         * nis/nss_nisplus/nisplus-service.c: Likewise.
3353         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
3354         * nis/ypclnt.c: Likewise.
3355         * nptl/libc_pthread_init.c: Likewise.
3356         * nss/getXXbyYY.c: Likewise.
3357         * nss/getXXent.c: Likewise.
3358         * nss/getXXent_r.c: Likewise.
3359         * nss/nss_db/db-XXX.c: Likewise.
3360         * nss/nss_db/db-netgrp.c: Likewise.
3361         * nss/nss_db/nss_db.h: Likewise.
3362         * nss/nss_files/files-XXX.c: Likewise.
3363         * nss/nss_files/files-alias.c: Likewise.
3364         * nss/nsswitch.c: Likewise.
3365         * posix/regex_internal.h: Likewise.
3366         * posix/wordexp.c: Likewise.
3367         * pwd/fgetpwent.c: Likewise.
3368         * resolv/res_hconf.c: Likewise.
3369         * resolv/res_libc.c: Likewise.
3370         * shadow/fgetspent.c: Likewise.
3371         * shadow/lckpwdf.c: Likewise.
3372         * shadow/sgetspent.c: Likewise.
3373         * socket/opensock.c: Likewise.
3374         * stdio-common/reg-modifier.c: Likewise.
3375         * stdio-common/reg-printf.c: Likewise.
3376         * stdio-common/reg-type.c: Likewise.
3377         * stdio-common/vfprintf.c: Likewise.
3378         * stdio-common/vfscanf.c: Likewise.
3379         * stdlib/abort.c: Likewise.
3380         * stdlib/cxa_atexit.c: Likewise.
3381         * stdlib/fmtmsg.c: Likewise.
3382         * stdlib/random.c: Likewise.
3383         * stdlib/setenv.c: Likewise.
3384         * string/strsignal.c: Likewise.
3385         * sunrpc/auth_none.c: Likewise.
3386         * sunrpc/bindrsvprt.c: Likewise.
3387         * sunrpc/create_xid.c: Likewise.
3388         * sunrpc/key_call.c: Likewise.
3389         * sunrpc/rpc_thread.c: Likewise.
3390         * sysdeps/arm/backtrace.c: Likewise.
3391         * sysdeps/generic/ldsodefs.h: Likewise.
3392         * sysdeps/generic/stdio-lock.h: Likewise.
3393         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
3394         * sysdeps/i386/backtrace.c: Likewise.
3395         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3396         * sysdeps/m68k/backtrace.c: Likewise.
3397         * sysdeps/mach/hurd/cthreads.c: Likewise.
3398         * sysdeps/mach/hurd/dirstream.h: Likewise.
3399         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
3400         * sysdeps/nptl/malloc-machine.h: Likewise.
3401         * sysdeps/nptl/stdio-lock.h: Likewise.
3402         * sysdeps/posix/dirstream.h: Likewise.
3403         * sysdeps/posix/getaddrinfo.c: Likewise.
3404         * sysdeps/posix/system.c: Likewise.
3405         * sysdeps/pthread/aio_suspend.c: Likewise.
3406         * sysdeps/s390/s390-32/backtrace.c: Likewise.
3407         * sysdeps/s390/s390-64/backtrace.c: Likewise.
3408         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3409         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3410         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
3411         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
3412         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
3413         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3414         * sysdeps/unix/sysv/linux/system.c: Likewise.
3415         * sysdeps/x86_64/backtrace.c: Likewise.
3416         * time/alt_digit.c: Likewise.
3417         * time/era.c: Likewise.
3418         * time/tzset.c: Likewise.
3419         * wcsmbs/wcsmbsload.c: Likewise.
3420         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
3421         instead of <bits/libc-lock.h> in comment.
3423 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
3425         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
3426         Only use .set mips2 if the current ISA is below mips2.
3427         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
3428         Likewise.
3429         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
3430         mips32r2 if the current ISA is below mips32r2.
3431         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
3432         (TLS_IE): Updated to use the TLD_RDHWR macro.
3433         (TLS_LE): Likewise.
3434         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
3435         __ASSEMBLER__ condition.
3437 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3439         Fix parallel build of before-compile targets.
3441         * sysdeps/mach/Makefile ($(patsubst
3442         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
3443         mach-before-compile target.
3444         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
3445         io fs process)): Move rule to dedicated hurd-before-compile target.
3447 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3449         Fix rules generating headers in hurd/ and mach/ when initial make call
3450         has subdir= explicitly set.
3452         * sysdeps/mach/Makefile ($(patsubst
3453         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
3454         calling $(MAKE).
3455         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
3456         io fs process)): Force subdir to hurd when calling $(MAKE).
3457         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
3458         subdir to mach when calling $(MAKE).
3460 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
3462         Check sysheaders when looking for Mach and Hurd headers
3464         * sysdeps/mach/configure.ac: Add sysheaders check.
3465         * sysdeps/mach/configure: Regenerate.
3466         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
3467         * sysdeps/mach/hurd/configure: Regenerate.
3469 2015-09-04  Roland McGrath  <roland@hack.frob.com>
3471         [BZ #18921]
3472         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
3473         Fix inverted sense of test of 'o_directory_works' value.
3474         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
3475         Bernhard Voelker <mail@bernhard-voelker.de>.
3477 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
3479         [BZ #14912]
3480         * bits/linkmap.h: Move to ...
3481         * sysdeps/generic/linkmap.h: ...here.
3482         * sysdeps/aarch64/bits/linkmap.h: Move to ...
3483         * sysdeps/aarch64/linkmap.h: ...here.
3484         * sysdeps/arm/bits/linkmap.h: Move to ...
3485         * sysdeps/arm/linkmap.h: ...here.
3486         * sysdeps/hppa/bits/linkmap.h: Move to ...
3487         * sysdeps/hppa/linkmap.h: ...here.
3488         * sysdeps/ia64/bits/linkmap.h: Move to ...
3489         * sysdeps/ia64/linkmap.h: ...here.
3490         * sysdeps/mips/bits/linkmap.h: Move to ...
3491         * sysdeps/mips/linkmap.h: ...here.
3492         * sysdeps/s390/bits/linkmap.h: Move to ...
3493         * sysdeps/s390/linkmap.h: ...here.
3494         * sysdeps/sh/bits/linkmap.h: Move to ...
3495         * sysdeps/sh/linkmap.h: ...here.
3496         * sysdeps/x86/bits/linkmap.h: Move to ...
3497         * sysdeps/x86/linkmap.h: ...here.
3498         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
3500 2015-09-04  Andreas Schwab  <schwab@suse.de>
3502         [BZ #18635]
3503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
3504         (__makecontext): Terminate FDE before return label.
3505         (__novec_makecontext): Likewise.
3507 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3509         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
3510         first member of struct sv in syscall macro.
3512 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
3514         [BZ #14912]
3515         * bits/stdio-lock.h: Move to ...
3516         * sysdeps/generic/stdio-lock.h: ...here.
3517         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
3518         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
3519         * sysdeps/nptl/stdio-lock.h: ...here.
3520         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
3521         * include/libio.h: Include <stdio-lock.h> instead of
3522         <bits/stdio-lock.h>.
3523         * sysdeps/nptl/fork.c: Likewise.
3524         * sysdeps/pthread/flockfile.c: Likewise.
3525         * sysdeps/pthread/ftrylockfile.c: Likewise.
3526         * sysdeps/pthread/funlockfile.c: Likewise.
3528         [BZ #14912]
3529         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
3530         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
3531         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
3532         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
3533         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
3534         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3535         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3537 2015-09-03  Roland McGrath  <roland@hack.frob.com>
3539         * elf/Makefile (test-xfail-tst-protected1a): New variable.
3540         (test-xfail-tst-protected1b): New variable.
3542 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
3544         [BZ #14912]
3545         * bits/libc-tsd.h: Move to ...
3546         * sysdeps/generic/libc-tsd.h: ...here.
3547         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
3548         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
3549         * sysdeps/mach/hurd/libc-tsd.h: ...here.
3550         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
3551         * include/ctype.h: Include <libc-tsd.h> instead of
3552         <bits/libc-tsd.h>.
3553         * include/rpc/rpc.h: Likewise.
3554         * locale/localeinfo.h: Likewise.
3555         * sunrpc/rpc_thread.c: Likewise.
3556         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
3557         * sysdeps/nptl/malloc-machine.h: Likewise.
3559         * Makefile (headers): Remove bits/libc-lock.h.
3560         * libio/Makefile (headers): Remove bits/stdio-lock.h.
3562         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
3563         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
3564         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
3565         <bits/stdio-lock.h>.
3566         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
3567         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
3569 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
3571         [BZ #18757]
3572         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
3573         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
3574         BZ #18757.
3576 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
3578         * malloc/mtrace.pl: Filter out NULL entries.
3580 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
3582         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
3583         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
3584         macro.
3586         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
3587         (TCP_CC_INFO): Likewise.
3588         (TCP_SAVE_SYN): Likewise.
3589         (TCP_SAVED_SYN): Likewise.
3591 2015-08-31  Brett Neumeier <brett@neumeier.us>
3593         [BZ #18870]
3594         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
3596 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
3598         [BZ #18873]
3599         Fix broken overflow check in posix_fallocate
3600         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
3601         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3602         Fix parenthesization typo.
3604 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
3606         [BZ #18887]
3607         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
3608         tst-mntent-blank-passno.
3609         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
3610         * misc/tst-mntent-blank-corrupt.c: New test.
3611         * misc/tst-mntent-blank-passno.c: New test ripped from ...
3612         * misc/tst-mntent.c (do_test): ... here.
3614 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
3616         [BZ #4404]
3617         * po/de.po: Fix SIGALRM typo.
3619 2015-08-28  James Perkins  <james@loowit.net>
3621         * time/tst-strptime2.c (tests): Replace short list of test
3622         strings for strptime %z specifier with code which exhaustively
3623         tests every combination of sign and 0 to 5 digits. Tests for
3624         rejection of invalid strings.
3626 2015-08-28  James Perkins  <james@loowit.net>
3628         [BZ #16141]
3629         * time/strptime_l.c (__strptime_internal): Fix %z minutes
3630         calculation, removing incorrect decimal time rounding, so that
3631         all minute values result in a valid seconds value.
3632         * time/strptime_l.c (__strptime_internal): Extend %z time zone
3633         offset range limits to UTC-99:59 through UTC+99:59 to parse
3634         current and historical use cases.
3635         * time/tst-strptime2.c (tests): Modify and add tests for the
3636         strptime %z input field descriptor, specifically conversion of
3637         minutes to seconds and validating an offset range of -9959 to
3638         +9959.
3640 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3641             Dmitry V. Levin  <ldv@altlinux.org>
3643         [BZ #18877]
3644         * posix/Makefile (tests): Add tst-mmap-offset.
3645         * posix/tst-mmap.c: New file.
3646         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
3647         offset calculation for negative values.
3649 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
3651         * sysdeps/i386/init-arch.h: New file.
3652         * sysdeps/i386/i586/init-arch.h: Likewise.
3653         * sysdeps/i386/i686/init-arch.h: Likewise.
3654         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
3655         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
3656         * sysdeps/x86/cpu-features.h (bit_I586): New.
3657         (bit_I686): Likewise.
3658         (bit_CX8): Likewise.
3659         (bit_CMOV): Likewise.
3660         (index_CX8): Likewise.
3661         (index_CMOV): Likewise.
3662         (index_I586): Likewise.
3663         (index_I686): Likewise.
3664         (reg_CX8): Likewise.
3665         (reg_CMOV): Likewise.
3666         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
3667         available at compile-time.
3668         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
3669         available at compile-time.
3670         * sysdeps/x86/init-arch.h (USE_I586): New macro.
3671         (USE_I686): Likewise.
3673 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
3675         * sysdeps/i386/bcopy.S: New file.
3676         * sysdeps/i386/bzero.S: Likewise.
3677         * sysdeps/i386/memcpy.S: Likewise.
3678         * sysdeps/i386/memmove.S: Likewise.
3679         * sysdeps/i386/mempcpy.S: Likewise.
3680         * sysdeps/i386/memset.S: Likewise.
3681         * sysdeps/i386/bzero.c: Removed.
3682         * sysdeps/i386/memset.c: Likewise.
3683         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
3684         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
3685         * sysdeps/i386/i586/memset_chk.S: Likewise.
3686         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
3687         * sysdeps/i386/memcpy_chk.S: Here.
3688         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
3689         * sysdeps/i386/memmove_chk.S: Here.
3690         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
3691         * sysdeps/i386/mempcpy_chk.S: Likewise.
3692         * sysdeps/i386/i686/memset_chk.S: Moved to ...
3693         * sysdeps/i386/memset_chk.S: Likewise.
3695 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
3697         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
3698         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
3699         file, move DIAG_POP_NEEDS_COMMENT to end of file.
3700         * soft-fp/fmadf4.c: Ditto.
3701         * soft-fp/fmatf4.c: Ditto.
3703 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
3705         * sysdeps/i386/i586/Implies: Removed.
3706         * sysdeps/i386/i686/Implies: Likewise.
3708 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
3710         * sysdeps/i386/i486/strlen.S: Moved to ...
3711         * sysdeps/i386/strlen.S: Here.
3713 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
3715         * sysdeps/i386/i486/strcat.S: Moved to ...
3716         * sysdeps/i386/strcat.S: Here.
3718 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
3720         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
3721         * sysdeps/i386/pthread_spin_trylock.S: Here.
3722         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
3723         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
3725 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
3727         * sysdeps/i386/i486/string-inlines.c: Moved to ...
3728         * sysdeps/i386/string-inlines.c: Here.
3730 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
3732         * sysdeps/i386/i486/htonl.S: Moved ...
3733         * sysdeps/i386/htonl.S: here.
3735 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
3737         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
3738         * sysdeps/i386/bits/atomic.h: Here.
3740 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
3742         * sysdeps/i386/i486/Versions: Removed.
3744 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3746         [BZ #2898]
3747         * misc/mktemp.c: Add mkdtemp to the link_warning message.
3748         Based on patch by Aurelien Jarno.
3750 2015-08-26  Stan Shebs  <stanshebs@google.com>
3752         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
3753         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3755 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3757         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
3758         * sysdeps/powerpc/dl-procinfo.c:
3759         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
3760         feature so it shows when LD_SHOW_AUXV=1.
3762 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3764         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3765         (__arch_compare_and_exchange_val_32_acq): Remove and use common
3766         definition.  ISA 2.07B no longer requires full sync.
3768 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
3770         [BZ #18863]
3771         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
3772         (si_call_addr): Define.
3773         (si_syscall): Define.
3774         (si_arch): Define.
3776 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
3778         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
3779         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
3780         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
3781         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
3782         (__memset_zero_constant_len_parameter): New.
3783         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
3784         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
3785         (__memset_zero_constant_len_parameter): Don't define if
3786         __memset_chk or USE_AS_BZERO are defined.
3788         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
3789         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
3790         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
3792         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
3793         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
3794         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
3795         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
3796         comments.
3797         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
3798         -mno-mmx for $(all-rtld-routines).
3799         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
3800         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
3801         i386.
3803 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3805         * sysdeps/generic/unwind.h
3806         (_Unwind_Word): Use __mode__(__unwind_word__)
3807         instead of __mode__(__word__).
3808         (_Unwind_Sword): Likewise.
3810         * sysdeps/s390/s390-64/utf8-utf16-z9.c
3811         (MAX_NEEDED_INPUT): New define.
3812         (MAX_NEEDED_OUTPUT): New define.
3814         * NEWS: New item for IBM z13 string optimizations.
3816         * sysdeps/s390/multiarch/memrchr-c.c: New File.
3817         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
3818         * sysdeps/s390/multiarch/memrchr.c: Likewise.
3819         * sysdeps/s390/multiarch/Makefile
3820         (sysdep_routines): Add memrchr functions.
3821         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
3822         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
3824         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
3825         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
3826         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
3827         * sysdeps/s390/multiarch/Makefile
3828         (sysdep_routines): Add wmemcmp functions.
3829         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
3830         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
3831         * benchtests/bench-wmemcmp.c: New File.
3832         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
3834         * sysdeps/s390/multiarch/wmemset-c.c: New File.
3835         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
3836         * sysdeps/s390/multiarch/wmemset.c: Likewise.
3837         * sysdeps/s390/multiarch/Makefile
3838         (sysdep_routines): Add wmemset functions.
3839         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
3840         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
3841         * wcsmbs/wmemset.c: Use WMEMSET if defined.
3842         * string/test-memset.c: Add wmemset support.
3843         * wcsmbs/test-wmemset.c: New File.
3844         * wcsmbs/Makefile (strop-tests): Add wmemset.
3845         * benchtests/bench-memset.c: Add wmemset support.
3846         * benchtests/bench-wmemset.c: New File.
3847         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
3849         * sysdeps/s390/multiarch/memccpy-c.c: New File.
3850         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
3851         * sysdeps/s390/multiarch/memccpy.c: Likewise.
3852         * sysdeps/s390/multiarch/Makefile
3853         (sysdep_routines): Add memccpy functions.
3854         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
3855         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
3856         * string/memccpy.c: Use MEMCCPY if defined.
3858         * sysdeps/s390/multiarch/memchr-vx.S: New File.
3859         * sysdeps/s390/multiarch/memchr.c: Likewise.
3860         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
3861         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
3862         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
3863         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
3864         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
3865         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
3866         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
3867         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3868         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
3869         and rawmemchr functions.
3870         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
3871         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
3872         and wmemchr.
3873         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
3874         * string/test-memchr.c: Add wmemchr support.
3875         * wcsmbs/test-wmemchr.c: New File.
3876         * wcsmbs/Makefile (strop-tests): Add wmemchr.
3877         * benchtests/bench-memchr.c: Add wmemchr support.
3878         * benchtests/bench-wmemchr.c: New File.
3879         * benchtests/Makefile (wcsmbs-bench): wmemchr.
3881         * sysdeps/s390/multiarch/strcspn-c.c: New File.
3882         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
3883         * sysdeps/s390/multiarch/strcspn.c: Likewise.
3884         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
3885         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
3886         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
3887         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
3888         wcscspn functions.
3889         * sysdeps/s390/multiarch/ifunc-impl-list.c
3890         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
3891         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
3892         * string/test-strcspn.c: Add wcscspn support.
3893         * wcsmbs/test-wcscspn.c: New File.
3894         * wcsmbs/Makefile (strop-tests): Add wcscspn.
3895         * benchtests/bench-strcspn.c: Add wcscspn support.
3896         * benchtests/bench-wcscspn.c: New File.
3897         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
3899         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
3900         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
3901         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
3902         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
3903         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
3904         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
3905         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
3906         wcspbrk functions.
3907         * sysdeps/s390/multiarch/ifunc-impl-list.c
3908         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
3909         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
3910         * string/test-strpbrk.c: Add wcspbrk support.
3911         * wcsmbs/test-wcspbrk.c: New File.
3912         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
3913         * benchtests/bench-strpbrk.c: Add wcspbrk support.
3914         * benchtests/bench-wcspbrk.c: New File.
3915         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
3917         * sysdeps/s390/multiarch/strspn-c.c: New File.
3918         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
3919         * sysdeps/s390/multiarch/strspn.c: Likewise.
3920         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
3921         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
3922         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
3923         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
3924         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
3925         wcsspn functions.
3926         * sysdeps/s390/multiarch/ifunc-impl-list.c
3927         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
3928         * string/test-strspn.c: Add wcsspn support.
3929         * wcsmbs/test-wcsspn.c: New File.
3930         * wcsmbs/Makefile (strop-tests): Add wcsspn.
3931         * benchtests/bench-strspn.c: Add wcsspn support.
3932         * benchtests/bench-wcsspn.c: New File.
3933         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
3935         * sysdeps/s390/multiarch/strrchr-c.c: New File.
3936         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
3937         * sysdeps/s390/multiarch/strrchr.c: Likewise.
3938         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
3939         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
3940         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
3941         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
3942         wcsrchr functions.
3943         * sysdeps/s390/multiarch/ifunc-impl-list.c
3944         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
3945         * benchtests/bench-wcsrchr.c: New File.
3946         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
3948         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
3949         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
3950         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
3951         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
3952         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
3953         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
3954         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
3955         wcschrnul functions.
3956         * sysdeps/s390/multiarch/ifunc-impl-list.c
3957         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
3958         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
3959         * string/test-strchr.c: Add wcschrnul support.
3960         * wcsmbs/test-wcschrnul.c: New File.
3961         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
3962         * benchtests/bench-strchr.c: Add wcschrnul support.
3963         * benchtests/bench-wcschrnul.c: New File.
3964         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
3966         * sysdeps/s390/multiarch/strchr-c.c: New File.
3967         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
3968         * sysdeps/s390/multiarch/strchr.c: Likewise.
3969         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
3970         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
3971         * sysdeps/s390/multiarch/wcschr.c: Likewise.
3972         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
3973         wcschr functions.
3974         * sysdeps/s390/multiarch/ifunc-impl-list.c
3975         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
3976         * string/strchr.c (STRCHR): Define and use macro.
3977         * benchtests/bench-wcschr.c: New File.
3978         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
3980         * sysdeps/s390/multiarch/strncmp-c.c: New File.
3981         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
3982         * sysdeps/s390/multiarch/strncmp.c: Likewise.
3983         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
3984         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
3985         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
3986         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
3987         wcsncmp functions.
3988         * sysdeps/s390/multiarch/ifunc-impl-list.c
3989         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
3990         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
3991         * benchtests/bench-strncmp.c: Add wcsncmp support.
3992         * benchtests/bench-wcsncmp.c: New File.
3993         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
3995         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
3996         * sysdeps/s390/multiarch/strcmp.c: Likewise.
3997         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
3998         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
3999         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
4000         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
4001         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4002         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
4003         wcscmp functions.
4004         * sysdeps/s390/multiarch/ifunc-impl-list.c
4005         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
4006         * string/strcmp.c (STRCMP): Define and use macro.
4007         * benchtests/bench-wcscmp.c: New File.
4008         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
4009         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
4010         instead of _HAVE_STRING_ARCH_memchr.
4012         * sysdeps/s390/multiarch/strncat-c.c: New File.
4013         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
4014         * sysdeps/s390/multiarch/strncat.c: Likewise.
4015         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
4016         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
4017         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
4018         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
4019         wcsncat functions.
4020         * sysdeps/s390/multiarch/ifunc-impl-list.c
4021         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
4022         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
4023         * string/test-strncat.c: Add wcsncat support.
4024         * wcsmbs/test-wcsncat.c: New File.
4025         * wcsmbs/Makefile (strop-tests): Add wcsncat.
4026         * benchtests/bench-strncat.c: Add wcsncat support.
4027         * benchtests/bench-wcsncat.c: New File.
4028         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
4030         * sysdeps/s390/multiarch/strcat-c.c: New File.
4031         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
4032         * sysdeps/s390/multiarch/strcat.c: Likewise.
4033         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
4034         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
4035         * sysdeps/s390/multiarch/wcscat.c: Likewise.
4036         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
4037         wcscat functions.
4038         * sysdeps/s390/multiarch/ifunc-impl-list.c
4039         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
4040         * string/strcat.c (STRCAT): Define and use macro.
4041         * wcsmbs/wcscat.c: Use WCSCAT if defined.
4042         * string/test-strcat.c: Add wcscat support.
4043         * wcsmbs/test-wcscat.c: New File.
4044         * wcsmbs/Makefile (strop-tests): Add wcscat.
4045         * benchtests/bench-strcat.c: Add wcscat support.
4046         * benchtests/bench-wcscat.c: New File.
4047         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
4049         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
4050         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
4051         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
4052         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
4053         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
4054         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
4055         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
4056         wcpncpy functions.
4057         * sysdeps/s390/multiarch/ifunc-impl-list.c
4058         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
4059         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
4060         * string/test-stpncpy.c: Add wcpncpy support.
4061         * wcsmbs/test-wcpncpy.c: New File.
4062         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
4063         * benchtests/bench-stpncpy.c: Add wcpncpy support.
4064         * benchtests/bench-wcpncpy.c: New File.
4065         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
4067         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
4068         * sysdeps/s390/multiarch/strncpy.c: Likewise.
4069         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
4070         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
4071         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
4072         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
4073         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4074         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
4075         wcsncpy functions.
4076         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
4077         * sysdeps/s390/multiarch/ifunc-impl-list.c
4078         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
4079         * string/test-strncpy.c: Add wcsncpy support.
4080         * wcsmbs/test-wcsncpy.c: New File.
4081         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
4082         * benchtests/bench-strncpy.c: Add wcsncpy support.
4083         * benchtests/bench-wcsncpy.c: New File.
4084         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
4086         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
4087         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
4088         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
4089         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
4090         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
4091         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
4092         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
4093         wcpcpy functions.
4094         * string/stpcpy.c: Use STPCPY if defined.
4095         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
4096         * sysdeps/s390/multiarch/ifunc-impl-list.c
4097         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
4098         * string/test-stpcpy.c: Add wcpcpy support.
4099         * wcsmbs/test-wcpcpy.c: New File.
4100         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
4101         * benchtests/bench-stpcpy.c: Add wcpcpy support.
4102         * benchtests/bench-wcpcpy.c: New File.
4103         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
4105         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
4106         * sysdeps/s390/multiarch/strcpy.c: Likewise.
4107         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
4108         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
4109         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
4110         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
4111         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4112         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
4113         wcscpy functions.
4114         * sysdeps/s390/multiarch/ifunc-impl-list.c
4115         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
4116         * benchtests/bench-wcscpy.c: New File.
4117         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
4119         * sysdeps/s390/multiarch/strnlen-c.c: New File.
4120         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
4121         * sysdeps/s390/multiarch/strnlen.c: Likewise.
4122         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
4123         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
4124         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
4125         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
4126         wcsnlen functions.
4127         * sysdeps/s390/multiarch/ifunc-impl-list.c
4128         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
4129         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
4130         * string/test-strnlen.c: Add wcsnlen support.
4131         * wcsmbs/test-wcsnlen.c: New File.
4132         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
4133         * benchtests/bench-strnlen.c: Add wcsnlen support.
4134         * benchtests/bench-wcsnlen.c: New File.
4135         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
4137         * sysdeps/s390/multiarch/Makefile: New File.
4138         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
4139         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
4140         * sysdeps/s390/multiarch/strlen.c: Likewise.
4141         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
4142         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
4143         * sysdeps/s390/multiarch/wcslen.c: Likewise.
4144         * string/strlen.c (STRLEN): Define and use macro.
4145         * sysdeps/s390/multiarch/ifunc-impl-list.c
4146         (IFUNC_VX_IMPL): New macro function.
4147         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
4148         * benchtests/Makefile (wcsmbs-bench): New variable.
4149         (string-bench-all): Added wcsmbs-bench.
4150         * benchtests/bench-wcslen.c: New File.
4152         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
4153         s390_vx_libc_ifunc2): New macro function.
4155         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
4156         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
4157         assembler support.
4158         * sysdeps/s390/configure: Regenerated.
4160         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
4161         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
4163         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
4164         * sysdeps/s390/dl-procinfo.h: Add vector capability.
4165         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
4167         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4168         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
4169         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
4170         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
4171         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
4172         (memcmp, bcmp): Use __memcmp_default as alias source.
4173         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
4174         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
4175         Rename to __memcmp_default.
4176         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
4177         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
4178         (memcpy): Use __memcpy_default as alias source.
4179         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
4180         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
4181         Rename to __memcpy_default.
4182         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
4183         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
4184         (memset): Use __memset_default as alias source.
4185         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
4186         * sysdeps/s390/s390-32/memset.S (__memset_g5):
4187         Rename to __memset_default.
4188         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
4189         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
4190         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
4191         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
4192         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
4193         (memcmp, bcmp): Use __memcmp_default as alias source.
4194         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
4195         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
4196         Rename to __memcmp_default.
4197         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
4198         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
4199         (memcpy): Use __memcpy_default as alias source.
4200         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
4201         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
4202         Rename to __memcpy_default.
4203         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
4204         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
4205         (memset): Use __memset_default as alias source.
4206         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
4207         * sysdeps/s390/s390-64/memset.S (__memset_z900):
4208         Rename to __memset_default.
4209         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
4210         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
4212         [BZ #18610]
4213         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
4214         __ieee_instruction_pointer to __unused.
4215         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
4216         __ieee_instruction_pointer.
4217         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
4218         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
4219         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4220         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
4221         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
4222         Mark dxc-field as reserved.
4224 2015-08-25  Roland McGrath  <roland@hack.frob.com>
4226         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
4227         if the weak reference is not null.
4229 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
4231         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
4233         [BZ #11214]
4234         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
4236 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4238         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
4239         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
4240         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
4241         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
4242         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
4243         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
4244         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
4245         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
4246         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
4247         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
4248         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
4249         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
4250         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
4251         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
4252         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
4253         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
4254         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
4255         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
4257 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4259         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
4260         register other than r0 for tabort, it has special meaning.
4261         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
4262         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
4263         transaction before starting syscall.
4265 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4267         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
4269 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
4271         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
4273         * sysdeps/x86_64/rtld-memcmp.c: Removed.
4274         * sysdeps/x86_64/rtld-memset.S: Likewise.
4275         * sysdeps/x86_64/rtld-strchr.S: Likewise.
4276         * sysdeps/x86_64/rtld-strlen.S: Likewise.
4277         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
4278         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4280         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
4282 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
4284         * debug/strcpy_chk.c: Improve performance.
4285         * debug/stpcpy_chk.c: Likewise.
4286         * sysdeps/x86_64/strcpy_chk.S: Remove.
4287         * sysdeps/x86_64/stpcpy_chk.S: Remove.
4289         [BZ #18240]
4290         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
4292 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
4294         [BZ #15128]
4295         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
4296         ifuncmain8.
4297         (modules-names): Add ifuncmod8.
4298         ($(objpfx)ifuncmain8): New rule.
4299         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
4300         <cpuid.h>.
4301         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
4302         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
4303         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
4304         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
4305         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
4306         * sysdeps/x86_64/dl-trampoline.h: Likewise.
4307         * sysdeps/x86_64/ifuncmain8.c: New file.
4308         * sysdeps/x86_64/ifuncmod8.c: Likewise.
4309         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
4310         Removed.
4311         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
4312         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
4313         Change rtld_savespace_sse to __glibc_unused2.
4314         (RTLD_CHECK_FOREIGN_CALL): Removed.
4315         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
4316         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
4317         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
4319 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
4321         * sysdeps/aarch64/bzero.S (__bzero): Remove.
4323 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
4325         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
4326         Unconditionally set __fpcr to avoid uninialized warning.
4327         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
4329 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4331         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
4332         is corrupt.
4334         * malloc/arena.c (arena_get2): Drop unused argument.
4335         (arena_lock): Adjust.
4336         (arena_get_retry): Likewise.
4338 2015-08-24  Andreas Schwab  <schwab@suse.de>
4340         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
4341         Don't define.
4342         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4343         (__ASSUME_IPC64): Don't undef.
4344         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
4345         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4346         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4347         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
4348         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
4349         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
4350         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
4351         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
4352         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
4353         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
4354         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
4355         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
4356         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
4357         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
4358         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
4359         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
4360         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
4361         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
4362         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
4363         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
4364         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
4366 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
4368         * manual/Makefile (install): Only build manual when perl is available.
4370 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4372         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
4373         '#undef memcpy' by '#undef memchr'.
4375 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4377         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
4378         memchr not point to the internal __GI_memchr implementation.
4380 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
4382         * timezone/Makefile (CFLAGS-zdump.c): Remove
4383         -Wno-strict-prototypes.
4384         (CFLAGS-zic.c): Likewise.
4385         (CFLAGS-ialloc.c): Likewise.
4386         (CFLAGS-scheck.c): Likewise.
4388         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
4389         -Wno-error=undef.
4391 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
4393         * i386/i686/multiarch/strcasestr-c.c: Removed.
4394         * x86_64/multiarch/strcasestr.c: Likewise.
4395         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4396         Remove strcasestr.
4398 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
4400         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
4402         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
4403         variables for high and low parts before possibly modifying them.
4405 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
4407         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
4408         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
4409         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
4410         of "multiarch/init-arch.h".
4411         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
4412         * sysdeps/x86/init-arch.h: This.
4414 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
4416         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
4417         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
4419 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
4421         [BZ #17787]
4422         * manual/macros.texi: Add twoexp macro.
4423         * manual/filesys.texi: Fix exponents.
4424         * manual/llio.texi: Likewise.
4425         * manual/stdio.texi: Likewise.
4427 2015-08-20  Florian Weimer  <fweimer@redhat.com>
4429         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
4430         incorrect use.
4432 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
4434         [BZ #18370]
4435         * math/s_csqrt.c (__csqrt): Force underflow exception for results
4436         whose real or imaginary part has small absolute value.
4437         * math/s_csqrtf.c (__csqrtf): Likewise.
4438         * math/s_csqrtl.c (__csqrtl): Likewise.
4439         * math/auto-libm-test-in: Add more tests of csqrt.
4440         * math/auto-libm-test-out: Regenerated.
4441         * sysdeps/i386/fpu/libm-test-ulps: Update.
4443 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4445         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
4446         __ppc_set_ppr_very_low): New functions.
4447         * manual/platform.texi: Add documentation about
4448         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
4450 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
4452         * string/stpncpy.c (stpncpy): Improve performance using
4453         __strnlen/memcpy/memset.
4455 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4457         [BZ #18796]
4458         * scripts/test-installation.pl: Don't add -lmvec to build options if
4459         libmvec wasn't built.
4461 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
4463         [BZ #14341]
4464         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
4465         case when there is a gap between DT_REL and DT_JMPREL sections.
4466         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
4467         (LDFLAGS-tst-split-dynreloc): New.
4468         (tst-split-dynreloc-ENV): Likewise.
4469         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
4470         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
4472 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4474         [BZ #18822]
4475         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
4476         attribute_hidden.
4477         (__xstat64_conv): Likewise.
4478         (__xstat32_conv): Likewise.
4480 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4482         [BZ #18822]
4483         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
4484         Don't load %ebx when calling __setcontext.  Call __setcontext
4485         with HIDDEN_JUMPTARGET.
4486         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
4487         libc_hidden_def.
4489 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4491         * sysdeps/i386/i686/Makefile
4492         [$(subdir) == string] (sysdep_routines): Moved to ...
4493         * sysdeps/i386/Makefile: Here.
4494         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
4495         * sysdeps/i386/cacheinfo.c: Here.
4496         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
4497         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
4498         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
4499         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
4501 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4503         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
4504         __i586__ is defined.
4505         (HAS_I686): Defined to 1 if __i686__ is defined.
4507 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
4509         * elf/Makefile [$(have-z-execstack) = yes]
4510         (CPPFLAGS-tst-execstack.c): New variable.
4512         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
4513         conditional to [defined UTMPX || _HAVE_UT_TYPE].
4514         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
4515         UTMPX || _HAVE_UT_TV].
4516         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
4517         UTMPX || _HAVE_UT_TV - 0].
4519 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
4521         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
4522         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
4523         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
4525 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4527         * sysdeps/powerpc/dl-procinfo.c:
4528         (_dl_powerpc_cap_flags): Added missing strings for some
4529         hwcap features.
4530         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
4532 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
4534         Port the 0x7efe...feff pattern to GCC 6.
4535         See Steve Ellcey's bug report in:
4536         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
4537         * string/memrchr.c (MEMRCHR):
4538         * string/rawmemchr.c (RAWMEMCHR):
4539         * string/strchr.c (strchr):
4540         * string/strchrnul.c (STRCHRNUL):
4541         Rewrite code to avoid issues with signed shift overflow.
4543 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
4545         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
4546         whether cpuid is available only if HAS_CPUID is 0.
4547         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
4548         (HAS_I586): Likewise.
4549         (HAS_I686): Likewise.
4551 2015-08-18  Zack Weinberg  <zackw@panix.com>
4553         * misc/Versions (libc): Add GLIBC_2.23.
4555 2015-08-18  Alan Modra  <amodra@gmail.com>
4557         [BZ #18421]
4558         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
4559         .Lp__global.
4560         (_start): Load %dp via .Lp__global.
4561         [!SHARED]: Use .section .rodata.
4563 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
4565         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
4566         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
4568 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
4570         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
4571         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
4573 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
4575         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
4576         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
4578 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
4580         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
4581         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
4583 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
4585         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
4586         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
4588 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
4590         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
4591         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
4593 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
4595         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
4597 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
4599         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
4600         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
4601         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4602         (__ASSUME_LWS_CAS): Delete.
4604 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
4606         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
4607         * sysdeps/hppa/configure: Regenerated.
4608         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
4609         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
4610         * sysdeps/hppa/nptl/tls.h: Likewise.
4612 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
4614         [BZ #18823]
4615         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
4616         for scaling up small arguments.
4617         * math/s_csqrtf.c (__csqrtf): Likewise.
4618         * math/s_csqrtl.c (__csqrtl): Likewise.
4619         * math/auto-libm-test-in: Add more tests of csqrt.
4620         * math/auto-libm-test-out: Regenerated.
4622 2015-08-17  Andreas Schwab  <schwab@suse.de>
4624         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
4625         version set GLIBC_2.19.
4627 2015-08-16  Zack Weinberg  <zackw@panix.com>
4629         [BZ #18681]
4630         * misc/regexp.h: This interface is no longer supported.
4631         Remove all contents, leaving only an #error directive.
4632         * misc/regexp.c (loc1, loc2, locs, step, advance):
4633         Demote to compatibility symbols.
4635 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
4637         [BZ #18084]
4638         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
4639         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
4640         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
4641         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
4642         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
4643         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
4644         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
4645         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
4646         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
4648 2015-08-15  Zack Weinberg  <zackw@panix.com>
4650         [BZ #18795]
4651         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
4652         buffer length is known to be too large, not if it's known to be
4653         small enough.
4654         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
4655         overflow at runtime, involving a length parameter, twice: once
4656         with a compile-time constant length parameter, once without.
4658 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
4660         [BZ #18824]
4661         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
4662         scaling x * y up instead of down.
4663         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4664         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4665         * math/auto-libm-test-in: Add more tests of fma.
4666         * math/auto-libm-test-out: Regenerated.
4668 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
4670         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4672 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4674         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
4675         unnecessary movq.
4676         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
4677         Likewise.
4679 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
4681         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4682         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
4683         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
4684         and tgamma.
4685         * math/auto-libm-test-out: Regenerated.
4686         * sysdeps/i386/fpu/libm-test-ulps: Update.
4687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4689         [BZ #16520]
4690         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
4691         (__tanh): Force underflow exception for arguments with small
4692         absolute value.
4693         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
4694         (__tanhf): Force underflow exception for arguments with small
4695         absolute value.
4696         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
4697         (__tanhl): Force underflow exception for arguments with small
4698         absolute value.
4699         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
4700         (__tanhl): Force underflow exception for arguments with small
4701         absolute value.
4702         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
4703         (__tanhl): Force underflow exception for arguments with small
4704         absolute value.
4705         * math/auto-libm-test-in: Add more tests of tanh.
4706         * math/auto-libm-test-out: Regenerated.
4707         * sysdeps/i386/fpu/libm-test-ulps: Update.
4709 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
4711         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
4712         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
4714 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
4716         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
4717         <cpuid.h>.
4719 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
4721         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
4722         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
4724 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
4726         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
4727         Remove $(objpfx)init-arch.o.
4728         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
4729         init-arch.
4730         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
4731         (INIT_ARCH_EXT): Defined as empty.
4732         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
4733         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
4734         __init_cpu_features call.  Replace HAS_XXX with
4735         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
4736         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
4737         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
4738         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
4739         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
4740         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
4741         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
4742         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
4743         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
4744         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
4745         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
4746         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
4747         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
4748         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
4749         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
4750         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
4751         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
4752         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
4753         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
4754         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
4755         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
4756         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
4757         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
4758         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
4759         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
4760         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
4761         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
4762         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
4763         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
4764         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
4765         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
4766         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
4767         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
4768         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
4769         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
4770         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
4772 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
4774         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
4775         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
4776         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
4777         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
4778         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
4779         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
4780         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
4781         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
4782         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
4783         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
4784         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
4785         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
4786         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
4787         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4788         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4789         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4790         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4791         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4792         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4793         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4794         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4795         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4796         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4797         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4798         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4799         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4800         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4801         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4802         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4803         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4804         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4805         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4806         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4807         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4808         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4809         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4810         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4811         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4812         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4813         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4814         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4815         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4816         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4818 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
4820         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
4821         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
4822         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4823         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4824         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4825         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
4826         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4827         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
4828         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4829         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4830         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4831         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
4832         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
4833         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
4834         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
4835         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
4836         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
4837         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
4838         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
4839         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
4840         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
4841         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
4842         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
4843         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4844         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4845         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
4846         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
4847         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
4848         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
4849         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4850         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4851         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4852         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4853         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4854         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4855         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4856         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4857         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4858         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4859         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4860         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4861         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4862         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4864 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
4866         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
4867         (dl_platform_init): Call init_cpu_features.
4868         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
4869         * sysdeps/i386/i686/cacheinfo.c
4870         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
4871         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
4872         * sysdeps/i386/i686/multiarch/Versions: Removed.
4873         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
4874         Removed.
4875         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
4876         * sysdeps/unix/sysv/linux/x86/Makefile
4877         (libpthread-sysdep_routines): Remove init-arch.
4878         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
4879         <sysdeps/x86_64/dl-procinfo.c> instead of
4880         sysdeps/generic/dl-procinfo.c>.
4881         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
4882         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
4883         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
4884         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
4885         [$(subdir) == elf] (tests-static): Add
4886         tst-get-cpu-features-static.
4887         * sysdeps/x86/Versions: New file.
4888         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
4889         * sysdeps/x86/cpu-features.c: Likewise.
4890         * sysdeps/x86/cpu-features.h: Likewise.
4891         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
4892         * sysdeps/x86/libc-start.c: Likewise.
4893         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
4894         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
4895         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
4896         * sysdeps/x86_64/dl-procinfo.c: Likewise.
4897         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
4898         Assume USE_MULTIARCH is defined and don't check it.
4899         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
4900         (is_amd): Likewise.
4901         (max_cpuid): Likewise.
4902         (intel_check_word): Likewise.
4903         (__cache_sysconf): Don't call __init_cpu_features.
4904         (__x86_preferred_memory_instruction): Removed.
4905         (init_cacheinfo): Don't call __init_cpu_features. Replace
4906         __cpu_features with GLRO(dl_x86_cpu_features).
4907         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
4908         (dl_platform_init): Call init_cpu_features.
4909         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
4910         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
4911         * sysdeps/x86_64/multiarch/Versions: Removed.
4912         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
4913         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
4914         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
4915         Removed.
4916         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
4918 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
4920         [BZ #18820]
4921         * libio/Makefile (test-fmemopen-mem): New test.
4922         * libio/test-fmemopen.c (do_bz18820): New test.
4923         * libio/fmemopen.c (__fmemopen): Fix memory leak.
4924         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
4926 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
4928         [BZ #16734]
4929         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
4930         (FREE_BUF): Delete.
4931         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
4932         * libio/genops.c (_IO_setb): Use malloc and free directly.
4933         (_IO_default_doallocate, _IO_default_finish): Likewise.
4934         ( _IO_unbuffer_all): Likewise.
4935         ( libc_freeres_fn): Likewise.
4936         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4937         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
4938         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
4939         (_IO_wdefault_doallocate): Likewise.
4941 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4943         [BZ #18086]
4944         * sysdeps/posix/nice.c (nice): Restore old errno.
4945         * posix/tst-nice.c (do_test): Add test for BZ #18086.
4947 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
4949         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
4951 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4953         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
4954         __bcopy and add a weak_alias to bcopy.
4955         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
4956         for static build.
4958         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
4959         cleanup macro usage.
4960         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
4961         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
4962         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4963         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
4964         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4965         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
4966         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
4967         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
4968         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4969         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
4970         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4971         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
4972         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4973         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
4974         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4975         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
4976         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
4977         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
4978         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
4980         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
4981         libc_hidden_def.
4982         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
4984         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
4985         (sysdep_routines): Add strstr-ppc64.
4986         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
4988 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
4990         [BZ #18778]
4991         * elf/Makefile (tests): Add Add tst-nodelete2.
4992         (modules-names): Add tst-nodelete2mod.
4993         (tst-nodelete2mod.so-no-z-defs): New.
4994         ($(objpfx)tst-nodelete2): Likewise.
4995         ($(objpfx)tst-nodelete2.out): Likewise.
4996         (LDFLAGS-tst-nodelete2): Likewise.
4997         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
4998         out of loop through all loaded libraries.
4999         * elf/tst-nodelete2.c: New file.
5000         * elf/tst-nodelete2mod.c: Likewise.
5001         * elf/tst-znodelete-zlib.cc: Delete.
5003 2015-08-11  Andreas Schwab  <schwab@suse.de>
5005         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
5006         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
5007         (__openat64_nocancel): Likewise.
5009 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
5011         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
5012         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
5013         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
5014         * math/auto-libm-test-out: Regenerated.
5015         * sysdeps/i386/fpu/libm-test-ulps: Update.
5016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5018 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
5020         [BZ #18790]
5021         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
5022         threshold for returning +/- 1.
5023         * math/auto-libm-test-in: Add more tests of tanh.
5024         * math/auto-libm-test-out: Regenerated.
5025         * sysdeps/i386/fpu/libm-test-ulps: Update.
5027 2015-08-10  Andreas Schwab  <schwab@suse.de>
5029         [BZ #18781]
5030         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
5031         MORE_OFLAGS to oflag.
5032         * io/test-lfs.c (do_test): Test openat64.
5034 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
5036         [BZ #18789]
5037         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
5038         smaller threshold for returning the argument.
5039         * math/auto-libm-test-in: Add more tests of sinh.
5040         * math/auto-libm-test-out: Regenerated.
5041         * sysdeps/i386/fpu/libm-test-ulps: Update.
5043 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
5045         [BZ #18674]
5046         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
5047         break.
5049 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
5051         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
5052         (generated): Don't add $(addprefix z.,$(tzfiles)).
5054 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
5056         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
5057         * scripts/sysd-rules.awk: Likewise.
5059 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
5061         * iconvdata/tst-tables.sh: Change echo -n to printf.
5062         * nss/db-Makefile: Likewise.
5063         * posix/tst-getconf.sh: Likewise.
5064         * stdio-common/tst-unbputc.sh: Likewise.
5066 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
5068         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
5069         MADV_*_PAGES defines behind this feature check.
5071 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
5073         [BZ #18480]
5074         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
5075         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
5076         Define.
5077         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
5078         LOAD_REGS_5, LOAD_REGS_6): Update.
5079         (INTERNAL_SYSCALL): Update using new LOAD defines.
5080         (INTERNAL_SYSCALL_NCS): Likewise.
5081         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
5083 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5085         [BZ #16734]
5086         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
5088 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5090         [BZ #17905]
5091         * catgets/Makefile (tst-catgets-mem): New test.
5092         * catgets/catgets.c (catopen): Don't use unbounded alloca.
5093         * catgets/open_catalog.c (__open_catalog): Likewise.
5094         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
5096 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
5098         [BZ #18787]
5099         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
5100         clobber registers.
5101         (atomic_compare_and_exchange_val_acq): Use register asms to assign
5102         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
5103         Cast return to __typeof (oldval).
5105 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
5107         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
5108         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
5109         and delete sys/syscall.h include.
5111 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
5113         [BZ #16517]
5114         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
5115         (tan): Force underflow exception for arguments with small absolute
5116         value.
5117         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
5118         (__kernel_tanf): Force underflow exception for arguments with
5119         small absolute value.
5120         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
5121         (__kernel_tanl): Force underflow exception for arguments with
5122         small absolute value.
5123         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
5124         (__kernel_tanl): Force underflow exception for arguments with
5125         small absolute value.
5126         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
5127         (__kernel_tanl): Force underflow exception for arguments with
5128         small absolute value.
5129         * math/auto-libm-test-in: Add more tests of tan.
5130         * math/auto-libm-test-out: Regenerated.
5132 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5134         Fix sysdeps/i386/fpu/s_scalbn.S build
5136         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
5138 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
5140         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
5142 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5144         Fix gcrt0.o compilation
5146         When static-start-installed-name is different from
5147         start-installed-name, we must not use the shared objects.
5149         * csu/Makefile
5150         (extra-objs): Add gmon-start.o when building shared library and
5151         $(static-start-installed-name) is different from
5152         $(start-installed-name).
5153         $(objpfx)g$(static-start-installed-name): When building shared
5154         library and $(static-start-installed-name) is different from
5155         $(static-start-installed-name), revert to non-shared rule,
5156         i.e. using $(objpfx)% and gmon-start.o.
5158 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
5160         [BZ #16519]
5161         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
5162         (__ieee754_sinh): Force underflow exception for arguments with
5163         small absolute value.
5164         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
5165         (__ieee754_sinhf): Force underflow exception for arguments with
5166         small absolute value.
5167         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
5168         (__ieee754_sinhl): Force underflow exception for arguments with
5169         small absolute value.
5170         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
5171         (__ieee754_sinhl): Force underflow exception for arguments with
5172         small absolute value.
5173         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
5174         (__ieee754_sinhl): Force underflow exception for arguments with
5175         small absolute value.
5176         * math/auto-libm-test-in: Add more tests of sinh.
5177         * math/auto-libm-test-out: Regenerated.
5178         * sysdeps/i386/fpu/libm-test-ulps: Update.
5180 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5182         * libio/oldfileops.c: Include unistd.h.
5184 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
5186         * stdlib/isomac.c: Include ctype.h.
5188 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
5190         * dirent/tst-seekdir.c (main): Converted to ...
5191         (do_test): ... this.
5192         (TEST_FUNCTION): New macro.
5193         Include test-skeleton.c.
5194         * elf/tst-dlmodcount.c (main): Converted to ...
5195         (do_test): ... this.
5196         (TEST_FUNCTION): New macro.
5197         Include test-skeleton.c.
5198         * elf/tst-order-main.c (main): Converted to ...
5199         (do_test): ... this.
5200         (TEST_FUNCTION): New macro.
5201         Include test-skeleton.c.
5202         * elf/tst-pie2.c (main): Converted to ...
5203         (do_test): ... this.
5204         (TEST_FUNCTION): New macro.
5205         Include test-skeleton.c.
5206         * inet/tst-ether_aton.c (main): Converted to ...
5207         (do_test): ... this.
5208         (TEST_FUNCTION): New macro.
5209         Include test-skeleton.c.
5210         * misc/tst-mntent.c (main): Converted to ...
5211         (do_test): ... this.
5212         (TEST_FUNCTION): New macro.
5213         Include test-skeleton.c.
5214         * misc/tst-tsearch.c (main): Converted to ...
5215         (do_test): ... this.
5216         (TEST_FUNCTION): New macro.
5217         Include test-skeleton.c.
5218         * posix/tst-regexloc.c (main): Converted to ...
5219         (do_test): ... this.
5220         (TEST_FUNCTION): New macro.
5221         Include test-skeleton.c.
5222         * resolv/tst-aton.c (main): Converted to ...
5223         (do_test): ... this.
5224         (TEST_FUNCTION): New macro.
5225         Include test-skeleton.c.
5226         * stdio-common/test-fwrite.c (main): Converted to ...
5227         (do_test): ... this.
5228         (TEST_FUNCTION): New macro.
5229         Include test-skeleton.c.
5230         * stdio-common/tst-ferror.c (main): Converted to ...
5231         (do_test): ... this.
5232         (TEST_FUNCTION): New macro.
5233         Include test-skeleton.c.
5234         * stdio-common/tst-printf.c (main): Converted to ...
5235         (do_test): ... this.
5236         (TEST_FUNCTION): New macro.
5237         Include test-skeleton.c.
5238         * stdio-common/tst-printfsz.c (main): Converted to ...
5239         (do_test): ... this.
5240         (TEST_FUNCTION): New macro.
5241         Include test-skeleton.c.
5242         * stdlib/tst-strtod.c (main): Converted to ...
5243         (do_test): ... this.
5244         (TEST_FUNCTION): New macro.
5245         Include test-skeleton.c.
5246         * string/tst-strlen.c (main): Converted to ...
5247         (do_test): ... this.
5248         (TEST_FUNCTION): New macro.
5249         Include test-skeleton.c.
5250         * string/tst-svc.c (main): Converted to ...
5251         (do_test): ... this.
5252         (TEST_FUNCTION): New macro.
5253         Include test-skeleton.c.
5254         * time/tst-strptime.c (main): Converted to ...
5255         (do_test): ... this.
5256         (TEST_FUNCTION): New macro.
5257         Include test-skeleton.c.
5258         * timezone/tst-timezone.c (main): Converted to ...
5259         (do_test): ... this.
5260         (TEST_FUNCTION): New macro.
5261         Include test-skeleton.c.
5263 2015-08-05  Zack Weinberg  <zackw@panix.com>
5265         * misc/regexp.h: Update comments.
5267 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
5269         [BZ #18635]
5270         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
5271         before return label.
5273 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5275         [BZ #18661]
5276         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
5277         when calling __errno_location.
5278         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
5279         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
5281 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5283         [BZ #18661]
5284         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
5285         (__lll_timedwait_tid): Align stack to 16 bytes when calling
5286         __gettimeofday.
5288 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5290         [BZ #18661]
5291         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5292         (__start_context): Don't use pop to restore %rdi so that stack
5293         is aligned to 16 bytes when calling __setcontext.
5295 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5297         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
5298         only for libc.
5299         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5301 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5303         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
5304         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
5305         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
5307 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5309         * string/memccpy.c (memccpy):
5310         Improve performance by using memchr/memcpy/__mempcpy.
5312 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5314         * string/strncpy.c (strncpy):
5315         Improve performance by using __strnlen/memcpy.
5317 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5319         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5320         Optimize to avoid an unnecessary FPCR read.
5322 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5324         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5325         Optimize to reduce FPCR/FPSR accesses.
5327 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5329         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
5330         dead->data[category] != NULL.
5332 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
5334         [BZ #18647]
5335         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
5336         and |x| close to 1, use absolute value of x when computing log.
5337         * math/auto-libm-test-in: Add more tests of pow.
5338         * math/auto-libm-test-out: Regenerated.
5340 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5342         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
5343         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
5344         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
5346 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
5348         [BZ #18525]
5349         * locales/km_KH: Remove timezone definition.
5350         * locales/lo_LA: Likewise.
5351         * locales/my_MM: Likewise.
5352         * locales/nan_TW@latin: Likewise.
5353         * locales/th_TH: Likewise.
5354         * locales/uk_UA: Likewise.
5356 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5358         [BZ #18265]
5359         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
5360         (wcsncat): Likewise.
5361         (wcscmp): Likewise.
5362         (wcsncmp): Likewise.
5364 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
5366         * test-skeleton.c (usage): New function.
5367         (main): Call usage when opt is '?'.
5369 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
5371         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
5372         before first use.
5374 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
5376         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
5377         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
5378         in there too.
5380 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
5382         * version.h (RELEASE): Set to "development".
5383         (VERSION): Set to "2.22.90"
5385         * version.h (RELEASE): Set to "stable".
5386         (VERSION): Set to "2.22"
5387         * include/features.h (__GLIBC_MINOR__): Set to 22.
5389 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
5391         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
5392         Restructure macro to avoid "value computed is not used" warning.
5393         (atomic_compare_and_exchange_val_acq): Likewise.
5395 2015-08-04  Andreas Schwab  <schwab@suse.de>
5397         [BZ #18635]
5398         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
5399         ret.
5400         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
5402 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
5404         * po/pl.po: Updated translation.
5405         * po/uk.po: Likewise.
5406         * po/fi.po: Likewise.
5407         * po/ko.po: Likewise.
5408         * po/ru.po: Likewise.
5409         * po/vi.po: Likewise.
5411 2015-07-31  Zack Weinberg  <zackw@panix.com>
5413         [BZ #18681]
5414         * regexp.h: Add unconditional #warning stating that this header
5415         will be removed soon.  Revise banner comment to match.
5416         (compile): Consistently use ERROR instead of RETURN to report
5417         errors (partial fix for bz#18681).
5418         * regexp.c: Don't include regexp.h. Remove some unnecessary
5419         declarations.
5421 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
5423         * po/libc.pot: Regenerated.
5425 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
5427         [BZ #18740]
5428         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
5429         float-vlen4-arch-ext-cflags): Removed.
5430         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
5431         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
5433 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
5435         [BZ #14113]
5436         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
5437         aligned to __aligned__.
5438         (pthread_cond_t, pthread_rwlock_t): Likewise.
5440 2015-07-30  Torvald Riegel  <triegel@redhat.com>
5442         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
5444 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
5446         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
5447         (struct sigaction): Change sa_flags from a long to an int, and add
5448         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
5450 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
5452         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
5453         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
5454         sysdeps/generic/sysdep.h include.
5455         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
5456         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
5457         sysdeps/hppa/sysdep.h.
5458         (ENTRY, PSEUDO): Undefine before defining.
5460 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
5462         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
5463         from scratch to use INTERNAL_SYSCALL.
5465 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
5467         [BZ #18078]
5468         * scripts/check-localplt.awk: Support alternate relocations.
5469         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
5470         sections.
5471         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
5472         malloc entries with + REL R_386_GLOB_DAT.
5473         * sysdeps/x86_64/localplt.data: New file.
5475 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
5477         [BZ #18731]
5478         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
5479         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5480         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5482 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
5484         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
5486 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
5488         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
5489         directly in terms of __sync_fetch_and_add and delete (int) cast.
5491 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
5493         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
5494         the -D_ASM_IA64_CURRENT_H flag.
5496 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
5498         [BZ #18641]
5499         * pwd/pwd.h (putpwent): Delete __nonnull markings.
5501 2015-07-27  Andreas Schwab  <schwab@suse.de>
5503         * conform/conformtest.pl (checknamespace): Filter out string
5504         literals while tokenizing.
5506 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
5508         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
5509         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
5510         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
5512 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
5514         * nptl/tst-join7mod.c: Add #include <string.h>.
5516 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
5518         * sysdeps/nios2/libm-test-ulps: Update.
5520 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
5522         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
5523         Fix order of arguments to the rt_sigprocmask syscall.
5524         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
5525         Likewise.
5527 2015-07-24  Roland McGrath  <roland@hack.frob.com>
5529         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
5531 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5533         [BZ #18457]
5534         * nptl/Makefile (tests): New test case tst-join7.
5535         (modules-names): New test case module tst-join7mod.
5536         * nptl/tst-join7.c: New file.
5537         * nptl/tst-join7mod.c: New file.
5538         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
5539         all translation units in libc.so, libpthread.so and rtld.
5541 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5545 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
5547         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
5548         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
5549         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
5550         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
5551         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
5552         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
5553         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
5554         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
5555         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
5556         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
5557         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
5558         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
5559         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
5560         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
5561         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
5562         implementation.
5564 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5566         [BZ #17711]
5567         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
5568         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
5569         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
5570         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
5571         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
5572         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
5574 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5576         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
5577         instead of just saying load lock in the comments.
5579 2015-07-23  Roland McGrath  <roland@hack.frob.com>
5581         * sysdeps/unix/Subdirs: Moved ...
5582         * sysdeps/posix/Subdirs: ... here.
5583         * login/pty.h (struct termios, struct winsize): Add forward decls.
5584         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
5585         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
5586         * sysdeps/arm/nacl/libc.abilist: Updated.
5587         * sysdeps/nacl/libutil.abilist: New file.
5589         * bits/signum.h: Update comments to mention 1003.1-2013 too.
5590         (SIGWINCH): New macro.
5592         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
5593         * sysdeps/arm/nacl/libc.abilist: Add it.
5595 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
5597         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
5599 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
5601         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
5602         Swap __glibc_reserved0 and sa_flags order.
5604 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5606         [BZ #18657]
5607         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
5608         are pending TLS destructor calls.
5609         * include/link.h (struct link_map): Add concurrency note for
5610         L_TLS_DTOR_COUNT.
5611         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5612         Don't touch the link map flag.  Atomically increment
5613         l_tls_dtor_count.
5614         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
5615         Avoid taking the load lock and don't touch the link map flag.
5616         * stdlib/tst-tls-atexit-nodelete.c: New test case.
5617         * stdlib/Makefile (tests): Use it.
5618         * stdlib/tst-tls-atexit.c (do_test): dlopen
5619         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
5620         to allow tst-tls-atexit-nodelete test case to use it.
5622 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
5624         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
5625         to bits/types.h.
5626         (msgqnum_t): New typedef.
5627         (msglen_t): Likewise.
5628         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
5629         and msg_qbytes type to msglen_t.
5631 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
5633         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
5634         pad0 to __glibc_reserved0.
5635         (struct stat64): Likewise.
5637 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
5639         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
5640         Change sa_flags from a long to an int and add __glibc_reserved0 before
5641         it for padding.
5643 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
5645         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
5646         anonymous by deleting "siginfo" name.
5648 2015-07-21  Roland McGrath  <roland@hack.frob.com>
5650         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
5651         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
5652         rather than __nacl_irt_filename.
5653         * sysdeps/nacl/xstat.c (__xstat): Likewise.
5655         * NEWS: New item for arm-nacl port.
5656         * sysdeps/arm/nacl/libc.abilist: New file.
5657         * sysdeps/nacl/ld.abilist: New file.
5658         * sysdeps/nacl/libBrokenLocale.abilist: New file.
5659         * sysdeps/nacl/libanl.abilist: New file.
5660         * sysdeps/nacl/libcrypt.abilist: New file.
5661         * sysdeps/nacl/libdl.abilist: New file.
5662         * sysdeps/nacl/libm.abilist: New file.
5663         * sysdeps/nacl/libpthread.abilist: New file.
5664         * sysdeps/nacl/libresolv.abilist: New file.
5665         * sysdeps/nacl/librt.abilist: New file.
5667 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
5669         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
5670         __startcontext to initialize the new context.
5671         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
5672         up CFI directive to forbid further backtracing.
5674 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
5676         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
5677         reference.
5678         * charmaps/ANSI_X3.4-1968: Likewise.
5679         * charmaps/BS_4730: Likewise.
5680         * charmaps/BS_VIEWDATA: Likewise.
5681         * charmaps/CP1250: Likewise.
5682         * charmaps/CP1251: Likewise.
5683         * charmaps/CP1252: Likewise.
5684         * charmaps/CP1253: Likewise.
5685         * charmaps/CP1254: Likewise.
5686         * charmaps/CP1255: Likewise.
5687         * charmaps/CP1256: Likewise.
5688         * charmaps/CSN_369103: Likewise.
5689         * charmaps/EBCDIC-DK-NO: Likewise.
5690         * charmaps/GB_1988-80: Likewise.
5691         * charmaps/GREEK-CCITT: Likewise.
5692         * charmaps/GREEK7: Likewise.
5693         * charmaps/INIS-8: Likewise.
5694         * charmaps/ISIRI-3342: Likewise.
5695         * charmaps/ISO_2033-1983: Likewise.
5696         * charmaps/ISO_5427-EXT: Likewise.
5697         * locales/POSIX: Likewise.
5698         * locales/ar_SA: Likewise.
5699         * locales/be_BY: Likewise.
5700         * locales/be_BY@latin: Likewise.
5701         * locales/ca_ES: Likewise.
5702         * locales/cs_CZ: Likewise.
5703         * locales/da_DK: Likewise.
5704         * locales/de_BE: Likewise.
5705         * locales/de_CH: Likewise.
5706         * locales/de_LU: Likewise.
5707         * locales/en_AU: Likewise.
5708         * locales/en_BW: Likewise.
5709         * locales/en_CA: Likewise.
5710         * locales/en_DK: Likewise.
5711         * locales/en_GB: Likewise.
5712         * locales/en_IE: Likewise.
5713         * locales/en_NZ: Likewise.
5714         * locales/en_ZA: Likewise.
5715         * locales/en_ZW: Likewise.
5716         * locales/es_AR: Likewise.
5717         * locales/es_BO: Likewise.
5718         * locales/es_CL: Likewise.
5719         * locales/es_CO: Likewise.
5720         * locales/es_DO: Likewise.
5721         * locales/es_EC: Likewise.
5722         * locales/es_ES: Likewise.
5723         * locales/es_HN: Likewise.
5724         * locales/es_MX: Likewise.
5725         * locales/es_PA: Likewise.
5726         * locales/es_PE: Likewise.
5727         * locales/es_PY: Likewise.
5728         * locales/es_SV: Likewise.
5729         * locales/es_US: Likewise.
5730         * locales/es_UY: Likewise.
5731         * locales/es_VE: Likewise.
5732         * locales/et_EE: Likewise.
5733         * locales/fa_IR: Likewise.
5734         * locales/fo_FO: Likewise.
5735         * locales/fr_CA: Likewise.
5736         * locales/fr_CH: Likewise.
5737         * locales/gv_GB: Likewise.
5738         * locales/he_IL: Likewise.
5739         * locales/hr_HR: Likewise.
5740         * locales/id_ID: Likewise.
5741         * locales/is_IS: Likewise.
5742         * locales/it_CH: Likewise.
5743         * locales/iw_IL: Likewise.
5744         * locales/kl_GL: Likewise.
5745         * locales/ko_KR: Likewise.
5746         * locales/kw_GB: Likewise.
5747         * locales/lg_UG: Likewise.
5748         * locales/lt_LT: Likewise.
5749         * locales/lv_LV: Likewise.
5750         * locales/mi_NZ: Likewise.
5751         * locales/nhn_MX: Likewise.
5752         * locales/nl_BE: Likewise.
5753         * locales/pl_PL: Likewise.
5754         * locales/sk_SK: Likewise.
5755         * locales/sl_SI: Likewise.
5756         * locales/sv_FI: Likewise.
5757         * locales/tl_PH: Likewise.
5758         * locales/tr_TR: Likewise.
5759         * locales/vi_VN: Likewise.
5761 2015-07-21  Khem Raj  <raj.khem@gmail.com>
5763         [BZ #17475]
5764         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
5765         of tu_IN and bh_IN.
5767 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
5769         [BZ #18694]
5770         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
5771         bits/wordsize.h.
5772         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
5774 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5776         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
5777         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
5778         (spawn_thread): New function.
5779         (load): Rename to reg_dtor_and_close.  Move dlopen to...
5780         (do_test): ... here.  Use IS_LOADED to test for its
5781         availability.
5783 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
5785         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5787 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
5789         [BZ #18696]
5790         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
5791         si_addr_bnd.
5792         (si_lower): New.
5793         (si_upper): Likewise.
5795 2015-07-16  David S. Miller  <davem@davemloft.net>
5797         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5799 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5801         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
5802         buffer.
5803         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
5804         fail output information.
5806 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5808         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
5809         and strstr-ppc64..
5810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5811         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
5812         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
5813         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
5814         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
5816 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
5818         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
5819         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
5820         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
5821         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
5823 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
5825         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
5826         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
5827         rtld_hidden_proto.
5828         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
5830 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5832         * tst-nodelete-opened.c (do_test): Add comment to clarify how
5833         the test can fail.
5835         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
5837         [BZ #18676]
5838         * elf/tst-nodelete-opened.c: New test case.
5839         * elf/tst-nodelete-opened-lib.c: New test case module.
5840         * elf/Makefile (tests, modules-names): Use them.
5841         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
5842         early.
5844 2015-07-15  David S. Miller  <davem@davemloft.net>
5846         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
5847         futex-intenal.h
5848         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
5849         * sysdeps/sparc/sparc64/Makefile: Likewise.
5850         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
5851         Remove space from macro define.
5852         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
5854 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
5856         [BZ #17475]
5857         * locale/iso-639.def: Update Bhili and Tulu language codes as
5858         per iso639-3.
5860 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
5862         * elf/tst-leaks1.c (main): Converted to ...
5863         (do_test): ... this.
5864         (TEST_FUNCTION): New macro.
5865         Include test-skeleton.c.
5866         * localedata/tst-langinfo.c (main): Converted to ...
5867         (do_test): ... this.
5868         (TEST_FUNCTION): New macro.
5869         Include test-skeleton.c.
5870         * math/test-fpucw.c (main): Converted to ...
5871         (do_test): ... this.
5872         (TEST_FUNCTION): New macro.
5873         Include test-skeleton.c.
5874         * math/test-tgmath.c (main): Converted to ...
5875         (do_test): ... this.
5876         (TEST_FUNCTION): New macro.
5877         Include test-skeleton.c.
5878         * math/test-tgmath2.c (main): Converted to ...
5879         (do_test): ... this.
5880         (TEST_FUNCTION): New macro.
5881         Include test-skeleton.c.
5882         * setjmp/tst-setjmp.c (main): Converted to ...
5883         (do_test): ... this.
5884         (TEST_FUNCTION): New macro.
5885         Include test-skeleton.c.
5886         * stdio-common/tst-sscanf.c (main): Converted to ...
5887         (do_test): ... this.
5888         (TEST_FUNCTION): New macro.
5889         Include test-skeleton.c.
5890         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
5891         (do_test): ... this.
5892         (TEST_FUNCTION): New macro.
5893         Include test-skeleton.c.
5895         * elf/tst-audit9.c (main): Converted to ...
5896         (do_test): ... this.
5897         (TEST_FUNCTION): New macro.
5898         Include test-skeleton.c.
5900 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
5902         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
5904 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
5906         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
5907         New variable.
5909 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
5911         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5913 2015-07-14  Roland McGrath  <roland@hack.frob.com>
5915         * sysdeps/generic/dl-fileid.h: New file.
5916         * sysdeps/posix/dl-fileid.h: New file.
5917         * sysdeps/nacl/dl-fileid.h: New file.
5918         * include/link.h: Include <dl-fileid.h>.
5919         (struct link_map): Replace l_dev and l_ino with l_file_id.
5920         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
5921         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
5922         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
5924 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5926         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
5928 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5930         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
5931         Add iff $CXX is set.
5932         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
5933         Likewise.
5934         (tst-nodelete-zmodiff): Likewise.
5935         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
5937 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5939         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
5941 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
5943         * sysdeps/aarch64/fpu/math_private.h
5944         (define math_opt_barrier): Add AArch64 version.
5945         (math_force_eval): Likewise.
5947 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
5949         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
5951 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
5953         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
5954         %ld with %jd and cast to intmax_t.
5955         (do_test_length_zero): Likewise.
5957 2015-07-10  Roland McGrath  <roland@hack.frob.com>
5959         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
5961 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
5963         * sysdeps/tile/libm-test-ulps: Regenerated.
5965         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
5966         Comment out the whole function, not just its body.
5968 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5970         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
5971         locks.
5973         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
5975 2015-07-10  Torvald Riegel  <triegel@redhat.com>
5977         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
5978         (sem_assume_only_signals_cause_futex_EINTR): Remove.
5980 2015-07-10  Torvald Riegel  <triegel@redhat.com>
5982         * sysdeps/nptl/futex-internal.h: New file.
5983         * sysdeps/nacl/futex-internal.h: New file.
5984         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
5985         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
5986         error checking.
5987         (setxid_unmark_thread): Likewise.
5988         (__nptl_setxid): Likewise.
5989         (__wait_lookup_done): Likewise.
5990         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
5991         * nptl/nptl-init.c (sighandler_setxid): Likewise.
5992         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5993         * nptl/pthread_once.c (clear_once_control): Likewise.
5994         (__pthread_once_slow): Likewise.
5995         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5996         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
5997         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
5998         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5999         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
6000         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
6001         Likewise.
6002         (__pthread_rwlock_rdlock): Likewise.
6003         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6004         Likewise.
6005         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6006         Likewise.
6007         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6008         Likewise.
6009         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
6010         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
6011         Likewise.
6012         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
6013         __ASSUME_PRIVATE_FUTEX check.
6014         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
6015         Check that shared futexes are supported.
6016         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
6017         wrappers with error checking.
6018         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
6019         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
6020         * nptl/pthread_barrierattr_setpshared.c
6021         (pthread_barrierattr_setpshared): Check that shared futexes are
6022         supported.
6023         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
6024         Likewise.
6025         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
6026         Likewise.
6027         * nptl/sem_init.c (futex_private_if_supported): Remove.
6028         (__new_sem_init): Adapt and check that shared futexes are supported.
6029         * nptl/sem_open.c (sem_open): Likewise.
6030         * nptl/sem_post.c (futex_wake): Remove.
6031         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
6032         (do_futex_wait): Use futex wrappers with error checking.
6033         * nptl/sem_wait.c: Include lowlevellock.h.
6034         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
6035         Use futex_supports_pshared.
6036         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
6037         Use futex wrappers with error checking.
6038         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
6039         Likewise.
6040         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
6041         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
6042         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
6043         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
6044         (futex_wake): Likewise.
6045         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
6046         (do_futex_wait): Use futex wrappers with error checking.
6047         (__new_sem_wait_slow): Update EINTR handling.
6048         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
6050 2015-07-09  Martin Sebor  <msebor@redhat.com>
6052         [BZ #18435]
6053         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
6054         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
6055         * nptl/Makefile (test-xfail-tst-once5): Define.
6057 2015-07-09  Roland McGrath  <roland@hack.frob.com>
6059         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
6060         * elf/dl-minimal.c: For readability, reorder some definitions and
6061         introduce more page breaks.  Include <stdio.h>.
6062         (__libc_fatal): New function.
6064         * include/unistd.h: Add rtld_hidden_proto for _exit.
6065         * posix/_exit.c: Add rtld_hidden_def.
6066         * sysdeps/mach/hurd/_exit.c: Likewise.
6067         * sysdeps/nacl/_exit.c: Likewise.
6068         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
6069         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
6071 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
6073         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
6074         bndmov encoding with zero displacement.
6076 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6077             H.J. Lu  <hongjiu.lu@intel.com>
6079         [BZ #18134]
6080         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
6081         * sysdeps/i386/configure: Regenerated.
6082         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6083         (_dl_runtime_profile): Save and restore Intel MPX return bound
6084         registers when calling _dl_call_pltexit.  Add
6085         PRESERVE_BND_REGS_PREFIX before return.
6086         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
6087         (LRV_BND1_OFFSET): Likewise.
6088         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
6089         lrv_bnd1.
6090         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
6091         typo in bndmov encoding.
6092         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
6093         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
6094         branch instructions to preserve bounds.
6096 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6099         [GLIBC_2.22]: Add fmemopen.
6101 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6103         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
6104         returns an error, also try to use host port from __mach_host_self for
6105         the __vm_wire call.
6106         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
6108 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6110         [BZ #18400]
6111         [BZ #18648]
6112         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
6113         Fix pr_uid and pr_gid members.
6114         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
6115         definition to elf_greg_t.
6117 2015-07-08  Roland McGrath  <roland@hack.frob.com>
6119         [BZ #18383]
6120         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
6121         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
6122         * sysdeps/arm/configure: Regenerated.
6123         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
6124         (test-xfail-tst-tlsalign-static): Variable removed.
6126         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
6127         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
6128         rather than explicit 'ln -s'.
6130         * resolv/rpc/netdb.h: New file.
6131         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
6133 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6135         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
6136         length buffers.
6137         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6138         test-skeleton.c.
6140         [BZ #6544]
6141         [BZ #11216]
6142         [BZ #12836]
6143         [BZ #13151]
6144         [BZ #13152]
6145         [BZ #14292]
6146         * include/stdio.h (fmemopen): Remove hidden prototype.
6147         (__fmemopen): Add new hidden prototype.
6148         * libio/Makefile: Add oldfmemopen object.
6149         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
6150         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
6151         compliance.
6152         * libio/oldfmemopen.c: New file: old fmemopen implementation for
6153         symbol compatibility.
6154         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
6155         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
6156         fmemopen.
6157         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
6158         on append and read mode.
6159         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
6160         fmemopen.
6161         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
6162         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
6163         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
6164         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
6165         Likewise.
6166         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6167         [GLIBC_2.22]: Likewise.
6168         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
6169         Likewise.
6170         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
6171         Likewise.
6172         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6173         [GLIBC_2.22]: Likewise.
6174         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6175         [GLIBC_2.22]: Likewise.
6176         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6177         [GLIBC_2.22]: Likewise.
6178         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6179         [GLIBC_2.22]: Likewise.
6180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6181         [GLIBC_2.22]: Likewise.
6182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6183         [GLIBC_2.22]: Likewise.
6184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6185         [GLIBC_2.22]: Likewise.
6186         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
6187         Likewise.
6188         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
6189         Likewise.
6190         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
6191         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6192         [GLIBC_2.22]: Likewise.
6193         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6194         [GLIBC_2.22]: Likewise.
6195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6196         [GLIBC_2.22]: Likewise.
6197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6198         [GLIBC_2.22]: Likewise.
6199         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
6200         Likewise.
6201         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
6202         Likewise.
6203         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
6204         Likewise.
6205         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
6206         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
6208 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
6210         [BZ #18643]
6211         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
6212         IPV6_PATHMTU, and IPV6_DONTFRAG.
6214 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
6216         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
6217         and _IO_UNBUFFERED.
6218         * libio/oldfileops.c: Likewise.
6219         * libio/wfileops.c: Likewise.
6221 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
6223         * nscd/selinux.c: Delete selinux/flask.h include.
6225 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
6227         [BZ #18641]
6228         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
6229         (putpwent): Likewise.
6230         (getpwnam): Likewise.
6231         (getpwent_r): Likewise.
6232         (getpwuid_r): Likewise.
6233         (getpwnam_r): Likewise.
6234         (fgetpwent_r): Likewise.
6236 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
6238         [BZ #18557]
6239         * inet/rcmd.c (__validuser2_sa): Check user first to
6240         short-circuit host check.
6242 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
6243             Mikhail Ilin  <m.ilin@samsung.com>
6245         [BZ #17833]
6246         * elf/Makefile (tests): Add tst-nodelete.
6247         (modules-names): Add tst-nodelete-uniquemod.
6248         (tst-nodelete-uniquemod.so-no-z-defs): New.
6249         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
6250         (tst-nodelete-zmod.so-no-z-defs): Likewise.
6251         ($(objpfx)tst-nodelete): Likewise.
6252         ($(objpfx)tst-nodelete.out): Likewise.
6253         (LDFLAGS-tst-nodelete): Likewise.
6254         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
6255         * elf/dl-close.c (_dl_close_worker): Add a parameter to
6256         implement forced object deletion.
6257         (_dl_close): Pass false to _dl_close_worker.
6258         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
6259         * elf/tst-nodelete.cc: New file.
6260         * elf/tst-nodeletelib.cc: Likewise.
6261         * elf/tst-znodeletelib.cc: Likewise.
6262         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
6264 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6266         [BZ #18508]
6267         * stdlib/Makefile ($(objpfx)tst-makecontext3):
6268         Depend on $(libdl).
6269         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
6270         is not called infinitely times.
6271         (backtrace_helper): New function.
6272         (trace_arg): New struct.
6273         (st1): Enlarge stack size.
6274         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6275         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
6276         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6277         Likewise.
6279 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6281         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6283 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6285         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
6286         Include sys/types.h instead of bits/types.h.
6287         Remove inclusion of bits/wordsize.h.
6289 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
6291         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
6292         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
6293         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
6294         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
6295         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
6296         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
6298 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
6300         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
6301         link-defines.sym.
6302         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
6303         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
6304         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
6305         and LR_SIZE.
6306         * sysdeps/i386/link-defines.sym: New file.
6308 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
6310         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
6311         (modules-names): Add tst-auditmod3a tst-auditmod3b.
6312         ($(objpfx)tst-audit3): New rule.
6313         ($(objpfx)tst-audit3.out): Likewise.
6314         * sysdeps/i386/tst-audit3.c: New file.
6315         * sysdeps/i386/tst-audit3.h: Likewise.
6316         * sysdeps/i386/tst-auditmod3a.c: Likewise.
6317         * sysdeps/i386/tst-auditmod3b.c: Likewise.
6319 2015-07-07  Torvald Riegel  <triegel@redhat.com>
6321         [BZ #18633]
6322         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
6323         pointer in C code.
6324         (__strcat_c): Likewise.
6325         (__strcat_g): Likewise.
6327 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
6329         [BZ #18592]
6330         * misc/sbrk.c: Set errno to ENOMEM on overflow.
6332 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
6334         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
6335         New function.  (__ieee754_sqrtf): New function.
6336         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
6337         New function.
6338         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
6339         New function.
6341 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
6343         * sysdeps/ieee754/support.c: Remove unused file.
6345 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6347         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
6348         registers instead of d ones so the layout is kernel abi compatible.
6349         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
6350         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
6351         Likewise.
6353 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6355         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6357 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
6359         [BZ #18619]
6360         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
6361         and return argument in case of subnormal argument.
6363 2015-07-01  Martin Sebor  <msebor@redhat.com>
6365         [BZ #18435]
6366         * nptl/Makefile: Add tst-once5.cc.
6367         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
6368         Remove macro redefinitions.
6369         * nptl/tst-once5.cc: New test.
6371 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
6373         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6375         * sysdeps/arm/libm-test-ulps: Regenerated.
6377         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6378         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6380 2015-06-30  Torvald Riegel  <triegel@redhat.com>
6382         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
6383         lll_lock_wait_private and lll_futex_wake probes.
6385         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
6386         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
6387         Likewise.
6388         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
6389         atomic_spin_nop.
6390         * sysdeps/x86_64/bits/atomic.h: Likewise.
6391         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
6392         to atomic_spin_nop and move ...
6393         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
6394         ... here and ...
6395         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
6396         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6397         atomic_spin_nop instead of BUSY_WAIT_NOP.
6398         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
6399         Likewise.
6400         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
6401         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
6402         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
6403         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
6404         instead of atomic_delay.
6406 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
6408         [BZ #18613]
6409         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
6410         X_ADJ not X when adjusting exponent.
6411         (__ieee754_gamma_r): Do intermediate computations in
6412         round-to-nearest then adjust overflowing and underflowing results
6413         as needed.
6414         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
6415         of X_ADJ not X when adjusting exponent.
6416         (__ieee754_gammaf_r): Do intermediate computations in
6417         round-to-nearest then adjust overflowing and underflowing results
6418         as needed.
6419         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
6420         log of X_ADJ not X when adjusting exponent.
6421         (__ieee754_gammal_r): Do intermediate computations in
6422         round-to-nearest then adjust overflowing and underflowing results
6423         as needed.  Use 1.0L not 1.0f as numerator of division.
6424         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
6425         log of X_ADJ not X when adjusting exponent.
6426         (__ieee754_gammal_r): Do intermediate computations in
6427         round-to-nearest then adjust overflowing and underflowing results
6428         as needed.  Use 1.0L not 1.0f as numerator of division.
6429         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
6430         of X_ADJ not X when adjusting exponent.
6431         (__ieee754_gammal_r): Do intermediate computations in
6432         round-to-nearest then adjust overflowing and underflowing results
6433         as needed.  Use 1.0L not 1.0f as numerator of division.
6434         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
6435         to auto-libm-test-in.
6436         (tgamma_test): Use ALL_RM_TEST.
6437         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
6438         tests of tgamma with spurious-overflow.
6439         * math/auto-libm-test-out: Regenerated.
6440         * math/gen-libm-have-vector-test.sh: Do not check for START.
6441         * sysdeps/i386/fpu/libm-test-ulps: Update.
6442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6444         [BZ #18612]
6445         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
6446         arguments, just return 0.5 times the argument, with underflow
6447         forced as needed.
6448         * math/auto-libm-test-in: Add more tests of j1.
6449         * math/auto-libm-test-out: Regenerated.
6451         [BZ #16559]
6452         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
6453         (__ieee754_j1): Force underflow exception for small results.
6454         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6455         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
6456         (__ieee754_j1f): Force underflow exception for small results.
6457         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6458         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6459         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6460         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
6461         (__ieee754_j1l): Force underflow exception for small results.
6462         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6463         * math/auto-libm-test-in: Add more tests of j1 and jn.
6464         * math/auto-libm-test-out: Regenerated.
6466         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
6467         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
6468         (PF_MPLS): Likewise.
6469         (AF_IB): Likewise.
6470         (AF_MPLS): Likewise.
6471         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
6472         value and macro.
6473         (MS_RMT_MASK): Include MS_LAZYTIME.
6475 2015-06-26  Mel Gorman  <mgorman@suse.de>
6477         [BZ #18502]
6478         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
6479         already minimal.
6481 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
6483         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
6484         (DT_MIPS_NUM): Update.
6485         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
6486         DT_MIPS_RLD_MAP_REL.
6488 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
6490         [BZ #16559]
6491         [BZ #18602]
6492         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
6493         round-to-nearest internally then recompute results that
6494         underflowed to zero in the original rounding mode.
6495         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6496         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6497         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6498         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
6499         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
6500         * sysdeps/i386/fpu/libm-test-ulps: Update.
6501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6503 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
6505         * NEWS: Fixed description of link with vector math library.
6507 2015-06-25  Andreas Schwab  <schwab@suse.de>
6509         [BZ #18549]
6510         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
6511         * libio/test-fmemopen.c (do_test): Add test for it.
6513 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
6515         [BZ #17841]
6516         * Makeconfig (no-pie-ldflag): New.
6517         (+link): Set to $(+link-pie) if default to PIE.
6518         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
6519         * config.make.in (build-pie-default): New.
6520         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
6521         is default.  AC_SUBST.
6522         * configure: Regenerated.
6523         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
6525 2015-06-24  Roland McGrath  <roland@hack.frob.com>
6527         * nptl/descr.h (struct pthread): Change type of field setxid_futex
6528         to 'unsigned int'.
6530         * resolv/gai_misc.h (struct waitlist): Change type of field
6531         counterp to 'volatile unsigned int *'.
6532         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
6533         FUTEXADDR and OLDVAL.
6534         * resolv/getaddrinfo_a.c (getaddrinfo_a):
6535         Give local variable TOTAL type 'volatile unsigned int'.
6536         (struct async_waitlist): Change type of field counter to 'unsigned int'.
6537         * resolv/gai_suspend.c (gai_suspend):
6538         Give local variable CNTR type 'unsigned int'.
6540         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
6541         counterp to 'volatile unsigned int *'.
6542         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
6543         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
6544         (aio_suspend): Give local variable CNTR type 'unsigned int'.
6545         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
6546         Give local variable TOTAL type 'volatile unsigned int'.
6547         (struct async_waitlist): Change type of field counter to 'unsigned int'.
6549 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
6551         [BZ #18383]
6552         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
6553         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
6554         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
6555         comment for i386/x86-64.
6556         (test-xfail-tst-tlsalign-extern-static): Removed.
6558 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
6560         * math/test-double.h: New file.
6561         * math/test-float.h: Likewise.
6562         * math/test-ldouble.h: Likewise.
6563         * math/test-math-inline.h: Likewise.
6564         * math/test-math-no-inline.h: Likewise.
6565         * math/test-math-scalar.h: Likewise.
6566         * math/test-math-vector.h: Likewise.
6567         * math/test-vec-loop.h: Remove file.  Contents moved into
6568         test-math-vector.h.
6569         * math/libm-test.inc (MATHCONST): Do not document macro.
6570         * math/test-double.c: Include test-double.h, test-math-no-inline.h
6571         and test-math-scalar.h.
6572         (FUNC): Remove macro.
6573         (FUNC_TEST): Likewise.
6574         (FLOAT): Likewise.
6575         (MATHCONST): Likewise.
6576         (PRINTF_EXPR): Likewise.
6577         (PRINTF_XEXPR): Likewise.
6578         (PRINTF_NEXPR): Likewise.
6579         (TEST_DOUBLE): Likewise.
6580         (TEST_MATHVEC): Likewise.
6581         (__NO_MATH_INLINES): Likewise.
6582         * math/test-float.c: Include test-float.h, test-math-no-inline.h
6583         and test-math-scalar.h.
6584         (FUNC): Remove macro.
6585         (FUNC_TEST): Likewise.
6586         (FLOAT): Likewise.
6587         (MATHCONST): Likewise.
6588         (PRINTF_EXPR): Likewise.
6589         (PRINTF_XEXPR): Likewise.
6590         (PRINTF_NEXPR): Likewise.
6591         (TEST_FLOAT): Likewise.
6592         (TEST_MATHVEC): Likewise.
6593         (__NO_MATH_INLINES): Likewise.
6594         * math/test-idouble.c: Include test-double.h, test-math-inline.h
6595         and test-math-scalar.h.
6596         (FUNC): Remove macro.
6597         (FUNC_TEST): Likewise.
6598         (FLOAT): Likewise.
6599         (MATHCONST): Likewise.
6600         (PRINTF_EXPR): Likewise.
6601         (PRINTF_XEXPR): Likewise.
6602         (PRINTF_NEXPR): Likewise.
6603         (TEST_DOUBLE): Likewise.
6604         (TEST_MATHVEC): Likewise.
6605         (TEST_INLINE): Likewise.
6606         (__NO_MATH_INLINES): Likewise.
6607         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
6608         test-math-scalar.h.
6609         (FUNC): Remove macro.
6610         (FUNC_TEST): Likewise.
6611         (FLOAT): Likewise.
6612         (MATHCONST): Likewise.
6613         (PRINTF_EXPR): Likewise.
6614         (PRINTF_XEXPR): Likewise.
6615         (PRINTF_NEXPR): Likewise.
6616         (TEST_FLOAT): Likewise.
6617         (TEST_MATHVEC): Likewise.
6618         (TEST_INLINE): Likewise.
6619         (__NO_MATH_INLINES): Likewise.
6620         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
6621         and test-math-scalar.h.
6622         (FUNC): Remove macro.
6623         (FUNC_TEST): Likewise.
6624         (FLOAT): Likewise.
6625         (MATHCONST): Likewise.
6626         (PRINTF_EXPR): Likewise.
6627         (PRINTF_XEXPR): Likewise.
6628         (PRINTF_NEXPR): Likewise.
6629         (TEST_LDOUBLE): Likewise.
6630         (TEST_MATHVEC): Likewise.
6631         (TEST_INLINE): Likewise.
6632         (__NO_MATH_INLINES): Likewise.
6633         * math/test-ldouble.c: Include test-ldouble.h,
6634         test-math-no-inline.h and test-math-scalar.h.
6635         (FUNC): Remove macro.
6636         (FUNC_TEST): Likewise.
6637         (FLOAT): Likewise.
6638         (MATHCONST): Likewise.
6639         (PRINTF_EXPR): Likewise.
6640         (PRINTF_XEXPR): Likewise.
6641         (PRINTF_NEXPR): Likewise.
6642         (TEST_LDOUBLE): Likewise.
6643         (TEST_MATHVEC): Likewise.
6644         (__NO_MATH_INLINES): Likewise.
6645         * math/test-double-vlen2.h: Include test-double.h,
6646         test-math-no-inline.h and test-math-vector.h.
6647         (FLOAT): Remove macro.
6648         (FUNC): Likewise.
6649         (MATHCONST): Likewise.
6650         (PRINTF_EXPR): Likewise.
6651         (PRINTF_XEXPR): Likewise.
6652         (PRINTF_NEXPR): Likewise.
6653         (TEST_DOUBLE): Likewise.
6654         (TEST_MATHVEC): Likewise.
6655         (__NO_MATH_INLINES): Likewise.
6656         (CNCT): Likewise.
6657         (CONCAT): Likewise.
6658         (WRAPPER_NAME): Likewise.
6659         (WRAPPER_DECL): Likewise.
6660         (WRAPPER_DECL_ff): Likewise.
6661         (WRAPPER_DECL_fFF): Likewise.
6662         (VECTOR_WRAPPER): Likewise.
6663         (VECTOR_WRAPPER_ff): Likewise.
6664         (VECTOR_WRAPPER_fFF): Likewise.
6665         (VEC_LEN): New macro.
6666         * math/test-double-vlen4.h: Include test-double.h,
6667         test-math-no-inline.h and test-math-vector.h.
6668         (FLOAT): Remove macro.
6669         (FUNC): Likewise.
6670         (MATHCONST): Likewise.
6671         (PRINTF_EXPR): Likewise.
6672         (PRINTF_XEXPR): Likewise.
6673         (PRINTF_NEXPR): Likewise.
6674         (TEST_DOUBLE): Likewise.
6675         (TEST_MATHVEC): Likewise.
6676         (__NO_MATH_INLINES): Likewise.
6677         (CNCT): Likewise.
6678         (CONCAT): Likewise.
6679         (WRAPPER_NAME): Likewise.
6680         (WRAPPER_DECL): Likewise.
6681         (WRAPPER_DECL_ff): Likewise.
6682         (WRAPPER_DECL_fFF): Likewise.
6683         (VECTOR_WRAPPER): Likewise.
6684         (VECTOR_WRAPPER_ff): Likewise.
6685         (VECTOR_WRAPPER_fFF): Likewise.
6686         (VEC_LEN): New macro.
6687         * math/test-double-vlen8.h: Include test-double.h,
6688         test-math-no-inline.h and test-math-vector.h.
6689         (FLOAT): Remove macro.
6690         (FUNC): Likewise.
6691         (MATHCONST): Likewise.
6692         (PRINTF_EXPR): Likewise.
6693         (PRINTF_XEXPR): Likewise.
6694         (PRINTF_NEXPR): Likewise.
6695         (TEST_DOUBLE): Likewise.
6696         (TEST_MATHVEC): Likewise.
6697         (__NO_MATH_INLINES): Likewise.
6698         (CNCT): Likewise.
6699         (CONCAT): Likewise.
6700         (WRAPPER_NAME): Likewise.
6701         (WRAPPER_DECL): Likewise.
6702         (WRAPPER_DECL_ff): Likewise.
6703         (WRAPPER_DECL_fFF): Likewise.
6704         (VECTOR_WRAPPER): Likewise.
6705         (VECTOR_WRAPPER_ff): Likewise.
6706         (VECTOR_WRAPPER_fFF): Likewise.
6707         (VEC_LEN): New macro.
6708         * math/test-float-vlen4.h: Include test-float.h,
6709         test-math-no-inline.h and test-math-vector.h.
6710         (FLOAT): Remove macro.
6711         (FUNC): Likewise.
6712         (MATHCONST): Likewise.
6713         (PRINTF_EXPR): Likewise.
6714         (PRINTF_XEXPR): Likewise.
6715         (PRINTF_NEXPR): Likewise.
6716         (TEST_FLOAT): Likewise.
6717         (TEST_MATHVEC): Likewise.
6718         (__NO_MATH_INLINES): Likewise.
6719         (CNCT): Likewise.
6720         (CONCAT): Likewise.
6721         (WRAPPER_NAME): Likewise.
6722         (WRAPPER_DECL): Likewise.
6723         (WRAPPER_DECL_ff): Likewise.
6724         (WRAPPER_DECL_fFF): Likewise.
6725         (VECTOR_WRAPPER): Likewise.
6726         (VECTOR_WRAPPER_ff): Likewise.
6727         (VECTOR_WRAPPER_fFF): Likewise.
6728         (VEC_LEN): New macro.
6729         * math/test-float-vlen8.h: Include test-float.h,
6730         test-math-no-inline.h and test-math-vector.h.
6731         (FLOAT): Remove macro.
6732         (FUNC): Likewise.
6733         (MATHCONST): Likewise.
6734         (PRINTF_EXPR): Likewise.
6735         (PRINTF_XEXPR): Likewise.
6736         (PRINTF_NEXPR): Likewise.
6737         (TEST_FLOAT): Likewise.
6738         (TEST_MATHVEC): Likewise.
6739         (__NO_MATH_INLINES): Likewise.
6740         (CNCT): Likewise.
6741         (CONCAT): Likewise.
6742         (WRAPPER_NAME): Likewise.
6743         (WRAPPER_DECL): Likewise.
6744         (WRAPPER_DECL_ff): Likewise.
6745         (WRAPPER_DECL_fFF): Likewise.
6746         (VECTOR_WRAPPER): Likewise.
6747         (VECTOR_WRAPPER_ff): Likewise.
6748         (VECTOR_WRAPPER_fFF): Likewise.
6749         (VEC_LEN): New macro.
6750         * math/test-float-vlen16.h: Include test-float.h,
6751         test-math-no-inline.h and test-math-vector.h.
6752         (FLOAT): Remove macro.
6753         (FUNC): Likewise.
6754         (MATHCONST): Likewise.
6755         (PRINTF_EXPR): Likewise.
6756         (PRINTF_XEXPR): Likewise.
6757         (PRINTF_NEXPR): Likewise.
6758         (TEST_FLOAT): Likewise.
6759         (TEST_MATHVEC): Likewise.
6760         (__NO_MATH_INLINES): Likewise.
6761         (CNCT): Likewise.
6762         (CONCAT): Likewise.
6763         (WRAPPER_NAME): Likewise.
6764         (WRAPPER_DECL): Likewise.
6765         (WRAPPER_DECL_ff): Likewise.
6766         (WRAPPER_DECL_fFF): Likewise.
6767         (VECTOR_WRAPPER): Likewise.
6768         (VECTOR_WRAPPER_ff): Likewise.
6769         (VECTOR_WRAPPER_fFF): Likewise.
6770         (VEC_LEN): New macro.
6771         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
6772         test-vec-loop.h.
6773         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6774         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6775         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6776         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6777         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6778         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6779         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6781 2015-06-24  Roland McGrath  <roland@hack.frob.com>
6783         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
6784         (__getlogin_r): ... this.
6786 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
6788         [BZ #18594]
6789         * math/s_ccosh.c (__ccosh): Compare with least normal value
6790         instead of comparing class with FP_SUBNORMAL.
6791         * math/s_ccoshf.c (__ccoshf): Likewise.
6792         * math/s_ccoshl.c (__ccoshl): Likewise.
6793         * math/s_cexp.c (__cexp): Likewise.
6794         * math/s_cexpf.c (__cexpf): Likewise.
6795         * math/s_cexpl.c (__cexpl): Likewise.
6796         * math/s_csin.c (__csin): Likewise.
6797         * math/s_csinf.c (__csinf): Likewise.
6798         * math/s_csinh.c (__csinh): Likewise.
6799         * math/s_csinhf.c (__csinhf): Likewise.
6800         * math/s_csinhl.c (__csinhl): Likewise.
6801         * math/s_csinl.c (__csinl): Likewise.
6802         * math/s_ctan.c (__ctan): Likewise.
6803         * math/s_ctanf.c (__ctanf): Likewise.
6804         * math/s_ctanh.c (__ctanh): Likewise.
6805         * math/s_ctanhf.c (__ctanhf): Likewise.
6806         * math/s_ctanhl.c (__ctanhl): Likewise.
6807         * math/s_ctanl.c (__ctanl): Likewise.
6808         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
6809         csin, csinh, ctan and ctanh.
6810         * math/auto-libm-test-out: Regenerated.
6811         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
6812         * sysdeps/i386/fpu/libm-test-ulps: Update.
6813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6815 2015-06-24  Roland McGrath  <roland@hack.frob.com>
6817         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
6818         return value is wrong, print the expected value too.
6820 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
6822         [BZ #18585]
6823         * elf/readlib.c (is_gdb_python_file): New.
6824         (process_file): Don't issue errors on filenames with -gdb.py
6825         suffix.
6827 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
6829         * math/auto-libm-test-in: Add more tests of csin and csinh.
6830         * math/auto-libm-test-out: Regenerated.
6831         * math/libm-test.inc (csin_test_data): Remove tests moved to
6832         auto-libm-test-in.
6833         (csinh_test_data): Likewise.
6835         [BZ #18593]
6836         * math/s_csin.c (__csin): Negate before rather than after possibly
6837         overflowing multiplication.
6838         * math/s_csinf.c (__csinf): Likewise.
6839         * math/s_csinh.c (__csinh): Likewise.
6840         * math/s_csinhf.c (__csinhf): Likewise.
6841         * math/s_csinhl.c (__csinhl): Likewise.
6842         * math/s_csinl.c (__csinl): Likewise.
6843         * math/auto-libm-test-in: Add some tests of csin and csinh.
6844         * math/auto-libm-test-out: Regenerated.
6845         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
6846         (csinh_test_data): Likewise.
6847         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6849         [BZ #18586]
6850         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
6851         underflow exception for small results.
6853 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
6855         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
6856         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
6857         variable and included header.
6858         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
6859         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
6860         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
6861         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
6862         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
6863         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
6864         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
6865         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
6866         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
6867         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
6868         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
6869         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
6870         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
6871         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
6872         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
6873         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
6875 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
6877         [BZ #16526]
6878         [BZ #16538]
6879         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
6880         (__sin): Force underflow exception for arguments with small
6881         absolute value.
6882         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
6883         (__kernel_sinf): Force underflow exception for arguments with
6884         small absolute value.
6885         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
6886         (__kernel_sincosl): Force underflow exception for arguments with
6887         small absolute value.
6888         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
6889         (__kernel_sinl): Force underflow exception for arguments with
6890         small absolute value.
6891         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
6892         (__kernel_sincosl): Force underflow exception for arguments with
6893         small absolute value.
6894         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
6895         (__kernel_sinl): Force underflow exception for arguments with
6896         small absolute value.
6897         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
6898         (__kernel_sinl): Force underflow exception for arguments with
6899         small absolute value.
6900         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
6901         (__kernel_sinf): Force underflow exception for arguments with
6902         small absolute value.
6903         * math/auto-libm-test-in: Add more tests of sin and sincos.
6904         * math/auto-libm-test-out: Regenerated.
6906         [BZ #18245]
6907         [BZ #18583]
6908         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
6909         (__kernel_standard_l): Use feholdexcept and fesetenv around
6910         conversion to double instead of special-casing overflow and
6911         underflow.
6912         * math/libm-test.inc (fmod_test_data): Add more tests.
6913         (remainder_test_data): Likewise.
6914         (sqrt_test_data): Likewise.
6916 2015-06-23  Torvald Riegel  <triegel@redhat.com>
6918         [BZ #17403]
6919         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
6920         atomic_read_barrier, atomic_write_barrier): Define.
6921         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
6922         atomic_read_barrier, atomic_write_barrier): Define.
6924 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
6926         * math/Makefile [$(PERL) != no]
6927         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
6928         dependency on libm-test.stmp below the inclusion of Rules.
6930 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
6932         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
6933         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
6934         and included header.
6935         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
6936         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
6937         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
6938         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
6939         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
6940         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
6941         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
6942         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
6943         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
6944         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
6945         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
6946         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
6947         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
6948         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
6949         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
6950         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
6951         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
6952         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
6953         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
6955 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
6957         [BZ #18371]
6958         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
6959         intermediate but not final result might underflow.
6960         * math/s_csqrtf.c (__csqrtf): Likewise.
6961         * math/s_csqrtl.c (__csqrtl): Likewise.
6962         * math/auto-libm-test-in: Add more tests of csqrt.
6963         * math/auto-libm-test-out: Regenerated.
6964         * sysdeps/i386/fpu/libm-test-ulps: Update.
6966         [BZ #18219]
6967         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
6968         threshold on absolute value of exponent for which scaling is used.
6969         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6970         * math/auto-libm-test-in: Add more tests of exp2.
6971         * math/auto-libm-test-out: Regenerated.
6973 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
6975         [BZ #17977]
6976         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
6977         when initializing interface list, based on the bug analysis
6978         and the patch proposed by Eric Newton.
6979         * resolv/tst-res_hconf_reorder.c: New test.
6980         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
6981         tst-res_hconf_reorder.
6982         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
6983         and $(shared-thread-library).
6984         (tst-res_hconf_reorder-ENV): New variable.
6986         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
6987         in comment.
6989 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
6991         [BZ #16353]
6992         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
6993         (__expm1): Force underflow exception for arguments with small
6994         absolute value.
6995         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
6996         (__expm1f): Force underflow exception for arguments with small
6997         absolute value.
6998         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
6999         (__expm1): Force underflow exception for arguments with small
7000         absolute value.
7001         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
7002         (__expm1f): Force underflow exception for arguments with small
7003         absolute value.
7004         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7005         Check for small arguments before calling __expm1.
7006         * math/auto-libm-test-in: Do not mark underflow exceptions as
7007         possibly missing for bug 16353.
7008         * math/auto-libm-test-out: Regenerated.
7010 2015-06-22  Andreas Schwab  <schwab@suse.de>
7012         [BZ #18513]
7013         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
7014         PTR queries.
7016 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
7018         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
7020         * string/strcoll_l.c: Remove unused struct element idxnow.
7022 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
7024         [BZ #18569]
7025         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
7026         underflow and return argument in case of subnormal argument.
7027         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7028         Likewise.
7029         * math/auto-libm-test-in: Add more tests of expm1.
7030         * math/auto-libm-test-out: Regenerated.
7032         [BZ #16361]
7033         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
7034         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7035         tiny results.
7036         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
7037         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7038         tiny results.
7039         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
7040         mark underflow exceptions as possibly missing for bug 16361.
7041         * math/auto-libm-test-out: Regenerated.
7043 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
7045         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
7046         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
7047         Remove variable.
7048         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7049         (test-xfail-XOPEN2K8/utmpx.h/conform).
7051         * conform/conformtest.pl ($xerrors): New variable.
7052         (note_error): New function.
7053         (compiletest): New argument $xfail.  Use not_error.
7054         (runtest): Likewise.
7055         (top level): Handle xfail- lines.  Update calls to compiletest and
7056         runtest.  Handle xfail- and optional- in headers listed with
7057         allow-header.
7058         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
7059         (O_EXEC): Likewise.
7060         (O_SEARCH): Likewise.
7061         * conform/data/stropts.h-data (ioctl): Likewise.
7062         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
7063         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
7064         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
7065         (msghdr.msg_controllen): Likewise.
7066         (cmsghdr.cmsg_len): Likewise.
7067         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
7068         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
7069         variable.
7070         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7071         (test-xfail-XPG4/stropts.h/conform): Likewise.
7072         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7073         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7074         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7075         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7076         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7077         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7078         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7079         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7080         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7081         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7082         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7083         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7084         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7085         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7086         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7087         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7088         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7089         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7090         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7092 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7094         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
7095         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
7096         definitions for proper unfolding of __MATHDECL_VEC.
7098 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7100         * benchtests/bench-strcoll.c:
7101         Include string.h.
7102         (main): Remove unused variable res.
7104 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7106         * timezone/Makefile (%/UTC %/Universal):
7107         Generate test-result files for UTC and Universal.
7109 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7111         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7113 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
7115         [BZ #16350]
7116         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
7117         for arguments with small absolute value.
7118         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
7119         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
7120         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
7121         (__asinh): Force underflow exception for arguments with small
7122         absolute value.
7123         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
7124         (__asinhf): Force underflow exception for arguments with small
7125         absolute value.
7126         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
7127         (__asinhl): Force underflow exception for arguments with small
7128         absolute value.
7129         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
7130         (__asinhl): Force underflow exception for arguments with small
7131         absolute value.
7132         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
7133         (__asinhl): Force underflow exception for arguments with small
7134         absolute value.
7135         * math/auto-libm-test-in: Do not mark underflow exceptions as
7136         possibly missing for bug 16350.
7137         * math/auto-libm-test-out: Regenerated.
7139         * include/bits/ipc.h: Remove file.
7140         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
7141         variable.
7142         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7143         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7144         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7145         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7146         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7147         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7148         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7149         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7150         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7152         * math/auto-libm-test-in: Remove spurious underflow allowance for
7153         tests of cexp.
7154         * math/auto-libm-test-out: Regenerated.
7156         [BZ #18558]
7157         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
7158         unconditional definition.
7159         (MCAST_BLOCK_SOURCE): Likewise.
7160         (MCAST_UNBLOCK_SOURCE): Likewise.
7161         (MCAST_LEAVE_GROUP): Likewise.
7162         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7163         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7164         (MCAST_MSFILTER): Likewise.
7165         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
7166         Remove variable.
7167         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7168         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7169         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7170         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7171         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7173 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
7175         * NEWS: Mention addition of x86_64 vector sincosf.
7176         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
7177         * math/test-float-vlen4.h: Likewise.
7178         * math/test-float-vlen8.h: Likewise.
7179         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7180         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
7181         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7182         * sysdeps/x86_64/fpu/Versions: New versions added.
7183         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7184         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7185         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7186         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
7187         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7188         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
7189         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7190         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
7191         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7192         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
7193         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
7194         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
7195         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
7196         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
7197         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
7198         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
7199         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
7200         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7201         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7202         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7203         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7204         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7205         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7206         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7208         * NEWS: Mention addition of x86_64 vector sincos.
7209         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
7210         * math/math.h (__MATHDECL_VEC): New macro.
7211         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
7212         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
7213         declaration under condition.
7214         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
7215         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
7216         TEST_VEC_LOOP change.
7217         * math/test-double-vlen4.h: Likewise.
7218         * math/test-double-vlen8.h: Likewise.
7219         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
7220         * math/test-float-vlen4.h: Likewise.
7221         * math/test-float-vlen8.h: Likewise.
7222         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7223         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
7224         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7225         * sysdeps/x86_64/fpu/Versions: New versions added.
7226         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7227         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7228         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7229         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
7230         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
7231         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
7232         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
7233         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
7234         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
7235         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
7236         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
7237         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
7238         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
7239         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
7240         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
7241         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
7242         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
7243         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7244         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7245         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7246         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7247         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7248         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7249         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7251         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7252         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
7253         redirections for powf.
7254         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7255         * sysdeps/x86_64/fpu/Versions: New versions added.
7256         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7257         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7258         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7259         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
7260         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
7261         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
7262         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
7263         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
7264         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
7265         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
7266         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
7267         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
7268         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
7269         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
7270         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
7271         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
7272         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
7273         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7274         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7275         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7276         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7277         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7278         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7279         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7280         * math/test-float-vlen16.h: Fixed 2 argument macro.
7281         * math/test-float-vlen4.h: Likewise.
7282         * math/test-float-vlen8.h: Likewise.
7283         * NEWS: Mention addition of x86_64 vector powf.
7285 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
7287         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7288         and redefine.
7289         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7290         and redefine.
7291         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
7292         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7293         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7295         [BZ #18553]
7296         * resource/getpriority.c (getpriority): Rename to __getpriority
7297         and define as weak alias of __getpriority.
7298         * resource/setpriority.c (setpriority): Rename to __setpriority
7299         and define as weak alias of __setpriority.
7300         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
7301         __getpriority and define as weak alias of __getpriority.
7302         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
7303         __setpriority and define as weak alias of __setpriority.
7304         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
7305         strong name.
7306         (setpriority): Use __setpriority as strong name.
7307         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
7308         __getpriority and define as weak alias of __getpriority.
7309         * include/sys/resource.h (__getpriority): Declare.  Use
7310         libc_hidden_proto.
7311         (__setpriority): Likewise.
7312         (getpriority): Don't use libc_hidden_proto.
7313         (setpriority): Likewise.
7314         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
7315         getpriority.  Call __setpriority instead of setpriority.
7316         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
7317         Remove variable.
7319         [BZ #18547]
7320         * misc/getttyent.c (getttynam): Rename to __getttynam and define
7321         as weak alias of __getttynam.  Use prototype function definition.
7322         Call __setttyent, __getttyent and __endttyent instead of
7323         setttyent, getttyent and endttyent.
7324         (getttyent): Rename to __getttyent and define as weak alias of
7325         __getttyent.  Call __setttyent instead of setttyent.  Call
7326         __fgets_unlocked instead of fgets_unlocked.
7327         (setttyent): Rename to __setttyent and define as weak alias of
7328         __setttyent.
7329         (endttyent): Rename to __endttyent and define as weak alias of
7330         __endttyent.
7331         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
7332         (__setttyent): Likewise.
7333         (__endttyent): Likewise.
7334         (getttyent): Don't use libc_hidden_proto.
7335         (setttyent): Likewise.
7336         (endttyent): Likewise.
7337         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
7338         __endttyent instead of setttyent, getttyent and endttyent.
7339         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
7340         Remove variable.
7342         [BZ #18546]
7343         * socket/recv.c (__recv): Use libc_hidden_def.
7344         * socket/socket.c (__socket): Likewise.
7345         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7346         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7347         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
7348         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
7349         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
7350         libc_hidden_def.
7351         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
7352         libc_hidden_weak.
7353         * include/sys/socket.h (__socket): Do not use attribute_hidden.
7354         Use libc_hidden_proto.
7355         (__recv): Likewise.
7356         * socket/Versions (libc): Export __recv and __socket at version
7357         GLIBC_PRIVATE.
7358         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
7359         instead of recv.
7360         (init_mq_netlink): Call __socket instead of socket.
7361         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
7362         Remove variable.
7364         [BZ #18545]
7365         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
7366         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
7367         hidden_weak.
7368         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
7369         define as alias of __mq_timedsend.  Use hidden_weak.
7370         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
7371         __mq_timedsend as strong name.
7372         (mq_timedreceive): Use __mq_timedreceive as strong name.
7373         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
7374         (__mq_timedreceive): Likewise.
7375         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
7376         __mq_timedreceive instead of mq_timedreceive.
7377         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
7378         instead of mq_timedsend.
7379         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
7380         Remove variable.
7382         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
7383         hidden_def and hidden_weak instead of libc_hidden_def and
7384         libc_hidden_weak.
7385         (top level): Refer to hidden_def in comment.
7386         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
7387         macro.  Use it instead of libc_hidden_def.
7388         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
7389         specify __GI_* name explicitly.
7390         (mq_timedreceive): Likewise.
7391         (mq_setattr): Likewise.
7393         [BZ #18544]
7394         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
7395         __pthread_barrier_init and define as weak alias of
7396         __pthread_barrier_init.
7397         * sysdeps/sparc/nptl/pthread_barrier_init.c
7398         (pthread_barrier_init): Likewise.
7399         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
7400         __pthread_barrier_wait and define as weak alias of
7401         __pthread_barrier_wait.
7402         * sysdeps/sparc/nptl/pthread_barrier_wait.c
7403         (pthread_barrier_wait): Likewise.
7404         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
7405         (pthread_barrier_wait): Likewise.
7406         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
7407         (pthread_barrier_wait): Likewise.
7408         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
7409         (pthread_barrier_wait): Likewise.
7410         * nptl/Versions (libpthread): Export __pthread_barrier_init and
7411         __pthread_barrier_wait at version GLIBC_PRIVATE.
7412         * include/pthread.h (__pthread_barrier_init): Declare.
7413         (__pthread_barrier_wait): Likewise.
7414         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
7415         Call __pthread_barrier_wait instead of pthread_barrier_wait.
7416         (helper_thread): Likewise.
7417         (init_mq_netlink): Call __pthread_barrier_init instead of
7418         pthread_barrier_init.
7420         [BZ #18542]
7421         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
7422         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
7423         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
7424         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
7425         vswscanf.
7426         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
7427         Remove variable.
7429         [BZ #18540]
7430         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
7431         strong alias of _IO_fflush.  Use libc_hidden_def.
7432         * libio/iofflush_u.c (fflush_unlocked): Rename to
7433         __fflush_unlocked and define as weak alias of __fflush_unlocked.
7434         Use libc_hidden_weak.
7435         * include/stdio.h (__fflush_unlocked): Declare.  Use
7436         libc_hidden_proto.
7437         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
7438         fflush_unlocked.
7439         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
7440         Remove variable.
7442         [BZ #18539]
7443         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
7444         define as weak alias of __addseverity.
7445         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
7446         Remove variable.
7447         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7448         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7449         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
7451         [BZ #18536]
7452         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
7453         (__tfind): Likewise.
7454         (__tdelete): Likewise.
7455         (__twalk): Likewise.
7456         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
7457         __twalk to GLIBC_PRIVATE.
7458         * include/search.h (__tsearch): Use libc_hidden_proto.
7459         (__tfind): Likewise.
7460         (__tdelete): Likewise.
7461         (__twalk): Likewise.
7462         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
7463         Call __tdelete instead of tdelete.
7464         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
7465         tfind.  Call __tsearch instead of tsearch.
7466         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
7467         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
7468         Remove variable.
7469         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
7471         [BZ #18534]
7472         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
7473         (dprintf): Define as a weak alias of __dprintf, not a strong
7474         alias.
7475         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
7476         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
7477         dprintf.
7478         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
7479         Remove variable.
7480         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
7481         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
7483         [BZ #18533]
7484         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
7485         not a strong alias.
7486         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
7487         Remove variable.
7489         [BZ #18532]
7490         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
7491         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
7492         (in6addr_loopback): Rename to __in6addr_loopback and define as
7493         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
7494         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
7495         libc_hidden_proto.
7496         (__in6addr_any): Likewise.
7497         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
7498         in6addr_any.
7499         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
7500         variable.
7501         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
7503 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
7505         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
7506         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
7507         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
7508         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
7509         redirections for pow.
7510         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7511         * sysdeps/x86_64/fpu/Versions: New versions added.
7512         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7513         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
7514         build of SSE, AVX2 and AVX512 IFUNC versions.
7515         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
7516         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
7517         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
7518         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
7519         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
7520         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
7521         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
7522         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
7523         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
7524         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
7525         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
7526         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
7527         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
7528         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
7529         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7530         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7531         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7532         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7533         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7534         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7535         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7536         * NEWS: Mention addition of x86_64 vector pow.
7538         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7539         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
7540         redirections for expf.
7541         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7542         * sysdeps/x86_64/fpu/Versions: New versions added.
7543         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7544         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
7545         build of SSE, AVX2 and AVX512 IFUNC versions.
7546         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
7547         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
7548         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
7549         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
7550         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
7551         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
7552         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
7553         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
7554         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
7555         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
7556         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
7557         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
7558         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
7559         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7560         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7561         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7562         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7563         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7564         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7565         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7566         * NEWS: Mention addition of x86_64 vector expf.
7568         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
7569         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
7570         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
7571         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
7572         redirections for exp.
7573         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7574         * sysdeps/x86_64/fpu/Versions: New versions added.
7575         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7576         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
7577         build of SSE, AVX2 and AVX512 IFUNC versions.
7578         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
7579         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
7580         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
7581         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
7582         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
7583         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
7584         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
7585         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
7586         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
7587         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
7588         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
7589         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
7590         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
7591         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7592         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7593         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7594         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7595         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7596         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7597         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7598         * NEWS: Mention addition of x86_64 vector exp.
7600         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7601         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
7602         redirections for logf.
7603         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7604         * sysdeps/x86_64/fpu/Versions: New versions added.
7605         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7606         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
7607         build of SSE, AVX2 and AVX512 IFUNC versions.
7608         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
7609         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
7610         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
7611         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
7612         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
7613         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
7614         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
7615         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
7616         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
7617         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
7618         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
7619         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
7620         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
7621         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7622         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7623         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7624         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7625         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7626         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7627         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7628         * NEWS: Mention addition of x86_64 vector logf.
7630         * bits/libm-simd-decl-stubs.h: Added stubs for log.
7631         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
7632         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
7633         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
7634         redirections for log.
7635         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7636         * sysdeps/x86_64/fpu/Versions: New versions added.
7637         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7638         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
7639         build of SSE, AVX2 and AVX512 IFUNC versions.
7640         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
7641         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
7642         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
7643         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
7644         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
7645         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
7646         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
7647         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
7648         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
7649         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
7650         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
7651         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
7652         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
7653         test.
7654         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7655         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7656         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7657         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7658         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7659         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7660         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7661         * NEWS: Mention addition of x86_64 vector log.
7663 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7665         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
7666         cfi_adjust_cfa_offset argument.
7667         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
7668         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
7670         [BZ #18034]
7671         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
7672         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
7673         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
7674         ordering using ldar.
7675         (_dl_tlsdesc_dynamic): Likewise.
7676         (_dl_tlsdesc_return_lazy): Likewise.
7677         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
7678         relaxed atomics instead of volatile and synchronize with release store.
7679         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
7680         volatile.
7681         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7683 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
7685         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7686         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
7687         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7688         * sysdeps/x86_64/fpu/Versions: New versions added.
7689         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7690         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
7691         build of SSE, AVX2 and AVX512 IFUNC versions.
7692         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
7693         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
7694         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
7695         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
7696         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
7697         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
7698         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
7699         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
7700         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
7701         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
7702         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
7703         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
7704         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
7705         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7706         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7707         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7708         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7709         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7710         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7711         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7712         * NEWS: Mention addition of x86_64 vector sinf.
7714 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
7716         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
7717         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
7718         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
7719         Remove variable.
7720         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
7721         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
7723 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
7725         [BZ #18530]
7726         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
7727         strong alias of _IO_fputs.  Use libc_hidden_def.
7728         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
7729         and define as weak alias of __fputs_unlocked.  Use
7730         libc_hidden_weak.
7731         * include/stdio.h (__fputs_unlocked): Declare.  Use
7732         libc_hidden_proto.
7733         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
7734         fputs_unlocked.
7736         [BZ #18529]
7737         * resolv/netdb.h [__USE_POSIX]: Change condition to
7738         [__USE_XOPEN2K].
7739         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
7740         not expect.
7741         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
7742         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
7743         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
7744         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
7745         [XPG4 || UNIX98] (AI_ALL): Likewise.
7746         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
7747         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
7748         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
7749         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
7750         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
7751         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
7752         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
7753         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
7754         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
7755         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
7756         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
7757         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
7758         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
7759         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
7760         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
7761         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
7762         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
7763         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
7764         [XPG4 || UNIX98] (gai_strerror): Likewise.
7765         [XPG4 || UNIX98] (getaddrinfo): Likewise.
7766         [XPG4 || UNIX98] (getnameinfo): Likewise.
7768         [BZ #18528]
7769         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
7770         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
7771         __USE_XOPEN2K8].
7772         (getgrent): Likewise.
7773         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
7774         expect.
7775         [XPG3 || POSIX2008] (endgrent): Likewise.
7776         [XPG3] (setgrent): Likewise.
7777         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
7778         variable.
7779         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
7781         [BZ #18527]
7782         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
7783         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
7784         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
7785         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
7786         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
7787         * include/unistd.h (__getlogin_r): Declare.  Use
7788         libc_hidden_proto.
7789         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
7790         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
7791         variable.
7792         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
7793         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
7794         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
7796 2015-06-12  Martin Sebor  <msebor@redhat.com>
7798         [BZ #18512]
7799         * Makerules (check-install-supported): New target.
7800         (install): Add check-install-supported as a dependency.
7801         * manual/install.texi (Installing the C Library): Document
7802         that overriding prefix and exec_prefix is not supported.
7803         Mention DESTDIR.
7804         * INSTALL: Regenerate from the above.
7806 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
7808         [BZ #18519]
7809         * posix/Versions (libc): Export __libc_pread at version
7810         GLIBC_PRIVATE.
7811         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
7812         instead of pread.
7813         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
7814         variable.
7816         [BZ #18522]
7817         * misc/efgcvt_r.c
7818         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
7819         (cvt_symbol): Use weak_alias instead of strong_alias.
7820         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
7821         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
7822         Remove variable.
7823         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
7824         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
7826         [BZ #18520]
7827         * inet/herrno.c (h_errno): Rename to __h_errno.
7828         (__libc_h_errno): Define as alias of __h_errno not h_errno.
7829         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
7830         to __h_errno instead of h_errno.
7831         * nptl/herrno.c (h_errno): Rename to __h_errno.
7832         (__h_errno_location): Refer to __h_errno not h_errno.
7833         * resolv/Versions (h_errno): Rename to __h_errno.
7834         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
7835         Remove variable.
7836         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
7838 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
7840         * configure.ac: More strict check for AVX512 assembler support.
7841         * configure: Regenerated.
7843         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
7844         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
7845         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
7846         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
7847         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7848         * sysdeps/x86_64/fpu/Versions: New versions added.
7849         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7850         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7851         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7852         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
7853         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
7854         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
7855         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
7856         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
7857         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
7858         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
7859         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
7860         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
7861         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
7862         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
7863         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
7864         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
7865         test.
7866         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7867         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7868         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7869         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7870         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7871         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7872         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7873         * NEWS: Mention addition of x86_64 vector sin.
7875 2015-06-11  Florian Weimer  <fweimer@redhat.com>
7877         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
7878         comment.
7880 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7882         [BZ #18479]
7883         * nptl/pt-interp.c: New file.
7884         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
7885         Add pt-interp.
7886         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
7887         $(common-objpfx)runtime-linker.h.
7889 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
7891         * Makeconfig (+interp): Remove unused variable.
7892         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
7893         only.  Depend on $(common-objpfx)runtime-linker.h instead of
7894         $(elf-objpfx)runtime-linker.h.
7895         ($(elf-objpfx)runtime-linker.h): Rename to
7896         $(common-objpfx)runtime-linker.h and move ...
7897         * Makerules [$(build-shared) = yes]: ... here.
7898         * elf/interp.c: Include <runtime-linker.h> instead of
7899         <elf/runtime-linker.h>.
7901 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7903         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
7904         (__gettimeofday_syscall): Remove vsyscall fallback.
7905         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
7906         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
7907         Add syscall fallback function.
7908         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
7909         if vDSO is not present.
7910         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
7911         fallback function.
7912         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
7913         present.
7914         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
7915         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7917 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
7919         [BZ #18497]
7920         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
7921         of wcscmp.
7922         (wcscmp): Define as weak alias of WCSCMP.
7923         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
7924         wcscoll.
7925         (USE_HIDDEN_DEF): Define.
7926         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
7927         __wcscoll.  Don't use libc_hidden_weak.
7928         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
7929         wcscmp.
7930         * sysdeps/i386/i686/multiarch/wcscmp-c.c
7931         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
7932         __GI_wcscmp.
7933         (weak_alias): Undefine and redefine.
7934         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
7935         __wcscmp and define as weak alias of __wcscmp.
7936         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
7937         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
7938         (__wcscoll): Likewise.
7939         (wcscmp): Don't use libc_hidden_proto.
7940         (wcscoll): Likewise.
7941         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
7942         wcscoll.
7943         * posix/regexec.c (check_node_accept_bytes): Likewise.
7944         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
7945         variable.
7946         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
7947         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
7949         [BZ #18507]
7950         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
7951         __fstatvfs and define as weak alias of __fstatvfs.  Use
7952         libc_hidden_weak.
7953         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
7954         and define as weak alias of __statvfs.  Use libc_hidden_weak.
7955         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
7956         Define as alias of __fstatvfs, not fstatvfs.
7957         (fstatvfs64): Likewise.
7958         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
7959         Define as alias of __statvfs, not statvfs.
7960         (statvfs64): Likewise.
7961         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
7962         Remove variable.
7964 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7967         (HAVE_GETCPU_VSYSCALL): Define.
7968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7969         (HAVE_GETCPU_VSYSCALL): Likewise.
7970         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
7971         * sysdeps/unix/sysv/linux/sched_getcpu.c
7972         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
7973         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
7974         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
7975         prototype.
7976         * sysdeps/unix/sysv/linux/x86_64/init-first.c
7977         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
7978         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
7979         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
7980         Define.
7981         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
7982         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7983         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
7984         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7986 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
7988         * sysdeps/x86_64/fpu/Makefile: New file.
7989         * sysdeps/x86_64/fpu/Versions: New file.
7990         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
7991         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
7992         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
7993         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
7994         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
7995         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
7996         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
7997         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
7998         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
7999         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
8000         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
8001         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
8002         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
8003         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8004         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8005         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
8006         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
8007         * sysdeps/x86_64/configure.ac: Options for libmvec build.
8008         * sysdeps/x86_64/configure: Regenerated.
8009         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
8010         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
8011         * manual/install.texi (Configuring and compiling): Document
8012         --disable-mathvec.
8013         * INSTALL: Regenerated.
8014         * NEWS: Mention addition of libmvec and x86_64 vector cos.
8016         * math/Makefile: Added rules for vector tests.
8017         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
8018         declaration under condition.
8019         * math/test-double-vlen2.h: New file.
8020         * math/test-double-vlen4.h: New file.
8021         * math/test-double-vlen8.h: New file.
8022         * math/test-vec-loop.h: Added initialization macro.
8023         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
8024         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
8025         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
8026         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
8027         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
8028         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
8029         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
8030         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
8031         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
8032         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
8033         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
8035         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8036         * sysdeps/x86_64/fpu/Versions: New versions added.
8037         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
8038         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
8039         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
8040         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
8041         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
8042         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
8043         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
8044         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
8045         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
8046         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
8047         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
8048         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
8049         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
8050         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8051         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8052         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8053         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
8054         * NEWS: Mention addition of x86_64 vector cosf.
8056         * math/Makefile: Added CFLAGS for new tests.
8057         * math/test-float-vlen16.h: New file.
8058         * math/test-float-vlen4.h: New file.
8059         * math/test-float-vlen8.h: New file.
8060         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
8061         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
8062         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8063         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
8064         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
8065         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
8066         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
8067         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
8068         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
8069         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
8070         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
8072 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
8074         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
8075         * locale/programs/ld-ctype.c: Likewise.
8077 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
8079         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
8080         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
8081         bit_ZMM16_31_state): New macro.
8082         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8083         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
8085 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
8087         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
8089 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
8091         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
8093 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
8095         [BZ #18498]
8096         * libio/memstream.c (open_memstream): Rename to __open_memstream
8097         and define as weak alias of __open_memstream.
8098         * include/stdio.h (__open_memstream): Declare.  Use
8099         libc_hidden_proto.
8100         (open_memstream): Don't use libc_hidden_proto.
8101         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
8102         open_memstream.
8103         * posix/getopt.c (_getopt_internal_r): Likewise.
8104         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
8105         variable.
8106         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8107         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8108         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8110         [BZ #18496]
8111         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
8112         instead of wcrtomb.
8114         [BZ #18483]
8115         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
8116         [__USE_XOPEN2K8].  Remove redundant #endif.
8117         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
8118         Remove redundant #if.
8119         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
8120         Remove variable.
8121         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8122         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8124         [BZ #18495]
8125         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
8126         (__iswlower): Likewise.
8127         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
8128         (__iswlower): Likewise.
8129         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
8130         instead of towlower.
8131         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
8132         instead of iswlower.  Call __towupper instead of towupper.
8133         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
8134         instead of iswalnum.
8136 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8138         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
8139         errors to stderr.
8141 2015-06-05  Florian Weimer  <fweimer@redhat.com>
8143         [BZ #15661]
8144         [BZ #17322]
8145         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8146         Check for overflow properly.  Check for O_APPEND.  Ignore large
8147         file system block sizes.  Add comments about problems.
8148         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
8149         * manual/filesys.texi (Storage Allocation): New node.
8151 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8153         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
8154         cancellable syscalls.
8155         (SYS_ify): Add guard to no redefine it.
8156         (INLINE_SYSCALL): Likewise.
8157         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
8158         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
8159         SYSCALL_CANCEL instead.
8160         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
8161         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8162         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8163         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8164         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8165         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
8166         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
8167         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
8168         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8169         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8170         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
8171         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
8172         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
8173         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
8174         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
8175         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8176         Likewise.
8177         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8178         (__libc_pread64): Likewise.
8179         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
8180         (__libc_preadv): Likewise.
8181         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
8182         (__libc_readv64): Likewise.
8183         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8184         (__libc_pwrite): Likewise.
8185         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8186         (__libc_pwrite64): Likewise.
8187         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
8188         (__libc_pwritev): Likewise.
8189         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
8190         (__libc_pwritev64): Likewise.
8191         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
8192         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8193         (sync_file_range): Likewise.
8194         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
8195         Likewise.
8196         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
8197         Likewise.
8198         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8199         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8200         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8201         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8202         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8203         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8204         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8205         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
8206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8207         Likewise.
8208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8209         (__libc_read64): Likewise.
8210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
8211         Likewise.
8212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
8213         Likewise.
8214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
8215         Likewise.
8216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
8217         Likewise.
8218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8219         (__libc_pread64): Likewise.
8220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
8221         Likewise.
8222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8223         (__libc_pwrite64): Likewise.
8224         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
8225         (sync_file_range): Likewise.
8226         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
8227         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8228         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8229         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
8230         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
8231         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8232         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8233         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
8234         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
8235         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8236         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8237         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8238         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8239         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8240         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
8241         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8242         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8243         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8244         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8245         Likewise.
8246         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
8247         Likewise.
8248         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
8249         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
8250         Likewise.
8251         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
8252         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
8253         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
8254         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
8255         Likewise.
8256         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
8257         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
8258         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
8259         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
8260         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
8262 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
8264         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
8265         Include dl-vdso.
8266         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
8267         Use VDSO routines for gettimeofday, clock_gettime if
8268         available.
8269         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
8270         Declare VDSO symbols.
8271         * sysdeps/unix/sysv/linux/arm/sysdep.h:
8272         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
8273         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
8274         * sysdeps/unix/sysv/linux/arm/Versions: Add
8275         __vdso_clock_gettime.
8277 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8279         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
8280         be an inline implementation regardless of library is built within.
8281         (open_not_cancel_2): Likewise.
8282         (__read_nocancel): Likewise.
8283         (__write_nocancel): Likewise.
8284         (openat_not_cancel): Likewise.
8285         (openat_not_cancel_3): Likewise.
8286         (openat64_not_cancel): Likewise.
8287         (openat64_not_cancel_3): Likewise.
8288         (__close_nocancel): Likewise.
8289         (pause_not_cancel): Likewise.
8290         (nanosleep_not_cancel): Likewise.
8291         (sigsuspend_not_cancel): Likewise.
8293 2015-06-04  Torvald Riegel  <triegel@redhat.com>
8295         [BZ #14958]
8296         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
8297         wake-up.
8298         (__pthread_rwlock_rdlock_slow): Likewise.
8299         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8300         Likewise.
8301         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
8302         Likewise.
8303         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
8304         * nptl/tst-rwlock16.c: New file.
8305         * nptl/Makefile (tests): Add new test.
8307 2015-06-04  Torvald Riegel  <triegel@redhat.com>
8309         [BZ #18324]
8310         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
8311         missing wake-up of readers.
8312         * nptl/tst-rwlock15.c: New file.
8313         * nptl/Makefile (tests): Add new test.
8315 2015-06-03  Roland McGrath  <roland@hack.frob.com>
8317         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
8318         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
8319         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
8320         and __nacl_supply_interface_rtld.
8321         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
8322         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
8323         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
8324         Add __nacl_supply_interface_rtld.
8325         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
8327 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
8329         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
8330         isfinite.
8331         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8332         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
8334 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
8336         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
8337         __signbit* with standard C99 macros.
8338         * math/e_exp10l.c: Likewise.
8339         * math/e_exp2l.c: Likewise.
8340         * math/e_scalb.c: Likewise.
8341         * math/e_scalbf.c: Likewise.
8342         * math/e_scalbl.c: Likewise.
8343         * math/s_ldexp.c: Likewise.
8344         * math/s_ldexpf.c: Likewise.
8345         * math/s_ldexpl.c: Likewise.
8346         * math/w_atan2.c: Likewise.
8347         * math/w_atan2f.c: Likewise.
8348         * math/w_atan2l.c: Likewise.
8349         * math/w_cosh.c: Likewise.
8350         * math/w_coshf.c: Likewise.
8351         * math/w_coshl.c: Likewise.
8352         * math/w_exp10.c: Likewise.
8353         * math/w_exp10f.c: Likewise.
8354         * math/w_exp10l.c: Likewise.
8355         * math/w_exp2.c: Likewise.
8356         * math/w_exp2f.c: Likewise.
8357         * math/w_exp2l.c: Likewise.
8358         * math/w_fmod.c: Likewise.
8359         * math/w_fmodf.c: Likewise.
8360         * math/w_fmodl.c: Likewise.
8361         * math/w_hypot.c: Likewise.
8362         * math/w_hypotf.c: Likewise.
8363         * math/w_hypotl.c: Likewise.
8364         * math/w_jnl.c: Likewise.
8365         * math/w_lgamma.c: Likewise.
8366         * math/w_lgamma_r.c: Likewise.
8367         * math/w_lgammaf.c: Likewise.
8368         * math/w_lgammaf_r.c: Likewise.
8369         * math/w_lgammal.c: Likewise.
8370         * math/w_lgammal_r.c: Likewise.
8371         * math/w_pow.c: Likewise.
8372         * math/w_powf.c: Likewise.
8373         * math/w_powl.c: Likewise.
8374         * math/w_remainder.c: Likewise.
8375         * math/w_remainderf.c: Likewise.
8376         * math/w_remainderl.c: Likewise.
8377         * math/w_scalb.c: Likewise.
8378         * math/w_scalbf.c: Likewise.
8379         * math/w_scalbl.c: Likewise.
8380         * math/w_scalbln.c: Likewise.
8381         * math/w_scalblnf.c: Likewise.
8382         * math/w_scalblnl.c: Likewise.
8383         * math/w_sinh.c: Likewise.
8384         * math/w_sinhf.c: Likewise.
8385         * math/w_sinhl.c: Likewise.
8386         * math/w_tgamma.c: Likewise.
8387         * math/w_tgammaf.c: Likewise.
8388         * math/w_tgammal.c: Likewise.
8389         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8390         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
8391         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8392         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8393         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8394         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8395         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8396         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8397         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8398         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8399         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8400         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8401         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8402         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8403         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8404         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8405         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8406         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8407         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8408         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8409         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8410         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8411         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8412         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8413         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8414         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8415         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
8416         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8417         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8418         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8419         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
8420         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
8421         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
8422         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
8423         * stdio-common/printf_fp.c: Likewise.
8424         * stdio-common/printf_fphex.c: Likewise.
8425         * stdio-common/printf_size.c: Likewise.
8427 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
8429         [BZ #18470]
8430         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
8431         strnlen.
8432         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
8433         Remove variable.
8434         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8435         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8436         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8437         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8438         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8439         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8440         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8441         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8442         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8443         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8445         [BZ #18468]
8446         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
8447         weak alias of __wmemchr.  Use libc_hidden_weak.
8448         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
8449         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
8450         instead of wmemchr.
8452 2015-06-02  Roland McGrath  <roland@hack.frob.com>
8454         [BZ #18383]
8455         * elf/tst-tlsalign-extern.c: New file.
8456         * elf/tst-tlsalign-extern-static.c: New file.
8457         * elf/tst-tlsalign-vars.c: New file.
8458         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
8459         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
8460         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
8461         ($(objpfx)tst-tlsalign-extern-static): Likewise.
8462         (test-xfail-tst-tlsalign-extern-static): New variable.
8464 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
8466         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
8467         Use variable name _sc_err instead of err.
8468         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
8469         instead of ret.
8470         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
8471         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
8472         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
8473         (INLINE_SYSCALL): Likewise.
8475         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
8476         * include/string.h (__strnlen): Use libc_hidden_proto.
8477         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
8478         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
8479         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
8480         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
8481         (libc_hidden_def): Undefine and redefine.
8482         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
8483         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
8484         __GI_strnlen.
8485         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
8486         libc_hidden_def.
8487         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
8489         [BZ #18469]
8490         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
8491         weak alias of __towlower.  Use libc_hidden_weak.
8492         (towupper): Rename to __towupper and define as weak alias of
8493         __towupper.  Use libc_hidden_weak.
8494         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
8495         (__towupper): Likewise.
8496         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
8497         __towlower instead of towlower.
8499 2015-06-02  Roland McGrath  <roland@hack.frob.com>
8501         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
8502         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
8504 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8506         * sysdeps/aarch64/libm-test-ulps: Update.
8508 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8510         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
8511         Define.
8512         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
8513         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8514         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
8515         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
8516         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
8517         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
8518         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
8520 2015-06-01  Martin Sebor  <msebor@redhat.com>
8522         [BZ #18116]
8523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8524         (__setcontext): Use extended four-operand version of mtsf whenever
8525         possible.
8526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8527         (__novec_swapcontext): Likewise.
8529 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8531         * benchtests/scripts/compare_bench.py: New file.
8532         * benchtests/scripts/import_bench.py (mean): New function.
8533         (split_list): Likewise.
8534         (do_for_all_timings): Likewise.
8535         (compress_timings): Likewise.
8537         * benchtests/scripts/import_bench.py: New file.
8538         * benchtests/scripts/validate_benchout.py: Import import_bench
8539         instead of jsonschema.
8540         (validate_bench): Remove function.
8541         (main): Use import_bench.
8543 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
8545         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
8546         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
8548 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8552 2015-05-28  Roland McGrath  <roland@hack.frob.com>
8554         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
8555         set THREAD_SELF->tid to a magic value and futex-wake it.
8556         Pass its address to the thread_exit system call.
8557         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
8558         bit is clear.
8559         * sysdeps/nacl/lowlevellock.h: New file.
8560         * sysdeps/nacl/lll_timedwait_tid.c: New file.
8562         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
8563         Add TIMEOUT to current time, don't subtract it.
8565 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
8567         [BZ #2981]
8568         [BZ #18422]
8569         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
8570         ($(objpfx)tst-audit2.out): Also depend on
8571         $(objpfx)tst-auditmod9b.so.
8572         * elf/tst-audit2.c: Include <dlfcn.h>.
8573         (calloc_called): New.
8574         (calloc): Allow to be called more than once.
8575         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
8577 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
8579         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
8580         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
8582 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
8584         * stdlib/monetary.h: Fix comment.
8586 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
8588         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
8589         Avoid using variables in #defines that might cause shadowing.
8590         (INTERNAL_VSYSCALL_CALL): Likewise.
8592 2015-05-26  Roland McGrath  <roland@hack.frob.com>
8594         * sysdeps/nacl/lll_timedlock_wait.c: New file.
8596         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
8597         * nptl/lll_timedlock_wait.c: ... to this new file.
8598         * nptl/Makefile (libpthread-routines): Add it.
8599         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
8600         * nptl/lll_timedwait_tid.c: ... to this new file.
8601         * nptl/Makefile (libpthread-routines): Add it.
8602         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
8603         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
8604         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
8605         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
8606         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
8607         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
8608         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
8609         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
8610         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
8611         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
8613 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8615         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
8616         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8617         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
8618         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
8619         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8620         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8621         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
8622         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8623         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
8624         * sysdeps/unix/sysv/linux/tile/sysdep.h
8625         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
8626         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
8627         using vDSO syscall macro.
8629 2015-05-26  Andriy Rysin  <arysin@gmail.com>
8631         [BZ #17293]
8632         * uk_UA: Fix sorting order for Ukrainian locale
8634 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
8636         * stdlib/monetary.h: Fix comment.
8638 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8640         [BZ #18234]
8641         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
8642         st_mtim and st_ctim members.
8643         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
8644         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
8645         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
8646         (struct stat64): Likewise.
8647         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
8648         (struct stat64): Likewise.
8649         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
8650         (struct stat64): Likewise.
8652 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8654         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
8655         Define and include sysdep-vdso.h.
8656         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
8657         Likewise.
8658         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
8659         Likewise.
8660         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
8661         Define with VDSO_SYMBOL and use PTR_MANGLE.
8662         (__vdso_clock_gettime): Likewise.
8663         (__vdso_clock_getres): Likewise.
8664         (_libc_vdso_platform_setup): Likewise.
8665         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8666         Likewise.
8667         (_libc_vdso_platform_setup): Likewise.
8668         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
8669         Likewise.
8670         (__vdso_clock_gettime): Likewise.
8671         (__vdso_clock_getres): Likewise.
8672         (__vdso_get_tbfreq): Likewise.
8673         (__vdso_getcpu): Likewise.
8674         (__vdso_time): Likewise.
8675         (__vdso_sigtramp_rt64): Likewise.
8676         (__vdso_signtramp32): Likewise.
8677         (__vdso_sigtramp_rt32): Likewise.
8678         (_libc_vdso_platform_setup): Likewise.
8679         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
8680         Likewise.
8681         (__vdso_clock_gettime): Likewise.
8682         (__vdso_clock_getres): Likewise.
8683         (_libc_vdso_platform_setup): Likewise.
8684         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
8685         Likewise.
8686         (__vdso_clock_gettime): Likewise.
8687         (_libc_vdso_platform_setup): Likewise.
8688         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8689         Likewise.
8690         (__vdso_getcpu): Likewise.
8691         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
8692         Use VDSO_SYMBOL macro to define.
8693         (__vdso_clock_gettime): Likewise.
8694         (__vdso_clock_getres): Likewise.
8695         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
8696         Likewise.
8697         (__vdso_clock_gettime): Likewise.
8698         (__vdso_clock_getres): Likewise.
8699         (__vdso_get_tbfreq): Likewise.
8700         (__vdso_getcpu): Likewise.
8701         (__vdso_time): Likewise.
8702         (__vdso_sigtramp_rt64): Likewise.
8703         (__vdso_signtramp32): Likewise.
8704         (__vdso_sigtramp_rt32): Likewise.
8705         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
8706         Likewise.
8707         (__vdso_clock_gettime): Likewise.
8708         (__vdso_clock_getres): Likewise.
8709         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
8710         Likewise.
8711         (__vdso_clock_gettime): Likewise.
8712         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8713         Likewise.
8714         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
8715         macro.
8716         (INTERNAL_VSYSCALL): Likewise.
8717         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
8718         Remove macro.
8719         (INTERNAL_VSYSCALL): Likewise.
8720         (INTERNAL_VSYSCALL_NCS): Likewise.
8721         (INTERNAL_VSYSCALL_CALL): New macro.
8722         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
8723         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
8724         Likewise.
8725         (INTERNAL_VSYSCALL): Likewise.
8726         (INTERNAL_VSYSCALL_NCS): Likewise.
8727         (INTERNAL_VSYSCALL_CALL): New macro.
8728         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
8729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8730         (INLINE_VSYSCALL): Remove macro.
8731         (INTERNAL_VSYSCALL): Remove macro.
8732         (INTERNAL_VSYSCALL_NCS): Remove macro.
8733         (INTERNAL_VSYSCALL_CALL): New macro.
8734         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
8735         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
8736         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
8737         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
8738         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
8739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8740         (INLINE_VSYSCALL): Remove macro.
8741         (INTERNAL_VSYSCALL): Likewise.
8742         (INTERNAL_VSYSCALL_NCS): Likewise.
8743         (INTERNAL_VSYSCALL_CALL): New macro.
8744         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
8745         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
8746         PTR_DEMANGLE on vDSO pointer.
8747         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
8748         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
8749         macro.
8750         (INTERNAL_SYSCALL): Likewise.
8751         (INTERNAL_VSYSCALL_NCS): Remove macro.
8752         (INTERNAL_VSYSCALL_CALL): New macro.
8753         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
8754         Remove macro.
8755         (INTERNAL_VSYSCALL): Likewise.
8756         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
8757         sysdep-vdso.h instead of libc-vdso.h.
8758         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
8759         definition.
8760         (INLINE_VSYSCALL): Likewise.
8761         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
8762         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
8763         definition.
8764         (INLINE_VSYSCALL): Likewise.
8765         (INTERNAL_VSYSCALL): Likewise.
8766         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
8767         * sysdeps/unix/sysv/linux/timespec_get.c
8768         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
8769         (timespec_get): Use ANSI prototype.
8770         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
8771         and definition for Linux.
8773 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
8775         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
8776         * include/libc-symbols.h: libmvec_hidden_* macro series added.
8778 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8780         [BZ #2981]
8781         [BZ #18410]
8782         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
8783         for missing DT_PLTRELSZ.
8785 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
8787         Remove obsolete aliases that broke 'locale -a'
8788         [BZ #18412]
8789         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
8790         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
8791         breaking some applications that use 'locale -a' output.
8792         Change the encoding of this file from Latin-1 to ASCII to avoid
8793         other potential problems with people grepping this file.
8795 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8797         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
8798         -fasynchronous-unwind-tables.
8799         (CFLAGS-sendto.c): Likewise.
8800         (CFLAGS-sendmsg.c): Likewise.
8801         (CFLAGS-connect.c): Likewise.
8802         (CFLAGS-recvmsg.c): Likewise.
8803         (CFLAGS-recvfrom.c): Likewise.
8804         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
8805         (SOCKETCALL): New macro: non-cancellable socketcall.
8806         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
8807         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
8808         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
8809         * sysdeps/unix/sysv/linux/accept.c: New file.
8810         * sysdeps/unix/sysv/linux/bind.c: Likewise.
8811         * sysdeps/unix/sysv/linux/connect.c: Likewise.
8812         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
8813         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
8814         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
8815         * sysdeps/unix/sysv/linux/listen.c: Likewise.
8816         * sysdeps/unix/sysv/linux/recv.c: Likewise.
8817         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
8818         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
8819         * sysdeps/unix/sysv/linux/send.c: Likewise.
8820         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
8821         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
8822         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
8823         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
8824         * sysdeps/unix/sysv/linux/socket.c: Likewise.
8825         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
8826         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
8827         prototype.
8828         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
8829         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
8830         instead of __internal_xxx function.
8831         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
8832         prototype.
8833         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
8834         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
8835         instead of __internal_xxx function.
8836         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
8837         prototype.
8838         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
8839         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
8840         instead of __internal_xxx function.
8841         * sysdeps/unix/sysv/linux/accept.S: Remove file.
8842         * sysdeps/unix/sysv/linux/bind.S: Likewise.
8843         * sysdeps/unix/sysv/linux/connect.S: Likewise.
8844         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
8845         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
8846         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
8847         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
8848         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
8849         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
8850         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
8851         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
8852         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8853         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
8854         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
8855         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
8856         * sysdeps/unix/sysv/linux/listen.S: Likewise.
8857         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
8858         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
8859         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
8860         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
8861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
8862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
8863         * sysdeps/unix/sysv/linux/recv.S: Likewise.
8864         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
8865         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
8866         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
8867         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8868         * sysdeps/unix/sysv/linux/send.S: Likewise.
8869         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
8870         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
8871         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
8872         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
8873         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
8874         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
8875         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
8876         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
8877         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
8878         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
8879         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
8880         socketcall is implemented in GLIBC.
8882 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
8884         * soft-fp/fmadf4.c: Include <libc-internal.h>.
8885         (__fma): Ignore uninitialized warnings around packing.
8886         * soft-fp/fmasf4.c: Include <libc-internal.h>.
8887         (__fmaf): Ignore uninitialized warnings around packing.
8888         * soft-fp/fmatf4.c: Include <libc-internal.h>.
8889         (__fmal): Ignore uninitialized warnings around packing.
8891         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
8892         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
8893         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
8894         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
8896         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
8897         switch statement into default case.
8898         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
8900         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
8901         a conditional in forcing "inexact".
8902         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8903         Likewise.
8905 2015-05-22  Roland McGrath  <roland@hack.frob.com>
8907         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8908         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
8909         for each INTERNAL_SYSCALL use.
8911 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
8913         [BZ #438]
8914         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
8915         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
8916         variable.
8918         [BZ #18444]
8919         * string/basename.c (basename): Rename to __basename and define as
8920         weak alias of __basename.  Use libc_hidden_weak.
8921         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
8922         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
8923         __basename instead of basename.
8924         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
8925         Remove variable.
8926         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8928 2015-05-18  Florian Weimer  <fweimer@redhat.com>
8930         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
8931         (_IO_JUMPS_FILE_plus): New.
8932         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
8933         _IO_CAST_FIELD_ACCESS.
8934         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
8935         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
8936         * libio/freopen.c (freopen): Likewise.
8937         * libio/freopen64.c (freopen64): Likewise.
8938         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
8939         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
8940         * libio/iofwide.c (_IO_fwide): Likewise.
8941         * libio/memstream.c (open_memstream): Likewise.
8942         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8943         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8944         * libio/oldiopopen.c (_IO_old_popen): Likewise.
8946 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
8948         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
8949         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
8950         NADJ.
8951         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
8952         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
8953         NADJ.
8954         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
8955         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
8956         NADJ.
8958         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
8959         (p == 4) case.
8961         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
8962         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
8963         Remove variable.
8964         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8965         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8966         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8968 2015-05-21  Florian Weimer  <fweimer@redhat.com>
8970         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
8971         Adjust jump table label generation macros.
8973 2015-05-21  Florian Weimer  <fweimer@redhat.com>
8975         * stdio-common/vfprintf.c (vfprintf): Move local variables
8976         args_malloced, specs, specs_malloced, and the code after
8977         do_positional to the printf_positional function.
8978         (printf_positional): New function.
8980 2015-05-21  Florian Weimer  <fweimer@redhat.com>
8982         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
8983         function.
8984         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
8985         STEP4_TABLE, process_arg): Move macro definitions
8986         out of the vfprintf function.  (Cosmetic change only.)
8988 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
8990         * benchtests/Makefile (stdio-common-bench): Define.
8991         (benchset): Add stdio-common-bench.
8992         * sprintf-inputs: New file.
8993         * sprintf-source.c: New file.
8995 2015-05-21  Andreas Schwab  <schwab@suse.de>
8997         [BZ #13028]
8998         [BZ #17053]
8999         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
9000         of struct __res_state.
9001         * resolv/res_send.c (__libc_res_nsend): Likewise.
9002         (get_nsaddr): New function.
9003         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
9004         statp directly.
9006 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
9008         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
9009         -D_POSIX_C_SOURCE=199506L.
9011         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
9013         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
9014         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
9015         Do not mention otherwise.
9016         [POSIX] (_XOPEN_VERSION): Do not expect.
9017         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
9018         [POSIX] (_POSIX2_C_BIND): Likewise.
9019         [POSIX] (_POSIX2_VERSION): Likewise.
9020         [POSIX] (_XOPEN_XPG2): Likewise.
9021         [POSIX] (_XOPEN_XPG3): Likewise.
9022         [POSIX] (_XOPEN_XPG4): Likewise.
9023         [POSIX] (_XOPEN_UNIX): Likewise.
9024         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
9025         [POSIX] (_POSIX_BARRIERS): Likewise.
9026         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
9027         [POSIX] (_POSIX_CPUTIME): Likewise.
9028         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
9029         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
9030         [POSIX] (_POSIX_SHELL): Likewise.
9031         [POSIX] (_POSIX_SPAWN): Likewise.
9032         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
9033         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
9034         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
9035         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
9036         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
9037         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
9038         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
9039         [POSIX] (_XBS5_LP64_OFF64): Likewise.
9040         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
9041         [POSIX] (_POSIX_TIMEOUTS): Likewise.
9042         [POSIX] (_POSIX2_PBS): Likewise.
9043         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
9044         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
9045         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
9046         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
9047         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
9048         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
9049         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
9050         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
9051         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
9052         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
9053         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
9054         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
9055         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
9056         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
9057         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
9058         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
9059         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
9060         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
9061         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
9062         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
9063         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
9064         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
9065         [POSIX] (_SC_2_C_BIND): Likewise.
9066         [POSIX] (_SC_2_C_VERSION): Likewise.
9067         [POSIX] (_SC_2_PBS): Likewise.
9068         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
9069         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
9070         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
9071         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
9072         [POSIX] (_SC_2_PBS_TRACK): Likewise.
9073         [POSIX] (_SC_ATEXIT_MAX): Likewise.
9074         [POSIX] (_SC_BARRIERS): Likewise.
9075         [POSIX] (_SC_BASE): Likewise.
9076         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
9077         [POSIX] (_SC_DEVICE_IO): Likewise.
9078         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
9079         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
9080         [POSIX] (_SC_FD_MGMT): Likewise.
9081         [POSIX] (_SC_FIFO): Likewise.
9082         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
9083         [POSIX] (_SC_FILE_LOCKING): Likewise.
9084         [POSIX] (_SC_FILE_SYSTEM): Likewise.
9085         [POSIX] (_SC_IOV_MAX): Likewise.
9086         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
9087         [POSIX] (_SC_NETWORKING): Likewise.
9088         [POSIX] (_SC_PAGE_SIZE): Likewise.
9089         [POSIX] (_SC_PASS_MAX): Likewise.
9090         [POSIX] (_SC_PIPE): Likewise.
9091         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
9092         [POSIX] (_SC_REGEXP): Likewise.
9093         [POSIX] (_SC_SHELL): Likewise.
9094         [POSIX] (_SC_SIGNALS): Likewise.
9095         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
9096         [POSIX] (_SC_SPIN_LOCKS): Likewise.
9097         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
9098         [POSIX] (_SC_USER_GROUPS): Likewise.
9099         [POSIX] (_SC_USER_GROUPS_R): Likewise.
9100         [POSIX] (_SC_STREAMS): Likewise.
9101         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
9102         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
9103         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
9104         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
9105         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
9106         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
9107         [POSIX] (_PC_FILESIZEBITS): Likewise.
9108         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
9109         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
9110         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
9111         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
9112         [POSIX] (uid_t): Likewise.
9113         [POSIX] (gid_t): Likewise.
9114         [POSIX] (off_t): Likewise.
9115         [POSIX] (pid_t): Likewise.
9116         [POSIX] (cuserid): Allow.
9117         (_SC_2_CHAR_TERM): Require constant.
9118         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
9119         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
9120         variable.
9122 2015-05-20  Roland McGrath  <roland@hack.frob.com>
9124         * sysdeps/nacl/pthread-pids.h: New file.
9125         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
9126         (create_thread): Use __nacl_get_tid to initialize PD->tid.
9128         * nptl/pthread-pids.h: New file.
9129         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
9130         * nptl/nptl-init.c: Include <pthread-pids.h>.
9131         (__pthread_initialize_minimal_internal):
9132         Call __pthread_initialize_pids instead of set_tid_address syscall.
9134         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
9135         * sysdeps/posix/usleep.c: ... here.
9137 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9139         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
9140         call_pselect6 object.
9141         [$(subdir) = io]: Remove call_sync_file_range object.
9142         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
9143         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
9144         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
9145         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
9147 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
9149         * math/s_cproj.c: Add include "math_private.h".
9150         * math/s_cprojf.c: Likewise.
9151         * math/s_cprojl.c: Likewise.
9153 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
9155         [BZ #18244]
9156         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
9157         high mantissa bit when testing whether P is a NaN.
9158         * math/libm-test.inc (remainder_test_data): Add more tests.
9159         (remquo_test_data): Likewise.
9161         [BZ #18049]
9162         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
9163         below -32, return the argument, with underflow if subnormal.
9164         * math/auto-libm-test-in: Add more tests of atanh.
9165         * math/auto-libm-test-out: Regenerated.
9167 2015-05-19  Roland McGrath  <roland@hack.frob.com>
9169         [BZ #18434]
9170         * nptl/tst-sem15.c: New file.
9171         * nptl/Makefile (tests): Add it.
9172         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
9173         s/<</>>/ to fix typo in EOVERFLOW check.
9174         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
9176 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9178         * manual/strings.texi (envz_remove): Fix typo in safety
9179         annotations.
9181 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
9182             Steve Ellcey  <sellcey@imgtec.com>
9184         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
9185         in order to avoid strict alias warnings.
9186         (iruserok_af): Ditto for ra.
9188 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
9190         [BZ #17581]
9191         * malloc/hooks.c
9192         (magicbyte): Convert to a function and avoid returning 0x01.
9193         (mem2mem_check): Avoid using a length byte equal to the magic byte.
9194         (mem2chunk_check): Fix unsigned comparisons to zero.
9195         Hoist defs of sz and magic.
9197 2015-05-19  Richard Henderson  <rth@redhat.com>
9199         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
9201         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9203 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9205         [BZ #16159]
9206         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
9207         * malloc/arena.c (arena_lock): Check if arena is corrupt.
9208         (reused_arena): Find a non-corrupt arena.
9209         (heap_trim): Pass arena to unlink.
9210         * malloc/hooks.c (malloc_check_get_size): Pass arena to
9211         malloc_printerr.
9212         (top_check): Likewise.
9213         (free_check): Likewise.
9214         (realloc_check): Likewise.
9215         * malloc/malloc.c (malloc_printerr): Add arena argument.
9216         (unlink): Likewise.
9217         (munmap_chunk): Adjust.
9218         (ARENA_CORRUPTION_BIT): New macro.
9219         (arena_is_corrupt): Likewise.
9220         (set_arena_corrupt): Likewise.
9221         (sysmalloc): Use mmap if there are no usable arenas.
9222         (_int_malloc): Likewise.
9223         (__libc_malloc): Don't fail if arena_get returns NULL.
9224         (_mid_memalign): Likewise.
9225         (__libc_calloc): Likewise.
9226         (__libc_realloc): Adjust for additional argument to
9227         malloc_printerr.
9228         (_int_free): Likewise.
9229         (malloc_consolidate): Likewise.
9230         (_int_realloc): Likewise.
9231         (_int_memalign): Don't touch corrupt arenas.
9232         * malloc/tst-malloc-backtrace.c: New test case.
9234         * Makefile (summarize-tests): Fix return value on success.
9236         * manual/string.texi (Envz Functions): Add envz_remove.
9238 2015-05-18  Roland McGrath  <roland@hack.frob.com>
9240         * sysdeps/posix/opendir.c: Include <stdbool.h>.
9241         (invalid_name): New function, broken out of ...
9242         (__opendirat): ... here.  Call it.
9243         (need_isdir_precheck): New function, broken out of ...
9244         (__opendirat): ... here.  Call it.
9245         Use __fxstatat64, not __xstatat64.
9246         (opendir_oflags): New function, broken out of ...
9247         (__opendirat): ... here.  Call it.
9248         (opendir_tail): New function, broken out of ...
9249         (__opendirat): ... here.  Call it.
9250         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
9251         opendir_tail, rather than punting to __opendirat.
9252         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
9254 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9256         * .gitignore: Ignore generated *.pyc.
9258 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
9260         * include/stdio.h: Define __need_wint_t.
9261         * test-skeleton.c: Avoid `for' loop initial declaration.
9262         * nptl/tst-initializers1.c: Use test-skeleton.c.
9264 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9266         [BZ #18418]
9267         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
9269 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
9271         [BZ #16352]
9272         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
9273         (__ieee754_atanh): Force underflow exception for results with
9274         small absolute value.
9275         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
9276         (__ieee754_atanhf): Force underflow exception for results with
9277         small absolute value.
9278         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
9279         (__ieee754_atanh): Force underflow exception for results with
9280         small absolute value.
9281         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
9282         (__ieee754_atanhf): Force underflow exception for results with
9283         small absolute value.
9284         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
9285         (__ieee754_atanhl): Force underflow exception for results with
9286         small absolute value.
9287         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
9288         (__ieee754_atanhl): Force underflow exception for results with
9289         small absolute value.
9290         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
9291         (__ieee754_atanhl): Force underflow exception for results with
9292         small absolute value.
9293         * math/auto-libm-test-in: Do not allow missing underflow
9294         exceptions from atanh.
9295         * math/auto-libm-test-out: Regenerated.
9297         [BZ #18221]
9298         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
9299         2**-28 as threshold for returning x or +/- 1/x.
9300         * math/auto-libm-test-in: Add more tests of tan.
9301         * math/auto-libm-test-out: Regenerated.
9303         [BZ #18220]
9304         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9305         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
9306         * math/auto-libm-test-in: Add another test of lgamma.
9307         * math/auto-libm-test-out: Regenerated.
9309 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
9311         * stdio-common/printf_fp.c (___printf_fp): Use abs.
9312         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
9313         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
9314         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
9315         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
9316         (ADD2A): Use fabs.  (SUB2A): Use fabs.
9317         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
9318         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
9319         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
9320         (log1): Use fabs.  (my_log2): Use fabs.
9321         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
9322         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
9323         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
9324         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
9325         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
9326         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
9327         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
9328         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
9329         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
9330         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
9331         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
9333 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
9335         [BZ #18217]
9336         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
9337         as threshold for returning 1 - x.
9338         * math/auto-libm-test-in: Add more tests of erfc.
9339         * math/auto-libm-test-out: Regenerated.
9341 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
9343         [BZ #18196]
9344         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
9345         threshold for large arguments.
9346         * math/auto-libm-test-in: Add another test of atan.
9347         * math/auto-libm-test-out: Regenerated.
9349         [BZ #16339]
9350         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
9351         (__log1p): Force underflow exception for results with small
9352         absolute value.
9353         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
9354         (__log1pf): Force underflow exception for results with small
9355         absolute value.
9356         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
9357         (__log1p): Force underflow exception for results with small
9358         absolute value.
9359         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
9360         (__log1pf): Force underflow exception for results with small
9361         absolute value.
9362         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
9363         (__log1pl): Force underflow exception for results with small
9364         absolute value.
9365         * math/auto-libm-test-in: Do not allow missing underflow
9366         exceptions from log1p.
9367         * math/auto-libm-test-out: Regenerated.
9369 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
9370             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9372         [BZ #16704]
9373         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
9375 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
9377         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
9378         (libmvec): New variable.
9379         * configure.ac: Added option for mathvec build.
9380         * configure: Regenerated.
9381         * mathvec/Depend: New file.
9382         * mathvec/Makefile: New file.
9383         * shlib-versions: Added libmvec.
9384         * math/Makefile: Added rule for libm.so installation.
9386         * bits/math-vector.h: New file.
9387         * bits/libm-simd-decl-stubs.h: New header.
9388         * math/Makefile (headers): Added new header
9389         libm-simd-decl-stubs.h.
9390         * math/math.h (__MATHCALL_VEC): New macro.
9392         * math/gen-libm-have-vector-test.sh: Script generates series of macros
9393         for conditions in testing functions.
9394         * math/Makefile: Added call of libm-have-vector-test.sh.
9395         * math/libm-test.inc (HAVE_VECTOR): New macros.
9397         * math/libm-test.inc: START refactored.
9398         * math/test-double.c (TEST_MATHVEC): Add define.
9399         * math/test-float.c: Likewise.
9400         * math/test-idouble.c: Likewise.
9401         * math/test-ifloat.c: Likewise.
9402         * math/test-ildoubl.c: Likewise.
9403         * math/test-ldouble.c: Likewise.
9404         * sysdeps/generic/math-tests-arch.h
9405         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
9406         architecture check.
9408         * math/test-double.c (FUNC_TEST): New macro.
9409         * math/test-float.c: Likewise.
9410         * math/test-idouble.c: Likewise.
9411         * math/test-ifloat.c: Likewise.
9412         * math/test-ildoubl.c: Likewise.
9413         * math/test-ldouble.c: Likewise.
9414         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
9416 2015-05-13  Roland McGrath  <roland@hack.frob.com>
9418         * sysdeps/nacl/fdopendir.c: New file.
9420         * dirent/scandir-tail.c: New file.
9421         * dirent/scandir64-tail.c: New file.
9422         * dirent/Makefile (routines): Add them.
9423         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
9424         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
9425         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
9426         [!SCANDIR] (SCANDIR_TAIL): New macro.
9427         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
9428         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
9429         (SCANDIRAT): Macro removed.
9430         (SCANDIR_TAIL): New macro.
9431         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
9432         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
9433         (SCANDIRAT): Just call __opendirat and __scandir_tail.
9434         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
9435         (READDIR): Macro removed.
9436         (SCANDIR_TAIL): New macro.
9437         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
9438         (SCANDIR_TAIL): New macro.
9440         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
9441         * dirent/scandir-cancel.c: ... to this new file.
9442         * dirent/Makefile (routines): Add it.
9443         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
9444         * sysdeps/unix/sysv/linux/i386/scandir64.c
9445         (SKIP_SCANDIR_CANCEL): Macro removed.
9446         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
9448         * dirent/tst-scandir.c: New file.
9449         * dirent/tst-scandir64.c: New file.
9450         * dirent/Makefile (tests): Add them.
9452 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
9454         [BZ #18409]
9455         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
9457 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9459         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
9460         list.
9462 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
9464         * benchtests/bench-strcoll.c: New benchmark.
9465         * benchtests/Makefile: Generate locales and run benchmark.
9466         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
9467         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
9468         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
9469         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
9470         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
9471         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
9472         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
9473         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
9474         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
9475         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
9476         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
9477         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
9478         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
9479         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
9480         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
9481         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
9482         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
9483         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
9484         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
9485         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
9486         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
9487         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
9488         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
9489         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
9491 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
9493         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
9494         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9496 2015-05-12  Roland McGrath  <roland@hack.frob.com>
9498         * posix/uname-values.h: New file.
9499         * posix/uname.c: Include that instead of <config-name.h>.
9500         * sysdeps/nacl/uname-values.h: New file.
9501         * sysdeps/arm/nacl/uname-values.h: New file.
9503 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
9505         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
9506         splitting into fields.
9508 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
9510         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
9511         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
9512         * locale/localeinfo.h: Add enum collation_encoding_type.
9513         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
9514         * programs/ld-collate.c (collate_output): Add encoding type info.
9515         * string/strcoll_l.c (STRDIFF): New function.
9516         * (STRCOLL): Use STRDIFF to skip over equal prefix.
9517         * wcsmbs/wcscoll_l.c: Define STRDIFF.
9519 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
9521         [BZ #18397]
9522         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
9523         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
9524         <fpu_control.h> instead of <math/fpu_control.c>.
9525         * sysdeps/mips/mips32/fpu/Makefile: New file.
9527 2015-05-11  Andreas Schwab  <schwab@suse.de>
9529         [BZ #18007]
9530         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
9531         nss_endgrent.
9532         (_nss_compat_endgrent): Call nss_endgrent.
9533         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
9534         nss_endpwent.
9535         (_nss_compat_endpwent): Call nss_endpwent.
9536         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
9537         needent, call nss_setspent only if non-zero.
9538         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
9539         (internal_endspent): Don't call nss_endspent.
9540         (_nss_compat_endspent): Call nss_endspent.
9541         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
9542         Remove.  All uses removed.
9543         (internal_setent): Remove parameter stayopen, add parameter
9544         stream.  Use it instead of global variable.
9545         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
9546         (internal_endent, internal_getent): Add parameter stream.  Use it
9547         instead of global variable.
9548         (CONCAT(_nss_files_end,ENTNAME))
9549         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
9550         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
9551         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
9552         uses removed.
9553         (internal_setent, internal_endent): Add parameter stream.  Use it
9554         instead of global variable.
9555         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
9556         stream.
9557         (get_next_alias): Add parameter stream.
9558         (_nss_files_getaliasent_r): Pass global stream.
9559         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
9560         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
9561         (_nss_files_gethostbyname4_r): Pass local stream to
9562         internal_setent, internal_getent and internal_endent.  Remove
9563         locking.
9565 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9567         * tst-strfmon1.c (tests): Update expected currency symbol.
9569 2015-05-08  Roland McGrath  <roland@hack.frob.com>
9571         * sysdeps/nacl/gethostname.c: New file.
9573 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
9575         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
9576         and sinh.
9577         * math/auto-libm-test-out: Regenerated.
9578         * sysdeps/i386/fpu/libm-test-ulps: Update.
9579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9581 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
9583         [BZ #18125]
9584         * stdlib/tst-setcontext3.c: New file.
9585         * stdlib/tst-setcontext3.sh: New file.
9586         * stdlib/Makefile (tests): Add tst-setcontext3.
9587         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
9588         to verify test program created output file.
9589         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
9590         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
9591         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
9592         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
9594 2015-05-06  Roland McGrath  <roland@hack.frob.com>
9596         [BZ #18383]
9597         * elf/tst-tlsalign.c: New file.
9598         * elf/tst-tlsalign-static.c: New file.
9599         * elf/tst-tlsalign-lib.c: New file.
9600         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
9601         (tests-static): Add tst-tlsalign-static.
9602         (modules-names): Add tst-tlsalign-lib.
9603         (test-xfail-tst-tlsalign): New variable.
9604         (test-xfail-tst-tlsalign-static): New variable.
9606         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
9607         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
9609 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
9611         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
9612         csqrt, erfc, sin and sincos.
9613         * math/auto-libm-test-out: Regenerated.
9614         * sysdeps/i386/fpu/libm-test-ulps: Update.
9615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9617 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9619         * sysdeps/aarch64/libm-test-ulps: Update.
9621 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
9623         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
9624         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
9625         * math/auto-libm-test-out: Regenerated.
9626         * sysdeps/i386/fpu/libm-test-ulps: Update.
9627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9629 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
9631         [BZ #18265]
9632         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
9633         (wcsncpy): Likewise.
9635 2015-05-05  Florian Weimer  <fweimer@redhat.com>
9637         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9638         Assume __ASSUME_FALLOCATE is always true.
9639         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9640         (__posix_fallocate64_l64): Likweise.
9641         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
9642         (posix_fallocate): Likewise.
9643         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
9644         (__posix_fallocate64_l64): Likewise.
9645         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9646         [!__ASSUME_FALLOCATE]: Add comment.
9648 2015-05-05  Florian Weimer  <fweimer@redhat.com>
9650         * sysdeps/unix/sysv/linux/i386/Makefile
9651         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
9652         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
9653         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
9654         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9655         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9656         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
9657         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
9659 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
9661         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
9662         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
9663         tgamma.
9664         * math/auto-libm-test-out: Regenerated.
9665         * sysdeps/i386/fpu/libm-test-ulps: Update.
9666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9668 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
9670         * math/auto-libm-test-in: Add more tests of tgamma.
9671         * math/auto-libm-test-out: Regenerated.
9672         * sysdeps/i386/fpu/libm-test-ulps: Update.
9673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9675         * math/auto-libm-test-in: Add more tests of tanh.
9676         * math/auto-libm-test-out: Regenerated.
9677         * sysdeps/i386/fpu/libm-test-ulps: Update.
9678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9680         * math/auto-libm-test-in: Add more tests of tan.
9681         * math/auto-libm-test-out: Regenerated.
9682         * sysdeps/i386/fpu/libm-test-ulps: Update.
9683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9685         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
9686         * math/auto-libm-test-out: Regenerated.
9687         * sysdeps/i386/fpu/libm-test-ulps: Update.
9688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9690         * math/auto-libm-test-in: Add another test of pow.
9691         * math/auto-libm-test-out: Regenerated.
9692         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9694         * math/auto-libm-test-in: Add more tests of lgamma.
9695         * math/auto-libm-test-out: Regenerated.
9696         * sysdeps/i386/fpu/libm-test-ulps: Update.
9697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9699         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
9700         log1p.
9701         * math/auto-libm-test-out: Regenerated.
9702         * sysdeps/i386/fpu/libm-test-ulps: Update.
9703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9705 2015-05-01  Mark Wielaard  <mjw@redhat.com>
9707         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
9708         Elf64_Chdr structs and ELFCOMPRESS constants.
9710 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
9712         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
9713         expm1.
9714         * math/auto-libm-test-out: Regenerated.
9715         * sysdeps/i386/fpu/libm-test-ulps: Update.
9716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9718         * math/auto-libm-test-in: Add more tests of erf and erfc.
9719         * math/auto-libm-test-out: Regenerated.
9720         * sysdeps/i386/fpu/libm-test-ulps: Update.
9721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9723 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9725         * config.h.in (HAVE_AARCH64_BE): Add.
9727 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
9729         * math/auto-libm-test-in: Add more tests of csqrt.
9730         * math/auto-libm-test-out: Regenerated.
9731         * sysdeps/i386/fpu/libm-test-ulps: Update.
9732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9734         * math/auto-libm-test-in: Add more tests of cosh and sinh.
9735         * math/auto-libm-test-out: Regenerated.
9736         * sysdeps/i386/fpu/libm-test-ulps: Update.
9737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9739         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
9741 2015-04-29  Roland McGrath  <roland@hack.frob.com>
9743         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
9744         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
9746         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
9747         (euidaccess, eaccess): Define as weak aliases.
9749         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
9750         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
9751         but __suseconds_t is often 'long int' so some sources assume that
9752         type is being used (e.g. they use %ld to print tv_usec).
9754 2015-04-29  Florian Weimer  <fweimer@redhat.com>
9756         [BZ #18007]
9757         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
9758         (CVE-2014-8121)
9759         * nss/tst-nss-getpwent.c: New file.
9760         * nss/Makefile (tests): Add new test.
9762 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
9764         [BZ #18346]
9765         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
9766         exponents less than 48 as cases where high part of mantissa needs
9767         examining to determine whether argument is integral.
9768         * math/libm-test.inc (round_test_data): Add more tests.
9770 2015-04-28  Mark Wielaard  <mjw@redhat.com>
9772         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
9774 2015-04-27  David S. Miller  <davem@davemloft.net>
9776         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
9777         __tls_get_addr.
9778         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9780 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
9782         [BZ#18333]
9783         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
9785 2015-04-27  Florian Weimer  <fweimer@redhat.com>
9787         [BZ#18333]
9788         * time/tzset.c (parse_tzname): Return error on memory allocation
9789         failure.
9790         * test-skeleton.c (struct temp_name_list): Change type of name
9791         member to non-const.
9792         (add_temp_file): Create a copy of the file name.
9793         (delete_temp_files): Deallocate memory.
9794         (create_temp_file): Add comment.
9796 2015-04-24  Florian Weimer  <fweimer@redhat.com>
9798         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
9799         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
9801 2015-04-24  Roland McGrath  <roland@hack.frob.com>
9803         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
9804         * sysdeps/arm/configure: Regenerated.
9806 2015-04-24  Florian Weimer  <fweimer@redhat.com>
9808         [BZ #17715]
9809         * time/tzfile.c (__tzfile_read): Check for large values of
9810         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
9811         * time/tzset.c (__tzstring_len): New function, based on the old
9812         __tzstring function.
9813         (__tzstring): Call __tzstring_len.
9814         (parse_tzname): New helper function extracted from
9815         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
9816         the input string.
9817         (parse_offset): New helper function extracted from
9818         __tzset_parse_tz.  Replace switch with fallthrough with
9819         initialization before sscanf.
9820         (parse_rule): Likewise.
9821         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
9822         new-style function definition.
9823         * timezone/Makefile (tests): Add tst-tzset.
9824         (tst-tzset.out): Dependencies on time zone files.
9825         (tst-tzset-ENV): Set TZDIR.
9826         (testdata/XT%): Copy crafted time zone files.
9827         * timezone/README: Mention crafted time zone files.
9828         * timezone/testdata/XT1, timezone/testdata/XT2,
9829         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
9830         files.
9831         * timezone/tst-tzset.c: New test.
9833 2015-04-24  Florian Weimer  <fweimer@redhat.com>
9835         * Makeconfig (+gccwarn): Remove -Winline.
9837 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9839         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
9841 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9843         * NEWS: Mention sysconf() cache information support for s390.
9844         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
9846 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
9848         * math/k_casinh.c (__kernel_casinh): Use __copysign.
9849         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
9850         (__nearbyint): Likewise.
9851         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
9852         (copysignl): Likewise.
9854 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
9856         [BZ #18287]
9857         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
9858         based on padding.  (CVE-2015-1781)
9860 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9862         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
9863         libc-vdso.h.
9864         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
9865         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
9866         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
9867         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9868         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9869         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
9870         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
9871         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9872         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9873         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
9874         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9875         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9876         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
9877         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
9878         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9879         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
9880         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
9881         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
9882         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
9883         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
9884         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
9885         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
9886         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
9888 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
9890         * stdlib/setenv.c (__add_to_environ):
9891         Dump core quickly if setenv (..., NULL, ...) is called.
9892         This time, do it the right way, and pacify GCC with a pragma.
9894 2015-04-17  Roland McGrath  <roland@hack.frob.com>
9896         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
9897         IMAP->l_prev cannot be null, and #if out the code for the contrary
9898         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
9899         believe that NS (&_dl_ns[NSID]) could point outside the array.
9901         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
9902         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
9903         before using NSID as an index.
9905 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
9907         [BZ #17825]
9908         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
9909         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
9910         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9912 2015-04-17  Roland McGrath  <roland@hack.frob.com>
9914         Add preliminary port to Google Native Client on ARM.
9915         * abi-tags (.*-.*-nacl.*): New entry.
9916         * sysdeps/arm/nacl: New directory.
9917         * sysdeps/nacl: New directory.
9919 2015-04-16  David S. Miller  <davem@davemloft.net>
9921         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
9922         lowlevellock-futex.h
9924 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
9926         * sysdeps/tile/configure.ac: New file.
9927         * sysdeps/tile/configure: Regenerated.
9929 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9931         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
9932         conditionals for weak_alias and libc_hidden_weak.
9933         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
9934         libc_hidden_weak and weak_alias.
9935         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
9936         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
9937         and weak_alias for static one.
9939 2015-04-15  David S. Miller  <davem@davemloft.net>
9941         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
9943 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9945         [BZ #18206]
9946         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
9947           Use signed comparision instead of substraction to avoid
9948           overflow bug.
9949         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
9950           Take the sign of ret.
9951         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
9952           Do not expect precise return values. Only the sign matters.
9953         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
9954         * wcsmbs/test-wcsncmp.c: New File.
9955         * string/test-strncmp.c: Add wcsncmp support.
9957 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9959         [BZ #6792]
9960         * math/w_log1p.c: New file.
9961         * math/w_log1pf.c: Likewise.
9962         * math/w_log1pl.c: Likewise.
9963         * math/Makefile (libm-calls): Add w_log1p.
9964         * math/s_log1pl.c (log1pl): Remove weak_alias.
9965         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
9966         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
9967         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
9968         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
9969         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
9970         [NO_LONG_DOUBLE] (log1pl): Likewise.
9971         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
9972         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
9973         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
9974         (log1p): Remove long_double_symbol.
9975         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
9976         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
9977         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
9978         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
9979         remove weak_alias for corresponding log1p function.
9980         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
9981         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9982         * sysdeps/ia64/fpu/w_log1p.c: New file.
9983         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
9984         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
9985         * math/libm-test.inc (log1p_test_data): Add errno expectations.
9987 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
9989         [BZ #18247]
9990         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
9991         decimal exponent by 1.
9992         * stdlib/tst-strtod-round-data: Add more tests.
9993         * stdlib/tst-strtod-round.c (tests): Regenerated.
9995 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
9997         * math/auto-libm-test-in: Add more tests of clog and clog10.
9998         * math/auto-libm-test-out: Regenerated.
9999         * sysdeps/i386/fpu/libm-test-ulps: Update.
10000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10002 2015-04-09  Roland McGrath  <roland@hack.frob.com>
10004         * Makeconfig (module-cppflags): Exclude all .v.i files.
10005         (skip-module-cppflags): Variable removed.
10007         * configure.ac (libc_config_ok): Initialize before reading
10008         preconfigure scripts, not after.
10009         * configure: Regenerated.
10011         * test-skeleton.c (TIMEOUT): Move #define to top level.
10012         (main): Grok environment variable TEST_DIRECT.  If set, print
10013         test expectation details into that file and then behave as if
10014         given --direct.
10016 2015-04-09  Florian Weimer  <fweimer@redhat.com>
10018         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
10019         warning on 32-bit.
10021 2015-04-08  David S. Miller  <davem@davemloft.net>
10023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10025 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
10027         * math/auto-libm-test-in: Add more tests of atanh.
10028         * math/auto-libm-test-out: Regenerated.
10029         * sysdeps/i386/fpu/libm-test-ulps: Update.
10030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10032         * math/auto-libm-test-in: Add more tests of atan.
10033         * math/auto-libm-test-out: Regenerated.
10034         * sysdeps/i386/fpu/libm-test-ulps: Update.
10035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10037 2015-04-08  Florian Weimer  <fweimer@redhat.com>
10039         * elf/pldd.c (main): Rewrite to use struct
10040         scratch_buffer instead of extend_alloca.
10041         * elf/pldd-xx.c (find_maps): Likewise.
10042         * grp/initgroups.c: Include <scratch_buffer.h> instead of
10043         <alloca.h>.
10044         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
10045         scratch_buffer instead of extend_alloca.
10046         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
10047         grp/compat-initgroups.c.
10048         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
10049         Rewrite to use struct scratch_buffer instead of extend_alloca.
10050         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
10051         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10053 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
10055         * math/auto-libm-test-in: Add more tests of cbrt.
10056         * math/auto-libm-test-out: Regenerated.
10057         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10059         * math/auto-libm-test-in: Add more tests of cabs.
10060         * math/auto-libm-test-out: Regenerated.
10061         * sysdeps/i386/fpu/libm-test-ulps: Update.
10062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10064         [BZ #18210]
10065         [BZ #18211]
10066         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
10067         (__ieee754_atan2): Set FE_TONEAREST mode for internal
10068         computations.
10069         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
10070         clog10.
10071         * math/auto-libm-test-out: Regenerated.
10072         * sysdeps/i386/fpu/libm-test-ulps: Update.
10073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10075         [BZ #18197]
10076         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
10077         (atan): Set FE_TONEAREST mode for internal computations.
10078         * math/auto-libm-test-in: Add more tests of atan.
10079         * math/auto-libm-test-out: Regenerated.
10081 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
10083         [BZ #17930]
10084         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
10086 2015-04-07  Florian Weimer  <fweimer@redhat.com>
10088         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
10090 2015-04-07  Florian Weimer  <fweimer@redhat.com>
10092         * include/scratch_buffer.h: New file.
10093         * malloc/scratch_buffer_grow.c: Likewise.
10094         * malloc/scratch_buffer_grow_preserve.c: Likewise.
10095         * malloc/scratch_buffer_set_array_size.c: Likewise.
10096         * malloc/tst-scratch_buffer.c: Likewise.
10097         * malloc/Makefile (routines): Add scratch_buffer_grow.
10098         (tests): Add test case.
10099         * malloc/Versions (GLIBC_PRIVATE): Export
10100         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
10101         __libc_scratch_buffer_set_array_size.
10103 2015-04-06  Richard Henderson  <rth@redhat.com>
10105         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
10106         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10108         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
10109         unsigned int before printing.
10111 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10113         [BZ #17596]
10114         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
10115         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10117 2015-04-02  Florian Weimer  <fweimer@redhat.com>
10119         * include/libc-internal.h (libc_max_align_t): Define.
10121 2015-04-02  Andreas Schwab  <schwab@suse.de>
10123         [BZ #16850]
10124         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
10126 2015-04-02  Mel Gorman  <mgorman@suse.de>
10128         [BZ #17195]
10129         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
10130         as well as the main arena.
10132 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
10134         [BZ #18185]
10135         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
10136         sharing L2 cache to 2 for Silvermont/Knights Landing.
10138 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
10140         [BZ #17711]
10141         * config.make.in (have-protected-data): New.
10142         * configure.ac: Check linker support for protected data symbol.
10143         * configure: Regenerated.
10144         * elf/Makefile (modules-names): Add tst-protected1moda and
10145         tst-protected1modb if $(have-protected-data) is yes.
10146         (tests): Add tst-protected1a and tst-protected1b if
10147         $(have-protected-data) is yes.
10148         ($(objpfx)tst-protected1a): New.
10149         ($(objpfx)tst-protected1b): Likewise.
10150         (tst-protected1modb.so-no-z-defs): Likewise.
10151         * elf/tst-protected1a.c: New file.
10152         * elf/tst-protected1b.c: Likewise.
10153         * elf/tst-protected1mod.h: Likewise.
10154         * elf/tst-protected1moda.c: Likewise.
10155         * elf/tst-protected1modb.c: Likewise.
10157 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
10159         [BZ #17711]
10160         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
10161         indicates it is called from do_lookup_x on relocation against
10162         protected data, skip the data definion in the executable from
10163         copy reloc.
10164         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
10165         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
10166         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
10167         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
10168         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
10169         otherwise to 0.
10170         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
10171         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
10172         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
10173         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
10174         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
10175         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
10177 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
10179         * sysdeps/nptl/pthread.h: Remove duplicate definition of
10180         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
10182 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
10184         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
10185         THREAD_SETMEM_NC.
10186         * sysdeps/x86_64/nptl/tls.h: Ditto.
10188 2015-03-27  Roland McGrath  <roland@hack.frob.com>
10190         * dlfcn/tststatic.c (main): Converted to ...
10191         (do_test): ... this.
10192         (TEST_FUNCTION): New macro.
10193         Include test-skeleton.c.
10195 2015-03-26  Alan Modra  <amodra@gmail.com>
10197         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
10198         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
10199         zero for undefined weak.
10200         (elf_machine_plt_conflict): Similarly.
10202 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
10204         * math/auto-libm-test-in: Add more tests of acosh, asinh and
10205         atanh.
10206         * math/auto-libm-test-out: Regenerated.
10207         * sysdeps/i386/fpu/libm-test-ulps: Update.
10208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10210         * math/auto-libm-test-in: Add another test of asin.
10211         * math/auto-libm-test-out: Regenerated.
10212         * sysdeps/i386/fpu/libm-test-ulps: Update.
10213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10215         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
10216         Remove macro.
10217         (LLL_EBX_REG): Likewise.
10218         (LLL_ENTER_KERNEL): Likewise.
10220         * math/auto-libm-test-in: Add more tests of asin.
10221         * math/auto-libm-test-out: Regenerated.
10222         * sysdeps/i386/fpu/libm-test-ulps: Update.
10223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10225         [BZ #18138]
10226         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
10227         libc_do_syscall_args): New structure.
10228         (INTERNAL_SYSCALL_MAIN_0): New macro.
10229         (INTERNAL_SYSCALL_MAIN_1): Likewise.
10230         (INTERNAL_SYSCALL_MAIN_2): Likewise.
10231         (INTERNAL_SYSCALL_MAIN_3): Likewise.
10232         (INTERNAL_SYSCALL_MAIN_4): Likewise.
10233         (INTERNAL_SYSCALL_MAIN_5): Likewise.
10234         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
10235         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
10236         Replace conditional definitions by conditional definitions of ....
10237         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
10238         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
10239         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
10240         (libpthread-sysdep_routines): Add libc-do-syscall.
10241         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
10242         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
10243         to __NR_futex not 240.
10245 2015-03-25  Alan Modra  <amodra@gmail.com>
10247         * NEWS: Advertise TLS optimization.
10248         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
10249         (DT_PPC_NUM): Increment.
10250         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
10251         (CHECK_STATIC_TLS): Use here.
10252         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
10253         TLS descriptors.
10254         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10255         * sysdeps/powerpc/dl-tls.c: New file.
10256         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
10257         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
10258         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
10259         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
10260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
10261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10264 2015-03-25  Alan Modra  <amodra@gmail.com>
10266         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
10267         for overlapping .opd entries" to "support...".
10268         * sysdeps/powerpc/powerpc64/configure: Regenerate
10270 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
10272         * math/auto-libm-test-in: Add more tests of acos.
10273         * math/auto-libm-test-out: Regenerated.
10274         * sysdeps/i386/fpu/libm-test-ulps: Update.
10275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10277         * math/auto-libm-test-in: Add more tests of expm1.
10278         * math/auto-libm-test-out: Regenerated.
10279         * sysdeps/i386/fpu/libm-test-ulps: Update.
10280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10282 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
10284         * math/auto-libm-test-in: Add more tests of cosh and sinh.
10285         * math/auto-libm-test-out: Regenerated.
10286         * sysdeps/i386/fpu/libm-test-ulps: Update.
10287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10289         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10292         * math/auto-libm-test-in: Add more tests of log2.
10293         * math/auto-libm-test-out: Regenerated.
10294         * sysdeps/i386/fpu/libm-test-ulps: Update.
10295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10297 2015-03-23  Roland McGrath  <roland@hack.frob.com>
10299         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
10300         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
10301         _IO_IS_APPENDING bit in READ_WRITE instead.
10303 2015-03-23  Florian Weimer  <fweimer@redhat.com>
10305         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10306         (__determine_cpumask_size): Replace extend_alloca with a
10307         variable-length array.  Do not treat res == 0 as an error.
10309 2015-03-23  Florian Weimer  <fweimer@redhat.com>
10311         [BZ #18100]
10312         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
10313         and integer overflow.
10314         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
10315         (main): Add integer overflow tests.
10316         * manual/pattern.texi (Calling Wordexp): Document additional use
10317         for WRDE_SYNTAX.
10319 2015-03-23  Alan Modra  <amodra@gmail.com>
10321         * config.h.in: Remove HAVE_ASM_PPC_REL16.
10322         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
10323         and false branch of conditional.
10324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10325         Likewise.
10327 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
10329         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
10330         libc-modules.h
10331         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
10332         unused declaration of _hurd_intr_rpc_msg_in_trap.
10333         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
10334         defined instead of whether it is non-zero.
10335         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
10336         input constraint instead of both input and output constraint.  Use ecx
10337         clobber instead of %ecx.
10338         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
10339         mutex_unlock): Use a statement expression instead of an expression list.
10340         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
10341         type to vm_size_t instead of vm_address_t.
10342         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
10343         defined instead of whether it is non-zero.
10344         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
10345         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
10346         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
10347         comparisons with mapaddr.
10348         * nscd/nscd-client.h: Include <time.h>.
10349         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
10350         9th parameter to __vm_region instead of int.
10351         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
10352         * scripts/check-local-headers.sh (exclude): Add device/,
10353         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
10354         cthreads.h.
10356 2015-03-19  Roland McGrath  <roland@hack.frob.com>
10358         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
10359         to account for alignment padding.
10360         * sysdeps/arm/memmove.S: Likewise.
10362 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
10364         * sysdeps/unix/sysv/linux/generic/README: New file.
10366 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
10368         [BZ #18138]
10369         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
10370         (futex_abstimed_wait)
10371         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
10372         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
10373         of lll_futex_timed_wait.
10375 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
10377         [BZ #17542]
10378         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
10380 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
10382         [BZ #17090]
10383         [BZ #17620]
10384         [BZ #17621]
10385         [BZ #17628]
10386         * NEWS: Update.
10387         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
10388         entries with Static TLS too.  Skip entries past the end of the
10389         allocated DTV, from Alan Modra.
10390         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
10391         Static TLS DTV entry set up from...
10392         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
10393         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
10394         * nptl/allocatestack.c (init_one_static_tls): ... and here...
10395         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
10396         for Static TLS.
10397         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
10398         that the slot we find is associated with the given map before
10399         using its generation count.
10400         * nptl_db/db_info.c: Include ldsodefs.h.
10401         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
10402         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
10403         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
10404         (link_map::l_tls_offset): New struct field.
10405         (dtv_t::counter): Likewise.
10406         (rtld_global): New struct.
10407         (_rtld_global): New rtld variable.
10408         (dl_tls_dtv_slotinfo_list): New rtld global field.
10409         (dtv_slotinfo_list): New struct.
10410         (dtv_slotinfo): Likewise.
10411         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
10412         (td_lookup): Rename to...
10413         (td_mod_lookup): ... this.  Use new mod parameter instead of
10414         LIBPTHREAD_SO.
10415         * nptl_db/td_thr_tlsbase.c: Include link.h.
10416         (dtv_slotinfo_list, dtv_slotinfo): New functions.
10417         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
10418         addresses even if the DTV is out of date or missing them.
10419         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
10420         index zero-length arrays.
10421         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
10422         (td_lookup): Make it a macro implemented in terms of...
10423         (td_mod_lookup): ... this declaration.
10424         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
10425         (DB_MAIN_VARIABLE): Likewise.
10427 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10429         [BZ #18134]
10430         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
10432 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
10434         * stdlib/setenv.c (__add_to_environ): Revert previous change.
10436 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
10438         [BZ #18128]
10439         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
10440         (atomic_add, atomic_increment_and_test)
10441         (atomic_decrement_and_test): Fix 64-bit arithmetic.
10443 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
10445         * stdlib/setenv.c (__add_to_environ):
10446         Dump core quickly if setenv (..., NULL, ...) is called.
10448 2015-03-13  Roland McGrath  <roland@hack.frob.com>
10450         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
10451         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
10452         all the necessary asm magic in one place.
10453         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
10454         using those.
10456 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
10458         [BZ #14906]
10459         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
10460         traced file mtime. Use consistent log message.
10461         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
10462         (register_traced_file): Call install_watches. Always set mtime.
10463         (invalidate_cache): Iterate over all trace files. Call install_watches.
10464         (inotify_check_files): Don't inline. Handle watching parent
10465         directories and configuration file movement in and out.
10466         (handle_inotify_events): New function.
10467         (main_loop_poll): Call handle_inotify_events.
10468         (main_loop_epoll): Likewise.
10469         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
10470         (struct traced_file): Use array of inotify fds. Add parent directory,
10471         and basename.
10472         (struct database_dyn): Remove unused file_mtime.
10473         (init_traced_file): New inline function.
10474         (define_traced_file): New macro.
10475         * nss/nss_db/db-init.c: Use define_traced_file.
10476         (_nss_db_init): Use init_traced_file.
10477         * nss/nss_files/files-init.c: Use define_traced_file.
10478         (_nss_files_init): Use init_traced_file.
10480 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
10482         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
10483         [_LIBC]: Do not include <stdlib.h>.
10484         [!_LIBC] (abort): Remove declaration.
10485         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
10486         _FP_STATIC_ASSERT instead of conditionally calling abort.
10487         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
10488         (_FP_EXTEND_CNAN): Likewise.
10489         (FP_TRUNC): Likewise.
10490         (__FP_CLZ): Likewise.
10491         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
10493 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
10495         * manual/string.texi (XPG basename): Fix prototype.
10497 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10499         [BZ #18080]
10500         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
10501         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
10502         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
10503         (__setcontext): Likewise.
10504         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
10505         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
10506         Call rt_sigprocmask syscall one time to set new signal mask
10507         and retrieve the current signal mask instead of two calls.
10508         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
10509         (__swapcontext): Likewise.
10510         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
10511         * stdlib/tst-setcontext2.c: New file.
10513 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10515         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10517 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
10519         [BZ #18093]
10520         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
10521         the wrong size.
10523 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10525         [BZ #18043]
10526         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
10528 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10530         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
10531         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
10532         Remove define.
10533         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
10534         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
10535         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
10536         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
10537         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
10538         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
10539         define.
10540         * nptl_db/td_symbol_list.c (td_lookup): Remove
10541         HAVE_ASM_GLOBAL_DOT_NAME code.
10542         * sysdeps/powerpc/powerpc64/configure.ac: Remove
10543         HAVE_ASM_GLOBAL_DOT_NAME check.
10544         * sysdeps/powerpc/powerpc64/configure: Regenerate.
10545         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
10546         (DOT_LABEL): Remove define.
10547         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
10548         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
10549         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
10550         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
10551         (__TLS_GET_ADDR): Likewise.
10552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
10553         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
10555 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
10557         [BZ #18111]
10558         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
10559         (_FPU_SETCW): Initialize cw from fpsr before storing.
10560         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
10561         (fesetexceptflag): Rewrite using fpu_control.h.
10562         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
10564 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
10566         [BZ #18110]
10567         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
10568         asms.
10569         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
10571 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
10573         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
10574         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
10575         abort.
10576         (_FP_FMA): Likewise.
10577         (_FP_DIV): Likewise.
10579 2015-03-10  Roland McGrath  <roland@hack.frob.com>
10581         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
10582         with 0 in that case.
10583         * Makefile (summarize-tests): New canned sequence, factored out of
10584         commands for targets tests and xtests.  Display summary lines that
10585         don't start with PASS: or XFAIL: rather than ones that do start with
10586         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
10587         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
10588         do start with ERROR: or FAIL:.
10589         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
10590         (except for [$(build-shared) = yes]).
10591         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
10592         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
10593         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
10594         * nptl/Makefile: Revert 2015-03-04 changes.
10595         [$(CXX) empty] (tests-unsupported): New variable.
10596         * debug/Makefile: Likewise.
10598         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
10599         gnulib file.  Replace __attribute with __attribute__ throughout.
10601 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
10603         * sysdeps/hppa/fpu/libm-test-ulps: Update.
10605 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
10607         [BZ #18104]
10608         * math/auto-libm-test-in: Add another test of pow.
10609         * math/auto-libm-test-out: Regenerated.
10611 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10613         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
10614         $(config-cflags-nofma).
10616 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
10618         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
10619         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
10620         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
10621         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
10622         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
10623         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
10624         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
10625         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
10626         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
10627         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
10628         Add comment on closing #endif.
10630 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
10632         * posix/wordexp.c (CHAR_IN_SET): New macro.
10633         (parse_param): Use it.
10635 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10637         * sysdeps/powerpc/fpu/libm-test-ulps: update.
10639 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
10641         [BZ #18043]
10642         * posix/wordexp.c (parse_param): Fix buffer overflow.
10643         * posix/wordexp-test.c (test_case): Add test case.
10645 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
10647         [BZ #18042]
10648         * posix/wordexp.c (parse_backtick): Fix off-by-one.
10649         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
10651 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
10653         [BZ #18043]
10654         * posix/wordexp-test.c (test_case): Add test for BZ #18043
10655         (do_bz18043): Delete.
10656         (at_page_end): New.
10657         (testit): Refactor to have words at the edge of unreadable page.
10659 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10661         [BZ #16734]
10662         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
10663         Cleanup read-only streams as well.
10664         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
10666 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10668         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
10669         <bits/libc-lockP.h>
10671 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
10673         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
10674         on [__KERNEL__].
10675         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
10676         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
10677         * soft-fp/op-common.h (_FP_DECL): Likewise.
10679 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10681         * elf/ifuncdep2.c (global): Replace
10682         __attribute__((visibility("protected"))) with
10683         asm (".protected global").
10684         * elf/ifuncmod1.c (global): Likewise.
10685         * elf/ifuncmod5.c (global): Likewise.
10687 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
10689         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
10690         <asm/sfp-machine.h> instead of <sfp-machine.h>.
10692 2015-03-06  Roland McGrath  <roland@hack.frob.com>
10694         * manual/install.texi (Configuring and compiling):
10695         Document test-wrapper-env-only.
10696         * INSTALL: Regenerated.
10698 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10700         [BZ #18043]
10701         * posix/wordexp.c (parse_param): Fix buffer overflow.
10702         * posix/wordexp-test.c (do_bz18043): Add test case.
10704 2015-03-06  Vincent Bernat  <vincent@bernat.im>
10706         * time/tst-strptime2.c (do_test): Ensure failing tests are
10707         reported correctly.
10708         * time/tst-strptime3.c (do_test): Likewise.
10710 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
10712         Fix aio_error thread-safety.
10713         * sysdeps/pthread/aio_error.c: New file
10714         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
10715         synchronization.
10717 2015-03-06  Florian Weimer  <fweimer@redhat.com>
10719         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
10720         (group_number, vfprintf): Use it.
10721         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
10722         (JUMP, REF): Use it.
10723         (WORK_BUFFER_SIZE): New enum constant.
10724         (process_arg, vfprintf): Use it.
10726 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
10728         * manual/errno.texi (Error Messages): Complete example function
10729         by adding missing #define.
10730         (program_invocation_name): Add statement indicating GNU
10731         extension and reference which header file declares the variable.
10732         (program_invocation_short_name): Likewise.
10734 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
10736         * manual/errno.texi (Error Messages): Delete strerror ISO C89
10737         compatibility note.
10739 2015-03-05  Roland McGrath  <roland@hack.frob.com>
10741         * Makeconfig (test-wrapper-env-only): New variable.
10742         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
10743         then use that with $(test-wrapper-env-only) rather than using
10744         $(test-wrapper-env) $(run-program-env) $($*-ENV).
10746 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
10748         [BZ #18082]
10749         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
10750         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
10751         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
10752         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
10753         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
10754         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
10755         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
10756         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
10757         Likewise.
10758         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
10759         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
10760         Likewise.
10761         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
10762         Likewise.
10763         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
10764         Likewise.
10765         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
10766         Likewise.
10767         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
10768         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
10769         Likewise.
10770         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
10771         Likewise.
10772         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
10773         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
10775 2015-03-04  Roland McGrath  <roland@hack.frob.com>
10777         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
10778         (ETH_ALEN): New macro.
10779         (struct ether_addr): Use it for length of ether_addr_octet.
10781         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
10782         (setdb): Don't call __nss_configure_lookup for "rpc".
10783         (do_test): Don't call test_rpc.
10784         (output_rpcent, test_rpc): Functions moved ...
10785         * sunrpc/test-rpcent.c: ... to this new file.
10786         * sunrpc/Makefile (tests): Add it.
10788         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
10789         __xpg_sigpause.
10790         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
10791         * nptl/tst-signal6.c: Likewise.
10792         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
10793         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
10795         * configure.ac (libc_cv_cxx_link_ok): New check.
10796         Reset CXX to empty if it fails to link.
10797         * configure: Regenerated.
10798         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
10799         bug-atexit3-lib only if $(CXX) is nonempty.
10800         * nptl/Makefile (tests): Likewise for tst-cancel24.
10801         (tests, tests-static): Likewise for tst-cancel24-static.
10802         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
10803         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
10804         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
10805         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
10807 2015-03-04  Andreas Schwab  <schwab@suse.de>
10809         [BZ #17631]
10810         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
10811         for non-GCC compilers.
10812         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10813         Likewise.
10815 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10817         [BZ #17776]
10818         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
10819         integer before bitwise and assembly operations.
10820         (feclearexcept): Likewise.
10821         * math/test-fenvinline.c: New file.
10822         * math/Makefile: Add test-fenvinline test.
10824 2015-03-03  Alan Modra  <amodra@gmail.com>
10826         [BZ #16512]
10827         * scripts/localplt.awk: Strip off symbol version.
10828         * NEWS: Mention bug fix.
10830 2015-03-02  Roland McGrath  <roland@hack.frob.com>
10832         * sysdeps/pthread/timer_routines.c
10833         (timer_free_list, thread_free_list, thread_active_list): Make static.
10835 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
10837         [BZ #17779]
10838         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10839         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
10840         Undefine.
10841         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10842         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
10843         Likewise.
10844         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10845         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
10846         Likewise.
10848 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
10850         [BZ #18036]
10851         * posix/fnmatch_loop.c (END): Detect invalid pattern.
10852         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
10854 2015-03-02  Andreas Schwab  <schwab@suse.de>
10856         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
10857         variable name.
10859 2015-03-02  Florian Weimer  <fweimer@redhat.com>
10861         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
10862         Return error status.
10864 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
10866         [BZ #15969]
10867         * locale/findlocale.c (_nl_find_locale): Introduce const
10868         version of loc_name and drop unsafe type casts.
10870 2015-02-27  Roland McGrath  <roland@hack.frob.com>
10872         * dlfcn/tststatic2.c (main): Converted to ...
10873         (do_test): ... this.
10874         (TEST_FUNCTION): New macro.
10875         Include test-skeleton.c.
10877 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
10879         [BZ #17711]
10880         * elf/Makefile (tests): Add vismain only if PIE is enabled.
10881         (tests-pie): Add vismain.
10882         (CFLAGS-vismain.c): New.
10883         * elf/vismain.c: Add comments for PIE requirement.
10885 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
10887         [BZ #18046]
10888         [BZ #18047]
10889         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
10890         0x1p-56L as threshold for just returning the argument.
10891         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
10892         0x1p-32L as threshold for just returning the argument.
10893         * math/auto-libm-test-in: Add more tests of atanh.
10894         * math/auto-libm-test-out: Regenerated.
10895         * sysdeps/i386/fpu/libm-test-ulps: Update.
10896         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
10898 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
10900         * string/bcopy.c (bcopy): Call memmove for performance.
10902 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
10904         * string/bzero.c (__bzero): Call memset for performance.
10906 2015-02-27  John David Anglin  <dave.anglin@bell.net>
10908         [BZ #18068]
10909         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
10910         to 00100000.
10912 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
10914         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
10916 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
10918         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
10919         (__kernel_standard): Use CSTR macro when setting exc.name.
10920         * sysdeps/ieee754/Makefile [$(subdir) = math]
10921         (CFLAGS-k_standard.c): Remove variable.
10923         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
10924         setting p and q from "else if" to "else".
10925         (qzero): Likewise.
10926         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
10927         (qone): Likewise.
10928         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
10929         (qzerof): Likewise.
10930         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
10931         (qonef): Likewise.
10932         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
10933         (qzero): Likewise.
10934         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
10935         (qone): Likewise.
10937         [BZ #18038]
10938         [BZ #18039]
10939         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
10940         return pi/2 for arguments below 0x1p-113L.
10941         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
10942         return pi/2 for arguments below 0x1p-106L.
10943         * math/auto-libm-test-in: Add more tests of acos.
10944         * math/auto-libm-test-out: Regenerated.
10946         [BZ #16351]
10947         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
10948         (MO): New macro.
10949         (__ieee754_asin): Force underflow exception for results with small
10950         absolute value.
10951         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
10952         (MO): New macro.
10953         (__ieee754_asinf): Force underflow exception for results with
10954         small absolute value.
10955         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
10956         (__ieee754_asin): Force underflow exception for results with small
10957         absolute value.
10958         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
10959         (__ieee754_asinf): Force underflow exception for results with
10960         small absolute value.
10961         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
10962         (__ieee754_asinl): Force underflow exception for results with
10963         small absolute value.
10964         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
10965         (__ieee754_asinl): Force underflow exception for results with
10966         small absolute value.
10967         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
10968         (__ieee754_asinl): Force underflow exception for results with
10969         small absolute value.
10970         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10971         Include <math.h>.
10972         * math/auto-libm-test-in: Do not mark underflow exceptions as
10973         possibly missing for bug 16351.
10974         * math/auto-libm-test-out: Regenerated.
10976         [BZ #18030]
10977         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
10978         of power of 2 down when low part has opposite sign.
10979         * math/libm-test.inc (logb_test_data): Add more tests.
10981 2015-02-26  Andreas Schwab  <schwab@suse.de>
10983         [BZ #18032]
10984         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
10985         over collating symbol inside a bracket expression.  Minor cleanup.
10986         * posix/tst-fnmatch3.c (do_test): Add test case.
10988 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
10990         [BZ #18029]
10991         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
10992         Adjust exponent of power of 2 down when low part has opposite
10993         sign.
10994         * math/libm-test.inc (ilogb_test_data): Add more tests.
10996 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
10998         [BZ #15969]
10999         * locale/findlocale.c (_nl_find_locale): Fix constness error in
11000         the previous change.
11002         [BZ #15969]
11003         * locale/findlocale.c (_nl_find_locale): Retry archive search
11004         after alias expansion.
11006 2015-02-25  Roland McGrath  <roland@hack.frob.com>
11008         * iconv/tst-iconv3.c (main): Converted to ...
11009         (do_test): ... this.
11010         (TEST_FUNCTION): New macro.
11011         Include test-skeleton.c.
11013         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
11014         (convert): Make function static.
11015         (test_unalign): Likewise.  Add const to argument pointee types.
11016         (main): Replace with static function do_test.
11017         Print "Succeeded." only if RET is zero.
11018         (TEST_FUNCTION): New macro.
11019         Include test-skeleton.c.
11021         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
11022         returns a null pointer.
11024 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11026         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
11027         to __memcpy_ppc only for static builds.
11029 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
11031         [BZ #18020]
11032         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
11033         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
11034         * math/auto-libm-test-in: Add more tests of asinh.
11035         * math/auto-libm-test-out: Regenerated.
11036         * sysdeps/i386/fpu/libm-test-ulps: Update.
11037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11039 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
11041         [BZ #15850]
11042         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
11043         and ip6_mtuinfo definitions here.
11044         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
11045         in this define too.  Update comment.
11047 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
11049         * elf/sprof.c (load_shobj): Tweak error message to match others.
11051 2015-02-24  Kevin Easton  <kevin@guarana.org>
11053         [BZ #16145] (partial fix)
11054         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
11055         to reduce lock contention.
11057 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
11059         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
11060         (struct timex): Update time comment.
11061         (ADJ_SETOFFSET): Define.
11063 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
11065         [BZ #18019]
11066         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11067         2**56 not 2**28 as threshold for log (2x) formula.
11068         * math/auto-libm-test-in: Add more tests of acosh.
11069         * math/auto-libm-test-out: Regenerated.
11070         * sysdeps/i386/fpu/libm-test-ulps: Update.
11071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11073 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
11075         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
11076         parenthesis around the buf assignment.
11077         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
11079 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
11081         [BZ #16783]
11082         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
11083         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
11084         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
11085         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11086         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11087         * math/libm-test.inc (scalb_test_data): Add more tests.
11089 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11091         [BZ #17916]
11092         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
11093         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
11095 2015-02-24  Eric Rannaud  <e@nanocritical.com>
11097         [BZ #17523]
11098         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
11099         * io/bits/fcntl2.h (open): Use it.
11100         (openat): Likewise.
11101         * io/open.c (__libc_open): Likewise.
11102         * io/open64.c (__libc_open64): Likewise.
11103         * io/open64_2.c (__open64_2): Likewise.
11104         * io/open_2.c (__open_2): Likewise.
11105         * io/openat.c (__openat): Likewise.
11106         * io/openat64.c (__openat64): Likewise.
11107         * io/openat64_2.c (__openat64_2): Likewise.
11108         * io/openat_2.c (__openat_2): Likewise.
11109         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
11110         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11111         * sysdeps/posix/open64.c (__libc_open64): Likewise.
11112         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11113         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
11114         (__open_nocancel): Likewise.
11115         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
11116         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
11117         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
11119 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11121         [BZ #14841]
11122         * resolv/gethnamaddr.c (getanswer): Skip logging if
11123         RES_USE_DNSSEC is set.
11124         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11126 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
11128         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
11130 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
11132         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
11133         201304L, for Unicode 7.
11135 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
11137         [BZ #17836]
11138         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
11139         shared library.  Add gmon-start.os otherwise.
11140         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
11141         $(objpfx)gmon-start.os if builing shared library.
11142         ($(objpfx)g$(static-start-installed-name)): Likewise.
11144 2015-02-23  Andreas Schwab  <schwab@suse.de>
11146         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
11148 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
11150         [BZ #17269]
11151         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
11152         (enlarge_userbuf): Likewise.
11154 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
11156         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
11157         * math/atest-exp.c (TIMEOUT): Adjust to 200.
11158         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
11159         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
11161 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
11163         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
11164         expression inside statement expression.
11166 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11168         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
11169         <sysdeps/nptl/lowlevellock.h> and remove macros and
11170         functions that are now defined there.
11171         (SYS_futex): Remove.
11172         (lll_compare_and_swap): Remove.
11173         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
11175 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
11177         [BZ #17999]
11178         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
11179         instead of scandirat.
11180         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
11181         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
11182         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
11183         __scandirat.
11184         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
11185         (__scandirat): Declare.  Use libc_hidden_proto.
11186         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
11187         Remove variable.
11188         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11190 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
11192         [BZ #15319]
11193         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
11194         (MO): New macro.
11195         (__ieee754_atan2): For results with small absolute value, force
11196         underflow exception and remove excess range and precision from
11197         return value.
11198         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
11199         (MO): New macro.
11200         (__ieee754_atan2f): For results with small absolute value, force
11201         underflow exception and remove excess range and precision from
11202         return value.
11203         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
11204         (MO): New macro.
11205         (__atan): For results with small absolute value, force underflow
11206         exception and remove excess range and precision from return value.
11207         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
11208         (MO): New macro.
11209         (__atanf): For results with small absolute value, force underflow
11210         exception and remove excess range and precision from return value.
11211         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
11212         <math.h>.
11213         (__ieee754_atan2): Force underflow exception for results with
11214         small absolute value.
11215         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
11216         <math_private.h>.
11217         (atan): Force underflow exception for results with small absolute
11218         value.
11219         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
11220         (__atanf): Force underflow exception for results with small
11221         absolute value.
11222         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
11223         <math.h>.
11224         (__atanl): Force underflow exception for results with small
11225         absolute value.
11226         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
11227         (__atanl): Force underflow exception for results with small
11228         absolute value.
11229         * sysdeps/x86/fpu/bits/mathinline.h
11230         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
11231         (__ieee754_atan2): Only define inline for long double.
11232         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11233         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
11234         * math/auto-libm-test-in: Do not mark underflow exceptions as
11235         possibly missing for bug 15319.  Add more tests of atan2.
11236         * math/auto-libm-test-out: Regenerated.
11237         * math/libm-test.inc (casin_test_data): Do not mark underflow
11238         exceptions as possibly missing for bug 15319.
11239         (casinh_test_data): Likewise.
11240         * sysdeps/i386/fpu/libm-test-ulps: Update.
11242 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
11244         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
11245         * sysdeps/mips/bits/endian.h: Fix comments.
11247 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
11249         [BZ #17996]
11250         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
11251         (hdestroy_r): Likewise.
11252         (hsearch_r): Likewise.
11253         (__hcreate_r): Declare and use libc_hidden_proto.
11254         (__hdestroy_r): Likewise.
11255         (__hsearch_r): Likewise.
11256         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
11257         (hcreate): Call __hcreate_r instead of hcreate_r.
11258         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
11259         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
11260         as weak alias of __hcreate_r.
11261         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
11262         __hdestroy_r.
11263         (hsearch_r): Rename to __hsearch_r and define as weak alias of
11264         __hsearch_r.
11265         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
11266         Remove variable.
11267         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11268         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11269         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11270         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11272 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11274         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
11275         arena_lock into a single arena_get.
11277 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
11279         * dl-reloc.c: Inlucde libc-internal.h.
11280         (_dl_try_allocate_static_tls): Call ALIGN_UP.
11281         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
11282         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
11283         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
11284         (grow_heap): Likewise.
11285         * malloc/malloc.c: Include libc-internal.h.
11286         (do_check_malloc): Call powerof2.
11287         (sysmalloc): Use pagesize. Call ALIGN_UP.
11288         (systrim): Use pagesize.
11289         (mremap_chunk): Use pagesize. Call ALIGN_UP.
11290         (__libc_valloc): Use pagesize.
11291         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
11293 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
11295         [BZ #17991]
11296         * include/sys/resource.h (__getrlimit64): Declare.  Use
11297         libc_hidden_proto.
11298         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
11299         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
11300         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
11301         getrlimit64.
11302         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
11303         __getrlimit64.
11304         [!getrlimit64] (getrlimit64): Define as weak alias of
11305         __getrlimit64.  Use libc_hidden_weak.
11306         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
11307         using __getrlimit64 not __new_getrlimit64.
11308         (__GI_getrlimit64): Likewise.
11309         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
11310         Likewise.
11311         (__GI_getrlimit64): Likewise.
11312         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
11313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
11314         (getrlimit): Add __getrlimit64 alias.
11315         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
11316         Likewise.
11317         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
11318         Remove variable.
11319         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11320         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11322 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
11324         * libio/fileops.c: Add missing sys/mman.h
11325         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
11327 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
11329         * manual/math.texi (Errors in Math Functions): Clarify goals
11330         regarding inexact and underflow exceptions.
11332 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
11334         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
11335         * sysdeps/mips/memset.S: Ditto.
11337 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
11339         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
11341 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11343         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
11344         (__v1longjmp): Remove versioned symbol.
11345         (__v1siglongjmp): Remove alias and versioned symbol.
11346         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
11347         (__v2siglongjmp): Likewise.
11349 2015-02-16  Torvald Riegel  <triegel@redhat.com>
11351         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
11353 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
11355         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
11357 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
11359         [BZ #17987]
11360         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
11361         zero result does not depend on the sign resulting from
11362         subtraction.
11363         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
11364         Likewise.
11365         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
11366         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
11367         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11368         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
11369         * math/libm-test.inc (remquo_test_data): Add more tests.
11371 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
11373         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
11374         Problem reported by J William Piggott.
11376 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
11378         [BZ #17978]
11379         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
11380         products 4 * y and 2 * y where those would overflow.
11381         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
11382         Likewise.
11383         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
11384         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
11385         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11386         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
11387         * math/libm-test.inc (remquo_test_data): Add more tests.
11389         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
11391         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
11392         [defined _COMPILING_NEWLIB].
11393         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
11394         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
11396         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
11397         [!defined __mips_isa_rev || __mips_isa_rev < 6].
11399 2015-02-16  Torvald Riegel  <triegel@redhat.com>
11401         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
11402         acquired.
11404 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
11406         [BZ #17792]
11407         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
11408         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
11409         HOST_STACK_END_ADDR): Likewise.
11411 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
11413         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
11414         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
11415         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
11417 2015-02-13  Roland McGrath  <roland@hack.frob.com>
11419         * sysdeps/generic/c++-types.data: New file.
11420         * sysdeps/generic/ld.abilist: New file.
11421         * sysdeps/generic/libBrokenLocale.abilist: New file.
11422         * sysdeps/generic/libanl.abilist: New file.
11423         * sysdeps/generic/libc.abilist: New file.
11424         * sysdeps/generic/libcrypt.abilist: New file.
11425         * sysdeps/generic/libdl.abilist: New file.
11426         * sysdeps/generic/libm.abilist: New file.
11427         * sysdeps/generic/libpthread.abilist: New file.
11428         * sysdeps/generic/libresolv.abilist: New file.
11429         * sysdeps/generic/librt.abilist: New file.
11431 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
11433         [BZ #17569]
11434         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
11435         Compute absolute value of x as modified by fmod, not original
11436         value of x.
11437         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
11438         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
11439         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
11440         RUN_TEST_ffI_f1_mod8.
11441         (remquo_test_data): Add more tests.
11443 2015-02-13  Roland McGrath  <roland@hack.frob.com>
11445         * sysdeps/init_array/pt-crti.S: New file.
11447 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
11449         [BZ #17967]
11450         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
11451         __builtin_fmaf instead of relying on contraction of a * b + c.
11453 2015-02-12  J William Piggott  <elseifthen@gmx.com>
11455         [BZ #17969]
11456         * manual/time.texi: correct the zoneinfo path in the TZ Variable
11457         node.
11459 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
11461         [BZ #17964]
11462         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
11463         __builtin_fma instead of relying on contraction of a * b + c.
11465 2015-02-12  Roland McGrath  <roland@hack.frob.com>
11467         * Makeconfig (ASFLAGS): Add -Werror=undef.
11468         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
11469         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
11470         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
11472         * Makeconfig (after-link): New variable.
11473         (+link-pie, +link-pie-tests): Use it.
11474         (+link-static, +link-static-tests): Likewise.
11475         (+link, +link-tests): Likewise.
11476         * Makerules (build-module, build-module-asneeded): Likewise.
11477         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
11478         Likewise.
11479         * elf/Makefile ($(objpfx)ld.so): Likewise.
11481 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
11483         [BZ #17965]
11484         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
11485         both struct timeval and struct timespec.
11487 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
11489         [BZ #16560]
11490         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11491         and redefine.
11492         (__ieee754_exp2l): Do not multiply small fractional parts by
11493         M_LN2l.
11494         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
11495         small argument.
11496         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11497         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11498         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
11499         * math/auto-libm-test-in: Add more tests of exp2.
11500         * math/auto-libm-test-out: Regenerated.
11502 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11504         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
11505         unaligned path.
11507 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11509         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
11510         little endian.
11512 2015-02-12  Andreas Schwab  <schwab@suse.de>
11514         [BZ #15790]
11515         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
11516         Filter out elision flags from value returned in kind.
11517         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
11518         * nptl/tst-pthread-mutexattr.c: New file.
11520 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11522         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
11523         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
11524         into gnu-gnu, and update comment to refer to abi-tags.
11526 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
11528         [BZ #15467]
11529         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
11530         (__sincos): Set errno to EDOM for infinite argument.
11531         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
11532         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
11533         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
11534         (__sincosl): Set errno to EDOM for infinite argument.
11535         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
11536         (__sincosl): Set errno to EDOM for infinite argument.
11537         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
11538         (__sincosl): Set errno to EDOM for infinite argument.
11539         * math/libm-test.inc (sincos_test_data): Test errno setting.
11541 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
11543         * string/strxfrm_l.c: Remove #define STRCMP.
11544         * string/strcoll_l.c: Remove #define STRLEN.
11545         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
11546         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
11548 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
11550         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
11551         * sysdeps/mips/mips32/sfp-machine.h: ... here.
11552         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
11553         * sysdeps/mips/mips64/Makefile: ... here.
11554         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
11555         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
11556         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
11557         * sysdeps/mips/mips64/sfp-machine.h: ... here.
11558         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
11559         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
11560         * sysdeps/mips/mips64/n64/Implies: Likewise.
11562 2015-02-10  Roland McGrath  <roland@hack.frob.com>
11564         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
11565         <sys/time.h>, <string.h>, and <errno.h>.
11566         (dest_offset, dest_address, value, zero): Remove unused variables.
11567         (ldouble): Remove typedef.
11568         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
11569         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
11570         1).  Fix code style.
11571         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
11572         (check): Function removed.
11573         (CHECK): New macro.
11574         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
11575         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
11576         Don't call set_sigaction_FP and remove_sigaction_FP here.
11577         (ldouble_test): Just use 'long double' as macro argument, no need for
11578         the 'ldouble' typedef.
11579         (do_test): Set up SIGFPE handler at start, using plain signal rather
11580         than sigaction.  Fix code style.
11582 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
11584         [BZ #17949]
11585         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
11586         jump label.
11588 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11590         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
11591         * sysdeps/powerpc/powerpc32/configure: Regenerated.
11593         * sysdeps/powerpc/configure.ac: Remove file.
11594         * sysdeps/powerpc/configure: Likewise.
11596         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
11597         [sysdep_routines]: Remove wordcopy-power6 object.
11598         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11599         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
11600         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
11601         (__memmove_ppc32): Likewise.
11602         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
11603         file.
11604         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
11605         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
11606         Remove preprocessor.
11608         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
11609         [sysdep_routines]: Remove wide chars objects.
11610         [wcsmbs]: New rule for wide char objects.
11612         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11613         Remove wordcopy-power6 obejct.
11614         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
11615         Use local call for wordcopy and memcpy symbols.
11616         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
11617         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
11618         implementation for loader.
11619         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
11621         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11622         Remove wordcopy-power7 object.
11623         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
11624         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
11625         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
11626         (_wordcopy_fwd_dest_aligned): Likewise.
11627         (_wordcopy_bwd_aligned): Likewise.
11628         (_wordcopy_bwd_dest_aligned): Likewise.
11630         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
11631         Rewrite to call __memmove_ppc instead of include default
11632         implementation.
11634         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11635         Remove wide chars objects.
11636         [wcsmbs]: New rule for wide char objects.
11638 2015-02-09  Andreas Schwab  <schwab@suse.de>
11640         [BZ #17912]
11641         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11642         in terms of __O_DIRECTORY.
11644 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11646         * time/getdate.c: Include <stdbool.h>.
11647         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
11648         call PTR_MANGLE.
11649         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
11650         PTR_DEMANGLE.
11652 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
11654         Add ersatz _Static_assert on older C hosts
11655         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
11656         pre-C11 C platform that is not known to support _Static_assert.
11658 2015-02-07  Richard Braun  <rbraun@sceen.net>
11660         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
11661         sigstate.
11662         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
11664 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11666         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
11667         priority against unexistent AIO_PRIO_DELTA_MAX.
11668         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
11669         instead of int.
11670         * misc/fchflags.c (fchflags): Likewise.
11671         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
11672         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
11673         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
11674         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
11675         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
11676         Declare macros.
11677         [__USE_MISC] (chflags, fchflags): Declare functions.
11678         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
11679         EINVAL when nfds is greater than FD_SETSIZE.
11680         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
11681         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
11682         45.
11683         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
11684         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
11685         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
11686         MACH_RCV_TIMED_OUT.
11687         * hurd/hurd/signal.h (_hurd_self_sigstate,
11688         _hurd_critical_section_lock, _hurd_critical_section_unlock):
11689         Explicit casts from void *.
11690         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
11691         * abi-tags: Rename gnu-gnu os into gnu.
11693         [BZ #4719]
11694         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
11695         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
11696         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
11697         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
11698         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
11699         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
11701         [BZ #17944]
11702         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
11703         duplicates ADDR->sun_path with sockaddr LEN limitation.
11704         * sysdeps/mach/hurd/connect.c: Include <string.h>
11705         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
11706         * sysdeps/mach/hurd/sendmsg.c: Likewise.
11707         * sysdeps/mach/hurd/sendto.c: Likewise.
11708         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
11709         implementing it by hand.
11711 2015-02-06  Roland McGrath  <roland@hack.frob.com>
11713         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
11714         Use sfi_breg on ldr.
11715         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
11716         Likewise.
11718         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
11719         it's defined.
11720         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
11721         Test SIGSETXID only if it's defined.
11723         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
11725         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
11726         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
11728         * nptl/tst-align2.c: Moved ...
11729         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
11730         * nptl/Makefile (tests): Remove tst-align2.
11731         * sysdeps/unix/sysv/linux/Makefile
11732         [$(subdir) = nptl] (tests): Add tst-align-clone.
11733         * nptl/tst-getpid1.c: Moved ...
11734         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
11735         * nptl/tst-getpid2.c: Moved ...
11736         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
11737         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
11738         * sysdeps/unix/sysv/linux/Makefile
11739         [$(subdir) = nptl] (tests): ... here.
11740         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
11741         * sysdeps/unix/sysv/linux/Makefile
11742         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
11744         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
11745         Drop trailing \n from perror argument.  Use return rather than exit.
11747         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
11748         on [SA_SIGINFO].
11749         * nptl/tst-cancel21.c (do_test): Likewise.
11750         * debug/tst-backtrace6.c: Include <signal.h> first thing.
11751         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
11752         [!SA_SIGINFO]: Make it a stub test.
11754         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
11755         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
11757         * posix/tst-getlogin.c: Move to ...
11758         * login/tst-getlogin.c: ... here.
11759         * posix/Makefile (tests): Move tst-getlogin to ...
11760         * login/Makefile (tests): ... here.
11762         * libio/tst-atime.c (do_test): Move local variables SV and E
11763         inside [ST_NOATIME] conditional.
11765         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
11767         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
11769         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
11770         (wait_code): New function replaces macro.
11771         Call nanosleep rather than syscall.
11773         * nptl/pt-system.c: Rewritten.  Put everything under
11774         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
11775         Use IFUNC to redirect when possible.
11777         * nptl/pt-longjmp.c: Rewritten.  Put everything under
11778         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
11779         Use IFUNC to redirect when possible.
11781         * nptl/pt-fork.c: Rewritten.  Put everything under
11782         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
11783         Use IFUNC to redirect when possible.
11784         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
11786         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
11787         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
11788         unconditionally nowadays.  This included the only reference to
11789         __vdso_clock_gettime that appears outside libc proper.
11790         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
11791         Remove version set (containing only __vdso_clock_gettime).
11792         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
11793         Add attribute_hidden.
11794         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
11795         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
11796         libc_hidden_data_def.
11797         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11798         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11800         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
11801         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
11802         setrpcent, and getrpcport to ...
11803         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
11804         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
11805         getrpcbynumber_r, and getrpcent_r to ...
11806         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
11807         * inet/getrpcbyname.c: Moved ...
11808         * sunrpc/getrpcbyname.c: ... here.
11809         * inet/getrpcbyname_r.c: Moved ...
11810         * sunrpc/getrpcbyname_r.c: ... here.
11811         * inet/getrpcbynumber.c: Moved ...
11812         * sunrpc/getrpcbynumber.c: ... here.
11813         * inet/getrpcbynumber_r.c: Moved ...
11814         * sunrpc/getrpcbynumber_r.c: ... here.
11815         * inet/getrpcent.c: Moved ...
11816         * sunrpc/getrpcent.c: ... here.
11817         * inet/getrpcent_r.c: Moved ...
11818         * sunrpc/getrpcent_r.c: ... here.
11819         * inet/Makefile (routines): Move those to ...
11820         * sunrpc/Makefile (routines): ... here.
11821         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
11822         the $(subdirs) list.
11823         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
11824         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
11825         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
11826         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
11828         * elf/Makefile (routines): Include $(all-dl-routines), not just
11829         $(dl-routines).
11830         (rtld-routines): Likewise.  Use = rather than :=.
11831         * sysdeps/aarch64/Makefile [$(subdir) = elf]
11832         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
11833         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
11834         * sysdeps/arm/Makefile: Likewise.
11835         * sysdeps/i386/Makefile: Likewise.
11836         * sysdeps/x86_64/Makefile: Likewise.
11837         * sysdeps/hppa/Makefile [$(subdir) = elf]
11838         (sysdep_routines, sysdep-rtld-routines): Don't add
11839         $(sysdep-dl-routines) to these.
11840         * sysdeps/ia64/Makefile: Likewise.
11841         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
11842         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
11843         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
11844         Don't add dl-static to these; sysdep-dl-routines alone is enough.
11845         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
11846         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
11847         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
11848         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
11849         * sysdeps/powerpc/Makefile [$(subdir) = elf]
11850         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
11851         these; sysdep-dl-routines alone is enough.
11853 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
11855         [BZ #17932]
11856         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
11857         where multiplication results in zero and third argument is finite
11858         and nonzero.
11859         * math/auto-libm-test-in: Add more tests of fma.
11860         * math/auto-libm-test-out: Regenerated.
11862         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
11863         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
11864         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
11865         (_FP_CMP_EQ): Likewise.
11866         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
11868         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
11869         extra argument CHECK_NAN.  Redefine as wrapper around
11870         _FP_EXTEND_CNAN.
11872 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
11874         * version.h (RELEASE): Set to "stable".
11875         (VERSION): Set to "2.21"
11876         * include/features.h (__GLIBC_MINOR__): Set to 21.
11878         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
11880 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11881             Paul Eggert  <eggert@cs.ucla.edu>
11883         [BZ #16618]
11884         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
11885         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
11886         size in bytes. Store needed elements in wpmax. Use needed size
11887         in bytes for extend_alloca.
11889 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
11891         * manual/install.texi: Latest tested versions are GCC 4.9.2,
11892         binutls 2.25, and texinfo 5.2.
11893         * INSTALL: Regenerate.
11894         * sysdeps/nios2/configure: Regenerate.
11895         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
11896         * manual/contrib.texi: Update.
11897         * po/be.po: Update.
11898         * po/bg.po: Update.
11899         * po/ca.po: Update.
11900         * po/cs.po: Update.
11901         * po/da.po: Update.
11902         * po/de.po: Update.
11903         * po/el.po: Update.
11904         * po/eo.po: Update.
11905         * po/es.po: Update.
11906         * po/fi.po: Update.
11907         * po/fr.po: Update.
11908         * po/gl.po: Update.
11909         * po/hr.po: Update.
11910         * po/hu.po: Update.
11911         * po/ia.po: Update.
11912         * po/id.po: Update.
11913         * po/it.po: Update.
11914         * po/ja.po: Update.
11915         * po/ko.po: Update.
11916         * po/lt.po: Update.
11917         * po/nb.po: Update.
11918         * po/nl.po: Update.
11919         * po/pl.po: Update.
11920         * po/pt_BR.po: Update.
11921         * po/ru.po: Update.
11922         * po/rw.po: Update.
11923         * po/sk.po: Update.
11924         * po/sl.po: Update.
11925         * po/sv.po: Update.
11926         * po/tr.po: Update.
11927         * po/uk.po: Update.
11928         * po/vi.po: Update.
11929         * po/zh_CN.po: Update.
11930         * po/zh_TW.po: Update.
11932         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
11933         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
11934         * sysdeps/hppa/dl-irel.h: Remove #warning.
11935         * sysdeps/hppa/entry.h: Provide prototype for
11936         __canonicalize_funcptr_for_compare and cast argument.
11937         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
11938         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
11939         * sysdeps/hppa/sotruss-lib.c: New file.
11940         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
11941         (atomic_compare_and_exchange_val_acq): Use __typeof__.
11942         (atomic_compare_and_exchange_bool_acq): Likewise.
11943         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
11944         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
11946         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
11947         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
11948         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
11950 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
11952         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
11953         called function in non-PIC case.
11955 2015-01-31  David S. Miller  <davem@davemloft.net>
11957         * sysdeps/sparc/sparc32/bits/atomic.h
11958         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
11959         unlock not after it.
11960         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
11961         volatile register usage warnings from the compiler.
11963         * sysdeps/sparc/nptl/sem_init.c: Delete.
11964         * sysdeps/sparc/nptl/sem_post.c: Delete.
11965         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
11966         * sysdeps/sparc/nptl/sem_wait.c: Delete.
11967         * sysdeps/sparc/sparc32/sem_init.c: New file.
11968         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
11969         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
11970         padding explicitly initialized.
11971         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
11972         padding for in-semaphore spinlock.
11973         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
11974         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
11975         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
11976         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
11977         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
11978         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
11979         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
11980         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
11981         version.
11982         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
11983         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
11985 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
11987         [BZ #17801]
11988         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11989         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
11990         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
11991         New.
11992         (index_AVX_Fast_Unaligned_Load): Likewise.
11993         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
11994         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
11995         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
11996         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
11997         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
11998         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
11999         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
12000         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
12001         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
12003 2015-01-29  Andreas Schwab  <schwab@suse.de>
12005         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
12007 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
12009         [BZ #17892]
12010         * nscd/nscd_stat.c (send_stats): Initialize DATA.
12012 2015-01-28  Martin Sebor  <msebor@redhat.com>
12014         * math/README.libm-test: Clarify. Add "How to read the test output."
12016 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
12018         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
12019         Define to 0.
12021 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
12023         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
12024         (__HAVE_64B_ATOMICS): Define to 0.
12026 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12028         [BZ #17885]
12029         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
12030         value to set as new flag.
12032         [BZ #16576]
12033         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
12034         and use _ARCH_PPCSQ instead.
12035         (__ieee754_sqrt): Likewise.
12036         (__ieee754_sqrtf): Likewise.
12037         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
12038         _ARCH_PPCSQ is defined.
12039         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
12040         fsqrt instruction.
12041         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
12042         _ARCH_PPCSQ is defined.
12043         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
12044         fsqrts instruction.
12045         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
12047 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12049         * iconv/loop.c: Suppress array out of bound warning caused by GCC
12050         bug (GCC BZ #64739).
12052 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
12054         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
12055         Mark _retval as used.
12056         (lll_futex_wake_unlock): Likewise.
12057         (lll_futex_timed_wait_requeue_pi): Likewise.
12059         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12060         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
12061         register variables.
12063         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
12064         libm_hidden_def.
12066         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
12067         (__bswap_64): Mark as __always_inline.
12069 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
12071         [BZ #15378]
12072         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
12073         when none of the search directories exist.
12075 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12077         [BZ #17869]
12078         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
12079         power8 in .machine directive.
12081         [BZ #17868]
12082         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
12083         set dependency from opd value.
12085 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
12087         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12088         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
12089         architecture.
12091 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
12093         [BZ #17870]
12094         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
12095         with uint64_t.
12096         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
12097         (uint64_t) 1.
12098         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
12099         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
12100         Replace 1UL with (uint64_t) 1.
12101         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
12102         int with uint64_t.
12104 2015-01-23  Roland McGrath  <roland@hack.frob.com>
12106         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
12107         (if_freenameindex): Likewise.
12109         * resource/getrlimit64.c: Add missing libc_hidden_def.
12111 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
12113         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
12114         __label__.
12115         (_FP_FMA): Likewise.
12116         (_FP_TO_INT_ROUND): Likewise.
12117         (_FP_FROM_INT): Likewise.
12119 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12121         [BZ #16418]
12122         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
12123         Make code racy and cancel safe.
12125 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
12127         * sysdeps/arm/unwind-resume.h: Fix copyright year.
12128         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
12129         attribution.
12131         * pwd/tst-getpw.c: Rewrite.
12133         [BZ #17702]
12134         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
12135         (modules-names): Add moddummy1 and moddummy2.
12136         ($(objpfx)tst-rec-dlopen): Define.
12137         * dlfcn/moddummy1.c: New file.
12138         * dlfcn/moddummy2.c: New file.
12139         * dlfcn/tst-rec-dlopen.c: New file.
12140         * elf/dl-cache.c (_dl_load_cache_lookup):
12141         Return char*. Copy result with alloca/strcpy/strdup.
12142         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
12143         returns char*. Free cached. If not saving realname
12144         free cached.
12145         * elf/dl-open.c (dl_open_worker): Do not assert that
12146         _r_debug->r_state is RT_CONSISTENT.
12147         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
12148         returns char*.
12150 2015-01-21  Torvald Riegel  <triegel@redhat.com>
12151             Carlos O'Donell  <carlos@redhat.com>
12153         [BZ #12674]
12154         * nptl/sem_waitcommon.c: New file.
12155         * nptl/sem_wait.c: Include sem_waitcommon.c.
12156         (__sem_wait_cleanup, do_futex_wait): Remove.
12157         (__new_sem_wait): Adapt.
12158         (__new_sem_trywait): New function.
12159         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
12160         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
12161         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
12162         (sem_timedwait): Adapt.
12163         * nptl/sem_post.c (__new_sem_post): Adapt.
12164         (futex_wake): New function.
12165         (__old_sem_post): Add release MO fence.
12166         * nptl/sem_open.c (sem_open): Adapt.
12167         * nptl/sem_init.c (__new_sem_init): Adapt.
12168         (futex_private_if_supported): New function.
12169         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
12170         (__old_sem_getvalue): Add using previous code.
12171         * sysdeps/nptl/internaltypes.h: Adapt.
12172         * nptl/tst-sem13.c (do_test): Adapt.
12173         * nptl/tst-sem11.c (main): Adapt.
12174         * nptl/sem_trywait.c: Remove.
12175         * nptl/DESIGN-sem.txt: Remove.
12176         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
12177         (gen-as-const-headers): Remove structsem.sym.
12178         * nptl/structsem.sym: Remove.
12179         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
12180         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
12181         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
12182         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
12183         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
12184         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
12185         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
12186         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
12187         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
12188         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
12189         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
12190         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
12191         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
12192         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
12193         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
12194         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
12195         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
12196         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
12197         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
12198         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
12199         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
12200         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
12202 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
12204         * INSTALL: Regenerated.
12206         * po/libc.pot: Regenerated.
12208 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
12209             Sandra Loosemore  <sandra@codesourcery.com>
12210             Andrew Jenner  <andrew@codesourcery.com>
12211             Joseph Myers  <joseph@codesourcery.com>
12212             Nathan Sidwell  <nathan@codesourcery.com>
12214         * NEWS: Mention new Nios II port.
12215         * sysdeps/nios2/Implies: New file.
12216         * sysdeps/nios2/Makefile: New file.
12217         * sysdeps/nios2/Subdirs: New file.
12218         * sysdeps/nios2/Versions: New file.
12219         * sysdeps/nios2/__longjmp.S: New file.
12220         * sysdeps/nios2/abort-instr.h: New file.
12221         * sysdeps/nios2/backtrace.c: New file.
12222         * sysdeps/nios2/bits/endian.h: New file.
12223         * sysdeps/nios2/bits/fenv.h: New file.
12224         * sysdeps/nios2/bits/link.h: New file.
12225         * sysdeps/nios2/bits/setjmp.h: New file.
12226         * sysdeps/nios2/bsd-_setjmp.S: New file.
12227         * sysdeps/nios2/bsd-setjmp.S: New file.
12228         * sysdeps/nios2/configure: New generated file.
12229         * sysdeps/nios2/configure.ac: New file.
12230         * sysdeps/nios2/crti.S: New file.
12231         * sysdeps/nios2/crtn.S: New file.
12232         * sysdeps/nios2/dl-init.c: New file.
12233         * sysdeps/nios2/dl-machine.h: New file.
12234         * sysdeps/nios2/dl-sysdep.h: New file.
12235         * sysdeps/nios2/dl-tls.h: New file.
12236         * sysdeps/nios2/dl-trampoline.S: New file.
12237         * sysdeps/nios2/gccframe.h: New file.
12238         * sysdeps/nios2/gmp-mparam.h: New file.
12239         * sysdeps/nios2/jmpbuf-offsets.h: New file.
12240         * sysdeps/nios2/jmpbuf-unwind.h: New file.
12241         * sysdeps/nios2/ldsodefs.h: New file.
12242         * sysdeps/nios2/libc-tls.c: New file.
12243         * sysdeps/nios2/libm-test-ulps: New file.
12244         * sysdeps/nios2/machine-gmon.h: New file.
12245         * sysdeps/nios2/math-tests.h: New file.
12246         * sysdeps/nios2/math_private.h: New file.
12247         * sysdeps/nios2/memusage.h: New file.
12248         * sysdeps/nios2/nptl/Makefile: New file.
12249         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
12250         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
12251         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
12252         * sysdeps/nios2/nptl/pthreaddef.h: New file.
12253         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
12254         * sysdeps/nios2/nptl/tls.h: New file.
12255         * sysdeps/nios2/preconfigure: New file.
12256         * sysdeps/nios2/s_fma.c: New file.
12257         * sysdeps/nios2/s_fmaf.c: New file.
12258         * sysdeps/nios2/setjmp.S: New file.
12259         * sysdeps/nios2/sfp-machine.h: New file.
12260         * sysdeps/nios2/sotruss-lib.c: New file.
12261         * sysdeps/nios2/stackguard-macros.h: New file.
12262         * sysdeps/nios2/stackinfo.h: New file.
12263         * sysdeps/nios2/start.S: New file.
12264         * sysdeps/nios2/sysdep.h: New file.
12265         * sysdeps/nios2/tls-macros.h: New file.
12266         * sysdeps/nios2/tst-audit.h: New file.
12267         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
12268         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
12269         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
12270         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
12271         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
12272         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
12273         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
12274         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
12275         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
12276         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
12277         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
12278         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
12279         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
12280         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
12281         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
12282         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
12283         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
12284         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
12285         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
12286         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
12287         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
12288         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
12289         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
12290         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
12291         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
12292         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
12293         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
12294         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
12295         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
12296         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
12297         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
12298         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
12299         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
12300         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
12301         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
12302         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
12303         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
12304         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
12305         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
12306         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
12307         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
12308         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
12309         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
12310         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
12312 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12314         [BZ #17844]
12315         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
12316         (getutent): Use weak_alias in non SHARED case
12317         and default_symbol_version in SHARED case.
12318         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
12319         (getutent_r, pututline): Likewise.
12320         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
12321         (getutid): Likewise.
12322         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
12323         (getutid_r): Likewise.
12324         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
12325         (getutline): Likewise.
12326         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
12327         (getutline_r): Likewise.
12328         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
12329         (updwtmp): Likewise.
12331 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12333         [BZ #17848]
12334         * sysdeps/s390/s390-32/memcmp.S
12335         (memcmp_g5): Rename to __memcmp_g5.
12336         * sysdeps/s390/s390-32/memcpy.S
12337         (memcpy_g5): Rename to __memcpy_g5.
12338         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12339         (memcpy_mvcle) Rename to __memcpy_mvcle.
12340         * sysdeps/s390/s390-32/memset.S
12341         (memset_g5): Rename to __memset_g5.
12342         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12343         (IFUNC_RESOLVE): Prefix ifunc-resolve function
12344         and use prefixed functions.
12345         * sysdeps/s390/s390-32/multiarch/memcmp.S
12346         (memcmp_z196): Rename to __memcmp_z196.
12347         (memcmp_z10): Rename to __memcmp_z10.
12348         (memcmp): Set alias to __memcmp_g5.
12349         (bcmp): Set alias to __memcmp_g5.
12350         * sysdeps/s390/s390-32/multiarch/memcpy.S
12351         (memcpy_z196): Rename to __memcpy_z196.
12352         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12353         (memcpy_z10): Rename to __memcpy_z10.
12354         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12355         (memcpy): Set alias to __memcpy_g5.
12356         * sysdeps/s390/s390-32/multiarch/memset.S
12357         (memset_z196): Rename to __memset_z196.
12358         Jump to __memset_mvcle instead of memset_mvcle.
12359         (memset_z10): Rename to __memset_z10.
12360         Jump to __memset_mvcle instead of memset_mvcle.
12361         (memset_mvcle) Rename to __memset_mvcle.
12362         (memset): Set alias to __memset_g5.
12363         * sysdeps/s390/s390-64/memcmp.S
12364         (memcmp_z900): Rename to __memcmp_z900.
12365         * sysdeps/s390/s390-64/memcpy.S
12366         (memcpy_z900): Rename to __memcpy_z900.
12367         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12368         (memcpy_mvcle) Rename to __memcpy_mvcle.
12369         * sysdeps/s390/s390-64/memset.S
12370         (memset_z900): Rename to __memset_z900.
12371         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
12372         (IFUNC_RESOLVE): Prefix ifunc-resolve function
12373         and use prefixed functions.
12374         * sysdeps/s390/s390-64/multiarch/memcmp.S
12375         (memcmp_z196): Rename to __memcmp_z196.
12376         (memcmp_z10): Rename to __memcmp_z10.
12377         (memcmp): Set alias to __memcmp_z900.
12378         (bcmp): Set alias to __memcmp_z900.
12379         * sysdeps/s390/s390-64/multiarch/memcpy.S
12380         (memcpy_z196): Rename to __memcpy_z196.
12381         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12382         (memcpy_z10): Rename to __memcpy_z10.
12383         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12384         (memcpy): Set alias to __memcpy_z900.
12385         * sysdeps/s390/s390-64/multiarch/memset.S
12386         (memset_z196): Rename to __memset_z196.
12387         Jump to __memset_mvcle instead of memset_mvcle.
12388         (memset_z10): Rename to __memset_z10.
12389         Jump to __memset_mvcle instead of memset_mvcle.
12390         (memset_mvcle) Rename to __memset_mvcle.
12391         (memset): Set alias to __memset_z900.
12393 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
12395         [BZ #17748]
12396         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
12397         __fesetenv instead of fesetenv.
12399 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12401         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
12402         macro.
12404 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12406         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
12407         regression on LE.
12409         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
12410         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
12411         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
12412         strncmp-power8 object.
12413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12414         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
12415         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
12416         * NEWS: Update.
12418 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12419             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12421         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
12422         trailing byte check.
12424 2015-01-13  David S. Miller  <davem@davemloft.net>
12426         * include/signal.h (__sigreturn): Guard with __USE_MISC.
12428 2015-01-13  Roland McGrath  <roland@hack.frob.com>
12430         * login/logout.c (logout): Use memset rather than bzero.
12431         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
12432         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
12433         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
12434         (_gethtbyaddr): Likewise.
12435         * locale/programs/simple-hash.c (bcopy): Macro removed.
12437 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12439         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12440         Add strcmp-power8 object.
12441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12442         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
12443         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
12444         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
12445         __strcmp_power8 implementation.
12446         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
12447         * NEWS: Update.
12449         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12450         Add strncpy-power8 and stpncpy-power8 objects.
12451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12452         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
12453         implementations.
12454         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
12455         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
12456         __stpncpy_power8 implementation.
12457         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
12458         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
12459         __strncpy_power8 implementation.
12460         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
12461         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
12462         * NEWS: Update.
12464         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
12465         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
12466         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
12468         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
12469         strncat-power8 object.
12470         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
12471         __strcat_power8 implementation.
12472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12473         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
12474         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
12475         optimized strcat for power8.
12477         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
12478         strcpy-power8 and stpcpy-power8 objects.
12479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12480         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
12481         implementations.
12482         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
12483         multiarch stpcpy implementation for POWER8.
12484         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
12485         multiarch strcpy implementation for POWER8.
12486         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
12487         __strcpy_power8 function.
12488         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
12489         stpcpy for POWER8.
12490         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
12491         strcpy for POWER8.
12492         * NEWS: Update.
12494 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
12496         [BZ #16009]
12497         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
12498         weights and rules. Use do_xfrm_cached if data fits in cache,
12499         do_xfrm otherwise.  Moved former main loop to...
12500         * (do_xfrm_cached): New function.
12501         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
12502         find_idx, find_position and stack_push.
12503         * (find_idx): New function.
12504         * (find_position): Likewise.
12505         * localedata/sort-test.sh: Added test run for do_xfrm.
12506         * localedata/xfrm-test.c (main): Added command line option
12507         -nocache to run the test with strings that are too large for
12508         the STRXFRM cache.
12510 2015-01-13  Torvald Riegel  <triegel@redhat.com>
12512         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
12513         variable to lll_futex_wake call, not the value itself.
12515 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
12517         [BZ #17803]
12518         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
12519         twom64.  Adjust value to 0x1p-64L.
12520         (__scalblnl): Only return standard underflowing result for K <=
12521         -64 not K <= -63; adjust exponent for underflowing result by 64
12522         not 63.
12523         * math/libm-test.inc (scalbn_test_data): Add more tests.
12524         (scalbln_test_data): Likewise.
12526         [BZ #17834]
12527         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
12528         0x1p63L.
12529         (__scalblnl): Get new exponent of adjusted subnormal value from ES
12530         not HX.
12531         * math/libm-test.inc (scalbn_test_data): Add more tests.
12532         (scalbln_test_data): Likewise.
12534 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12535             Stefani Seibold  <stefani@seibold.net>
12537         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
12538         (sysdep_routines): Add dl-vdso here, ...
12539         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
12540         (sysdep_routines): ... not here.
12541         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
12542         fallback when vDSO is not presented.
12543         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
12544         Define with libc_hidden_proto/libc_hidden_data_def definitions.
12545         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
12546         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
12547         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
12548         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
12549         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
12550         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
12551         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
12552         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
12553         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
12554         fallback configurable symbol when vDSO is not available.
12555         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
12556         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
12557         be able to redefine fallback symbol when vDSO is not available.
12558         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
12559         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
12561 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12563         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
12564         (TLS_INIT_TP): Add tm_capable initialization.
12565         (TLS_DEFINE_INIT_TP): Likewise.
12566         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
12567         TCB.
12568         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
12569         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
12570         calculation.
12571         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
12572         transactoion is lock elision is built and TCB tm_capable is set.
12573         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
12574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12575         (INTERNAL_SYSCALL_NCS): Likewise.
12576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12577         (INTERNAL_SYSCALL_NCS): Likewise.
12578         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
12580         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
12581         for powerpc.
12582         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12583         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
12584         and remove it for 32 bits case.
12585         [pthread_rwlock_t] (__rwelision): New field for lock elision.
12586         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
12587         initialization.
12588         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
12589         Disable lock elision with rdlocks if elision is not available.
12591         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
12592         (sysdep_routines): Add lock elision objects.
12593         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12594         [pthread_mutex_t] (__spins): Rework to add lock elision field.
12595         [pthread_mutex_t] (__elision): Add field.
12596         [__PTHREAD_SPINS]: Adjust to init lock elision field.
12597         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
12598         elision definitions for powerpc.
12599         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
12600         implementation of lock elision for powerpc.
12601         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
12602         implementation of timed lock elision for powerpc.
12603         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
12604         implementation of trylock with lock elision for powerpc.
12605         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
12606         implementaion of unlock for lock elision for powerpc.
12607         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
12608         automatic enable lock elision for mutexes.
12609         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
12610         transaction execution definitions for powerpc.
12611         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
12612         definitions.
12613         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
12614         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
12615         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
12616         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
12617         * NEWS: Update.
12619 2015-01-09  Roland McGrath  <roland@hack.frob.com>
12621         * sysdeps/posix/shm-directory.c: Use <> rather than ""
12622         for #include of <shm-directory.h>.
12624 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
12626         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
12627         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
12629 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
12631         [BZ #17791]
12632         * NEWS: Mention bug fix.
12633         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
12634         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
12635         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
12637 2015-01-09  Torvald Riegel <triegel@redhat.com>
12639         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
12641 2015-01-09  Torvald Riegel <triegel@redhat.com>
12643         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
12645 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
12647         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
12648         pointer and cast to uintptr_t.
12650 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
12652         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
12653         removed.
12654         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
12656 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
12658         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
12659         of 0.
12661 2015-01-08  Roland McGrath  <roland@hack.frob.com>
12663         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
12664         <nptl/pthreadP.h> instead.
12665         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
12667         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
12668         already defined.
12669         [__SIGRTMIN] (init): Function removed.
12670         [__SIGRTMIN] (initialized): Variable removed.
12671         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
12672         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
12673         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
12674         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
12675         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
12676         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
12677         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
12678         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
12679         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
12680         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
12681         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
12682         * sysdeps/nptl/allocrtsig.c: New file.
12683         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
12684         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
12685         * sysdeps/generic/testrtsig.h: File removed.
12687         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
12688         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
12690         * nptl/nptl-init.c (pthread_functions): Conditionalize
12691         .ptr__nptl_setxid initialization on [SIGSETXID].
12693         * sysdeps/nptl/sys/procfs.h: New file.
12694         * nptl_db/Makefile (headers): Add it.
12695         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
12697         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
12698         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
12699         * nptl/pthread_attr_setaffinity.c: Include it.
12700         * nptl/pthread_setattr_default_np.c: Likewise.
12701         * nptl/check-cpuset.h: New file.
12703 2015-01-08  Richard Henderson  <rth@redhat.com>
12705         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
12706         (CFLAGS-tst-execstack-prog.c): Likewise.
12707         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
12709 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
12710             Sandra Loosemore  <sandra@codesourcery.com>
12711             Andrew Jenner  <andrew@codesourcery.com>
12712             Joseph Myers  <joseph@codesourcery.com>
12713             Nathan Sidwell  <nathan@codesourcery.com>
12715         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
12716         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
12717         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
12718         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
12719         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
12720         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
12721         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
12722         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
12723         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
12724         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
12725         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
12726         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
12727         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
12728         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
12729         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
12730         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
12731         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
12733 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12735         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
12736         timespec struct member in syscall macro.
12737         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
12738         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
12739         first timeval struct member in syscall macro.
12740         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
12742 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
12744         [BZ #17748]
12745         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
12746         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
12747         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
12748         __feupdateenv and define as weak alias of __feupdateenv.  Use
12749         libm_hidden_weak.
12750         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
12751         libm_hidden_def.
12752         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
12753         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
12754         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
12755         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
12756         libm_hidden_def.
12757         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
12758         __feupdateenv and define as weak alias of __feupdateenv.  Use
12759         libm_hidden_weak.
12760         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
12761         libm_hidden_def.
12762         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
12763         __feupdateenv and define as weak alias of __feupdateenv.  Use
12764         libm_hidden_weak.
12765         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
12766         libm_hidden_def.
12767         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12768         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
12769         (__feupdateenv): Likewise.
12770         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
12771         __feupdateenv and define as weak alias of __feupdateenv.  Use
12772         libm_hidden_weak.
12773         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12774         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
12775         libm_hidden_def.
12776         * sysdeps/tile/math_private.h (__feupdateenv): New inline
12777         function.
12778         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
12779         libm_hidden_def.
12780         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
12781         __feupdateenv instead of feupdateenv.
12782         (default_libc_feupdateenv_test): Likewise.
12783         (libc_feresetround_ctx): Likewise.
12785 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12787         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
12788         prototype.
12790 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
12792         * posix/regcomp.c (parse_bracket_exp): Initialize type to
12793         COLL_SYM in a couple of places to avoid uninitialized variable
12794         wanings on tilegx gcc 4.8.2.
12796 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
12798         * sysdeps/aarch64/strcpy.S: New file.
12799         * sysdeps/aarch64/stpcpy.S: New file.
12800         * NEWS: Updated.
12802 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
12804         * sysdeps/aarch64/strrchr.S: New file.
12805         * NEWS: Updated.
12807 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
12809         [BZ #17658]
12810         * stdlib/setenv.c: Fix memory leak when setting large,
12811         duplicate string.
12813 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
12815         [BZ #17273]
12816         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
12817         and tabs from buffer before parsing fstab entry.
12818         * misc/tst-mntent.c (main): Add test for mount entry with
12819         trailing spaces and tabs.
12821 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
12823         [BZ #17748]
12824         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
12825         * math/fesetround.c (fesetround): Rename to __fesetround and
12826         define as weak alias of __fesetround.  Use libm_hidden_weak.
12827         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
12828         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
12829         * sysdeps/arm/fesetround.c (fesetround): Likewise.
12830         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
12831         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
12832         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
12833         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
12834         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
12835         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
12836         __fesetround_inline.
12837         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
12838         __fesetround_inline instead of __fesetround.
12839         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
12840         __fesetround and define as weak alias of __fesetround.  Use
12841         libm_hidden_weak.  Call __fesetround_inline instead of
12842         __fesetround.
12843         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
12844         __fesetround and define as weak alias of __fesetround.  Use
12845         libm_hidden_weak.
12846         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
12847         Likewise.
12848         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
12849         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12850         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
12851         * sysdeps/tile/math_private.h (__fesetround): New inline function.
12852         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
12853         __fesetround and define as weak alias of __fesetround.  Use
12854         libm_hidden_weak.
12855         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
12856         __fesetround instead of fesetround.
12857         (default_libc_feholdexcept_setround): Likewise.
12858         (libc_feholdsetround_ctx): Likewise.
12859         (libc_feholdsetround_noex_ctx): Likewise.
12861         [BZ #17748]
12862         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
12863         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
12864         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
12865         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
12866         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
12867         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
12868         define as weak alias of __fesetenv.  Use libm_hidden_weak.
12869         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
12870         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
12871         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
12872         define as weak alias of __fesetenv.  Use libm_hidden_weak.
12873         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
12874         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
12875         define as weak alias of __fesetenv.  Use libm_hidden_weak.
12876         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
12877         libm_hidden_def.
12878         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
12879         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
12880         Likewise.
12881         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
12882         define as weak alias of __fesetenv.  Use libm_hidden_weak.
12883         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12884         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
12885         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
12886         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
12887         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
12888         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
12889         __fesetenv instead of fesetenv.
12890         (libc_feresetround_noex_ctx): Likewise.
12891         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
12892         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
12893         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
12894         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
12895         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
12896         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
12897         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12898         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
12899         (__feupdateenv): Likewise.
12900         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12901         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12902         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12903         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
12905 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
12907         [BZ #17806]
12908         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
12909         addresses have been freed.
12911 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
12913         * resolv/res_init.c (__res_vinit): Improve comments about nserv
12914         and nservall.
12916 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
12918         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
12919         Clean up check_pf allocation pattern. addresses
12921 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12923         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
12924         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
12925         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
12926         * nptl/pthread_exit.c (__pthread_exit): Likewise.
12927         * nptl/pthread_join.c (pthread_join): Likewise.
12928         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
12929         * sysdeps/posix/waitid.c (__waitid): Likewise.
12930         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
12931         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
12932         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
12933         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
12934         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
12935         Likewise.
12936         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
12937         (__libc_pread64): Likewise.
12938         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
12939         (__libc_pwrite): Likewise.
12940         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
12941         (__libc_pwrite64): Likewsie.
12942         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
12943         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
12944         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
12945         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
12946         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
12947         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
12948         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
12950         Likewise.
12951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12952         (__libc_pread64): Likewise.
12953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
12954         Likewise.
12955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12956         (__libc_pwrite64): Likewise.
12957         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
12958         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
12959         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
12960         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
12961         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12962         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12963         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
12964         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
12965         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
12966         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
12967         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
12968         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
12969         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
12970         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
12971         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
12972         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
12973         Likewise.
12975 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12977         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
12978         (CFLAGS-test-double.c): Likewise.
12979         (CFLAGS-test-ldouble.c): Likewise.
12980         (CPPFLAGS-test-ifloat.c): Likewise.
12981         (CPPFLAGS-test-idouble.c): Likewise.
12982         (CPPFLAGS-test-ildoubl.c): Likewise.
12983         (CFLAGS-test-test-fenv.c): Remove variable.
12984         (CFLAGS-test-misc.c): Likewise.
12986 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
12988         [BZ #17797]
12989         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
12990         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
12991         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
12992         CLOCKS_PER_SEC == 1000000.
12993         * time/clocktest.c (main): Replace %ld with %jd and cast to
12994         intmax_t.
12996 2015-01-05  Roland McGrath  <roland@hack.frob.com>
12998         * sysdeps/generic/unwind-resume.h: New file.
12999         * sysdeps/gnu/unwind-resume.c: Include it.
13000         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
13001         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
13002         argument list.
13003         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
13004         global rather than static.
13005         (_Unwind_Resume): Update user.
13006         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
13007         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
13008         rather than static.  Add __attribute__ ((cold)).
13009         (_Unwind_Resume, __gcc_personality_v0): Update callers.
13010         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13011         * sysdeps/arm/arm-unwind-resume.S: New file.
13012         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
13013         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
13014         * sysdeps/arm/Makefile [$(subdir) = csu]
13015         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
13016         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13017         Add rt-arm-unwind-resume.
13018         [$(subdir) = nptl]
13019         (libpthread-sysdep_routines, libpthread-shared-only-routines):
13020         Add pt-arm-unwind-resume.
13021         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
13022         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
13024 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
13026         [BZ #17748]
13027         * include/fenv.h (__feholdexcept): Declare.  Use
13028         libm_hidden_proto.
13029         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
13030         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
13031         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13032         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
13033         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
13034         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
13035         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
13036         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13037         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
13038         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
13039         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13040         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
13041         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
13042         (feholdexcept): Likewise.
13043         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13044         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13045         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13046         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13047         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
13048         __feholdexcept instead of feholdexcept.
13049         (default_libc_feholdexcept_setround): Likewise.
13051 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
13053         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
13054         to avoid using stl/str to align destination.
13056 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
13058         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
13060 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
13062         [BZ #17796]
13063         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
13064         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
13065         Define as weak alias not strong alias.
13067 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
13069         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
13070         bltzal with addiupc.
13071         (RTLD_START): Ditto.
13073 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
13075         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
13076         for __vdso_* functions in declarations.
13077         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
13078         definitions.
13079         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
13080         INTERNAL_VSYSCALL): Use struct return types to check for error.
13082         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
13083         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
13084         function with cast from llround().
13085         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
13086         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13087         Define.
13089 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
13091         [BZ #17793]
13092         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
13093         Define as weak alias not strong alias.
13095         [BZ #17635]
13096         * ctype/ctype-c99.c: New file.  isblank implementation moved from
13097         ...
13098         * ctype/ctype-extn.c: ... here.
13099         (__isblank_l): Move to ...
13100         * ctype/ctype-c99_l.c: ... here.  New file.
13101         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
13102         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
13103         Remove variable.
13104         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13105         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13106         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13107         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13108         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13110         [BZ #17777]
13111         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
13112         (posix_fadvise64): Define as weak alias not strong alias.
13113         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13114         (posix_fallocate64): Likewise.
13115         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
13116         Remove variable.
13117         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13118         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13119         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13120         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13121         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13123 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
13125         [BZ #16191]
13126         * NEWS: Mention bug fix.
13127         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
13128         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
13129         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
13130         (HOST_STACK_END_ADDR): Likewise.
13132 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
13134         [BZ #17748]
13135         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
13136         * math/fegetround.c (fegetround): Rename to __fegetround and
13137         define as weak alias of __fegetround.  Use libm_hidden_weak.
13138         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
13139         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
13140         * sysdeps/arm/fegetround.c (fegetround): Likewise.
13141         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
13142         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13143         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
13144         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
13145         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
13146         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13147         Undefine after rather than before function definition; use
13148         parentheses around function name in definition.
13149         (__fegetround): Also undefine macro after function definition.
13150         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
13151         __fegetround and define as weak alias of __fegetround.  Use
13152         libm_hidden_weak.  Do not undefine as macro.
13153         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13154         Likewise.
13155         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
13156         __fegetround and define as weak alias of __fegetround.  Use
13157         libm_hidden_weak.
13158         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13159         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13160         * sysdeps/tile/math_private.h (__fegetround): New inline function.
13161         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
13162         __fegetround and define as weak alias of __fegetround.  Use
13163         libm_hidden_weak.
13164         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
13165         __fegetround instead of fegetround.
13167         [BZ #17782]
13168         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
13169         Condition macro definition on [__USE_MISC].
13171         [BZ #17781]
13172         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
13173         (struct sigaction): Change type of sa_flags field to int.
13175         [BZ #17780]
13176         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
13177         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
13178         __glibc_reserved0.
13180         * nptl/version.c (banner): Use single year in copyright notice.
13182         * NEWS: Update copyright dates.
13183         * catgets/gencat.c (print_version): Likewise.
13184         * csu/version.c (banner): Likewise.
13185         * debug/catchsegv.sh: Likewise.
13186         * debug/pcprofiledump.c (print_version): Likewise.
13187         * debug/xtrace.sh (do_version): Likewise.
13188         * elf/ldconfig.c (print_version): Likewise.
13189         * elf/ldd.bash.in: Likewise.
13190         * elf/pldd.c (print_version): Likewise.
13191         * elf/sotruss.sh: Likewise.
13192         * elf/sprof.c (print_version): Likewise.
13193         * iconv/iconv_prog.c (print_version): Likewise.
13194         * iconv/iconvconfig.c (print_version): Likewise.
13195         * locale/programs/locale.c (print_version): Likewise.
13196         * locale/programs/localedef.c (print_version): Likewise.
13197         * login/programs/pt_chown.c (print_version): Likewise.
13198         * malloc/memusage.sh (do_version): Likewise.
13199         * malloc/memusagestat.c (print_version): Likewise.
13200         * malloc/mtrace.pl: Likewise.
13201         * manual/libc.texinfo: Likewise.
13202         * nptl/version.c (banner): Likewise.
13203         * nscd/nscd.c (print_version): Likewise.
13204         * nss/getent.c (print_version): Likewise.
13205         * nss/makedb.c (print_version): Likewise.
13206         * posix/getconf.c (main): Likewise.
13207         * scripts/test-installation.pl: Likewise.
13208         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13210 2015-01-02  Will Newton  <will.newton@linaro.org>
13212         * sysdeps/arm/armv7/configure: Removed.
13213         * sysdeps/arm/armv7/configure.ac: Likewise.
13215 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
13217         * All files with FSF copyright notices: Update copyright dates
13218         using scripts/update-copyrights.
13219         * intl/plural.c: Regenerated.
13220         * locale/programs/charmap-kw.h: Likewise.
13221         * locale/programs/locfile-kw.h: Likewise.
13223 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13225         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
13227 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
13229         [BZ #17748]
13230         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
13231         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
13232         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
13233         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
13234         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13235         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
13236         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13237         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
13238         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13239         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
13240         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13241         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13242         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
13243         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13244         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
13245         libm_hidden_def.
13246         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
13247         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
13248         Likewise.
13249         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
13250         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13251         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13252         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13253         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
13254         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
13255         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
13256         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
13257         __fegetenv instead of fegetenv.
13258         (libc_feholdsetround_noex_ctx): Likewise.
13260 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
13262         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
13263         (Elf_MIPS_ABIFlags_v0): New structure.
13264         (EF_MIPS_FP64): Define.
13265         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
13266         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
13267         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
13268         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
13269         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
13270         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
13271         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
13272         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
13273         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
13274         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
13275         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
13276         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
13277         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
13278         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
13279         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
13280         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
13281         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
13282         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
13283         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
13284         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
13285         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
13286         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
13287         field.
13288         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
13289         EF_MIPS_FP64.
13290         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
13291         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
13292         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
13293         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
13294         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
13295         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
13296         * sysdeps/mips/tst-abi-interlink.c: Likewise.
13297         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
13298         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
13299         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
13300         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
13301         record the current FP ABI extension.
13302         (mips-mode-switch): Define to show if kernel headers support mode
13303         switching.
13304         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13305         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
13306         supported SYSV ABI version to 3.
13307         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
13308         feature.
13310 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13311             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13313         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
13314         path.
13315         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
13317 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
13319         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
13320         __fegetround and redefine to call __fegetround.  Remove condition
13321         on [!__NO_MATH_INLINES].
13322         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
13323         function.
13324         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
13325         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13326         Remove macro.
13327         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
13328         instead of <fenv_libc.h>.
13329         (__llrintl): Call fegetround instead of __fegetround.
13330         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
13331         instead of <fenv_libc.h>.
13332         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13333         (__lrintl): Call fegetround instead of __fegetround.
13334         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
13335         instead of <fenv_libc.h>.
13336         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13337         (__rintl): Call fegetround instead of __fegetround.
13339 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13341         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
13342         arrays.
13344 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
13346         [BZ #17775]
13347         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
13348         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
13349         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
13351 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
13353         * sysdeps/i386/tls-macros.h: Include <features.h>.
13354         (TLS_LE): Use non-PIC version for GCC >= 5.0.
13355         (TLS_IE): Likewise.
13356         (TLS_LD): Likewise.
13357         (TLS_GD): Likewise.
13358         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
13359         define for GCC >= 5.0.
13361 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
13363         * math/test-fenv.c (test_single_exception, set_single_exc,
13364         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
13365         feexcp_mask_test, feenable_test, fe_single_test): Add
13366         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
13367         case where they are not used.
13368         * math/libm-test.inc: Likewise.
13369         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
13370         unused in the absence of FP rounding/exception support.
13371         * stdio-common/tst-printf-round.c: Likewise.
13372         * stdlib/tst-strtod-round.c: Likewise.
13373         * stdlib/tst-strtod-underflow.c: Likewise.
13375 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
13377         [BZ #17723]
13378         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
13379         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
13380         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13381         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
13382         libm_hidden_weak.
13383         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
13384         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
13385         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
13386         libm_hidden_def.
13387         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13388         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
13389         libm_hidden_weak.
13390         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
13391         Likewise.
13392         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
13393         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13394         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
13395         libm_hidden_weak.
13396         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
13397         libm_hidden_def.
13398         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13399         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
13400         (__feraiseexcept): Likewise.
13401         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13402         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
13403         libm_hidden_weak.
13404         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
13405         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
13406         libm_hidden_def.
13407         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
13408         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
13409         Use libm_hidden_def.
13410         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
13411         libm_hidden_def.
13412         (feraiseexcept): Define as weak not strong alias.  Use
13413         libm_hidden_weak.
13414         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
13415         New inline function.  Factored out of ...
13416         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
13417         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
13418         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
13419         feraiseexcept.
13420         * math/w_acos.c (__acos): Likewise.
13421         * math/w_asin.c (__asin): Likewise.
13422         * math/w_ilogb.c (__ilogb): Likewise.
13423         * math/w_j0.c (y0): Likewise.
13424         * math/w_j1.c (y1): Likewise.
13425         * math/w_jn.c (yn): Likewise.
13426         * math/w_log.c (__log): Likewise.
13427         * math/w_log10.c (__log10): Likewise.
13428         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
13429         * sysdeps/aarch64/fpu/math_private.h
13430         (libc_feupdateenv_test_aarch64): Likewise.
13431         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
13432         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
13433         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
13434         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
13435         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
13436         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
13437         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
13438         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13439         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13440         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13442 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
13444         [BZ #17732]
13445         * io/test-utime.c (main): Replace %ld with %jd and cast to
13446         intmax_t.
13447         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
13448         * nptl/tst-mutex5.c: Include <stdint.h>.
13449         (do_test): Replace %ld with %jd and cast to intmax_t.
13450         * posix/tst-regex.c (run_test): Likewise.
13451         (run_test_backwards): Likewise.
13452         * rt/tst-clock.c: Include <stdint.h>.
13453         (clock_test): Replace %ld with %jd and cast to intmax_t.
13454         * rt/tst-cpuclock1.c: Include <stdint.h>.
13455         (do_test): Replace %lu with %ju and cast to uintmax_t.
13456         * rt/tst-cpuclock2.c: Include <stdint.h>.
13457         (do_test): Replace %lu with %ju and cast to uintmax_t.
13458         * rt/tst-mqueue1.c: Include <stdint.h>.
13459         (check_attrs): Replace %ld with %jd and cast to intmax_t.
13460         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
13461         intmax_t.
13462         * rt/tst-mqueue4.c (do_test): Likewise.
13463         * rt/tst-timer4.c: Include <stdint.h>.
13464         (check_ts): Replace %ld with %jd and cast to intmax_t.
13465         (do_test): Likewise.
13466         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
13467         and cast to intmax_t.
13468         * sysdeps/pthread/tst-timer.c (main): Likewise.
13469         * time/clocktest.c (main): Likewise.
13470         * time/tst-posixtz.c (do_test): Likewise.
13471         * timezone/tst-timezone.c (main): Likewise.
13473 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
13474             H.J. Lu  <hongjiu.lu@intel.com>
13476         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
13477         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
13478         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
13479         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
13480         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
13481         version if bit_Fast_Unaligned_Load is set.
13482         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13483         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13484         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13485         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13486         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13487         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13488         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13489         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
13490         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
13491         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
13492         to 4.
13493         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
13494         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
13495         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
13496         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
13498 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
13500         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
13501         instead of #if to avoid a Wundef warning.
13502         * stdlib/tst-limits.c (do_test): Likewise.
13504         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
13505         parallel other exception macros.
13506         (fegetenv): Convert from macro to extern inline so that it applies
13507         retroactively to inline functions already seen by the compiler.
13508         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
13510         * posix/Makefile (before-compile): Use $(objpfx) for
13511         posix-conf-vars-def.h.
13513 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13515         * posix/getconf.c (main): Use size_t for type of I.
13516         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
13517         NSPEC.
13519         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
13520         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
13521         * posix/posix-envs.def: Likewise.
13522         * sysdeps/posix/sysconf.c: Likewise.
13523         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
13524         (specs): Remove array.
13525         * scripts/gen-posix-conf-vars.awk: Support generation of specs
13526         array.
13528         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
13529         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
13530         (__sysconf): Use CONF_IS_* macros.
13532         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
13533         ($(objpfx)posix-conf-vars-def.h): New target.
13534         * posix/posix-conf-vars.list: New file.
13535         * posix/posix-conf-vars.h: New file.
13536         * posix/confstr.c: Include posix-conf-vars.h.
13537         (confstr): Use CONF_IS_* macros.
13538         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
13539         CONF_IS_* macros.
13540         * scripts/gen-posix-conf-vars.awk: New file.
13542 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
13544         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
13545         fegetround): Add no-op macros to avoid linknamespace issues.
13547         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
13548         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
13550         * sysdeps/unix/sysv/linux/tile/sysdep.h
13551         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
13552         assembly-specific section to avoid a redefinition warning.
13554         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
13555         long before casting to pointer to avoid a cast warning.
13557 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
13559         * sysdeps/tile/tilegx/Implies: New file.
13561 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
13563         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
13565 2014-12-23  Florian Weimer  <fweimer@redhat.com>
13567         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
13569 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
13571         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
13572         not define.
13573         * sysdeps/unix/sysv/linux/utimes.c: Do not include
13574         <kernel-features.h>.
13575         (__utimes) [__NR_utimes]: Make code unconditional.
13576         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
13577         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13578         (__ASSUME_UTIMES): Do not undefine.
13579         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13580         (__ASSUME_UTIMES): Likewise.
13581         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13582         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
13583         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
13584         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
13586 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
13588         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
13590 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
13592         [BZ #17747]
13593         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
13594         alias to weak alias for j0l, y0l.
13595         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
13596         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
13598         [BZ #17746]
13599         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
13600         conversion.
13602 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
13604         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
13605         to zero if not already defined.
13607 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
13609         [BZ #17724]
13610         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
13611         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
13612         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
13613         (char *) casts added.
13614         * sysdeps/ieee754/k_standardf.c: New file.
13615         * sysdeps/ieee754/k_standardl.c: Likewise.
13616         * math/Makefile (libm-support): Remove k_standard.
13617         (libm-calls): Add k_standard.
13619 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
13621         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13622         Optimize to avoid an unnecessary FPCR read.
13624 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
13626         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
13627         Optimize to reduce FPCR/FPSR accesses.
13629 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
13631         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
13632         Call libc_fetestexcept_aarch64.
13634 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
13636         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
13637         Call libc_fesetround_aarch64.
13639 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
13641         [BZ #17733]
13642         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
13643         (__bind): Do not define as weak alias.
13644         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
13645         define.
13646         (__getsockname): Do not define as weak alias.
13648 2014-12-22  Will Newton  <will.newton@linaro.org>
13650         * manual/install.texi: Document that we require bison 2.7
13651         or above.
13652         * INSTALL: Regenerate.
13653         * configure.ac: Use AC_CHECK_PROG_VER instead of
13654         AC_PATH_PROG when checking for bison and check for
13655         version 2.7 or above.
13656         * configure: Regenerate.
13658 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
13660         [BZ #17745]
13661         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
13662         * sysdeps/tile/ffsll.c (ffsll): To here.
13664         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
13666 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
13668         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
13669         if not defined.
13670         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
13671         definition.
13672         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
13673         hidden ___tls_get_addr.
13674         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
13675         hidden __tls_get_addr.
13676         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
13677         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
13678         Likewise.
13680 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
13682         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
13683         _dl_init call.
13685 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
13687         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
13688         from "call _dl_init@PLT".
13689         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
13691 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
13693         * manual/search.texi: (Array Sort Function): Clarify stable sorting
13694         guarantees.
13696 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
13698         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
13700 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
13702         [BZ #17744]
13703         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
13704         strnlen.
13706 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
13708         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
13709         of multu on MIPSr6.
13710         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
13711         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
13712         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
13713         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
13714         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
13716 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
13718         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
13719         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
13720         (PTR_SUBU): Use subu for mips32r6/mips64r6.
13721         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
13722         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
13723         mips32r6/mips64r6.
13724         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
13726 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
13728         * string/strncat.c (STRNCAT): Simplify implementation.
13730 2014-12-19  David S. Miller  <davem@davemloft.net>
13732         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
13733         access the quad as both a long double and as a series of 4 words.
13735         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
13736         link_map->l_info array access.
13738 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
13740         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
13742         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
13743         * math/atest-exp2.c (TIMEOUT): Likewise.
13744         * math/atest-sincos.c (TIMEOUT): Likewise.
13746 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
13748         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
13749         -Wno-error with -fno-builtin-lround.
13751 2014-12-19  Torvald Riegel  <triegel@redhat.com>
13753         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
13754         Contains futex constants and functions moved over from ...
13755         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
13756         <lowlevellock-futex.h>.
13757         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
13758         (lll_timedwait_tid): Add comments and parentheses around macro
13759         arguments.
13761 2014-12-19  Torvald Riegel  <triegel@redhat.com>
13763         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
13764         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
13765         (__lll_private_flag): Remove.
13766         (lll_futex_wait): Likewise.
13767         (lll_futex_timed_wait): Likewise.
13768         (lll_futex_wake): Likewise.
13769         (lll_futex_requeue): Likewise.
13770         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
13771         (__lll_timedwait_tid): Spell out argument names.
13772         (lll_timedwait_tid): Add comments and parentheses around macro
13773         arguments.
13774         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
13775         LLL_SHARED and LLL_PRIVATE usable from assembly code.
13777 2014-12-19  Torvald Riegel  <triegel@redhat.com>
13779         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
13780         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
13781         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13782         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
13783         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
13784         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
13785         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
13786         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
13787         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
13788         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
13789         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
13790         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
13791         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
13792         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
13793         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
13794         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
13795         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
13796         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
13797         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
13799 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
13801         * sysdeps/x86_64/x32/Makefile: New file.
13803 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
13805         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
13806         1L with (mp_limb_t) 1.
13808 2014-12-17  Roland McGrath  <roland@hack.frob.com>
13810         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
13811         * nptl/libc_pthread_init.c: ... here.
13812         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
13813         * nptl/register-atfork.c: ... here.
13815         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
13816         Use pthread_sigmask rather than INTERNAL_SYSCALL.
13817         Use assert_perror to check its return value.
13818         (__gai_create_helper_thread): Likewise.
13820         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
13822         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
13824 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
13826         [BZ #17725]
13827         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
13828         __profil_counter.
13829         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
13830         Likewise.
13831         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
13832         Likewise.
13833         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
13834         Likewise.
13835         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
13836         (profil_counter): Likewise.
13837         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
13838         (profil_counter): Likewise.
13839         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
13840         Likewise.
13841         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
13842         Likewise.
13843         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
13844         (profil_counter): Likewise.
13845         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
13846         Likewise.
13847         [!__profil_counter] (profil_counter): Define as weak alias of
13848         __profil_counter.
13849         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
13850         (profil_counter): Rename to __profil_counter.
13851         [!__profil_counter] (profil_counter): Define as weak alias of
13852         __profil_counter.
13853         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
13854         (profil_counter): Rename to __profil_counter.
13855         [!__profil_counter] (profil_counter): Define as weak alias of
13856         __profil_counter.
13857         * sysdeps/posix/profil.c: Update comment referring to
13858         profil_counter.
13859         (__profil): Use __profil_counter instead of profil_counter.
13860         * sysdeps/posix/sprofil.c (profil_counter): Rename to
13861         __profil_counter.  Use __profil_counter_ushort and
13862         __profil_counter_uint in definitions.
13863         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
13864         instead of profil_counter_uint and profil_counter_ushort.
13866         [BZ #17722]
13867         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
13868         define as weak alias of __inet_makeaddr.
13869         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
13870         as weak alias of __inet_addr.
13871         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
13872         as weak alias of __inet_pton.  Use libc_hidden_weak.
13873         * include/arpa/inet.h (__inet_pton): Declare.  Use
13874         libc_hidden_proto.
13875         (inet_makeaddr): Don't use libc_hidden_proto.
13876         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
13877         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
13878         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
13879         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
13880         Remove variable.
13881         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13882         (test-xfail-POSIX/time.h/linknamespace): Likewise.
13884 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
13886         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
13888 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13890         * stdio-common/bug-vfprintf-nargs.c (do_test):
13891         Cast value to intptr_t to avoid format warning
13892         for usage with PRIdPTR printing macro.
13894 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13896         * libio/tst-widetext.c (do_test):
13897         Use format type %td instead of %Zd for ptrdiff_t
13898         in order to avoid format warning.
13900 2014-12-17  Andreas Schwab  <schwab@suse.de>
13902         * nscd/mem.c (gc): Add size_t cast to match printf format.
13904 2014-12-16  Roland McGrath  <roland@hack.frob.com>
13906         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
13907         (init): Apply PTR_MANGLE to pointers before storing them.
13908         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
13909         before using them.
13911 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
13913         [BZ #17719]
13914         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
13915         define as weak alias of __memrchr.
13916         (__memrchr): Do not define as strong alias of memrchr.
13917         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
13918         Remove variable.
13919         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13920         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13921         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13923         [BZ #17717]
13924         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
13925         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
13926         (if_indextoname): Rename to __if_indextoname and define as weak
13927         alias of __if_indextoname.  Use libc_hidden_weak.
13928         (if_freenameindex): Rename to __if_freenameindex and define as
13929         weak alias of __if_freenameindex.
13930         (if_nameindex): Rename to __if_nameindex and define as weak alias
13931         of __if_nameindex.
13932         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
13933         __if_nametoindex and define as weak alias of __if_nametoindex.
13934         Use libc_hidden_weak.
13935         (if_freenameindex): Rename to __if_freenameindex and define as
13936         weak alias of __if_freenameindex.
13937         (if_nameindex): Rename to __if_nameindex and define as weak alias
13938         of __if_nameindex.
13939         (if_indextoname): Rename to __if_indextoname and define as weak
13940         alias of __if_indextoname.  Use libc_hidden_weak.
13941         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
13942         __if_nametoindex and define as weak alias of __if_nametoindex.
13943         Use libc_hidden_weak.
13944         (if_freenameindex): Rename to __if_freenameindex and define as
13945         weak alias of __if_freenameindex.  Use libc_hidden_weak.
13946         (if_nameindex_netlink): Use __if_freenameindex instead of
13947         if_freenameindex.
13948         (if_nameindex): Rename to __if_nameindex and define as weak alias
13949         of __if_nameindex.  Use libc_hidden_weak.
13950         (if_indextoname): Rename to __if_indextoname and define as weak
13951         alias of __if_indextoname.  Use libc_hidden_weak.
13952         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
13953         libc_hidden_proto.
13954         [!_ISOMAC] (__if_freenameindex): Likewise.
13955         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
13956         if_nametoindex.
13957         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
13958         variable.
13959         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13960         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13961         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13962         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13963         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13964         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13965         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13967         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
13968         Remove variable.
13969         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13970         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13972 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13974         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
13975         subscript above bounds'
13977         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
13978         bounds.
13980 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
13982         * libio/tst-fopenloc.c: Use test-skeleton.c.
13984         * stdlib/tst-bsearch.c: Use test-skeleton.c.
13985         (entry): Rename to ITEM.
13986         (do_test, comp): Adjust.
13988         * stdio-common/tst-fseek.c: Use test-skeleton.c.
13990 2014-12-16  Torvald Riegel  <triegel@redhat.com>
13992         * string/tester.c: Include <libc-internal.h>.
13993         (test_memset): Ignore -Wmemset-transposed-args.
13995 2014-12-16  Torvald Riegel  <triegel@redhat.com>
13997         * misc/tst-mntent2.c (do_test): Fix warning.
13999 2014-12-16  Torvald Riegel  <triegel@redhat.com>
14001         * elf/tst-unique4lib.cc(a): Mark as used.
14003 2014-12-16  Florian Weimer  <fweimer@redhat.com>
14005         [BZ #17630]
14006         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
14007         names.
14009 2014-12-16  Allan McRae  <allan@archlinux.org>
14011         * stdio-common/Makefile (tests): Re-add bug26.
14013 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
14015         [BZ #17657]
14016         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
14017         static array.
14019 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
14021         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
14022         (__lll_lock_wait): Likewise.
14023         (__lll_timedlock_wait): Likewise.
14024         (__lll_timedwait_tid): Likewise.
14025         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
14026         (__lll_robust_timedlock_wait): Likewise.
14027         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
14028         (lll_cond_trylock): Likewise.
14029         (__lll_lock): Likewise.
14030         (__lll_robust_lock): Likewise.
14031         (__lll_cond_lock): Likewise.
14032         (lll_robust_cond_lock): Likewise.
14033         (__lll_timedlock): Likewise.
14034         (__lll_robust_timedlock): Likewise.
14035         (__lll_unlock): Likewise.
14036         (__lll_robust_unlock): Likewise.
14037         (lll_wait_tid): Likewise.
14038         (lll_timedwait_tid): Likewise.
14040 2014-12-15  Torvald Riegel  <triegel@redhat.com>
14042         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
14044 2014-12-15  Torvald Riegel  <triegel@redhat.com>
14046         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
14048 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
14050         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
14051         * stdio-common/tst-sprintf.c: Likewise.
14053 2014-12-15  Torvald Riegel  <triegel@redhat.com>
14055         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
14057 2014-12-15  Jeff Law  <law@redhat.com>
14059         [BZ #16617]
14060         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
14061         on the heap.  (CVE-2012-3406)
14062         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
14063         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
14064         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
14066 2014-12-15  Will Newton  <will.newton@linaro.org>
14068         * manual/install.texi: Bump required version of texinfo
14069         to 4.7 from 4.5.
14070         * INSTALL: Regenerated.
14071         * configure.ac: Check for makeinfo version 4.7 and above.
14072         * configure: Regenerated.
14074 2014-12-12  Roland McGrath  <roland@hack.frob.com>
14076         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
14077         PREFIX, string constant to insert between directory and name.
14078         * sysdeps/posix/shm_open.c: Update caller.
14079         * sysdeps/posix/shm_unlink.c: Likewise.
14080         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
14081         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
14082         (SEM_SHM_PREFIX): New macro.
14083         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
14084         [$(have-thread-library) = no].
14085         * nptl/Makefile (libpthread-routines): Add shm-directory.
14086         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
14087         * sysdeps/nptl/shm-directory.h: New file.
14088         * sysdeps/posix/shm-directory.c
14089         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
14090         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14091         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
14092         INTERNAL_SYSCALL.
14093         (__where_is_shmfs): Function removed.
14094         (mountpoint, defaultmount, defaultdir, __namedsem_once):
14095         Variables removed.
14096         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
14097         Use SHM_GET_NAME.
14098         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
14100         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
14101         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
14102         unconditional for use inside libpthread.
14103         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
14105 2014-12-12  Roland McGrath  <roland@hack.frob.com>
14107         * nptl/pthread_getaffinity.c: New file.
14108         * nptl/pthread_setaffinity.c: New file.
14109         * nptl/pthread_getname.c: New file.
14110         * nptl/pthread_setname.c: New file.
14112         * nptl/pthread_create.c (START_THREAD_DEFN)
14113         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
14115 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14116             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14118         * resolv/res_send.c (send_vc): Disable warning resplen may
14119         be used uninitialized.
14121 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14123         * nptl/tst-mutex6.c
14124         (ATTR_NULL): New define checks ATTR against NULL.
14125         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
14126         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
14128 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
14130         [BZ #17581]
14131         * malloc/hooks.c
14132         (mem2mem_check): Revert my previous change.
14133         (malloc_check_get_size): Revert my previous change.
14134         (mem2chunk_check): Revert my previous change.
14136 2014-12-11  Roland McGrath  <roland@hack.frob.com>
14138         * sysdeps/posix/shm-directory.c: New file.
14139         * sysdeps/posix/shm-directory.h: New file.
14140         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
14141         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
14142         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
14143         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
14144         Transmute EPERM to EACCES.
14145         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
14146         from ...
14147         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
14148         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
14150 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14152         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
14153         pointer and cast to uintptr_t.
14154         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
14155         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
14156         Add cast to avoid warning.
14157         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
14159 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
14161         * nptl/semaphore.h: Move to ...
14162         * sysdeps/pthread/semaphore.h: ... here.
14163         * Makefile (installed-headers): Change nptl/semaphore.h to
14164         sysdeps/pthread/semaphore.h.
14166 2014-12-11  Roland McGrath  <roland@hack.frob.com>
14168         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
14169         generated error format strings.
14171         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
14172         -Wformat-extra-args warnings for scanf formats.
14173         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
14174         test of zero-length format (duh).
14175         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
14176         corner-case scanf format test.
14177         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
14178         generated fprintf format string.
14179         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
14180         corner-case sprintf format tests.
14181         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
14182         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
14183         -Wformat-extra-args warnings throughout.
14184         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
14185         (CFLAGS-scanf4.c): Likewise.
14186         (CFLAGS-scanf7.c): Likewise.
14187         (CFLAGS-tst-sprintf.c): Likewise.
14188         (CFLAGS-tst-printf.c): Likewise.
14189         (CFLAGS-tst-printfsz.c): Likewise.
14191 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
14193         * include/cpio.h: New file.
14194         * include/fmtmsg.h: Likewise.
14196         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
14197         corresponding format argument to size_t.
14198         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
14199         arguments.
14200         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
14201         corresponding format argument to size_t.
14202         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
14203         arguments.
14204         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
14205         corresponding format argument to size_t.
14206         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
14207         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
14208         (CFLAGS-tst-mbswcs2.c): Likewise.
14209         (CFLAGS-tst-mbswcs3.c): Likewise.
14210         (CFLAGS-tst-mbswcs4.c): Likewise.
14211         (CFLAGS-tst-mbswcs5.c): Likewise.
14212         (CFLAGS-tst-trans.c): Likewise
14214 2014-12-11  Roland McGrath  <roland@hack.frob.com>
14216         * posix/regexbug1.c (main): Use "%s" format with regerror results,
14217         rather than assuming they won't contain any '%'s.
14219 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
14221         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
14222         inhibit_loop_to_libcall to avoid recursive calls.
14223         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
14224         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
14226 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
14228         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
14229         prototype.
14231 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
14233         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
14234         integer value instead of boolean.
14236 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
14238         * malloc/malloc.c: Fix powerof2 check.
14240 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14242         * locale/programs/locfile.h (maybe_swap_uint32):
14243         Remove inline and add unused attribute.
14245 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14247         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14248         Truncating assembler expression to a .long expression.
14250 2014-12-11  Andreas Schwab  <schwab@suse.de>
14252         * elf/rtld.c (struct map_args): Constify str member.
14253         (do_preload): Constify fname argument.
14255 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14257         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
14258         constants definition.
14260 2014-12-11  Andreas Schwab  <schwab@suse.de>
14262         [BZ #16657]
14263         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
14264         FORCE_ELISION instead of DO_ELISION.
14265         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
14266         Remove.
14267         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
14268         Likewise.
14270         * iconvdata/gconv-modules: Remove duplicate entry.
14272 2014-12-11  Will Newton  <will.newton@linaro.org>
14274         Merge gettext 0.19.3 into intl/.
14276         This involves a number of cosmetic changes to comments
14277         and ANSI function definitions and prototypes throughout
14278         all the files. The gettext copyright header is used but
14279         with the date ranges taken from the glibc copy.
14281         * NEWS: Add gettext merge to 2.21.
14282         * intl/bindtextdom.c: Switch to gettext copyright.
14283         Use ANSI definitions and prototypes.
14284         Use gl_* locking primitives rather than __libc_* ones.
14285         Use __builtin_expect rather than __glibc_likely/unlikely.
14286         * intl/dcgettext.c: Switch to gettext copyright.
14287         Use ANSI definitions and prototypes.
14288         * intl/dcigettext.c: Switch to gettext copyright.
14289         Use ANSI definitions and prototypes.
14290         (INTDIV0_RAISES_SIGFPE): New define.
14291         Use gl_* locking primitives rather than __libc_* ones.
14292         Include eval-plural.h instead of plural-eval.c.
14293         Use __builtin_expect rather than __glibc_likely/unlikely.
14294         * intl/dcngettext.c: Switch to gettext copyright.
14295         Use ANSI definitions and prototypes.
14296         * intl/dgettext.c: Likewise.
14297         * intl/dngettext.c: Likewise.
14298         * intl/plural-eval.c: Renamed to...
14299         * intl/eval-plural.h: ...this.
14300         * intl/explodename.c: Switch to gettext copyright.
14301         Use ANSI definitions and prototypes.
14302         (_nl_explode_name): Use strchr instead of __rawmemchr.
14303         * intl/finddomain.c: Switch to gettext copyright.
14304         Use ANSI definitions and prototypes.
14305         Use gl_* locking primitives rather than __libc_* ones.
14306         (_nl_find_domain): Use malloc rather than alloca for
14307         allocation of temporary locale name.
14308         * intl/gettext.c: Switch to gettext copyright.
14309         Use ANSI definitions and prototypes.
14310         * intl/gettextP.h: Switch to gettext copyright.
14311         Use ANSI definitions and prototypes.
14312         Use gl_* locking primitives rather than __libc_* ones.
14313         * intl/gmo.h: Switch to gettext copyright.
14314         (struct sysdep_string): Move struct segment_pair outside of
14315         struct definition.
14316         * intl/hash-string.c: Use ANSI definitions and prototypes.
14317         * intl/hash-string.h: Switch to gettext copyright.
14318         Use ANSI definitions and prototypes.
14319         * intl/l10nflist.c: Switch to gettext copyright.
14320         Use ANSI definitions and prototypes.
14321         (_nl_normalize_codeset): Avoid integer overflow.
14322         * intl/loadinfo.h: Switch to gettext copyright.
14323         Use ANSI definitions and prototypes.
14324         (LIBINTL_DLL_EXPORTED): New define.
14325         (PATH_SEPARATOR): New define.
14326         * intl/loadmsgcat.c: Switch to gettext copyright.
14327         * intl/localealias.c: Switch to gettext copyright.
14328         Use ANSI definitions and prototypes.
14329         (_nl_expand_alias): Use PATH_SEPARATOR.
14330         * intl/ngettext.c: Switch to gettext copyright.
14331         Use ANSI definitions and prototypes.
14332         * intl/plural-exp.c: Likewise.
14333         * intl/plural-exp.h: Switch to gettext copyright.
14334         Use ANSI definitions and prototypes.
14335         (struct expression): Move definition of enum operator outside
14336         of struct definition.
14337         * intl/plural.c: Regenerate.
14338         * intl/plural.y: Switch to gettext copyright.
14339         Use ANSI definitions and prototypes.
14340         Port to bison 3.0.
14341         * intl/textdomain.c: Switch to gettext copyright.
14342         Use ANSI definitions and prototypes.
14343         Use gl_* locking primitives rather than __libc_* ones.
14345 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
14347         * debug/warning-nop.c: Add used atrribute.
14349 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
14351         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
14353         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
14354         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
14355         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
14357 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
14358             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14360         [BZ #17634]
14361         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
14362         Undefine after defining function.  Define as weak alias of
14363         __wcschr.  Use libc_hidden_weak.
14364         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
14365         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
14366         (libc_hidden_def): Also define __GI___wcschr alias.
14367         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
14368         __wcschr and define as weak alias of __wcschr.
14369         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
14370         __wcschr.
14371         [!WCSCHR] (DEFAULT_WCSCHR): Define.
14372         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
14373         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
14374         libc_hidden_weak.  Do not use libc_hidden_def.
14375         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
14376         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
14377         __GI___wcschr alias.
14378         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
14379         [IS_IN (libc)] (wcschr): Define as macro expanding to
14380         __redirect_wcschr.
14381         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
14382         [IS_IN (libc)] (__wcschr_power6): Likewise.
14383         [IS_IN (libc)] (__wcschr_power7): Likewise.
14384         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
14385         instead of wcschr.
14386         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
14387         __libc_wcschr.
14388         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
14389         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
14390         __wcschr and define as weak alias of __wcschr.  Use
14391         libc_hidden_builtin_def.
14392         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
14393         as weak alias of __wcschr.  Use libc_hidden_weak.
14394         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
14395         wcschr.
14396         * time/era.c (_nl_init_era_entries): Likewise.
14397         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
14398         variable.
14399         (test-xfail-XPG3/time.h/linknamespace): Likewise.
14400         (test-xfail-XPG4/time.h/linknamespace): Likewise.
14402 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
14404         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
14405         format for long int variable.
14407 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
14409         [BZ #10672]
14410         * manual/search.texi: (Array Sort Function): Remove claim how to make
14411         qsort stable.
14413 2014-12-10  Andreas Schwab  <schwab@suse.de>
14415         [BZ #12847]
14416         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
14417         user-controlled locks.
14419 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
14421         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
14422         register.
14424 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
14426         * configure.ac (--disable-werror): New configure option.
14427         (enable_werror): New AC_SUBST.
14428         * configure: Regenerated.
14429         * config.make.in (enable-werror): New variable.
14430         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
14431         -Wno-error=undef.
14432         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
14433         * manual/install.texi (Configuring and compiling): Document
14434         --disable-werror.
14435         * INSTALL: Regenerated.
14436         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
14437         (CFLAGS-tst-chk2.c): Likewise.
14438         (CFLAGS-tst-chk3.c): Likewise.
14439         (CFLAGS-tst-chk4.cc): Likewise.
14440         (CFLAGS-tst-chk5.cc): Likewise.
14441         (CFLAGS-tst-chk6.cc): Likewise.
14442         (CFLAGS-tst-lfschk1.c): Likewise.
14443         (CFLAGS-tst-lfschk2.c): Likewise.
14444         (CFLAGS-tst-lfschk3.c): Likewise.
14445         (CFLAGS-tst-lfschk4.cc): Likewise.
14446         (CFLAGS-tst-lfschk5.cc): Likewise.
14447         (CFLAGS-tst-lfschk6.cc): Likewise.
14449         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
14450         (main): Disable -Wdeprecated-declarations around calls to
14451         register_printf_function.
14453         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
14454         (do_test): Disable -Wdiv-by-zero around some calls to
14455         fwrite_unlocked and fread_unlocked.
14457         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
14458         (DIAG_POP_NEEDS_COMMENT): Likewise.
14459         (_DIAG_STR1): Likewise.
14460         (_DIAG_STR): Likewise.
14461         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
14462         * stdio-common/bug21.c: Include <libc-internal.h>.
14463         (do_test): Disable -Wformat around call to sscanf.
14464         * stdio-common/scanf14.c: Include <libc-internal.h>.
14465         (main): Disable -Wformat around some calls to scanf functions.
14467 2014-12-09  Torvald Riegel  <triegel@redhat.com>
14469         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
14471 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14473         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
14474         stack variable alignment.
14476 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
14478         [BZ #17682]
14479         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
14480         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
14481         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
14482         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
14483         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
14484         __getrlimit instead of getrlimit.
14485         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
14486         __gettimeofday instead of gettimeofday.
14487         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14488         Likewise.
14489         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14490         Likewise.
14491         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14492         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
14493         Remove variable.
14494         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14495         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14497 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14499         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
14500         for wide-character tests.
14502 2014-12-04  Roland McGrath  <roland@hack.frob.com>
14504         * io/openat64.c: #include <libc-internal.h>
14505         (__openat64): Prototypify.  Use ignore_value on MODE.
14506         * io/openat.c: Likewise.
14507         * misc/reboot.c: #include <libc-internal.h>
14508         (reboot): Prototypify.  Use ignore_value on HOWTO.
14509         * misc/ptrace.c: #include <libc-internal.h>
14510         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
14512 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
14514         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
14515         XPG4, UNIX98 and XOPEN2K.
14516         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
14517         Remove variable.
14518         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
14520 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14522         * libio/fileops.c: Use ISO C style for function definitions.
14523         * libio/iofopen.c: Likewise.
14524         * libio/wfileops.c: Likewise.
14526         [BZ #17653]
14527         * libio/fileops.c (_IO_new_file_underflow): Unset cached
14528         offset on EOF.
14529         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14530         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
14531         (fgets_func): Function pointer to fgets and fgetws.
14532         (do_ftell_test): Add test to verify ftell value after read
14533         EOF.
14534         (do_test): Set fgets_func.
14536         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
14537         O_TRUNC flag for w and w+ modes.
14538         (do_rewind_test): Likewise.
14539         (do_ftell_test): Likewise.
14540         (do_write_test): Likewise.
14542         [BZ #17647]
14543         * libio/fileops.c (do_ftell): Seek only when there are
14544         unflushed writes.
14545         * libio/wfileops.c (do_ftell_wide): Likewise.
14546         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
14547         test case.
14548         (do_one_test): Call it.
14550 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
14552         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
14553         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
14554         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
14555         Remove variable.
14556         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
14557         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
14558         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
14560 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
14562         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
14563         Remove variable.
14564         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
14566         [BZ #17668]
14567         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
14568         as weak alias of __getifaddrs.  Use libc_hidden_weak.
14569         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
14570         __freeifaddrs.  Use libc_hidden_weak.
14571         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
14572         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
14573         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
14574         __freeifaddrs.  Use libc_hidden_weak.
14575         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
14576         __getifaddrs and define as weak alias of __getifaddrs.  Use
14577         libc_hidden_weak.
14578         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
14579         __freeifaddrs.  Use libc_hidden_weak.
14580         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
14581         Remove variable.
14582         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
14583         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
14585 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
14587         [BZ #17601]
14588         * sysdeps/mips/start.S (__start): Use indirect jump to call
14589         __libc_start_main.
14591 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
14593         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
14595         * nptl/tst-mutex1.c: Include <stdbool.h>.
14596         [!ATTR] (ATTR_NULL): New macro.
14597         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
14598         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
14599         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
14601         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
14602         to char *.
14604         [BZ #17665]
14605         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
14606         Change conditional to [__USE_MISC].
14608         [BZ #17664]
14609         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
14610         fgets_unlocked.
14611         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
14612         __fgets_unlocked.
14613         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
14614         fgets_unlocked.
14615         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
14616         Remove variable.
14617         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
14618         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
14619         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
14620         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
14621         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
14622         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
14623         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
14624         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
14625         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
14627         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
14629 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14631         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14632         Remove strpbrk objects.
14633         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14634         (__libc_ifunc_impl_list): Remove strpbrk implementation.
14635         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
14636         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
14637         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
14638         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
14640         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14641         Remove strcspn objects.
14642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14643         (__libc_ifunc_impl_list): Remove strcspn implementation.
14644         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
14645         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
14646         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
14647         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
14649         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14650         Remove strspn objetcs.
14651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14652         (__libc_ifunc_impl_list): Remove strspn implementation.
14653         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
14654         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
14655         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
14656         * sysdeps/powerpc/powerpc64/strspn.S: New file.
14658 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
14660         [BZ #17581]
14661         * malloc/hooks.c
14662         (mem2mem_check): Add a terminator to the chain of checking blocks.
14663         (malloc_check_get_size): Use it here.
14664         (mem2chunk_check): Ditto.
14666 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14668         * sysdeps/powerpc/powerpc64/strtok.S: New file.
14669         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
14671 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
14673         * bits/ioctl-types.h: Indent preprocessor directives correctly.
14675         * nptl/nptl-init.c: Include libc-internal.h.
14676         (__pthread_initialize_minimal_internal): Use ROUND_UP.
14678         * elf/ldconfig.c (search_dir): Expand comment.
14680 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
14682         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
14683         variable.
14684         (linknamespace-symlist-stdlibs-tests): Likewise.
14685         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
14686         instead of $(objpfx)symlist-stdlibs.
14687         (linknamespace-libs-isoc): New variable.
14688         (linknamespace-libs): Use $(linknamespace-libs-isoc).
14689         (linknamespace-libs-ISO): New variable.
14690         (linknamespace-libs-ISO99): Likewise.
14691         (linknamespace-libs-ISO11): Likewise.
14692         (linknamespace-libs-XPG3): Likewise.
14693         (linknamespace-libs-XPG4): Likewise.
14694         (linknamespace-libs-POSIX): Likewise.
14695         (linknamespace-libs-UNIX98): Likewise.
14696         (linknamespace-libs-XOPEN2K): Likewise.
14697         (linknamespace-libs-POSIX2008): Likewise.
14698         (linknamespace-libs-XOPEN2K8): Likewise.
14699         ($(objpfx)symlist-stdlibs): Replace by
14700         $(linknamespace-symlist-stdlibs-tests).  Use
14701         $(linknamespace-libs-$*) as set of libraries.
14702         ($(linknamespace-header-tests)): Update dependencies.  Use
14703         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
14704         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
14705         * conform/linknamespace.pl: Remove comment about considering
14706         definitions of symbols from irrelevant libraries.
14708 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
14710         [BZ #13862]
14711         * elf/dl-tls.c: Include <atomic.h>.
14712         (oom): Remove #ifdef SHARED/#endif.
14713         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
14714         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
14715         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
14716         big enough.
14717         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
14718         * nptl/Makefile (tests): Add tst-stack4.
14719         (modules-names): Add tst-stack4mod.
14720         ($(objpfx)tst-stack4): New.
14721         (tst-stack4mod.sos): Likewise.
14722         ($(objpfx)tst-stack4.out): Likewise.
14723         ($(tst-stack4mod.sos)): Likewise.
14724         (clean): Likewise.
14725         * nptl/tst-stack4.c: New file.
14726         * nptl/tst-stack4mod.c: Likewise.
14728 2014-11-27  J. Brown  <jb999@gmx.de>
14730         * sysdeps/x86/bits/string.h: Add recent CPUs.
14732 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
14734         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
14735         sigblock.
14737         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
14738         feof.
14740         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
14741         variable.
14743 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
14745         * nscd/connections.c: Include libc-internal.h because of macro
14746         usage ignore_value.
14748 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14750         * string/bits/string3.h (__warn_memset_zero_len): Don't
14751         declare for gcc newer than 5.0.
14752         (memset): Don't test for zero-length __LEN for gcc newer than
14753         5.0.
14755 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
14757         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
14758         size_t for %zu format.
14760         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
14761         difference, not %ju.
14763 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
14765         * include/libc-internal.h (ignore_value): New macro.
14766         * nscd/connections.c (restart): Wrap calls to setuid and setgid
14767         with ignore_value.
14769         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
14770         definition.
14772         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
14773         pthread_cleanup_push to void *.
14775         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
14776         Undefine.
14778         [BZ #16619]
14779         [BZ #16740]
14780         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
14781         instead of 1L << 52.
14783         * libio/bug-rewind.c (do_test): Check fwscanf return values.
14784         * libio/bug-rewind2.c (do_test): Likewise.
14786         * debug/test-stpcpy_chk-ifunc.c: Remove file.
14787         * debug/test-strcpy_chk-ifunc.c: Likewise.
14788         * wcsmbs/test-wcschr-ifunc.c: Likewise.
14789         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14790         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14791         * wcsmbs/test-wcslen-ifunc.c: Likewise.
14792         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14793         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14794         * Rules [$(multi-arch) = no] (tests): Do not filter out
14795         $(tests-ifunc).
14796         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
14797         * debug/Makefile (tests-ifunc): Remove variable.
14798         (tests): Do not add $(tests-ifunc).
14799         * wcsmbs/Makefile (tests-ifunc): Remove variable.
14800         (tests): Do not add $(tests-ifunc).
14801         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
14802         [TEST_IFUNC]: Remove conditionals.
14803         * string/test-string.h (TEST_IFUNC): Remove macro.
14804         [TEST_IFUNC]: Remove conditionals.
14806         * string/test-strchr.c [!WIDE] (L): New macro.
14807         [WIDE] (L): Likewise.
14808         (check1): Use CHAR instead of char.  Use L on string and character
14809         constants.
14811 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
14813         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
14814         tests.
14815         * sysdeps/powerpc/bits/atomic.h
14816         (__arch_atomic_exchange_and_add_32_acq): Add definition.
14817         (__arch_atomic_exchange_and_add_32_rel): Likewise.
14818         (atomic_exchange_and_add_acq): Likewise.
14819         (atomic_exchange_and_add_rel): Likewise.
14820         * sysdeps/powerpc/powerpc32/bits/atomic.h
14821         (__arch_atomic_exchange_and_add_64_acq): Add definition.
14822         (__arch_atomic_exchange_and_add_64_rel): Likewise.
14823         * sysdeps/powerpc/powerpc64/bits/atomic.h
14824         (__arch_atomic_exchange_and_add_64_acq): Add definition.
14825         (__arch_atomic_exchange_and_add_64_rel): Likewise.
14827 2014-11-26  Torvald Riegel  <triegel@redhat.com>
14829         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
14830         Change synchronization of __sched_fifo_min_prio and
14831         __sched_fifo_max_prio.
14832         * nptl/pthread_mutexattr_getprioceiling.c
14833         (pthread_mutexattr_getprioceiling): Likewise.
14834         * nptl/pthread_mutexattr_setprioceiling.c
14835         (pthread_mutexattr_setprioceiling): Likewise.
14836         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
14837         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
14838         Likewise.
14840 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
14842         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
14843         void.
14845 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
14847         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
14848         third argument const.
14850 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
14852         fnmatch: work around GCC compiler warning bug with uninit var
14853         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
14854         This works around a bug with x86-64 GCC 4.9.2 and earlier
14855         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
14856         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
14857         used uninitialized in this function [-Wmaybe-uninitialized]".
14859 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
14861         * posix/bug-regex31.c (main): Return RES not 0.
14863 2014-11-25  Anton Blanchard <anton@samba.org>
14865         * sysdeps/powerpc/bits/atomic.h
14866         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
14868 2014-11-24  Sterling Augustine  <saugustine@google.com>
14870         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
14872 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
14874         [BZ #17608]
14875         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
14877 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
14879         [BZ #17633]
14880         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
14881         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
14882         variable.
14883         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
14884         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
14886 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
14888         * string/strncpy.c (strncpy): Improve performance by using memset.
14890 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
14892         * string/strcpy.c (strcpy):
14893         Improve performance by using strlen and memcpy.
14895 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
14897         * string/strcoll_l.c (get_next_seq): __always_inline.
14898         * string/strcoll_l.c (do_compare): __always_inline.
14900 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14902         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
14903         defined.
14904         * include/mqueue.h: Likewise.
14905         * include/stdlib.h: Likewise.
14907         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
14908         (get_null_defines): Adjust.
14909         * sunrpc/Makefile: Adjust comment.
14910         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
14911         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
14912         (CFLAGS-interp.c): Likewise.
14913         (CFLAGS-ldconfig.c): Likewise.
14914         (CPPFLAGS-.os): Likewise.
14915         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14916         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
14917         * extra-modules.mk (extra-modules.mk): Likewise.
14918         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
14919         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
14920         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
14921         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
14922         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
14923         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
14924         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
14925         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
14926         * iconvdata/Makefile (CPPFLAGS): Likewise.
14927         (cpp-srcs-left): Add libof for all iconvdata routines.
14928         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
14929         * include/assert.h: Likewise.
14930         * include/ctype.h: Likewise.
14931         * include/errno.h: Likewise.
14932         * include/libc-symbols.h: Likewise.
14933         * include/math.h: Likewise.
14934         * include/netdb.h: Likewise.
14935         * include/resolv.h: Likewise.
14936         * include/stdio.h: Likewise.
14937         * include/stdlib.h: Likewise.
14938         * include/string.h: Likewise.
14939         * include/sys/stat.h: Likewise.
14940         * include/wctype.h: Likewise.
14941         * intl/l10nflist.c: Likewise.
14942         * libidn/idn-stub.c: Likewise.
14943         * libio/libioP.h: Likewise.
14944         * nptl/libc_multiple_threads.c: Likewise.
14945         * nptl/pthreadP.h: Likewise.
14946         * posix/regex_internal.h: Likewise.
14947         * resolv/res_hconf.c: Likewise.
14948         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
14949         * sysdeps/arm/memmove.S: Likewise.
14950         * sysdeps/arm/sysdep.h: Likewise.
14951         * sysdeps/generic/_itoa.h: Likewise.
14952         * sysdeps/generic/symbol-hacks.h: Likewise.
14953         * sysdeps/gnu/errlist.awk: Likewise.
14954         * sysdeps/gnu/errlist.c: Likewise.
14955         * sysdeps/i386/i586/memcpy.S: Likewise.
14956         * sysdeps/i386/i586/memset.S: Likewise.
14957         * sysdeps/i386/i686/memcpy.S: Likewise.
14958         * sysdeps/i386/i686/memmove.S: Likewise.
14959         * sysdeps/i386/i686/mempcpy.S: Likewise.
14960         * sysdeps/i386/i686/memset.S: Likewise.
14961         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14962         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14963         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
14964         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
14965         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14966         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14967         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
14968         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14969         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14970         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14971         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14972         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14973         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14974         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14975         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14976         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14977         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
14978         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
14979         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
14980         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14981         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14982         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14983         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14984         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14985         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14986         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14987         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
14988         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14989         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
14990         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14991         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14992         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14993         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14994         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14995         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14996         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14997         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14998         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14999         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15000         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15001         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15002         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15003         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15004         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15005         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15006         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15007         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
15008         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
15009         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15010         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15011         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15012         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
15013         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
15014         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15015         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15016         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
15017         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15018         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
15019         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
15020         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15021         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15022         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15023         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
15024         * sysdeps/nptl/bits/libc-lock.h: Likewise.
15025         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
15026         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
15027         * sysdeps/posix/closedir.c: Likewise.
15028         * sysdeps/posix/opendir.c: Likewise.
15029         * sysdeps/posix/readdir.c: Likewise.
15030         * sysdeps/posix/rewinddir.c: Likewise.
15031         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
15032         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
15033         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15034         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15035         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15036         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
15037         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
15038         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
15039         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15040         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
15041         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15042         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15043         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15044         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
15045         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
15046         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
15047         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15048         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15049         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
15050         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
15051         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15052         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
15053         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
15054         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15055         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
15056         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
15057         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
15058         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15059         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15060         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
15061         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
15062         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
15063         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
15064         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
15065         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
15066         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
15067         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15068         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15069         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
15070         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
15071         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
15072         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
15073         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15074         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
15075         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
15076         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
15077         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
15078         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15079         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
15080         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
15081         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
15082         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15083         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
15084         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15085         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15086         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
15087         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
15088         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15089         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15090         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
15091         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
15092         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15093         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15094         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15095         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
15096         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
15097         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
15098         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
15099         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
15100         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
15101         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
15102         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15103         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
15104         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15105         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15106         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
15107         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
15108         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15109         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
15110         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
15111         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15112         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15113         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
15114         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
15115         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15116         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
15117         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
15118         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15119         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15120         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15121         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
15122         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
15123         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
15124         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15125         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15126         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
15127         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15128         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15129         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
15130         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
15131         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15132         * sysdeps/unix/alpha/sysdep.S: Likewise.
15133         * sysdeps/unix/alpha/sysdep.h: Likewise.
15134         * sysdeps/unix/make-syscalls.sh: Likewise.
15135         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
15136         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15137         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
15138         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
15139         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
15140         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
15141         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
15142         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15143         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
15144         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
15145         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15146         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
15147         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15148         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
15149         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
15150         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15151         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15152         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15153         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
15154         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
15155         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
15156         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15157         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
15158         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15159         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
15160         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
15161         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
15163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
15164         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
15165         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15166         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
15167         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15168         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15169         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15170         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
15171         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15172         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15173         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15174         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
15175         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15176         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
15177         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15178         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15179         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15180         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
15181         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15182         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15183         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15184         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15185         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15186         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
15187         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15188         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
15189         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15190         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15191         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
15192         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15193         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
15194         * sysdeps/x86_64/memcpy.S: Likewise.
15195         * sysdeps/x86_64/memmove.c: Likewise.
15196         * sysdeps/x86_64/memset.S: Likewise.
15197         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
15198         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15199         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15200         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
15201         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
15202         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15203         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15204         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15205         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15206         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15207         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15208         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15209         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
15210         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15211         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15212         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
15213         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15214         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15215         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15216         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15217         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
15218         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15219         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15220         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15221         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15222         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15223         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15224         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
15225         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15226         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15227         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
15228         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15229         * sysdeps/x86_64/strcmp.S: Likewise.
15231         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
15233         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
15234         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
15235         * elf/rtld-Rules: Likewise.
15236         * elf/setup-vdso.h: Likewise.
15237         * include/assert.h: Likewise.
15238         * include/bits/stdlib-float.h: Likewise.
15239         * include/errno.h: Likewise.
15240         * include/sys/stat.h: Likewise.
15241         * include/unistd.h: Likewise.
15242         * sysdeps/aarch64/setjmp.S: Likewise.
15243         * sysdeps/alpha/setjmp.S: Likewise.
15244         * sysdeps/arm/__longjmp.S: Likewise.
15245         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
15246         * sysdeps/arm/setjmp.S: Likewise.
15247         * sysdeps/arm/sysdep.h: Likewise.
15248         * sysdeps/generic/_itoa.h: Likewise.
15249         * sysdeps/generic/dl-sysdep.h: Likewise.
15250         * sysdeps/generic/ldsodefs.h: Likewise.
15251         * sysdeps/i386/dl-tls.h: Likewise.
15252         * sysdeps/i386/setjmp.S: Likewise.
15253         * sysdeps/m68k/setjmp.c: Likewise.
15254         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
15255         * sysdeps/mach/hurd/opendir.c: Likewise.
15256         * sysdeps/posix/getcwd.c: Likewise.
15257         * sysdeps/posix/opendir.c: Likewise.
15258         * sysdeps/posix/profil.c: Likewise.
15259         * sysdeps/powerpc/dl-procinfo.h: Likewise.
15260         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15261         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15262         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15263         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15264         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
15265         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15266         * sysdeps/s390/dl-tls.h: Likewise.
15267         * sysdeps/s390/s390-32/setjmp.S: Likewise.
15268         * sysdeps/s390/s390-64/setjmp.S: Likewise.
15269         * sysdeps/sh/sh3/setjmp.S: Likewise.
15270         * sysdeps/sh/sh4/setjmp.S: Likewise.
15271         * sysdeps/unix/alpha/sysdep.h: Likewise.
15272         * sysdeps/unix/arm/sysdep.S: Likewise.
15273         * sysdeps/unix/i386/sysdep.S: Likewise.
15274         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15275         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15276         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15277         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15278         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15279         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
15280         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15281         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15282         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15283         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
15284         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15285         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15286         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15289         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15290         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15291         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15292         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15293         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15294         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15295         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15296         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15297         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15298         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15299         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15300         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15301         * sysdeps/unix/x86_64/sysdep.S: Likewise.
15302         * sysdeps/x86_64/setjmp.S: Likewise.
15304         * include/math.h: Use IS_IN instead of IS_IN_libm.
15305         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
15306         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15307         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15308         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15309         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15310         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15311         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15312         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15313         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15314         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15315         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
15316         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
15317         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
15318         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
15319         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
15320         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
15321         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
15322         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
15323         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
15324         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
15325         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
15326         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
15327         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
15328         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
15329         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
15330         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
15331         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
15332         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
15333         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
15334         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
15335         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
15336         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15337         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
15339         Likewise.
15340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
15341         Likewise.
15342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
15343         Likewise.
15344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
15345         Likewise.
15346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
15347         Likewise.
15348         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15349         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
15350         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15351         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15352         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15353         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
15355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
15356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
15357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
15358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
15359         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
15360         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
15361         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15362         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15363         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15364         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15365         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15366         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15367         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15368         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
15369         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
15370         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
15371         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
15372         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
15373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15374         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
15376         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
15377         * nptl/pthreadP.h: Likewise.
15378         * nptl_db/structs.def: Likewise.
15379         * sysdeps/arm/sysdep.h: Likewise.
15380         * sysdeps/nptl/bits/libc-lock.h: Likewise.
15381         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
15382         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
15383         * sysdeps/unix/alpha/sysdep.h: Likewise.
15384         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
15385         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15386         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
15387         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
15388         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
15389         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
15390         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15391         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
15392         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15393         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
15394         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
15395         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15396         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
15397         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
15398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
15399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
15400         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
15401         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
15402         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
15403         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
15404         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15405         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
15406         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15407         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
15408         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15409         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
15411         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
15412         * nptl/pthreadP.h: Likewise.
15413         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
15414         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
15415         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
15416         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
15417         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
15418         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
15419         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15420         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
15421         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
15422         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15423         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
15424         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
15425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15426         Likewise.
15427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15428         Likewise.
15429         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
15430         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
15431         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
15432         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
15433         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15434         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
15435         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
15436         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
15438         * dlfcn/dladdr.c: Use IS_IN.
15439         * dlfcn/dladdr1.c: Likewise.
15440         * dlfcn/dlclose.c: Likewise.
15441         * dlfcn/dlerror.c: Likewise.
15442         * dlfcn/dlinfo.c: Likewise.
15443         * dlfcn/dlmopen.c: Likewise.
15444         * dlfcn/dlopen.c: Likewise.
15445         * dlfcn/dlsym.c: Likewise.
15446         * dlfcn/dlvsym.c: Likewise.
15448         * include/ifaddrs.h: Use IS_IN.
15449         * inet/check_pf.c: Likewise.
15450         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15451         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
15453         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
15454         IS_IN_ldconfig.
15455         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
15456         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
15458         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
15459         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
15460         IS_IN (libc).
15462         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
15464         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
15465         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15466         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
15467         * include/libc-symbols.h (IS_IN_LIB): New macro.
15468         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
15469         * include/netdb.h: Likewise.
15470         * include/stap-probe.h: Remove all uses of IN_LIB.
15472         * Makeconfig (module-cppflags-real): Define MODULE_NAME
15473         instead of IN_MODULE.
15474         * include/libc-symbols.h (IN_MODULE): Define using
15475         MODULE_NAME.
15476         (PASTE_NAME, PASTE_NAME1): New macros.
15477         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
15478         of IN_LIB.
15479         (STAP_PROBE_ASM): Likewise.
15481 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15483         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
15484         __mach_init in dlopened libc.
15486 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
15488         * sysdeps/arm/preconfigure.ac: Delete EABI check.
15489         * sysdeps/arm/preconfigure: Regenerate.
15491 2014-11-21  Roland McGrath  <roland@hack.frob.com>
15493         * nptl/pthread_create.c (__pthread_create_2_1): Set
15494         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
15495         when copying values from IATTR into PD.
15497 2014-11-21  Will Newton  <will.newton@linaro.org>
15498             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
15500         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
15501         Refactor inline-asm.  Also add comment.
15503         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
15504         ElfW macro instead of hardcoded Elf64 types.
15505         (la_aarch64_gnu_pltenter): Likewise.
15506         * sysdeps/aarch64/dl-machine.h
15507         (elf_machine_runtime_setup): Use ElfW(Addr).
15509         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
15510         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
15511         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
15512         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
15513         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
15514         (R_AARCH64_TLS_DTPMOD64): Rename to ..
15515         (R_AARCH64_TLS_DTPMOD): This.
15516         (R_AARCH64_TLS_DTPREL64): Rename to ...
15517         (R_AARCH64_TLS_DTPREL): This.
15518         (R_AARCH64_TLS_TPREL64): Rename to ...
15519         (R_AARCH64_TLS_TPREL): This.
15520         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
15521         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
15522         R_AARCH64_TLS_TPREL64.
15523         (elf_machine_rela): Likewise.
15525 2014-11-21  Torvald Riegel  <triegel@redhat.com>
15527         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
15528         by setting it to 0.  64b atomics are not supported currently.
15530 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
15532         [BZ #16469]
15533         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
15534         search domain names.
15536 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
15538         [BZ #16469]
15539         * NEWS: Update.
15540         * resolv/res_query.c (__libc_res_nquerydomain): Retain
15541         trailing dot.
15542         * posix/tst-getaddrinfo5.c: New.
15543         * posix/Makefile (tests): Add it.
15545 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
15547         [BZ #14498]
15548         * NEWS: Fixed.
15549         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
15550         after parsing line but before break_if_match.
15551         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
15552         if there is a protocol mismatch.
15554 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
15556         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
15557         because the potential race is on the user-supplied stream.
15559 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
15561         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
15562         string literal if not passed a buffer.
15563         * manual/job.texi (ctermid): Update reasoning, note deviation
15564         from posix, suggest mtasurace when not passed a buffer, for
15565         future non-preliminary safety notes.
15567 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
15569         * manual/users.texi (cuserid): Fix MT-Safety note for the case
15570         of not passing it a buffer.
15571         Reported by Peng Haitao.
15573 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
15575         * manual/Makefile ($(objpfx)stamp-summary): Require
15576         check-safety.sh to pass.
15577         * manual/check-safety.sh: Wish for verification that every
15578         @deftypefn and @deftypefun is followed by a @safety remark.
15580 2014-11-20  Roland McGrath  <roland@hack.frob.com>
15582         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
15584         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
15585         PTHREAD_CANCEL_ASYNCHRONOUS.
15586         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
15587         send SIGCANCEL.
15589         * nptl/default-sched.h: New file.
15590         * sysdeps/unix/sysv/linux/default-sched.h: New file.
15591         * nptl/pthread_create.c: Include it.
15592         (__pthread_create_2_1): Use collect_default_sched instead of making
15593         Linux syscalls here directly.
15595 2014-11-20  Torvald Riegel  <triegel@redhat.com>
15597         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
15598         __pthread_once): Use C11 atomics.
15600 2014-11-20  Torvald Riegel  <triegel@redhat.com>
15602         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
15604 2014-11-20  Torvald Riegel  <triegel@redhat.com>
15606         * include/atomic.h (__atomic_link_error, __atomic_check_size,
15607         atomic_thread_fence_acquire, atomic_thread_fence_release,
15608         atomic_thread_fence_seq_cst, atomic_load_relaxed,
15609         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
15610         atomic_compare_exchange_weak_relaxed,
15611         atomic_compare_exchange_weak_acquire,
15612         atomic_compare_exchange_weak_release,
15613         atomic_exchange_acquire, atomic_exchange_release,
15614         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
15615         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
15616         atomic_fetch_and_acquire,
15617         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
15619 2014-11-20  Torvald Riegel  <triegel@redhat.com>
15621         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
15622         USE_ATOMIC_COMPILER_BUILTINS): Define.
15623         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
15624         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15625         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
15626         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15627         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
15628         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15629         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
15630         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15631         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
15632         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15633         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
15634         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15635         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
15636         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15637         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
15638         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15639         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
15640         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15641         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
15642         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15643         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
15644         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15645         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
15646         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15647         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
15648         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15649         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
15650         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15651         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
15652         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15653         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
15654         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15655         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
15656         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15657         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
15658         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15659         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
15660         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15661         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
15662         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15664 2014-11-19  Roland McGrath  <roland@hack.frob.com>
15666         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
15667         the sched_priority value here.  It was already checked when the user
15668         called pthread_attr_setschedparam.
15670         * nptl/tst-bad-schedattr.c: New file.
15671         * nptl/Makefile (tests): Add it.
15673 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
15674             Florian Weimer  <fweimer@redhat.com>
15675             Joseph Myers  <joseph@codesourcery.com>
15676             Adam Conrad  <adconrad@0c3.net>
15677             Andreas Schwab  <schwab@suse.de>
15678             Brooks  <bmoses@google.com>
15680         [BZ #17625]
15681         * wordexp-test.c (__dso_handle): Add prototype.
15682         (__register_atfork): Likewise.
15683         (__app_register_atfork): New function.
15684         (registered_forks): New global.
15685         (register_fork): New function.
15686         (test_case): Add 3 new tests for WRDE_CMDSUB.
15687         (main): Call __app_register_atfork.
15688         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
15689         fork count is non-zero fail the test.
15690         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
15691         is set.
15692         (parse_dollars): Remove check for WRDE_NOCMD.
15693         (parse_dquote): Likewise.
15695 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15697         * Makeconfig (built-modules): List non-library modules to be
15698         built.
15699         (module-cppflags): Include libc-modules.h for
15700         everything except shlib-versions.v.i.
15701         (CPPFLAGS): Use it.
15702         (before-compile): Add libc-modules.h.
15703         ($(common-objpfx)libc-modules.h,
15704         $(common-objpfx)libc-modules.stmp): New targets.
15705         (common-generated): Add libc-modules.h and libc-modules.stmp.
15706         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
15707         * include/libc-symbols.h: Don't include libc-modules.h.
15708         * include/libc-modules.h: Remove file.
15709         * scripts/gen-libc-modules.awk: New script to generate
15710         libc-modules.h.
15711         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
15712         Depend on libc-modules.stmp.
15714         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
15716         * Makeconfig (in-module): Get value of libof set for the
15717         translation unit.
15718         (CPPFLAGS): Use $(in-module).
15719         * Makerules: Don't suffix routine names for nonlib.
15720         * include/libc-modules.h: New file.
15721         * include/libc-symbols.h: Include libc-modules.h
15722         (IS_IN): New macro to replace IS_IN_* macros.
15723         * elf/Makefile: Set libof-* for each routine.
15724         * elf/rtld-Rules: Likewise.
15725         * extra-modules.mk: Likewise.
15726         * iconv/Makefile: Likewise.
15727         * iconvdata/Makefile: Likewise.
15728         * locale/Makefile: Likewise.
15729         * malloc/Makefile: Likewise.
15730         * nss/Makefile: Likewise.
15731         * sysdeps/gnu/Makefile: Likewise.
15732         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
15733         * sysdeps/unix/sysv/linux/Makefile: Likewise.
15734         * sysdeps/s390/s390-64/Makefile: Likewise.
15735         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
15736         CPPFLAGS for nscd instead of nonlib.
15738 2014-11-18  Roland McGrath  <roland@hack.frob.com>
15740         * nptl/createthread.c: New file.
15742         * nptl/createthread.c: Moved ...
15743         * sysdeps/unix/sysv/linux/createthread.c: ... here.
15745         * nptl/createthread.c: Add proper top-line comment.
15746         (do_clone): Folded into ...
15747         (create_thread): ... here.  Take new arguments STOPPED_START and
15748         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
15749         increment __nptl_threads, do event-reporting logic, do
15750         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
15751         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
15752         resource cleanup if sched_setaffinity or sched_setscheduler fails,
15753         just send SIGCANCEL.
15754         * nptl/pthread_create.c: Forward-declare create_thread before
15755         including createthread.c.
15756         (start_thread): Use new macro START_THREAD_DEFN to replace defining
15757         declaration, and new macro START_THREAD_SELF to replace argument.
15758         Remove return statement.
15759         (report_thread_creation): New function.
15760         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
15761         synchronization logic, and __nptl_nthreads increment here, around
15762         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
15763         PD->parent_cancelhandling here, before create_thread.  When
15764         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
15765         __deallocate_stack, and ENOMEM translation here.
15767 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
15769         [BZ #17616]
15770         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
15771         (mptwo): Rename to __mptwo.
15772         (__inv): Use __mptwo instead of mptwo.
15773         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
15774         (mptwo): Rename to __mptwo.
15775         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
15776         of mpone and __mptwo instead of mptwo.
15777         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
15778         instead of mpone.
15779         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15780         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
15781         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
15782         of mpone and __mptwo instead of mptwo.
15783         (__mpranred): Use __mpone instead of mpone.
15784         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
15785         variable.
15786         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
15787         (test-xfail-ISO99/math.h/linknamespace): Likewise.
15788         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
15789         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
15790         (test-xfail-ISO11/math.h/linknamespace): Likewise.
15791         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
15792         (test-xfail-XPG3/math.h/linknamespace): Likewise.
15793         (test-xfail-XPG4/math.h/linknamespace): Likewise.
15794         (test-xfail-POSIX/math.h/linknamespace): Likewise.
15795         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
15796         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
15797         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
15798         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
15799         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
15800         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
15801         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
15802         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
15803         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
15804         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
15806 2014-11-18  Tom de Vries  <tom@codesoucery.com>
15808         * manual/signal.texi (Primitives Interrupted by Signals): In section,
15809         replace BSD Handler xref with BSD Signal Handling.
15811 2014-11-17  Richard Henderson  <rth@redhat.com>
15813         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
15814         (_FP_PACK_RAW_2): Remove.
15815         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
15816         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
15817         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
15818         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
15819         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
15820         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
15821         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
15822         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
15823         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
15824         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
15825         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
15826         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
15827         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
15828         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
15829         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
15830         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
15832 2014-11-14  Roland McGrath  <roland@hack.frob.com>
15834         * signal/signal.h [__USE_MISC]
15835         (struct sigvec): Remove type.
15836         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
15837         (sigvec): Remove declaration.
15838         * sysdeps/posix/sigvec.c: Moved ...
15839         * signal/sigvec.c: ... here, replacing old file.
15840         (struct sigvec): New type, copied from old signal.h definition.
15841         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
15842         (__sigvec): Convert definition to prototype.
15843         (sigvec): Replace weak_alias with compat_symbol.
15844         * signal/Versions (libc: GLIBC_2.21): New version set.
15845         * include/signal.h: Remove __sigvec declaration.
15846         * sysdeps/unix/bsd/sigvec.c: Remove file.
15847         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
15848         * manual/signal.texi (BSD Handler): Remove subsection.
15849         Move siginterrupt up to ...
15850         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
15851         (Blocking in BSD): Fold subsection into its parent.
15852         * NEWS: Mention sigvec removal.
15854 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
15856         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
15857         (DLA_FMS): Make definition conditional only on [__FMA4__].
15858         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
15859         definition.
15861         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
15862         Make definition conditional only on [PROF].
15863         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
15864         definition.
15865         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
15866         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
15868         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
15869         !__GNUC__].
15870         * include/signal.h (__sigpause): Move declaration above call to
15871         libc_hidden_proto.
15872         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
15873         variable.
15874         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
15875         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
15877 2014-11-14  David S. Miller  <davem@davemloft.net>
15879         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
15880         Define before including <string/memcpy.c> and <string/mempcpy.c>.
15882 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
15884         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
15885         * configure: Regenerated.
15886         * manual/install.texi (Tools for Compilation): Document a
15887         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
15888         compiler verified to work.
15889         * INSTALL: Regenerated.
15891         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
15892         redeclare with asm name.
15893         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
15894         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
15895         including <string.h>.
15896         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
15897         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
15898         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
15899         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
15900         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
15901         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15902         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
15904 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
15906         * stdlib/strtol.c (__strtol): Use prototype definition.
15908         [BZ #17594]
15909         * stdlib/strtol.c (SYM__): New macro.
15910         (SYM__1): Likewise.
15911         (__strtol): Likewise.
15912         (strtol): Rename to __strtol and define as weak alias of
15913         __strtol.  Use libc_hidden_weak.
15915 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15917         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
15918         Use numbered labels in inline assembly.
15920 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15922         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
15923         Add setjmp LIBC_PROBE.
15924         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
15925         Likewise.
15926         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
15927         Add longjmp, longjmp_target LIBC_PROBE.
15928         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
15929         Likewise.
15931 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15933         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15934         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
15935         to get rid of unused variable warning.
15937 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15939         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
15940         Check for unwind_backtrace ==  NULL only in SHARED case.
15941         (__backchain_backtrace): Compile only in SHARED case.
15942         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
15943         Likewise.
15944         (__backchain_backtrace): Declare as static.
15946 2014-11-12  Roland McGrath  <roland@hack.frob.com>
15948         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
15949         (__libc_multiple_threads_ptr): Variable moved ...
15950         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
15952 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
15954         * conform/GlibcConform.pm: New file.
15955         * conform/conformtest.pl: Use GlibcConform module.
15956         * conform/linknamespace.pl: New file.
15957         * conform/list-header-symbols.pl: Likewise.
15958         * conform/Makefile (linknamespace-symlists-base): New variable.
15959         (linknamespace-symlists-tests): Likewise.
15960         (linknamespace-header-base): Likewise.
15961         (linknamespace-header-tests): Likewise.
15962         (tests-special): Add new tests.
15963         ($(linknamespace-symlists-tests)): New rule.
15964         (linknamespace-libs): New variable.
15965         ($(objpfx)symlist-stdlibs): New rule.
15966         ($(linknamespace-header-tests)): Likewise.
15967         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
15968         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
15969         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
15970         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
15971         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
15972         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
15973         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
15974         (test-xfail-ISO/math.h/linknamespace): Likewise.
15975         (test-xfail-ISO/signal.h/linknamespace): Likewise.
15976         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
15977         (test-xfail-ISO/time.h/linknamespace): Likewise.
15978         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
15979         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
15980         (test-xfail-ISO99/math.h/linknamespace): Likewise.
15981         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
15982         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
15983         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
15984         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
15985         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
15986         (test-xfail-ISO11/math.h/linknamespace): Likewise.
15987         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
15988         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
15989         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
15990         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
15991         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
15992         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
15993         (test-xfail-XPG3/math.h/linknamespace): Likewise.
15994         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
15995         (test-xfail-XPG3/search.h/linknamespace): Likewise.
15996         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
15997         (test-xfail-XPG3/time.h/linknamespace): Likewise.
15998         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
15999         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16000         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16001         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
16002         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
16003         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16004         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
16005         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
16006         (test-xfail-XPG4/math.h/linknamespace): Likewise.
16007         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
16008         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
16009         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16010         (test-xfail-XPG4/search.h/linknamespace): Likewise.
16011         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
16012         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
16013         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
16014         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
16015         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
16016         (test-xfail-XPG4/time.h/linknamespace): Likewise.
16017         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
16018         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16019         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
16020         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
16021         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
16022         (test-xfail-POSIX/math.h/linknamespace): Likewise.
16023         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
16024         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
16025         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16026         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16027         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
16028         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
16029         (test-xfail-POSIX/time.h/linknamespace): Likewise.
16030         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
16031         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
16032         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
16033         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16034         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16035         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
16036         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
16037         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
16038         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16039         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
16040         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
16041         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16042         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
16043         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
16044         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
16045         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
16046         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16047         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
16048         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16049         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16050         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
16051         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
16052         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16053         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
16054         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
16055         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
16056         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
16057         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
16058         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
16059         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
16060         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16061         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
16062         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
16063         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
16064         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16065         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
16066         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16067         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
16068         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
16069         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
16070         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
16071         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
16072         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16073         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
16074         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
16075         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
16076         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16077         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
16078         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
16079         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
16080         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16081         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
16082         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
16083         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
16084         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
16085         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
16086         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
16087         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
16088         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16089         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
16090         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16091         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16092         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
16093         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16094         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
16095         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16096         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
16097         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
16098         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16099         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16100         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
16101         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
16102         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
16103         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
16104         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
16105         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
16106         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
16107         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16108         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16109         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16110         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
16111         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16112         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
16113         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16114         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
16115         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16116         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
16117         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16118         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
16119         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16120         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
16121         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16122         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
16123         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
16124         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
16125         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
16126         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
16127         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
16129         [BZ #17589]
16130         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
16131         of fgets_unlocked.
16133         [BZ #17585]
16134         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
16135         (memmem): Rename to __memmem and define as weak alias of
16136         __memmem.  Use libc_hidden_weak.
16137         (__memmem): Use libc_hidden_def.
16138         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
16139         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
16140         memmem.
16142         [BZ #17582]
16143         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
16144         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
16145         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
16146         and define as weak alias of __fgets_unlocked.  Use
16147         libc_hidden_weak.
16148         (__fgets_unlocked): Use libc_hidden_def.
16149         * include/stdio.h (__fgets_unlocked): Declare.  Use
16150         libc_hidden_proto.
16151         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
16152         __fgets_unlocked instead of fgets_unlocked.
16153         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
16154         (GET_NPROCS_CONF_PARSER): Likewise.
16155         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
16156         (GET_NPROCS_CONF_PARSER): Likewise.
16158         [BZ #17574]
16159         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
16160         weak alias of __wmemset.  Use libc_hidden_weak.
16161         (__wmemset): Use libc_hidden_def.
16162         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
16163         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
16164         of wmemset.
16166         [BZ #17573]
16167         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
16168         with asm name __mempcpy.
16169         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
16171         [BZ #17572]
16172         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
16173         and define as weak alias of __rawmemchr.
16174         (__rawmemchr): Do not define as strong alias of rawmemchr.
16176         [BZ #17571]
16177         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
16178         alias of __qsort_r.
16179         (qsort): Call __qsort_r instead of qsort_r.
16180         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
16181         (__qsort_r): Declare.  Call libc_hidden_proto.
16182         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
16183         instead of qsort_r.
16184         * nscd/gai.c (__qsort_r): Define to qsort_r.
16185         * posix/tst-rfc3484.c (__qsort_r): Likewise.
16186         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
16187         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
16189         [BZ #17570]
16190         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
16191         define as weak alias of __malloc_info.
16193         [BZ #17584]
16194         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
16195         as weak alias of __rewinddir.  Don't use libc_hidden_def.
16196         (__rewinddir): Use libc_hidden_def.
16197         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
16198         as weak alias of __rewinddir.  Don't use libc_hidden_def.
16199         (__rewinddir): Use libc_hidden_def.
16200         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
16201         weak alias of __rewinddir.  Don't use libc_hidden_def.
16202         (__rewinddir): Use libc_hidden_def.
16203         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
16204         (__rewinddir): Use libc_hidden_proto.
16205         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
16206         rewinddir.
16207         (__getcwd): Use __rewinddir instead of rewinddir.
16209         [BZ #17583]
16210         * libio/fileno.c (fileno): Rename to __fileno and define as weak
16211         alias of __fileno.  Use libc_hidden_weak.
16212         (__fileno): Use libc_hidden_def.
16213         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
16214         * libio/ftello.c (ftello): Rename to __ftello and define as weak
16215         alias of __ftello.
16216         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
16217         __ftello.
16218         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
16219         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
16220         libc_hidden_def.
16221         (fread_unlocked): Don't use libc_hidden_ver.
16222         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
16223         and define as weak alias of __fread_unlocked.  Don't use
16224         libc_hidden_def.
16225         (__fread_unlocked): Use libc_hidden_def.
16226         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
16227         (ftello): Don't use libc_hidden_proto.
16228         (__ftello): Declare.  Use libc_hidden_proto.
16229         (fread_unlocked): Don't use libc_hidden_proto.
16230         (__fread_unlocked): Declare.  Use libc_hidden_proto.
16231         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
16232         and __ftello instead of fileno, fread_unlocked and ftello.
16234 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16236         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
16237         GOT12.
16238         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
16239         Likewise.
16240         (_dl_start_user): Likewise.
16241         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
16243 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
16244             Siddhesh Poyarekar  <siddhesh@redhat.com>
16246         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
16247         Move argv and envp down instead of moving argc up.
16248         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
16250 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
16252         [BZ #17506]
16253         * test-skeleton.c (main): Return successful if one of
16254         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
16255         * string/tst-strcoll-overflow.c: Define expected status.
16257 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
16259         [BZ #17475]
16260         * locale/iso-639.def: Define Bhili and Tulu language codes.
16262 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
16264         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
16266 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
16268         [BZ #17555]
16269         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
16271 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
16273         * configure.ac: Updated check of minimal required version to
16274         2.22.
16275         * manual/install.texi (Tools for Compilation): Updated version
16276         number.
16277         * configure: Regenerated.
16278         * INSTALL: Likewise.
16280 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
16282         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
16283         __tls_get_addr.
16285 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
16287         * include/sys/wait.h (__libc_waitpid): Remove declaration.
16288         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
16289         (__waitpid): Don't define as alias.  Use libc_hidden_def not
16290         libc_hidden_weak.
16291         (waitpid): Define as alias of __waitpid.
16292         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
16293         __waitpid.
16294         (__waitpid): Don't define as alias.  Use libc_hidden_def not
16295         libc_hidden_weak.
16296         (waitpid): Define as alias of __waitpid.
16297         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
16298         __libc_waitpid alias.
16299         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
16300         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
16301         Likewise.
16302         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
16303         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
16304         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
16305         alias.
16306         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
16307         __waitpid.
16308         (__waitpid): Don't define as alias.  Use libc_hidden_def not
16309         libc_hidden_weak.
16310         (waitpid): Define as alias of __waitpid.
16312 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
16314         * manual/llio.texi: Add comment that write safety has been
16315         fixed in Linux.
16317         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
16318         (localplt-build-dso): Add elf/ld.so.
16319         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
16320         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
16321         and free for ld.so.
16322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
16323         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
16324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
16325         Likewise.
16326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16327         Likewise.
16328         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
16329         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
16330         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
16331         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
16332         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
16333         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
16334         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
16335         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
16336         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
16337         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
16338         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
16340 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
16342         [BZ #14132]
16343         * include/libc-symbols.h (INTUSE): Remove macro.
16344         (INTDEF): Likewise.
16345         (INTVARDEF): Likewise.
16346         (_INTVARDEF): Likewise.
16347         (INTDEF2): Likewise.
16348         (INTVARDEF2): Likewise.
16349         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
16350         rtld_hidden_def instead of INTVARDEF.
16351         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
16352         (_dl_starting_up_internal): Remove declaration.
16353         (_dl_starting_up): Use rtld_hidden_proto.
16354         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
16355         declaration.
16356         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
16357         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
16358         _dl_starting_up.
16359         * elf/dl-writev.h (_dl_writev): Likewise.
16360         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
16361         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
16362         _dl_starting_up_internal.
16364 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16366         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16367         test-skeleton.c.
16369 2014-11-05  Will Newton  <will.newton@linaro.org>
16371         * benchtests/Makefile: (bench-malloc): Add malloc thread
16372         scalability benchmark.
16373         * benchtests/bench-malloc-threads.c: New file.
16375 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
16377         * sysdeps/aarch64/strchrnul.S: New file.
16379 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16381         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
16382         definition.
16383         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16384         Likwise.
16385         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16386         Likewise.
16387         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16388         Likewise.
16389         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
16390         Likewise.
16391         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
16392         Likewise.
16394 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
16396         * catgets/test-gencat.c: Use test-skeleton.c.
16397         * catgets/tst-catgets.c: Likewise.
16398         * csu/tst-empty.c: Likewise.
16399         * elf/tst-audit2.c: Likewise.
16400         * elf/tst-global1.c: Likewise.
16401         * elf/tst-pathopt.c: Likewise.
16402         * elf/tst-piemod1.c: Likewise.
16403         * elf/tst-tls10.c: Likewise.
16404         * elf/tst-tls11.c: Likewise.
16405         * elf/tst-tls12.c: Likewise.
16406         * gnulib/tst-gcc.c: Likewise.
16407         * iconvdata/tst-e2big.c: Likewise.
16408         * iconvdata/tst-loading.c: Likewise.
16409         * iconv/tst-iconv1.c: Likewise.
16410         * iconv/tst-iconv2.c: Likewise.
16411         * inet/test-inet6_opt.c: Likewise.
16412         * inet/tst-gethnm.c: Likewise.
16413         * inet/tst-network.c: Likewise.
16414         * inet/tst-ntoa.c: Likewise.
16415         * intl/tst-codeset.c: Likewise.
16416         * intl/tst-gettext2.c: Likewise.
16417         * intl/tst-gettext3.c: Likewise.
16418         * intl/tst-ngettext.c: Likewise.
16419         * intl/tst-translit.c: Likewise.
16420         * io/test-stat.c: Likewise.
16421         * libio/test-fmemopen.c: Likewise.
16422         * libio/tst-freopen.c: Likewise.
16423         * libio/tst-sscanf.c: Likewise.
16424         * libio/tst-ungetwc1.c: Likewise.
16425         * libio/tst-ungetwc2.c: Likewise.
16426         * libio/tst-widetext.c: Likewise.
16427         * localedata/tst-ctype.c: Likewise.
16428         * localedata/tst-digits.c: Likewise.
16429         * localedata/tst-leaks.c: Likewise.
16430         * localedata/tst-mbswcs1.c: Likewise.
16431         * localedata/tst-mbswcs2.c: Likewise.
16432         * localedata/tst-mbswcs3.c: Likewise.
16433         * localedata/tst-mbswcs4.c: Likewise.
16434         * localedata/tst-mbswcs5.c: Likewise.
16435         * localedata/tst-setlocale.c: Likewise.
16436         * localedata/tst-trans.c: Likewise.
16437         * localedata/tst-wctype.c: Likewise.
16438         * localedata/tst-xlocale1.c: Likewise.
16439         * login/tst-grantpt.c: Likewise.
16440         * malloc/tst-calloc.c: Likewise.
16441         * malloc/tst-malloc.c: Likewise.
16442         * malloc/tst-mallocstate.c: Likewise.
16443         * malloc/tst-mcheck.c: Likewise.
16444         * malloc/tst-mtrace.c: Likewise.
16445         * malloc/tst-obstack.c: Likewise.
16446         * math/atest-exp2.c: Likewise.
16447         * math/atest-exp.c: Likewise.
16448         * math/atest-sincos.c: Likewise.
16449         * math/test-matherr.c: Likewise.
16450         * math/test-misc.c: Likewise.
16451         * math/test-powl.c: Likewise.
16452         * math/tst-definitions.c: Likewise.
16453         * misc/tst-dirname.c: Likewise.
16454         * misc/tst-efgcvt.c: Likewise.
16455         * misc/tst-fdset.c: Likewise.
16456         * misc/tst-hsearch.c: Likewise.
16457         * misc/tst-mntent2.c: Likewise.
16458         * nptl/tst-sem7.c: Likewise.
16459         * nptl/tst-sem8.c: Likewise.
16460         * nptl/tst-sem9.c: Likewise.
16461         * nss/test-netdb.c: Likewise.
16462         * posix/tst-fnmatch.c: Likewise.
16463         * posix/tst-getlogin.c: Likewise.
16464         * posix/tst-gnuglob.c: Likewise.
16465         * posix/tst-mmap.c: Likewise.
16466         * pwd/tst-getpw.c: Likewise.
16467         * resolv/tst-inet_ntop.c: Likewise.
16468         * rt/tst-timer.c: Likewise.
16469         * stdio-common/test-fseek.c: Likewise.
16470         * stdio-common/test-popen.c: Likewise.
16471         * stdio-common/test-vfprintf.c: Likewise.
16472         * stdio-common/tst-cookie.c: Likewise.
16473         * stdio-common/tst-fileno.c: Likewise.
16474         * stdio-common/tst-gets.c: Likewise.
16475         * stdio-common/tst-obprintf.c: Likewise.
16476         * stdio-common/tst-perror.c: Likewise.
16477         * stdio-common/tst-sprintf2.c: Likewise.
16478         * stdio-common/tst-sprintf3.c: Likewise.
16479         * stdio-common/tst-sprintf.c: Likewise.
16480         * stdio-common/tst-swprintf.c: Likewise.
16481         * stdio-common/tst-tmpnam.c: Likewise.
16482         * stdio-common/tst-unbputc.c: Likewise.
16483         * stdio-common/tst-wc-printf.c: Likewise.
16484         * stdlib/tst-environ.c: Likewise.
16485         * stdlib/tst-fmtmsg.c: Likewise.
16486         * stdlib/tst-limits.c: Likewise.
16487         * stdlib/tst-rand48-2.c: Likewise.
16488         * stdlib/tst-rand48.c: Likewise.
16489         * stdlib/tst-random2.c: Likewise.
16490         * stdlib/tst-random.c: Likewise.
16491         * stdlib/tst-strtol.c: Likewise.
16492         * stdlib/tst-strtoll.c: Likewise.
16493         * stdlib/tst-tls-atexit.c: Likewise.
16494         * stdlib/tst-xpg-basename.c: Likewise.
16495         * string/test-ffs.c: Likewise.
16496         * string/tst-bswap.c: Likewise.
16497         * string/tst-inlcall.c: Likewise.
16498         * string/tst-strtok.c: Likewise.
16499         * string/tst-strxfrm.c: Likewise.
16500         * sysdeps/x86_64/tst-audit10.c: Likewise.
16501         * sysdeps/x86_64/tst-audit3.c: Likewise.
16502         * sysdeps/x86_64/tst-audit4.c: Likewise.
16503         * sysdeps/x86_64/tst-audit5.c: Likewise.
16504         * time/tst-ftime_l.c: Likewise.
16505         * time/tst-getdate.c: Likewise.
16506         * time/tst-mktime3.c: Likewise.
16507         * time/tst-mktime.c: Likewise.
16508         * time/tst-posixtz.c: Likewise.
16509         * time/tst-strptime2.c: Likewise.
16510         * time/tst-strptime3.c: Likewise.
16511         * wcsmbs/tst-btowc.c: Likewise.
16512         * wcsmbs/tst-mbrtowc.c: Likewise.
16513         * wcsmbs/tst-mbsrtowcs.c: Likewise.
16514         * wcsmbs/tst-wchar-h.c: Likewise.
16515         * wcsmbs/tst-wcpncpy.c: Likewise.
16516         * wcsmbs/tst-wcrtomb.c: Likewise.
16517         * wcsmbs/tst-wcsnlen.c: Likewise.
16518         * wcsmbs/tst-wcstof.c: Likewise.
16520 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
16522         [BZ #14132]
16523         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
16524         INTDEF.
16525         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
16526         declaration.
16527         (_dl_mcount): Use rtld_hidden_proto.
16528         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
16529         _dl_mcount.
16530         * elf/rtld.c (_rtld_global_ro): Likewise.
16532         [BZ #14132]
16533         * elf/dl-init.c (_dl_init): Don't use INTDEF.
16534         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
16535         of _dl_init_internal.
16536         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
16537         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
16538         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
16539         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
16540         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
16541         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
16542         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
16543         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
16544         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
16545         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
16546         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
16547         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
16548         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16549         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16550         * sysdeps/tile/dl-start.S (_start): Likewise.
16551         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
16552         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
16554         [BZ #14132]
16555         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
16556         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
16557         (rtld_progname): Make macro definition unconditional.
16558         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
16559         INTDEF.
16560         (dlmopen_doit): Do not use INTUSE with _dl_argv.
16561         (dl_main): Likewise.
16562         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16563         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
16564         instead of _dl_argv_internal.
16565         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16566         __GI__dl_argv instead of INTUSE(_dl_argv).
16567         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
16568         __GI__dl_argv instead of _dl_argv_internal.
16570         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
16571         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
16572         macro.
16573         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
16574         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
16575         New macro.
16576         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
16577         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
16578         macro.
16579         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
16580         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
16582 2014-11-04  Andreas Schwab  <schwab@suse.de>
16584         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
16586 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16588         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
16589         mtvsrd instruction in binary form.
16591 2014-11-03  Andreas Schwab  <schwab@suse.de>
16593         [BZ #17522]
16594         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
16595         for less than MB_LEN_MAX use a local buffer of that size.
16596         * libio/tst-fputws.c: New file.
16597         * libio/Makefile (tests): Add tst-fputws.
16599 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
16601         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
16602         the size of the fpu_fr.fpu_dregs[] array.
16604 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
16606         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
16607         (__nanosleep): Do not define as alias.
16608         (nanosleep): Define as alias of __nanosleep.
16609         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
16610         __libc_nanosleep name.
16612 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
16614         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
16615         install.texi in comment.
16617 2014-10-31  Torvald Riegel  <triegel@redhat.com>
16619         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
16620         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
16621         ... add here and use lwsync or sync ...
16622         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
16623         ... and add here using lwsync.
16625 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
16627         * elf/dl-machine-reject-phdr.h: New file.
16628         * elf/dl-load.c: #include that.
16629         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
16630         if that returned true.
16632 2014-10-31  Roland McGrath  <roland@hack.frob.com>
16634         [BZ #17496]
16635         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
16636         gen-as-const-headers chunk.  Add a big scare comment after the last
16637         safe place to touch before-compile.
16639 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
16641         * manual/install.texi (Tools for Compilation): Update autoconf
16642         version requirements.
16643         * INSTALL: Regenerated.
16645         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
16646         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
16647         (__libc_pselect): Likewise.
16649         [BZ #14138]
16650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
16651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16655 2014-10-31  Torvald Riegel  <triegel@redhat.com>
16657         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
16658         correct barrier instruction.
16659         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
16660         Likewise.
16661         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
16662         Likewise.
16664 2014-10-30  Roland McGrath  <roland@hack.frob.com>
16666         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
16667         after defining inlines.  Instead, just use parens to defeat macro
16668         expansion of __isctype in its declaration.
16670 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
16672         * include/sys/uio.h (__libc_readv): Remove declaration.
16673         (__libc_writev): Likewise.
16674         * misc/readv.c (__libc_readv): Rename to __readv.
16675         (__readv): Do not define as alias.
16676         (readv): Define as alias of __readv.
16677         * misc/writev.c (__libc_writev): Rename to __writev.
16678         (__writev): Do not define as alias.
16679         (writev): Define as alias of __writev.
16680         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
16681         (__readv): Do not define as alias.
16682         (readv): Define unconditionally as alias of __readv.
16683         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
16684         (__writev): Do not define as alias.
16685         (writev): Define unconditionally as alias of __writev.
16686         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
16687         name.
16688         (writev): Do not define __libc_writev name.
16690 2014-10-30  Roland McGrath  <roland@hack.frob.com>
16692         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
16693         (convert_charseq): New function, broken out of ...
16694         (use_from_charmap): ... here.  Call it.
16695         (use_to_charmap): Use convert_charseq and free instead of duplicating
16696         its code with a variable-length stack struct.
16698 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
16700         * include/fcntl.h (__libc_creat): Remove declaration.
16701         * io/creat.c (__libc_creat): Rename to creat.
16702         (creat): Do not define as alias.
16703         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
16704         of creat instead of __libc_creat.
16705         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
16706         to creat.
16707         (creat): Do not define as alias.
16708         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
16709         __libc_creat.
16710         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
16711         __libc_creat name.
16712         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
16713         Likewise.
16715 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
16717         * manual/llio.texi: Add comments discussing why write() may be
16718         considered MT-unsafe on Linux.
16720 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
16722         * dl-load.c (local_strdup): Remove.
16723         (expand_dynamic_string_token): Use __strdup.
16724         (decompose_rpath): Likewise.
16725         (_dl_map_object): Likewise.
16727 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
16729         [BZ #14132]
16730         * sysdeps/generic/unwind-dw2-fde.c
16731         (__register_frame_info_bases_internal): Do not declare.
16732         (__register_frame_info_table_bases_internal): Likewise.
16733         (__deregister_frame_info_bases_internal): Likewise.
16734         (__register_frame_info_bases): Declare and use hidden_proto before
16735         definition.  Use hidden_def instead of INTDEF.
16736         (__register_frame_info_table_bases): Likewise.
16737         (__deregister_frame_info_bases): Likewise.
16738         (__register_frame_info): Do not use INTUSE.
16739         (__register_frame): Likewise.
16740         (__register_frame_info_table): Likewise.
16741         (__register_frame_table): Likewise.
16742         (__deregister_frame_info): Likewise.
16743         (__deregister_frame): Likewise.
16745 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
16747         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16748         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
16749         not undefine.
16750         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
16751         Likewise.
16752         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
16753         Likewise.
16755 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
16757         [BZ #14138]
16758         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
16759         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
16760         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
16761         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
16762         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
16763         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
16764         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
16765         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
16766         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
16767         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
16768         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
16769         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
16770         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
16771         syscall.
16772         (setfsuid): Likewise.
16773         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
16774         (setfsuid): Likewise.
16775         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
16776         (setfsuid): Likewise.
16777         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
16778         Likewise.
16779         (setfsuid): Likewise.
16780         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
16781         (setfsuid): Likewise.
16782         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
16783         Likewise.
16784         (setfsuid): Likewise.
16786 2014-10-27  Andreas Schwab  <schwab@suse.de>
16788         [BZ #17501]
16789         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
16790         check for Slow_SSE4_2 feature bit.
16791         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
16792         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16793         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
16794         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
16796 2014-10-24  Roland McGrath  <roland@hack.frob.com>
16798         * configure.ac: Validate compiler version with a empirical test of
16799         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
16800         $CC -v output.
16801         * configure: Regenerated.
16803         * inet/htons.c (htons): Prototypify.
16804         * inet/htonl.c (htonl): Likewise.
16806 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
16808         * string/strncat.c (strncat): Improve performance by using strlen.
16810 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
16812         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
16814 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
16816         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
16817         Call libc_fetestexcept_aarch64.
16819 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
16821         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
16822         Call libc_feholdexcept_aarch64.
16824 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
16826         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
16827         Call get_rounding_mode.
16829 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
16831         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16832         Simplify logic.
16834 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
16836         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
16837         Simplify logic.
16839 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
16841         [BZ #14138]
16842         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
16843         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
16844         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
16845         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
16846         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
16847         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
16848         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
16849         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
16850         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
16851         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
16852         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
16853         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
16854         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
16855         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
16856         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
16857         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
16858         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
16859         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
16860         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
16861         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
16862         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
16863         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
16864         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
16865         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
16866         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
16867         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
16868         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
16869         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
16870         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
16871         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
16872         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
16873         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
16874         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
16875         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
16876         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
16877         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
16878         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
16879         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
16880         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
16881         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
16882         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
16883         syscall.
16884         (geteuid): Likewise.
16885         (getgid): Likewise.
16886         (getuid): Likewise.
16887         (getresgid): Likewise.
16888         (getresuid): Likewise.
16889         (getgroups): Likewise.
16890         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
16891         (geteuid): Likewise.
16892         (getgid): Likewise.
16893         (getuid): Likewise.
16894         (getresgid): Likewise.
16895         (getresuid): Likewise.
16896         (getgroups): Likewise.
16897         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
16898         (geteuid): Likewise.
16899         (getgid): Likewise.
16900         (getuid): Likewise.
16901         (getresgid): Likewise.
16902         (getresuid): Likewise.
16903         (getgroups): Likewise.
16904         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
16905         Likewise.
16906         (geteuid): Likewise.
16907         (getgid): Likewise.
16908         (getuid): Likewise.
16909         (getresgid): Likewise.
16910         (getresuid): Likewise.
16911         (getgroups): Likewise.
16912         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
16913         (geteuid): Likewise.
16914         (getgid): Likewise.
16915         (getuid): Likewise.
16916         (getresgid): Likewise.
16917         (getresuid): Likewise.
16918         (getgroups): Likewise.
16919         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
16920         Likewise.
16921         (geteuid): Likewise.
16922         (getgid): Likewise.
16923         (getuid): Likewise.
16924         (getgroups): Likewise.
16926         [BZ #14138]
16927         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
16928         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
16929         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
16930         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16931         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
16932         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
16933         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
16934         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
16935         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
16936         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
16937         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
16938         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
16939         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
16940         __chown.
16941         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
16942         (lchown): Likewise.
16943         (fchown): Likewise.
16944         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
16945         Likewise.
16946         (lchown): Likewise.
16947         (fchown): Likewise.
16948         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
16949         (lchown): Likewise.
16950         (fchown): Likewise.
16951         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
16952         Likewise.
16953         (lchown): Likewise.
16954         (fchown): Likewise.
16956 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
16958         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
16959         Simplify logic.
16961 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
16963         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
16964         Cleanup logic.
16966 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
16968         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
16969         Remove unused include.
16971 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
16973         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
16974         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
16975         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
16976         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
16978 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
16979             Helge Deller <deller@gmx.de>
16981         [BZ #17508]
16982         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
16983         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
16984         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
16986 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
16988         [BZ #14132]
16989         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
16990         Remove macro definition.
16991         (__ashrdi3_v_glibc20): Likewise.
16992         (__lshrdi3_v_glibc20): Likewise.
16993         (__cmpdi2_v_glibc20): Likewise.
16994         (__ucmpdi2_v_glibc20): Likewise.
16995         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
16996         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16997         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16998         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16999         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17000         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
17002 2014-10-22  Roland McGrath  <roland@hack.frob.com>
17004         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
17005         old GNU extension [0] syntax.
17006         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
17007         alloca rather than an array member with variable length.
17008         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
17009         * nscd/nscd.c (invalidate_db): New function, broken out of ...
17010         (parse_opt): ... here.  Likewise use alloca there.
17011         Validate the -i argument before checking for rootness.
17012         (send_shutdown): New function, broken out of ...
17013         (parse_opt): ... here.
17015 2014-10-22  Roland McGrath  <roland@hack.frob.com>
17017         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
17018         macro to get at the _rt_local_ro field.
17019         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
17020         ([PIC] case) or _dl_hwcap ([!PIC] case).
17021         * sysdeps/arm/setjmp.S: Likewise.
17023         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
17024         * sysdeps/arm/configure.ac: New check to define it.
17025         * sysdeps/arm/configure: Regenerated.
17026         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
17027         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
17028         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
17029         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
17030         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
17031         Use move/movt pair instead of a load.
17032         (LDST_GLOBAL): Macro removed.
17033         (LDR_GLOBAL): New macro replaces it.
17034         (LDR_HIDDEN): New macro.
17035         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
17036         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
17038         * setjmp/tst-setjmp-static.c: New file.
17039         * setjmp/Makefile (tests): Add it.
17040         (tests-static): New variable.
17042 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
17044         [BZ #17485]
17045         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
17047 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
17049         [BZ #14132]
17050         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
17052 2014-10-21  Roland McGrath  <roland@hack.frob.com>
17054         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
17056 2014-10-20  Roland McGrath  <roland@hack.frob.com>
17058         * io/fts.c (dirent_not_directory): New function.
17059         (fts_build): Call it.
17061 2014-10-20  Roland McGrath  <roland@hack.frob.com>
17063         * nptl/version.c (__nptl_main): Use normal __write rather than
17064         INTERNAL_SYSCALL.
17065         (banner): Update copyright years.
17067         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
17068         gettimeofday.
17069         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17070         * nptl/pthread_cond_timedwait.c: Likewise.
17071         * nptl/pthread_mutex_timedlock.c: Likewise.
17072         * nptl/sem_timedwait.c: Likewise.
17074         * sysdeps/nptl/bits/libc-lock.h
17075         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17076         (__libc_lock_init_recursive): Return void, not 0.
17077         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
17078         (__libc_rwlock_init): Likewise.
17079         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
17081 2014-10-20  Torvald Riegel  <triegel@redhat.com>
17083         [BZ #15215]
17084         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
17085         (__pthread_once_slow): ... here.
17086         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
17087         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
17089 2014-10-20  Torvald Riegel  <triegel@redhat.com>
17091         [BZ #15215]
17092         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
17093         __PTHREAD_ONCE_FORK_GEN_INCR): New.
17094         * sysdeps/nptl/fork.c (__libc_fork): Use them.
17095         * nptl/pthread_once.c (__pthread_once): Likewise.
17096         Update comments.
17098 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
17100         [BZ #14138]
17101         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
17102         name.
17103         (writev): Use __libc_writev as strong name.
17104         * sysdeps/unix/sysv/linux/readv.c: Remove file.
17105         * sysdeps/unix/sysv/linux/writev.c: Likewise.
17107 2014-10-17  Roland McGrath  <roland@hack.frob.com>
17109         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
17111         * sysdeps/i386/nptl/tls.h
17112         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
17113         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
17114         New macros.
17115         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
17116         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
17117         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
17118         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
17119         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
17120         Call CHECK_THREAD_SYSINFO instead of doing an assert.
17122         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17123         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
17124         on [__NR_futex].
17125         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
17126         broken out of ...
17127         (__pthread_mutex_init): ... here.  Call it.
17128         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
17129         Conditionalize PI cases on [__NR_futex].
17130         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
17131         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
17132         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17134         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
17135         conditional on [SIGSETXID].
17136         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
17137         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
17138         is defined.  Likewise for SIGSETXID.
17139         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
17140         Conditionalize definitions on [SIGSETXID].
17141         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
17142         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
17143         unblocking on [SIGCANCEL].
17145         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
17146         [__NR_set_robust_list].
17148 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17150         * string/strcoll_l.c (get_next_seq): Fix up formatting.
17151         (do_compare): Likewise.
17153 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
17155         [BZ #15884]
17156         * string/strcoll_l.c: Don't include stdio.h.
17157         (coll_seq): Remove members idxarr and rulearr.
17158         (get_next_seq_cached): Remove function.
17159         (get_next_seq): Likewise.
17160         (get_next_seq_nocache): Rename to get_next_seq.
17161         (do_compare): Remove function.
17162         (do_compare_nocache): Rename to do_compare.
17163         (STRCOLL): Remove weight and rules cache.
17165 2014-10-16  Roland McGrath  <roland@hack.frob.com>
17167         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
17168         * sysdeps/arm/sfp-machine.h: ... to here.
17169         * sysdeps/arm/Implies: Remove arm/soft-fp.
17171 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
17173         * conform/data/sys/utsname.h-data (*_t): Allow.
17174         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
17175         [POSIX] (WEXITED): Do not expect constant.
17176         [POSIX] (WSTOPPED): Likewise.
17177         [POSIX] (WNOHANG): Likewise.
17178         [POSIX] (WNOWAIT): Likewise.
17179         [POSIX] (siginfo_t): Do not expect type or elements.
17180         [POSIX] (pid_t): Do not expect type.
17181         [POSIX] (signal.h): Do not allow header.
17182         [POSIX] (sys/resource.h): Likewise.
17183         [POSIX] (si_*): Do not allow pattern.
17184         [POSIX] (W*): Likewise.
17185         [POSIX] (P_*): Likewise.
17186         [POSIX] (BUS_*): Likewise.
17187         [POSIX] (CLD_*): Likewise.
17188         [POSIX] (FPE_*): Likewise.
17189         [POSIX] (ILL_*): Likewise.
17190         [POSIX] (POLL_*): Likewise.
17191         [POSIX] (SEGV_*): Likewise.
17192         [POSIX] (SI_*): Likewise.
17193         [POSIX] (TRAP_*): Likewise.
17194         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
17195         variable.
17197 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17199         [BZ #12926]
17200         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
17201         infinite loop when __recvmsg returns 0.
17203 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
17205         * CANCEL-FCT-WAIVE: Remove file.
17206         * CANCEL-FILE-WAIVE: Likewise.
17208         [BZ #14132]
17209         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
17210         instead of INTVARDEF.
17211         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
17212         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
17213         rtld_hidden_data_def instead of INTVARDEF.
17214         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
17215         * elf/dl-deps.c (expand_dst): Likewise.
17216         * elf/dl-load.c (_dl_dst_count): Likewise.
17217         (_dl_dst_substitute): Likewise.
17218         (decompose_rpath): Likewise.
17219         (_dl_init_paths): Likewise.
17220         (open_path): Likewise.
17221         (_dl_map_object): Likewise.
17222         * elf/rtld.c (dl_main): Likewise.
17223         (process_dl_audit): Likewise.
17224         (process_envvars): Likewise.
17225         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
17226         Remove declaration.
17227         (__libc_enable_secure): Use rtld_hidden_proto.
17229 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17231         * elf/dl-load.c
17232         (add_path): New function broken out of _dl_rtld_di_serinfo.
17233         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
17235 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
17237         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
17238         parentheses around macro arguments.
17239         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
17240         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
17241         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
17242         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
17243         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
17244         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
17245         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
17246         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
17247         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
17248         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
17249         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
17250         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
17251         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
17252         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
17253         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
17254         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
17255         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
17256         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
17257         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
17258         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
17259         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
17260         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
17261         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
17262         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
17263         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
17264         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
17265         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
17266         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
17267         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
17268         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
17269         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
17270         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
17271         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
17272         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
17273         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
17274         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
17275         Likewise.
17276         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
17277         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
17278         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
17279         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
17280         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
17281         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
17282         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
17283         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
17284         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
17285         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
17286         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
17287         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
17288         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
17289         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
17290         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
17291         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
17292         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
17293         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
17294         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
17295         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
17296         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
17297         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
17298         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
17299         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
17300         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
17301         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
17302         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
17303         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
17304         (_FP_FRAC_SRS_1): Likewise.
17305         (_FP_FRAC_CLZ_1): Likewise.
17306         (_FP_MUL_MEAT_1_imm): Likewise.
17307         (_FP_MUL_MEAT_1_wide): Likewise.
17308         (_FP_MUL_MEAT_1_hard): Likewise.
17309         (_FP_SQRT_MEAT_1): Likewise.
17310         (_FP_FRAC_ASSEMBLE_1): Likewise.
17311         (_FP_FRAC_DISASSEMBLE_1): Likewise.
17312         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
17313         (__FP_CLZ_2): Likewise.
17314         (_FP_MUL_MEAT_2_wide): Likewise.
17315         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17316         (_FP_MUL_MEAT_2_gmp): Likewise.
17317         (_FP_MUL_MEAT_2_120_240_double): Likewise.
17318         (_FP_SQRT_MEAT_2): Likewise.
17319         (_FP_FRAC_ASSEMBLE_2): Likewise.
17320         (_FP_FRAC_DISASSEMBLE_2): Likewise.
17321         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
17322         (_FP_FRAC_CLZ_4): Likewise.
17323         (_FP_MUL_MEAT_4_wide): Likewise.
17324         (_FP_MUL_MEAT_4_gmp): Likewise.
17325         (_FP_SQRT_MEAT_4): Likewise.
17326         (_FP_FRAC_ASSEMBLE_4): Likewise.
17327         (_FP_FRAC_DISASSEMBLE_4): Likewise.
17328         * soft-fp/op-common.h (_FP_CMP): Likewise.
17329         (_FP_CMP_EQ): Likewise.
17330         (_FP_CMP_UNORD): Likewise.
17331         (_FP_TO_INT): Likewise.
17332         (_FP_FROM_INT): Likewise.
17333         [!__FP_CLZ] (__FP_CLZ): Likewise.
17334         (_FP_DIV_HELP_imm): Likewise.
17335         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
17336         Likewise.
17337         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
17338         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
17339         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
17340         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
17341         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
17342         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
17343         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
17344         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
17345         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
17346         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
17347         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
17348         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
17349         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
17350         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
17351         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
17352         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
17353         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
17354         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
17355         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
17356         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
17357         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
17358         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
17359         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
17360         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
17361         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
17362         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
17363         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
17364         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
17365         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
17366         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
17367         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
17368         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
17369         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
17370         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
17371         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
17372         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
17373         (FP_UNPACK_RAW_SP): Likewise.
17374         (FP_PACK_RAW_S): Likewise.
17375         (FP_PACK_RAW_SP): Likewise.
17376         (FP_UNPACK_S): Likewise.
17377         (FP_UNPACK_SP): Likewise.
17378         (FP_UNPACK_SEMIRAW_S): Likewise.
17379         (FP_UNPACK_SEMIRAW_SP): Likewise.
17380         (FP_PACK_S): Likewise.
17381         (FP_PACK_SP): Likewise.
17382         (FP_PACK_SEMIRAW_S): Likewise.
17383         (FP_PACK_SEMIRAW_SP): Likewise.
17384         (_FP_SQRT_MEAT_S): Likewise.
17385         (FP_CMP_S): Likewise.
17386         (FP_CMP_EQ_S): Likewise.
17387         (FP_CMP_UNORD_S): Likewise.
17388         (FP_TO_INT_S): Likewise.
17389         (FP_FROM_INT_S): Likewise.
17391         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
17393         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
17394         (FP_EX_INVALID_IMZ): Likewise.
17395         (FP_EX_INVALID_IMZ_FMA): Likewise.
17396         (FP_EX_INVALID_ISI): Likewise.
17397         (FP_EX_INVALID_ZDZ): Likewise.
17398         (FP_EX_INVALID_IDI): Likewise.
17399         (FP_EX_INVALID_SQRT): Likewise.
17400         (FP_EX_INVALID_CVI): Likewise.
17401         (FP_EX_INVALID_VC): Likewise.
17402         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
17403         "invalid" exceptions.
17404         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
17405         (_FP_ADD_INTERNAL): Likewise.
17406         (_FP_MUL): Likewise.
17407         (_FP_FMA): Likewise.
17408         (_FP_DIV): Likewise.
17409         (_FP_CMP_CHECK_NAN): Likewise.
17410         (_FP_SQRT): Likewise.
17411         (_FP_TO_INT): Likewise.
17412         (FP_EXTEND): Likewise.
17414 2014-10-09  Allan McRae  <allan@archlinux.org>
17416         * po/fr.po: Update French translation from translation project.
17418 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
17420         [BZ #14132]
17421         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
17422         of INTDEF.
17423         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
17424         (__cxa_atexit): Use libc_hidden_proto.
17425         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
17427         [BZ #14132]
17428         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
17429         declaration.
17430         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
17431         [!_ISOMAC] (__iswspace_l_internal): Likewise.
17432         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
17433         [!_ISOMAC] (__iswctype_internal): Likewise.
17434         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
17435         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
17436         alias.
17437         (fcntl): Remove __fcntl_internal alias.
17438         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
17439         __connect_internal alias.
17440         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
17441         Likewise.
17443         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
17444         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
17445         FP_DENORM_ZERO.
17446         (_FP_CHECK_FLUSH_ZERO): New macro.
17447         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
17448         (_FP_CMP): Likewise.
17449         (_FP_CMP_EQ): Likewise.
17450         (_FP_TO_INT): Do not set inexact for subnormal arguments if
17451         FP_DENORM_ZERO.
17452         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
17453         (FP_TRUNC): Likewise.
17455         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
17456         treated as invalid conversion, not as normal exponent.
17458         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
17459         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
17460         (_FP_CMP_EQ): Likewise.
17461         (_FP_CMP_UNORD): Likewise.
17462         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
17463         (FP_CMP_EQ_D): Likewise.
17464         (FP_CMP_UNORD_D): Likewise.
17465         * soft-fp/extended.h (FP_CMP_E): Likewise.
17466         (FP_CMP_EQ_E): Likewise.
17467         (FP_CMP_UNORD_E): Likewise.
17468         * soft-fp/quad.h (FP_CMP_Q): Likewise.
17469         (FP_CMP_EQ_Q): Likewise.
17470         (FP_CMP_UNORD_Q): Likewise.
17471         * soft-fp/single.h (FP_CMP_S): Likewise.
17472         (FP_CMP_EQ_S): Likewise.
17473         (FP_CMP_UNORD_S): Likewise.
17474         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
17475         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
17476         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
17477         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
17478         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
17479         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
17480         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
17481         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
17482         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
17483         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
17484         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
17485         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
17486         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
17487         to FP_CMP_Q.
17488         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
17489         FP_CMP_Q.
17490         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
17491         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
17492         FP_CMP_EQ_Q.
17493         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
17494         FP_CMP_Q.
17495         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
17496         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
17497         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
17498         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
17499         FP_CMP_EQ_Q.
17500         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
17501         FP_CMP_Q.
17502         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
17503         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
17504         FP_CMP_EQ_Q.
17505         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
17506         FP_CMP_Q.
17507         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
17508         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
17509         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
17510         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
17511         FP_CMP_EQ_Q.
17513         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
17514         a subnormal result, set the underflow exception if trapping on
17515         underflow is enabled.
17516         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
17517         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
17518         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
17519         redefine to 0.
17520         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
17521         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
17522         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
17523         * soft-fp/extendxftf2.c (__extendxftf2): Use
17524         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
17526         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
17527         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
17528         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
17529         FP_HANDLE_EXCEPTIONS.
17530         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
17531         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
17532         FP_HANDLE_EXCEPTIONS.
17533         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
17534         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
17535         FP_HANDLE_EXCEPTIONS.
17536         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
17537         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
17538         FP_HANDLE_EXCEPTIONS.
17540 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
17542         [BZ #14132]
17543         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
17544         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
17545         use INTUSE.
17546         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
17547         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
17548         Remove alias.
17549         (__adjtimex): Define using libc_hidden_ver.
17550         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
17551         Remove declaration.
17552         (ntp_gettime): Call __adjtimex directly.
17553         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
17554         Remove declaration.
17555         (ntp_gettimex): Call __adjtimex directly.
17556         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
17557         __adjtimex_internal alias.
17559 2014-10-08  Roland McGrath  <roland@hack.frob.com>
17561         [BZ #17460]
17562         * nscd/nscd.c (more_help): Rewrite list of tables collection
17563         using xstrdup and asprintf.
17565         * nscd/nscd_conf.c: Remove local xstrdup declaration.
17567 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17568             Roland McGrath  <roland@hack.frob.com>
17570         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
17571         (do_lookup_unique): ... local function 'enter' here; update callers.
17573 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
17575         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
17576         compat_symbol calls on [SHARED].
17577         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
17578         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
17579         Remove.
17580         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
17581         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
17582         (oldsetrlimit): Remove.
17583         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
17584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
17585         (lchown): New syscall entry.
17586         (oldsetrlimit): Remove.
17587         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
17588         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
17589         (oldsetrlimit): Remove.
17590         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
17592         [BZ #14138]
17593         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
17594         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
17595         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
17596         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
17597         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17598         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
17599         (fchown): Likewise.
17600         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
17601         (fchown): Likewise.
17602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
17603         Likewise.
17605 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17607         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
17608         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
17609         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
17610         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
17611         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
17612         Likewise.
17613         (__old_sem_post): Likewise.
17615 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
17617         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
17618         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
17619         HAVE_CLOCK_GETTIME_VSYSCALL macros.
17620         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
17621         Use INLINE_VSYSCALL macro.
17622         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
17623         __vdso_clock_gettime.
17624         * sysdeps/unix/sysv/linux/tile/init-first.c
17625         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
17626         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
17627         __vdso_clock_gettime.
17629         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
17630         to set up frame more cleanly.
17632         * sysdeps/tile/memcmp.c: New file.
17634         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
17636         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
17637         * sysdeps/tile/tilegx/strcasestr.c: New file.
17638         * sysdeps/tile/tilegx/strnlen.c: New file.
17639         * sysdeps/tile/tilegx/strstr.c: New file.
17641         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
17643 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
17645         * nptl/tst-setuid3.c: Write errors to stdout.
17647 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17649         * elf/dl-deps.c
17650         (preload): New functions broken out of _dl_map_object_deps.
17651         (_dl_map_object_deps):  Remove a nested function. Update call sites.
17653 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
17655         [BZ #14138]
17656         * sysdeps/unix/sysv/linux/execve.c: Remove file.
17657         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
17659 2014-10-01  Steve Ellcey  <sellcey@mips.com>
17661         * sysdeps/mips/strcmp.S: New.
17663 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
17665         [BZ #14138]
17666         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
17667         (linkat): Likewise.
17668         (mkdirat): Likewise.
17669         (readlinkat): Likewise.
17670         (renameat): Likewise.
17671         (symlinkat): Likewise.
17672         (unlinkat): Likewise.
17673         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
17674         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
17675         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
17676         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
17677         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
17678         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
17679         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
17681 2014-09-30  Will Newton  <will.newton@linaro.org>
17683         * math/math.h: Define long double math functions if
17684         _LIBC_TEST is defined.
17685         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
17687         * localedata/Makefile: Move assignment to tests-special
17688         into an ifdef testing run-built-tests.
17689         * timezone/Makefile: Likewise.
17691 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
17693         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
17694         with $(BASH) not $(SHELL).
17696 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
17697             Matthew LeGendre  <legendre1@llnl.gov>
17699         [BZ #17411]
17700         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
17701         l_reloc_result.
17703 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17705         * stdio-common/printf_fp.c
17706         (hack_digit): New function, broken out of ...
17707         (__printf_fp): ... local function here.  Update call sites.
17708         hack_digit now takes an additional parameter that is a pointer
17709         to a struct of the referenced locals.  Those locals moved inside
17710         the struct and references updated.
17712 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
17714         * aclocal.m4: Require autoconf 2.69.
17715         * configure: Regenerated.
17716         * sysdeps/aarch64/configure: Likewise.
17717         * sysdeps/alpha/configure: Likewise.
17718         * sysdeps/arm/armv7/configure: Likewise.
17719         * sysdeps/arm/configure: Likewise.
17720         * sysdeps/ia64/configure: Likewise.
17721         * sysdeps/mach/configure: Likewise.
17722         * sysdeps/mips/configure: Likewise.
17723         * sysdeps/s390/configure: Likewise.
17724         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
17725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
17727         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
17728         file.
17729         * sysdeps/ia64/configure.ac: Likewise.
17731 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
17733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
17734         specify symbol version for ld.so.  Do not include entry for
17735         libpthread.
17736         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
17737         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
17738         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
17740         [BZ #14171]
17741         * Makeconfig [$(build-shared) = yes]
17742         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
17743         makefiles.
17744         [$(build-shared) = yes && $(soversions.mk-done) = t]
17745         ($(common-objpfx)gnu/lib-names.h): Remove rule.
17746         [$(build-shared) = yes && $(soversions.mk-done) = t]
17747         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
17748         to Makerules.
17749         [$(build-shared) = yes && $(soversions.mk-done) = t]
17750         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
17751         here.
17752         [$(build-shared) = yes && $(soversions.mk-done) = t]
17753         (common-generated): Don't append gnu/lib-names.h and
17754         gnu/lib-names.stmp here.
17755         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
17756         (lib-names-h-abi): New variable.
17757         [$(build-shared) = yes && $(soversions.mk-done) = t]
17758         (lib-names-stmp-abi): Likewise.
17759         [$(build-shared) = yes && $(soversions.mk-done) = t &&
17760         abi-variants] (before-compile): Append
17761         $(common-objpfx)$(lib-names-h-abi).
17762         [$(build-shared) = yes && $(soversions.mk-done) = t &&
17763         abi-variants] (common-generated): Append gnu/lib-names.h.
17764         [$(build-shared) = yes && $(soversions.mk-done) = t &&
17765         abi-variants] (install-others-nosubdir): Depend on
17766         $(inst_includedir)/$(lib-names-h-abi).
17767         [$(build-shared) = yes && $(soversions.mk-done) = t &&
17768         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
17769         [$(build-shared) = yes && $(soversions.mk-done) = t]
17770         ($(common-objpfx)$(lib-names-h-abi)): New rule.
17771         [$(build-shared) = yes && $(soversions.mk-done) = t]
17772         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
17773         [$(build-shared) = yes && $(soversions.mk-done) = t]
17774         (common-generated): Append $(lib-names-h-abi) and
17775         $(lib-names-stmp-abi).
17776         * scripts/lib-names.awk: Do not handle multi being set.
17777         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
17778         Remove variable.
17779         (abi-lp64_be-ld-soname): Likewise.
17780         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
17781         Likewise.
17782         (abi-hard-ld-soname): Likewise.
17783         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
17784         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
17785         Remove variable.
17786         (abi-o32_hard-ld-soname): Likewise.
17787         (abi-o32_soft_2008-ld-soname): Likewise.
17788         (abi-o32_hard_2008-ld-soname): Likewise.
17789         (abi-n32_soft-ld-soname): Likewise.
17790         (abi-n32_hard-ld-soname): Likewise.
17791         (abi-n32_soft_2008-ld-soname): Likewise.
17792         (abi-n32_hard_2008-ld-soname): Likewise.
17793         (abi-n64_soft-ld-soname): Likewise.
17794         (abi-n64_hard-ld-soname): Likewise.
17795         (abi-n64_soft_2008-ld-soname): Likewise.
17796         (abi-n64_hard_2008-ld-soname): Likewise.
17797         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
17798         Likewise.
17799         (abi-64-v2-ld-soname): Likewise.
17800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
17801         ld.so entries.
17802         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
17803         variable.
17804         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
17805         entry.
17806         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
17807         variable.
17808         (abi-64-ld-soname): Likewise.
17809         (abi-x32-ld-soname): Likewise.
17810         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
17811         entry.
17812         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
17814 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
17816         [BZ #14138]
17817         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
17818         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
17819         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
17820         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
17821         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
17822         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
17823         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
17824         syscall entry for GLIBC_2.2 symbol version.
17825         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
17826         Likewise.
17827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
17828         (setrlimit): Likewise.
17829         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
17830         Likewise.
17832 2014-09-23  Will Newton  <will.newton@linaro.org>
17834         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
17835         _LINUX_ARM_SYSDEP_H include guard too.
17836         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
17837         define.
17839 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17841         * sysdeps/unix/sysv/linux/eventfd.c:
17842         Make first argument unsigned.
17843         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
17844         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
17846 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
17848         * socket/recvmmsg.c (recvmmsg): Drop const argument.
17849         * socket/sys/socket.h: Likewise
17850         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
17852 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17854         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
17856 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
17858         * time/tst-ftime.c: New test.
17859         * time/Makefile (tests): Add tst-ftime.
17861 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
17863         * soft-fp/extended.h: Fix comment formatting.
17864         * soft-fp/op-1.h: Likewise.
17865         * soft-fp/op-2.h: Likewise.
17866         * soft-fp/op-4.h: Likewise.
17867         * soft-fp/op-8.h: Likewise.
17868         * soft-fp/op-common.h: Likewise.
17869         * soft-fp/soft-fp.h: Likewise.
17871         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
17873 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
17875         [BZ #6652]
17876         * Makeconfig (soversions-default-setname): Remove variable.
17877         ($(common-objpfx)soversions.i): Don't pass default_setname to
17878         soversions.awk.
17879         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
17880         oldest_abi to abi-versions.awk.
17881         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
17882         * config.make.in (oldest-abi): Remove variable.
17883         * configure.ac (--enable-oldest-abi): Remove configure option.
17884         * configure: Regenerated.
17885         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
17886         text.
17887         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
17888         * scripts/soversions.awk: Do not handle default_setname variable.
17889         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
17890         variable.
17891         * sysdeps/mach/hurd/configure: Regenerated.
17892         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
17893         variable.
17894         * sysdeps/unix/sysv/linux/configure: Regenerated.
17896 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17898         * elf/Makefile (CFLAGS-interp.c): Remove.
17899         ($(elf-objpfx)runtime-linker.h): Generate header with linker
17900         path string.
17901         * elf/interp.c: Include generated runtime-linker.h
17903         * Makerules (lib%.so): Don't include $(+interp) in
17904         prerequisites.
17905         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
17906         * dlfcn/eval.c: Remove file.
17908         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
17909         macros.
17911         [BZ #17266]
17912         * misc/sys/cdefs.h: Define __extern_always_inline for clang
17913         4.2 and newer.
17915         [BZ #17370]
17916         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
17918 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17919             Jakub Jelinek  <jakub@redhat.com>
17921         [BZ #17266]
17922         * libio/stdio.h: Check definition of __fortify_function
17923         instead of __extern_always_inline to include bits/stdio2.h.
17924         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
17925         check if __extern_always_inline is defined.
17926         [__USE_MISC || __USE_XOPEN]: Likewise.
17927         [__USE_ISOC99] Likewise.
17928         * misc/sys/cdefs.h (__fortify_function): Define only if
17929         __extern_always_inline is defined.
17930         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
17931         __extern_always_inline and __extern_inline only for g++-4.3
17932         and newer or a compatible gcc.
17934 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
17936         [BZ #17371]
17937         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17938         last change to handle zero prefix length.
17940 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17942         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
17943         _SC_REGEX_VERSION.
17945         * posix/getconf.c (vars): Add _POSIX_IPV6 and
17946         _POSIX_RAW_SOCKETS.
17948 2014-09-13  Allan McRae  <allan@archlinux.org>
17950         * po/ru.po: Update Russian translation from translation project.
17952 2014-09-12  Roland McGrath  <roland@hack.frob.com>
17954         * locale/programs/locale.c (show_locale_vars): Inline local function
17955         into its sole call site.  Clean up some style nits.
17956         (print_item): New function, broken out of ...
17957         (show_info): ... local function here.  Clean up style nits.
17959         * locale/programs/ld-ctype.c (set_one_default): New function, broken
17960         out of ...
17961         (set_class_defaults): ... local function set_default here.
17962         Define set_default as a macro locally to pass constant parameters.
17963         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
17964         rather than a shared local.
17966         * stdlib/rpmatch.c (try): New function, broken out of ...
17967         (rpmatch): ... local function here.  Also, prototypify definition.
17969 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
17971         * scripts/soversions.awk: Do not handle configuration names.
17972         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
17973         vendor and os variables to soversions.awk.
17974         * configure.ac: Do not modify gnu-* host_os.
17975         * configure: Regenerated
17976         * shlib-versions: Remove first column with configuration names.
17977         * nptl/shlib-versions: Likewise.
17978         * nptl_db/shlib-versions: Likewise.
17979         * sysdeps/hppa/shlib-versions: Likewise.
17980         * sysdeps/m68k/shlib-versions: Likewise.
17981         * sysdeps/mach/hurd/shlib-versions: Likewise.
17982         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
17983         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
17984         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
17985         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
17986         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
17987         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
17988         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
17989         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
17990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
17991         Likewise.
17992         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
17993         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
17994         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
17995         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
17996         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
17997         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
17998         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
17999         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18002         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
18003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
18004         Regenerated.
18005         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
18006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
18007         Condition symbol version definitions on [HAVE_ELFV2_ABI].
18009         * shlib-versions: Remove OS-specific entries.  Moved to files in
18010         sysdeps.
18011         * sysdeps/mach/hurd/shlib-versions: New file.
18012         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
18014         * nptl/shlib-versions: Remove architecture-specific entries.
18015         Moved to files in sysdeps.
18016         * shlib-versions: Likewise.
18017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
18018         file.
18019         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18020         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
18021         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
18022         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
18024         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
18025         (UDP_NO_CHECK6_RX): Likewise.
18027 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18029         * sysdeps/posix/sysconf.c (__sysconf): Spell
18030         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
18032 2014-08-12  Florian Weimer  <fweimer@redhat.com>
18034         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
18035         loading.
18036         * iconv/Versions (__gconv_transliterate): Export for use from
18037         gconv modules.
18038         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
18039         (struct __gconv_trans_data, __gconv_trans_fct,
18040         __gconv_trans_context_fct, __gconv_trans_query_fct,
18041         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
18042         definitions.
18043         (struct __gconv_step_data): Remove __trans member.
18044         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
18045         longer hidden.  Remove unused trans_data argument.
18046         * iconv/gconv_int.h (struct trans_struct): Remove definition.
18047         (__gconv_translit_find): Remove declaration.
18048         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
18049         prototype.
18050         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
18051         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
18052         trans_data argument.  Add hidden definition.
18053         (__gconv_translit_find): Remove.
18054         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
18055         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
18056         * iconv/skeleton.c: Remove transliteration initialization.
18057         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
18058         __gconv_step_data initialization.
18059         * libio/iofwide.c (__libio_translit_): Remove.
18060         (_IO_fwide): Adjust struct __gconv_step_data initialization.
18061         * wcsmbs/btowc.c (__btowc): Likewise.
18062         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18063         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18064         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
18065         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
18066         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
18067         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
18068         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
18069         * wcsmbs/wctob.c (wctob): Likewise.
18071 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18073         [BZ #16194]
18074         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
18075         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
18076         register usage.
18077         * sysdeps/x86/Makefile: Adjust.
18079 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18080             Roland McGrath  <roland@hack.frob.com>
18082         * locale/weight.h: Add include guard.
18083         (findidx): Make static rather than auto; take new parameters
18084         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
18085         * locale/weightwc.h: Likewise.
18086         * posix/fnmatch_loop.c
18087         (FCT): Change type of EXTRA from int32_t to wint_t.
18088         Don't include either header inside the function.
18089         Call FINDIDX rather than findidx, and pass new arguments.
18090         #undef FINDIDX at the end of the file.
18091         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
18092         FINDIDX before including fnmatch_loop.c for the non-wide version.
18093         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
18094         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
18095         for the wide version.
18096         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
18097         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
18098         Pass new arguments to findidx.
18099         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
18100         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
18101         Don't #include it inside the function.  Pass new arguments to findidx.
18102         * posix/regex_internal.h
18103         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
18104         (re_string_elem_size_at): Don't #include it inside the function.
18105         Pass new arguments to findidx.
18106         * string/strcoll_l.c: #include WEIGHT_H at top level.
18107         (get_next_seq): Don't #include it inside the function.
18108         Pass new arguments to findidx.
18109         (get_next_seq_nocache): Likewise.
18110         * string/strxfrm_l.c: #include WEIGHT_H at top level.
18111         (STRXFRM): Don't #include it inside the function.
18112         Pass new arguments to findidx.
18114 2014-09-11  Florian Weimer  <fweimer@redhat.com>
18116         [BZ #17344]
18117         * malloc/malloc.c (unlink): Turn asserts into a call to
18118         malloc_printerr.
18120 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
18122         [BZ #17370]
18123         * libio/wfileops (do_ftell_wide): Free OUT.
18125 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
18127         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
18129 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18131         [BZ #17363]
18132         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
18133         group if the current group is empty.
18135 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18137         * benchtests/bench-memset.c (test_main): Add more test from size
18138         from 32 to 512 bytes.
18139         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18140         Add POWER8 memset object.
18141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18142         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
18143         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
18144         implementation.
18145         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
18146         Likewise.
18147         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
18148         multiarch POWER8 memset optimization.
18149         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
18150         POWER8 memset optimization.
18152         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18153         Remove bzero multiarch objects.
18154         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
18155         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
18156         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
18157         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
18158         Remove define.
18159         [__bzero]: Redefine to specific name.
18160         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
18161         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
18162         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
18163         define.
18164         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18165         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18167 2014-09-10  Florian Weimer  <fweimer@redhat.com>
18169         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
18170         warnings into errors.
18172         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
18173         __cxa_thread_atexit_impl prototype.
18175 2014-09-09  Steve Ellcey  <sellcey@mips.com>
18177         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
18178         Fix capitalization of error message.
18180 2014-09-09  Steve Ellcey  <sellcey@mips.com>
18182         * sysdeps/mips/preconfigure: Modify ABI tests.
18184 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
18186         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
18188 2014-09-07  Roland McGrath  <roland@hack.frob.com>
18189             Carlos O'Donell  <carlos@systemhalted.org>
18191         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
18192         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
18193         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
18194         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
18195         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
18196         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
18197         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
18198         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
18199         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
18200         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
18201         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
18202         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
18203         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
18204         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
18205         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
18206         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
18207         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
18208         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
18209         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
18210         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
18211         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
18212         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
18213         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
18214         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
18215         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
18216         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
18217         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
18218         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
18219         Deconditionalize the code that was previously under [RESET_PID].
18220         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
18221         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
18222         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
18223         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
18224         include sysdep.h.
18226 2014-09-08  Allan McRae  <allan@archlinux.org>
18228         * version.h (RELEASE): Set to "development".
18229         (VERSION): Set to "2.20.90"
18231 2014-09-07  Allan McRae  <allan@archlinux.org
18233         * version.h (RELEASE): Set to "stable".
18234         (VERSION): Set to "2.20"
18235         * include/features.h (__GLIBC_MINOR__): Set to 20.
18237         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
18238         Liebler.
18240         * po/ko.po: Update Korean translation from translation project.
18242 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
18244         [BZ #17354]
18245         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
18246         macro for handling signed relocations.
18248 2014-09-03  Florian Weimer  <fweimer@redhat.com>
18250         [BZ #17325]
18251         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
18252         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
18253         assert.
18254         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
18255         * iconvdata/ibm935.c (BODY): Likewise.
18256         * iconvdata/ibm937.c (BODY): Likewise.
18257         * iconvdata/ibm939.c (BODY): Likewise.
18258         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
18259         assert.
18260         * iconvdata/Makefile (iconv-test.out): Pass module list to test
18261         script.
18262         * iconvdata/run-iconv-test.sh: New test loop for checking for
18263         decoder crashers.
18265 2014-09-02  Khem Raj  <raj.khem@gmail.com>
18267         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
18268         libm_hidden_ver.
18270 2014-09-01  Allan McRae  <allan@archlinux.org>
18272         * po/eo.po: Update Esperanto translation from translation project.
18274         * po/ca.po: Update Catalan translation from translation project.
18276 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18278         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
18279         __proc_dostop call.
18281 2014-08-27  Mark Wielaard  <mjw@redhat.com>
18283         [BZ #17319]
18284         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
18285         to call set_thread_area instead of hand written asm.
18286         (__NR_set_thread_area): Removed define.
18287         (TLS_FLAG_WRITABLE): Likewise.
18288         (__ASSUME_SET_THREAD_AREA): Remove check.
18289         (TLS_EBX_ARG): Remove define.
18290         (TLS_LOAD_EBX): Likewise.
18292 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18294         Simplify atomicity of socket creation in bind.
18296         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
18297         looking up the name after linking the file.
18299 2014-08-27  Allan McRae  <allan@archlinux.org>
18301         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18303 2014-08-26  Florian Weimer  <fweimer@redhat.com>
18305         [BZ #17187]
18306         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
18307         trans_compare, open_translit, __gconv_translit_find):
18308         Remove module loading code.
18310 2014-08-26  Allan McRae  <allan@archlinux.org>
18312         * po/vi.po: Update Vietnamese translation from translation project.
18314         * po/uk.po: Update Ukrainian translation from translation project.
18316         * po/fr.po: Update French translation from translation project.
18318         * po/ru.po: Update Russian translation from translation project.
18320         * po/pl.po: Update Polish translation from translation project.
18322         * po/cs.po: Update Czech translation from translation project.
18324         * po/de.po: Update German translation from translation project.
18326         * po/bg.po: Update Bulgarian translation from translation project.
18328         * po/sv.po: Update Sweedish translation from translation project.
18330         * po/nl.po: Update Dutch translation from translation project.
18332         * po/es.po: Update Spanish translation from translation project.
18334 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18336         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
18338         * catgets/Makefile (CPPFLAGS-gencat): Remove.
18339         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
18340         (CPPFLAGS-iconvconfig): Likewise.
18341         * timezone/Makefile (CPPFLAGS-zic): Likewise.
18343         * include/libc-symbols.h: Remove unnecessary check for
18344         NOT_IN_libc.
18345         * nptl/pthreadP.h: Likewise.
18346         * sysdeps/aarch64/setjmp.S: Likewise.
18347         * sysdeps/alpha/setjmp.S: Likewise.
18348         * sysdeps/arm/sysdep.h: Likewise.
18349         * sysdeps/i386/setjmp.S: Likewise.
18350         * sysdeps/m68k/setjmp.c: Likewise.
18351         * sysdeps/posix/getcwd.c: Likewise.
18352         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18353         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
18354         * sysdeps/s390/s390-32/setjmp.S: Likewise.
18355         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18356         * sysdeps/sh/sh3/setjmp.S: Likewise.
18357         * sysdeps/sh/sh4/setjmp.S: Likewise.
18358         * sysdeps/unix/alpha/sysdep.h: Likewise.
18359         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18360         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18361         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
18362         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18365         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18366         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18367         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18368         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18369         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18370         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18371         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18372         * sysdeps/x86_64/setjmp.S: Likewise.
18374 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
18376         [BZ #17263]
18377         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
18378         <stdint.h>.
18379         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
18380         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
18382 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18384         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
18386         [BZ #17262]
18387         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
18388         and __x86_64__ when disabling x87 inline functions.
18390 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
18392         [BZ #17259]
18393         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
18394         asm statement with __cpuid_count.
18396 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
18398         * configure.ac: Change __ehdr_start code to dereference the struct.
18399         Run readelf on the output to look for relocations.
18400         * configure: Regenerated.
18402 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
18404         [BZ #17261]
18405         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
18406         value to 0.
18407         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
18409 2014-08-12  Roland McGrath  <roland@hack.frob.com>
18411         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
18413 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
18415         [BZ #16892]
18416         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
18417         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
18419 2014-08-12  Sean Anderson  <seanga2@gmail.com>
18421         * malloc/malloc.c: Fix typo in comment.
18423 2014-08-09  Allan McRae  <allan@archlinux.org>
18425         * Regenerate libc.po.
18427 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
18429         * intl/tst-gettext2.sh: Check every lang file for creation.
18431 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
18433         * sysdeps/aarch64/fpu/math_private.h
18434         (libc_feholdsetround_noex_aarch64_ctx): New function.
18436 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
18438         * sysdeps/arm/armv6/strcpy.S (strcpy):
18439         Fix performance issue in misaligned cases.
18441 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18443         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
18444         Move definition from termios.h.
18445         (struct termio): Likewise.
18446         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18447         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
18448         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
18449         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
18450         Likewise.
18451         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
18452         Move definition to ioctl-types.h
18453         (struct termio): Likewise.
18454         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18455         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
18456         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
18457         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
18458         Likewise.
18460 2014-08-05  Richard Henderson  <rth@redhat.com>
18462         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
18463         exceptions.
18464         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
18465         Add fraiseexcpt.
18466         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
18467         Use __feraiseexcept.
18468         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
18469         Protect libm symbols with IS_IN_libm.
18471         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
18473 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
18475         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
18477 2014-08-04  Will Newton  <will.newton@linaro.org>
18479         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
18480         file.
18482 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
18484         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
18485         variants for each function.
18487 2014-08-04  Roland McGrath  <roland@hack.frob.com>
18489         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
18490         appended ...
18491         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
18492         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
18493         appended ...
18494         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
18495         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
18496         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
18497         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
18498         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
18499         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
18500         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
18501         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
18502         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
18503         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
18504         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
18505         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
18506         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
18507         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
18508         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
18509         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
18510         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
18511         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
18512         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
18513         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
18514         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
18515         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
18516         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
18517         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
18518         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
18519         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
18520         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
18521         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
18522         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
18523         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
18524         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
18525         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
18526         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
18527         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
18528         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
18529         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
18530         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
18531         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
18532         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
18533         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
18534         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
18535         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
18536         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
18537         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
18538         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
18539         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
18540         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
18541         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
18542         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
18543         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
18544         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
18545         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
18546         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
18547         Update #include.
18548         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
18549         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
18551 2014-08-04  Roland McGrath  <roland@hack.frob.com>
18553         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
18554         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
18555         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
18556         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
18557         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
18558         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
18560 2014-08-04  Roland McGrath  <roland@hack.frob.com>
18562         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
18563         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
18564         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18565         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
18567 2014-08-04  Roland McGrath  <roland@hack.frob.com>
18569         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
18570         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
18571         (__libc_vfork): Define function under this name.
18572         (__vfork): Define as an alias.
18573         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
18574         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
18576 2014-08-04  Roland McGrath  <roland@hack.frob.com>
18578         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
18579         that was previously under [RESET_PID].
18580         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
18582 2014-08-04  Andreas Schwab  <schwab@suse.de>
18584         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
18586 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
18588         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
18589         (main): Likewise.
18591 2014-08-01  Roland McGrath  <roland@hack.frob.com>
18593         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
18595 2014-08-01  Richard Henderon  <rth@redhat.com>
18597         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
18598         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
18599         typo in exact zero test.
18600         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18601         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18602         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18604 2014-08-01  Roland McGrath  <roland@hack.frob.com>
18606         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
18607         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
18608         * sysdeps/arm/sysdep.h: ... here.
18609         [!__ASSEMBLER__]: Include <stdint.h>.
18611 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18613         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
18614         (HAVE_WCTYPE_H): Likewise.
18615         (HAVE_ISWCTYPE): Likewise.
18616         (ENABLE_NLS): Likewise.
18617         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
18618         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
18620         * posix/regex_internal.c: Check if DEBUG is defined and is
18621         set.
18623         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
18624         (HAVE_MBSRTOWCS): Likewise.
18625         * posix/fnmatch.c: Include string.h unconditionally.
18627 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
18629         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
18630         reversal.
18632 2014-07-31  Roland McGrath  <roland@hack.frob.com>
18634         * sysdeps/generic/safe-fatal.h: New file.
18635         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
18636         * nptl/forward.c: Include it.
18637         (__pthread_unwind): Use __safe_fatal as default action, rather
18638         than a bogus use of INTERNAL_SYSCALL that could never work.
18640         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
18641         * configure.ac (libc_cv_builtin_trap): New test.
18642         * configure: Regenerated.
18643         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
18644         (ABORT_INSTRUCTION): Define using __builtin_trap.
18646         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
18647         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
18648         * sysdeps/nptl/nptl-signals.h: New file.
18649         * nptl/pthreadP.h: Include <nptl-signals.h>.
18651 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
18653         * sysdeps/s390/s390-64/utf16-utf32-z9.c
18654         (ONE_DIRECTION): Define.
18655         * sysdeps/s390/s390-64/utf8-utf16-z9.c
18656         (ONE_DIRECTION): Define.
18657         * sysdeps/s390/s390-64/utf8-utf32-z9.c
18658         (ONE_DIRECTION): Define.
18660 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
18662         * sysdeps/s390/Makefile: Delete file.
18663         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
18664         * sysdeps/s390/__longjmp.c: Delete file.
18665         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
18666         Remove fields __flags and __reserved.
18667         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
18668         and add versioning.
18669         * sysdeps/s390/rtld-__longjmp.c: Delete file.
18670         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
18671         * sysdeps/s390/rtld-setjmp.S: Likewise.
18672         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
18673         * sysdeps/s390/s390-32/__longjmp.c: ... here.
18674         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
18675         * sysdeps/s390/s390-32/setjmp.S: ... here.
18676         Add versioning.
18677         (__sigsetjmp): Remove setting __flags field.
18678         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
18679         * sysdeps/s390/s390-64/__longjmp.c: ... here.
18680         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
18681         * sysdeps/s390/s390-64/setjmp.S: ... here.
18682         Add versioning.
18683         (__sigsetjmp): Remove setting __flags field.
18684         * sysdeps/s390/setjmp.S: Delete file.
18685         * sysdeps/s390/sigjmp.c: Likewise.
18686         * sysdeps/s390/v1-longjmp.c: Likewise.
18687         * sysdeps/s390/v1-setjmp.h: Likewise.
18688         * sysdeps/s390/v1-sigjmp.c: Likewise.
18689         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
18690         Remove v1-longjmp_chk.
18691         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
18692         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
18693         Include debug/longjmp_chk.c and add versioning.
18694         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
18695         Include nptl/pt-longjmp.c and add versioning.
18696         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
18697         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
18698         Include __longjmp.c.
18699         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18700         Move to ...
18701         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
18702         (__getcontext): Remove setting __flags field.
18703         Add versioning.
18704         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18705         Don't restore upper high grps.
18706         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
18707         Likewise.
18708         (__swapcontext): Remove setting uc_flags field.
18709         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
18710         Delete file.
18711         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18712         Include __longjmp.c.
18713         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18714         Move to ...
18715         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
18716         (__getcontext): Remove setting __flags field.
18717         Add versioning.
18718         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
18719         (__swapcontext): Remove setting uc_flags field.
18720         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
18721         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
18722         Remove fields uc_high_gprs and __reserved.
18723         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
18724         New file with reverted content.
18725         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
18726         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
18727         Regenerated.
18728         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
18729         Regenerated.
18731 2014-07-31  Andreas Schwab  <schwab@suse.de>
18733         * config.h.in (HAVE_IFUNC): Define to 0.
18734         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
18735         definedness.
18737 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
18739         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18740         memmove-avx-unaligned, memcpy-avx-unaligned and
18741         mempcpy-avx-unaligned.
18742         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18743         Add tests for AVX memcpy functions.
18744         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
18745         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
18746         memcpy_chk.
18747         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
18748         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
18749         memmove_chk.
18750         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
18751         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
18752         mempcpy_chk.
18753         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
18754         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
18755         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
18757 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18759         [BZ #17213]
18760         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
18761         powerpc64le.
18763 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
18765         [BZ #16839]
18766         * manual/llio.texi: Add section about open file description locks.
18767         * manual/examples/ofdlocks.c: Example of open file description
18768         lock usage.
18769         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
18770         F_OFD_SETLK, and F_OFD_SETLKW.
18772 2014-07-23  Allan McRae  <allan@archlinux.org>
18774         * po/es.po: Update Spanish translation from translation project.
18776 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
18778         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
18780 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
18782         [BZ #17078]
18783         * sysdeps/arm/dl-machine.h (elf_machine_rela)
18784         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
18785         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
18787 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
18789         [BZ #17088]
18790         * math/fesetenv.c (__fesetenv)
18791         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
18792         * math/feupdateenv.c (__feupdateenv)
18793         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
18795         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
18796         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18797         (__ASSUME_SOCKETCALL): Do not define.
18799         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
18800         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
18801         (__ASSUME_SOCKETCALL): Do not define.
18802         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
18803         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
18804         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18805         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
18806         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18807         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
18808         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18809         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18811         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
18812         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
18813         (__ASSUME_SOCKETCALL): Do not define.
18814         (__ASSUME_IPC64): Define unconditionally.
18815         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
18816         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18817         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
18818         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18819         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
18820         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18821         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
18822         Likewise.
18824         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
18825         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
18826         (__ASSUME_SOCKETCALL): Do not define.
18827         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
18828         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18829         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18830         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18831         (__ASSUME_REQUEUE_PI): Define unconditionally.
18832         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
18833         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18834         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18835         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
18836         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18837         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18839         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
18840         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
18841         (__ASSUME_SOCKETCALL): Do not define.
18842         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
18843         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18844         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18845         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
18846         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18847         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18849         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
18850         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
18851         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18852         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
18853         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18854         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
18855         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18856         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
18857         (__ASSUME_GETCPU_SYSCALL): Likewise.
18859         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
18860         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
18861         cases for individual architectures.
18862         * sysdeps/gnu/configure: Regenerated.
18863         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
18864         LIBC_SLIBDIR_RTLDDIR.
18865         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
18866         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
18867         LIBC_SLIBDIR_RTLDDIR.
18868         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
18869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
18870         LIBC_SLIBDIR_RTLDDIR.
18871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
18872         Regenerated.
18873         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
18874         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
18875         file.
18876         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
18877         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
18878         file.
18879         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
18880         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
18881         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
18882         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
18884         * sysdeps/aarch64/shlib-versions: Move to ...
18885         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
18886         * sysdeps/alpha/shlib-versions: Move to ...
18887         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
18888         * sysdeps/arm/shlib-versions: Move to ...
18889         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
18890         * sysdeps/hppa/shlib-versions: Move all contents except for
18891         libgcc_s entry to ...
18892         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
18893         entry from ...
18894         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
18895         * sysdeps/ia64/shlib-versions: Move to ...
18896         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
18897         entry from ...
18898         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
18899         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
18900         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
18901         * sysdeps/microblaze/shlib-versions: Move to ...
18902         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
18903         * sysdeps/mips/shlib-versions: Move to ...
18904         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
18905         entry from ...
18906         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
18907         * sysdeps/tile/shlib-versions: Move to ...
18908         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
18909         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
18910         from ...
18911         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
18912         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
18913         entry from ...
18914         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
18916 2014-07-17  Will Newton  <will.newton@linaro.org>
18918         * sysdeps/arm/bits/atomic.h
18919         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
18920         (__arch_compare_and_exchange_bool_16_int): Likewise.
18921         (__arch_compare_and_exchange_bool_64_int): Likewise.
18923         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
18924         into an #else block.
18926 2014-07-16  Roland McGrath  <roland@hack.frob.com>
18928         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
18929         just Linux configurations.  Test empirically that the compiler sets
18930         __ARM_EABI__, rather than using the tuple to decide.
18931         * sysdeps/arm/preconfigure: Regenerated.
18932         * sysdeps/unix/sysv/linux/arm/configure: File removed.
18933         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
18934         contents appended ...
18935         * sysdeps/arm/configure.ac: ... here.
18936         * sysdeps/arm/configure: Regenerated.
18938 2014-07-15  Roland McGrath  <roland@hack.frob.com>
18940         * nptl/pthread_kill.c: New file.
18941         * nptl/pthread_sigmask.c: New file.
18942         * nptl/pthread_sigqueue.c: New file.
18944         * sysdeps/nptl/lowlevellock.h: New file.
18945         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
18946         * sysdeps/nptl/lowlevellock-futex.h: New file.
18948         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
18949         Remove dead declarations.
18951 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
18953         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
18954         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
18955         config-cflags-avx2.
18956         * sysdeps/x86_64/configure.ac: Likewise.
18957         * sysdeps/i386/configure: Regenerated.
18958         * sysdeps/x86_64/configure: Likewise.
18959         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18960         memset-avx2 only if config-cflags-avx2 is yes.
18961         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18962         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
18963         defined.
18964         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
18965         only if HAVE_AVX2_SUPPORT is defined.
18966         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18968 2014-07-14  Alan Modra  <amodra@gmail.com>
18970         [BZ #17153]
18971         * elf/elf.h (DT_PPC64_NUM): Correct value.
18972         * NEWS: Add to fixed bug list.
18974 2014-07-13  Jim Meyering  <meyering@fb.com>
18976         [BZ 17150]
18977         regex: don't deref NULL upon heap allocation failure
18978         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
18979         failure in one more place.
18980         To trigger the segfault, configure grep -with-included-regex,
18981         build it, and run these commands:
18982         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
18984 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
18986         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18988 2014-07-11  Richard Henderson  <rth@redhat.com>
18990         * sysdeps/aarch64/libm-test-ulps: Update.
18992 2014-07-10  Florian Weimer  <fweimer@redhat.com>
18994         [BZ #17135]
18995         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
18996         * nptl/allocatestack.c (__nptl_setxid_error): New function.
18997         (__nptl_setxid): Initialize error member.  Call
18998         __nptl_setxid_error.
18999         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
19000         * nptl/descr.h (struct xid_command): Add error member.
19001         * nptl/tst-setuid3.c: New file.
19002         * nptl/Makefile (tests): Add it.
19004 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19006         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
19007         New define.
19008         (__lll_trylock): Use __lll_base_trylock.
19009         (__lll_cond_trylock): Likewise.
19011 2014-07-10  Roland McGrath  <roland@hack.frob.com>
19013         * nptl/pthread_create.c (start_thread): Use atomic_or and
19014         lll_futex_wake directly rather than lll_robust_dead.
19015         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
19016         (lll_robust_dead): Macro removed.
19017         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
19018         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
19019         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
19020         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19021         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19022         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
19023         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
19024         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19025         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
19026         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19027         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19028         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19029         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19030         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19031         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19033         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
19034         Use atomic_compare_and_exchange_val_acq directly rather than
19035         lll_robust_trylock.
19036         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
19037         (__lll_robust_trylock, lll_robust_trylock): Removed.
19038         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
19039         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
19040         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19041         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19042         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
19043         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
19044         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19045         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
19046         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19047         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19048         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19049         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19050         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19051         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19053 2014-07-02  Florian Weimer  <fweimer@redhat.com>
19055         * manual/locale.texi (Locale Names): New section documenting
19056         locale name syntax.  Adjust menu and node chaining accordingly.
19057         (Choosing Locale): Reference Locale Names, Locale Categories.
19058         Mention setting LC_ALL=C.  Reflect that name syntax is now
19059         documented.
19060         (Locale Categories): New section title.  Reference Locale Names.
19061         LC_ALL is an environment variable, but not a category.
19062         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
19063         description, now in Locale Name.  Reference that section.  Locale
19064         name syntax is now documented.
19066 2014-07-02  Florian Weimer  <fweimer@redhat.com>
19068         [BZ #17137]
19069         * locale/findlocale.c (name_present, valid_locale_name): New
19070         functions.
19071         (_nl_find_locale): Use the loc_name variable to store name
19072         candidates.  Call name_present and valid_locale_name to check and
19073         validate locale names.  Return an error if the locale is invalid.
19075 2014-07-02  Florian Weimer  <fweimer@redhat.com>
19077         * locale/setlocale.c (setlocale): Use strdup for allocating
19078         composite name copy.
19080 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19082         Sync up with gnulib.
19083         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
19084         [!_LIBC && ENABLE_NLS]: Include gettext.h.
19085         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
19086         and _GL_ARG_NONNULL.
19087         [USE_UNLOCKED_IO]: Include unlocked-io.h.
19088         [!_LIBC]: Include code for Windows and Cygwin.
19089         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
19090         Include prototype for int strerror_r.
19091         [!_LIBC] (is_open): New function.
19092         (flush_stdout): New function.
19093         (print_errno_message): Use it.
19094         (error): Likewise.
19095         (error_at_line): Likewise.
19096         (error_tail) Add function attribute macros.  Use
19097         __builtin_expect.
19099         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
19101         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
19103         * io/ftw.c: Include sys/param.h unconditionally.
19105         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
19107         [BZ #17125]
19108         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
19109         libc_freeres_ptr.
19110         (freecache): New function to free CACHE on exit.
19112         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
19113         initialization.
19115 2014-07-09  David S. Miller  <davem@davemloft.net>
19117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19119         * sysdeps/sparc/nptl/internaltypes.h: Delete.
19120         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
19121         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
19122         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
19123         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
19124         * sysdeps/sparc/nptl/sem_init.c: Likewise.
19125         * sysdeps/sparc/nptl/sem_post.c: Likewise.
19126         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
19127         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
19128         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
19129         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
19130         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
19131         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
19133 2014-07-09  Andreas Schwab  <schwab@suse.de>
19135         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
19136         output.
19137         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
19138         (do_test): Likewise.
19140         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19142 2014-07-09  Will Newton  <will.newton@linaro.org>
19144         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
19145         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
19146         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
19147         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
19148         * sysdeps/hppa/start.S (_start): Likewise.
19150 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
19152         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
19154         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
19155         defined.
19157 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19159         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
19160         after checking that it is non-NULL.
19162         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
19164 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19166         * sysdeps/powerpc/memmove.c: Remove file.
19167         * sysdeps/powerpc/powerpc32/power4/memcopy.h
19168         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
19169         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19170         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
19171         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
19172         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
19173         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
19174         string memmove instead of removed powerpc one.
19176         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19177         [weak_alias]: Fix compiler warning due trailing data.
19178         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
19179         [weak_alias]: Likewise.
19180         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
19181         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
19183         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19184         (__libc_ifunc_impl_list): Add memmove functions.
19186 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19188         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
19189         Remove code.
19190         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
19191         Likewise
19192         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
19193         Likewise
19194         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
19195         Likewise
19196         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
19197         Likewise
19198         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
19199         Likewise
19200         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
19201         Likewise
19202         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
19203         Likewise
19204         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
19205         Likewise
19206         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
19207         Likewise
19208         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
19209         Likewise
19210         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
19211         Likewise
19212         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
19213         Likewise
19214         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
19215         Likewise
19216         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
19217         Likewise
19218         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
19219         Likewise
19220         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
19221         Likewise
19223 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19225         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
19226         to avoid alignment traps in non-cacheable memory.
19227         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19229         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
19230         multiarch objects.
19231         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
19232         file: multiarch power7 memmove.
19233         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
19234         multiarch default memmove.
19235         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
19236         multiarch memove for powerpc32/power4.
19238         * string/bcopy.c: Use full path to include memmove.c.
19239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
19240         multiarch objects.
19241         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
19242         bcopy for powerpc64.
19243         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
19244         bcopy for powerpc64.
19245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
19246         and memmove implementations.
19247         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
19248         optimized multiarch memmove for POWER7/powerpc64.
19249         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
19250         default multiarch memmove for powerpc64.
19251         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
19252         multiarch for powerpc64.
19253         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
19254         for POWER7/powerpc64.
19255         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
19256         memmove for POWER7/powerpc64.
19258         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
19259         glibc default one.
19261         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
19262         __ELF_NATIVE_CLASS equal to 64.
19264 2014-07-07  Roland McGrath  <roland@hack.frob.com>
19266         * sysdeps/nptl/lowlevellock.h: File removed.
19268         * NEWS: NPTL is no longer an add-on!
19269         * nptl/internaltypes.h: Moved ...
19270         * sysdeps/nptl/internaltypes.h: ... here.
19271         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
19272         * sysdeps/nptl/fork.c: Likewise.
19273         * sysdeps/nptl/gai_misc.h: Likewise.
19274         * sysdeps/nptl/librt-cancellation.c: Likewise.
19275         * sysdeps/nptl/jmp-unwind.c: Likewise.
19276         * sysdeps/nptl/setxid.h: Likewise.
19277         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
19278         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
19279         * sysdeps/unix/sysv/linux/arm/Implies: New file.
19280         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
19281         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
19282         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
19283         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
19284         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
19285         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
19286         * sysdeps/unix/sysv/linux/mips/Implies: New file.
19287         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
19288         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
19289         * sysdeps/unix/sysv/linux/sh/Implies: New file.
19290         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
19291         * sysdeps/unix/sysv/linux/tile/Implies: New file.
19292         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
19293         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
19294         * nptl/Makeconfig: Moved ...
19295         * sysdeps/nptl/Makeconfig: ... here.
19296         * nptl/configure: File removed.
19297         * nptl/ANNOUNCE: File removed.
19298         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
19299         * sysdeps/unix/sysv/linux/configure: Regenerated.
19301         * nptl/Makefile (routines): Add libc_pthread_init,
19302         libc_multiple_threads, register-atfork and unregister-atfork.
19303         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
19304         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
19305         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
19306         pthread-pi-defines.sym, structsem.sym.
19307         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
19308         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
19309         [$(subdir) = nptl] (tests): Add tst-setgetname.
19310         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
19311         * sysdeps/unix/sysv/linux/sigaction.c: Just include
19312         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
19313         [!LIBC_SIGACTION]: Remove aliases.
19314         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
19315         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
19316         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19317         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
19318         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19319         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
19320         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19321         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19322         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19323         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
19324         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
19325         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
19326         __libc_allocate_rtsig_private.
19327         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
19328         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
19329         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
19330         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
19331         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
19332         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
19333         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
19334         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
19335         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
19336         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
19337         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
19338         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
19339         * nptl/internaltypes.h: ... here.
19340         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
19341         * sysdeps/nptl/jmp-unwind.c: ... here.
19342         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
19343         * nptl/libc-lowlevellock.c: ... here.
19344         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
19345         * nptl/libc_multiple_threads.c: ... here.
19346         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
19347         * nptl/libc_pthread_init.c: ... here.
19348         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
19349         * nptl/lowlevelbarrier.sym: ... here.
19350         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
19351         * nptl/lowlevelcond.sym: ... here.
19352         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
19353         * nptl/lowlevellock.c: ... here.
19354         * nptl/lowlevellock.h: Moved ...
19355         * sysdeps/nptl/lowlevellock.h: ... here.
19356         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
19357         * nptl/lowlevelrobustlock.c: ... here.
19358         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
19359         * nptl/lowlevelrobustlock.sym: ... here.
19360         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
19361         * nptl/lowlevelrwlock.sym: ... here.
19362         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
19363         * nptl/pt-fork.c: ... here.
19364         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
19365         * nptl/pthread-pi-defines.sym: ... here.
19366         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
19367         * nptl/pthread_attr_getaffinity.c: ... here.
19368         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
19369         * nptl/pthread_attr_setaffinity.c: ... here.
19370         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
19371         * nptl/pthread_mutex_cond_lock.c: ... here.
19372         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19373         Update #include.
19374         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
19375         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
19376         * nptl/pthread_once.c: ... here, replacing old file.
19377         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
19378         * nptl/pthread_yield.c: ... here.
19379         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
19380         * nptl/register-atfork.c: ... here.
19381         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
19382         * nptl/sem_post.c: ... here.
19383         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
19384         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
19385         * nptl/sem_timedwait.c: ... here.
19386         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
19387         * nptl/sem_trywait.c: ... here.
19388         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
19389         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
19390         * nptl/sem_wait.c: ... here.
19391         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
19392         * nptl/structsem.sym: ... here.
19393         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
19394         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
19395         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
19396         * nptl/unregister-atfork.c: ... here.
19397         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
19398         * nptl/unwindbuf.sym: ... here.
19399         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
19400         * sysdeps/nptl/fork.c: ... here.
19401         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
19402         * sysdeps/nptl/fork.h: ... here.
19403         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
19404         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
19405         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
19406         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
19407         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
19408         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
19409         * sysdeps/unix/sysv/linux/getpid.c: ... here.
19410         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
19411         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
19412         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
19413         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
19414         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
19415         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
19416         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
19417         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
19418         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
19419         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
19420         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
19421         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
19422         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
19423         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
19424         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
19425         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
19426         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
19427         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
19428         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
19429         * sysdeps/unix/sysv/linux/raise.c: ... here.
19430         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
19431         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
19432         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
19433         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
19434         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
19435         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
19436         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
19437         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
19438         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
19439         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
19440         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
19441         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
19442         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
19443         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
19444         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
19446 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19448         * sysdeps/generic/memcopy.h: Add comment for
19449         MEMCPY_OK_FOR_FWD_MEMMOVE.
19451 2014-07-04  Will Newton  <will.newton@linaro.org>
19453         * string/memchr.c: Merge from gnulib.
19454         [_LIBC]: Remove conditionals.
19455         (__ptr_t): Remove define.
19456         (LONG_MAX_32_BITS): Likewise.
19457         (LONG_MAX): Likewise.
19458         (MEMCHR): Use ANSI prototype and optimize algorithm.
19460         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
19462 2014-07-03  Roland McGrath  <roland@hack.frob.com>
19464         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
19465         (lll_futex_timed_wait_bitset): Fix syscall argument count.
19467         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
19468         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
19469         in a bare environment with no <stdlib.h> installed.
19470         * sysdeps/nptl/configure: Regenerated.
19472         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
19474         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
19475         AC_EGREP_CPP for kernel header checks, so they only succeed if
19476         including <linux/version.h> actually works right.
19477         * sysdeps/unix/sysv/linux/configure: Regenerated.
19479         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
19480         value so it's not diagnosed as unused.
19482         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
19483         thing) with "ifeq ($(subdir),rt)".
19485 2014-07-03  Richard Henderson  <rth@redhat.com>
19487         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
19488         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
19489         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
19491         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
19492         (math_force_eval): New.
19494         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
19495         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
19497         * sysdeps/alpha/fpu/s_round.c: Remove file.
19498         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
19500         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
19501         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
19502         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
19503         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
19504         (_dl_start, print_statistics): Likewise.
19505         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
19506         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
19508         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
19509         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
19510         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
19511         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
19512         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
19513         (HP_SMALL_TIMING_AVAIL): Define.
19514         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
19515         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
19516         (HP_SMALL_TIMING_AVAIL): Define.
19517         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
19518         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
19520         * sysdeps/aarch64/hp-timing.h: New file.
19522         * sysdeps/generic/hp-timing.h: Remove dead comment.
19523         * sysdeps/generic/hp-timing-common.h: New file.
19524         * sysdeps/alpha/hp-timing.h: Include it.
19525         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
19526         * sysdeps/i386/i686/hp-timing.h: Likewise.
19527         * sysdeps/ia64/hp-timing.h: Likewise.
19528         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19529         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19530         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19531         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19532         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
19533         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
19534         (hp_timing_t): New.
19536         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
19537         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
19538         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
19539         * elf/rtld.c (_dl_start_final): Likewise.
19540         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
19541         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
19542         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
19543         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
19544         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
19545         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
19546         (HP_TIMING_DIFF_INIT): Remove.
19547         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
19548         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
19549         (HP_TIMING_DIFF_INIT): Remove.
19550         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
19551         * sysdeps/i386/i686/hp-timing.c: Remove file.
19552         * sysdeps/x86_64/hp-timing.c: Remove file.
19553         * sysdeps/ia64/hp-timing.c: Remove file.
19554         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
19555         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
19556         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
19557         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
19559         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
19560         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
19561         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
19562         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
19563         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
19564         (HP_TIMING_ACCUM): Remove.
19565         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
19566         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
19567         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
19569         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
19570         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
19571         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
19572         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
19573         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
19574         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
19575         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
19576         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
19578         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
19580 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
19582         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
19584 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19586         Sync up with gettext.
19587         * intl/loadmsgcat.c: Define O_BINARY if not defined.
19588         [_MSC_VER]: Include malloc.h
19589         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
19590         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
19591         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
19592         TEMP_FAILURE_RETRY.  Cast return of alloca.
19593         [!_LIBC] Call gl_rwlock_init.
19594         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
19596 2014-07-02  Roland McGrath  <roland@hack.frob.com>
19598         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
19599         before checking its value.
19601 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19603         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
19605         * debug/memcpy_chk.c: Don't include pagecopy.h.
19606         * debug/mempcpy_chk.c: Likewise.
19607         * string/memcpy.c: Likewise.
19608         * string/memmove.c: Likewise.
19609         * sysdeps/powerpc/memmove.c: Likewise.
19610         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
19611         definition of PAGE_COPY_FWD_MAYBE here...
19612         * sysdeps/generic/pagecopy.h: ... from here.
19613         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
19615 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19616             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19618         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
19619         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
19620         optimizations.
19621         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19622         (__libc_ifunc_impl_list): Likewise.
19623         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
19624         multiarch strcat for PPC64.
19625         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
19626         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
19628 2014-07-02  Roland McGrath  <roland@hack.frob.com>
19630         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
19632 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19634         * intl/loadmsgcat.c: Remove declaration of
19635         get_sysdep_segment_value.
19636         (get_sysdep_segment_value): Use ISO C style.
19637         (_nl_load_domain): Use ISO C style.  Get rid of redundant
19638         semicolon.  Fix typo and formatting in comment.
19639         (_nl_unload_domain): Use ISO C style.
19641         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
19643 2014-07-02  Will Newton  <will.newton@linaro.org>
19645         * malloc/obstack.c: Merge from gnulib master.
19646         [HAVE_CONFIG_H]: Remove conditional code.
19647         [!_LIBC]: Include config.h.
19648         [!ELIDE_CODE]: Don't include inttypes.h, include
19649         stdint.h unconditionally.
19650         (print_and_abort): Mark as _Noreturn.
19651         (_obstack_allocated_p): Mark as __attribute_pure__.
19652         (obstack_free): Rename to __obstack_free.
19653         [!__attribute__]: Remove conditional code.
19654         * malloc/obstack.h: Merge from gnulib master.
19655         [__cplusplus]: Move conditional down.
19656         [!__attribute_pure__]: Define __attribute_pure__ here
19657         if it is not already defined.
19658         (_obstack_memory_used): Mark as __attribute_pure__.
19659         [!__obstack_free]: Define as obstack_free.
19660         [__GNUC__]: Remove check for ancient NeXT gcc.
19662 2014-07-02  Will Newton  <will.newton@linaro.org>
19663             Paul Eggert  <eggert@cs.ucla.edu>
19665         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
19667 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19669         * resolv/gethnamaddr.c: Add comment warning that the file is
19670         not maintained.
19672 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
19674         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
19675         entries.
19677         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
19678         entry for aio_cancel and aio_cancel64.
19679         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
19680         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
19681         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
19682         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
19683         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
19684         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
19685         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
19686         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
19687         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
19688         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
19689         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
19690         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
19691         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
19693 2014-07-01  Roland McGrath  <roland@hack.frob.com>
19695         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
19696         * nptl/pthread_mutex_lock.c: Likewise.
19697         * nptl/pthread_mutex_timedlock.c: Likewise.
19698         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
19700 2014-07-01  Richard henderson  <rth@redhat.com>
19702         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
19703         (__isnan, __isnanl): Remove.
19704         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
19706         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19708 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
19710         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19712 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19714         * resolv/nss_dns/dns-host.c (getanswer_r)
19715         [MULTI_PTRS_ARE_ALIASES]: Remove code.
19717 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
19719         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19720         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
19721         undefine.
19722         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
19723         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
19725 2014-07-01  Roland McGrath <roland@hack.frob.com>
19727         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
19728         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
19730         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
19731         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
19733         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
19734         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
19735         ... here.
19736         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
19737         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
19739         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
19740         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
19741         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
19742         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
19744         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
19745         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
19746         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
19747         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
19748         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
19749         Moved ...
19750         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
19751         ... here.
19752         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
19753         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
19754         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
19755         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
19756         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
19757         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
19758         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
19759         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
19760         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
19761         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
19762         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
19763         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
19764         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
19765         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
19766         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
19767         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
19768         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
19769         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
19770         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
19771         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
19772         ... here.
19773         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
19774         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
19775         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
19776         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
19777         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
19778         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
19779         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
19780         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
19782 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
19784         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
19785         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
19786         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
19787         Add sysdep.
19789 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19793 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
19795         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19796         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19798         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19800         * sysdeps/arm/libm-test-ulps: Regenerated.
19802 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
19803             Roland McGrath <roland@hack.frob.com>
19805         * test-skeleton.c (signal_handler): Kill the whole process group
19806         before killing the child individually.
19807         (main): Report any failure on `setpgid'.
19809 2014-06-30  Roland McGrath  <roland@hack.frob.com>
19811         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
19812         from _TLS_H to _ARM_NPTL_TLS_H.
19813         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
19814         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
19816 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
19818         [BZ #16539]
19819         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
19820         (__expm1l): Return argument unchanged when small but not
19821         subnormal.
19823         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
19824         include macro name.
19825         (_FP_UNPACK_RAW_1_P): Likewise.
19826         (_FP_PACK_RAW_1): Likewise.
19827         (_FP_PACK_RAW_1_P): Likewise.
19828         (_FP_MUL_MEAT_1_wide): Likewise.
19829         (_FP_MUL_MEAT_DW_1_hard): Likewise.
19830         (_FP_MUL_MEAT_1_hard): Likewise.
19831         (_FP_DIV_MEAT_1_imm): Likewise.
19832         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
19833         (_FP_DIV_MEAT_1_udiv): Likewise.
19834         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
19835         (_FP_UNPACK_RAW_2): Likewise.
19836         (_FP_UNPACK_RAW_2_P): Likewise.
19837         (_FP_PACK_RAW_2): Likewise.
19838         (_FP_PACK_RAW_2_P): Likewise.
19839         (_FP_MUL_MEAT_DW_2_wide): Likewise.
19840         (_FP_MUL_MEAT_2_wide): Likewise.
19841         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
19842         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
19843         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
19844         (_FP_MUL_MEAT_2_gmp): Likewise.
19845         (_FP_DIV_MEAT_2_udiv): Likewise.
19846         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
19847         (_FP_FRAC_SRL_4): Likewise.
19848         (_FP_FRAC_SRST_4): Likewise.
19849         (_FP_FRAC_SRS_4): Likewise.
19850         (_FP_UNPACK_RAW_4): Likewise.
19851         (_FP_UNPACK_RAW_4_P): Likewise.
19852         (_FP_PACK_RAW_4): Likewise.
19853         (_FP_PACK_RAW_4_P): Likewise.
19854         (_FP_MUL_MEAT_DW_4_wide): Likewise.
19855         (_FP_MUL_MEAT_4_wide): Likewise.
19856         (_FP_MUL_MEAT_4_gmp): Likewise.
19857         (umul_ppppmnnn): Likewise.
19858         (_FP_DIV_MEAT_4_udiv): Likewise.
19859         (__FP_FRAC_ADD_4): Likewise.
19860         (__FP_FRAC_SUB_3): Likewise.
19861         (__FP_FRAC_SUB_4): Likewise.
19862         (__FP_FRAC_DEC_3): Likewise.
19863         (__FP_FRAC_DEC_4): Likewise.
19864         (__FP_FRAC_ADDI_4): Likewise.
19865         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
19866         (_FP_FRAC_SRL_8): Likewise.
19867         (_FP_FRAC_SRS_8): Likewise.
19869         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
19870         include macro name.
19871         (FP_UNPACK_RAW_EP): Likewise.
19872         (FP_PACK_RAW_E): Likewise.
19873         (FP_PACK_RAW_EP): Likewise.
19874         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
19875         (_FP_ISSIGNAN): Likewise.
19876         (_FP_ADD_INTERNAL): Likewise.
19877         (_FP_FMA): Likewise.
19878         (_FP_CMP): Likewise.
19879         (_FP_SQRT): Likewise.
19880         (_FP_TO_INT): Likewise.
19881         (_FP_FROM_INT): Likewise.
19882         (FP_EXTEND): Likewise.
19883         (_FP_DIV_MEAT_N_loop): Likewise.
19885 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
19887         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
19888         throughout.
19890 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
19892         [BZ #17097]
19893         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
19894         result with correct sign in case of exponents that produce
19895         overflow except for X very close to 1.
19897 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
19899         mktime: merge #if/#ifdef usage from glibc
19900         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
19901         as that works with both Glibc's and Gnulib's style.
19902         See thread starting at Siddhesh Poyarekar's bug report at:
19903         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
19905 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19907         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
19908         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
19909         * sysdeps/tile/tilegx/memmove.c: Remove file.
19911 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
19913         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
19914         abi-name definition.
19915         * scripts/soversions.awk: Do not handle or generate ABI lines.
19916         * shlib-versions: Remove ABI entries.
19917         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
19918         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
19920 2014-06-27  Roland McGrath  <roland@hack.frob.com>
19922         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
19923         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
19924         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
19925         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
19926         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
19927         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
19928         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
19929         Moved ...
19930         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
19931         ... here.
19932         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
19933         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
19934         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
19935         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
19936         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
19937         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
19938         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
19939         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
19940         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
19941         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
19942         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
19943         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
19944         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
19945         Moved ...
19946         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
19947         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
19948         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
19949         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
19950         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
19951         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
19952         Moved ...
19953         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
19954         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
19955         Moved ...
19956         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
19957         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
19958         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
19959         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
19960         Moved ...
19961         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
19962         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
19963         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
19964         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
19965         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
19966         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
19967         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
19968         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
19969         Moved ...
19970         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
19971         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
19972         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
19973         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
19974         Moved ...
19975         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
19976         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
19977         Moved ...
19978         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
19979         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
19980         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
19981         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
19982         Moved ...
19983         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
19984         ... here.
19985         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
19986         Identical file removed.
19987         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
19988         Moved ...
19989         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
19990         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
19991         Identical file removed.
19992         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
19993         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
19994         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
19995         Moved ...
19996         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
19997         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
19998         Identical file removed.
19999         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
20000         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
20001         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
20002         Identical file removed.
20003         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
20004         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
20005         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
20006         Identical file removed.
20007         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
20008         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
20009         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
20010         Identical file removed.
20011         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
20012         Moved ...
20013         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
20014         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
20015         Identical file removed.
20016         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
20017         Moved ...
20018         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
20019         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
20020         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
20021         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
20022         Identical file removed.
20023         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
20024         Moved ...
20025         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
20026         ... here.
20027         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
20028         Identical file removed.
20029         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
20030         Moved ...
20031         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
20032         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
20033         Identical file removed.
20034         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
20035         Moved ...
20036         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
20037         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
20038         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
20039         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
20040         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
20041         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
20042         Moved ...
20043         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
20044         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
20045         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
20047         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
20048         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
20049         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
20050         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
20051         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
20053 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
20055         [BZ #17092]
20056         * nscd/nscd.c (monitor_child): Return exit status of child
20057         instead of return value from wait syscall.
20059 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
20061         * configure.ac (libc_commonpagesize): Remove variable.
20062         (libc_relro_required): Likewise.
20063         (libc_cv_z_relro): Remove configure test.
20064         * configure: Regenerated.
20065         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
20066         variable.
20067         (libc_relro_required): Likewise.
20068         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
20069         (libc_relro_required): Likewise.
20070         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
20071         (libc_relro_required): Likewise.
20072         * sysdeps/arm/preconfigure: Regenerated.
20073         * sysdeps/ia64/preconfigure: Remove file.
20074         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
20075         variable.
20076         (libc_relro_required): Likewise.
20078         [BZ #16561]
20079         [BZ #16562]
20080         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
20081         (__ieee754_yn): Set FE_TONEAREST mode internally and then
20082         recompute overflowing results in original rounding mode.
20083         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
20084         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
20085         recompute overflowing results in original rounding mode.
20086         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
20087         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20088         recompute overflowing results in original rounding mode.
20089         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
20090         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20091         recompute overflowing results in original rounding mode.
20092         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
20093         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20094         recompute overflowing results in original rounding mode.
20095         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
20096         (libc_feholdsetround_ctx): New macro.
20097         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
20098         * sysdeps/i386/fpu/libm-test-ulps: Update.
20099         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
20101 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20103         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
20104         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
20105         corresponding .cpsetup call.
20107 2014-06-26  Roland McGrath  <roland@hack.frob.com>
20109         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
20110         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
20111         * sysdeps/arm/Makefile [$(subdir) = csu]
20112         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
20113         (static-only-routines): Add aeabi_read_tp here.
20114         (shared-only-routines): Add libc-aeabi_read_tp here.
20115         (CFLAGS-libc-start.c): Add -fexceptions here.
20116         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
20117         (sysdep_routines, static-only-routines, shared-only-routines):
20118         Don't add to these here.
20119         (CFLAGS-libc-start.c): Likewise.
20121         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
20122         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20123         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
20124         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20125         * sysdeps/arm/Makefile [$(subdir) = rt]
20126         (librt-sysdep_routines, librt-shared-only-routines):
20127         Append rt-aeabi_unwind_cpp_pr1 here.
20128         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
20129         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
20130         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
20131         (libpthread-sysdep_routines, libpthread-shared-only-routines):
20132         Append nptl-aeabi_unwind_cpp_pr1 here.
20133         (tests): Filter out tst-cleanupx4 here.
20134         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
20135         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
20136         Don't do those here.
20138 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20140         * scripts/list-sources.sh: Do not handle ports specially.
20142 2014-06-26  Roland McGrath  <roland@hack.frob.com>
20144         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
20145         * sysdeps/arm/feupdateenv.c: Likewise.
20147         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
20149 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20151         * manual/texinfo.tex: Update to version 2014-05-05.10 with
20152         trailing whitespace removed.
20153         * scripts/config.guess: Update to version 2014-03-23.
20154         * scripts/config.sub: Update to version 2014-05-01
20155         * scripts/install-sh: Update to version 2013-12-25.23.
20156         * scripts/move-if-change: Update from gnulib.
20158 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20160         * debug/memmove_chk.c: Remove pagecopy.h include.
20162 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
20164         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
20165         identical to gnulib mktime.
20167 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20169         * configure.ac: Do not test for machine being rs6000.  Do not test
20170         for powerpc*-*soft.
20171         * configure: Regenerated.
20173         [BZ #11505]
20174         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
20175         test.
20176         * configure: Regenerated.
20177         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
20178         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
20179         Remove configure test.
20180         * sysdeps/arm/configure: Regenerated.
20181         * sysdeps/nptl/configure.ac: Do not check
20182         libc_cv_asm_cfi_directives.
20183         * sysdeps/nptl/configure: Regenerated.
20184         * sysdeps/x86_64/nptl/configure.ac: Remove file.
20185         * sysdeps/x86_64/nptl/configure: Remove generated file.
20186         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
20187         unconditional.
20188         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
20190 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20192         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
20193         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
20194         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
20195         it is defined.
20197         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
20198         instead of whether it is defined.
20199         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
20200         * sysdeps/hppa/dl-machine.h: Likewise.
20201         * sysdeps/ia64/dl-machine.h: Likewise.
20202         * sysdeps/m68k/dl-machine.h: Likewise.
20203         * sysdeps/microblaze/dl-machine.h: Likewise.
20204         * sysdeps/mips/dl-machine.: Likewise.
20205         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20206         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20207         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20208         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20209         * sysdeps/sh/dl-machine.h: Likewise.
20210         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20211         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20212         * sysdeps/tile/dl-machine.h: Likewise.
20213         * sysdeps/x86_64/dl-machine.h: Likewise.
20215         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
20216         code.
20217         (verify_persistent_db): Likewise.
20219 2014-06-26  Roland McGrath  <roland@hack.frob.com>
20221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
20222         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
20223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
20224         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
20225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20226         Moved ...
20227         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
20228         ... here.
20229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
20230         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
20231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
20232         Identical file removed.
20233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
20234         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
20235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
20236         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
20237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
20238         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
20239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
20240         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
20241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
20242         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
20243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20244         Moved ...
20245         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
20246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
20247         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
20248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
20249         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
20250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20251         Moved ...
20252         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
20253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
20254         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
20255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
20256         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
20257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20258         Identical file removed.
20259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
20260         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
20261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
20262         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
20263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20264         Moved ...
20265         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
20266         ... here.
20267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
20268         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
20269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
20270         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
20271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
20272         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
20273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
20274         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
20275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
20276         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
20277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20278         Moved ...
20279         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
20280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
20281         Moved ...
20282         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
20283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
20284         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
20285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20286         Moved ...
20287         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
20288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
20289         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
20291         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
20292         folded into ...
20293         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
20294         * sysdeps/unix/sysv/linux/s390/Versions
20295         (libpthread: GLIBC_2.19): New version set.
20296         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
20297         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
20298         (librt: GLIBC_2.3.3): New version set.
20299         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
20300         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
20301         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
20302         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
20303         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
20304         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
20305         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
20306         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
20307         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
20308         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
20309         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
20310         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
20311         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
20312         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
20313         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
20314         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
20315         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
20316         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
20317         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
20318         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
20319         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
20320         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
20321         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
20322         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
20323         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
20324         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
20325         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
20326         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
20327         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
20328         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
20329         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
20330         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
20331         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
20332         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
20333         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
20334         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
20335         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
20336         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
20337         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
20338         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
20339         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
20340         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
20341         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
20342         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
20343         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
20345         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
20346         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
20347         (__libc_vfork): Define the function under this name.
20348         [!NOT_IN_libc] (__vfork): Make this an alias.
20349         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
20350         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
20351         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
20352         (__libc_vfork): Define the function under this name.
20353         [!NOT_IN_libc] (__vfork): Make this an alias.
20354         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
20355         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
20356         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
20357         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
20358         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
20359         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20361         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
20362         code that was previously under [RESET_PID].
20363         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
20364         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
20365         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
20367         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
20368         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
20369         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
20370         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
20371         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
20372         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
20373         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
20374         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
20375         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
20376         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
20377         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
20378         Moved ...
20379         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
20380         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
20381         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
20382         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
20383         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
20384         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
20385         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
20386         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
20387         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
20388         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
20389         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
20390         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
20391         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
20392         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
20393         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
20394         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
20395         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
20396         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
20397         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
20398         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
20399         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
20400         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
20401         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
20402         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
20403         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
20404         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
20405         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
20406         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
20407         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
20409 2014-06-25  Roland McGrath  <roland@hack.frob.com>
20411         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
20412         that was previously under [RESET_PID].
20413         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
20415 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
20417         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
20418         not undefine and redefine.
20419         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
20420         [O_CLOEXEC]: Make code unconditional.
20421         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
20422         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
20423         <kernel-features.h>.
20424         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
20425         conditional variable definition.
20426         (shm_open) [O_CLOEXEC]: Make code unconditional.
20427         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
20428         code.
20430         * configure.ac (USE_REGPARMS): Don't define here.
20431         * configure: Regenerated.
20432         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
20433         * sysdeps/i386/configure: Regenerated.
20435         * nptl/createthread.c: Don't include kernel-features.h.
20436         * nptl/pthread_cancel.c: Likewise.
20437         * nptl/pthread_condattr_setclock.c: Likewise.
20438         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
20439         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
20440         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
20441         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
20442         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
20443         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
20444         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20445         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
20446         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20447         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
20448         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
20449         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
20450         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
20451         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
20452         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
20453         * nscd/gai.c: Likewise.
20454         * nss/nss_db/db-open.c: Likewise.
20455         * sysdeps/generic/ldsodefs.h: Likewise.
20456         * sysdeps/sh/nptl/tls.h: Likewise.
20457         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
20458         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
20459         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
20460         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
20461         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
20462         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
20463         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
20464         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20465         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
20466         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
20467         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
20468         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
20469         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
20470         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
20471         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
20472         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
20473         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20474         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
20475         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
20476         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
20477         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
20478         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
20479         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
20480         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20481         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
20482         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
20483         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
20484         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20485         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
20486         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
20487         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
20488         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
20489         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
20490         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20491         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20492         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
20493         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20494         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
20495         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
20496         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
20497         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20498         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
20499         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
20500         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20501         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
20502         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
20503         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
20504         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
20505         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
20506         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
20507         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
20508         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
20509         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
20510         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
20511         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
20512         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20513         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
20514         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
20515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
20517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
20518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
20519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
20520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
20521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
20522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
20523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
20526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
20527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
20528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
20529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
20535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
20536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
20537         * sysdeps/unix/sysv/linux/pread.c: Likewise.
20538         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
20539         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
20540         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
20541         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
20542         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
20543         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
20544         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
20545         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
20546         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
20547         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
20548         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
20549         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
20550         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
20551         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
20552         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
20553         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20554         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
20555         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
20556         * sysdeps/unix/sysv/linux/system.c: Likewise.
20557         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
20558         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
20559         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20560         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20561         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20562         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
20563         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20565         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
20566         * configure: Regenerated.
20567         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
20569         * configure.ac (base_machine): Do not set specially for particular
20570         machines here.
20571         * configure: Regenerated.
20572         * sysdeps/powerpc/preconfigure: Move machine and base_machine
20573         settings from configure.ac.
20574         * sysdeps/i386/preconfigure: New file.
20575         * sysdeps/s390/preconfigure: Likewise.
20576         * sysdeps/sh/preconfigure: Likewise.
20577         * sysdeps/sparc/preconfigure: Likewise.
20579 2014-06-25  Roland McGrath  <roland@hack.frob.com>
20581         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
20582         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
20583         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
20584         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
20585         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
20586         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
20587         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
20588         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
20589         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
20590         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
20591         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
20592         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
20593         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
20594         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
20595         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
20596         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
20597         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
20598         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
20599         * sysdeps/sparc/sparc64/Makefile: ... appended here.
20601         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
20602         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
20603         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
20604         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
20605         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
20606         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
20607         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
20608         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
20609         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
20610         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
20611         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
20612         * sysdeps/sparc/sparc32/sem_post.c: ... here.
20613         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
20614         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
20615         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
20616         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
20617         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
20618         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
20619         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
20620         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
20621         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
20622         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
20623         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
20624         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
20625         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
20626         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
20627         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
20628         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
20629         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
20630         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
20631         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
20632         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
20633         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
20634         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
20635         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
20636         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
20637         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
20638         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
20640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
20641         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
20642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
20643         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
20644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20645         Moved ...
20646         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
20647         ... here.
20648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
20649         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
20650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
20651         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
20652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
20653         Moved ...
20654         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
20655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
20656         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
20657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
20658         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
20659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
20660         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
20661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20662         Moved ...
20663         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
20664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20665         Moved ...
20666         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
20667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
20668         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
20669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20670         Moved ...
20671         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
20672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
20673         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
20674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
20675         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
20676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
20677         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
20678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
20679         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
20680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20681         Moved ...
20682         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
20683         ... here.
20684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
20685         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
20686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
20687         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
20688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
20689         Moved ...
20690         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
20691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
20692         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
20693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
20694         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
20695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
20696         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
20697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20698         Moved ...
20699         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
20700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20701         Moved ...
20702         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
20703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
20704         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
20705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20706         Moved ...
20707         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
20708         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
20709         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
20710         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
20711         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
20713 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
20715         * timezone/checktab.awk: Update from tzcode 2014e.
20716         * timezone/private.h: Likewise.
20717         * timezone/tzfile.h: Likewise.
20718         * timezone/zdump.c: Likewise.
20719         * timezone/zic.c: Likewise.
20721         * sysdeps/unix/sysv/linux/kernel-features.h
20722         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
20723         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
20724         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
20725         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20726         Remove conditional code.
20728 2014-06-25  Will Newton  <will.newton@linaro.org>
20730         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
20731         (_dl_arm_cap_flags): Add HWCAP2 values.
20732         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
20733         (_DL_HWCAP_COUNT): Increase to 37.
20734         (_DL_HWCAP_LAST): New define.
20735         (_DL_HWCAP2_LAST): New define.
20736         (_dl_procinfo): Add support for printing
20737         AT_HWCAP2 entries.
20738         (_dl_string_hwcap): Use _dl_hwcap_string.
20740 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20744 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
20746         * README: Do not mention ports directory.
20748         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
20749         Remove macro.
20750         * sysdeps/unix/sysv/linux/futimes.c: Do not include
20751         <kernel-features.h>.
20752         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
20753         conditional variable definition.
20754         (__futimes): Update comment.
20755         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
20756         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
20758         [BZ #16560]
20759         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
20760         arguments close to 0.
20761         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
20762         Likewise.
20763         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
20764         Likewise.
20765         * math/auto-libm-test-in: Add more tests of exp10.
20766         * math/auto-libm-test-out: Regenerated.
20767         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20769         * sysdeps/unix/sysv/linux/kernel-features.h
20770         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
20771         * sysdeps/unix/sysv/linux/readv.c: Do not include
20772         <kernel-features.h>.
20773         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
20774         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
20775         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
20776         unconditional.
20777         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
20778         conditional code.
20779         * sysdeps/unix/sysv/linux/writev.c: Do not include
20780         <kernel-features.h>.
20781         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
20782         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
20783         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
20784         unconditional.
20785         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
20786         conditional code.
20788 2014-06-25  Will Newton  <will.newton@linaro.org>
20790         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
20791         comment changes throughout the file.  Remove checks
20792         for HAVE_*_H definitions that are not required.
20793         (__gen_tempname): Call abort if an unknown kind value is
20794         passed.
20796 2014-06-25  Andreas Schwab  <schwab@suse.de>
20798         [BZ #17086]
20799         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
20800         scalbln, scalblnf, scalblnl in libc.
20802 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20804         [BZ #17086]
20805         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
20806         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
20807         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
20809 2014-06-24  Roland McGrath  <roland@hack.frob.com>
20811         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
20812         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
20813         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
20814         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
20815         Update #include.
20816         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
20817         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
20818         Update #include.
20819         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
20820         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
20821         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
20822         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
20823         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
20824         * sysdeps/x86/bits/pthreadtypes.h: ... here.
20825         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
20826         * sysdeps/x86/bits/semaphore.h: ... here.
20827         * sysdeps/x86/nptl/elide.h: Moved ...
20828         * sysdeps/x86/elide.h: ... here.
20829         * sysdeps/x86_64/nptl/Implies: File removed.
20830         * sysdeps/i386/nptl/Implies: File removed.
20832 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
20834         [BZ #16539]
20835         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
20836         return the argument for normal arguments with exponent below -64.
20837         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20838         Likewise.
20839         * math/auto-libm-test-in: Add another test of expm1.
20840         * math/auto-libm-test-out: Regenerated.
20842         [BZ #16287]
20843         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
20844         calling __erfcl for arguments at least 16.
20845         * math/auto-libm-test-in: Add more tests of erf.
20846         * math/auto-libm-test-out: Regenerated.
20848         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
20849         individual architectures.
20850         * sysdeps/unix/sysv/linux/configure: Regenerated.
20851         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
20852         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
20853         * sysdeps/unix/sysv/linux/powerpc/configure.ac
20854         (ldd_rewrite_script): Define variable.
20855         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
20857         file.
20858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
20859         generated file.
20860         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
20861         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
20862         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
20863         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
20864         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
20865         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
20866         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
20867         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
20869 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20871         [BZ #17084]
20872         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
20873         Rename member __data.d to __data.__elision_data.
20875 2014-06-24  Wilco  <wdijkstr@arm.com>
20877         * NEWS: Add 16918 to fixed bug list.
20879 2014-06-24  Wilco  <wdijkstr@arm.com>
20881         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
20883 2014-06-24  Wilco  <wdijkstr@arm.com>
20885         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
20886         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
20887         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
20888         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
20889         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
20890         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
20891         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
20892         Use _FPU_MASK_RM.
20894 2014-06-24  Wilco  <wdijkstr@arm.com>
20896         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
20898 2014-06-24  Wilco  <wdijkstr@arm.com>
20900         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
20901         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
20902         * sysdeps/arm/fesetround.c (fesetround): Remove space.
20903         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
20905 2014-06-24  Wilco  <wdijkstr@arm.com>
20907         [BZ #16918]
20908         * sysdeps/arm/feupdateenv.c (feupdateenv):
20909         Rewrite to reduce FPSCR accesses and fix return value.
20911 2014-06-24  Wilco  <wdijkstr@arm.com>
20913         * sysdeps/arm/fclrexcpt.c (feclearexcept):
20914         Optimize to avoid unnecessary FPSCR writes.
20915         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
20916         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
20917         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
20918         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
20920 2014-06-24  Wilco  <wdijkstr@arm.com>
20922         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
20923         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
20924         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
20925         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
20926         Call libc_fetestexcept_vfp.
20927         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
20928         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
20929         __SOFTFP__ ifdef so that they can be built for softfp.
20931 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20933         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
20934         argument type signed char.
20936         * Makerules (check-abi): Dump diff of symlist if the test
20937         fails.
20939 2014-06-23  Roland McGrath  <roland@hack.frob.com>
20941         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
20942         using abort.
20944         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20945         Remove unused variable ST.
20947 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
20949         [BZ #16354]
20950         [BZ #17061]
20951         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
20952         small arguments before calling __expm1.
20953         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
20954         small arguments before calling __expm1f.
20955         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
20956         small arguments before calling __expm1l.
20957         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20958         Likewise.
20959         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
20960         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
20961         spurious underflow for some cosh tests.
20962         * math/auto-libm-test-out: Regenerated.
20963         * sysdeps/i386/fpu/libm-test-ulps: Update.
20965         [BZ #17050]
20966         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
20967         (__ieee754_y1): Set errno if return value overflows.
20968         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
20969         (__ieee754_y1f): Set errno if return value overflows.
20970         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
20971         (__ieee754_y1l): Set errno if return value overflows.
20972         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
20973         (__ieee754_y1l): Set errno if return value overflows.
20974         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
20975         * math/auto-libm-test-out: Regenerated.
20977         * math/gen-auto-libm-tests.c: Document use of
20978         ignore-zero-inf-sign.
20979         (input_flag_type): Add value flag_ignore_zero_inf_sign.
20980         (input_flags): Add ignore-zero-inf-sign.
20981         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
20982         * math/gen-libm-test.pl (generate_testfile): Handle
20983         ignore-zero-inf-sign.
20984         * math/auto-libm-test-in: Mark some cpow tests with
20985         ignore-zero-inf-sign and some with xfail-rounding.
20986         * math/auto-libm-test-out: Regenerated.
20987         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
20988         * sysdeps/i386/fpu/libm-test-ulps: Update.
20989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20991         [BZ #16315]
20992         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
20993         overflowing or underflowing operations take place with sign of
20994         result.
20995         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20996         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20997         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
20998         (__ieee754_pow): Recompute overflowing and underflowing results in
20999         original rounding mode.
21000         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
21001         (__powl_helper): Allow negative argument X and scale negated value
21002         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
21003         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
21004         overflowing or underflowing operations take place with sign of
21005         result.
21006         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
21007         Include <math.h>.
21008         * math/auto-libm-test-in: Add more tests of pow.
21009         * math/auto-libm-test-out: Regenerated.
21010         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
21011         (pow_tonearest_test_data): Remove.
21012         (pow_test_tonearest): Likewise.
21013         (pow_towardzero_test_data): Likewise.
21014         (pow_test_towardzero): Likewise.
21015         (pow_downward_test_data): Likewise.
21016         (pow_test_downward): Likewise.
21017         (pow_upward_test_data): Likewise.
21018         (pow_test_upward): Likewise.
21019         (main): Don't call removed functions.
21020         * sysdeps/i386/fpu/libm-test-ulps: Update.
21021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21023 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
21026         Moved ...
21027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
21028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21029         Moved ...
21030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
21031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21032         Moved ...
21033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
21034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21035         Moved ...
21036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
21037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21038         File removed.
21039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21040         File removed.
21041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
21042         File removed.
21043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
21044         File removed.
21045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
21046         File removed.
21047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
21048         File removed.
21049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
21050         File removed.
21051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21052         File removed.
21053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
21054         File removed.
21055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21056         File removed.
21057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
21058         File removed.
21059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
21060         File removed.
21061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
21062         Moved ...
21063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
21064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
21065         Moved ...
21066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
21067         ... here.
21068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
21069         Moved ...
21070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
21071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
21072         Moved ...
21073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
21074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
21075         Moved ...
21076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
21077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
21078         Moved ...
21079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
21080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
21081         Moved ...
21082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
21083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
21084         Moved ...
21085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
21086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
21087         Moved ...
21088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
21089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
21090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
21091         ... here.
21092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
21093         Moved ...
21094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
21095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21096         Moved ...
21097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21098         ... here.
21099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
21100         Moved ...
21101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21102         ... here.
21103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21104         Moved ...
21105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21106         ... here.
21107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21108         Moved ...
21109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
21110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21111         Moved ...
21112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
21113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
21114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
21115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21116         Moved ...
21117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
21118         ... here.
21119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21120         Moved ...
21121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
21122         ... here.
21123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21124         Moved ...
21125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
21126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21127         Moved ...
21128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
21129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21130         Moved ...
21131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
21132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21133         Moved ...
21134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
21135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21136         Moved ...
21137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
21138         ... here.
21139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21140         Moved ...
21141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
21142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21143         Moved ...
21144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
21145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21146         Moved ...
21147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
21148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21149         Moved ...
21150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
21151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
21152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
21153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21154         Moved ...
21155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
21156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21157         Moved ...
21158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
21159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21160         Moved ...
21161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
21162         ... here.
21163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21164         Moved ...
21165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
21166         ... here.
21167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21168         Moved ...
21169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
21170         ... here.
21171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21172         Moved ...
21173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
21174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21175         Moved ...
21176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
21177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21178         Moved ...
21179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
21180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21181         Moved ...
21182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
21183         ... here.
21184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21185         Moved ...
21186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
21187         ... here.
21188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21189         Moved ...
21190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
21191         ... here.
21192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21193         Moved ...
21194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
21195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21196         Moved ...
21197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
21199 2014-06-23  Will Newton  <will.newton@linaro.org>
21200             Wilco  <wdijkstr@arm.com>
21202         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
21203         implementation.  Include get-rounding-mode.h.
21204         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
21205         [!libc_feholdsetround_noex_ctx]: Define
21206         libc_feholdsetround_noex_ctx.
21207         [!libc_feholdsetround_noexf_ctx]: Define
21208         libc_feholdsetround_noexf_ctx.
21209         [!libc_feholdsetround_noexl_ctx]: Define
21210         libc_feholdsetround_noexl_ctx.
21211         (libc_feholdsetround_ctx): New function.
21212         (libc_feresetround_ctx): New function.
21213         (libc_feholdsetround_noex_ctx): New function.
21214         (libc_feresetround_noex_ctx): New function.
21216 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21218         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
21219         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
21220         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
21221         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
21222         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
21223         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
21225         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
21226         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
21227         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
21228         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
21229         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
21230         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
21231         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
21232         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
21233         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
21234         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
21235         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
21236         Moved ...
21237         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
21238         ... here.
21239         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
21240         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
21241         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
21242         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
21243         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
21244         Moved ...
21245         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
21246         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
21247         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
21248         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
21249         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
21250         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
21251         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
21252         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
21253         Moved ...
21254         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
21255         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
21256         Moved ...
21257         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
21258         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
21259         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
21260         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
21261         Moved ...
21262         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
21263         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
21264         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
21265         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
21266         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
21267         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
21268         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
21269         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
21270         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
21271         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
21272         Moved ...
21273         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
21274         ... here.
21275         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
21276         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
21277         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
21278         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
21279         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
21280         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
21281         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
21282         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
21283         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
21284         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
21285         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
21286         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
21287         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
21288         Moved ...
21289         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
21290         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
21291         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
21292         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
21293         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
21294         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
21295         Moved ...
21296         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
21297         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
21298         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
21299         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
21300         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
21302         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
21303         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
21304         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
21305         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
21306         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
21307         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
21308         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
21309         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
21310         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
21311         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
21312         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
21313         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
21314         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
21315         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
21316         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
21317         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
21318         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
21319         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
21320         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
21321         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
21322         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
21323         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
21324         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
21325         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
21326         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
21327         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
21328         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
21329         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
21331 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
21333         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
21334         (FALLOC_FL_COLLAPSE_RANGE): New macro.
21335         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
21336         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
21337         (IPV6_PMTUDISC_INTERFACE): Likewise.
21338         (IPV6_PMTUDISC_OMIT): Likewise.
21340 2014-06-23  Andreas Schwab  <schwab@suse.de>
21342         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
21343         Remove unused errout label.
21345 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21347         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
21348         macro: hardware supports Vector Crypto instructions.
21350 2014-06-23  Will Newton  <will.newton@linaro.org>
21352         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
21353         rather than __builtin_expect.
21355         * elf/dl-lookup.c (undefined_msg): Remove variable.
21356         (_dl_lookup_symbol_x): Replace undefined_msg with string
21357         literal.
21359         * elf/dl-lookup.c (do_lookup_unique): New function.
21360         (do_lookup_x): Move STB_GNU_UNIQUE handling code
21361         to a separate function.
21363 2014-06-23  Andreas Schwab  <schwab@suse.de>
21365         [BZ #17079]
21366         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
21367         before reading the next line.
21369 2014-06-23  Will Newton  <will.newton@linaro.org>
21371         * test-skeleton.c (signal_handler): Use printf and %m
21372         rather than perror.  Use printf rather than fprintf to
21373         stderr.  Use puts rather than fputs to stderr.
21374         (main): Likewise.
21376 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
21378         * nscd/nscd.c (thread_info_t): Remove typedef.
21379         (thread_info): Remove variable.
21381 2014-06-21  Allan McRae  <allan@archlinux.org>
21383         * NEWS: Mention CVE-2014-4043.
21385 2014-06-20  Roland McGrath  <roland@hack.frob.com>
21387         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
21388         * nptl/smp.h: ... here.
21390         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
21392         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
21393         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
21394         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
21395         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
21397         * nptl/allocatestack.c: Include <stack-aliasing.h>.
21398         * nptl/stack-aliasing.h: New file.
21399         * sysdeps/i386/i686/stack-aliasing.h: New file.
21400         * sysdeps/i386/i686/nptl/Makefile: File removed.
21401         * sysdeps/x86_64/stack-aliasing.h: New file.
21402         * sysdeps/x86_64/nptl/Makefile
21403         (CFLAGS-pthread_create.c): Variable removed.
21405         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
21406         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
21407         old file.
21408         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
21409         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
21410         old file.
21412 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
21414         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21415         (__ASSUME_SIGFRAME_V2): Remove macro.
21416         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
21417         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
21418         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
21419         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
21420         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
21421         Declare as function.  Remove conditional macro definitions.
21422         (__default_rt_sa_restorer): Likewise.
21423         (__default_sa_restorer_v1): Remove declaration.
21424         (__default_sa_restorer_v2): Likewise.
21425         (__default_rt_sa_restorer_v1): Likewise.
21426         (__default_rt_sa_restorer_v2): Likewise.
21427         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
21428         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
21429         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
21431 2014-06-20  Roland McGrath  <roland@hack.frob.com>
21433         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
21434         (libpthread-routines): Add sysdep.
21435         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
21436         * sysdeps/unix/sysv/linux/sparc/Versions
21437         (libpthread: GLIBC_2.3.3): New version set.
21438         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
21439         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
21440         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
21441         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
21442         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
21443         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
21444         Moved ...
21445         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
21446         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
21447         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
21448         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
21449         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
21450         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
21451         * sysdeps/sparc/nptl/sem_init.c: ... here.
21452         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
21453         * sysdeps/sparc/nptl/sem_post.c: ... here.
21454         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
21455         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
21456         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
21457         * sysdeps/sparc/nptl/sem_wait.c: ... here.
21458         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
21459         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
21460         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
21461         (libpthread-routines): Add cpu_relax.
21462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
21463         File removed.
21464         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
21465         (librt: GLIBC_2.3.3): New version set.
21466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
21467         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
21468         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
21469         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
21470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
21471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
21472         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
21473         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
21474         Moved ...
21475         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
21476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
21477         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
21478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
21479         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
21480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
21481         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
21482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
21483         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
21484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
21485         Moved ...
21486         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
21487         Update #include.
21488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
21489         Moved ...
21490         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
21491         Update #include.
21492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
21493         Moved ...
21494         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
21495         Update #include.
21496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
21497         Moved ...
21498         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
21499         Update #include.
21500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
21501         Moved ...
21502         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
21503         Update #include.
21504         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
21505         Moved ...
21506         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
21507         Update #include.
21508         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
21509         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
21510         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
21511         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
21512         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
21513         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
21514         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
21515         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
21516         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
21517         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
21518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21519         Moved ...
21520         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
21521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
21522         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
21523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
21524         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
21526 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
21528         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
21529         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
21530         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
21531         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
21532         * nscd/nscd.c: Likewise.
21533         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
21534         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
21535         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
21536         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
21538         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
21539         <kernel-features.h>.
21540         (init_mq_netlink): Remove conditional have_sock_cloexec
21541         definitions.  Remove code conditional on have_sock_cloexec < 0.
21542         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
21543         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
21544         * sysdeps/unix/sysv/linux/opensock.c: Do not include
21545         <kernel-features.h>.
21546         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
21547         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
21549 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
21551         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21552         Add tests for memset_chk and memset.
21554         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
21555         with AVX2_Usable.
21557 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
21559         [BZ #16046]
21560         * elf/tst-dl-iter-static.c: New file.
21561         * elf/Makefile (tests-static): Add tst-dl-iter-static.
21563         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
21564         error.
21566 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
21568         * sysdeps/unix/sysv/linux/kernel-features.h
21569         (__ASSUME_F_GETOWN_EX): Remove macro.
21570         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
21571         <kernel-features.h>.
21572         (miss_F_GETOWN_EX): Remove variable or macro.
21573         (do_fcntl): Do not check miss_F_GETOWN_EX.
21574         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
21576         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
21577         Remove macro.
21578         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
21579         [!__ASSUME_AT_RANDOM]: Remove conditional code.
21580         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
21582         * sysdeps/unix/sysv/linux/kernel-features.h
21583         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
21584         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
21585         [ADJ_OFFSET_SS_READ]: Make code unconditional.
21586         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
21588 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
21590         [BZ #17075]
21591         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
21592         Fix calculation of the symbol's value.
21593         * sysdeps/arm/tst-armtlsdescloc.c: New file.
21594         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
21595         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
21596         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
21597         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
21598         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
21599         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
21600         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
21601         (modules-names): Add `tst-armtlsdescmod',
21602         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
21603         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
21604         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
21605         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
21606         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
21607         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
21608         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
21609         ($(objpfx)tst-armtlsdescloc): New dependency.
21610         ($(objpfx)tst-armtlsdescextnow): Likewise.
21611         ($(objpfx)tst-armtlsdescextlazy): Likewise.
21612         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
21613         TLS scheme support.
21614         * sysdeps/arm/configure: Regenerate.
21616 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
21618         * include/fcntl.h (__atfct_seterrno): Remove prototype.
21619         (__atfct_seterrno_2): Likewise.
21620         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
21621         <kernel-features.h>.
21622         (__ASSUME_ATFCTS): Do not undefine and redefine.
21623         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
21624         (__have_atfcts): Remove conditional definition.
21625         (__fxstatat([__NR_fstatat64]: Make code unconditional.
21626         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
21627         unreachable if [__ASSUME_ATFCTS].
21628         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
21629         not undefine and redefine.
21630         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
21631         <kernel-features.h>.
21632         (faccessat) [__NR_faccessat]: Make code unconditional.
21633         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
21634         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
21635         <kernel-features.h>.
21636         (fchmodat) [__NR_fchmodat]: Make code unconditional.
21637         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
21638         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
21639         <kernel-features.h>.
21640         (fchownat) [__NR_fchownat]: Make code unconditional.
21641         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
21642         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
21643         <kernel-features.h>.
21644         (futimesat) [__NR_futimesat]: Make code unconditional.
21645         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
21646         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21647         <kernel-features.h>.
21648         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
21649         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
21650         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21651         <kernel-features.h>.
21652         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
21653         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
21654         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
21655         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21656         <kernel-features.h>.
21657         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
21658         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
21659         * sysdeps/unix/sysv/linux/linkat.c: Do not include
21660         <kernel-features.h>.
21661         (linkat) [__NR_linkat]: Make code unconditional.
21662         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
21663         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
21664         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
21665         <kernel-features.h>.
21666         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
21667         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
21668         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
21669         <kernel-features.h>.
21670         (mkdirat) [__NR_mkdirat]: Make code unconditional.
21671         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
21672         * sysdeps/unix/sysv/linux/openat.c: Do not include
21673         <kernel-features.h>.
21674         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
21675         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
21676         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
21677         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
21678         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
21679         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
21680         <kernel-features.h>.
21681         (readlinkat) [__NR_readlinkat]: Make code unconditional.
21682         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
21683         result of INLINE_SYSCALL directly, not via int variable.
21684         * sysdeps/unix/sysv/linux/renameat.c: Do not include
21685         <kernel-features.h>.
21686         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
21687         (renameat) [__NR_renameat]: Make code unconditional.
21688         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
21689         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
21690         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
21691         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
21692         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
21693         (__ASSUME_ATFCTS): Do not undefine and redefine.
21694         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
21695         <kernel-features.h>.
21696         (symlinkat) [__NR_symlinkat]: Make code unconditional.
21697         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
21698         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
21699         <kernel-features.h>.
21700         (unlinkat) [__NR_unlinkat]: Make code unconditional.
21701         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
21702         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
21703         (__ASSUME_ATFCTS): Do not undefine and redefine.
21704         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21705         <kernel-features.h>.
21706         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
21707         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
21708         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21709         <kernel-features.h>.
21710         (__xmknodat) [__NR_mknodat]: Make code unconditional.
21711         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
21713 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
21715         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
21717 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
21719         [BZ #17069]
21720         * posix/regcomp.c (parse_reg_exp): Deallocate partially
21721         constructed tree before returning error.
21722         * posix/bug-regexp36.c: Expand test case.
21724 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
21726         [BZ #6803]
21727         * math/libm-test.inc (scalbln_test_date):
21728         Add errno expectations.
21729         * math/w_scalblnf.c: New File.
21730         Add wrapper which checks for setting errno to ERANGE.
21731         Add weak_alias for corresponding scalbln function.
21732         * math/w_scalbln.c: Likewise.
21733         * math/w_scalblnl.c: Likewise.
21734         * math/Makefile (libm-calls): Add w_scalbln.
21735         * sysdeps/ieee754/flt-32/s_scalblnf.c:
21736         Remove weak_alias for corresponding scalbln function.
21737         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21738         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21739         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21740         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21741         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21742         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
21743         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
21744         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
21745         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
21746         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
21747         Remove long_double_symbol for scalblnl function in libm, libc.
21748         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
21749         Add wrapper which checks for setting errno to ERANGE.
21750         Add long_double_symbol for scalblnl function in libm, libc.
21751         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
21752         Remove long_double_symbol for scalblnl in libm.
21753         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
21754         Add wrapper which checks for setting errno to ERANGE.
21755         Add long_double_symbol for scalblnl function in libm.
21756         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
21757         Do not use wrapper because of own implementation.
21759 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
21761         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
21762         3 bytes for __pad1 for x32.
21763         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
21765 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
21766             H.J. Lu  <hongjiu.lu@intel.com>
21768         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
21769         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
21770         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21771         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21772         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
21774 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
21776         [BZ #17069]
21777         * posix/regcomp.c (parse_expression): Deallocate partially
21778         constructed tree before returning error.
21779         * posix/Makefile.c (tests): Add bug-regex36.
21780         (generated): Add bug-regex36.mtrace.
21781         (tests-special): Add $(objpfx)bug-regex36-mem.out
21782         (bug-regex36-ENV): New variable.
21783         ($(objpfx)bug-regex36-mem.out): New rule.
21784         * posix/bug-regex36.c: New file.
21786 2014-06-19  Will Newton  <will.newton@linaro.org>
21788         * malloc/malloc.c (systrim): If extra is zero then return
21789         early.
21791 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21793         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
21795 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
21797         * sysdeps/aarch64/strchr.S: New file.
21799 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
21801         [BZ #17022]
21802         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
21803         from arguments -2 or below.
21804         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21805         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
21807 2014-06-18  Andreas Schwab  <schwab@suse.de>
21809         [BZ #17062]
21810         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
21811         of a bracket expr not to run off the end of the string.
21812         * posix/Makefile (tests): Add tst-fnmatch3.
21813         * posix/tst-fnmatch3.c: New file.
21815 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
21817         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
21818         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21819         [$(cross-compiling) = no]: Likewise.
21820         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21821         [$(cross-compiling) = no]: Likewise.
21823 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21825         [BZ #17031]
21826         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
21827         double, adjusted for any remainder from the high double.
21828         * math/libm-test.inc (nearbyint): Add tests.
21829         (rint): Likewise.
21831 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21833         * nptl/sysdeps/powerpc/Makefile: Moved ...
21834         * sysdeps/powerpc/nptl/Makefile: ... here.
21835         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
21836         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
21837         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
21838         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
21839         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
21840         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
21841         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
21842         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
21843         * nptl/sysdeps/powerpc/tls.h: Moved ...
21844         * sysdeps/powerpc/nptl/tls.h: ... here.
21846 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
21848         [BZ #16681]
21849         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
21850         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
21851         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
21852         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
21853         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
21854         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
21855         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
21856         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
21857         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
21859 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
21861         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21863 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
21865         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
21866         defined operator.
21868         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
21869         $TIMEOUTFACTOR.
21871 2014-06-16  Florian Weimer  <fweimer@redhat.com>
21873         [BZ #17058]
21874         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
21875         non-executed part of the test.
21877 2014-06-16  Andreas Schwab  <schwab@suse.de>
21879         * string/bits/string2.h (strdup, strndup): Update feature guard.
21881 2014-06-14  David S. Miller  <davem@davemloft.net>
21883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21885 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
21887         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
21888         that was previously under [RESET_PID].
21889         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
21891         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
21892         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
21893         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
21894         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21895         (__libc_vfork): New strong alias.
21896         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
21898 2014-06-14 Andi Kleen  <ak@linux.intel.com>
21900         * sysdeps/generic/elide.h: New file.
21902 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21904         * Makefile (installed-headers): Adjust path of pthread.h header.
21906 2014-06-13  Roland McGrath  <roland@hack.frob.com>
21908         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
21909         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
21910         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
21911         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
21913         * nptl/sysdeps/s390/Makefile: Moved ...
21914         * sysdeps/s390/nptl/Makefile: ... here.
21915         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
21916         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
21917         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
21918         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
21919         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
21920         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
21921         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
21922         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
21923         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
21924         * sysdeps/s390/nptl/pthreaddef.h: ... here.
21925         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
21926         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
21927         * nptl/sysdeps/s390/tls.h: Moved ...
21928         * sysdeps/s390/nptl/tls.h: ... here.
21930         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
21931         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
21933 2014-06-13  David S. Miller  <davem@davemloft.net>
21935         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
21936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
21937         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
21938         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
21939         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
21940         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
21941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
21942         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
21943         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
21944         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
21945         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
21946         Remove RESET_PID cpp guards.
21947         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
21948         Remove RESET_PID cpp guards.
21949         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
21951 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
21953         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
21954         __sp to uintptr_t.
21956 2014-06-13  Andi Kleen  <ak@linux.intel.com>
21958         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
21959         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
21960         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
21961         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
21962         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
21963         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
21964         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
21965         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
21966         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
21967         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
21968         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
21969         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
21970         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
21971         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
21972         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
21973         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
21974         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
21975         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
21976         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
21977         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
21979         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
21980         (pthread_rwlock_rdlock): Add elision.
21981         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
21982         (pthread_rwlock_wrlock): Add elision.
21983         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
21984         (pthread_rwlock_trywrlock): Add elision.
21985         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
21986         (pthread_rwlock_tryrdlock): Add elision.
21987         * nptl/pthread_rwlock_unlock.c: Include elide.h.
21988         (pthread_rwlock_tryrdlock): Add elision unlock.
21989         * nptl/sysdeps/pthread/pthread.h:
21990         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
21991         (PTHREAD_RWLOCK_INITIALIZER,
21992         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
21993         Handle new elision field.
21994         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
21995         * sysdeps/arm/nptl/bits/pthreadtypes.h
21996         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21997         * sysdeps/sh/nptl/bits/pthreadtypes.h
21998         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21999         * sysdeps/tile/nptl/bits/pthreadtypes.h
22000         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22001         * sysdeps/a/nptl/bits/pthreadtypes.h
22002         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22003         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22004         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22005         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22006         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22007         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
22008         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22009         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22010         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22011         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22012         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22013         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22014         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22015         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22016         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22017         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
22018         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22019         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
22020         (elision_init): Set try_xbegin to zero when no RTM.
22021         * sysdeps/x86/nptl/bits/pthreadtypes.h
22022         (pthread_rwlock_t): Change __pad1 to __rwelision.
22023         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22025 2014-06-13  Andi Kleen  <ak@linux.intel.com>
22027         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
22028         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
22029         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
22030         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
22032 2014-06-13  Meador Inge  <meadori@codesourcery.com>
22034         [BZ #16996]
22035         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
22036         that the cached result has been set before returning it.
22038 2014-06-12  Roland McGrath  <roland@hack.frob.com>
22040         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
22041         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
22042         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
22043         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
22044         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
22045         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
22047         * nptl/sysdeps/sparc/Makefile: Moved ...
22048         * sysdeps/sparc/nptl/Makefile: ... here.
22049         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
22050         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
22051         * nptl/sysdeps/sparc/tls.h: Moved ...
22052         * sysdeps/sparc/nptl/tls.h: ... here.
22053         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
22054         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
22055         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
22056         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
22057         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
22058         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
22059         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
22060         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
22061         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
22062         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
22063         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
22064         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
22065         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
22066         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
22067         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
22068         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
22069         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
22070         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
22071         Update #include.
22072         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
22073         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
22074         Update #include.
22075         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
22076         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
22077         Update #include.
22078         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
22079         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
22080         Update #include.
22082         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
22084         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
22085         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
22087         * sysdeps/pthread/posix-timer.h: Include <list.h>.
22088         (struct list_links): Type removed.
22089         (struct thread_node, struct timer_node): Replace struct list_links
22090         with struct list_head.
22091         (list_unlink_ip): Likewise.
22092         * sysdeps/pthread/timer_routines.c
22093         (timer_free_list, thread_free_list, thread_active_list): Likewise.
22094         (list_append, list_insbefore): Likewise.
22095         (list_init): Function removed.
22096         (thread_init, init_module): Use INIT_LIST_HEAD instead.
22097         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
22098         * sysdeps/pthread/Makefile: ... here, new file.
22100         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
22101         * sysdeps/nptl/Implies: ... here.
22102         * sysdeps/unix/sysv/linux/Implies: Add nptl.
22103         * nptl/sysdeps/pthread/list.h: Moved ...
22104         * include/list.h: ... here.
22105         * nptl/sysdeps/pthread/createthread.c: Moved ...
22106         * nptl/createthread.c: ... here.
22107         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
22108         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
22109         * nptl/pt-longjmp.c: ... here.
22110         * nptl/sysdeps/pthread/Makefile: Moved ...
22111         * sysdeps/nptl/Makefile: ... here.
22112         * nptl/sysdeps/pthread/Subdirs: Moved ...
22113         * sysdeps/nptl/Subdirs: ... here.
22114         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
22115         * sysdeps/nptl/aio_misc.h: ... here.
22116         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
22117         * sysdeps/nptl/bits/libc-lock.h: ... here.
22118         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
22119         * sysdeps/nptl/bits/libc-lockP.h: ... here.
22120         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
22121         * sysdeps/nptl/bits/stdio-lock.h: ... here.
22122         * nptl/sysdeps/pthread/configure: Moved ...
22123         * sysdeps/nptl/configure: ... here.
22124         * nptl/sysdeps/pthread/configure.ac: Moved ...
22125         * sysdeps/nptl/configure.ac: ... here.
22126         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
22127         * sysdeps/nptl/gai_misc.h: ... here.
22128         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
22129         * sysdeps/nptl/librt-cancellation.c: ... here.
22130         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
22131         * sysdeps/nptl/malloc-machine.h: ... here.
22132         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
22133         * sysdeps/nptl/pthread-functions.h: ... here.
22134         * nptl/sysdeps/pthread/pthread.h: Moved ...
22135         * sysdeps/nptl/pthread.h: ... here.
22136         * nptl/sysdeps/pthread/setxid.h: Moved ...
22137         * sysdeps/nptl/setxid.h: ... here.
22138         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
22139         * sysdeps/nptl/sigfillset.c: ... here.
22140         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
22141         * sysdeps/nptl/tcb-offsets.h: ... here.
22142         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
22143         * sysdeps/nptl/tst-mqueue8x.c: ... here.
22144         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
22145         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
22146         * nptl/sysdeps/pthread/allocalim.h: Moved ...
22147         * sysdeps/pthread/allocalim.h: ... here.
22148         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
22149         * sysdeps/pthread/bits/sigthread.h: ... here.
22150         * nptl/sysdeps/pthread/flockfile.c: Moved ...
22151         * sysdeps/pthread/flockfile.c: ... here.
22152         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
22153         * sysdeps/pthread/ftrylockfile.c: ... here.
22154         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
22155         * sysdeps/pthread/funlockfile.c: ... here.
22156         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
22157         * sysdeps/pthread/posix-timer.h: ... here.
22158         * nptl/sysdeps/pthread/timer_create.c: Moved ...
22159         * sysdeps/pthread/timer_create.c: ... here.
22160         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
22161         * sysdeps/pthread/timer_delete.c: ... here.
22162         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
22163         * sysdeps/pthread/timer_getoverr.c: ... here.
22164         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
22165         * sysdeps/pthread/timer_gettime.c: ... here.
22166         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
22167         * sysdeps/pthread/timer_routines.c: ... here.
22168         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
22169         * sysdeps/pthread/timer_settime.c: ... here.
22170         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
22171         * sysdeps/pthread/tst-timer.c: ... here.
22172         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
22173         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
22175         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
22176         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
22178         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
22179         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
22180         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
22181         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
22182         Update #include target.
22183         * nptl/sysdeps/i386/i686/Makefile: Moved ...
22184         * sysdeps/i386/i686/nptl/Makefile: ... here.
22185         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
22186         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
22187         Update #include target.
22188         * nptl/sysdeps/i386/i686/tls.h: Moved ...
22189         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
22190         * nptl/sysdeps/i386/Makefile: Moved ...
22191         * sysdeps/i386/nptl/Makefile: ... here.
22192         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
22193         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
22194         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
22195         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
22196         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
22197         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
22198         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
22199         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
22200         * sysdeps/i386/nptl/pthreaddef.h: ... here.
22201         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
22202         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
22203         * nptl/sysdeps/i386/tls.h: Moved ...
22204         * sysdeps/i386/nptl/tls.h: ... here.
22206         * sysdeps/sh/Makefile [$(subdir) = csu]
22207         (gen-as-const-headers): Add tcb-offsets.sym.
22208         * nptl/sysdeps/sh/Makefile: File removed.
22209         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
22210         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
22211         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
22212         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
22213         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
22214         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
22215         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
22216         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
22217         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
22218         * sysdeps/sh/nptl/pthreaddef.h: ... here.
22219         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
22220         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
22221         * nptl/sysdeps/sh/tls.h: Moved ...
22222         * sysdeps/sh/nptl/tls.h: ... here.
22223         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
22224         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
22225         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
22226         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
22227         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
22228         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
22229         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
22230         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
22231         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
22232         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
22233         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
22234         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
22235         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
22236         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
22237         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
22238         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
22239         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
22240         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
22241         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
22242         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
22243         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
22244         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
22245         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
22246         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
22247         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
22248         Moved ...
22249         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
22250         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
22251         Moved ...
22252         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
22253         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
22254         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
22255         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
22256         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
22257         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
22258         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
22259         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
22260         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
22261         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
22262         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
22263         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
22264         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
22265         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
22266         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
22267         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
22268         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
22269         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
22270         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
22272 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22274         * posix/spawn_faction_addopen.c: Include string.h.
22276 2014-06-11  Roland McGrath  <roland@hack.frob.com>
22278         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
22279         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
22280         * nptl/sysdeps/x86_64/Makefile: Moved ...
22281         * sysdeps/x86_64/nptl/Makefile: ... here.
22282         * nptl/sysdeps/x86_64/configure: Moved ...
22283         * sysdeps/x86_64/nptl/configure: ... here.
22284         * nptl/sysdeps/x86_64/configure.ac: Moved ...
22285         * sysdeps/x86_64/nptl/configure.ac: ... here.
22286         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
22287         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
22288         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
22289         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
22290         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
22291         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
22292         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
22293         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
22294         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
22295         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
22296         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
22297         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
22298         * nptl/sysdeps/x86_64/tls.h: Moved ...
22299         * sysdeps/x86_64/nptl/tls.h: ... here.
22300         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
22301         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
22302         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
22303         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
22305         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
22307 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22311 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
22313         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
22314         type.
22315         [POSIX] (off_t): Likewise.
22316         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
22317         [POSIX] (S_ISBLK): Require macro.
22318         [POSIX] (S_ISCHR): Likewise.
22319         [POSIX] (S_ISDIR): Likewise.
22320         [POSIX] (S_ISFIFO): Likewise.
22321         [POSIX] (S_ISREG): Likewise.
22322         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
22323         optional-macro.
22324         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
22325         type.
22326         [POSIX] (time_t): Likewise.
22327         [POSIX] (timer_t): Likewise.
22329 2014-06-11  Florian Weimer  <fweimer@redhat.com>
22331         [BZ #17048]
22332         * posix/spawn_int.h (struct __spawn_action): Make the path string
22333         non-const to support deallocation.
22334         * posix/spawn_faction_addopen.c
22335         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
22336         * posix/spawn_faction_destroy.c
22337         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
22338         path in all spawn_do_open actions.
22339         * posix/tst-spawn.c (do_test): Exercise the copy operation in
22340         posix_spawn_file_actions_addopen.
22342 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
22344         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
22345         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
22346         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
22347         conditional code always true.
22348         (__libc_vfork): New alias.
22350 2014-06-11  Roland McGrath  <roland@hack.frob.com>
22352         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22353         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
22355         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
22357         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22358         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
22360         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
22361         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
22363         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22364         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
22366 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22368         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
22369         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
22370         multiarch strcmp for PPC64.
22371         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
22372         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
22373         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
22374         multiarch optimizations.
22375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22376         (__libc_ifunc_impl_list): Likewise.
22378 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22380         * benchtests/scripts/validate_benchout.py: New script.
22381         * benchtests/Makefile (bench-func): Call it.
22382         * benchtests/scripts/benchout.schema.json: New file.
22384 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
22386         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
22387         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
22388         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
22389         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
22390         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
22391         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
22392         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
22393         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
22394         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
22395         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
22396         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
22397         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
22398         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
22399         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
22400         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
22401         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
22402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
22403         Moved ...
22404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
22405         ... here.
22406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
22407         Moved ...
22408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
22409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
22410         Moved ...
22411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
22412         ... here.
22413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
22414         Moved ...
22415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
22416         ... here.
22417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
22418         Moved ...
22419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
22420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
22421         Moved ...
22422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
22423         ... here.
22424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
22425         Moved ...
22426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
22427         ... here.
22428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
22429         Moved ...
22430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
22431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
22432         Moved ...
22433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
22434         ... here.
22435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
22436         Moved ...
22437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
22438         ... here.
22439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
22440         Moved ...
22441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
22442         ... here.
22443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
22444         Moved ...
22445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
22446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
22447         Moved ...
22448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
22449         ... here.
22450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
22451         Moved ...
22452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
22453         ... here.
22454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
22455         Moved ...
22456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
22457         ... here.
22458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
22459         Moved ...
22460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
22461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
22462         Moved ...
22463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
22464         ... here.
22465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
22466         Moved ...
22467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
22468         ... here.
22469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
22470         Moved ...
22471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
22472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
22473         Moved ...
22474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
22475         ... here.
22476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
22477         Moved ...
22478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
22479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
22480         Moved ...
22481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
22482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
22483         Moved ...
22484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
22485         ... here.
22486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
22487         Moved ...
22488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
22489         ... here.
22490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
22491         Moved ...
22492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
22493         ... here.
22494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
22495         Moved ...
22496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
22497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
22498         Moved ...
22499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
22500         ... here.
22501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
22502         Moved ...
22503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
22504         ... here.
22505         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
22506         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
22507         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
22508         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
22509         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
22510         Moved ...
22511         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
22512         ... here.
22513         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
22514         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
22515         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
22516         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
22517         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
22518         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
22519         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
22520         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
22521         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
22522         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
22523         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
22524         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
22525         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
22526         Moved ...
22527         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
22528         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
22529         Moved ...
22530         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
22531         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
22532         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
22533         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
22534         Moved ...
22535         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
22536         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
22537         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
22538         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
22539         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
22540         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
22541         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
22543 2014-06-10  Wilco  <wdijkstr@arm.com>
22545         * math/test-fenv-return.c: New file.
22546         * math/Makefile: Add new test test-fenv-return.
22548 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
22550         [BZ #17042]
22551         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
22552         when x - 1 is zero.
22553         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
22554         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
22555         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
22556         0.0L for an argument of 1.0L.
22557         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
22558         Likewise.
22559         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
22560         value when x - 1 is zero.
22561         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
22562         * sysdeps/i386/fpu/libm-test-ulps: Update.
22563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22565 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
22567         [BZ #15119]
22568         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
22570 2014-06-09  Roland McGrath  <roland@hack.frob.com>
22572         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
22573         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
22575 2014-06-09  Roland McGrath  <roland@hack.frob.com>
22577         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22578         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
22580         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22581         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
22583         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22584         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
22586         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22587         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
22589         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
22590         if not already defined.
22591         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
22592         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
22593         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
22594         (TLS_INIT_TP): Use it.
22595         (TLS_DEFINE_INIT_TP): New macro.
22596         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
22598 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
22600         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
22601         constant.
22602         [POSIX] (IXANY): Likewise.
22603         [POSIX] (OLCUC): Likewise.
22604         [POSIX || POSIX2008] (CBAUD): Do not allow.
22605         [POSIX || POSIX2008] (DEFECHO): Likewise.
22606         [POSIX || POSIX2008] (ECHOCTL): Likewise.
22607         [POSIX || POSIX2008] (ECHOKE): Likewise.
22608         [POSIX || POSIX2008] (ECHOPRT): Likewise.
22609         [POSIX || POSIX2008] (EXTA): Likewise.
22610         [POSIX || POSIX2008] (EXTB): Likewise.
22611         [POSIX || POSIX2008] (FLUSHO): Likewise.
22612         [POSIX || POSIX2008] (LOBLK): Likewise.
22613         [POSIX || POSIX2008] (PENDIN): Likewise.
22614         [POSIX || POSIX2008] (SWTCH): Likewise.
22615         [POSIX || POSIX2008] (VDISCARD): Likewise.
22616         [POSIX || POSIX2008] (VDSUSP): Likewise.
22617         [POSIX || POSIX2008] (VLNEXT): Likewise.
22618         [POSIX || POSIX2008] (VREPRINT): Likewise.
22619         [POSIX || POSIX2008] (VSTATUS): Likewise.
22620         [POSIX || POSIX2008] (VWERASE): Likewise.
22621         (B*): Change to B[0123456789]*.
22622         * conform/data/time.h-data [POSIX || UNIX98]
22623         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
22624         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22625         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
22626         [POSIX] (tm_*): Do not allow.
22628 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
22630         * Makefile (install): Don't set LANGUAGE.
22631         * Makefile.in (install): Likewise.
22632         * assert/Makefile (test-assert-ENV): Remove variable.
22633         (test-assert-perr-ENV): Likewise.
22634         * elf/Makefile (neededtest4-ENV): Likewise.
22635         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
22636         [$(cross-compiling) = no]: Don't set LANGUAGE.
22637         * io/ftwtest-sh (LANG): Remove variable.
22638         * libio/Makefile (tst-widetext-ENV): Likewise.
22639         * manual/install.texi (Running make install): Don't refer to
22640         environment settings for make install.
22641         * INSTALL: Regenerated.
22642         * nptl/tst-tls6.sh: Don't set LANG.
22643         * posix/globtest.sh (LANG): Remove variable.
22644         * string/Makefile (tester-ENV): Likewise.
22645         (inl-tester-ENV): Likewise.
22646         (noinl-tester-ENV): Likewise.
22647         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
22648         [$(cross-compiling) = no]: Don't set LANGUAGE.
22649         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
22650         without explicit environment settings.
22652 2014-06-06  Roland McGrath  <roland@hack.frob.com>
22654         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
22655         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
22656         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
22657         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
22659 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
22661         * crypt/crypt-private.h [DOS]: Add some includes taken from the
22662         other files in the crypt directory.
22663         * crypt/crypt.c: Remove duplicate includes.
22664         * crypt/crypt-entry.c: Likewise.
22665         * crypt/crypt_util.c: Likewise.
22667 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
22669         * Makeconfig (run-program-env): New variable.
22670         (run-program-prefix-before-env): Likewise.
22671         (run-program-prefix-after-env): Likewise.
22672         (run-program-prefix): Define in terms of new variables.
22673         (built-program-cmd-before-env): New variable.
22674         (built-program-cmd-after-env): Likewise.
22675         (built-program-cmd): Define in terms of new variables.
22676         (test-program-prefix-before-env): New variable.
22677         (test-program-prefix-after-env): Likewise.
22678         (test-program-prefix): Define in terms of new variables.
22679         (test-program-cmd-before-env): New variable.
22680         (test-program-cmd-after-env): Likewise.
22681         (test-program-cmd): Define in terms of new variables.
22682         * Rules (make-test-out): Use $(run-program-env).
22683         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
22684         (help): Do not mention environment variables.  Mention
22685         --timeoutfactor option.
22686         (timeoutfactor): New variable.
22687         (blacklist_exports): Remove function.
22688         (exports): Remove variable.
22689         (command): Do not include ${exports}.
22690         * manual/install.texi (Configuring and compiling): Do not mention
22691         test wrappers preserving environment variables.  Mention that last
22692         assignment to a variable must take precedence.
22693         * INSTALL: Regenerated.
22694         * benchtests/Makefile (run-bench): Use $(run-program-env).
22695         * catgets/Makefile ($(objpfx)test1.cat): Use
22696         $(built-program-cmd-before-env), $(run-program-env) and
22697         $(built-program-cmd-after-env).
22698         ($(objpfx)test2.cat): Do not specify environment variables
22699         explicitly.
22700         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
22701         $(run-program-env) and $(built-program-cmd-after-env).
22702         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
22703         $(run-program-env) and $(test-program-cmd-after-env).
22704         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
22705         explicitly.
22706         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
22707         run_program_env and test_program_cmd_after_env arguments.
22708         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
22709         * elf/tst-pathopt.sh: Use run_program_env argument.
22710         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
22711         $(test-wrapper-env) and $(run-program-env).
22712         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
22713         run_program_env arguments.
22714         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
22715         * intl/Makefile ($(objpfx)tst-gettext.out): Use
22716         $(test-program-prefix-before-env), $(run-program-env) and
22717         $(test-program-prefix-after-env).
22718         ($(objpfx)tst-gettext2.out): Likewise.
22719         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
22720         run_program_env and test_program_prefix_after_env arguments.
22721         * intl/tst-gettext2.sh: Likewise.
22722         * intl/tst-gettext4.sh: Do not set environment variables
22723         explicitly.
22724         * intl/tst-gettext6.sh: Likewise.
22725         * intl/tst-translit.sh: Likewise.
22726         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
22727         $(test-program-prefix-before-env), $(run-program-env) and
22728         $(test-program-prefix-after-env).
22729         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
22730         run_program_env and test_program_prefix_after_env arguments.
22731         * math/Makefile (run-regen-ulps): Use $(run-program-env).
22732         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
22733         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
22734         explicitly with each use of ${test_wrapper_env}.
22735         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
22736         $(test-program-prefix-before-env), $(run-program-env) and
22737         $(test-program-prefix-after-env).
22738         * posix/tst-getconf.sh: Do not set environment variables
22739         explicitly.
22740         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
22741         run_program_env and test_program_prefix_after_env arguments.
22742         * stdio-common/tst-printf.sh: Do not set environment variables
22743         explicitly.
22744         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
22745         $(test-program-prefix-before-env), $(run-program-env) and
22746         $(test-program-prefix-after-env).
22747         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
22748         run_program_env and test_program_prefix_after_env arguments.
22749         Split $test calls into $test_pre and $test.
22750         * timezone/Makefile (build-testdata): Use
22751         $(built-program-cmd-before-env), $(run-program-env) and
22752         $(built-program-cmd-after-env).
22754 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22756         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
22757         strlen for non SHARED builds.
22759 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22761         * nptl/allocatestack.c (check_list): Inlined function...
22762         (__reclaim_stacks): ... here.
22764 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
22766         [BZ #15698]
22767         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
22768         memory overrun.
22770 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
22772         * Rules (make-test-out): Include
22773         LOCPATH=$(common-objpfx)localedata in default environment.
22774         * debug/Makefile (tst-chk1-ENV): Remove variable.
22775         (tst-chk2-ENV): Likewise.
22776         (tst-chk3-ENV): Likewise.
22777         (tst-chk4-ENV): Likewise.
22778         (tst-chk5-ENV): Likewise.
22779         (tst-chk6-ENV): Likewise.
22780         (tst-lfschk1-ENV): Likewise.
22781         (tst-lfschk2-ENV): Likewise.
22782         (tst-lfschk3-ENV): Likewise.
22783         (tst-lfschk4-ENV): Likewise.
22784         (tst-lfschk5-ENV): Likewise.
22785         (tst-lfschk6-ENV): Likewise.
22786         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
22787         (tst-iconv7-ENV): Likewise.
22788         * intl/Makefile (LOCPATH-ENV): Likewise.
22789         (tst-codeset-ENV): Likewise.
22790         (tst-gettext3-ENV): Likewise.
22791         (tst-gettext5-ENV): Likewise.
22792         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
22793         (tst-fopenloc-ENV): Likewise.
22794         (tst-fgetws-ENV): Remove variable.
22795         (tst-ungetwc1-ENV): Likewise.
22796         (tst-ungetwc2-ENV): Likewise.
22797         (bug-ungetwc2-ENV): Likewise.
22798         (tst-swscanf-ENV): Likewise.
22799         (bug-ftell-ENV): Likewise.
22800         (tst-fgetwc-ENV): Likewise.
22801         (tst-fseek-ENV): Likewise.
22802         (tst-ftell-partial-wide-ENV): Likewise.
22803         (tst-ftell-active-handler-ENV): Likewise.
22804         (tst-ftell-append-ENV): Likewise.
22805         * posix/Makefile (tst-fnmatch-ENV): Likewise.
22806         (tst-regexloc-ENV): Likewise.
22807         (bug-regex1-ENV): Likewise.
22808         (tst-regex-ENV): Likewise.
22809         (tst-regex2-ENV): Likewise.
22810         (bug-regex5-ENV): Likewise.
22811         (bug-regex6-ENV): Likewise.
22812         (bug-regex17-ENV): Likewise.
22813         (bug-regex18-ENV): Likewise.
22814         (bug-regex19-ENV): Likewise.
22815         (bug-regex20-ENV): Likewise.
22816         (bug-regex22-ENV): Likewise.
22817         (bug-regex23-ENV): Likewise.
22818         (bug-regex25-ENV): Likewise.
22819         (bug-regex26-ENV): Likewise.
22820         (bug-regex30-ENV): Likewise.
22821         (bug-regex32-ENV): Likewise.
22822         (bug-regex33-ENV): Likewise.
22823         (bug-regex34-ENV): Likewise.
22824         (bug-regex35-ENV): Likewise.
22825         (tst-rxspencer-ENV): Likewise.
22826         (tst-rxspencer-no-utf8-ENV): Likewise.
22827         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
22828         (tst-sscanf-ENV): Likewise.
22829         (tst-swprintf-ENV): Likewise.
22830         (tst-swscanf-ENV): Likewise.
22831         (test-vfprintf-ENV): Likewise.
22832         (scanf13-ENV): Likewise.
22833         (bug14-ENV): Likewise.
22834         (tst-grouping-ENV): Likewise.
22835         * stdlib/Makefile (tst-strtod-ENV): Likewise.
22836         (tst-strtod3-ENV): Likewise.
22837         (tst-strtod4-ENV): Likewise.
22838         (tst-strtod5-ENV): Likewise.
22839         (testmb2-ENV): Likewise./
22840         * string/Makefile (tst-strxfrm-ENV): Likewise.
22841         (tst-strxfrm2-ENV): Likewise.
22842         (bug-strcoll1-ENV): Likewise.
22843         (test-strcasecmp-ENV): Likewise.
22844         (test-strncasecmp-ENV): Likewise.
22845         * time/Makefile (tst-strptime-ENV): Likewise.
22846         (tst-ftime_l-ENV): Likewise.
22847         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
22848         (tst-mbrtowc-ENV): Likewise.
22849         (tst-wcrtomb-ENV): Likewise.
22850         (tst-mbrtowc2-ENV): Likewise.
22851         (tst-c16c32-1-ENV): Likewise.
22852         (tst-mbsnrtowcs-ENV): Likewise.
22854 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
22856         * manual/resource.texi (How to get information about the memory
22857         subsystem?): Fix typo.
22858         Reported by Peon de la Parra Ivan <peon@keba.com>
22860 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
22862         [BZ #16882]
22863         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
22864         (pthread_spin_lock): Branch out of spin loop to proper location.
22865         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
22866         (pthread_spin_lock): Likewise.
22868         * nptl/tst-spin4.c: New test.
22869         * nptl/Makefile (tests): Add tst-spin4.
22871 2014-06-03  Andreas Schwab  <schwab@suse.de>
22873         [BZ #15946]
22874         * resolv/res_send.c (send_dg): Reload file descriptor after
22875         calling reopen.
22877 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
22879         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22881 2014-06-03  Richard Henderson  <rth@redhat.com>
22883         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
22884         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
22885         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
22886         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
22887         in the SAVE_PID block.
22888         (__libc_vfork): New alias.
22889         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
22891         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
22892         child in registers, not on the stack.  Remove RESET_PID conditionals.
22893         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
22895 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22897         * sysdeps/aarch64/libm-test-ulps: Regenerate.
22899 2014-06-03  Wilco  <wdijkstr@arm.com>
22901         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
22902         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
22903         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
22904         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
22905         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
22906         Likewise.
22908 2014-06-03  Wilco  <wdijkstr@arm.com>
22910         * sysdeps/aarch64/fpu/math_private.h
22911         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
22912         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
22913         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
22914         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
22915         Fix declarations.
22917 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22919         * crypt/crypt-private.h: Include ufc-crypt.h.
22920         (__b64_from_24bit): Declare extern.
22921         * crypt/crypt_util.c(__b64_from_24bit): New function.
22922         (b64t): New static const variable.
22923         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
22924         (b64t): Remove variable.
22925         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
22926         * crypt/sha256-crypt.c: Include crypt-private.h.
22927         (b64t): Remove variable.
22928         (__sha256_crypt_r): Remove b64_from_24bit and replace
22929         with __b64_from_24bit.
22930         * crypt/sha512-crypt.c: Likewise.
22932 2014-06-02  Roland McGrath  <roland@hack.frob.com>
22934         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
22935         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
22936         Label the code __libc_vfork rather than __vfork.
22937         [!NOT_IN_libc] (vfork): Define as weak alias.
22938         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
22939         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
22940         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
22942 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22944         * malloc/malloc.c (malloc_info): Fix format specifier for
22945         n_mmaps.
22947 2014-06-02  Wilco  <wdijkstr@arm.com>
22949         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
22950         FPCR write.
22952 2014-06-02  Wilco  <wdijkstr@arm.com>
22954         [BZ #17009]
22955         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
22956         Rewrite to reduce FPCR/FPSR accesses.
22958 2014-06-01  David S. Miller  <davem@davemloft.net>
22960         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22962 2014-05-31  David S. Miller  <davem@davemloft.net>
22964         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
22965         to occur in round to nearest mode when |x| >= 2.0
22967 2014-05-30  Richard Henderson  <rth@twiddle.net>
22969         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
22970         (PSEUDO_RET_NOERRNO): Remove.
22971         (ret): Don't redefine.
22972         (ret_NOERRNO): Define in terms of ret.
22973         (ret_ERRVAL): Likewise.
22975         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
22976         use of PSEUDO_RET; perform the error check directly.
22978 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
22980         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
22981         with __int128_t.
22983 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22985         * malloc/malloc (malloc_info): Fix formatting.
22987 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22988             Roland McGrath  <roland@hack.frob.com>
22990         * malloc/malloc (malloc_info): Also print mmapped statistics.
22992 2014-05-30  Roland McGrath  <roland@hack.frob.com>
22994         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
22995         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
22997 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
22999         * malloc/malloc.c (malloc_info): Inline mi_arena.
23001 2014-05-29  Richard Henderson  <rth@twiddle.net>
23003         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
23004         Remove comma before expanding ASM_ARGS_##nr.
23005         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
23006         Make _x0 a strict output; make _x8 a strict input; adjust expansion
23007         of ASM_ARGS_##nr.
23008         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
23009         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
23010         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
23011         (ASM_ARGS_1): Add leading comma.
23013         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
23014         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
23015         to __errno_location.
23016         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
23017         Remove the expected plt for __errno_location.
23019         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23020         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
23021         call to __read_tp.
23023         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23024         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
23025         it and break it down.
23026         (DOCARGS_0, DOCARGS_1): Do nothing.
23027         (DOCARGS_2): Update to store into the new stack frame.
23028         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
23029         (UNDOCARGS_1): Update to restore from the new stack frame.
23030         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
23031         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
23033         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23034         (SINGLE_THREAD_P): New parameter for result regno.
23035         (PSEUDO): Update to match; use cbz instead of beq.
23037         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23038         Use ENTRY to define the _nocancel entry point.  Share the syscall
23039         and syscall error check paths with the cancel path.
23040         (PSEUDO_END): New.
23042         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
23043         whitespace; tabs before and after asm mnemonics.
23045 2014-05-29  Eric Wong  <normalperson@yhbt.net>
23047         [BZ #15132]
23048         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23049         Call fstat64 or stat64 internally, depending on arguments passed.
23050         Replace stat buffer argument with file descriptor argument.
23051         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
23052         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
23053         Pass fd to __internal_statvfs instead of calling fstat64.
23054         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
23055         Pass fd to __internal_statvfs64 instead of calling fstat64.
23056         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
23057         Pass -1 to __internal_statvfs instead of calling stat64.
23058         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
23059         Pass -1 to __internal_statvfs64 instead of calling stat64.
23061 2014-05-28  Roland McGrath  <roland@hack.frob.com>
23063         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
23064         that was previously under [RESET_PID].
23065         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
23067         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
23068         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
23070 2014-05-27  Roland McGrath  <roland@hack.frob.com>
23072         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
23074         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
23075         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
23077 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
23079         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
23081 2014-05-27  Andreas Schwab  <schwab@suse.de>
23083         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
23084         TLS_INIT_TP macro.
23085         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
23086         * elf/rtld.c (init_tls, dl_main): Likewise.
23087         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
23088         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
23089         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
23090         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
23091         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
23092         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
23093         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
23094         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
23095         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
23096         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
23097         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
23098         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
23099         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
23100         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
23101         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
23102         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
23103         * sysdeps/generic/tls.h: Update description.
23105 2014-05-27  Will Newton  <will.newton@linaro.org>
23107         [BZ #16990]
23108         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
23109         and restore r2 rather than just restoring.
23111 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23113         [BZ #16724]
23114         * libio/tst-ftell-append.c: New test case.
23115         * libio/Makefile (tests): Add test case.
23116         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
23117         append mode.
23118         * libio/wfileops.c (do_ftell_wide): Likewise.
23120 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23124         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
23125         ...
23126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
23127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23128         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
23129         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
23130         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
23131         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
23132         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
23133         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
23134         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
23135         Moved ...
23136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
23137         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
23138         Moved ...
23139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
23140         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
23141         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
23142         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
23143         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
23144         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
23145         ...
23146         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
23147         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
23148         Moved ...
23149         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
23150         here.
23151         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
23152         ...
23153         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
23154         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
23155         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
23157         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
23158         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
23159         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
23160         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
23162         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
23163         merge into ...
23164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
23165         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
23166         ...
23167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
23168         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
23169         ...
23170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
23171         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
23172         Moved ...
23173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
23174         here.
23175         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
23176         Moved ...
23177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
23178         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
23179         Moved ...
23180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
23182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
23183         conditional [RESET_PID].
23184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
23185         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
23186         removed.
23187         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
23188         removed.
23190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
23191         <tcb-offsets.h>.
23192         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
23193         (__libc_vfork): New strong alias.
23194         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
23195         removed.
23196         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
23197         Removed.
23199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
23200         <tcb-offsets.h>.
23201         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
23202         (__libc_vfork): New strong alias.
23203         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
23204         removed.
23205         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
23206         removed.
23208 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
23210         * malloc/malloc.c (mi_arena): New function.
23211         (malloc_info): Remove nested function mi_arena. Call non-nosted
23212         function mi_arena.
23214 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23216         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
23217         by insrwi.
23218         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
23219         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
23220         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
23221         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
23222         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
23223         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
23224         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
23226 2014-05-26  Andreas Schwab  <schwab@suse.de>
23228         [BZ #16984]
23229         * locale/programs/repertoire.c (repertoire_read): Add slash
23230         between I18NPATH element and file name.
23231         * locale/programs/locfile.c (locfile_read): Likewise.
23233 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23235         * nptl/pthread_mutexattr_settype.c
23236         (__pthread_mutexattr_settype):
23237         Disable lock elision for PTHREAD_MUTEX_NORMAL.
23239 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23241         * nptl/tst-mutex5 (do_test):
23242         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
23244 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23246         * benchtests/README: Document 'init' directive.
23247         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
23248         BENCH_INIT.
23249         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
23250         (parse_file): Recognize 'init' directive.
23252 2014-05-26  Kyle McMartin  <kyle@redhat.com>
23254         [BZ #16796]
23255         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
23256         alignment of struct pthread.
23258 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23260         [BZ #16878]
23261         * nscd/netgroupcache.c (addgetnetgrentX): Look for
23262         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
23263         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
23264         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
23266 2014-05-25  Richard Henderson  <rth@twiddle.net>
23268         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23269         (SINGLE_THREAD_P_PIC): Remove.
23270         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
23271         (SINGLE_THREAD_P_PIC): Remove.
23273         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
23274         branch to syscall error ...
23275         (PSEUDO): ... here.
23276         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
23277         from __local_syscall_error to .Lsyscall_error.
23278         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
23279         (SYSCALL_ERROR): Update label name.
23281         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23282         Do not use DOARGS/UNDOARGS.
23283         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
23284         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
23285         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
23286         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
23287         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
23289         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
23290         block comment.
23292         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
23293         define if !NOT_IN_libc.
23294         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
23295         define with non-default symbol versions.
23297 2014-05-23  Richard Henderson  <rth@twiddle.net>
23299         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
23300         (vfork, __vfork): Define via compat_symbol.
23302         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
23303         [!HAVE_IFUNC] (vfork_compat): Remove.
23304         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
23306 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
23308         [BZ #16978]
23309         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
23310         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
23311         variable.
23313 2014-05-23  Richard Henderson  <rth@twiddle.net>
23315         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
23316         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
23317         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
23318         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
23320         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
23321         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
23322         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
23323         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
23324         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
23325         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
23326         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
23327         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
23328         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
23329         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
23330         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
23331         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
23332         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
23333         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
23334         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
23335         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
23336         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
23337         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
23338         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
23339         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
23340         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
23341         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
23342         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
23343         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
23344         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
23345         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
23346         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
23347         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
23348         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
23349         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
23350         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
23351         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
23352         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
23353         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
23354         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
23355         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
23356         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
23357         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
23358         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
23359         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
23360         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
23361         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
23362         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
23363         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
23364         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
23365         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
23366         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
23367         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
23368         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
23369         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
23370         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
23371         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
23372         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
23373         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
23374         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
23375         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
23377         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
23378         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
23379         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
23380         before exiting on error.
23381         (__libc_vfork): New strong alias.
23382         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
23383         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
23385         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
23386         that was previously under [RESET_PID].
23387         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
23389         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
23391 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
23393         [BZ #16977]
23394         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
23395         value when x - 1 is zero.
23396         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
23397         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
23398         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
23399         0.0L for an argument of 1.0L.
23400         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
23401         Likewise.
23402         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
23403         value when x - 1 is zero.
23404         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
23405         * sysdeps/i386/fpu/libm-test-ulps: Update.
23406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23408 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23410         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
23411         alphasort and versionsort.
23413 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23415         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
23416         macro.
23417         [copysignf]: Likewise.
23419 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23421         * crypt/md5-crypt.c: Fix formatting.
23423 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23425         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
23426         (b64_from_24bit): New function.
23428 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23430         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
23431         libc_hidden_builtin_def to ifunc.
23432         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
23433         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
23435 2014-05-21  Roland McGrath  <roland@hack.frob.com>
23437         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
23438         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
23440 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
23442         * nscd/Depend (linuxthreads): Remove.
23443         (nptl): Add.
23444         * resolv/Depend (linuxthreads): Remove.
23445         * rt/Depend (linuxthreads): Remove.
23447         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
23448         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
23449         $(common-objpfx)elf/.
23450         (link-libc-before-gnulib): Likewise.
23451         (elfobjdir): Remove variable.
23452         * Makefile (install): Use $(elf-objpfx) instead of
23453         $(common-objpfx)elf/.
23454         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
23455         $(elfobjdir)/.
23456         (link-libc-deps): Likewise.
23457         ($(common-objpfx)libc.so): Likewise.
23458         ($(common-objpfx)linkobj/libc.so): Likewise.
23459         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
23460         instead of $(common-objpfx)elf/.
23461         (symbolic-link-list): Likewise.
23462         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23463         [$(cross-compiling) = no]: Likewise.
23464         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
23465         $(elfobjdir)/.
23466         (static-gnulib-arch): Likewise.
23467         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23468         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
23469         $(common-objpfx)elf/.
23471 2014-05-21  Richard Henderson  <rth@redhat.com>
23473         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23474         (SINGLE_THREAD_P): Use the correct width load.  Fold
23475         into the ldr offset.
23477         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
23478         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
23480 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
23482         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
23483         (libgcc_s_resume): Use __attribute_used__.
23484         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
23485         Likewise.
23487 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23489         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
23490         optimization when used with float constants.
23492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23494 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
23496         [BZ #16915]
23497         * locale/nl_langinfo_l.c: Make direct reference to every
23498         _nl_current_CATEGORY symbol.
23499         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
23500         (tests-static): Add tst-langinfo-static.
23501         (tests-special): Add tst-langinfo-static.out.
23502         ($(objpfx)tst-langinfo.out): Redirect output.
23503         ($(objpfx)tst-langinfo-static.out): New.
23504         * localedata/tst-langinfo.sh: Send output to stdout.
23505         * localedata/tst-langinfo-static.c: New file.
23507         [BZ #16965]
23508         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
23509         when the shift amount is modulo the limb size.
23511 2014-05-20  Richard Henderson  <rth@redhat.com>
23513         [BZ #16967]
23514         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
23515         Change type of sa_flags from unsigned int to int.
23517         [BZ #16966]
23518         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
23520         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
23522 2014-05-20  Will Newton  <will.newton@linaro.org>
23524         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23525         Test the return value of the system call in the nocancel case.
23527 2014-05-20  Will Newton  <will.newton@linaro.org>
23528             Yvan Roux  <yvan.roux@linaro.org>
23530         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
23531         #include of asm/ptrace.h.
23532         (PTRACE_GET_THREAD_AREA): Remove #undef.
23533         (PTRACE_GETHBPREGS): Likewise.
23534         (PTRACE_SETHBPREGS): Likewise.
23535         (struct user_regs_struct): New structure.
23536         (struct user_fpsimd_struct): New structure.
23537         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
23538         #include of asm/ptrace.h and second #include of sys/user.h.
23539         (PTRACE_GET_THREAD_AREA): Remove #undef.
23540         (PTRACE_GETHBPREGS): Likewise.
23541         (PTRACE_SETHBPREGS): Likewise.
23542         (ELF_NGREG): Use new struct user_regs_struct.
23543         (elf_fpregset_t): Use new struct user_fpsimd_struct.
23545 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23547         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
23548         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
23550 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
23552         [BZ #16958]
23553         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
23554         membar to avoid block loads/stores to overlap previous stores.
23556 2014-05-17  Richard Henderson  <rth@redhat.com>
23558         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
23559         Create the __##syscall_name##_nocancel entry point.
23560         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
23561         Remove; let the sysdep-cancel.h code create it.
23563 2014-05-17  David S. Miller  <davem@davemloft.net>
23565         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
23566         Protect with __USE_GNU.
23567         (TIOCSET_TEMPT): Likewise.
23568         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23569         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
23570         these are already provided in bits/ioctl-types.h
23572 2014-05-16  Roland McGrath  <roland@hack.frob.com>
23574         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
23575         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
23577         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
23578         Use wait4 regardless of [__NR_waitpid].
23580 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
23582         PR libgcc/60166
23583         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23584         (_FP_NANSIGN_Q): Set the quiet bit.
23586 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
23588         * benchtests/Makefile
23589         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
23590         not $(common-objpfx)math/libm.so.
23591         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
23592         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
23593         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
23594         $(common-objpfx)dlfcn/libdl.so.
23595         ($(objpfx)tst-audit8): Depend on $(libm), not
23596         $(common-objpfx)math/libm.so.
23597         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
23598         not $(common-objpfx)dlfcn/libdl.so.
23599         * math/Makefile
23600         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23601         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
23602         [$(build-shared) = yes].
23603         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
23604         $(common-objpfx)nptl/libpthread.so.
23605         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
23606         $(common-objpfx)math/libm.so$(libm.so-version) or
23607         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
23608         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
23609         $(common-objpfx)dlfcn/libdl.so.
23610         * setjmp/Makefile (link-libm): Remove variable.
23611         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
23612         * stdio-common/Makefile (link-libm): Remove variable.
23613         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
23614         * stdlib/Makefile (link-libm): Remove variable.
23615         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
23616         ($(objpfx)tst-strtod-round): Likewise.
23617         ($(objpfx)tst-tininess): Likewise.
23618         ($(objpfx)tst-strtod-underflow): Likewise.
23619         ($(objpfx)tst-strtod6): Likewise.
23620         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
23621         $(libdl), not $(common-objpfx)nptl/libpthread.so and
23622         $(common-objpfx)dlfcn/libdl.so.
23624 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23626         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
23627         BSD terminal modes definitions.
23629 2014-05-16  Roland McGrath  <roland@hack.frob.com>
23631         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
23632         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
23634         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
23635         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
23636         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
23637         Don't do #include_next.
23638         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
23639         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
23640         Don't do #include_next.
23641         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
23642         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
23643         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
23644         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
23646 2014-05-16  Allan McRae  <allan@archlinux.org>
23648         * po/sv.po: Update Swedish translation from translation project.
23650         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
23651         in sed expression.
23653 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
23655         [BZ #16917]
23656         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
23657         errno if the TIOCGPTN ioctl fails with an error different than
23658         EINVAL.
23659         * login/tst-ptsname.c: New file.
23660         * login/Makefile (tests): Add tst-ptsname.
23662         [BZ #16943]
23663         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
23664         and prlimit64.
23666 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23668         [BZ #16849]
23669         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
23670         herrno to return EAI_AGAIN.
23672 2014-05-14  Roland McGrath  <roland@hack.frob.com>
23674         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
23675         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
23676         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
23677         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
23678         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
23679         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
23680         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
23681         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
23682         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
23683         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
23684         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
23685         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
23686         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
23687         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
23688         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
23689         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
23690         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
23691         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
23692         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
23693         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
23694         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
23695         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
23696         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
23697         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
23698         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
23699         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
23700         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
23701         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
23702         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
23703         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
23704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
23705         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
23706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
23707         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
23708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23709         Moved ...
23710         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
23711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
23712         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
23713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
23714         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
23715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
23716         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
23717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
23718         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
23719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
23720         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
23721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
23722         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
23723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
23724         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
23725         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
23726         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
23727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
23728         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
23729         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
23730         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
23731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
23732         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
23733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
23734         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
23735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
23736         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
23737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23738         Moved ...
23739         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
23740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
23741         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
23742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
23743         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
23744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
23745         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
23746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
23747         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
23748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
23749         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
23750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
23751         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
23752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
23753         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
23754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
23755         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
23756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
23757         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
23758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23759         Moved ...
23760         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
23761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
23762         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
23764         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
23765         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
23766         (libpthread-sysdep_routines): Add elision-related stuff here instead.
23767         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
23768         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
23769         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
23770         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
23771         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
23772         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
23773         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
23774         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
23775         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
23776         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
23777         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
23778         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
23779         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
23780         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
23781         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
23782         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
23783         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
23784         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
23785         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
23786         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
23787         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
23788         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
23789         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
23790         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
23791         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
23792         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
23793         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
23794         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
23796         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
23797         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
23799         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
23800         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
23801         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
23802         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
23803         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
23804         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
23805         Moved ...
23806         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
23807         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
23808         Moved ...
23809         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
23810         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
23811         Moved ...
23812         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
23813         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
23814         Moved ...
23815         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
23816         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
23817         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
23818         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
23819         Moved ...
23820         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
23821         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
23822         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
23823         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
23824         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
23825         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
23826         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
23827         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
23828         Moved ...
23829         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
23830         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
23831         Moved ...
23832         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
23833         ... here.
23834         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
23835         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
23836         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
23837         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
23838         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
23839         Moved ...
23840         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
23841         ... here.
23842         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
23843         Moved ...
23844         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
23845         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
23846         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
23847         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
23848         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
23849         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
23850         Moved ...
23851         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
23852         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
23853         Moved ...
23854         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
23855         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
23856         Moved ...
23857         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
23858         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
23859         Moved ...
23860         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
23861         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
23862         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
23863         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
23864         Moved ...
23865         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
23866         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
23867         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
23868         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
23869         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
23870         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
23871         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
23872         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
23873         Moved ...
23874         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
23875         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
23876         Moved ...
23877         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
23878         ... here.
23879         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
23880         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
23881         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
23882         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
23883         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
23884         Moved ...
23885         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
23886         ... here.
23887         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
23888         Moved ...
23889         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
23890         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
23891         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
23892         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
23893         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
23894         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
23895         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
23896         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
23897         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
23898         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
23899         Moved ...
23900         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
23901         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
23902         Moved ...
23903         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
23904         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
23905         Moved ...
23906         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
23907         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
23908         Moved ...
23909         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
23910         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
23911         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
23912         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
23913         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
23914         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
23915         Moved ...
23916         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
23917         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
23918         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
23919         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
23920         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
23921         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
23922         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
23923         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
23924         Moved ...
23925         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
23926         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
23927         Moved ...
23928         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
23929         ... here.
23930         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
23931         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
23932         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
23933         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
23934         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
23935         Moved ...
23936         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
23937         ... here.
23938         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
23939         Moved ...
23940         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
23941         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
23942         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
23943         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
23944         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
23945         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
23946         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
23947         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
23948         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
23949         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
23950         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
23952         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
23953         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
23955         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
23956         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
23958         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
23959         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
23960         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
23961         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
23962         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
23963         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
23964         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
23965         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
23966         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
23967         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
23968         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
23969         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
23970         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
23971         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
23972         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
23973         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
23974         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
23975         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
23976         Moved ...
23977         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
23978         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
23979         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
23980         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
23981         Moved ...
23982         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
23983         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
23984         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
23985         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
23986         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
23987         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
23988         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
23989         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
23990         Moved ...
23991         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
23992         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
23993         Moved ...
23994         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
23995         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
23996         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
23997         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
23998         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
23999         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
24000         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
24001         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
24002         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
24003         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
24004         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
24005         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
24006         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
24007         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
24008         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
24009         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
24010         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
24012         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
24013         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
24014         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
24015         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
24016         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
24018         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
24019         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
24020         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
24021         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
24022         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
24023         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
24024         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
24025         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
24026         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
24027         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
24029         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
24030         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
24032         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
24033         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
24034         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
24035         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
24036         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
24037         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
24038         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
24039         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
24040         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
24041         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
24042         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
24043         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
24044         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
24045         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
24046         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
24047         Update #include.
24048         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
24049         Likewise.
24050         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
24051         Likewise.
24052         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
24053         Likewise.
24054         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
24055         Likewise.
24056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
24057         Likewise.
24058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
24059         Likewise.
24060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
24061         Likewise.
24062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
24063         Likewise.
24064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
24065         Likewise.
24066         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
24067         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
24068         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
24069         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
24070         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
24071         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
24072         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
24073         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
24074         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
24075         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
24076         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
24077         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
24078         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
24079         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
24080         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
24082         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
24083         that was previously under [RESET_PID].
24084         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24085         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
24086         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
24088         * sysdeps/i386/nptl/Implies: New file.
24089         * sysdeps/x86_64/nptl/Implies: New file.
24090         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
24091         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
24092         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
24093         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
24095         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
24096         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24097         (__libc_vfork): New strong alias.
24098         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
24099         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
24101         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
24102         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24103         (__libc_vfork): New strong alias.
24104         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
24105         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
24107         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
24108         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24109         (__libc_vfork): New strong alias.
24110         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
24111         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
24112         * nptl/pt-vfork.c: New file.
24113         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
24114         (libpthread: GLIBC_2.20): New version set (empty).
24116 2014-05-14  Will Newton  <will.newton@linaro.org>
24118         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
24119         rather than #if.
24121 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
24123         [BZ #16564]
24124         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
24125         arguments with exponent 65 or above.
24126         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
24127         arguments 0x1p113L or above.
24128         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
24129         to arguments 0x1p107L or above.
24130         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
24131         positive arguments with exponent 65 or above.
24132         * math/auto-libm-test-in: Add more tests of log1p.
24133         * math/auto-libm-test-out: Regenerated.
24135         [BZ #16928]
24136         * math/s_cacos.c (__cacos): Ensure zero real part of result from
24137         non-finite arguments is +0.
24138         * math/s_cacosf.c (__cacosf): Likewise.
24139         * math/s_cacosl.c (__cacosl): Likewise.
24140         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
24141         * sysdeps/i386/fpu/libm-test-ulps: Update.
24142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24144         [BZ #16927]
24145         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
24146         value.
24147         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24148         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
24149         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
24150         for explicit high bit of mantissa when testing for argument equal
24151         to 1.
24152         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
24153         * sysdeps/i386/fpu/libm-test-ulps: Update.
24154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24156         [BZ #16516]
24157         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
24158         (__erf): Scale by 16 instead of 8 in potentially underflowing
24159         case.  Ensure exception if result actually underflows.
24160         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
24161         (__erff): Scale by 16 instead of 8 in potentially underflowing
24162         case.  Ensure exception if result actually underflows.
24163         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
24164         (efx8): Remove variable.
24165         (__erfl): Scale by 16 instead of 8 in potentially underflowing
24166         case.  Ensure exception if result actually underflows.
24167         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
24168         (efx8): Remove variable.
24169         (__erfl): Scale by 16 instead of 8 in potentially underflowing
24170         case.  Ensure exception if result actually underflows.
24171         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
24172         (efx8): Remove variable.
24173         (__erfl): Scale by 16 instead of 8 in potentially underflowing
24174         case.  Ensure exception if result actually underflows.
24175         * math/auto-libm-test-in: Add more tests of erf.
24176         * math/auto-libm-test-out: Regenerated.
24178 2014-05-14  Andreas Schwab  <schwab@suse.de>
24180         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
24181         Remove code conditionalized on USE___THREAD.
24183         * config.h.in (HAVE_PT_CHOWN): Define as 0.
24184         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
24185         not definedness.
24187 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
24189         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
24190         Define unconditionally.
24191         (__ASSUME_O_CLOEXEC): Likewise.
24192         (__ASSUME_SOCK_CLOEXEC): Likewise.
24193         (__ASSUME_IN_NONBLOCK): Likewise.
24194         (__ASSUME_PIPE2): Likewise.
24195         (__ASSUME_EVENTFD2): Likewise.
24196         (__ASSUME_SIGNALFD4): Likewise.
24197         (__ASSUME_DUP3): Likewise.
24198         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24199         (__ASSUME_DUP3): Do not define.
24200         (__ASSUME_EVENTFD2): Likewise.
24201         (__ASSUME_IN_NONBLOCK): Likewise.
24202         (__ASSUME_O_CLOEXEC): Likewise.
24203         (__ASSUME_PIPE2): Likewise.
24204         (__ASSUME_SIGNALFD4): Likewise.
24205         (__ASSUME_SOCK_CLOEXEC): Likewise.
24206         (__ASSUME_UTIMES): Undefine.
24207         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24208         (__ASSUME_UTIMES): Do not define.
24209         (__ASSUME_O_CLOEXEC): Likewise.
24210         (__ASSUME_SOCK_CLOEXEC): Likewise.
24211         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
24212         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
24213         0x020621].
24214         (__ASSUME_PIPE2): Likewise.
24215         (__ASSUME_EVENTFD2): Likewise.
24216         (__ASSUME_SIGNALFD4): Likewise.
24217         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
24218         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
24219         Do not define.
24220         (__ASSUME_EVENTFD2): Likewise.
24221         (__ASSUME_SIGNALFD4): Likewise.
24222         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24223         (__ASSUME_32BITUIDS): Likewise.
24224         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24225         (__ASSUME_IPC64): Likewise.
24226         (__ASSUME_ST_INO_64_BIT): Likewise.
24227         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
24228         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
24229         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24230         (__ASSUME_UTIMES): Do not define.
24231         (__ASSUME_PSELECT): Likewise.
24232         (__ASSUME_PPOLL): Likewise.
24233         (__ASSUME_O_CLOEXEC): Likewise.
24234         (__ASSUME_SOCK_CLOEXEC): Likewise.
24235         (__ASSUME_IN_NONBLOCK): Likewise.
24236         (__ASSUME_PIPE2): Likewise.
24237         (__ASSUME_EVENTFD2): Likewise.
24238         (__ASSUME_SIGNALFD4): Likewise.
24239         (__ASSUME_DUP3): Likewise.
24240         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24241         (__ASSUME_UTIMES): Likewise.
24242         (__ASSUME_O_CLOEXEC): Likewise.
24243         (__ASSUME_SOCK_CLOEXEC): Likewise.
24244         (__ASSUME_IN_NONBLOCK): Likewise.
24245         (__ASSUME_PIPE2): Likewise.
24246         (__ASSUME_EVENTFD2): Likewise.
24247         (__ASSUME_SIGNALFD4): Likewise.
24248         (__ASSUME_DUP3): Likewise.
24249         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24250         (__ASSUME_UTIMES): Likewise.
24251         (__ASSUME_O_CLOEXEC): Likewise.
24252         (__ASSUME_SOCK_CLOEXEC): Likewise.
24253         (__ASSUME_IN_NONBLOCK): Likewise.
24254         (__ASSUME_PIPE2): Likewise.
24255         (__ASSUME_EVENTFD2): Likewise.
24256         (__ASSUME_SIGNALFD4): Likewise.
24257         (__ASSUME_DUP3): Likewise.
24258         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
24259         Likewise.
24260         (__ASSUME_UTIMES): Likewise.
24261         (__ASSUME_EVENTFD2): Likewise.
24262         (__ASSUME_SIGNALFD4): Likewise.
24263         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24264         (__ASSUME_O_CLOEXEC): Likewise.
24265         (__ASSUME_SOCK_CLOEXEC): Likewise.
24266         (__ASSUME_IN_NONBLOCK): Likewise.
24267         (__ASSUME_PIPE2): Likewise.
24268         (__ASSUME_EVENTFD2): Likewise.
24269         (__ASSUME_SIGNALFD4): Likewise.
24270         (__ASSUME_DUP3): Likewise.
24271         (__ASSUME_UTIMES): Undefine.
24273         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
24274         feclearexcept.  Remove symbol versioning code.
24275         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
24276         symbol versioning code.
24277         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
24278         symbol versioning code.
24279         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
24280         feupdateenv.  Remove symbol versioning code.
24281         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
24282         fegetexceptflag.  Remove symbol versioning code.
24283         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
24284         fesetexceptflag.  Remove symbol versioning code.
24285         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
24286         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
24287         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
24288         (__posix_fadvise64_l32): Remove prototype.
24289         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
24290         code.
24292 2014-05-13  Roland McGrath  <roland@hack.frob.com>
24294         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
24295         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
24296         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
24297         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
24299 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
24301         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
24302         current working directory
24304 2014-05-13  Roland McGrath  <roland@hack.frob.com>
24306         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
24307         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
24308         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
24309         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
24310         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
24311         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
24312         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
24313         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
24314         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
24315         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
24316         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
24317         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
24318         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
24319         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
24320         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
24321         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
24322         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
24323         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
24324         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
24325         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
24326         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
24327         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
24328         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
24329         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
24330         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
24331         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
24332         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
24333         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
24334         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
24335         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
24336         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
24337         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
24338         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
24339         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
24340         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
24341         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
24342         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
24343         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
24344         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
24345         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
24346         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
24347         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
24349         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
24350         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
24352         * sysdeps/unix/sysv/linux/arm/Makefile
24353         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24354         Add rt-aeabi_unwind_cpp_pr1.
24355         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
24356         Add nptl-aeabi_unwind_cpp_pr1.
24357         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
24358         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
24359         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
24360         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24361         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
24362         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24364         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
24365         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
24366         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
24367         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
24369         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
24370         Deconditionalize the code that was previously under [RESET_PID].
24371         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
24373         * sysdeps/generic/exit-thread.h: New file.
24374         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
24375         * include/unistd.h (__exit_thread): Remove declaration.
24376         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
24377         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
24378         * csu/libc-start.c: Include <exit-thread.h>.
24379         (LIBC_START_MAIN): Pass no argument to __exit_thread.
24380         * nptl/pthread_create.c: Include <exit-thread.h>.
24381         (start_thread): Call __exit_thread in place of __exit_thread_inline.
24382         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
24383         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
24384         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
24385         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
24386         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
24387         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
24388         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
24389         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
24390         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
24391         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
24392         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
24393         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
24394         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
24395         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
24396         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
24397         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
24399 2014-05-13  Andreas Schwab  <schwab@suse.de>
24401         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
24403 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
24405         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
24406         (__ASSUME_UTIMES): Do not condition on kernel version.
24407         (__ASSUME_PSELECT): Define unconditionally.
24408         (__ASSUME_PPOLL): Likewise.
24409         (__ASSUME_ATFCTS): Likewise.
24410         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
24411         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
24412         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
24413         (__ASSUME_UTIMENSAT): Define unconditionally.
24414         (__ASSUME_PRIVATE_FUTEX): Likewise.
24415         (__ASSUME_FALLOCATE): Likewise.
24416         (__ASSUME_O_CLOEXEC): Likewise.
24417         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
24418         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
24419         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
24420         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
24421         (__ASSUME_IN_NONBLOCK): Likewise.
24422         (__ASSUME_PIPE2): Likewise.
24423         (__ASSUME_EVENTFD2): Likewise.
24424         (__ASSUME_SIGNALFD4): Likewise.
24425         (__ASSUME_DUP3): Likewise.
24426         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24427         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
24428         (__ASSUME_AT_RANDOM): Likewise.
24429         (__ASSUME_PREADV): Likewise.
24430         (__ASSUME_PWRITEV): Likewise.
24431         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
24432         (__ASSUME_F_GETOWN_EX): Define unconditionally.
24433         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
24434         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24435         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
24436         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24437         (__ASSUME_O_CLOEXEC): Define unconditionally.
24438         (__ASSUME_PSELECT): Do not undefine conditionally.
24439         (__ASSUME_PPOLL): Likewise.
24440         (__ASSUME_ATFCTS): Likewise.
24441         (__ASSUME_SET_ROBUST_LIST): Likewise.
24442         (__ASSUME_UTIMENSAT): Likewise.
24443         (__ASSUME_FDATASYNC): Define unconditionally.
24444         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24445         (__ASSUME_SIGFRAME_V2): Likewise.
24446         )__ASSUME_EVENTFD2): Likewise.
24447         (__ASSUME_SIGNALFD4): Likewise.
24448         (__ASSUME_PSELECT): Do not undefine conditionally.
24449         (__ASSUME_PPOLL): Likewise.
24450         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24451         (__ASSUME_PSELECT): Define unconditionally.
24452         (__ASSUME_PPOLL): Likewise.
24453         (__ASSUME_O_CLOEXEC): Likewise.
24454         (__ASSUME_SOCK_CLOEXEC): Likewise.
24455         (__ASSUME_IN_NONBLOCK): Likewise.
24456         (__ASSUME_PIPE2): Likewise.
24457         (__ASSUME_EVENTFD2): Likewise.
24458         (__ASSUME_SIGNALFD4): Likewise.
24459         (__ASSUME_DUP3): Likewise.
24460         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24461         (__ASSUME_O_CLOEXEC): Likewise.
24462         (__ASSUME_SOCK_CLOEXEC): Likewise.
24463         (__ASSUME_IN_NONBLOCK): Likewise.
24464         (__ASSUME_PIPE2): Likewise.
24465         (__ASSUME_EVENTFD2): Likewise.
24466         (__ASSUME_SIGNALFD4): Likewise.
24467         (__ASSUME_DUP3): Likewise.
24468         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24469         (__ASSUME_EVENTFD2): Likewise.
24470         (__ASSUME_SIGNALFD4): Likewise.
24471         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24473 2014-05-12  Andreas Schwab  <schwab@suse.de>
24475         [BZ #16932]
24476         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
24477         (_nss_nis_gethostbyname4_r): Return error if item length is larger
24478         than maximum RPC packet size.
24479         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
24480         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
24481         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
24482         (_nss_nis_getservbyport_r): Likewise.
24484 2014-05-12  Will Newton  <will.newton@linaro.org>
24486         * malloc/Makefile (tests): Add tst-mallopt.
24487         * malloc/tst-mallopt.c: New file.
24489 2014-05-09  Roland McGrath  <roland@hack.frob.com>
24491         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
24492         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
24494 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24496         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
24497         (tst-tlsmod6.so): Likewise.
24499 2014-05-09  Roland McGrath  <roland@hack.frob.com>
24501         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
24503 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
24505         [BZ #16064]
24506         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
24507         and <dl-procinfo.h>.
24508         (__fegetenv): Save SSE state in envp->__eip if supported.
24509         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
24510         envp->__eip if supported.
24511         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
24512         and <dl-procinfo.h>.
24513         (__fesetenv): Always set __eip, __cs_selector, __opcode,
24514         __data_offset and __data_selector in environment to 0.  Set SSE
24515         state if supported.
24516         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24517         test-fenv-sse.
24518         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
24519         -mfpmath=sse.
24520         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
24522 2014-05-09  Will Newton  <will.newton@linaro.org>
24524         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
24525         and libc_relro_required for ARM.
24526         * sysdeps/arm/preconfigure: Regenerate.
24528 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
24529             Stefan Liebler  <stli@linux.vnet.ibm.com>
24531         * config.make.in (enable-lock-elision): New Makefile variable.
24532         * configure.ac: Likewise.
24533         * configure: Regenerate.
24534         * sysdeps/s390/configure.ac:
24535         Add check for gcc transactions support.
24536         * sysdeps/s390/configure: Regenerate.
24537         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
24538         Build elision files if enabled.
24539         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
24540         Add lock elision support for s390.
24541         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
24542         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
24543         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
24544         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
24545         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
24546         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
24547         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
24548         Likewise.
24549         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
24550         Likewise.
24551         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
24552         Likewise.
24553         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
24554         Likewise.
24555         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
24556         (__lll_timedlock_elision, __lll_lock_elision)
24557         (__lll_unlock_elision, __lll_trylock_elision)
24558         (lll_timedlock_elision, lll_lock_elision)
24559         (lll_unlock_elision, lll_trylock_elision): Add.
24560         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24561         (pthread_mutex_t): Add lock elision support for s390.
24563 2014-05-14  Wilco  <wdijkstr@arm.com>
24565         * sysdeps/arm/fclrexcpt.c: Cleanup.
24566         * sysdeps/arm/fedisblxcpt.c: Cleanup.
24567         * sysdeps/arm/feenablxcpt.c: Cleanup.
24568         * sysdeps/arm/fegetenv.c: Cleanup.
24569         * sysdeps/arm/fegetexcept.c: Cleanup.
24570         * sysdeps/arm/fegetround.c: Cleanup.
24571         * sysdeps/arm/feholdexcpt.c: Cleanup.
24572         * sysdeps/arm/fesetenv.c: Cleanup.
24573         * sysdeps/arm/fesetround.c: Cleanup.
24574         * sysdeps/arm/feupdateenv.c: Cleanup.
24575         * sysdeps/arm/fgetexcptflg.c: Cleanup.
24576         * sysdeps/arm/fraiseexcpt.c: Cleanup.
24577         * sysdeps/arm/fsetexcptflg.c: Cleanup.
24578         * sysdeps/arm/ftestexcept.c: Cleanup.
24579         * sysdeps/arm/get-rounding-mode.h: Cleanup.
24580         * sysdeps/arm/setfpucw.c: Cleanup.
24582 2014-05-09  Will Newton  <will.newton@linaro.org>
24584         * sysdeps/arm/armv7/strcmp.S: New file.
24585         * NEWS: Mention addition of ARMv7 optimized strcmp.
24587 2014-05-08  Roland McGrath  <roland@hack.frob.com>
24589         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
24590         look for %.ac rather than %.in.
24592         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
24593         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
24594         * sysdeps/mach/hurd/configure: Regenerated.
24595         * sysdeps/unix/sysv/linux/configure: Regenerated.
24597         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
24599 2014-05-07  Steve Ellcey  <sellcey@mips.com>
24601         [BZ# 16922]
24602         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
24603         (LONG_SUB): Ditto.
24604         (PTR_SUB): Ditto.
24606 2014-05-07  Andreas Schwab  <schwab@suse.de>
24608         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
24609         when skipping over non-matching result from nscd.
24611 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
24613         [BZ #16876]
24614         * nptl/sockperf.c (client): Check socket return value.
24616         [BZ #16877]
24617         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
24618         nscd security class.
24620 2014-05-06  Roland McGrath  <roland@hack.frob.com>
24622         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
24623         * sysdeps/arm/unwind.h: ... here.
24625 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
24627         [BZ# 16916]
24628         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
24629         Define.
24631 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24633         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
24634         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
24635         multiarch strncpy for PPC64.
24636         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
24637         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
24638         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
24639         multiarch optimizations.
24640         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24641         (__libc_ifunc_impl_list): Likewise.
24642         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
24643         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
24644         multiarch stpncpy for PPC64.
24645         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
24646         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
24648 2014-05-06  Andreas Schwab  <schwab@suse.de>
24650         [BZ #16912]
24651         * gmon/mcount.c (_MCOUNT_DECL): Use
24652         atomic_compare_and_exchange_bool_acq instead of
24653         catomic_compare_and_exchange_bool_acq.
24655 2014-05-05  Roland McGrath  <roland@hack.frob.com>
24657         * elf/Makefile (others, install-bin): Remove pldd.
24658         (pldd-modules): Variable removed.
24659         ($(objpfx)pldd): Target removed.
24660         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
24661         (others, install-bin): Append pldd here.
24662         ($(objpfx)pldd): New target.
24664         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
24665         to 0, so the first #if test emitted later doesn't see it undefined.
24666         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
24667         * sysdeps/gnu/errlist.c: Regenerated.
24669 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24671         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
24672         [libc_hidden_builtin_def]: Define to empty value.
24673         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
24674         [libc_hidden_builtin_def]: Likewise.
24675         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
24676         [libc_hidden_builtin_def]: Likewise.
24677         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
24678         [libc_hidden_builtin_def]: Likewise.
24679         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
24680         __redirect_memcpy and define ifunc as default hidden symbol.
24681         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
24682         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
24684 2014-05-04  Adam Conrad  <adconrad@0c3.net>
24686         * locale/iso-4217.def: Reintroduce XDR currency.
24688 2014-05-04  Allan McRae  <allan@archlinux.org>
24690         * po/eo.po: Update Esperanto translation from translation project.
24692 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
24694         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
24695         and FEATURE_INDEX_MAX to 1.
24696         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
24698 2014-05-01  Steve Ellcey  <sellcey@mips.com>
24700         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
24701         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
24702         * iconvdata/big5.c (ONE_DIRECTION): Define.
24703         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
24704         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
24705         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
24706         * iconvdata/cp932.c (ONE_DIRECTION): Define.
24707         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
24708         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
24709         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
24710         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
24711         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
24712         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
24713         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
24714         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
24715         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
24716         * iconvdata/gbk.c (ONE_DIRECTION): Define.
24717         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
24718         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
24719         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
24720         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
24721         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
24722         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
24723         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
24724         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
24725         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
24726         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
24727         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
24728         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
24729         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
24730         * iconvdata/iso646.c (ONE_DIRECTION): Define.
24731         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
24732         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
24733         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
24734         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
24735         * iconvdata/johab.c (ONE_DIRECTION): Define.
24736         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
24737         * iconvdata/sjis.c (ONE_DIRECTION): Define.
24738         * iconvdata/t.61.c (ONE_DIRECTION): Define.
24739         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
24740         * iconvdata/tscii.c (ONE_DIRECTION): Define.
24741         * iconvdata/uhc.c (ONE_DIRECTION): Define.
24742         * iconvdata/unicode.c (ONE_DIRECTION): Define.
24743         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
24744         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
24745         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
24747 2014-05-01  Roland McGrath  <roland@hack.frob.com>
24749         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
24750         (_IO_JUMPS_OFFSET): Define to 0.
24752         * nptl/sysdeps/pthread/bits/libc-lock.h
24753         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
24754         (__libc_lock_define_initialized_recursive): Always define using
24755         initializer.  Modern compilers treat uninitialized (implicit zero) and
24756         explicit zero initializers the same (i.e. put the datum in bss).
24758 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
24760         * nscd/nscd-client.h: Include <string.h>.
24762 2014-05-01  David S. Miller  <davem@davemloft.net>
24764         [BZ #16885]
24765         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
24766         multiple zero bytes exist at the end of a string.
24767         Reported by Aurelien Jarno <aurelien@aurel32.net>
24769         * string/test-strcmp.c (check): Add explicit test for situations where
24770         there are multiple zero bytes after the first.
24772 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
24774         [BZ #16890]
24775         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
24776         when compiling wprintf.
24777         * stdio-common/tstdiomisc.c (t3): New function.
24778         (main): Call it.
24780 2014-05-01  Steve Ellcey  <sellcey@mips.com>
24782         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
24783         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
24784         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
24785         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
24787 2014-05-01  Steve Ellcey  <sellcey@mips.com>
24789         * stdlib/longlong.h: Updated from GCC.
24791 2014-05-01  Will Newton  <will.newton@linaro.org>
24792             Bernard Ogden  <bernie.ogden@linaro.org>
24794         * NEWS: Update fixed bug list.
24796         [BZ #15119]
24797         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
24799 2014-04-30  David S. Miller  <davem@davemloft.net>
24801         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
24802         (libc_feholdexcept_setround_sparc_ctx): New function.
24803         (libc_fesetenv_sparc_ctx): Likewise.
24804         (libc_feupdateenv_sparc_ctx): Likewise.
24805         (libc_feholdsetround_sparc_ctx): Likewise.
24806         (libc_feholdexcept_setround_ctx): Define.
24807         (libc_feholdexcept_setroundf_ctx): Likewise.
24808         (libc_feholdexcept_setroundl_ctx): Likewise.
24809         (libc_fesetenv_ctx): Likewise.
24810         (libc_fesetenvf_ctx): Likewise.
24811         (libc_fesetenvl_ctx): Likewise.
24812         (libc_feupdateenv_ctx): Likewise.
24813         (libc_feupdateenvf_ctx): Likewise.
24814         (libc_feupdateenvl_ctx): Likewise.
24815         (libc_feresetround_ctx): Likewise.
24816         (libc_feresetroundf_ctx): Likewise.
24817         (libc_feresetroundl_ctx): Likewise.
24818         (libc_feholdsetround_ctx): Likewise.
24819         (libc_feholdsetroundf_ctx): Likewise.
24820         (libc_feholdsetroundl_ctx): Likewise.
24822         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
24823         with __USE_GNU instead of XOPEN cpp guards.
24825         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
24826         0.
24828         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
24829         with XOPEN cpp guards.
24831 2014-04-30  Julian Brown  <julian@codesourcery.com>
24833         [BZ #16888]
24834         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
24835         handling.
24837 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
24839         [BZ #9894]
24840         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24841         Change to 2.6.32.
24842         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
24843         * sysdeps/unix/sysv/linux/configure: Regenerated.
24844         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
24845         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
24846         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
24847         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
24848         * README: Update reference to required Linux kernel version.
24849         * manual/install.texi (Linux): Update reference to required Linux
24850         kernel headers version.
24851         * INSTALL: Regenerated.
24853         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
24854         header inclusion.
24855         [POSIX] (limits.h): Likewise.
24856         [POSIX] (math.h): Likewise.
24857         [POSIX] (sys/wait.h): Likewise.
24858         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
24859         function.
24860         [POSIX] (stddef.h): Do not allow header inclusion.
24862 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24864         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
24866 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
24868         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
24869         Return immediately after lll_futex_wake.
24871 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24873         [BZ #16791]
24874         * nscd/nscd-client.h (datahead_init_common): Initialize entire
24875         structure.
24876         (datahead_init_pos): Call datahead_init_common early.
24877         (datahead_init_neg): Likewise.
24879         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
24880         datahead_init_neg): New functions.
24881         * nscd/aicache.c (addhstaiX): Use them.
24882         * nscd/grpcache.c (cache_addgr): Likewise.
24883         * nscd/hstcache.c (cache_addhst): Likewise.
24884         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24885         * nscd/netgroupcache.c (do_notfound): Likewise.
24886         (addgetnetgrentX): Likewise.
24887         (addinnetgrX): Likewise.
24888         * nscd/pwdcache.c (cache_addpw): Likewise.
24889         * nscd/servicescache.c (cache_addserv): Likewise.
24891 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24892             Atsushi Onoe  <atsushi@onoe.org>
24894         [BZ #14308]
24895         [BZ #12994]
24896         [BZ #13651]
24897         * resolv/res_query.c (__libc_res_nsearch): Return if at least
24898         one response is valid.
24899         * resolv/res_send.c (send_dg): Check for validity of other
24900         response if the current response is a referral.
24902 2014-04-29  Steve Ellcey  <sellcey@mips.com>
24904         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
24906 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
24908         [BZ #16823]
24909         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
24910         Always divide by positive zero when computing -Inf result.
24911         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24912         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
24914 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24916         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
24917         FPSCR if value do not change.
24918         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24919         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
24920         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24921         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24922         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
24923         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
24924         function.
24926 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
24928         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
24929         * sysdeps/unix/sysv/linux/hppa: Move directory from
24930         ports/systeps/unix/sysv/linux/hppa.
24931         * README: Update listing for hppa-*-linux-gnu.
24933 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
24935         [BZ #16754]
24936         * manual/stdio.texi (Hook functions): Fix types of stream hook
24937         functions.
24938         [BZ #16854]
24939         * socket/sys/socket.h: Fix typo in comment.
24941 2014-04-28  Wilco  <wdijkstr@arm.com>
24943         * sysdeps/arm/fenv_private.h: New file.
24944         * sysdeps/arm/math_private.h: New file.
24945         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
24947 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
24949         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
24950         with __int128_t.
24951         (La_x86_64_retval): Likewise.
24953 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
24955         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
24956         fpsr if value didn't change.
24957         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
24958         to fpcr if value didn't change.
24959         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
24960         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
24961         fpsr or fpcr if value didn't change.
24962         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24963         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
24964         fpcr if value didn't change.
24965         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
24966         to fpsr if value didn't change.
24968 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24970         * nptl/tst-sem3.c: Use test-skeleton.c
24971         (main): Rename to do_test.  Use return instead of
24972         exit.
24973         * nptl/tst-sem4.c: Use test-skeleton.c
24974         (main): Rename to do_test.
24976 2014-04-22  David S. Miller  <davem@davemloft.net>
24978         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
24979         (struct sigaction): New struct member __glibc_reserved0, change
24980         type of sa_flags to int.
24982 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
24984         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
24985         (COUNT_LEADING_ZEROS_0): Define for AArch64.
24987 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24989         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
24990         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
24992 2014-04-22  Will Newton  <will.newton@linaro.org>
24993             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
24995         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
24996         (__longjmp): Add longjmp and longjmp_target SystemTap
24997         probes.
24998         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
24999         (__sigsetjmp): Add setjmp SystemTap probe.
25001 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
25003         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
25004         match manual order.
25006 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25008         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
25010         * sysdeps/powerpc/fpu/fenv_private.h
25011         (libc_feholdexcept_setroundl_ctx): Define to
25012         libc_feholdexcept_setround_ppc_ctx.
25013         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
25014         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
25015         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
25016         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
25018 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
25020         * sysdeps/aarch64/math-tests.h: New file.
25022 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
25024         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
25025         New.
25026         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25027         Check and set bit_AVX2_Usable.
25028         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
25029         macro.
25030         (bit_AVX2): Likewise.
25031         (index_AVX2_Usable): Likewise.
25032         (CPUID_AVX2): Likewise.
25033         (HAS_AVX2): Likewise.
25035 2014-04-17  Will Newton  <will.newton@linaro.org>
25037         * manual/setjmp.texi (System V contexts): Add note that
25038         calling setcontext on a context created by a call to a
25039         signal handler is undefined.  Update text to note that
25040         setcontext from a signal handler is possible but not
25041         recommended.
25043         [BZ #16629]
25044         * stdlib/tst-setcontext.c: Include signal.h.
25045         (main): Check that the signal stack before and
25046         after swapcontext is the same.
25048         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
25049         Re-implement to restore registers in user code and avoid
25050         rt_sigreturn system call.
25052 2014-04-17  Wilco  <wdijkstr@arm.com>
25054         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
25055         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
25056         * math/test-fenv.c: Skip exception trap tests on targets which only
25057         support non-stop mode.
25059 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
25060             Wilco Dijkstra  <wilco.dijkstra@arm.com>
25062         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
25063         (libc_feholdsetround_aarch64_ctx)
25064         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
25065         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
25066         (libc_feresetround_ctx, libc_feresetroundf_ctx)
25067         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
25068         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
25069         (libc_feresetround_noexl_ctx): Define.
25071 2014-04-16  Richard Henderson  <rth@redhat.com>
25073         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
25075         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
25076         unwind tables.
25078         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
25079         const from the non-libc, non-ldso copy.
25081         * sysdeps/alpha/libm-test-ulps: Regenerate.
25083 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
25084             Wilco Dijkstra  <wilco.dijkstra@arm.com>
25086         * sysdeps/aarch64/fpu/math_private.h: New file.
25088 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25090         * sysdeps/aarch64/libm-test-ulps: Regenerate.
25092 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
25094         [BZ #16275]
25095         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
25096         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
25097         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
25098         Intel MPX bound registers before _dl_profile_fixup.
25099         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
25100         registers after _dl_profile_fixup.  Save and restore bound
25101         registers bnd0/bnd1 when calling _dl_call_pltexit.
25102         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
25103         (LR_BND_OFFSET): Likewise.
25104         (LRV_BND0_OFFSET): Likewise.
25105         (LRV_BND1_OFFSET): Likewise.
25107 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25109         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
25110         to...
25111         * sysdeps/mach/hurd/i386/tls.h: ... here.
25112         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
25113         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
25114         fields.
25116 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25118         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
25120 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25122         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25124 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25126         [BZ #14770]
25127         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
25128         * sysdeps/s390/configure: Regenerate.
25130         [BZ #16824]
25131         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
25132         Set round-to-nearest internally to reduce error accumulation.
25134 2014-04-16  Alan Modra  <amodra@gmail.com>
25136         [BZ #16740]
25137         [BZ #16619]
25138         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
25139         * math/libm-test.inc (frexp_test_data): Add tests.
25140         * NEWS: Update fixed bug list.
25142 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25144         * benchtests/Makefile: Depend on libraries in build directory.
25145         (bench-math): Separate out math tests.
25146         (bench-pthread): Separate out pthread tests.
25147         (bench): Include math and pthread tests.
25149 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
25151         [BZ #16831]
25152         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
25153         _dl_debug_initialize.
25155         * configure.ac: Remove SELinux header check.
25156         * configure: Regenerate.
25157         * nscd/selinux.c (perms): Array of const char* to permission names.
25158         (nscd_request_avc_has_perm): Call security_deny_unknown to find
25159         default policy. Call string_to_security_class and string_to_av_perm to
25160         translate strings. Enforce default policy and call avs_has_perm with
25161         results of translated strings.
25163 2014-04-13  David S. Miller  <davem@davemloft.net>
25165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25167 2014-04-12  Allan McRae  <allan@archlinux.org>
25169         [BZ #16838]
25170         * manual/string.texi (Collation Functions): Fix qsort argument
25171         order in example.
25172         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25174 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
25176         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
25177         Make the test a no-op if there are no exceptions defined.
25179 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25181         * elf/Makefile (tests): make tst-dlopen-aout conditional on
25182         enable-hardcoded-path-in-tests
25184 2014-04-11  Will Newton  <will.newton@linaro.org>
25186         * benchtests/Makefile (extra-objs): Add json-lib.o.
25187         (bench-func): Tidy up JSON output.
25188         * benchtests/bench-skeleton.c: Include json-lib.h.
25189         (main): Use JSON library functions to do output of
25190         benchmark results.
25191         * benchtests/bench-timing-type.c (main): Output the
25192         timing type simply, leaving formatting to the user.
25193         * benchtests/json-lib.c: New file.
25194         * benchtests/json-lib.h: Likewise.
25196 2014-04-11  Torvald Riegel  <triegel@redhat.com>
25198         [BZ #15215]
25199         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
25200         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
25201         memory barriers.  Add comments.
25202         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
25203         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
25204         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
25205         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
25206         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
25207         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
25209 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25211         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
25212         * sysdeps/s390/s390-64/configure.ac: ... this ...
25213         * sysdeps/s390/configure.ac: ... to here.
25214         * sysdeps/s390/s390-32/configure: Delete file.
25215         * sysdeps/s390/s390-64/configure: Delete file.
25216         * sysdeps/s390/configure: Regenerate.
25218 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
25220         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
25222 2014-04-11  Will Newton  <will.newton@linaro.org>
25224         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
25225         to zero if it is not defined elsewhere.  (mtrim): Test
25226         the value of MALLOC_DEBUG with #if rather than #ifdef.
25228 2014-04-10 Torvald Riegel  <triegel@redhat.com>
25230         * benchtests/pthread_once-inputs: New file.
25231         * benchtests/pthread_once-source.c: New file.
25232         * benchtests/README: Update documentation.
25234 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
25235             H.J. Lu  <hongjiu.lu@intel.com>
25237         [BZ #16275]
25238         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
25239         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
25240         * sysdeps/x86_64/configure: Regenerated.
25241         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
25242         macro.
25243         (REGISTER_SAVE_RAX): Likewise.
25244         (REGISTER_SAVE_RCX): Likewise.
25245         (REGISTER_SAVE_RDX): Likewise.
25246         (REGISTER_SAVE_RSI): Likewise.
25247         (REGISTER_SAVE_RDI): Likewise.
25248         (REGISTER_SAVE_R8): Likewise.
25249         (REGISTER_SAVE_R9): Likewise.
25250         (REGISTER_SAVE_BND0): Likewise.
25251         (REGISTER_SAVE_BND1): Likewise.
25252         (REGISTER_SAVE_BND2): Likewise.
25253         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
25254         bound registers when calling _dl_fixup.
25256 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25258         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
25259         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
25260         of its definition.
25261         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
25262         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
25263         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
25264         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
25265         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
25266         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
25267         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
25269 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
25271         [BZ #15514]
25272         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
25273         pathconf(_PC_NAME_MAX).
25275 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25277         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
25278         Remove macro usage.
25279         (__PTHREAD_SPINS): Move definition to ...
25280         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25281         (__PTHREAD_SPINS): ... here.
25282         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
25283         (__PTHREAD_SPIN): Likewise.
25284         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
25285         (__PTHREAD_SPIN): Likewise.
25286         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
25287         (__PTHREAD_SPIN): Likewise.
25288         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
25289         (__PTHREAD_SPIN): Likewise.
25290         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25291         (__PTHREAD_SPIN): Likewise.
25292         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25293         (__PTHREAD_SPIN): Likewise.
25294         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
25295         (__PTHREAD_SPIN): Likewise.
25296         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25297         (__PTHREAD_SPIN): Likewise.
25298         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25299         (__PTHREAD_SPIN): Likewise.
25300         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25301         (__PTHREAD_SPIN): Likewise.
25302         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25303         (__PTHREAD_SPIN): Likewise.
25304         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
25305         (__PTHREAD_SPIN): Likewise.
25307         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
25308         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
25309         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
25310         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
25311         imply folder.
25312         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
25313         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
25314         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
25315         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
25316         correct imply path.
25317         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
25318         strlen symbol for non multi-arch builds.
25319         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
25320         missing hidden_def and weak_alias.
25322 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
25324         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
25326 2014-04-07  Will Newton  <will.newton@linaro.org>
25328         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
25329         and contents.  [!_LIBC] Remove #ifndef and contents.
25330         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
25331         * string/memccpy.c (__memccpy): Use ANSI prototype.
25332         * string/memfrob.c (memfrob): Likewise.
25333         * string/strcoll.c (STRCOLL): Likewise.
25334         * string/strlen.c (strlen): Likewise.
25335         * string/strtok.c (STRTOK): Likewise.
25336         * string/strcat.c: Remove unused #include of memcopy.h.
25337         (strcat): Use ANSI prototype.
25338         * string/strchr.c: Remove unused #include of memcopy.h.
25339         (strchr): Use ANSI prototype.
25340         * string/strcmp.c: Remove unused #include of memcopy.h.
25341         (strcmp): Use ANSI prototype.
25342         * string/strcpy.c: Remove unused #include of memcopy.h.
25343         (strcpy): Use ANSI prototype.
25345 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25347         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
25348         * config.make.in (config-extra-cppflags): Set it from
25349         libc_extra_cppflags.
25350         * configure.ac (libc_extra_cflags): Make it accumulate over
25351         configure fragments.
25352         (libc_extra_cppflags): New flag.
25353         * configure. Regenerate.
25354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
25355         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
25356         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
25357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25359         [BZ #16815]
25360         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
25361         result for FE_DOWNWARD rounding mode.
25362         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
25363         Likewise.
25364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25366 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
25368         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
25369         in function argument name.
25371 2014-04-03  David Svoboda  <svoboda@cert.org>
25373         [BZ #5666]
25374         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
25375         explicitly.
25377 2014-04-03  Roland McGrath  <roland@hack.frob.com>
25379         * elf/dl-unmap-segments.h: New file.
25380         * sysdeps/generic/ldsodefs.h
25381         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
25382         * elf/dl-close.c: Include <dl-unmap-segments.h>.
25383         * elf/dl-fptr.c: Likewise.
25384         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
25385         * sysdeps/aarch64/tlsdesc.c: Likewise.
25386         * sysdeps/arm/tlsdesc.c: Likewise.
25387         * sysdeps/i386/tlsdesc.c: Likewise.
25388         * sysdeps/tile/dl-runtime.c: Likewise.
25389         * sysdeps/x86_64/tlsdesc.c: Likewise.
25390         * elf/dl-load.h: New file.
25391         * elf/dl-load.c: Include it.
25392         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
25393         Macros moved to dl-load.h.
25394         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
25395         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
25396         Use _dl_unmap_segments in place of __munmap.
25397         Break out segment-mapping loop into ...
25398         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
25400 2014-04-03  Will Newton  <will.newton@linaro.org>
25402         * elf/dl-lookup.c (do_lookup_x): Remove comment
25403         referring to nested function and move variable
25404         declarations down to before first use.
25406 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
25408         [BZ #16799]
25409         [BZ #16800]
25410         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
25411         with 0 numerator.
25412         * math/s_catanf.c (__catanf): Likewise.
25413         * math/s_catanh.c (__catanh): Likewise.
25414         * math/s_catanhf.c (__catanhf): Likewise.
25415         * math/s_catanhl.c (__catanhl): Likewise.
25416         * math/s_catanl.c (__catanl): Likewise.
25417         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
25418         by positive zero when computing -Inf result.
25419         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
25420         (catanh_test): Likewise.
25421         * sysdeps/i386/fpu/libm-test-ulps: Update.
25422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25424         [BZ #16789]
25425         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
25426         instead of using underflowing value in computing result.
25427         * math/s_clog10.c (__clog10): Likewise.
25428         * math/s_clog10f.c (__clog10f): Likewise.
25429         * math/s_clog10l.c (__clog10l): Likewise.
25430         * math/s_clogf.c (__clogf): Likewise.
25431         * math/s_clogl.c (__clogl): Likewise.
25432         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
25433         (clog10_test): Likewise.
25434         * sysdeps/i386/fpu/libm-test-ulps: Update.
25435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25437 2014-04-02  Alan Modra  <amodra@gmail.com>
25439         [BZ #16739]
25440         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
25441         output when value is near a power of two.  Use int64_t for lx and
25442         remove casts.  Use decimal rather than hex exponent constants.
25443         Don't use long double multiplication when double will suffice.
25444         * math/libm-test.inc (nextafter_test_data): Add tests.
25445         * NEWS: Add 16739 and 16786 to bug list.
25447         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
25449         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
25451 2014-04-01  Will Newton  <will.newton@linaro.org>
25453         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
25454         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
25456 2014-04-01  Florian Weimer  <fweimer@redhat.com>
25458         [BZ #13347]
25459         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
25460         * nptl/tst-setuid2.c: New file.
25461         * nptl/Makefile (xtests): Add tst-setuid2.
25463 2014-04-01  Alan Modra  <amodra@gmail.com>
25465         [BZ #16786]
25466         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
25468 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
25470         [BZ #6803]
25471         [BZ #6804]
25472         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
25473         set errno as appropriate.
25474         * math/w_scalbf.c (__scalbf): Likewise.
25475         * math/w_scalbl.c (__scalbl): Likewise.
25476         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
25477         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
25478         * math/libm-test.inc (scalb_test_data): Add errno expectations.
25479         Add more NaN tests.
25481         [BZ #16349]
25482         * math/w_atan2.c: Include <errno.h>.
25483         (__atan2): Set errno for result underflowing to zero.
25484         * math/w_atan2f.c: Include <errno.h>.
25485         (__atan2f): Set errno for result underflowing to zero.
25486         * math/w_atan2l.c: Include <errno.h>.
25487         (__atan2l): Set errno for result underflowing to zero.
25488         * math/auto-libm-test-in: Don't allow missing errno for some atan2
25489         tests.
25490         * math/auto-libm-test-out: Regenerated.
25492 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25494         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25495         Encode instruction correctly in little endian.
25496         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25497         Likewise.
25498         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25499         Likewise.
25500         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25501         Likewise.
25502         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25503         Likewise.
25505 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
25507         [BZ #9894]
25508         * sysdeps/unix/sysv/linux/kernel-features.h
25509         [__sparc__ && !__arch64__ && !__sparc_v9__]
25510         (__ASSUME_SET_ROBUST_LIST): Do not define.
25511         [__sparc__ && !__arch64__ && !__sparc_v9__]
25512         (__ASSUME_FUTEX_LOCK_PI): Likewise.
25513         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
25514         Likewise.
25515         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25516         (__ASSUME_FUTEX_LOCK_PI): Undefine.
25517         (__ASSUME_REQUEUE_PI): Likewise.
25518         (__ASSUME_SET_ROBUST_LIST): Likewise.
25519         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25520         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
25521         Undefine.
25522         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25523         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
25524         Likewise.
25525         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
25526         Likewise.
25527         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
25528         Likewise.
25529         * sysdeps/unix/sysv/linux/mips/kernel-features.h
25530         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
25531         Undefine.
25532         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
25533         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
25534         Likewise.
25536         [BZ #16648]
25537         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25538         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
25539         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
25541 2014-03-31  Will Newton  <will.newton@linaro.org>
25543         * benchtests/Makefile (bench): Add ffs and ffsll to list
25544         of tests.
25545         * benchtests/ffs-inputs: New file.
25546         * benchtests/ffsll-inputs: Likewise.
25548 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
25550         [BZ #16770]
25551         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
25552         too large before casting to int.
25553         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
25554         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
25555         * math/libm-test.inc (scalb_test_data): Add more tests.
25557 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25559         * benchtests/Makefile (DETAILED_OPT): New make option.
25560         (bench-func): Run benchmark program with -d if DETAILED_OPT is
25561         set.
25562         * benchtests/bench-skeleton.c: Include stdbool.h.
25563         (main): Store and print timings per input.
25564         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
25565         member to each argument value.
25566         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
25567         (_print_arg_data): Initialize per-input timing to 0.
25569         * benchtests/Makefile (timing-type): New binary.
25570         (bench-clean): Also remove bench-timing-type.
25571         (bench): New target for timing-type.
25572         (bench-func): Print output in JSON format.
25573         * benchtests/bench-skeleton.c (main): Print output in JSON
25574         format.
25575         * benchtests/bench-timing-type.c: New file.
25576         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
25577         (TIMING_PRINT_STATS): Remove.
25578         * benchtests/scripts/bench.py (_print_arg_data): Store variant
25579         name separately.
25581         * benchtests/bench-modf.c: Remove.
25582         * benchtests/modf-inputs: New inputs file.
25584 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
25586         [BZ #16362]
25587         * math/s_clog10.c (M_PI_LOG10E): New macro.
25588         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
25589         imaginary parts are 0.
25590         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
25591         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
25592         imaginary parts are 0.
25593         * math/s_clog10l.c (M_PI_LOG10El): New macro.
25594         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
25595         imaginary parts are 0.
25596         * math/libm-test.inc (clog10_test_data): Update expected results
25597         for when real and imaginary parts are 0.
25599 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
25601         * elf/dl-load.c: Finish conversion of __builtin_expect into
25602         __glibc_{un}likely.
25604 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
25606         [BZ #16348]
25607         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
25608         1+x for argument with exponent below -67.
25609         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
25610         Likewise.
25611         * math/auto-libm-test-in: Add more tests of exp.
25612         * math/auto-libm-test-out: Regenerated.
25614 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25616         [BZ #16759]
25617         * inet/getnetgrent_r.c (get_nonempty_val): New function.
25618         (nscd_getnetgrent): Use it.
25620         [BZ #16760]
25621         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
25622         of stpcpy.
25624 2014-03-27  Andi Kleen  <ak@linux.intel.com>
25626         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
25627         (lll_robust_lock, lll_cond_lock, lll_timedlock)
25628         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
25629         (lll_robust_unlock): Remove out of line section. Use cfi
25630         intrinsics.
25631         (LLL_STUB_UNWIND_INFO*): Remove.
25632         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
25633         (lll_robust_lock, lll_cond_lock, lll_timedlock)
25634         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
25635         (lll_robust_unlock): Remove out of line section. Use cfi
25636         intrinsics.
25637         (LLL_STUB_UNWIND_INFO*): Remove.
25639 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25641         [BZ #16758]
25642         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
25643         blank values.
25645 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
25647         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
25649 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
25651         [BZ #16198]
25652         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
25653         fnstenv.
25654         * math/test-fenv-preserve.c: New file.
25655         * math/Makefile (tests): Add test-fenv-preserve.
25657 2014-03-26  Will Newton <will.newton@linaro.org>
25659         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
25661 2014-03-25  Roland McGrath  <roland@hack.frob.com>
25663         * scripts/versionlist.awk: Partition the version sets and emit all
25664         GLIBC_* (sorted) before all others (sorted).
25666 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
25668         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
25669         GLIBC_2.2.5 version.
25671 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25673         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
25674         calls.
25676         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
25677         previous change.
25679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25681 2014-03-25  Andreas Schwab  <schwab@suse.de>
25683         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
25684         label to be used after in6ailist is initialized.
25686 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25688         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25689         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
25691 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
25693         [BZ #16357]
25694         [BZ #16599]
25695         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
25696         min_plus_half.
25697         (fp_formats): Update initializers.
25698         (init_fp_formats): Initialize new field.
25699         (output_for_one_input_case): Allow underflow for results up to
25700         min_plus_half.
25701         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
25702         * math/auto-libm-test-in: Don't mark some underflows from asin and
25703         atanh as spurious.
25704         * math/auto-libm-test-out: Regenerated.
25705         * sysdeps/i386/fpu/libm-test-ulps: Update.
25706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25708 2014-03-25  Andreas Schwab  <schwab@suse.de>
25710         * libio/Makefile (tst-ftell-partial-wide-ENV)
25711         (tst-ftell-active-handler-ENV): Define.
25713 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
25715         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
25717 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
25719         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
25721 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
25723         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
25724         * sysdeps/x86_64/fpu/multiarch/e_exp.c
25725         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25727 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
25729         [BZ #16634]
25730         * elf/dl-load.c (open_verify): Add mode parameter.
25731         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
25732         (open_path): Change from boolean 'secure' to complete flag 'mode'
25733         (_dl_map_object): Adjust.
25734         * elf/Makefile (tests): Add tst-dlopen-aout.
25735         * elf/tst-dlopen-aout.c: New test.
25737 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
25739         [BZ #16714]
25740         * sysdeps/unix/sysv/linux/s390/bits/stat.h
25741         (struct stat): Rename member pad0 to __glibc_reserved0.
25743         [BZ #16712]
25744         * sysdeps/s390/s390-32/bits/wordsize.h
25745         (__WORDSIZE32_SIZE_ULONG): New define.
25746         * sysdeps/s390/s390-64/bits/wordsize.h
25747         (__WORDSIZE32_SIZE_ULONG): Likewise.
25748         * sysdeps/generic/stdint.h (SIZE_MAX):
25749         Define as UL if __WORDSIZE32_SIZE_ULONG.
25751         [BZ #16713]
25752         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
25753         (__glibc_reserved0): New variable.
25754         (sa_flags): Change type to int.
25756         * posix/Makefile (before-compile): Use += before-compile instead
25757         of a :=.
25759         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
25760         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
25762 2014-03-20  Andreas Schwab  <schwab@suse.de>
25764         [BZ #16743]
25765         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
25766         non-matching result from nscd.
25768 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25770         * scripts/bench.py: Moved to ...
25771         * benchtests/scripts/bench.py: ... here.
25772         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
25774 2014-03-24  Andreas Schwab  <schwab@suse.de>
25776         [BZ #16002]
25777         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
25778         alloca_account and account alloca use for struct in6ailist.
25780 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
25782         [BZ #16284]
25783         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
25784         rounding mode to recompute results that overflow to infinity or
25785         underflow to zero.
25786         * math/auto-libm-test-in: Don't mark tests as expected to fail for
25787         bug 16284.
25788         * math/auto-libm-test-out: Regenerated.
25789         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
25790         (ccosh_test): Likewise.
25791         (csin_test_data): Use plus_oflow.
25792         (csin_test): Use ALL_RM_TEST.
25793         (csinh_test_data): Use plus_oflow.
25794         (csinh_test): Use ALL_RM_TEST.
25795         * sysdeps/i386/fpu/libm-test-ulps: Update.
25796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25798 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
25800         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
25801         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
25802         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
25804         [BZ #16731]
25805         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
25806         when x - 1 is zero.
25807         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
25808         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
25809         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
25810         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
25811         argument is 1.
25812         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
25813         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
25814         zero.
25815         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
25816         * sysdeps/i386/fpu/libm-test-ulps: Update.
25817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25819 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25821         * scripts/bench.pl: Remove file.
25822         * scripts/bench.py: New benchmark script.
25823         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
25824         * benchtests/README: Mention python dependency.
25825         * scripts/pylintrc: New file.
25826         * scripts/pylint: New file.
25828         * bits/mathdef.h: Use #ifdef instead of #if.
25829         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
25830         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
25831         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
25832         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
25833         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
25834         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
25836 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25837             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25839         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
25840         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
25841         and strpbrk-ppc64 objects.
25842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25843         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
25844         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
25845         multiarch strpbrk for POWER7.
25846         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
25847         multiarch strpbrk for PPC64.
25848         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
25849         ifunc selector.
25850         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
25851         strpbrk for POWER7.
25853 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
25855         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
25856         (atan_test): Likewise.
25857         (atanh_test_data): Use NO_TEST_INLINE for two tests.
25858         (atanh_test): Use ALL_RM_TEST.
25859         (atan2_test_data): Likewise.
25860         (cabs_test): Likewise.
25861         (cacosh_test): Likewise.
25862         (carg_test): Likewise.
25863         (casin_test): Likewise.
25864         (casinh_test): Likewise.
25865         (cbrt_test): Likewise.
25866         (csqrt_test): Likewise.
25867         (erf_test): Likewise.
25868         (erfc_test): Likewise.
25869         (pow10_test): Likewise.
25870         (exp2_test): Likewise.
25871         (hypot_test): Likewise.
25872         (j0_test): Likewise.
25873         (j1_test): Likewise.
25874         (lgamma_test): Likewise.
25875         (gamma_test): Likewise.
25876         (sincos_test): Likewise.
25877         (tanh_test): Likewise.
25878         (y0_test): Likewise.
25879         (y1_test): Likewise.
25880         * sysdeps/i386/fpu/libm-test-ulps: Update.
25881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25883 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25885         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
25886         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
25887         and strcspn-ppc64 objects.
25888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25889         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
25890         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
25891         multiarch strcspn for POWER7.
25892         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
25893         multiarch strcspn for PPC64.
25894         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
25895         ifunc selector.
25896         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
25897         strcspn for POWER7.
25899 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
25901         * math/gen-libm-test.pl (generate_testfile): Expect only function
25902         name as argument to AUTO_TESTS_* and pass results for all rounding
25903         modes to parse_args.
25904         (parse_auto_input): Separate inputs of automatic tests from
25905         outputs before storing in %auto_tests.
25906         * math/libm-test.inc (acos_test_data): Update call to
25907         AUTO_TESTS_f_f.
25908         (acos_test): Use ALL_RM_TEST.
25909         (acos_tonearest_test_data): Remove.
25910         (acos_test_tonearest): Likewise.
25911         (acos_towardzero_test_data): Likewise.
25912         (acos_test_towardzero): Likewise.
25913         (acos_downward_test_data): Likewise.
25914         (acos_test_downward): Likewise.
25915         (acos_upward_test_data): Likewise.
25916         (acos_test_upward): Likewise.
25917         (acosh_test_data): Update call to AUTO_TESTS_f_f.
25918         (asin_test_data): Likewise.
25919         (asin_test): Use ALL_RM_TEST.
25920         (asin_tonearest_test_data): Remove.
25921         (asin_test_tonearest): Likewise.
25922         (asin_towardzero_test_data): Likewise.
25923         (asin_test_towardzero): Likewise.
25924         (asin_downward_test_data): Likewise.
25925         (asin_test_downward): Likewise.
25926         (asin_upward_test_data): Likewise.
25927         (asin_test_upward): Likewise.
25928         (asinh_test_data): Update call to AUTO_TESTS_f_f.
25929         (atan_test_data): Likewise.
25930         (atanh_test_data): Likewise.
25931         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
25932         (cabs_test_data): Update call to AUTO_TESTS_c_f.
25933         (carg_test_data): Likewise.
25934         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
25935         (ccos_test_data): Update call to AUTO_TESTS_c_c.
25936         (ccosh_test_data): Likewise.
25937         (cexp_test_data): Likewise.
25938         (clog_test_data): Likewise.
25939         (clog10_test_data): Likewise.
25940         (cos_test_data): Update call to AUTO_TESTS_f_f.
25941         (cos_test): Use ALL_RM_TEST.
25942         (cos_tonearest_test_data): Remove.
25943         (cos_test_tonearest): Likewise.
25944         (cos_towardzero_test_data): Likewise.
25945         (cos_test_towardzero): Likewise.
25946         (cos_downward_test_data): Likewise.
25947         (cos_test_downward): Likewise.
25948         (cos_upward_test_data): Likewise.
25949         (cos_test_upward): Likewise.
25950         (cosh_test_data): Update call to AUTO_TESTS_f_f.
25951         (cosh_test): Use ALL_RM_TEST.
25952         (cosh_tonearest_test_data): Remove.
25953         (cosh_test_tonearest): Likewise.
25954         (cosh_towardzero_test_data): Likewise.
25955         (cosh_test_towardzero): Likewise.
25956         (cosh_downward_test_data): Likewise.
25957         (cosh_test_downward): Likewise.
25958         (cosh_upward_test_data): Likewise.
25959         (cosh_test_upward): Likewise.
25960         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
25961         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
25962         (ctan_test_data): Likewise.
25963         (ctan_test): Use ALL_RM_TEST.
25964         (ctan_tonearest_test_data): Remove.
25965         (ctan_test_tonearest): Likewise.
25966         (ctan_towardzero_test_data): Likewise.
25967         (ctan_test_towardzero): Likewise.
25968         (ctan_downward_test_data): Likewise.
25969         (ctan_test_downward): Likewise.
25970         (ctan_upward_test_data): Likewise.
25971         (ctan_test_upward): Likewise.
25972         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
25973         (ctanh_test): Use ALL_RM_TEST.
25974         (ctanh_tonearest_test_data): Remove.
25975         (ctanh_test_tonearest): Likewise.
25976         (ctanh_towardzero_test_data): Likewise.
25977         (ctanh_test_towardzero): Likewise.
25978         (ctanh_downward_test_data): Likewise.
25979         (ctanh_test_downward): Likewise.
25980         (ctanh_upward_test_data): Likewise.
25981         (ctanh_test_upward): Likewise.
25982         (erf_test_data): Update call to AUTO_TESTS_f_f.
25983         (erfc_test_data): Likewise.
25984         (exp_test_data): Likewise.
25985         (exp_test): Use ALL_RM_TEST.
25986         (exp_tonearest_test_data): Remove.
25987         (exp_test_tonearest): Likewise.
25988         (exp_towardzero_test_data): Likewise.
25989         (exp_test_towardzero): Likewise.
25990         (exp_downward_test_data): Likewise.
25991         (exp_test_downward): Likewise.
25992         (exp_upward_test_data): Likewise.
25993         (exp_test_upward): Likewise.
25994         (exp10_test_data): Update call to AUTO_TESTS_f_f.
25995         (exp10_test): Use ALL_RM_TEST.
25996         (exp10_tonearest_test_data): Remove.
25997         (exp10_test_tonearest): Likewise.
25998         (exp10_towardzero_test_data): Likewise.
25999         (exp10_test_towardzero): Likewise.
26000         (exp10_downward_test_data): Likewise.
26001         (exp10_test_downward): Likewise.
26002         (exp10_upward_test_data): Likewise.
26003         (exp10_test_upward): Likewise.
26004         (exp2_test_data): Update call to AUTO_TESTS_f_f.
26005         (expm1_test_data): Likewise.
26006         (expm1_test): Use ALL_RM_TEST.
26007         (expm1_tonearest_test_data): Remove.
26008         (expm1_test_tonearest): Likewise.
26009         (expm1_towardzero_test_data): Likewise.
26010         (expm1_test_towardzero): Likewise.
26011         (expm1_downward_test_data): Likewise.
26012         (expm1_test_downward): Likewise.
26013         (expm1_upward_test_data): Likewise.
26014         (expm1_test_upward): Likewise.
26015         (fma_test_data): Update call to AUTO_TESTS_fff_f.
26016         (fma_test): Use ALL_RM_TEST.
26017         (fma_towardzero_test_data): Remove.
26018         (fma_test_towardzero): Likewise.
26019         (fma_downward_test_data): Likewise.
26020         (fma_test_downward): Likewise.
26021         (fma_upward_test_data): Likewise.
26022         (fma_test_upward): Likewise.
26023         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
26024         (j0_test_data): Update call to AUTO_TESTS_f_f.
26025         (j1_test_data): Likewise.
26026         (jn_test_data): Update call to AUTO_TESTS_if_f.
26027         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
26028         (log_test_data): Update call to AUTO_TESTS_f_f.
26029         (log10_test_data): Likewise.
26030         (log1p_test_data): Likewise.
26031         (log2_test_data): Likewise.
26032         (pow_test_data): Update call to AUTO_TESTS_ff_f.
26033         (pow_tonearest_test_data): Likewise.
26034         (sin_test_data): Update call to AUTO_TESTS_f_f.
26035         (sin_test): Use ALL_RM_TEST.
26036         (sin_tonearest_test_data): Remove.
26037         (sin_test_tonearest): Likewise.
26038         (sin_towardzero_test_data): Likewise.
26039         (sin_test_towardzero): Likewise.
26040         (sin_downward_test_data): Likewise.
26041         (sin_test_downward): Likewise.
26042         (sin_upward_test_data): Likewise.
26043         (sin_test_upward): Likewise.
26044         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
26045         (sinh_test_data): Update call to AUTO_TESTS_f_f.
26046         (sinh_test): Use ALL_RM_TEST.
26047         (sinh_tonearest_test_data): Remove.
26048         (sinh_test_tonearest): Likewise.
26049         (sinh_towardzero_test_data): Likewise.
26050         (sinh_test_towardzero): Likewise.
26051         (sinh_downward_test_data): Likewise.
26052         (sinh_test_downward): Likewise.
26053         (sinh_upward_test_data): Likewise.
26054         (sinh_test_upward): Likewise.
26055         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
26056         (sqrt_test): Use ALL_RM_TEST.
26057         (sqrt_tonearest_test_data): Remove.
26058         (sqrt_test_tonearest): Likewise.
26059         (sqrt_towardzero_test_data): Likewise.
26060         (sqrt_test_towardzero): Likewise.
26061         (sqrt_downward_test_data): Likewise.
26062         (sqrt_test_downward): Likewise.
26063         (sqrt_upward_test_data): Likewise.
26064         (sqrt_test_upward): Likewise.
26065         (tan_test_data): Update call to AUTO_TESTS_f_f.
26066         (tan_test): Use ALL_RM_TEST.
26067         (tan_tonearest_test_data): Remove.
26068         (tan_test_tonearest): Likewise.
26069         (tan_towardzero_test_data): Likewise.
26070         (tan_test_towardzero): Likewise.
26071         (tan_downward_test_data): Likewise.
26072         (tan_test_downward): Likewise.
26073         (tan_upward_test_data): Likewise.
26074         (tan_test_upward): Likewise.
26075         (tanh_test_data): Update call to AUTO_TESTS_f_f.
26076         (tgamma_test_data): Likewise.
26077         (y0_test_data): Likewise.
26078         (y1_test_data): Likewise.
26079         (yn_test_data): Update call to AUTO_TESTS_if_f.
26080         (main): Do not call removed functions.
26082 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
26084         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
26085         (ldexp_test_data): Remove.
26086         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
26087         scalbn_test_data.
26088         (scalb_test): Use ALL_RM_TEST.
26090 2014-03-19  Andreas Schwab  <schwab@suse.de>
26092         * nscd/nscd.service: Also invalidate netgroup cache on reload.
26094 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
26096         [BZ #16649]
26097         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26098         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
26099         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
26100         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26101         (__ASSUME_PREADV): Undefine.
26102         (__ASSUME_PWRITEV): Likewise.
26104 2014-03-18  Roland McGrath  <roland@hack.frob.com>
26106         * bits/mman-linux.h: Add comment about non-Linux use.
26107         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
26108         bits/mman-linux.h resting place.
26110         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
26111         * bits/mman-linux.h: ... here.
26113 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26115         * conform/conformtest.pl: Add standard definition when calling C
26116         preprocessor on data files.
26117         (checknamespace): Remove unused variable.
26119 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
26121         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
26122         minus_oflow, plus_uflow and minus_uflow in expected results.
26123         * math/libm-test.inc (scalbn_test_data): Add more tests of
26124         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
26125         minus_uflow.
26126         (scalbn_test): Use ALL_RM_TEST.
26127         (scalbln_test_data): Add more tests of negative arguments.  Use
26128         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
26129         (scalbln_test): Use ALL_RM_TEST.
26131 2014-03-18  Roland McGrath  <roland@hack.frob.com>
26133         * scripts/abilist.awk: Ignore symbols marked with .hidden.
26135 2014-03-18  Will Newton  <will.newton@linaro.org>
26137         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
26138         inaccurate comment.
26140 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
26142         * Makerules [!subdir] (check-abi): Exit with error status if a
26143         test failed.
26145 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
26147         * math/libm-test.inc (nearbyint_test_data): Include all tests used
26148         for rint.  Include results for all rounding modes.
26149         (nearbyint_test): Use ALL_RM_TEST.
26150         (rint_test_data): Include all tests used for nearbyint.
26152 2014-03-17  Will Newton  <will.newton@linaro.org>
26154         * nptl/sysdeps/pthread/pthread.h: Revert previous
26155         change.
26157         * sysdeps/generic/ldsodefs.h: Revert previous
26158         change.
26160         * libio/genops.c: Revert previous change.
26161         * libio/libioP.h: Likewise.
26162         * stdio-common/vfprintf.c: Likewise.
26164         * sysdeps/generic/math_private.h: Revert previous
26165         change.
26167         * sysdeps/generic/math_private.h: Check whether
26168         HAVE_RM_CTX is defined with #ifdef rather
26169         than #if.
26171         * argp/argp-fmtstream.h: Check whether
26172         __STRICT_ANSI__ is defined with #ifdef rather
26173         than #if.
26174         * argp/argp.h: Likewise.
26176         * libio/genops.c: Check whether
26177         _IO_JUMPS_OFFSET is defined with #ifdef rather
26178         than #if.
26179         * libio/libioP.h: Likewise.
26180         * stdio-common/vfprintf.c: Likewise.
26182         * sysdeps/generic/ldsodefs.h: Check whether
26183         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
26184         than #if.
26186         * nptl/sysdeps/pthread/pthread.h: Check
26187         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
26188         its value.
26190 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26192         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
26193         setting O_APPEND.
26194         * libio/tst-ftell-active-handler.c (do_append_test): Add a
26195         test case.
26197         [BZ #16680]
26198         * libio/fileops.c (_IO_file_open): Seek to end of file but
26199         don't cache the offset.
26200         (get_file_offset): Remove function.
26201         (do_ftell): Use cached offset when available.
26202         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
26203         don't cache the offset.
26204         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
26205         case.
26206         (do_one_test): Call it.
26207         (do_ftell_test): Fix up expected old offset for a+ mode.
26208         * libio/wfileops.c (do_ftell_wide): Used cached offset when
26209         available.
26211         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
26212         up test status with function return status.
26213         (do_write_test): Likewise.
26214         (do_append_test): Likewise.
26216         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
26217         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
26218         Remove.
26220 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
26222         * math/gen-libm-test.pl (parse_args): Handle results specified for
26223         each rounding mode separately.
26224         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
26225         tests and results from lrint_tonearest_test_data,
26226         lrint_towardzero_test_data, lrint_downward_test_data and
26227         lrint_upward_test_data.
26228         (lrint_test): Use ALL_RM_TEST.
26229         (lrint_tonearest_test_data): Remove.
26230         (lrint_test_tonearest): Likewise.
26231         (lrint_towardzero_test_data): Likewise.
26232         (lrint_test_towardzero): Likewise.
26233         (lrint_downward_test_data): Likewise.
26234         (lrint_test_downward): Likewise.
26235         (lrint_upward_test_data): Likewise.
26236         (lrint_test_upward): Likewise.
26237         (llrint_test_data): Merge in per-rounding-mode tests and results
26238         from llrint_tonearest_test_data, llrint_towardzero_test_data,
26239         llrint_downward_test_data and llrint_upward_test_data.
26240         (llrint_test): Use ALL_RM_TEST.
26241         (llrint_tonearest_test_data): Remove.
26242         (llrint_test_tonearest): Likewise.
26243         (llrint_towardzero_test_data): Likewise.
26244         (llrint_test_towardzero): Likewise.
26245         (llrint_downward_test_data): Likewise.
26246         (llrint_test_downward): Likewise.
26247         (llrint_upward_test_data): Likewise.
26248         (llrint_test_upward): Likewise.
26249         (rint_test_data): Merge in per-rounding-mode tests and results
26250         from rint_tonearest_test_data, rint_towardzero_test_data,
26251         rint_downward_test_data and rint_upward_test_data.  Add
26252         per-rounding-mode results for tests not in those arrays.
26253         (rint_test): Use ALL_RM_TEST.
26254         (rint_tonearest_test_data): Remove.
26255         (rint_test_tonearest): Likewise.
26256         (rint_towardzero_test_data): Likewise.
26257         (rint_test_towardzero): Likewise.
26258         (rint_downward_test_data): Likewise.
26259         (rint_test_downward): Likewise.
26260         (rint_upward_test_data): Likewise.
26261         (rint_test_upward): Likewise.
26262         (main): Don't call removed functions.
26264 2014-03-14  Roland McGrath  <roland@hack.frob.com>
26266         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
26267         "Compiled on ..." crapola.  It is anti-useful.
26269 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
26271         * scripts/evaluate-test.sh: Handle fourth argument to determine
26272         whether test run should stop on failure.
26273         * Makeconfig (stop-on-test-failure): New variable.
26274         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
26275         $(stop-on-test-failure).
26276         * Makefile (tests): Give a summary of results from testing and
26277         exit with failure status if they include an ERROR or FAIL.
26278         (xtests): Likewise.
26279         * manual/install.texi (Configuring and compiling): Mention
26280         stop-on-test-failure=y.
26281         * INSTALL: Regenerated.
26283 2014-03-14  Roland McGrath  <roland@hack.frob.com>
26285         * scripts/versionlist.awk: New file.
26286         * Makerules [$(build-shared) = yes]
26287         (postclean-generated): Add Versions.def, not Versions.def.v and
26288         Versions.def.v.i.
26289         ($(common-objpfx)Versions.def.v.i): Target removed.
26290         ($(common-objpfx)Versions.def): New target.
26291         ($(common-objpfx)Versions.all): Depend on that rather that
26292         $(common-objpfx)Versions.def.v.
26293         * Versions.def: File removed.
26295         * Makeconfig (+gccwarn): Add -Wundef.
26296         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
26297         a dl-sysdep.h breaking its contract.
26298         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
26299         * include/stackinfo.h: New file.
26300         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
26301         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
26302         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
26303         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
26304         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
26305         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
26306         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26307         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26308         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26309         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26310         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26311         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
26312         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26313         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26314         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26316 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26318         [BZ #16707]
26319         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
26320         implementation.
26321         * math/libm-test.inc (round_test_data): Add more tests.
26323         [BZ #16706]
26324         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
26325         implementation.
26326         * math/libm-test.inc (nearbyint_test_data): Add more tests.
26328         [BZ #16701]
26329         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
26330         implementation.
26331         * math/libm-test.inc (ceil_test_data): Add more tests.
26333         * math/libm-test.inc (trunc_test_data): Add more tests related to
26334         BZ#16414.
26336 2014-03-14  Roland McGrath  <roland@hack.frob.com>
26338         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
26339         with #if rather than #ifdef.
26340         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
26342 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
26344         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
26345         first.  Disable AVX-512 GCC support if assembler doesn't support
26346         it.
26347         * sysdeps/x86_64/configure: Regenerated.
26349 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
26351         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
26352         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
26353         (__old_pthread_attr_setstack): Likewise.
26354         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
26355         [!_STACK_GROWS_DOWN]: Likewise.
26357 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
26359         * config.make.in (have-bash2): Delete.
26360         * configure.ac (libc_cv_have_bash2): Delete.
26361         * configure: Regenerate.
26362         * elf/Makefile (common-ldd-rewrite): Rename to ...
26363         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
26364         (sh-ldd-rewrite): Delete.
26365         (bash-ldd-rewrite): Delete.
26366         (have-bash2): Delete checks.
26367         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
26368         ldd-rewrite.
26370         * config.make.in (have-ksh): Delete.
26371         (KSH): Delete.
26372         * configure.ac (libc_cv_have_ksh): Delete.
26373         * configure: Regenerate.
26375         * elf/Makefile: Delete $(have-ksh) check.
26376         ($(objpfx)sotruss): Change KSH to BASH.
26377         * elf/sotruss.ksh: Rename to ...
26378         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
26379         function style to match POSIX.  Drop ksh vim mode setting.
26381         * manual/time.texi (Specifying the Time Zone with TZ): Change
26382         Tuesday to Thursday.
26384         * debug/tst-longjmp_chk2.c: Update header comment.
26385         (stackoverflow_handler): Add comment.  Call assert on pass value.
26387 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
26389         [BZ #16194]
26390         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
26391         (HAVE_AVX512_ASM_SUPPORT): Likewise.
26392         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
26393         (La_x86_64_vector): Add zmm.
26394         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
26395         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
26396         ($(objpfx)tst-audit10): New target.
26397         ($(objpfx)tst-audit10.out): Likewise.
26398         (tst-audit10-ENV): New.
26399         (AVX512-CFLAGS): Likewise.
26400         (CFLAGS-tst-audit10.c): Likewise.
26401         (CFLAGS-tst-auditmod10a.c): Likewise.
26402         (CFLAGS-tst-auditmod10b.c): Likewise.
26403         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
26404         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
26405         * sysdeps/x86_64/configure: Regenerated.
26406         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
26407         AVX-512 zmm register support.
26408         (_dl_x86_64_save_sse): Likewise.
26409         (_dl_x86_64_restore_sse): Likewise.
26410         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
26411         size vector registers.
26412         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
26413         (ZMM_SIZE): Likewise.
26414         * sysdeps/x86_64/tst-audit10.c: New file.
26415         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
26416         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
26418 2014-03-13  Roland McGrath  <roland@hack.frob.com>
26420         * configure.ac (HAVE_EHDR_START): New check.
26421         * configure: Regenerated.
26422         * config.h.in (HAVE_EHDR_START): New #undef.
26423         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
26424         assuming the lowest-addressed segment maps the start of the file.
26426 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
26428         * INSTALL: Regenerated.
26430 2014-03-13  Will Newton  <will.newton@linaro.org>
26432         * manual/setjmp.texi (System V contexts): Improve
26433         clarity and grammar of documentation.
26435 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26437         [BZ #16381]
26438         * elf/Makefile (tests): Add tst-pie2.
26439         (tests-pie): Add tst-pie2.
26440         * elf/tst-pie2.c: New file.
26441         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
26442         for ET_EXEC.
26443         * elf/rtld.c (map_doit): Load executable as lt_executable.
26444         (dl_main): Likewise.
26446 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
26448         [BZ #16642]
26449         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26450         (__ASSUME_PSELECT): Undefine.
26452 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26454         [BZ #16689]
26455         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
26456         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
26457         static build.
26458         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
26459         selector for static builds.
26461 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26463         [BZ #16695]
26464         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
26465         key in the buffer.
26467 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26469         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
26470         IFUNC selector for static builds.
26472 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
26474         * sysdeps/mips/math_private.h [__mips_hard_float]
26475         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
26476         libc_feresetround_mips_ctx.
26477         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
26478         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
26479         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
26481         [BZ #16677]
26482         * math/s_nextafter.c (__nextafter): Do not return value from
26483         overflowing computation.
26484         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
26485         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
26486         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
26487         Likewise.
26488         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
26489         Likewise.
26490         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
26491         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
26493 2014-03-11  Roland McGrath  <roland@hack.frob.com>
26495         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
26496         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
26497         Move sfi_sp use from the load-multiple (that no longer sets sp) to
26498         the new mov targetting sp.
26500 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26502         [BZ #16683]
26503         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
26504         Define it for static builds as well.
26505         (NO_BZERO_IMPL): Likewise.
26507 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26509         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
26510         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
26511         multiarch strspn for PPC64.
26512         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
26513         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
26514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26515         (__libc_ifunc_impl_list): Likewise.
26516         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
26517         multiarch optimizations
26518         * string/strspn.c (strspn): Using macro to redefine symbol name.
26520 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26521             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26523         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
26524         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
26525         multiarch strncat for PPC64.
26526         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
26527         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
26528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26529         (__libc_ifunc_impl_list): Likewise.
26530         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
26531         multiarch optimizations
26533 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26535         [BZ #16639]
26536         * nscd/nscd.service: Make service type forking.
26538 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26540         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
26541         sign in non default rounding modes.
26542         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
26544 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
26546         * math/libm-test.inc (ALL_RM_TEST): New macro.
26547         (ceil_test): Use ALL_RM_TEST.
26548         (cimag_test): Likewise.
26549         (conj_test): Likewise.
26550         (copysign_test): Likewise.
26551         (cproj_test): Likewise.
26552         (creal_test): Likewise.
26553         (fabs_test): Likewise.
26554         (floor_test): Likewise.
26555         (fmax_test): Likewise.
26556         (fmin_test): Likewise.
26557         (fmod_test): Likewise.
26558         (fpclassify_test): Likewise.
26559         (frexp_test): Likewise.
26560         (ilogb_test): Likewise.
26561         (isfinite_test): Likewise.
26562         (finite_test): Likewise.
26563         (isgreater_test): Likewise.
26564         (isgreaterequal_test): Likewise.
26565         (isinf_test): Likewise.
26566         (isless_test): Likewise.
26567         (islessequal_test): Likewise.
26568         (islessgreater_test): Likewise.
26569         (isnan_test): Likewise.
26570         (isnormal_test): Likewise.
26571         (issignaling_test): Likewise.
26572         (isunordered_test): Likewise.
26573         (logb_test): Likewise.
26574         (logb_downward_test_data): Remove.
26575         (logb_test_downward): Likewise.
26576         (lround_test): Use ALL_RM_TEST.
26577         (llround_test): Likewise.
26578         (modf_test): Likewise.
26579         (nexttoward_test): Likewise.
26580         (remainder_test): Likewise.
26581         (drem_test): Likewise.
26582         (remainder_tonearest_test_data): Likewise.
26583         (remainder_test_tonearest): Likewise.
26584         (drem_test_tonearest): Likewise.
26585         (remainder_towardzero_test_data): Likewise.
26586         (remainder_test_towardzero): Likewise.
26587         (drem_test_towardzero): Likewise.
26588         (remainder_downward_test_data): Likewise.
26589         (remainder_test_downward): Likewise.
26590         (drem_test_downward): Likewise.
26591         (remainder_upward_test_data): Likewise.
26592         (remainder_test_upward): Likewise.
26593         (drem_test_upward): Likewise.
26594         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
26595         (round_test): Use ALL_RM_TEST.
26596         (signbit_test): Likewise.
26597         (trunc_test): Likewise.
26598         (significand_test): Likewise.
26599         (main): Don't call removed functions.
26601 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
26603         [BZ #16674]
26604         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
26605         || __USE_XOPEN2K8].
26606         (ILL_ILLOPN): Likewise.
26607         (ILL_ILLADR): Likewise.
26608         (ILL_ILLTRP): Likewise.
26609         (ILL_PRVOPC): Likewise.
26610         (ILL_PRVREG): Likewise.
26611         (ILL_COPROC): Likewise.
26612         (ILL_BADSTK): Likewise.
26613         (FPE_INTDIV): Likewise.
26614         (FPE_INTOVF): Likewise.
26615         (FPE_FLTDIV): Likewise.
26616         (FPE_FLTOVF): Likewise.
26617         (FPE_FLTUND): Likewise.
26618         (FPE_FLTRES): Likewise.
26619         (FPE_FLTINV): Likewise.
26620         (FPE_FLTSUB): Likewise.
26621         (SEGV_MAPERR): Likewise.
26622         (SEGV_ACCERR): Likewise.
26623         (BUS_ADRALN): Likewise.
26624         (BUS_ADRERR): Likewise.
26625         (BUS_OBJERR): Likewise.
26626         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26627         (TRAP_TRACE): Likewise.
26628         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26629         __USE_XOPEN2K8].
26630         (CLD_KILLED): Likewise.
26631         (CLD_DUMPED): Likewise.
26632         (CLD_TRAPPED): Likewise.
26633         (CLD_STOPPED): Likewise.
26634         (CLD_CONTINUED): Likewise.
26635         (POLL_IN): Likewise.
26636         (POLL_OUT): Likewise.
26637         (POLL_MSG): Likewise.
26638         (POLL_ERR): Likewise.
26639         (POLL_PRI): Likewise.
26640         (POLL_HUP): Likewise.
26641         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
26642         Likewise.
26643         (ILL_ILLOPN): Likewise.
26644         (ILL_ILLADR): Likewise.
26645         (ILL_ILLTRP): Likewise.
26646         (ILL_PRVOPC): Likewise.
26647         (ILL_PRVREG): Likewise.
26648         (ILL_COPROC): Likewise.
26649         (ILL_BADSTK): Likewise.
26650         (FPE_INTDIV): Likewise.
26651         (FPE_INTOVF): Likewise.
26652         (FPE_FLTDIV): Likewise.
26653         (FPE_FLTOVF): Likewise.
26654         (FPE_FLTUND): Likewise.
26655         (FPE_FLTRES): Likewise.
26656         (FPE_FLTINV): Likewise.
26657         (FPE_FLTSUB): Likewise.
26658         (SEGV_MAPERR): Likewise.
26659         (SEGV_ACCERR): Likewise.
26660         (BUS_ADRALN): Likewise.
26661         (BUS_ADRERR): Likewise.
26662         (BUS_OBJERR): Likewise.
26663         (BUS_MCEERR_AR): Likewise.
26664         (BUS_MCEERR_AO): Likewise.
26665         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26666         (TRAP_TRACE): Likewise.
26667         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26668         __USE_XOPEN2K8].
26669         (CLD_KILLED): Likewise.
26670         (CLD_DUMPED): Likewise.
26671         (CLD_TRAPPED): Likewise.
26672         (CLD_STOPPED): Likewise.
26673         (CLD_CONTINUED): Likewise.
26674         (POLL_IN): Likewise.
26675         (POLL_OUT): Likewise.
26676         (POLL_MSG): Likewise.
26677         (POLL_ERR): Likewise.
26678         (POLL_PRI): Likewise.
26679         (POLL_HUP): Likewise.
26680         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
26681         (ILL_ILLOPN): Likewise.
26682         (ILL_ILLADR): Likewise.
26683         (ILL_ILLTRP): Likewise.
26684         (ILL_PRVOPC): Likewise.
26685         (ILL_PRVREG): Likewise.
26686         (ILL_COPROC): Likewise.
26687         (ILL_BADSTK): Likewise.
26688         (FPE_INTDIV): Likewise.
26689         (FPE_INTOVF): Likewise.
26690         (FPE_FLTDIV): Likewise.
26691         (FPE_FLTOVF): Likewise.
26692         (FPE_FLTUND): Likewise.
26693         (FPE_FLTRES): Likewise.
26694         (FPE_FLTINV): Likewise.
26695         (FPE_FLTSUB): Likewise.
26696         (SEGV_MAPERR): Likewise.
26697         (SEGV_ACCERR): Likewise.
26698         (BUS_ADRALN): Likewise.
26699         (BUS_ADRERR): Likewise.
26700         (BUS_OBJERR): Likewise.
26701         (BUS_MCEERR_AR): Likewise.
26702         (BUS_MCEERR_AO): Likewise.
26703         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26704         (TRAP_TRACE): Likewise.
26705         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26706         __USE_XOPEN2K8].
26707         (CLD_KILLED): Likewise.
26708         (CLD_DUMPED): Likewise.
26709         (CLD_TRAPPED): Likewise.
26710         (CLD_STOPPED): Likewise.
26711         (CLD_CONTINUED): Likewise.
26712         (POLL_IN): Likewise.
26713         (POLL_OUT): Likewise.
26714         (POLL_MSG): Likewise.
26715         (POLL_ERR): Likewise.
26716         (POLL_PRI): Likewise.
26717         (POLL_HUP): Likewise.
26718         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
26719         Likewise.
26720         (ILL_ILLOPN): Likewise.
26721         (ILL_ILLADR): Likewise.
26722         (ILL_ILLTRP): Likewise.
26723         (ILL_PRVOPC): Likewise.
26724         (ILL_PRVREG): Likewise.
26725         (ILL_COPROC): Likewise.
26726         (ILL_BADSTK): Likewise.
26727         (ILL_BADIADDR): Likewise.
26728         (ILL_BREAK): Likewise.
26729         (FPE_INTDIV): Likewise.
26730         (FPE_INTOVF): Likewise.
26731         (FPE_FLTDIV): Likewise.
26732         (FPE_FLTOVF): Likewise.
26733         (FPE_FLTUND): Likewise.
26734         (FPE_FLTRES): Likewise.
26735         (FPE_FLTINV): Likewise.
26736         (FPE_FLTSUB): Likewise.
26737         (FPE_DECOVF): Likewise.
26738         (FPE_DECDIV): Likewise.
26739         (FPE_DECERR): Likewise.
26740         (FPE_INVASC): Likewise.
26741         (FPE_INVDEC): Likewise.
26742         (SEGV_MAPERR): Likewise.
26743         (SEGV_ACCERR): Likewise.
26744         (SEGV_PSTKOVF): Likewise.
26745         (BUS_ADRALN): Likewise.
26746         (BUS_ADRERR): Likewise.
26747         (BUS_OBJERR): Likewise.
26748         (BUS_MCEERR_AR): Likewise.
26749         (BUS_MCEERR_AO): Likewise.
26750         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26751         (TRAP_TRACE): Likewise.
26752         (TRAP_BRANCH): Likewise.
26753         (TRAP_HWBKPT): Likewise.
26754         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26755         __USE_XOPEN2K8].
26756         (CLD_KILLED): Likewise.
26757         (CLD_DUMPED): Likewise.
26758         (CLD_TRAPPED): Likewise.
26759         (CLD_STOPPED): Likewise.
26760         (CLD_CONTINUED): Likewise.
26761         (POLL_IN): Likewise.
26762         (POLL_OUT): Likewise.
26763         (POLL_MSG): Likewise.
26764         (POLL_ERR): Likewise.
26765         (POLL_PRI): Likewise.
26766         (POLL_HUP): Likewise.
26767         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
26768         (ILL_ILLOPN): Likewise.
26769         (ILL_ILLADR): Likewise.
26770         (ILL_ILLTRP): Likewise.
26771         (ILL_PRVOPC): Likewise.
26772         (ILL_PRVREG): Likewise.
26773         (ILL_COPROC): Likewise.
26774         (ILL_BADSTK): Likewise.
26775         (FPE_INTDIV): Likewise.
26776         (FPE_INTOVF): Likewise.
26777         (FPE_FLTDIV): Likewise.
26778         (FPE_FLTOVF): Likewise.
26779         (FPE_FLTUND): Likewise.
26780         (FPE_FLTRES): Likewise.
26781         (FPE_FLTINV): Likewise.
26782         (FPE_FLTSUB): Likewise.
26783         (SEGV_MAPERR): Likewise.
26784         (SEGV_ACCERR): Likewise.
26785         (BUS_ADRALN): Likewise.
26786         (BUS_ADRERR): Likewise.
26787         (BUS_OBJERR): Likewise.
26788         (BUS_MCEERR_AR): Likewise.
26789         (BUS_MCEERR_AO): Likewise.
26790         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26791         (TRAP_TRACE): Likewise.
26792         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26793         __USE_XOPEN2K8].
26794         (CLD_KILLED): Likewise.
26795         (CLD_DUMPED): Likewise.
26796         (CLD_TRAPPED): Likewise.
26797         (CLD_STOPPED): Likewise.
26798         (CLD_CONTINUED): Likewise.
26799         (POLL_IN): Likewise.
26800         (POLL_OUT): Likewise.
26801         (POLL_MSG): Likewise.
26802         (POLL_ERR): Likewise.
26803         (POLL_PRI): Likewise.
26804         (POLL_HUP): Likewise.
26805         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
26806         (ILL_ILLOPN): Likewise.
26807         (ILL_ILLADR): Likewise.
26808         (ILL_ILLTRP): Likewise.
26809         (ILL_PRVOPC): Likewise.
26810         (ILL_PRVREG): Likewise.
26811         (ILL_COPROC): Likewise.
26812         (ILL_BADSTK): Likewise.
26813         (FPE_INTDIV): Likewise.
26814         (FPE_INTOVF): Likewise.
26815         (FPE_FLTDIV): Likewise.
26816         (FPE_FLTOVF): Likewise.
26817         (FPE_FLTUND): Likewise.
26818         (FPE_FLTRES): Likewise.
26819         (FPE_FLTINV): Likewise.
26820         (FPE_FLTSUB): Likewise.
26821         (SEGV_MAPERR): Likewise.
26822         (SEGV_ACCERR): Likewise.
26823         (BUS_ADRALN): Likewise.
26824         (BUS_ADRERR): Likewise.
26825         (BUS_OBJERR): Likewise.
26826         (BUS_MCEERR_AR): Likewise.
26827         (BUS_MCEERR_AO): Likewise.
26828         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26829         (TRAP_TRACE): Likewise.
26830         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26831         __USE_XOPEN2K8].
26832         (CLD_KILLED): Likewise.
26833         (CLD_DUMPED): Likewise.
26834         (CLD_TRAPPED): Likewise.
26835         (CLD_STOPPED): Likewise.
26836         (CLD_CONTINUED): Likewise.
26837         (POLL_IN): Likewise.
26838         (POLL_OUT): Likewise.
26839         (POLL_MSG): Likewise.
26840         (POLL_ERR): Likewise.
26841         (POLL_PRI): Likewise.
26842         (POLL_HUP): Likewise.
26843         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
26844         (ILL_ILLOPN): Likewise.
26845         (ILL_ILLADR): Likewise.
26846         (ILL_ILLTRP): Likewise.
26847         (ILL_PRVOPC): Likewise.
26848         (ILL_PRVREG): Likewise.
26849         (ILL_COPROC): Likewise.
26850         (ILL_BADSTK): Likewise.
26851         (FPE_INTDIV): Likewise.
26852         (FPE_INTOVF): Likewise.
26853         (FPE_FLTDIV): Likewise.
26854         (FPE_FLTOVF): Likewise.
26855         (FPE_FLTUND): Likewise.
26856         (FPE_FLTRES): Likewise.
26857         (FPE_FLTINV): Likewise.
26858         (FPE_FLTSUB): Likewise.
26859         (SEGV_MAPERR): Likewise.
26860         (SEGV_ACCERR): Likewise.
26861         (BUS_ADRALN): Likewise.
26862         (BUS_ADRERR): Likewise.
26863         (BUS_OBJERR): Likewise.
26864         (BUS_MCEERR_AR): Likewise.
26865         (BUS_MCEERR_AO): Likewise.
26866         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26867         (TRAP_TRACE): Likewise.
26868         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26869         __USE_XOPEN2K8].
26870         (CLD_KILLED): Likewise.
26871         (CLD_DUMPED): Likewise.
26872         (CLD_TRAPPED): Likewise.
26873         (CLD_STOPPED): Likewise.
26874         (CLD_CONTINUED): Likewise.
26875         (POLL_IN): Likewise.
26876         (POLL_OUT): Likewise.
26877         (POLL_MSG): Likewise.
26878         (POLL_ERR): Likewise.
26879         (POLL_PRI): Likewise.
26880         (POLL_HUP): Likewise.
26881         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
26882         (ILL_ILLOPN): Likewise.
26883         (ILL_ILLADR): Likewise.
26884         (ILL_ILLTRP): Likewise.
26885         (ILL_PRVOPC): Likewise.
26886         (ILL_PRVREG): Likewise.
26887         (ILL_COPROC): Likewise.
26888         (ILL_BADSTK): Likewise.
26889         (ILL_DBLFLT): Likewise.
26890         (ILL_HARDWALL): Likewise.
26891         (FPE_INTDIV): Likewise.
26892         (FPE_INTOVF): Likewise.
26893         (FPE_FLTDIV): Likewise.
26894         (FPE_FLTOVF): Likewise.
26895         (FPE_FLTUND): Likewise.
26896         (FPE_FLTRES): Likewise.
26897         (FPE_FLTINV): Likewise.
26898         (FPE_FLTSUB): Likewise.
26899         (SEGV_MAPERR): Likewise.
26900         (SEGV_ACCERR): Likewise.
26901         (BUS_ADRALN): Likewise.
26902         (BUS_ADRERR): Likewise.
26903         (BUS_OBJERR): Likewise.
26904         (BUS_MCEERR_AR): Likewise.
26905         (BUS_MCEERR_AO): Likewise.
26906         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26907         (TRAP_TRACE): Likewise.
26908         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26909         __USE_XOPEN2K8].
26910         (CLD_KILLED): Likewise.
26911         (CLD_DUMPED): Likewise.
26912         (CLD_TRAPPED): Likewise.
26913         (CLD_STOPPED): Likewise.
26914         (CLD_CONTINUED): Likewise.
26915         (POLL_IN): Likewise.
26916         (POLL_OUT): Likewise.
26917         (POLL_MSG): Likewise.
26918         (POLL_ERR): Likewise.
26919         (POLL_PRI): Likewise.
26920         (POLL_HUP): Likewise.
26921         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
26922         (ILL_ILLOPN): Likewise.
26923         (ILL_ILLADR): Likewise.
26924         (ILL_ILLTRP): Likewise.
26925         (ILL_PRVOPC): Likewise.
26926         (ILL_PRVREG): Likewise.
26927         (ILL_COPROC): Likewise.
26928         (ILL_BADSTK): Likewise.
26929         (FPE_INTDIV): Likewise.
26930         (FPE_INTOVF): Likewise.
26931         (FPE_FLTDIV): Likewise.
26932         (FPE_FLTOVF): Likewise.
26933         (FPE_FLTUND): Likewise.
26934         (FPE_FLTRES): Likewise.
26935         (FPE_FLTINV): Likewise.
26936         (FPE_FLTSUB): Likewise.
26937         (SEGV_MAPERR): Likewise.
26938         (SEGV_ACCERR): Likewise.
26939         (BUS_ADRALN): Likewise.
26940         (BUS_ADRERR): Likewise.
26941         (BUS_OBJERR): Likewise.
26942         (BUS_MCEERR_AR): Likewise.
26943         (BUS_MCEERR_AO): Likewise.
26944         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26945         (TRAP_TRACE): Likewise.
26946         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26947         __USE_XOPEN2K8].
26948         (CLD_KILLED): Likewise.
26949         (CLD_DUMPED): Likewise.
26950         (CLD_TRAPPED): Likewise.
26951         (CLD_STOPPED): Likewise.
26952         (CLD_CONTINUED): Likewise.
26953         (POLL_IN): Likewise.
26954         (POLL_OUT): Likewise.
26955         (POLL_MSG): Likewise.
26956         (POLL_ERR): Likewise.
26957         (POLL_PRI): Likewise.
26958         (POLL_HUP): Likewise.
26959         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
26960         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
26962         [BZ #16670]
26963         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
26964         before #include of <time.h>.
26965         [!__USE_XOPEN2K] (__need_timespec): Likewise.
26966         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
26967         (test-xfail-UNIX98/sched.h/conform): Likewise.
26969 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26971         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
26972         error absence of trapping exception support.
26973         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
26975 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
26977         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
26978         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
26979         * timezone/Makefile (testdata): Move definition above include of
26980         Rules.
26981         (test-zones): New variable.
26982         (tests-special): Add zone files.
26983         (build-testdata): Use $(evaluate-test).
26985         * elf/Makefile (tests-special): Rename tests to end with .out.
26986         ($(objpfx)noload-mem): Likewise.
26987         ($(objpfx)tst-leaks1-mem): Likewise.
26988         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
26989         * iconv/Makefile (xtests-special): Change test-iconvconfig to
26990         $(objpfx)test-iconvconfig.out.
26991         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
26992         set -e inside subshell and redirect output to file.
26993         * iconvdata/Makefile (generated): Rename tests to end with .out.
26994         Correct type.
26995         (tests-special): Rename tests to end with .out.
26996         ($(objpfx)mtrace-tst-loading): Likewise.
26997         * intl/Makefile (generated): Likewise.
26998         (tests-special): Likewise.
26999         ($(objpfx)mtrace-tst-gettext): Likewise.
27000         * misc/Makefile (generated): Likewise.
27001         (tests-special): Likewise.
27002         ($(objpfx)tst-error1-mem): Likewise.
27003         * nptl/Makefile (tests-special): Likewise.
27004         ($(objpfx)tst-stack3-mem): Likewise.
27005         (generated): Likewise.
27006         * posix/Makefile (generated): Likewise.
27007         (tests-special): Likewise.
27008         (xtests-special): Likewise.
27009         ($(objpfx)tst-fnmatch-mem): Likewise.
27010         ($(objpfx)bug-regex2-mem): Likewise.
27011         ($(objpfx)bug-regex14-mem): Likewise.
27012         ($(objpfx)bug-regex21-mem): Likewise.
27013         ($(objpfx)bug-regex31-mem): Likewise.
27014         ($(objpfx)tst-vfork3-mem): Likewise.
27015         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
27016         ($(objpfx)tst-pcre-mem): Likewise.
27017         ($(objpfx)tst-boost-mem): Likewise.
27018         ($(objpfx)bug-ga2-mem): Likewise.
27019         ($(objpfx)bug-glob2-mem): Likewise.
27020         * resolv/Makefile (generate): Likewise.
27021         (tests-special): Likewise.
27022         (xtests-special): Likewise.
27023         (generated): Likewise.
27024         ($(objpfx)mtrace-tst-leaks): Likewise.
27025         ($(objpfx)mtrace-tst-leaks2): Likewise.
27027         * scripts/merge-test-results.sh: New file.
27028         * Makefile (tests-special-notdir): New variable.
27029         (tests): Run merge-test-results.sh.
27030         (xtests): Likewise.
27031         * Rules (tests-special-notdir): New variable.
27032         (xtests-special-notdir): Likewise.
27033         (tests): Run merge-test-results.sh
27034         (xtests): Likewise.
27036         * Makeconfig (test-xfail-name): New variable.
27037         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
27038         compute variable name for expected failures.
27039         * conform/Makefile (conformtest-headers-data): New variable.
27040         (conformtest-standards): Likewise.
27041         (conformtest-headers-ISO): Likewise.
27042         (conformtest-headers-ISO99): Likewise.
27043         (conformtest-headers-ISO11): Likewise.
27044         (conformtest-headers-POSIX): Likewise.
27045         (conformtest-headers-XPG3): Likewise.
27046         (conformtest-headers-XPG4): Likewise.
27047         (conformtest-headers-UNIX98): Likewise.
27048         (conformtest-headers-XOPEN2K): Likewise.
27049         (conformtest-headers-POSIX2008): Likewise.
27050         (conformtest-headers-XOPEN2K8): Likewise.
27051         (conformtest-header-list-base): Likewise.
27052         (conformtest-header-list-tests): Likewise.
27053         (conformtest-header-base): Likewise.
27054         (conformtest-header-tests): Likewise.
27055         (tests-special): Add $(conformtest-header-list-tests).  If
27056         [$(fast-check) && !$(cross-compiling)], add
27057         $(conformtest-header-tests) instead of
27058         $(objpfx)run-conformtest.out.
27059         (generated): Add $(conformtest-header-list-base).  If
27060         [$(fast-check) && !$(cross-compiling)], add
27061         $(conformtest-header-base).  Remove previous setting.
27062         ($(conformtest-header-list-tests)): New target.
27063         (test-xfail-run-conformtest): Remove variable.
27064         ($(objpfx)run-conformtest.out): Remove target.
27065         (test-xfail-ISO11/complex.h/conform): New variable.
27066         (test-xfail-ISO11/stdalign.h/conform): Likewise.
27067         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27068         (test-xfail-XPG3/varargs.h/conform): Likewise.
27069         (test-xfail-XPG4/varargs.h/conform): Likewise.
27070         (test-xfail-UNIX98/varargs.h/conform): Likewise.
27071         (test-xfail-XPG4/ndbm.h/conform): Likewise.
27072         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
27073         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
27074         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
27075         (test-xfail-XPG3/fcntl.h/conform): Likewise.
27076         (test-xfail-XPG3/ftw.h/conform): Likewise.
27077         (test-xfail-XPG3/grp.h/conform): Likewise.
27078         (test-xfail-XPG3/langinfo.h/conform): Likewise.
27079         (test-xfail-XPG3/limits.h/conform): Likewise.
27080         (test-xfail-XPG3/pwd.h/conform): Likewise.
27081         (test-xfail-XPG3/search.h/conform): Likewise.
27082         (test-xfail-XPG3/signal.h/conform): Likewise.
27083         (test-xfail-XPG3/stdio.h/conform): Likewise.
27084         (test-xfail-XPG3/stdlib.h/conform): Likewise.
27085         (test-xfail-XPG3/string.h/conform): Likewise.
27086         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
27087         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
27088         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
27089         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
27090         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
27091         (test-xfail-XPG3/sys/types.h/conform): Likewise.
27092         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
27093         (test-xfail-XPG3/termios.h/conform): Likewise.
27094         (test-xfail-XPG3/time.h/conform): Likewise.
27095         (test-xfail-XPG3/unistd.h/conform): Likewise.
27096         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
27097         (test-xfail-XPG4/fcntl.h/conform): Likewise.
27098         (test-xfail-XPG4/langinfo.h/conform): Likewise.
27099         (test-xfail-XPG4/netdb.h/conform): Likewise.
27100         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
27101         (test-xfail-XPG4/signal.h/conform): Likewise.
27102         (test-xfail-XPG4/stdio.h/conform): Likewise.
27103         (test-xfail-XPG4/stdlib.h/conform): Likewise.
27104         (test-xfail-XPG4/stropts.h/conform): Likewise.
27105         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
27106         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
27107         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
27108         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
27109         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
27110         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
27111         (test-xfail-XPG4/sys/time.h/conform): Likewise.
27112         (test-xfail-XPG4/sys/types.h/conform): Likewise.
27113         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
27114         (test-xfail-XPG4/termios.h/conform): Likewise.
27115         (test-xfail-XPG4/ucontext.h/conform): Likewise.
27116         (test-xfail-XPG4/unistd.h/conform): Likewise.
27117         (test-xfail-XPG4/utmpx.h/conform): Likewise.
27118         (test-xfail-POSIX/sched.h/conform): Likewise.
27119         (test-xfail-POSIX/signal.h/conform): Likewise.
27120         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
27121         (test-xfail-POSIX/tar.h/conform): Likewise.
27122         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
27123         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
27124         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
27125         (test-xfail-UNIX98/netdb.h/conform): Likewise.
27126         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
27127         (test-xfail-UNIX98/sched.h/conform): Likewise.
27128         (test-xfail-UNIX98/signal.h/conform): Likewise.
27129         (test-xfail-UNIX98/stdio.h/conform): Likewise.
27130         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
27131         (test-xfail-UNIX98/stropts.h/conform): Likewise.
27132         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
27133         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
27134         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
27135         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
27136         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
27137         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
27138         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
27139         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
27140         (test-xfail-UNIX98/unistd.h/conform): Likewise.
27141         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
27142         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
27143         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
27144         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
27145         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
27146         (test-xfail-XOPEN2K/math.h/conform): Likewise.
27147         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
27148         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
27149         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
27150         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
27151         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
27152         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
27153         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
27154         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
27155         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
27156         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
27157         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
27158         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
27159         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
27160         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
27161         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
27162         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
27163         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
27164         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
27165         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
27166         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
27167         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
27168         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
27169         (test-xfail-POSIX2008/signal.h/conform): Likewise.
27170         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
27171         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
27172         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
27173         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
27174         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
27175         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
27176         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
27177         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
27178         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
27179         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
27180         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
27181         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
27182         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
27183         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
27184         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
27185         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
27186         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
27187         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
27188         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
27189         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
27190         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
27191         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
27192         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
27193         (conformtest-cc-flags): Likewise.
27194         ($(conformtest-header-tests): New target.
27195         * conform/check-header-lists.sh: New file.
27196         * conform/run-conformtest.sh: Remove.
27198         * conform/conformtest.pl: Allow ' and \ in values given for
27199         constants.
27200         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
27201         inclusion.
27202         [POSIX] (sys/types.h): Likewise.
27203         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
27204         inclusion.
27205         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
27206         inclusion.
27207         * conform/data/signal.h-data (SIGIO): Remove expectation.
27208         [XPG3] (SIGBUS): Do not expect.
27209         [POSIX || XPG3] (SIGPOLL): Likewise.
27210         [POSIX || XPG3] (SIGPROF): Likewise.
27211         [POSIX || XPG3] (SIGSYS): Likewise.
27212         [XPG3] (SIGTRAP): Likewise.
27213         [POSIX || XPG3] (SIGURG): Likewise.
27214         [POSIX || XPG3] (SIGVTALRM): Likewise.
27215         [POSIX || XPG3] (SIGXCPU): Likewise.
27216         [POSIX || XPG3] (SIGXFSZ): Likewise.
27217         [POSIX] (SA_SIGINFO): Expect.
27218         [XPG3] (siginfo_t): Do not expect type or contents.
27219         [POSIX] (si_pid): Do not expect element.
27220         [POSIX] (si_uid): Likewise.
27221         [POSIX] (si_addr): Likewise.
27222         [POSIX] (si_status): Likewise.
27223         [POSIX] (si_band): Likewise.
27224         [XPG4] (si_value): Likewise.
27225         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
27226         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
27227         [POSIX || XPG3] (ILL_ILLADR): Likewise.
27228         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
27229         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
27230         [POSIX || XPG3] (ILL_PRVREG): Likewise.
27231         [POSIX || XPG3] (ILL_COPROC): Likewise.
27232         [POSIX || XPG3] (ILL_BADSTK): Likewise.
27233         [POSIX || XPG3] (FPE_INTDIV): Likewise.
27234         [POSIX || XPG3] (FPE_INTOVF): Likewise.
27235         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
27236         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
27237         [POSIX || XPG3] (FPE_FLTUND): Likewise.
27238         [POSIX || XPG3] (FPE_FLTRES): Likewise.
27239         [POSIX || XPG3] (FPE_FLTINV): Likewise.
27240         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
27241         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
27242         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
27243         [POSIX || XPG3] (BUS_ADRALN): Likewise.
27244         [POSIX || XPG3] (BUS_ADRERR): Likewise.
27245         [POSIX || XPG3] (BUS_OBJERR): Likewise.
27246         [POSIX || XPG3] (CLD_EXITED): Likewise.
27247         [POSIX || XPG3] (CLD_KILLED): Likewise.
27248         [POSIX || XPG3] (CLD_DUMPED): Likewise.
27249         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
27250         [POSIX || XPG3] (CLD_STOPPED): Likewise.
27251         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
27252         [POSIX || XPG3] (POLL_IN): Likewise.
27253         [POSIX || XPG3] (POLL_OUT): Likewise.
27254         [POSIX || XPG3] (POLL_MSG): Likewise.
27255         [POSIX || XPG3] (POLL_ERR): Likewise.
27256         [POSIX || XPG3] (POLL_PRI): Likewise.
27257         [POSIX || XPG3] (POLL_HUP): Likewise.
27258         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
27259         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
27260         (SIG*): Do not allow.
27261         [XPG3] (si_*): Likewise.
27262         [XPG3] (SI_*): Likewise.
27263         [XPG3 || XPG4] (sigev_*): Likewise.
27264         [XPG3 || XPG4] (SIGEV_*): Likewise.
27265         [XPG3 || XPG4] (sival_*): Likewise.
27266         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
27267         [POSIX || XPG3] (BUS_*): Likewise.
27268         [POSIX || XPG3] (CLD_*): Likewise.
27269         [POSIX || XPG3] (FPE_*): Likewise.
27270         [POSIX || XPG3] (ILL_*): Likewise.
27271         [POSIX || XPG3] (POLL_*): Likewise.
27272         [POSIX || XPG3] (SEGV_*): Likewise.
27273         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
27274         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
27275         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
27276         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
27277         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
27278         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
27279         Specify type and value.
27280         (TVERSLEN): Likewise.
27281         (REGTYPE): Likewise.
27282         (AREGTYPE): Likewise.
27283         (LNKTYPE): Likewise.
27284         (SYMTYPE): Likewise.
27285         (CHRTYPE): Likewise.
27286         (BLKTYPE): Likewise.
27287         (DIRTYPE): Likewise.
27288         (FIFOTYPE): Likewise.
27289         (CONTTYPE): Likewise.
27290         (TSUID): Likewise.
27291         (TSGID): Likewise.
27292         (TSVTX): Likewise.
27293         (TUREAD): Likewise.
27294         (TUWRITE): Likewise.
27295         (TUEXEC): Likewise.
27296         (TGREAD): Likewise.
27297         (TGWRITE): Likewise.
27298         (TGEXEC): Likewise.
27299         (TOREAD): Likewise.
27300         (TOWRITE): Likewise.
27301         (TOEXEC): Likewise.
27302         [POSIX] (TSVTX): Expect constant.
27304 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
27306         * Makefile (tests): Change dependencies to ....
27307         (tests-special): ... additions to this variable.
27308         (tests): Depend on $(tests-special).
27309         * Makerules (check-abi-list): New variable.
27310         (check-abi): Depend on $(check-abi-list).
27311         [$(subdir) = elf] (tests-special): Add
27312         $(objpfx)check-abi-libc.out.
27313         [$(build-shared) = yes && subdir] (tests-special): Add
27314         $(check-abi-list).
27315         [$(build-shared) = yes && subdir] (tests): Do not depend on
27316         check-abi.
27317         * Rules (tests): Depend on $(tests-special).
27318         (xtests): Depend on $(xtests-special).
27319         * catgets/Makefile (tests): Change dependencies to ....
27320         (tests-special): ... additions to this variable.
27321         * conform/Makefile (tests): Change dependencies to ....
27322         (tests-special): ... additions to this variable.
27323         * elf/Makefile (tests): Change dependencies to ....
27324         (tests-special): ... additions to this variable.
27325         * grp/Makefile (tests): Change dependencies to ....
27326         (tests-special): ... additions to this variable.
27327         * iconv/Makefile (xtests): Change dependencies to ....
27328         (xtests-special): ... additions to this variable.
27329         * iconvdata/Makefile (tests): Change dependencies to ....
27330         (tests-special): ... additions to this variable.
27331         * intl/Makefile (tests): Change dependencies to ....
27332         (tests-special): ... additions to this variable.  Also add
27333         $(objpfx)tst-gettext.out.
27334         * io/Makefile (tests): Change dependencies to ....
27335         (tests-special): ... additions to this variable.
27336         * libio/Makefile (tests): Change dependencies to ....
27337         (tests-special): ... additions to this variable.
27338         * malloc/Makefile (tests): Change dependencies to ....
27339         (tests-special): ... additions to this variable.
27340         * misc/Makefile (tests): Change dependencies to ....
27341         (tests-special): ... additions to this variable.
27342         * nptl/Makefile (tests): Change dependencies to ....
27343         (tests-special): ... additions to this variable.
27344         * nptl_db/Makefile (tests): Change dependencies to ....
27345         (tests-special): ... additions to this variable.
27346         * posix/Makefile (tests): Change dependencies to ....
27347         (tests-special): ... additions to this variable.
27348         (xtests): Change dependencies to ....
27349         (xtests-special): ... additions to this variable.
27350         * resolv/Makefile (tests): Change dependencies to ....
27351         (tests-special): ... additions to this variable.
27352         (xtests): Change dependencies to ....
27353         (xtests-special): ... additions to this variable.
27354         * stdio-common/Makefile (tests): Change dependencies to ....
27355         (tests-special): ... additions to this variable.
27356         (do-tst-unbputc): Remove target.
27357         (do-tst-printf): Likewise.
27358         * stdlib/Makefile (tests): Change dependencies to ....
27359         (tests-special): ... additions to this variable.
27360         * string/Makefile (tests): Change dependencies to ....
27361         (tests-special): ... additions to this variable.
27362         * sysdeps/x86/Makefile (tests): Change dependencies to ....
27363         (tests-special): ... additions to this variable.
27365         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
27366         whole file.
27367         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
27368         whole file.
27369         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
27370         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
27372         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
27373         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
27374         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
27375         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
27376         * conform/data/libgen.h-data [XPG3]: Likewise.
27377         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
27378         * conform/data/ndbm.h-data [XPG3]: Likewise.
27379         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
27380         * conform/data/netdb.h-data [XPG3]: Likewise.
27381         * conform/data/netinet/in.h-data [XPG3]: Likewise.
27382         * conform/data/poll.h-data [XPG3]: Likewise.
27383         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
27384         * conform/data/strings.h-data [XPG3]: Likewise.
27385         * conform/data/stropts.h-data [XPG3]: Likewise.
27386         * conform/data/sys/mman.h-data [XPG3]: Likewise.
27387         * conform/data/sys/resource.h-data [XPG3]: Likewise.
27388         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
27389         Likewise.
27390         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
27391         * conform/data/sys/time.h-data [XPG3]: Likewise.
27392         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
27393         * conform/data/sys/uio.h-data [XPG3]: Likewise.
27394         * conform/data/sys/un.h-data [XPG3]: Likewise.
27395         * conform/data/syslog.h-data [XPG3]: Likewise.
27396         * conform/data/ucontext.h-data [XPG3]: Likewise.
27397         * conform/data/utmpx.h-data [XPG3]: Likewise.
27398         * conform/data/varargs.h-data [UNIX98]: Enable file.
27400         * manual/Makefile (INSTALL_INFO): Remove variable setting.
27402         * math/libm-test.inc (struct test_f_f_data): Move expected results
27403         into structure for each rounding mode.
27404         (struct test_ff_f_data): Likewise.
27405         (struct test_ff_f_data_nexttoward): Likewise.
27406         (struct test_fi_f_data): Likewise.
27407         (struct test_fl_f_data): Likewise.
27408         (struct test_if_f_data): Likewise.
27409         (struct test_fff_f_data): Likewise.
27410         (struct test_c_f_data): Likewise.
27411         (struct test_f_f1_data): Likewise.
27412         (struct test_fF_f1_data): Likewise.
27413         (struct test_ffI_f1_data): Likewise.
27414         (struct test_c_c_data): Likewise.
27415         (struct test_cc_c_data): Likewise.
27416         (struct test_f_i_data): Likewise.
27417         (struct test_ff_i_data): Likewise.
27418         (struct test_f_l_data): Likewise.
27419         (struct test_f_L_data): Likewise.
27420         (struct test_fFF_11_data): Likewise.
27421         (RM_): New macro.
27422         (RM_FE_DOWNWARD): Likewise.
27423         (RM_FE_TONEAREST): Likewise.
27424         (RM_FE_TOWARDZERO): Likewise.
27425         (RM_FE_UPWARD): Likewise.
27426         (RUN_TEST_LOOP_f_f): Update references to expected results.
27427         (RUN_TEST_LOOP_2_f): Likewise.
27428         (RUN_TEST_LOOP_fff_f): Likewise.
27429         (RUN_TEST_LOOP_c_f): Likewise.
27430         (RUN_TEST_LOOP_f_f1): Likewise.
27431         (RUN_TEST_LOOP_fF_f1): Likewise.
27432         (RUN_TEST_LOOP_fI_f1): Likewise.
27433         (RUN_TEST_LOOP_ffI_f1): Likewise.
27434         (RUN_TEST_LOOP_c_c): Likewise.
27435         (RUN_TEST_LOOP_cc_c): Likewise.
27436         (RUN_TEST_LOOP_f_i): Likewise.
27437         (RUN_TEST_LOOP_f_i_tg): Likewise.
27438         (RUN_TEST_LOOP_ff_i_tg): Likewise.
27439         (RUN_TEST_LOOP_f_b): Likewise.
27440         (RUN_TEST_LOOP_f_b_tg): Likewise.
27441         (RUN_TEST_LOOP_f_l): Likewise.
27442         (RUN_TEST_LOOP_f_L): Likewise.
27443         (RUN_TEST_LOOP_fFF_11): Likewise.
27444         * math/gen-libm-test.pl (parse_args): Output four copies of
27445         expected results for each test.
27447         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27448         (__ASSUME_UTIMES): Remove.
27449         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27450         (__ASSUME_UTIMES): Likewise.
27452         * math/gen-auto-libm-tests.c: Update comment on output format.
27453         (output_for_one_input_case): Generate before-rounding and
27454         after-rounding information as conditions on output flags not
27455         floating-point format.
27456         * math/auto-libm-test-out: Regenerated.
27457         * math/gen-libm-test.pl (cond_value): New function.
27458         (or_cond_value): Use cond_value.
27459         (generate_testfile): Handle conditional exceptions.
27461 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
27463         * math/libm-test.inc (max_valid_error): New variable.
27464         (init_max_error): Take new argument specifying whether function
27465         results are exactly determined.  Set max_valid_error and bound
27466         other variables for errors based on this argument.
27467         (set_max_error): Do not record results above max_valid_error.
27468         (check_float_internal): Only accept errors of up to 0.5ulps if
27469         also at most max_valid_error.
27470         (START): Take new argument EXACT and pass it to init_max_error.
27471         (acos_test): Update call to START.
27472         (acos_test_tonearest): Likewise.
27473         (acos_test_towardzero): Likewise.
27474         (acos_test_downward): Likewise.
27475         (acos_test_upward): Likewise.
27476         (acosh_test): Likewise.
27477         (asin_test): Likewise.
27478         (asin_test_tonearest): Likewise.
27479         (asin_test_towardzero): Likewise.
27480         (asin_test_downward): Likewise.
27481         (asin_test_upward): Likewise.
27482         (asinh_test): Likewise.
27483         (atan_test): Likewise.
27484         (atanh_test): Likewise.
27485         (atan2_test): Likewise.
27486         (cabs_test): Likewise.
27487         (cacos_test): Likewise.
27488         (cacosh_test): Likewise.
27489         (carg_test): Likewise.
27490         (casin_test): Likewise.
27491         (casinh_test): Likewise.
27492         (catan_test): Likewise.
27493         (catanh_test): Likewise.
27494         (cbrt_test): Likewise.
27495         (ccos_test): Likewise.
27496         (ccosh_test): Likewise.
27497         (ceil_test): Likewise.
27498         (cexp_test): Likewise.
27499         (cimag_test): Likewise.
27500         (clog_test): Likewise.
27501         (clog10_test): Likewise.
27502         (conj_test): Likewise.
27503         (copysign_test): Likewise.
27504         (cos_test): Likewise.
27505         (cos_test_tonearest): Likewise.
27506         (cos_test_towardzero): Likewise.
27507         (cos_test_downward): Likewise.
27508         (cos_test_upward): Likewise.
27509         (cosh_test): Likewise.
27510         (cosh_test_tonearest): Likewise.
27511         (cosh_test_towardzero): Likewise.
27512         (cosh_test_downward): Likewise.
27513         (cosh_test_upward): Likewise.
27514         (cpow_test): Likewise.
27515         (cproj_test): Likewise.
27516         (creal_test): Likewise.
27517         (csin_test): Likewise.
27518         (csinh_test): Likewise.
27519         (csqrt_test): Likewise.
27520         (ctan_test): Likewise.
27521         (ctan_test_tonearest): Likewise.
27522         (ctan_test_towardzero): Likewise.
27523         (ctan_test_downward): Likewise.
27524         (ctan_test_upward): Likewise.
27525         (ctanh_test): Likewise.
27526         (ctanh_test_tonearest): Likewise.
27527         (ctanh_test_towardzero): Likewise.
27528         (ctanh_test_downward): Likewise.
27529         (ctanh_test_upward): Likewise.
27530         (erf_test): Likewise.
27531         (erfc_test): Likewise.
27532         (exp_test): Likewise.
27533         (exp_test_tonearest): Likewise.
27534         (exp_test_towardzero): Likewise.
27535         (exp_test_downward): Likewise.
27536         (exp_test_upward): Likewise.
27537         (exp10_test): Likewise.
27538         (exp10_test_tonearest): Likewise.
27539         (exp10_test_towardzero): Likewise.
27540         (exp10_test_downward): Likewise.
27541         (exp10_test_upward): Likewise.
27542         (pow10_test): Likewise.
27543         (exp2_test): Likewise.
27544         (expm1_test): Likewise.
27545         (expm1_test_tonearest): Likewise.
27546         (expm1_test_towardzero): Likewise.
27547         (expm1_test_downward): Likewise.
27548         (expm1_test_upward): Likewise.
27549         (fabs_test): Likewise.
27550         (fdim_test): Likewise.
27551         (floor_test): Likewise.
27552         (fma_test): Likewise.
27553         (fma_test_towardzero): Likewise.
27554         (fma_test_downward): Likewise.
27555         (fma_test_upward): Likewise.
27556         (fmax_test): Likewise.
27557         (fmin_test): Likewise.
27558         (fmod_test): Likewise.
27559         (fpclassify_test): Likewise.
27560         (frexp_test): Likewise.
27561         (hypot_test): Likewise.
27562         (ilogb_test): Likewise.
27563         (isfinite_test): Likewise.
27564         (finite_test): Likewise.
27565         (isgreater_test): Likewise.
27566         (isgreaterequal_test): Likewise.
27567         (isinf_test): Likewise.
27568         (isless_test): Likewise.
27569         (islessequal_test): Likewise.
27570         (islessgreater_test): Likewise.
27571         (isnan_test): Likewise.
27572         (isnormal_test): Likewise.
27573         (issignaling_test): Likewise.
27574         (isunordered_test): Likewise.
27575         (j0_test): Likewise.
27576         (j1_test): Likewise.
27577         (jn_test): Likewise.
27578         (ldexp_test): Likewise.
27579         (lgamma_test): Likewise.
27580         (gamma_test): Likewise.
27581         (lrint_test): Likewise.
27582         (lrint_test_tonearest): Likewise.
27583         (lrint_test_towardzero): Likewise.
27584         (lrint_test_downward): Likewise.
27585         (lrint_test_upward): Likewise.
27586         (llrint_test): Likewise.
27587         (llrint_test_tonearest): Likewise.
27588         (llrint_test_towardzero): Likewise.
27589         (llrint_test_downward): Likewise.
27590         (llrint_test_upward): Likewise.
27591         (log_test): Likewise.
27592         (log10_test): Likewise.
27593         (log1p_test): Likewise.
27594         (log2_test): Likewise.
27595         (logb_test): Likewise.
27596         (logb_test_downward): Likewise.
27597         (lround_test): Likewise.
27598         (llround_test): Likewise.
27599         (modf_test): Likewise.
27600         (nearbyint_test): Likewise.
27601         (nextafter_test): Likewise.
27602         (nexttoward_test): Likewise.
27603         (pow_test): Likewise.
27604         (pow_test_tonearest): Likewise.
27605         (pow_test_towardzero): Likewise.
27606         (pow_test_downward): Likewise.
27607         (pow_test_upward): Likewise.
27608         (remainder_test): Likewise.
27609         (drem_test): Likewise.
27610         (remainder_test_tonearest): Likewise.
27611         (drem_test_tonearest): Likewise.
27612         (remainder_test_towardzero): Likewise.
27613         (drem_test_towardzero): Likewise.
27614         (remainder_test_downward): Likewise.
27615         (drem_test_downward): Likewise.
27616         (remainder_test_upward): Likewise.
27617         (drem_test_upward): Likewise.
27618         (remquo_test): Likewise.
27619         (rint_test): Likewise.
27620         (rint_test_tonearest): Likewise.
27621         (rint_test_towardzero): Likewise.
27622         (rint_test_downward): Likewise.
27623         (rint_test_upward): Likewise.
27624         (round_test): Likewise.
27625         (scalb_test): Likewise.
27626         (scalbn_test): Likewise.
27627         (scalbln_test): Likewise.
27628         (signbit_test): Likewise.
27629         (sin_test): Likewise.
27630         (sin_test_tonearest): Likewise.
27631         (sin_test_towardzero): Likewise.
27632         (sin_test_downward): Likewise.
27633         (sin_test_upward): Likewise.
27634         (sincos_test): Likewise.
27635         (sinh_test): Likewise.
27636         (sinh_test_tonearest): Likewise.
27637         (sinh_test_towardzero): Likewise.
27638         (sinh_test_downward): Likewise.
27639         (sinh_test_upward): Likewise.
27640         (sqrt_test): Likewise.
27641         (sqrt_test_tonearest): Likewise.
27642         (sqrt_test_towardzero): Likewise.
27643         (sqrt_test_downward): Likewise.
27644         (sqrt_test_upward): Likewise.
27645         (tan_test): Likewise.
27646         (tan_test_tonearest): Likewise.
27647         (tan_test_towardzero): Likewise.
27648         (tan_test_downward): Likewise.
27649         (tan_test_upward): Likewise.
27650         (tanh_test): Likewise.
27651         (tgamma_test): Likewise.
27652         (trunc_test): Likewise.
27653         (y0_test): Likewise.
27654         (y1_test): Likewise.
27655         (yn_test): Likewise.
27656         (significand_test): Likewise.
27658         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
27659         individual tests in comment.
27660         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
27661         (prev_max_error): New variable.
27662         (prev_real_max_error): Likewise.
27663         (prev_imag_max_error): Likewise.
27664         (compare_ulp_data): Don't refer to test names in comment.
27665         (find_test_ulps): Remove function.
27666         (find_function_ulps): Likewise.
27667         (find_complex_function_ulps): Likewise.
27668         (init_max_error): Take function name as argument.  Look up ulps
27669         for that function.
27670         (print_ulps): Remove function.
27671         (print_max_error): Use prev_max_error instead of calling
27672         find_function_ulps.
27673         (print_complex_max_error): Use prev_real_max_error and
27674         prev_imag_max_error instead of calling find_complex_function_ulps.
27675         (check_float_internal): Take max_ulp parameter instead of calling
27676         find_test_ulps.  Don't call print_ulps.
27677         (check_float): Update call to check_float_internal.
27678         (check_complex): Update calls to check_float_internal.
27679         (START): Pass argument to init_max_error.
27680         * math/gen-libm-test.pl (%results): Don't include "kind"
27681         information.
27682         (parse_ulps): Don't handle ulps of individual tests.
27683         (print_ulps_file): Likewise.
27684         (output_ulps): Likewise.
27685         * math/README.libm-test: Update.
27686         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
27687         individual tests.
27688         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
27689         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
27690         * sysdeps/arm/libm-test-ulps: Likewise.
27691         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27692         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
27693         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
27694         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
27695         * sysdeps/microblaze/libm-test-ulps: Likewise.
27696         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27697         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27698         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27699         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
27700         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27701         * sysdeps/sh/libm-test-ulps: Likewise.
27702         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27703         * sysdeps/tile/libm-test-ulps: Likewise.
27704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27706 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
27708         * math/libm-test.inc (print_complex_max_error): Check separately
27709         whether real and imaginary errors are within allowed range and
27710         pass 0 to print_complex_function_ulps instead of value within
27711         allowed range.
27713 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27715         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
27716         formatting.
27717         (get_handles_fopen): Likewise.
27718         (do_write_test): Likewise.
27720         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
27722         * libio/fileops.c (do_ftell): Use cached offset when
27723         available.
27724         * libio/iofwide.c (do_ftell_wide): Likewise.
27725         * libio/iofdopen.c (_IO_new_fdopen): Don't use
27726         _IO_file_attach.
27727         * libio/wfileops.c (_IO_fwide): Don't cache offset.
27729         [BZ #16532]
27730         * libio/libioP.h (get_file_offset): New function.
27731         * libio/fileops.c (get_file_offset): Likewise.
27732         (do_ftell): Likewise.
27733         (_IO_new_file_seekoff): Split out ftell logic.
27734         * libio/wfileops.c (do_ftell_wide): Likewise.
27735         (_IO_wfile_seekoff): Split out ftell logic.
27736         * libio/tst-ftell-active-handler.c: New test case.
27737         * libio/Makefile (tests): Add it.
27739 2014-03-03  Roland McGrath  <roland@hack.frob.com>
27741         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
27742         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
27744 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27746         [BZ #16639]
27747         * nscd/connections.c (nscd_init): Call do_exit.
27748         (start_threads): Call do_exit and notify_parent.
27749         (begin_drop_privileges): Call do_exit.
27750         (finish_drop_privileges): Likewise.
27751         * nscd/selinux.c (preserve_capabilities): Likewise.
27752         (install_real_capabilities): Likewise.
27753         (nscd_selinux_enabled): Likewise.
27754         (avc_create_thread): Likewise.
27755         (avc_alloc_lock): Likewise.
27756         (nscd_avc_init): Likewise.
27757         * nscd/nscd.c (parent_fd): New static variable.
27758         (main): Create a pipe between parent and child processes.
27759         Skip closing parent_fd.
27760         (monitor_child): New function.
27761         (do_exit): Likewise.
27762         (notify_parent): Likewise.
27763         * nscd/nscd.h (notify_parent): Likewise.
27764         (do_exit): Likewise.
27766 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
27768         * malloc/malloc.c (__libc_calloc): Revert last change.
27770 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27774 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27776         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
27777         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
27778         implementation.
27779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27780         (__libc_ifunc_impl_list): Likewise.
27781         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
27782         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
27783         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
27784         * string/strrchr.c: Define STRRCHR.
27786 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
27788         * benchtest/bench-strtok.c (simple_strtok): Delete.
27789         (strtok_string): Use as benchmark.
27790         * string/strtok (STRTOK): New macro.
27792 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
27794         * manual/threads.texi: Add header and standard comments to all
27795         functions.
27797         * elf/dl-lookup.c (check_match): New function.
27798         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
27799         (do_lookup_x): Remove nested function check_match. Use non-nested
27800         function check_match.
27802 2014-02-28  Roland McGrath  <roland@hack.frob.com>
27804         * csu/Makefile (generated, before-compile): Use += rather than =.
27805         * catgets/Makefile (generated, generated-dirs): Likewise.
27806         * debug/Makefile (generated): Likewise.
27807         * dlfcn/Makefile (generated): Likewise.
27808         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
27809         * iconvdata/Makefile (before-compile, generated): Likewise.
27810         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
27811         * libio/Makefile (generated): Likewise.
27812         * malloc/Makefile (generated): Likewise.
27813         * manual/Makefile (generated, generated-dirs): Likewise.
27814         * misc/Makefile (generated): Likewise.
27815         * posix/Makefile (generated): Likewise.
27816         * resolv/Makefile (generated): Likewise.
27817         * sunrpc/Makefile (generated, generated-dirs): Likewise.
27818         * timezone/Makefile (generated, generated-dirs): Likewise.
27820         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
27822 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27824         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27825         power8 implementation.
27826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
27827         file: POWER8 llround ifunc implementation.
27828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
27829         (__lllround): Add POWER8 implementation.
27830         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
27831         POWER8 llround implementation.
27833         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
27834         power8 implementation.
27835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
27836         file: POWER8 llrint ifunc implementation.
27837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
27838         Add POWER8 implementation.
27839         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
27840         POWER8 llrint implementation.
27842         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
27843         power8 implementation.
27844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
27845         file: POWER8 finite ifunc implementation.
27846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
27847         Add POWER8 implementation.
27848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
27849         Likewise.
27850         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
27851         POWER8 finite implementation.
27852         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
27854         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
27855         power8 implementation.
27856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
27857         file: POWER8 isinf ifunc implementation.
27858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
27859         POWER8 implementation.
27860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
27861         Likewise.
27862         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
27863         isinf implementation.
27864         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
27866         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
27867         (INIT_ARCH): Add hwcap2 initialization.
27868         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27869         power8 implementation.
27870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
27871         file: POWER8 isnan ifunc implementation.
27872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
27873         POWER8 implementation.
27874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
27875         Likewise.
27876         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
27877         isnan implementation.
27878         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
27880 2014-02-27  Joey Ye  <joey.ye@arm.com>
27882         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
27883         (_FP_NANFRAC_Q): Set to zero.
27885 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27887         [BZ #16623]
27888         * math/auto-libm-test-in: New test inputs.
27889         * math/auto-libm-test-out: Regenerate.
27890         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
27891         and DA.
27892         (__cos): Likewise.
27893         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27895 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
27897         * scripts/evaluate-test.sh: Take new argument indicating whether
27898         failure is expected.
27899         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
27900         indicating whether failure is expected.
27901         * conform/Makefile (test-xfail-run-conformtest): New variable.
27902         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
27903         level.
27904         * posix/Makefile (test-xfail-annexc): New variable.
27905         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
27907 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
27909         * argp/Makefile: Include Makeconfig immediately after defining
27910         subdir.
27911         * assert/Makefile: Likewise.
27912         * benchtests/Makefile: Likewise.
27913         * catgets/Makefile: Likewise.
27914         * conform/Makefile: Likewise.
27915         * crypt/Makefile: Likewise.
27916         * csu/Makefile: Likewise.
27917         (all): Remove target.
27918         * ctype/Makefile: Include Makeconfig immediately after defining
27919         subdir.
27920         * debug/Makefile: Likewise.
27921         * dirent/Makefile: Likewise.
27922         * dlfcn/Makefile: Likewise.
27923         * gmon/Makefile: Likewise.
27924         * gnulib/Makefile: Likewise.
27925         * grp/Makefile: Likewise.
27926         * gshadow/Makefile: Likewise.
27927         * hesiod/Makefile: Likewise.
27928         * hurd/Makefile: Likewise.
27929         (all): Remove target.
27930         * iconvdata/Makefile: Include Makeconfig immediately after
27931         defining subdir.
27932         * inet/Makefile: Likewise.
27933         * intl/Makefile: Likewise.
27934         * io/Makefile: Likewise.
27935         * libio/Makefile: Likewise.
27936         (all): Remove target.
27937         * locale/Makefile: Include Makeconfig immediately after defining
27938         subdir.
27939         * login/Makefile: Likewise.
27940         * mach/Makefile: Likewise.
27941         (all): Remove target.
27942         * malloc/Makefile: Include Makeconfig immediately after defining
27943         subdir.
27944         (all): Remove target.
27945         * manual/Makefile: Include Makeconfig immediately after defining
27946         subdir.
27947         * math/Makefile: Likewise.
27948         * misc/Makefile: Likewise.
27949         * nis/Makefile: Likewise.
27950         * nss/Makefile: Likewise.
27951         * po/Makefile: Likewise.
27952         (all): Remove target.
27953         * posix/Makefile: Include Makeconfig immediately after defining
27954         subdir.
27955         * pwd/Makefile: Likewise.
27956         * resolv/Makefile: Likewise.
27957         * resource/Makefile: Likewise.
27958         * rt/Makefile: Likewise.
27959         * setjmp/Makefile: Likewise.
27960         * shadow/Makefile: Likewise.
27961         * signal/Makefile: Likewise.
27962         * socket/Makefile: Likewise.
27963         * soft-fp/Makefile: Likewise.
27964         * stdio-common/Makefile: Likewise.
27965         * stdlib/Makefile: Likewise.
27966         * streams/Makefile: Likewise.
27967         * string/Makefile: Likewise.
27968         * sunrpc/Makefile: Likewise.
27969         (all): Remove target.
27970         * sysvipc/Makefile: Include Makeconfig immediately after defining
27971         subdir.
27972         * termios/Makefile: Likewise.
27973         * time/Makefile: Likewise.
27974         * timezone/Makefile: Likewise.
27975         (all): Remove target.
27976         * wcsmbs/Makefile: Include Makeconfig immediately after defining
27977         subdir.
27978         * wctype/Makefile: Likewise.
27980 2014-02-26  Steve Ellcey  <sellcey@mips.com>
27982         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
27983         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
27984         (libc_feholdexcept_setround_mips): Ditto.
27985         (libc_feholdsetround): New.
27986         (libc_feholdsetroundf): New.
27987         (libc_feholdsetroundl): New.
27988         (libc_feupdateenv_test_mips): New.
27989         (libc_feupdateenv_test): New.
27990         (libc_feupdateenv_testf): New.
27991         (libc_feupdateenv_testl): New.
27992         (libc_feresetround): New.
27993         (libc_feresetroundf): New.
27994         (libc_feresetroundl): New.
27995         (libc_fetestexcept_mips): New.
27996         (libc_fetestexcept): New.
27997         (libc_fetestexceptf): New.
27998         (libc_fetestexceptl): New.
27999         (HAVE_RM_CTX): New.
28000         (libc_feholdexcept_setround_mips_ctx): New.
28001         (libc_feholdexcept_setround_ctx): New.
28002         (libc_feholdexcept_setroundf_ctx): New.
28003         (libc_feholdexcept_setroundl_ctx): New.
28004         (libc_fesetenv_mips_ctx): New.
28005         (libc_fesetenv_ctx): New.
28006         (libc_fesetenv_ctxf): New.
28007         (libc_fesetenv_ctxl): New.
28008         (libc_feupdateenv_mips_ctx): New.
28009         (libc_feupdateenv_ctx): New.
28010         (libc_feupdateenvf_ctx): New.
28011         (libc_feupdateenvl_ctx): New.
28012         (libc_feholdsetround_mips_ctx): New.
28013         (libc_feholdsetround_ctx): New.
28014         (libc_feholdsetroundf_ctx): New.
28015         (libc_feholdsetroundl_ctx): New.
28016         (libc_feresetround_mips_ctx): New.
28017         (libc_feresetround_ctx): New.
28018         (libc_feresetroundf_ctx): New.
28019         (libc_feresetroundl_ctx): New.
28021 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
28023         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
28025         * manual/ipc.texi: New file.
28026         * manual/Makefile (chapters): Add ipc.
28027         * manual/job.texi: Add "Inter-Process Communication" to next.
28028         * manual/process.texi: Add "Inter-Process Communication" to prev.
28030 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28034 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
28036         * malloc/malloc.c (__libc_calloc): Simplify implementation.
28038         * manual/arith.texi: Fix spaces after sentences.
28039         * manual/charset.texi: Likewise.
28040         * manual/errno.texi: Likewise.
28041         * manual/install.texi: Likewise.
28042         * manual/llio.texi: Likewise.
28043         * manual/locale.texi: Likewise.
28044         * manual/maint.texi: Likewise.
28045         * manual/math.texi: Likewise.
28046         * manual/memory.texi: Likewise.
28047         * manual/message.texi: Likewise.
28048         * manual/probes.texi: Likewise.
28049         * manual/resource.texi: Likewise.
28050         * manual/signal.texi: Likewise.
28051         * manual/socket.texi: Likewise.
28052         * manual/stdio.texi: Likewise.
28053         * manual/string.texi: Likewise.
28054         * manual/time.texi: Likewise.
28055         * manual/users.texi: Likewise.
28057 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
28059         [BZ #16632]
28060         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
28061         _DEFAULT_SOURCE is defined.
28063 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
28064             Carlos O'Donell  <carlos@redhat.com>
28066         [BZ #16613]
28067         * elf/dl-tls.c (_dl_count_modids): New function.
28068         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
28069         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
28070         audit library and increment generation counter.
28071         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
28072         * elf/tst-audit9.c: New file.
28073         * elf/tst-auditmod9a.c: New file.
28074         * elf/tst-auditmod9b.c: New file.
28075         * elf/Makefile: Add rules to build and run tst-audit9.
28077 2014-02-25  Florian Weimer  <fweimer@redhat.com>
28079         [BZ #15347]
28080         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
28082 2014-02-25  Will Newton  <will.newton@linaro.org>
28084         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
28085         (__longjmp): Restore sp and lr before restoring callee
28086         saved registers.  Add longjmp and longjmp_target
28087         SystemTap probe point.
28088         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
28089         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
28090         Define to zero to match jmpbuf layout.
28091         * sysdeps/arm/setjmp.S: Include stap-probe.h.
28092         (__sigsetjmp): Save sp and lr before saving callee
28093         saved registers.  Add setjmp SystemTap probe point.
28095 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
28097         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28099 2014-02-24  Andreas Schwab  <schwab@suse.de>
28101         [BZ #15804]
28102         * elf/pldd.c (wait_for_ptrace_stop): New function.
28103         (main): Call it after attaching.
28105 2014-02-22  Roland McGrath  <roland@hack.frob.com>
28107         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
28108         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
28109         Versions files is now verboten.
28110         * hurd/Versions (libc: GLIBC_2.0):
28111         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
28112         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
28113         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
28114         * mach/Versions: Likewise.
28116         * csu/Versions: Remove unused %include.
28117         * resolv/Versions: Likewise.
28119 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
28121         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
28122         ($(objpfx)check-local-headers.out): Likewise.
28123         ($(objpfx)begin-end-check.out): Likewise.
28124         * Makerules (check-abi-%.out): Likewise.
28125         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
28126         ($(objpfx)test2.cat): Likewise.
28127         ($(objpfx)de/libc.cat): Likewise.
28128         ($(objpfx)test-gencat.out): Likewise.
28129         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
28130         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
28131         ($(objpfx)noload-mem): Likewise.
28132         ($(objpfx)tst-pathopt.out): Likewise.
28133         ($(objpfx)tst-rtld-load-self.out): Likewise.
28134         ($(objpfx)tst-array1-cmp.out): Likewise.
28135         ($(objpfx)tst-array1-static-cmp.out): Likewise.
28136         ($(objpfx)tst-array2-cmp.out): Likewise.
28137         ($(objpfx)tst-array3-cmp.out): Likewise.
28138         ($(objpfx)tst-array4-cmp.out): Likewise.
28139         ($(objpfx)tst-array5-cmp.out): Likewise.
28140         ($(objpfx)tst-array5-static-cmp.out): Likewise.
28141         ($(objpfx)check-textrel.out): Likewise.
28142         ($(objpfx)check-execstack.out): Likewise.
28143         ($(objpfx)check-localplt.out): Likewise.
28144         ($(objpfx)order2-cmp.out): Likewise.
28145         ($(objpfx)tst-leaks1-mem): Likewise.
28146         ($(objpfx)tst-leaks1-static-mem): Likewise.
28147         ($(objpfx)tst-initorder-cmp.out): Likewise.
28148         ($(objpfx)tst-initorder2-cmp.out): Likewise.
28149         ($(objpfx)tst-unused-dep.out): Likewise.
28150         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
28151         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
28152         * iconv/Makefile (test-iconvconfig): Likewise.
28153         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
28154         ($(objpfx)iconv-test.out): Likewise.
28155         ($(objpfx)tst-tables.out): Likewise.
28156         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
28157         ($(objpfx)tst-gettext.out): Likewise.
28158         ($(objpfx)tst-translit.out): Likewise.
28159         ($(objpfx)tst-gettext2.out): Likewise.
28160         ($(objpfx)tst-gettext4.out): Likewise.
28161         ($(objpfx)tst-gettext6.out): Likewise.
28162         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
28163         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
28164         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
28165         ($(objpfx)tst-fopenloc-mem.out): Likewise.
28166         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
28167         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
28168         * posix/Makefile ($(objpfx)globtest.out): Likewise.
28169         ($(objpfx)wordexp-tst.out): Likewise.
28170         ($(objpfx)annexc.out): Likewise.
28171         ($(objpfx)tst-fnmatch-mem): Likewise.
28172         ($(objpfx)bug-regex2-mem): Likewise.
28173         ($(objpfx)bug-regex14-mem): Likewise.
28174         ($(objpfx)bug-regex21-mem): Likewise.
28175         ($(objpfx)bug-regex31-mem): Likewise.
28176         ($(objpfx)tst-vfork3-mem): Likewise.
28177         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
28178         ($(objpfx)tst-pcre-mem): Likewise.
28179         ($(objpfx)tst-boost-mem): Likewise.
28180         ($(objpfx)tst-getconf.out): Likewise.
28181         ($(objpfx)bug-ga2-mem): Likewise.
28182         ($(objpfx)bug-glob2-mem): Likewise.
28183         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
28184         ($(objpfx)mtrace-tst-leaks2): Likewise.
28185         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
28186         ($(objpfx)tst-printf.out): Likewise.
28187         ($(objpfx)tst-setvbuf1.out): Likewise.
28188         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
28189         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
28190         ($(objpfx)tst-fmtmsg.out): Likewise.
28191         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
28192         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
28194         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
28195         * bits/sigaction.h [__USE_MISC]: Likewise.
28196         * bits/waitstatus.h: Update #endif comments.
28197         * ctype/ctype.h: Likewise.
28198         * dirent/dirent.h: Likewise.
28199         [__USE_MISC]: Remove redundant conditionals.
28200         * grp/grp.h: Update #endif comments.
28201         [__USE_GNU]: Remove redundant conditionals.
28202         [__USE_MISC]: Likewise.
28203         * inet/netinet/in.h [__USE_GNU]: Likewise.
28204         * io/sys/stat.h [__USE_MISC]: Likewise.
28205         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
28206         * libio/bits/stdio.h: Update #endif comments.
28207         [__USE_MISC]: Remove redundant conditionals.
28208         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
28209         * libio/stdio.h: Update #endif comments.
28210         [__USE_MISC]: Remove redundant conditionals.
28211         * math/bits/math-finite.h [__USE_MISC]: Likewise.
28212         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
28213         * math/math.h: Update #else and #endif comments.
28214         [__USE_MISC]: Remove redundant conditionals.
28215         * misc/sys/uio.h: Update #endif comments.
28216         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
28217         * posix/glob.h [__USE_MISC]: Likewise.
28218         * posix/sys/types.h: Update #endif comments.
28219         [__USE_MISC]: Remove redundant conditionals.
28220         * posix/sys/wait.h: Update #endif comments.
28221         [__USE_MISC]: Remove redundant conditionals.
28222         * posix/unistd.h: Update #endif comments.
28223         [__USE_MISC]: Remove redundant conditionals.
28224         * pwd/pwd.h [__USE_GNU]: Likewise.
28225         [__USE_MISC]: Likewise.
28226         * resolv/netdb.h [__USE_GNU]: Likewise.
28227         * signal/signal.h: Update #endif comments.
28228         [__USE_MISC]: Remove redundant conditionals.
28229         * stdlib/stdlib.h: Update #else and #endif comments.
28230         [__USE_MISC]: Remove redundant conditionals.
28231         [__USE_GNU]: Likewise.
28232         * string/bits/string2.h [__USE_MISC]: Likewise.
28233         * string/string.h: Update #endif comments.
28234         [__USE_MISC]: Remove redundant conditionals.
28235         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
28236         Likewise.
28237         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
28238         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
28239         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
28240         Likewise.
28241         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
28242         Likewise.
28243         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
28244         comments.
28245         [__USE_MISC]: Remove redundant conditionals.
28246         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
28247         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
28248         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
28249         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
28250         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
28251         Likewise.
28252         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
28253         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
28254         Likewise.
28255         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
28256         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
28257         Likewise.
28258         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
28259         Likewise.
28260         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
28261         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
28262         Likewise.
28263         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
28264         Likewise.
28265         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
28266         * sysdeps/x86/bits/string.h: Update #endif comments.
28267         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
28268         conditionals.
28269         * time/sys/time.h: Update #endif comments.
28270         * time/time.h: Likewise.
28271         [__USE_MISC]: Remove redundant conditionals.
28273 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
28275         [BZ #16600]
28276         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
28278 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
28280         * Versions.def (librt): Add GLIBC_2.17.
28282 2014-02-21  Adam Conrad  <adconrad@0c3.net>
28284         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
28285         synonym for _SYS_AUXV_H to allow direct inclusion.
28286         * sysdeps/sparc/bits/hwcap.h: Likewise.
28287         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
28288         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
28289         * sysdeps/sparc/sysdep.h: Likewise.
28291 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28293         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
28295 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28297         * benchtests/bench-strrchr.c: Print length instead of position.
28299 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
28301         [BZ #16611]
28302         * sysdeps/unix/sysv/linux/kernel-features.h
28303         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
28304         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
28305         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
28306         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
28307         Likewise.
28308         [__i386__ || __powerpc__ || __sh__ || __sparc__]
28309         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28310         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
28311         (__ASSUME_SENDMMSG): Define instead of using previous
28312         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
28313         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28314         (__ASSUME_SENDMMSG_SYSCALL): Define.
28315         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28316         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
28317         Likewise.
28318         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28319         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
28320         Likewise.
28321         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28322         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
28323         Likewise.
28324         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
28325         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
28326         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
28327         [__ASSUME_SENDMMSG]: Change conditionals to
28328         [__ASSUME_SENDMMSG_SOCKETCALL].
28329         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28330         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
28331         Define.
28332         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28333         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
28334         Likewise.
28335         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
28336         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
28337         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
28338         [!__ASSUME_SENDMMSG]: Change conditional to
28339         [!__ASSUME_SENDMMSG_SOCKETCALL].
28340         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28341         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
28342         Define.
28344         [BZ #16610]
28345         * sysdeps/unix/sysv/linux/kernel-features.h
28346         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
28347         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
28348         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
28349         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
28350         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28351         [__i386__ || __sparc__]
28352         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28353         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
28354         (__ASSUME_RECVMMSG): Define instead of using previous
28355         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
28356         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28357         (__ASSUME_RECVMMSG_SYSCALL): Define.
28358         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28359         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28360         Likewise.
28361         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28362         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28363         Likewise.
28364         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28365         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28366         Likewise.
28367         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
28368         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
28369         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
28370         [__ASSUME_RECVMMSG]: Change condition to
28371         [__ASSUME_RECVMMSG_SOCKETCALL].
28372         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28373         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28374         Define.
28375         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28376         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28377         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28378         Likewise.
28379         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
28380         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
28381         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
28382         [!__ASSUME_RECVMMSG]: Change condition to
28383         [!__ASSUME_RECVMMSG_SOCKETCALL].
28384         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28385         (__ASSUME_RECVMMSG_SYSCALL): Define.
28387         [BZ #16609]
28388         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
28389         __powerpc__ || __s390__ || __sh__ || __sparc__]
28390         (__ASSUME_SOCKETCALL): Define.
28391         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
28392         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
28393         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
28394         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
28395         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28396         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28397         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
28398         (__ASSUME_ACCEPT4): Define instead of using previous
28399         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
28400         __powerpc__ || __sparc__ || __s390__)] condition.
28401         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28402         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
28403         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
28404         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
28405         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
28406         [!__ASSUME_ACCEPT4]: Change condition to
28407         [!__ASSUME_ACCEPT4_SOCKETCALL].
28408         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28409         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
28410         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
28411         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28412         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
28413         __ASSUME_ACCEPT4_SYSCALL.
28414         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
28415         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
28416         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28417         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
28418         __ASSUME_ACCEPT4_SYSCALL.
28419         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
28420         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
28421         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
28422         [__ASSUME_ACCEPT4]: Change condition to
28423         [__ASSUME_ACCEPT4_SOCKETCALL].
28424         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28425         (__ASSUME_SOCKETCALL): Define.
28426         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
28427         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28428         (__ASSUME_SOCKETCALL): Define.
28429         (__ASSUME_ACCEPT4): Remove.
28430         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
28431         Define.
28432         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28433         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
28434         Likewise.
28435         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28436         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
28438         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
28439         macro.
28440         (HWCAP_ARM_LPAE): Likewise.
28441         (HWCAP_ARM_EVTSTRM): Likewise.
28442         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
28443         Add vpfd32, lpae and evtstrm.
28444         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
28445         Increase to 22.
28447 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
28449         * math/auto-libm-test-in: Add tests of clog10.
28450         * math/auto-libm-test-out: Regenerated.
28451         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
28452         * sysdeps/i386/fpu/libm-test-ulps: Update.
28453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28455 2014-02-18  Andreas Schwab  <schwab@suse.de>
28457         [BZ #16574]
28458         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
28459         Store non-zero if the second buffer was newly allocated.
28460         (send_dg): Likewise.
28461         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
28462         to send_vc and send_dg.
28463         (res_nsend): Pass NULL for ansp2_malloced.
28464         * resolv/res_query.c (__libc_res_nquery): Add parameter
28465         answerp2_malloced and pass it down to __libc_res_nsend.
28466         (res_nquery): Pass additional NULL to __libc_res_nquery.
28467         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
28468         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
28469         second answer buffer if answerp2_malloced was set.
28470         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
28471         (__libc_res_nquerydomain): Add parameter
28472         answerp2_malloced and pass it down to __libc_res_nquery.
28473         (res_nquerydomain): Pass additional NULL to
28474         __libc_res_nquerydomain.
28475         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
28476         additional NULL to __libc_res_nsend and __libc_res_nquery.
28477         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
28478         additional NULL to __libc_res_nsearch.
28479         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
28480         parameter of __libc_res_nsearch to check for separately allocated
28481         second buffer.
28482         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
28483         __libc_res_nquery.
28484         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
28485         additional NULL to __libc_res_nquery.
28486         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
28487         __libc_res_nsearch.
28488         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
28489         * include/resolv.h: Update prototypes of __libc_res_nquery,
28490         __libc_res_nsearch, __libc_res_nsend.
28492 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
28494         * math/auto-libm-test-in: Add tests of fma.
28495         * math/auto-libm-test-out: Regenerated.
28496         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
28497         (fma_towardzero_test_data): Likewise.
28498         (fma_downward_test_data): Likewise.
28499         (fma_upward_test_data): Likewise.
28500         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
28501         mpc_mode.
28502         (rounding_modes): Add values for new field.
28503         (func_calc_method): Add value mpfr_fff_f.
28504         (func_calc_desc): Add mpfr_fff_f union field.
28505         (test_function): Add field exact_args.
28506         (FUNC): Add macro argument EXACT_ARGS.
28507         (FUNC_mpfr_f_f): Update call to FUNC.
28508         (FUNC_mpfr_f_f): Likewise.
28509         (FUNC_mpfr_ff_f): Likewise.
28510         (FUNC_mpfr_if_f): Likewise.
28511         (FUNC_mpc_c_f): Likewise.
28512         (FUNC_mpc_c_c): Likewise.
28513         (test_functions): Add fma.  Update calls to FUNC.
28514         (handle_input_arg): Add argument exact_args.
28515         (add_test): Update call to handle_input_arg.
28516         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
28517         (output_for_one_input_case): Update call to calc_generic_results.
28518         Recalculate exact zero results in each rounding mode.
28520         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
28521         non-negative before setting low bit.
28522         * math/auto-libm-test-in: Mark one asin test possibly having
28523         spurious underflow.
28524         * math/auto-libm-test-out: Regenerated.
28525         * sysdeps/i386/fpu/libm-test-ulps: Update.
28526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28528 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
28530         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
28531         * sysdeps/unix/sysv/linux/microblaze: Move directory from
28532         ports/sysdeps/unix/sysv/linux/microblaze.
28533         * README: Add missing listing for microblaze*-*-linux-gnu.
28535 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
28537         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
28538         duplicate code
28540 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
28542         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
28543         * sysdeps/unix/sysv/linux/ia64: Move directory from
28544         ports/sysdeps/unix/sysv/linux/ia64.
28545         * README: Update listing for ia64-*-linux-gnu.
28547 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
28548             Joseph Myers  <joseph@codesourcery.com>
28550         * Makeconfig (test-name): New variable.
28551         (evaluate-test): Likewise.
28552         * Makerules (do-test-clean): Remove .test-result files.
28553         (common-mostlyclean): Likewise.
28554         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
28555         * scripts/evaluate-test.sh: New file.
28557 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
28559         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
28560         separate $(objpfx)tst-fopenloc-cmp.out and
28561         $(objpfx)tst-fopenloc-mem.out targets.
28562         (tests): Update dependencies.
28563         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
28564         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
28565         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
28566         (tst-rxspencer-no-utf8-ARGS): New variable.
28567         (tst-rxspencer-no-utf8-ENV): Likewise.
28568         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
28569         instead of $(objpfx)tst-rxspencer-mem.
28570         ($(objpfx)tst-rxspencer-mem): Change target to
28571         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
28572         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
28573         * posix/tst-rxspencer-no-utf8.c: New file.
28575         * elf/Makefile ($(objpfx)order.out): Remove rule.
28576         [$(run-built-tests) = yes] (tests): Depend on
28577         $(objpfx)order-cmp.out.
28578         ($(objpfx)order-cmp.out): New rule.
28579         [$(run-built-tests) = yes] (tests): Depend on
28580         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
28581         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
28582         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
28583         $(objpfx)tst-array5-static-cmp.out.
28584         ($(objpfx)tst-array1.out): Remove rule.
28585         ($(objpfx)tst-array1-cmp.out): New rule.
28586         ($(objpfx)tst-array1-static.out): Remove rule.
28587         ($(objpfx)tst-array1-static-cmp.out): New rule.
28588         ($(objpfx)tst-array2.out): Remove rule.
28589         ($(objpfx)tst-array2-cmp.out): New rule.
28590         ($(objpfx)tst-array3.out): Remove rule.
28591         ($(objpfx)tst-array3-cmp.out): New rule.
28592         ($(objpfx)tst-array4.out): Remove rule.
28593         ($(objpfx)tst-array4-cmp.out): New rule.
28594         ($(objpfx)tst-array5.out): Remove rule.
28595         ($(objpfx)tst-array5-cmp.out): New rule.
28596         ($(objpfx)tst-array5-static.out): Remove rule.
28597         ($(objpfx)tst-array5-static-cmp.out): New rule.
28598         [$(run-built-tests) = yes] (tests): Depend on
28599         $(objpfx)order2-cmp.out.
28600         ($(objpfx)order2.out): Remove rule.
28601         ($(objpfx)order2-cmp.out): New rule.
28602         ($(objpfx)tst-initorder.out): Remove rule.
28603         [$(run-built-tests) = yes] (tests): Depend on
28604         $(objpfx)tst-initorder-cmp.out.
28605         ($(objpfx)tst-initorder-cmp.out): New rule.
28606         ($(objpfx)tst-initorder2.out): Remove rule.
28607         [$(run-built-tests) = yes] (tests): Depend on
28608         $(objpfx)tst-initorder2-cmp.out.
28609         ($(objpfx)tst-initorder2-cmp.out): New rule.
28610         [$(run-built-tests) = yes] (tests): Depend on
28611         $(objpfx)tst-unused-dep-cmp.out.
28612         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
28613         ($(objpfx)tst-unused-dep-cmp.out): New rule.
28614         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
28615         on $(objpfx)tst-setvbuf1-cmp.out.
28616         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
28617         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
28618         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
28619         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
28620         ($(objpfx)tst-svc.out): Remove rule.
28621         ($(objpfx)tst-svc-cmp.out): New rule.
28623 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
28625         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
28626         * ctype/ctype.h [__USE_MISC]: Likewise.
28627         * dirent/dirent.h [__USE_MISC]: Likewise.
28628         * grp/grp.h [__USE_MISC]: Likewise.
28629         * io/fcntl.h [__USE_MISC]: Likewise.
28630         * io/sys/stat.h [__USE_MISC]: Likewise.
28631         * libio/stdio.h [__USE_MISC]: Likewise.
28632         * posix/unistd.h [__USE_MISC]: Likewise.
28633         * pwd/pwd.h [__USE_MISC]: Likewise.
28634         * stdlib.h [__USE_MISC]: Likewise.
28635         * string/bits/string2.h [__USE_MISC]: Likewise.
28636         * string/string.h [__USE_MISC]: Likewise.
28637         * time/time.h [__USE_MISC]: Likewise.
28639 2014-02-13  Andreas Schwab  <schwab@suse.de>
28641         [BZ #16574]
28642         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
28643         second answer buffer if it was separately allocated.
28645 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
28647         * sysdeps/mips/math-tests.h: Include <features.h>.
28648         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
28649         (ROUNDING_TESTS_long_double): Do not define.
28650         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
28651         (EXCEPTION_TESTS_long_double): Likewise.
28652         * sysdeps/mips/mips64/libm-test-ulps: Update.
28654         * include/features.h (__USE_BSD): Remove macro definitions.
28655         (__USE_SVID): Likewise.
28656         (_BSD_SOURCE): Likewise.
28657         (_SVID_SOURCE): Likewise.
28658         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
28659         from definition of _DEFAULT_SOURCE.
28660         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
28661         [_DEFAULT_SOURCE].
28662         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
28663         * bits/mman.h [__USE_BSD]: Likewise.
28664         * bits/termios.h [__USE_BSD]: Likewise.
28665         * bits/waitstatus.h [__USE_BSD]: Likewise.
28666         * ctype/ctype.h [__USE_SVID]: Likewise.
28667         * dirent/dirent.h [__USE_BSD]: Likewise.
28668         * grp/grp.h [__USE_SVID]: Likewise.
28669         [__USE_BSD]: Likewise.
28670         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
28671         * io/fcntl.h [__USE_BSD]: Likewise.
28672         * io/ftw.h [__USE_BSD]: Likewise.
28673         * io/sys/stat.h [__USE_BSD]: Likewise.
28674         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
28675         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
28676         * libio/stdio.h [__USE_SVID]: Likewise.
28677         [__USE_BSD]: Likewise.
28678         * math/math.h [__USE_SVID]: Likewise.
28679         [__USE_BSD]: Likewise.
28680         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
28681         * misc/bits/syslog.h [__USE_BSD]: Likewise.
28682         * misc/search.h [__USE_SVID]: Likewise.
28683         * misc/sys/mman.h [__USE_BSD]: Likewise.
28684         * misc/sys/syslog.h [__USE_BSD]: Likewise.
28685         * misc/sys/uio.h [__USE_BSD]: Likewise.
28686         * posix/bits/unistd.h [__USE_BSD]: Likewise.
28687         * posix/glob.h [__USE_BSD]: Likewise.
28688         * posix/regex.h [__USE_BSD]: Likewise.
28689         * posix/sys/types.h [__USE_BSD]: Likewise.
28690         [__USE_SVID]: Likewise.
28691         * posix/sys/utsname.h [__USE_SVID]: Likewise.
28692         * posix/sys/wait.h [__USE_BSD]: Likewise.
28693         [__USE_SVID]: Likewise.
28694         * posix/unistd.h [__USE_BSD]: Likewise.
28695         [__USE_SVID]: Likewise.
28696         * pwd/pwd.h [__USE_SVID]: Likewise.
28697         * resolv/netdb.h [__USE_BSD]: Likewise.
28698         * setjmp/setjmp.h [__USE_BSD]: Likewise.
28699         * signal/signal.h [__USE_BSD]: Likewise.
28700         [__USE_SVID]: Likewise.
28701         * socket/sys/socket.h [__USE_BSD]: Likewise.
28702         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
28703         * stdlib/stdlib.h [__USE_BSD]: Likewise.
28704         [__USE_SVID]: Likewise.
28705         * string/bits/string2.h [__USE_BSD]: Likewise.
28706         [__USE_SVID]: Likewise.
28707         * string/bits/string3.h [__USE_BSD]: Likewise.
28708         * string/endian.h [__USE_BSD]: Likewise.
28709         * string/string.h [__USE_SVID]: Likewise.
28710         [__USE_BSD]: Likewise.
28711         * string/strings.h [__USE_BSD]: Likewise.
28712         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
28713         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
28714         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
28715         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
28716         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
28717         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
28718         Likewise.
28719         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
28720         Likewise.
28721         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
28722         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
28723         Likewise.
28724         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
28725         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
28726         Likewise.
28727         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
28728         Likewise.
28729         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
28730         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
28731         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
28732         Likewise.
28733         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
28734         Likewise.
28735         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
28736         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
28737         * termios/termios.h [__USE_BSD]: Likewise.
28738         * time/sys/time.h [__USE_BSD]: Likewise.
28739         * time/time.h [__USE_BSD]: Likewise.
28740         [__USE_SVID]: Likewise.
28742         * Makefile (subdir_targets): Remove subdir_lint.out.
28744         * stdio-common/Makefile (do-tst-unbputc): Remove target.
28745         (do-tst-printf): Likewise.
28746         (tests): Depend directly on $(objpfx)tst-unbputc.out and
28747         $(objpfx)tst-printf.out.
28749         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
28751         * Makerules (check-abi-%): Change target to
28752         $(objpfx)check-abi-%.out.
28753         (check-abi target): Update dependencies.
28754         (check-abi-pattern variable): Redirect output of diff to $@.
28755         (check-abi variable): Likewise.
28756         * elf/Makefile (check-abi): Update dependencies.
28758         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
28759         unused.
28760         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
28761         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
28762         subnormal range.
28763         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
28764         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
28765         value has largest subnormal exponent.
28766         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
28767         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
28768         * sysdeps/aarch64/soft-fp/sfp-machine.h
28769         (_FP_TININESS_AFTER_ROUNDING): New macro.
28770         * sysdeps/alpha/soft-fp/sfp-machine.h
28771         (_FP_TININESS_AFTER_ROUNDING): Likewise.
28772         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
28773         Likewise.
28774         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
28775         (_FP_TININESS_AFTER_ROUNDING): Likewise.
28776         * sysdeps/mips/soft-fp/sfp-machine.h
28777         (_FP_TININESS_AFTER_ROUNDING): Likewise.
28778         * sysdeps/powerpc/soft-fp/sfp-machine.h
28779         (_FP_TININESS_AFTER_ROUNDING): Likewise.
28780         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
28781         Likewise.
28782         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28783         (_FP_TININESS_AFTER_ROUNDING): Likewise.
28784         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28785         (_FP_TININESS_AFTER_ROUNDING): Likewise.
28786         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
28787         Likewise.
28789 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
28791         [BZ #16545]
28792         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
28793         model 1.
28795 2014-02-12  Richard Henderson  <rth@redhat.com>
28797         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
28798         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
28799         * sysdeps/unix/sysv/linux/alpha: Move directory from
28800         ports/sysdeps/unix/sysv/linux/alpha.
28801         * README: Update listing for alpha-*-linux-gnu.
28803 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
28805         * include/features.h: Update comment documenting feature test
28806         macros.
28807         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
28808         _DEFAULT_SOURCE.
28809         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
28810         (_SVID_SOURCE): Likewise.
28811         (_DEFAULT_SOURCE): Update description of default features.
28812         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
28813         with _GNU_SOURCE.
28814         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
28815         (S_ISVTX): Likewise.
28816         * manual/math.texi (Mathematical Constants): Likewise.
28817         * manual/signal.texi (Interrupted Primitives): Likewise.
28818         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
28819         * math/test-matherr.c (_SVID_SOURCE): Do not define.
28820         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
28821         Don't refer to _SVID_SOURCE in warning text.
28823         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28825         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
28826         already defined.
28827         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
28828         * sysdeps/mips/dl-lookup.c: Remove.
28829         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
28831 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28833         [BZ #16447]
28834         * math/auto-libm-test-in: Add testcase for expl.
28835         * math/auto-libm-test-out: Regenerate.
28836         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
28837         calculation of unsafe.
28838         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
28840 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28842         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
28843         * sysdeps/unix/sysv/linux/aarch64: Move directory from
28844         ports/sysdeps/unix/sysv/linux/aarch64.
28845         * README: Update listing for aarch64*-*-linux-gnu.
28847 2014-02-11  Will Newton  <will.newton@linaro.org>
28849         * manual/probes.texi (Mathematical Function Probes): Use
28850         "triggered" instead of "hit".
28852         * manual/probes.texi (Internal Probes): Add documentation
28853         of setjmp, longjmp and longjmp_target probes.
28855         * include/stap-probe.h: Add comment about probe argument
28856         format.
28858         * malloc/mtrace.c (attribute_hidden): Remove unused macro
28859         definition.  (tr_where, tr_freehook, tr_mallochook,
28860         tr_reallochook, tr_memalignhook): Use ANSI protoype.
28862 2014-02-11  David S. Miller  <davem@davemloft.net>
28864         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
28865         processing int_tests.
28867 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
28869         * sysdeps/mips: Move directory from ports/sysdeps/mips.
28870         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
28871         * sysdeps/unix/sysv/linux/mips: Move directory from
28872         ports/sysdeps/unix/sysv/linux/mips.
28873         * README: Update listing for mips-*-linux-gnu and
28874         mips64-*-linux-gnu.
28876 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
28878         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
28879         * sysdeps/unix/sysv/linux/m68k: Move directory from
28880         ports/sysdeps/unix/sysv/linux/m68k.
28881         * README: Update listing for m68k-*-linux-gnu.
28883 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
28885         * sysdeps/tile: Move directory from ports/sysdeps/tile.
28886         * sysdeps/unix/sysv/linux/generic: Move directory from
28887         ports/sysdeps/unix/sysv/linux/generic.
28888         * sysdeps/unix/sysv/linux/tile: Move directory from
28889         ports/sysdeps/unix/sysv/linux/tile.
28890         * README: Update listing for tile*-*-linux-gnu.
28892 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
28894         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
28895         __builtin_expect.
28896         * benchtests/bench-memmem.c (simple_memmem): Likewise.
28897         * catgets/open_catalog.c (__open_catalog): Likewise.
28898         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
28899         * debug/confstr_chk.c: Likewise.
28900         * debug/fread_chk.c (__fread_chk): Likewise.
28901         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
28902         * debug/getgroups_chk.c: Likewise.
28903         * debug/mbsnrtowcs_chk.c: Likewise.
28904         * debug/mbsrtowcs_chk.c: Likewise.
28905         * debug/mbstowcs_chk.c: Likewise.
28906         * debug/memcpy_chk.c: Likewise.
28907         * debug/memmove_chk.c: Likewise.
28908         * debug/mempcpy_chk.c: Likewise.
28909         * debug/memset_chk.c: Likewise.
28910         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
28911         * debug/strcat_chk.c (__strcat_chk): Likewise.
28912         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
28913         * debug/strncat_chk.c (__strncat_chk): Likewise.
28914         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
28915         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
28916         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
28917         * debug/wcpncpy_chk.c: Likewise.
28918         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
28919         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
28920         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
28921         * debug/wcsncpy_chk.c: Likewise.
28922         * debug/wcsnrtombs_chk.c: Likewise.
28923         * debug/wcsrtombs_chk.c: Likewise.
28924         * debug/wcstombs_chk.c: Likewise.
28925         * debug/wmemcpy_chk.c: Likewise.
28926         * debug/wmemmove_chk.c: Likewise.
28927         * debug/wmempcpy_chk.c: Likewise.
28928         * debug/wmemset_chk.c: Likewise.
28929         * dirent/scandirat.c (SCANDIRAT): Likewise.
28930         * dlfcn/dladdr1.c (dladdr1): Likewise.
28931         * dlfcn/dladdr.c (dladdr): Likewise.
28932         * dlfcn/dlclose.c (dlclose_doit): Likewise.
28933         * dlfcn/dlerror.c (__dlerror): Likewise.
28934         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
28935         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
28936         * dlfcn/dlopen.c (dlopen_doit): Likewise.
28937         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
28938         * dlfcn/dlsym.c (dlsym_doit): Likewise.
28939         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
28940         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
28941         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
28942         Likewise.
28943         * elf/dl-conflict.c: Likewise.
28944         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28945         * elf/dl-dst.h: Likewise.
28946         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
28947         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
28948         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28949         * elf/dl-init.c (call_init, _dl_init): Likewise.
28950         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
28951         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
28952         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
28953         Likewise.
28954         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
28955         Likewise.
28956         * elf/dl-minimal.c (__libc_memalign): Likewise.
28957         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
28958         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
28959         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
28960         * elf/dl-sym.c (do_sym): Likewise.
28961         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
28962         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
28963         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
28964         * elf/dl-writev.h (_dl_writev): Likewise.
28965         * elf/ldconfig.c (search_dir): Likewise.
28966         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
28967         (dl_main): Likewise.
28968         * elf/setup-vdso.h (setup_vdso): Likewise.
28969         * grp/compat-initgroups.c (compat_call): Likewise.
28970         * grp/fgetgrent.c (fgetgrent): Likewise.
28971         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
28972         * grp/putgrent.c (putgrent): Likewise.
28973         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28974         Likewise.
28975         * hurd/hurdinit.c: Likewise.
28976         * iconvdata/8bit-gap.c (struct): Likewise.
28977         * iconvdata/ansi_x3.110.c : Likewise.
28978         * iconvdata/big5.c : Likewise.
28979         * iconvdata/big5hkscs.c : Likewise.
28980         * iconvdata/cp1255.c: Likewise.
28981         * iconvdata/cp1258.c : Likewise.
28982         * iconvdata/cp932.c : Likewise.
28983         * iconvdata/euc-cn.c: Likewise.
28984         * iconvdata/euc-jisx0213.c : Likewise.
28985         * iconvdata/euc-jp.c: Likewise.
28986         * iconvdata/euc-jp-ms.c : Likewise.
28987         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
28988         * iconvdata/gb18030.c : Likewise.
28989         * iconvdata/gbbig5.c (const): Likewise.
28990         * iconvdata/gbgbk.c: Likewise.
28991         * iconvdata/gbk.c : Likewise.
28992         * iconvdata/ibm1364.c : Likewise.
28993         * iconvdata/ibm930.c : Likewise.
28994         * iconvdata/ibm932.c: Likewise.
28995         * iconvdata/ibm933.c : Likewise.
28996         * iconvdata/ibm935.c : Likewise.
28997         * iconvdata/ibm937.c : Likewise.
28998         * iconvdata/ibm939.c : Likewise.
28999         * iconvdata/ibm943.c: Likewise.
29000         * iconvdata/iso_11548-1.c: Likewise.
29001         * iconvdata/iso-2022-cn.c : Likewise.
29002         * iconvdata/iso-2022-cn-ext.c : Likewise.
29003         * iconvdata/iso-2022-jp-3.c: Likewise.
29004         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
29005         * iconvdata/iso-2022-kr.c : Likewise.
29006         * iconvdata/iso646.c (gconv_end): Likewise.
29007         * iconvdata/iso_6937-2.c : Likewise.
29008         * iconvdata/iso_6937.c : Likewise.
29009         * iconvdata/iso8859-1.c: Likewise.
29010         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
29011         * iconvdata/shift_jisx0213.c : Likewise.
29012         * iconvdata/sjis.c : Likewise.
29013         * iconvdata/t.61.c : Likewise.
29014         * iconvdata/tcvn5712-1.c : Likewise.
29015         * iconvdata/tscii.c: Likewise.
29016         * iconvdata/uhc.c : Likewise.
29017         * iconvdata/unicode.c (gconv_end): Likewise.
29018         * iconvdata/utf-16.c (gconv_end): Likewise.
29019         * iconvdata/utf-32.c (gconv_end): Likewise.
29020         * iconvdata/utf-7.c (base64): Likewise.
29021         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29022         * iconv/gconv_close.c (__gconv_close): Likewise.
29023         * iconv/gconv_open.c (__gconv_open): Likewise.
29024         * iconv/gconv_simple.c (internal_ucs4_loop_single)
29025         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
29026         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
29027         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
29028         (ucs4le_internal_loop_single): Likewise.
29029         * iconv/iconv.c (iconv): Likewise.
29030         * iconv/iconv_close.c: Likewise.
29031         * iconv/loop.c (SINGLE): Likewise.
29032         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
29033         * include/atomic.h: Likewise.
29034         * inet/inet6_option.c (option_alloc): Likewise.
29035         * intl/bindtextdom.c (set_binding_values): Likewise.
29036         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
29037         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
29038         * intl/localealias.c (read_alias_file): Likewise.
29039         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
29040         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
29041         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
29042         * libio/fmemopen.c (fmemopen): Likewise.
29043         * libio/iofgets.c (_IO_fgets): Likewise.
29044         * libio/iofgets_u.c (fgets_unlocked): Likewise.
29045         * libio/iofgetws.c (fgetws): Likewise.
29046         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
29047         * libio/iogetdelim.c (_IO_getdelim): Likewise.
29048         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
29049         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
29050         * locale/findlocale.c (_nl_find_locale): Likewise.
29051         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29052         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
29053         Likewise.
29054         * locale/setlocale.c (setlocale): Likewise.
29055         * login/programs/pt_chown.c (main): Likewise.
29056         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
29057         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
29058         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
29059         (mmap, mmap64, mremap, munmap): Likewise.
29060         * math/e_exp2l.c: Likewise.
29061         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
29062         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
29063         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
29064         * math/s_catan.c (__catan): Likewise.
29065         * math/s_catanf.c (__catanf): Likewise.
29066         * math/s_catanh.c (__catanh): Likewise.
29067         * math/s_catanhf.c (__catanhf): Likewise.
29068         * math/s_catanhl.c (__catanhl): Likewise.
29069         * math/s_catanl.c (__catanl): Likewise.
29070         * math/s_ccosh.c (__ccosh): Likewise.
29071         * math/s_ccoshf.c (__ccoshf): Likewise.
29072         * math/s_ccoshl.c (__ccoshl): Likewise.
29073         * math/s_cexp.c (__cexp): Likewise.
29074         * math/s_cexpf.c (__cexpf): Likewise.
29075         * math/s_cexpl.c (__cexpl): Likewise.
29076         * math/s_clog10.c (__clog10): Likewise.
29077         * math/s_clog10f.c (__clog10f): Likewise.
29078         * math/s_clog10l.c (__clog10l): Likewise.
29079         * math/s_clog.c (__clog): Likewise.
29080         * math/s_clogf.c (__clogf): Likewise.
29081         * math/s_clogl.c (__clogl): Likewise.
29082         * math/s_csin.c (__csin): Likewise.
29083         * math/s_csinf.c (__csinf): Likewise.
29084         * math/s_csinh.c (__csinh): Likewise.
29085         * math/s_csinhf.c (__csinhf): Likewise.
29086         * math/s_csinhl.c (__csinhl): Likewise.
29087         * math/s_csinl.c (__csinl): Likewise.
29088         * math/s_csqrt.c (__csqrt): Likewise.
29089         * math/s_csqrtf.c (__csqrtf): Likewise.
29090         * math/s_csqrtl.c (__csqrtl): Likewise.
29091         * math/s_ctan.c (__ctan): Likewise.
29092         * math/s_ctanf.c (__ctanf): Likewise.
29093         * math/s_ctanh.c (__ctanh): Likewise.
29094         * math/s_ctanhf.c (__ctanhf): Likewise.
29095         * math/s_ctanhl.c (__ctanhl): Likewise.
29096         * math/s_ctanl.c (__ctanl): Likewise.
29097         * math/w_pow.c: Likewise.
29098         * math/w_powf.c: Likewise.
29099         * math/w_powl.c: Likewise.
29100         * math/w_scalb.c (sysv_scalb): Likewise.
29101         * math/w_scalbf.c (sysv_scalbf): Likewise.
29102         * math/w_scalbl.c (sysv_scalbl): Likewise.
29103         * misc/error.c (error_tail): Likewise.
29104         * misc/pselect.c (__pselect): Likewise.
29105         * nis/nis_callback.c (__nis_create_callback): Likewise.
29106         * nis/nis_call.c (__nisfind_server): Likewise.
29107         * nis/nis_creategroup.c (nis_creategroup): Likewise.
29108         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
29109         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
29110         * nis/nis_getservlist.c (nis_getservlist): Likewise.
29111         * nis/nis_lookup.c (nis_lookup): Likewise.
29112         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
29113         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
29114         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
29115         * nis/nis_xdr.c (xdr_endpoint): Likewise.
29116         * nis/nss_compat/compat-grp.c (getgrent_next_file)
29117         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
29118         * nis/nss_compat/compat-initgroups.c (add_group)
29119         (internal_getgrent_r): Likewise.
29120         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
29121         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
29122         * nis/nss_compat/compat-spwd.c (getspent_next_file)
29123         (internal_getspnam_r): Likewise.
29124         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
29125         (_nss_nis_getaliasbyname_r): Likewise.
29126         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
29127         (_nss_nis_getntohost_r): Likewise.
29128         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
29129         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
29130         (_nss_nis_getgrgid_r): Likewise.
29131         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
29132         (internal_nis_gethostent_r, internal_gethostbyname2_r)
29133         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
29134         (_nss_nis_gethostbyname4_r): Likewise.
29135         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
29136         (initgroups_netid): Likewise.
29137         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
29138         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
29139         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
29140         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
29141         (_nss_nis_getprotobynumber_r): Likewise.
29142         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
29143         (_nss_nis_getsecretkey): Likewise.
29144         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
29145         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
29146         (_nss_nis_getpwuid_r): Likewise.
29147         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
29148         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
29149         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
29150         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
29151         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
29152         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
29153         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
29154         Likewise.
29155         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
29156         (_nss_nisplus_getntohost_r): Likewise.
29157         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
29158         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
29159         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
29160         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
29161         Likewise.
29162         * nis/nss_nisplus/nisplus-initgroups.c
29163         (_nss_nisplus_initgroups_dyn): Likewise.
29164         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
29165         (_nss_nisplus_getnetbyaddr_r): Likewise.
29166         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
29167         (_nss_nisplus_getprotobynumber_r): Likewise.
29168         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
29169         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
29170         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
29171         Likewise.
29172         * nis/nss_nisplus/nisplus-service.c
29173         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
29174         (_nss_nisplus_getservbyport_r): Likewise.
29175         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
29176         (_nss_nisplus_getspnam_r): Likewise.
29177         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
29178         Likewise.
29179         * nscd/aicache.c (addhstaiX): Likewise.
29180         * nscd/cache.c (cache_search, prune_cache): Likewise.
29181         * nscd/connections.c (register_traced_file, send_ro_fd)
29182         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
29183         (main_loop_epoll): Likewise.
29184         * nscd/grpcache.c (addgrbyX): Likewise.
29185         * nscd/hstcache.c (addhstbyX): Likewise.
29186         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29187         * nscd/mem.c (gc, mempool_alloc): Likewise.
29188         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
29189         (addinnetgrX): Likewise.
29190         * nscd/nscd-client.h (__nscd_acquire_maplock)
29191         (__nscd_drop_map_ref): Likewise.
29192         * nscd/nscd_getai.c (__nscd_getai): Likewise.
29193         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29194         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
29195         Likewise.
29196         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29197         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29198         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
29199         (__nscd_get_map_ref): Likewise.
29200         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29201         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
29202         Likewise.
29203         * nscd/pwdcache.c (addpwbyX): Likewise.
29204         * nscd/selinux.c (preserve_capabilities): Likewise.
29205         * nscd/servicescache.c (addservbyX): Likewise.
29206         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
29207         * posix/fnmatch.c (fnmatch): Likewise.
29208         * posix/getopt.c (_getopt_internal_r): Likewise.
29209         * posix/glob.c (glob, glob_in_dir): Likewise.
29210         * posix/wordexp.c (exec_comm_child): Likewise.
29211         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
29212         (getanswer_r, gaih_getanswer_slice): Likewise.
29213         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
29214         * resolv/res_init.c: Likewise.
29215         * resolv/res_mkquery.c (res_nmkquery): Likewise.
29216         * resolv/res_query.c (__libc_res_nquery): Likewise.
29217         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
29218         Likewise.
29219         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
29220         * stdio-common/perror.c (perror): Likewise.
29221         * stdio-common/printf_fp.c (___printf_fp): Likewise.
29222         * stdio-common/tmpnam.c (tmpnam): Likewise.
29223         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29224         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29225         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29226         Likewise.
29227         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
29228         * stdlib/putenv.c (putenv): Likewise.
29229         * stdlib/setenv.c (__add_to_environ): Likewise.
29230         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29231         * stdlib/strtol_l.c (INTERNAL): Likewise.
29232         * string/memmem.c (memmem): Likewise.
29233         * string/strerror.c (strerror): Likewise.
29234         * string/strnlen.c (__strnlen): Likewise.
29235         * string/test-memmem.c (simple_memmem): Likewise.
29236         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
29237         * sunrpc/pm_getport.c (__get_socket): Likewise.
29238         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
29239         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
29240         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
29241         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
29242         Likewise.
29243         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
29244         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29245         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
29246         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
29247         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
29248         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
29249         Likewise.
29250         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
29251         Likewise.
29252         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29253         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29254         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29255         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29256         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
29257         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
29258         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
29259         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
29260         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
29261         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
29262         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29263         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
29264         Likewise.
29265         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
29266         Likewise.
29267         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
29268         Likewise.
29269         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
29270         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29271         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
29272         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
29273         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
29274         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
29275         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29276         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
29277         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
29278         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
29279         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
29280         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29281         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29282         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
29283         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29284         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29285         Likewise.
29286         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
29287         Likewise.
29288         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
29289         Likewise.
29290         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
29291         Likewise.
29292         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29293         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29294         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
29295         Likewise.
29296         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
29297         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
29298         * sysdeps/posix/opendir.c (__opendirat): Likewise.
29299         * sysdeps/posix/sleep.c: Likewise.
29300         * sysdeps/posix/tempname.c: Likewise.
29301         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
29302         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29303         Likewise.
29304         * sysdeps/powerpc/powerpc32/dl-machine.h
29305         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
29306         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29307         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29308         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
29309         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
29310         Likewise.
29311         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
29312         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
29313         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
29314         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
29315         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
29316         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
29317         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
29318         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
29319         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29320         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
29321         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
29322         (elf_machine_lazy_rel): Likewise.
29323         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29324         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
29325         (elf_machine_lazy_rel): Likewise.
29326         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
29327         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
29328         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
29329         * sysdeps/unix/grantpt.c (grantpt): Likewise.
29330         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
29331         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
29332         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
29333         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29334         Likewise.
29335         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29336         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29337         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
29338         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
29339         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29340         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29341         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
29342         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
29343         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
29344         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29345         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29346         Likewise.
29347         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
29348         (__posix_fallocate64_l64): Likewise.
29349         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
29350         (posix_fallocate): Likewise.
29351         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
29352         Likewise.
29353         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29354         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
29355         (getifaddrs_internal): Likewise.
29356         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
29357         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
29358         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29359         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
29360         * sysdeps/unix/sysv/linux/posix_fallocate64.c
29361         (__posix_fallocate64_l64): Likewise.
29362         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
29363         Likewise.
29364         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
29365         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
29366         (__get_clockfreq): Likewise.
29367         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
29368         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
29369         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
29370         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29371         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29372         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
29373         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
29374         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
29375         Likewise.
29376         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
29377         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
29378         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29379         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
29380         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29381         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
29382         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
29383         Likewise.
29384         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29385         (posix_fallocate): Likewise.
29386         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29387         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29388         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
29389         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
29390         (elf_machine_rela, elf_machine_rela_relative)
29391         (elf_machine_lazy_rel): Likewise.
29392         * time/asctime.c (asctime_internal): Likewise.
29393         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
29394         * time/tzset.c (__tzset_parse_tz): Likewise.
29395         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29396         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29397         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
29398         * wcsmbs/wcsmbsload.h: Likewise.
29400         [BZ #15894]
29401         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
29403         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
29404         (arena_get2): Remove THREAD_STATS conditionals.
29405         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
29406         (__malloc_stats, int): Likewise.
29408 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
29410         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
29411         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
29413         * manual/setjmp.texi: Fix typos/grammar errors.
29415         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
29416         Only return early when n is <= 0.  Delete unused return statement.
29418         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
29419         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
29420         * debug/tst-longjmp_chk3.c: New file.
29422         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
29423         (test_main): Replace code with set_fortify_handler call.
29424         * debug/test-strcpy_chk.c: Likewise.
29425         * debug/tst-chk1.c: Likewise.
29426         * debug/tst-longjmp_chk.c: Likewise.
29427         * test-skeleton.c: Include fcntl.h & paths.h
29428         (set_fortify_handler): Define.
29430         * debug/tst-longjmp_chk.c: Add header comment and include
29431         ../test-skeleton.c.
29432         (do_test): Mark static.
29433         (TEST_FUNCTION): Define.
29435         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
29436         (IP_PMTUDISC_INTERFACE): Likewise.
29437         (IP_MULTICAST_IF): Likewise.
29438         (IP_MULTICAST_TTL): Likewise.
29439         (IP_MULTICAST_LOOP): Likewise.
29440         (IP_ADD_MEMBERSHIP): Likewise.
29441         (IP_DROP_MEMBERSHIP): Likewise.
29442         (IP_UNBLOCK_SOURCE): Likewise.
29443         (IP_BLOCK_SOURCE): Likewise.
29444         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
29445         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
29446         (IP_MSFILTER): Likewise.
29447         (MCAST_JOIN_GROUP): Likewise.
29448         (MCAST_BLOCK_SOURCE): Likewise.
29449         (MCAST_UNBLOCK_SOURCE): Likewise.
29450         (MCAST_LEAVE_GROUP): Likewise.
29451         (MCAST_JOIN_SOURCE_GROUP): Likewise.
29452         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
29453         (MCAST_MSFILTER): Likewise.
29454         (IP_MULTICAST_ALL): Likewise.
29455         (IP_UNICAST_IF): Likewise.
29457         * timezone/Makefile: Delete $(have-ksh) check.
29458         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
29459         * timezone/tzselect.ksh: Add +x mode bits.
29461         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
29462         (ANON_INODE_FS_MAGIC): Likewise.
29463         (BDEVFS_MAGIC): Likewise.
29464         (BINFMTFS_MAGIC): Likewise.
29465         (BTRFS_TEST_MAGIC): Likewise.
29466         (CRAMFS_MAGIC_WEND): Likewise.
29467         (DEBUGFS_MAGIC): Likewise.
29468         (ECRYPTFS_SUPER_MAGIC): Likewise.
29469         (EXT3_SUPER_MAGIC): Likewise.
29470         (EXT4_SUPER_MAGIC): Likewise.
29471         (FUTEXFS_SUPER_MAGIC): Likewise.
29472         (HOSTFS_SUPER_MAGIC): Likewise.
29473         (HUGETLBFS_MAGIC): Likewise.
29474         (MINIX3_SUPER_MAGIC): Likewise.
29475         (MTD_INODE_FS_MAGIC): Likewise.
29476         (NILFS_SUPER_MAGIC): Likewise.
29477         (OPENPROM_SUPER_MAGIC): Likewise.
29478         (PIPEFS_MAGIC): Likewise.
29479         (PSTOREFS_MAGIC): Likewise.
29480         (QNX6_SUPER_MAGIC): Likewise.
29481         (RAMFS_MAGIC): Likewise.
29482         (REISERFS_SUPER_MAGIC_STRING): Likewise.
29483         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
29484         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
29485         (SECURITYFS_MAGIC): Likewise.
29486         (SELINUX_MAGIC): Likewise.
29487         (SMACK_MAGIC): Likewise.
29488         (SOCKFS_MAGIC): Likewise.
29489         (SQUASHFS_MAGIC): Likewise.
29490         (STACK_END_MAGIC): Likewise.
29491         (TMPFS_MAGIC): Likewise.
29492         (USBDEVICE_SUPER_MAGIC): Likewise.
29493         (V9FS_MAGIC): Likewise.
29494         (XENFS_SUPER_MAGIC): Likewise.
29495         (CRAMFS_MAGIC): Fix typo in comment.
29496         (EXT2_SUPER_MAGIC): Update comment.
29497         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
29499 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
29501         * sysdeps/arm: Move directory from ports/sysdeps/arm.
29502         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
29503         * sysdeps/unix/sysv/linux/arm: Move directory from
29504         ports/sysdeps/unix/sysv/linux/arm.
29505         * README: Update listing for arm-*-linux-gnueabi.
29507         * README: Remove mention of am33.
29509 2014-02-07  Roland McGrath  <roland@hack.frob.com>
29511         * bits/sigset.h (__sigemptyset): Use a statement expression rather
29512         than the comma operator, to avoid "rhs of comma has no effect"
29513         compiler warnings.
29514         (__sigfillset, __sigandset, __sigorset): Likewise.
29515         * include/signal.h (__sigemptyset): Likewise.
29516         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
29518 2014-02-07  Allan McRae  <allan@archlinux.org>
29520         * version.h (RELEASE): Set to "development".
29521         (VERSION): Set to "2.19.90"
29522         * NEWS: Add 2.20 section.
29524 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
29526         [BZ #16529]
29527         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
29529 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29531         * manual/contrib.texi: Update entry for Carlos O'Donell,
29532         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
29534 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
29536         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
29538         * sysdeps/unix/sysv/linux/kernel-features.h
29539         [__LINUX_KERNEL_VERSION >= 0x020621]
29540         (__ASSUME_PROC_PID_TASK_COMM): Define.
29542 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29544         [BZ #16398]
29545         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
29546         conversion when destination buffer does not have enough space.
29547         * libio/tst-ftell-partial-wide.c: New test case.
29548         * libio/Makefile (tests): Add tst-ftell-partial-wide.
29550         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
29551         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
29552         Leonard and Allan McRae.
29554 2014-02-04  David S. Miller  <davem@davemloft.net>
29556         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
29557         32-bit.
29559 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
29562         New file
29563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
29564         New file
29565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
29566         New file.
29567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
29568         New file.
29569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
29570         New file.
29571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
29572         New file.
29573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
29574         New file.
29575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
29576         New file.
29577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
29578         New file.
29579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
29580         New file.
29581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
29582         New file.
29583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
29584         New file.
29585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
29586         New file.
29588 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29590         * nptl/shlib-versions: Change powerpc*le start to 2.17.
29591         * shlib-versions: Likewise.
29593 2014-02-04  Roland McGrath  <roland@hack.frob.com>
29594             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29596         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
29597         (abilist-pattern): New variable, set to %-le.abilist.
29599         * Makerules (abilist-pattern): New variable.
29600         (vpath): Use $(abilist-pattern) in place of %.abilist.
29601         (check-abi-% pattern rule): Likewise.
29602         (check-abi, update-abi): Likewise.
29604 2014-02-04  Eric Wong  <normalperson@yhbt.net>
29606         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29608 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
29610         * manual/startup.texi: Add next, previous, and top entries for
29611         the `Program Arguments' and `Environment Variables' nodes.
29613 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
29615         * manual/macros.texi: Add comments before MTASC-safety macros.
29617         * manual/users.texi: Document MTASC-safety properties.
29619         * manual/threads.texi (pthread_key_create, pthread_key_delete)
29620         (pthread_getspecific, pthread_setspecific): Format with
29621         @deftypefun, and add @safety note.
29622         * manual/signal.texi: Move comments that analyze the above
29623         functions to their home place.
29625 2014-02-03  Allan McRae  <allan@archlinux.org>
29627         * po/sl.po: Update Slovenian translation from translation project.
29629 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
29631         * manual/time.texi (timegm): Add missing blank after @c.
29632         Reported by Joseph Myers <joseph@codesourcery.com>.
29634 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
29636         * manual/check-safety.sh: New.
29637         * manual/Makefile ($(objpfx)stamp-summary): Run it.
29639         * manual/terminal.texi: Document MTASC-safety properties.
29641         * manual/filesys.texi: Document MTASC-safety properties.
29643         * manual/errno.texi: Document MTASC-safety properties.
29645         * manual/intro.texi: Document safety identifiers and
29646         conditionals.
29648         * manual/string.texi (wcstok): Fix prototype.
29649         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
29651         * manual/time.texi: Document MTASC-safety properties.
29653         * manual/string.texi: Document MTASC-safety properties.
29655         * manual/threads.texi: Document MTASC-safety properties.
29657         * manual/stdio.texi: Document MTASC-safety properties.
29659         * manual/syslog.texi: Document MTASC-safety properties.
29661         * manual/sysinfo.texi: Document MTASC-safety properties.
29663         * manual/startup.texi: Document MTASC-safety properties.
29665         * manual/socket.texi: Document MTASC-safety properties.
29667         * manual/signal.texi: Document MTASC-safety properties.
29669 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
29671         * manual/setjmp.texi: Document MTASC-safety properties.
29673         * manual/search.texi: Document MTASC-safety properties.
29675         * manual/resource.texi: Document MTASC-safety properties.
29677         * manual/process.texi: Document MTASC-safety properties.
29679         * manual/platform.texi: Document MTASC-safety properties.
29681         * manual/pipe.texi: Document MTASC-safety properties.
29683         * manual/pattern.texi: Document MTASC-safety properties.
29685         * manual/message.texi: Document MTASC-safety properties.
29687         [BZ #12751]
29688         * manual/memory.texi: Document MTASC-safety properties.
29690         * manual/math.texi: Document MTASC-safety properties.
29692         * manual/locale.texi: Document MTASC-safety properties.
29694         * manual/llio.texi: Document MTASC-safety properties.
29696         * manual/libdl.texi: New.
29698         * manual/lang.texi: Document MTASC-safety properties.
29700         * manual/job.texi: Document MTASC-safety properties.
29702         * manual/getopt.texi: Document MTASC-safety properties.
29704         * manual/ctype.texi: Document MTASC-safety properties.
29706 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
29708         [BZ #16046]
29709         * csu/libc-tls.c (static_map): Remove variable.
29710         (__libc_setup_tls): Use main executable's link map for TLS data.
29711         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
29712         casing for LM_ID_BASE and GL(dl_nns).
29713         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
29714         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
29715         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
29716         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
29717         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
29718         member.
29719         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
29720         l_phnum members.
29722 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
29724         * manual/debug.texi: Document MTASC-safety properties.
29726 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
29728         [BZ #16510]
29729         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
29730         of __x86_64__ when disabling x87 inline functions.
29732 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
29734         * manual/charset.texi: Document MTASC-safety properties.
29736         * manual/crypt.texi: Document MTASC-safety properties.
29738         * manual/conf.texi: Document MTASC-safety properties.
29740         * manual/arith.texi: Document MTASC-safety properties.
29742         * manual/argp.texi: Document MTASC-safety properties.
29744         * manual/macros.texi: Introduce macros to document multi
29745         thread, asynchronous signal and asynchronous cancellation
29746         safety properties.
29747         * manual/intro.texi: Introduce the properties themselves.
29749 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29751         * sysdeps/sh/sh4/Makefile: New file.
29753 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
29755         * math/gen-libm-test.pl ($srcdir): New variable.
29756         ($auto_input): Use it.
29758 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29760         [BZ #16506]
29761         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
29762         access beyond array bounds when parsing netgroups file.
29764         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
29765         the old buffer before realloc.
29767 2014-01-27  Allan McRae  <allan@archlinux.org>
29769         * po/fr.po: Update French translation from translation project.
29771 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29773         * sysdeps/sh/libm-test-ulps: Regenerate.
29775 2014-01-24  David S. Miller  <davem@davemloft.net>
29777         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
29779 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29781         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
29782         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
29784 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29786         [BZ #16474]
29787         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
29788         string pointers after reallocation.
29790 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29792         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
29793         __SH4A__ instead of __SH_FPU_ANY__.
29795 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29797         * sysdeps/sh/fpu_control.h: New file.
29798         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
29799         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
29800         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
29801         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
29802         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
29803         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
29804         * sysdeps/sh/sys/ucontext.h: Remove.
29805         * sysdeps/sh/sys: Remove directory.
29807 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29809         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
29810         s390/sys/ucontext.h.
29811         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
29812         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
29814 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
29816         [BZ #15605]
29817         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
29819 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29821         [BZ#16431]
29822         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29823         Adjust the vDSO correctly for internal calls.
29824         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
29826 2014-01-20  Allan McRae  <allan@archlinux.org>
29828         * po/ca.po: Update Catalan translation from translation project.
29830 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
29832         * sysdeps/s390/sotruss-lib.c: New file.
29834 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29836         [BZ#16430]
29837         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
29838         (__GI___gettimeofday): Alias for a different internal symbol to avoid
29839         local calls issues by not having a PLT stub required for IFUNC calls.
29840         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
29842 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
29844         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
29845         * math/test-fpucw-static.c: Likewise.
29847 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29849         [BZ #16453]
29850         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
29852 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29854         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
29855         implementation for powerpc.
29857 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
29859         [BZ #14782]
29860         * sysdeps/posix/system.c (__libc_system): Do not enable
29861         asynchronous cancellation.
29863 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29865         [BZ #16427]
29866         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
29867         handling only for numbers special also in the IEEE case.
29869 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29871         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29873 2014-01-11  Allan McRae  <allan@archlinux.org>
29875         * po/bg.po: Update Bulgarian translation from translation project.
29877         * po/de.po: Update German translation from translation project.
29879 2014-01-10  Roland McGrath  <roland@hack.frob.com>
29881         * sysdeps/generic/gcc-compat.h: New file.
29883 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29885         * benchtests/asin-inputs: Correct slow inputs.
29886         * benchtests/acos-inputs: Likewise.
29888 2014-01-10  Allan McRae  <allan@archlinux.org>
29890         * po:sv.po: Update Swedish translation from translation project.
29892         * po/vi.po: Update Vietnamese translation from translation project.
29894         * po/eo.po: Update Esperanto translation from translation project.
29896         * po/cs.po: Update Czech translation from translation project.
29898         * po/nl.po: Update Dutch translation from translation project.
29900         * po/pl.po: Update Polish translation from translation project.
29902         * po/ru.po: Update Russian translation from translation project.
29904         * po/uk.po: Update Ukrainian translation from translation project.
29906 2014-01-08  Brooks Moses  <bmoses@google.com>
29908         * elf/dl-load.c: Fix comment typo.
29910 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
29912         * po/header.pot: Rename to...
29913         * po/pot.header: ... this.
29914         * po/Makefile: Use pot.header.
29916 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
29917             Maxim Kuvyrkov  <maxim@kugelworks.com>
29919         [BZ #16394]
29920         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
29921         SRC and DEST against LEN.
29923 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29925         [BZ #16414]
29926         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
29927         implementation.
29928         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
29930 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29934 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
29936         [BZ #16408]
29937         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
29938         for large positive arguments.
29940 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
29942         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29944         * math/auto-libm-test-in: Mark various tests with
29945         xfail-rounding:ldbl-128ibm.
29946         * math/auto-libm-test-out: Regenerated.
29948         [BZ #16407]
29949         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
29950         Increase overflow threshold.
29952 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
29954         [BZ #14286]
29955         * stdio-common/vfprintf.c: Check for integer overflow.
29957 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29959         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
29960         the first argument and return value of __tls_get_addr_internal.
29962 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29964         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
29965         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
29967 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29969         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
29970         * sysdeps/s390/rtld-global-offsets.sym: New file.
29971         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
29972         GLIBC_2.19 symbol.
29973         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
29974         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
29975         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
29976         ... this.
29977         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
29978         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
29979         ... this.
29980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29981         Regenerate.
29982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29983         Regenerate.
29984         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
29985         halfs of GPRs for high_gprs contexts.
29986         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
29987         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
29988         field.
29989         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
29990         uc_flags field.
29991         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
29992         64 bit versions:
29993         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
29994         for high GPRs (uc_high_gprs) and for future extensions
29995         (__reserved).
29996         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
29997         for future extensions (__reserved).
29998         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
29999         64 bit versions:
30000         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
30001         SC_HIGHGPRS offset definition.
30002         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
30003         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
30005         * Versions.def: Add GLIBC_2.19 for libpthread.
30006         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
30007         siglongjmp for libpthread with GLIBC_2.19 symver.
30008         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
30009         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
30010         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
30011         * sysdeps/s390/__longjmp.c: New file.
30012         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
30013         * sysdeps/s390/longjmp.c: New file.
30014         * sysdeps/s390/setjmp.S: New file.
30015         * sysdeps/s390/sigjmp.S: New file.
30016         * sysdeps/s390/v1-longjmp.c: New file.
30017         * sysdeps/s390/v1-setjmp.h: New file.
30018         * sysdeps/s390/v1-sigjmp.c: New file.
30019         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
30020         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
30021         GLIBC_2.19 version.
30022         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
30023         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
30024         versioned symbols for ____longjmp_chk.
30025         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30026         Likewise.
30027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30028         Regenerate.
30029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30030         Regenerate.
30031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30032         Regenerate.
30033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30034         Regenerate.
30035         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
30036         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
30037         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
30038         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
30039         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
30040         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
30041         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
30042         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
30043         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
30044         * sysdeps/s390/rtld-__longjmp.c: New file.
30045         * sysdeps/s390/rtld-setjmp.S: New file.
30047 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
30049         [BZ #16400]
30050         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30051         Return -__logl (x) for small positive arguments without evaluating
30052         a polynomial.
30054 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
30056         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
30057         Rename to ...
30058         (__ptrace_peeksiginfo_args): ... this.
30059         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30060         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30061         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30063 2014-01-06  Allan McRae  <allan@archlinux.org>
30065         * inet/netinet/in.h: Fix typo in comment.
30067 2014-01-05  Andreas Jaeger  <aj@suse.de>
30069         * sysdeps/i386/fpu/libm-test-ulps: Update.
30071 2014-01-05  Allan McRae  <allan@archlinux.org>
30073         * po/libc.pot: Regenerated.
30075         * malloc/memusagestat.c: Fix gettext call formatting.
30077 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
30079         * nscd/nscd.c: Improve usage() output.
30081 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
30083         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
30084         * sysdeps/unix/sysv/linux/configure: Regenerated.
30085         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
30086         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
30088 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
30090         [BZ #16390]
30091         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30092         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
30094 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30096         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
30097         extra tokens at end of #undef directive.
30098         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
30099         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
30100         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30102 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
30104         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30106         * math/auto-libm-test-in: Mark various tests with
30107         xfail-rounding:ldbl-128ibm.
30108         * math/auto-libm-test-out: Regenerated.
30110 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
30112         [BZ #16386]
30113         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
30114         numbers with subnormal high part when calculating exponent.
30116         [BZ #16385]
30117         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
30118         fabs.
30120         [BZ #16384]
30121         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
30122         M_LN2l.
30123         (__ieee754_acoshl): Use __log1pl not __log1p.
30125 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
30127         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
30128         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
30129         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
30130         (grow_heap, heap_trim, _int_new_arena, get_free_list)
30131         (reused_arena, arena_get2): Convert to GNU style.
30132         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
30133         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
30134         (memalign_check, __malloc_set_state): Likewise.
30135         * malloc/mallocbug.c (main): Likewise.
30136         * malloc/malloc.c (__malloc_assert, malloc_init_state)
30137         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
30138         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
30139         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
30140         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
30141         (__posix_memalign, malloc_info): Likewise.
30142         * malloc/malloc.h: Likewise.
30143         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
30144         (mallochook, memalignhook, reallochook, mabort): Likewise.
30145         * malloc/mcheck.h: Likewise.
30146         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
30147         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
30148         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
30149         * malloc/morecore.c (__default_morecore): Likewise.
30150         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
30151         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
30152         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
30153         (print_and_abort): Likewise.
30154         * malloc/obstack.h: Likewise.
30155         * malloc/set-freeres.c (__libc_freeres): Likewise.
30156         * malloc/tst-mallocstate.c (main): Likewise.
30157         * malloc/tst-mtrace.c (main): Likewise.
30158         * malloc/tst-realloc.c (do_test): Likewise.
30160 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30162         [BZ #16366]
30163         * nscd/netgroupcache.c (do_notfound): New function.
30164         (addgetnetgrentX): Use it.
30166         [BZ # 16365]
30167         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
30168         NSS_STATUS_NOTFOUND.
30170 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
30172         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30175 2014-01-01  Allan McRae  <allan@archlinux.org>
30177         * scripts/update-copyrights: Update configure input file suffix.
30179         * NEWS: Update copyright year.
30180         * catgets/gencat.c: Likewise.
30181         * csu/version.c: Likewise.
30182         * debug/catchsegv.sh: Likewise.
30183         * debug/pcprofiledump.c: Likewise.
30184         * debug/xtrace.sh: Likewise.
30185         * elf/ldconfig.c: Likewise.
30186         * elf/ldd.bash.in: Likewise.
30187         * elf/pldd.c: Likewise.
30188         * elf/sotruss.ksh: Likewise.
30189         * elf/sprof.c: Likewise.
30190         * iconv/iconv_prog.c: Likewise.
30191         * iconv/iconvconfig.c: Likewise.
30192         * locale/programs/locale.c: Likewise.
30193         * locale/programs/localedef.c: Likewise.
30194         * login/programs/pt_chown.c: Likewise.
30195         * malloc/memusage.sh: Likewise.
30196         * malloc/memusagestat.c: Likewise.
30197         * malloc/mtrace.pl: Likewise.
30198         * manual/libc.texinfo: Likewise.
30199         * nscd/nscd.c: Likewise.
30200         * nss/getent.c: Likewise.
30201         * nss/makedb.c: Likewise.
30202         * posix/getconf.c: Likewise.
30203         * scripts/test-installation.pl: Likewise.
30205         * All files with FSF copyright notices: Update copyright dates
30206         using scripts/update-copyrights.
30207         * intl/plural.c: Regenerated.
30208         * locale/programs/charmap-kw.h: Likewise.
30209         * locale/programs/locfile-kw.h: Likewise.
30211 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
30213         * sysdeps/unix/sysv/linux/configure: Regenerated.
30214         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
30215         the linux/fanotify.h header.
30216         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
30217         HAVE_LINUX_FANOTIFY_H is defined.
30219 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30221         * benchtests/cos-inputs: New inputs.
30222         * benchtests/sin-inputs: Likewise.
30224         * benchtests/atan-inputs: New inputs. Fix name of multiple
30225         precision fallback inputs.
30227         * benchtests/atanh-inputs: New inputs.
30228         * benchtests/tanh-inputs: Likewise.
30230         * benchtests/acosh-inputs: New inputs.
30231         * benchtests/asinh-inputs: Likewise.
30233         * benchtests/cosh-inputs: New inputs.
30234         * benchtests/sinh-inputs: Likewise.
30236         * benchtests/acos-inputs: Add more inputs.
30237         * benchtests/asin-inputs: Likewise.
30239 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
30241         [BZ #16375]
30242         * manual/arith.texi: Fix spelling.
30243         * manual/charset.texi: Likewise.
30244         * manual/errno.texi: Likewise.
30245         * manual/filesys.texi: Likewise.
30246         * manual/lang.texi: Likewise.
30247         * manual/llio.texi: Likewise.
30248         * manual/locale.texi: Likewise.
30249         * manual/message.texi: Likewise.
30250         * manual/resource.texi: Likewise.
30251         * manual/search.texi: Likewise.
30252         * manual/setjmp.texi: Likewise.
30253         * manual/stdio.texi: Likewise.
30254         * manual/string.texi: Likewise.
30255         * manual/sysinfo.texi: Likewise.
30256         * manual/time.texi: Likewise.
30258 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
30260         * po/sl.po: New file.
30262 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
30264         * .gitignore: Add core/.gdbinit/.gdb_history.
30266 2013-12-27  Allan McRae  <allan@archlinux.org>
30268         [BZ #16369]
30269         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
30270         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
30272 2013-12-24  Brooks Moses  <bmoses@google.com>
30274         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
30275         all compilers that claim C++98 compliance, not just GCC.
30276         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
30277         Likewise.
30279 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
30281         * NEWS: Restore accidentally deleted bug-fix entries.
30283 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
30284             Ondřej Bílka  <neleai@seznam.cz>
30286         [BZ #15073]
30287         * malloc/malloc.c (_int_free): Perform sanity check only if we
30288         have_lock.
30290 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
30292         [BZ #12986]
30293         * manual/stdio.texi (String Input Conversions): Clarify that character
30294         classes are not supported.
30296 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30300 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
30302         [BZ #16337]
30303         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30304         Calculate results for small negative arguments directly rather
30305         than using reflection formula with special underflow handling.
30307         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
30308         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
30309         sysdeps/unix/bsd/bsd4.4/syscalls.list.
30310         (fchflags): Likewise.
30311         (revoke): Likewise.
30312         (setlogin): Likewise.
30313         (sigaltstack): Likewise.
30314         (wait4): Likewise.
30315         (sigblock): Remove.
30316         (sigsetmask): Likewise.
30317         (wait3): Likewise.
30318         (waitpid): Likewise.
30319         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
30320         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
30321         file.
30322         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
30323         * sysdeps/unix/bsd/Makefile: ... here.
30324         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
30325         * sysdeps/unix/bsd/Versions: ... here.
30326         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
30327         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
30328         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
30329         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
30330         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
30331         * sysdeps/unix/bsd/sigblock.c: ... here.
30332         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
30333         * sysdeps/unix/bsd/sigsetmask.c: ... here.
30334         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
30335         * sysdeps/unix/bsd/sigvec.c: ... here.
30336         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
30337         * sysdeps/unix/bsd/tcdrain.c: ... here.
30338         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
30339         * sysdeps/unix/bsd/tcgetattr.c: ... here.
30340         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
30341         * sysdeps/unix/bsd/tcsetattr.c: ... here.
30342         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
30343         * sysdeps/unix/bsd/wait.c: ... here.
30344         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
30345         * sysdeps/unix/bsd/wait3.c: ... here.
30346         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
30347         * sysdeps/unix/bsd/waitpid.c: ... here.
30349 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
30351         [BZ #16356]
30352         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
30353         round-to-nearest for [!USE_AS_EXPM1L].
30354         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
30355         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
30356         more tests of exp and exp10.  Expect some exp10 tests to miss
30357         exceptions or fail in directed rounding modes.
30358         * math/auto-libm-test-out: Regenerated.
30359         * math/libm-test.inc (exp10_tonearest_test_data): New array.
30360         (exp10_test_tonearest): New function.
30361         (exp10_towardzero_test_data): New array.
30362         (exp10_test_towardzero): New function.
30363         (exp10_downward_test_data): New array.
30364         (exp10_test_downward): New function.
30365         (exp10_upward_test_data): New array.
30366         (exp10_test_upward): New function.
30367         (main): Call the new functions.
30368         * sysdeps/i386/fpu/libm-test-ulps: Update.
30369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30371 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
30373         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30374         asinh, atan, atan2, atanh, cbrt, cos and cosh.
30375         * math/auto-libm-test-out: Regenerated.
30376         * math/libm-test.inc (acosh_test_data): Add more tests.
30377         (atanh_test_data): Likewise.
30378         (ceil_test_data): Likewise.
30379         (copysign_test_data): Likewise.
30380         * sysdeps/i386/fpu/libm-test-ulps: Update.
30381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30383         * timezone/checktab.awk: Update from tzcode 2013i.
30384         * timezone/private.h: Likewise.
30385         * timezone/scheck.c: Likewise.
30386         * timezone/tzfile.h: Likewise.
30387         * timezone/tzselect.ksh: Likewise.
30388         * timezone/zdump.c: Likewise.
30389         * timezone/zic.c: Likewise.
30391         * math/auto-libm-test-in: Add tests of cpow.
30392         * math/auto-libm-test-out: Regenerated.
30393         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
30394         * math/gen-auto-libm-tests.c (func_calc_method): Add value
30395         mpc_cc_c.
30396         (func_calc_desc): Add mpc_cc_c union field.
30397         (test_functions): Add cpow.
30398         (special_fill_2pi): New function.
30399         (special_real_inputs): Add 2pi.
30400         (calc_generic_results): Handle mpc_cc_c.
30401         * sysdeps/i386/fpu/libm-test-ulps: Update.
30402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30404         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
30405         csqrt, ctan and ctanh.
30406         * math/auto-libm-test-out: Regenerated.
30407         * math/libm-test.inc (TEST_COND_x86_64): New macro.
30408         (TEST_COND_x86): Likewise.
30409         (ccos_test_data): Use AUTO_TESTS_c_c.
30410         (ccosh_test_data): Likewise.
30411         (cexp_test_data): Likewise.
30412         (clog_test_data): Likewise.
30413         (csqrt_test_data): Likewise.
30414         (ctan_test_data): Likewise.
30415         (ctan_tonearest_test_data): Likewise.
30416         (ctan_towardzero_test_data): Likewise.
30417         (ctan_downward_test_data): Likewise.
30418         (ctan_upward_test_data): Likewise.
30419         (ctanh_test_data): Likewise.
30420         (ctanh_tonearest_test_data): Likewise.
30421         (ctanh_towardzero_test_data): Likewise.
30422         (ctanh_downward_test_data): Likewise.
30423         (ctanh_upward_test_data): Likewise.
30424         * math/gen-auto-libm-tests.c (func_calc_method): Add value
30425         mpc_c_c.
30426         (func_calc_desc): Add mpc_c_c union field.
30427         (FUNC_mpc_c_c): New macro.
30428         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
30429         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
30430         ctanh.
30431         (special_fill_min_subnorm_p120): New function.
30432         (special_real_inputs): Add min_subnorm_p120.
30433         (calc_generic_results): Handle mpc_c_c.
30434         * sysdeps/i386/fpu/libm-test-ulps: Update.
30435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30437 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30439         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
30440         (do_sin_slow): New functions.
30441         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
30442         (cslow2, csloww1, csloww2): Use the new functions.
30444         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
30445         Use M to change sign of result instead of X.  Assume X is
30446         positive.
30447         (csloww1): Likewise.
30448         (__sin): Adjust.
30449         (__cos): Adjust.
30451         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
30452         arguments A and DA.
30453         (__sin): Adjust.
30454         (__cos): Likewise.
30456         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
30457         (__cos): Likewise.
30458         (sloww1): Don't adjust sign of DX.
30459         (csloww1): Likewise.
30460         (sloww2): Use X directly and don't adjust sign of DX.
30461         (csloww2): Likewise.
30463 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
30465         * math/auto-libm-test-in: Add tests of cabs and carg.
30466         * math/auto-libm-test-out: Regenerated.
30467         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
30468         (carg_test_data): Likewise.
30469         * math/gen-auto-libm-tests.c (func_calc_method): Add value
30470         mpc_c_f.
30471         (func_calc_desc): Add mpc_c_f union field.
30472         (test_functions): Add cabs and carg.
30473         (calc_generic_results): Handle mpc_c_f.
30475         * sysdeps/powerpc/powerpc32/libgcc-compat.S
30476         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
30477         as a macro and a compat symbol.
30478         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
30479         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
30480         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
30481         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
30482         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
30483         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
30484         not use .hidden.
30485         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
30486         Likewise.
30487         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
30488         Likewise.
30489         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
30490         Likewise.
30491         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
30492         Likewise.
30493         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
30494         Likewise.
30495         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
30496         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
30497         from GLIBC_2.3.2.
30499 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30503 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
30505         * manual/texinfo.tex: Update to version 2013-11-26.10 with
30506         trailing whitespace removed.
30507         * scripts/config.guess: Update to version 2013-11-29.
30508         * scripts/config.sub: Update to version 2013-10-01.
30510         * math/auto-libm-test-in: Add tests of sincos.
30511         * math/auto-libm-test-out: Regenerated.
30512         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
30513         * math/gen-auto-libm-tests.c (func_calc_method): Add value
30514         mpfr_f_11.
30515         (func_calc_desc): Add mpfr_f_11 union field.
30516         (test_functions): Add sincos.
30517         (calc_generic_results): Handle mpfr_f_11.
30518         * sysdeps/i386/fpu/libm-test-ulps: Update.
30519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30521 2013-12-19  Andreas Schwab  <schwab@suse.de>
30523         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
30524         CALL_MCOUNT.
30525         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30526         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
30527         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
30529 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
30531         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
30532         * sysdeps/i386/fpu/libm-test-ulps: Update.
30533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30535         [BZ #16293]
30536         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
30537         round-to-nearest mode when using frndint.
30538         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
30539         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30540         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30541         Likewise.
30542         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
30543         sinh test to fail.
30544         * math/auto-libm-test-out: Regenerated.
30545         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
30546         (TEST_COND_x86): Likewise.
30547         (expm1_tonearest_test_data): New array.
30548         (expm1_test_tonearest): New function.
30549         (expm1_towardzero_test_data): New array.
30550         (expm1_test_towardzero): New function.
30551         (expm1_downward_test_data): New array.
30552         (expm1_test_downward): New function.
30553         (expm1_upward_test_data): New array.
30554         (expm1_test_upward): New function.
30555         (main): Run the new test functions.
30556         * sysdeps/i386/fpu/libm-test-ulps: Update.
30557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30559         * include/features.h: Update comment documenting feature test
30560         macros.  Mention _DEFAULT_SOURCE in comment.
30561         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
30562         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
30563         _BSD_SOURCE and _SVID_SOURCE.
30564         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
30565         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
30566         !_SVID_SOURCE]: Likewise.
30567         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
30568         (__USE_POSIX_IMPLICITLY): Define.
30569         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
30570         (_POSIX_SOURCE): Undefine and redefine.
30571         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
30572         (_POSIX_C_SOURCE): Likewise.
30573         * manual/creature.texi (_DEFAULT_SOURCE): Document.
30574         (Feature Test Macros): Update documentation of default features.
30576 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30578         * benchtests/Makefile: Add bench-strtok.
30579         * benchtests/bench-strtok.c: New file: strtok benchtest.
30581 2013-12-19  Allan McRae  <allan@archlinux.org>
30583         * manual/install.texi: Suppress menu for plain text output.
30584         * INSTALL: Regenerated.
30586 2013-12-18  Brooks Moses  <bmoses@google.com>
30588         [BZ #15846]
30589         * misc/getauxval.c: Include errno.h.
30590         (__getauxval): Set errno to ENOENT if the requested type is not
30591         found.
30592         * misc/sys/auxv.h (getauxval): Document that it may set errno;
30593         don't declare with __attribute_const__.
30594         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
30595         * manual/startup.texi: Document that getauxval sets errno.
30597 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
30599         * math/auto-libm-test-in: Add tests of jn and yn.
30600         * math/auto-libm-test-out: Regenerated.
30601         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
30602         (yn_test_data): Likewise.
30603         * math/gen-auto-libm-tests.c (func_calc_method): Add value
30604         mpfr_if_f.
30605         (func_calc_desc): Add mpfr_if_f union field.
30606         (FUNC_mpfr_if_f): New macro.
30607         (test_functions): Add jn and yn.
30608         (calc_generic_results): Assert type of second input for
30609         mpfr_ff_f.  Handle mpfr_if_f.
30610         (output_for_one_input_case): Disable all checking for arguments
30611         fitting floating-point types in case of an integer argument.
30612         * sysdeps/i386/fpu/libm-test-ulps: Update.
30613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30616         Don't expect fegetround reference in libm.so.
30618 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30620         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
30621         $(config-cflags-nofma).
30623 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
30625         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
30626         * math/auto-libm-test-out: Regenerated.
30628         [BZ #16338]
30629         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
30630         to determine exponent and adjust argument to have exponent of -1.
30631         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
30632         log2.
30633         * math/auto-libm-test-out: Regenerated.
30634         * sysdeps/i386/fpu/libm-test-ulps: Update.
30635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30637 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
30639         * manual/probes.texi: Remove cases when per-thread arenas are
30640         disabled.
30642 2013-12-18  Andreas Schwab  <schwab@suse.de>
30644         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
30645         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
30646         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
30647         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
30648         * sysdeps/i386/i686/multiarch/Makefile: Update.
30649         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
30651 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
30653         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
30654         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
30656 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
30658         [BZ #15968]
30659         Support TZ transition times < 00:00:00.
30660         This is needed for version-3 tz-format files; it supports time
30661         stamps past 2037 for America/Godthab (the only entry in the tz
30662         database for which this change is relevant).
30663         * manual/time.texi (TZ Variable): Document transition times
30664         from -167:59:59 through -00:00:01.
30665         * time/tzset.c (tz_rule): Time of day is now signed.
30666         (__tzset_parse_tz): Parse negative time of day.
30668         Document TZ transition times >= 25:00:00.
30669         * manual/time.texi (TZ Variable): Document transition times from
30670         25:00:00 through 167:59:59.  These are already supported, and this
30671         support will help with version-3 tz-format files.
30673         * manual/time.texi (TZ Variable): Modernize North America example
30674         to reflect current (i.e., 2007-and-later) daylight saving rules.
30676         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
30678 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
30680         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
30681         * sysdeps/unix/bsd/bits/stat.h: Likewise.
30682         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
30683         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30684         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
30685         * sysdeps/unix/bsd/bsdstat.h: Likewise.
30686         * sysdeps/unix/bsd/clock.c: Likewise.
30687         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
30688         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
30689         * sysdeps/unix/bsd/init-posix.c: Likewise.
30690         * sysdeps/unix/bsd/poll.c: Likewise.
30691         * sysdeps/unix/bsd/ptsname.c: Likewise.
30692         * sysdeps/unix/bsd/seekdir.c: Likewise.
30693         * sysdeps/unix/bsd/setegid.c: Likewise.
30694         * sysdeps/unix/bsd/seteuid.c: Likewise.
30695         * sysdeps/unix/bsd/setgid.c: Likewise.
30696         * sysdeps/unix/bsd/setrgid.c: Likewise.
30697         * sysdeps/unix/bsd/setruid.c: Likewise.
30698         * sysdeps/unix/bsd/setsid.c: Likewise.
30699         * sysdeps/unix/bsd/setuid.c: Likewise.
30700         * sysdeps/unix/bsd/sigaction.c: Likewise.
30701         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
30702         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
30703         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
30704         * sysdeps/unix/bsd/telldir.c: Likewise.
30705         * sysdeps/unix/bsd/times.c: Likewise.
30706         * sysdeps/unix/bsd/usleep.c: Likewise.
30708         * misc/Makefile (install-lib): Remove libbsd-compat.a.
30709         ($(objpfx)libbsd-compat.a): Remove rule.
30711         * include/features.h (__FAVOR_BSD): Do not define.
30712         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
30713         features conflicting with POSIX.
30714         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
30715         (_BSD_SOURCE): Remove description of not being a subset of other
30716         feature test macros.
30717         * manual/job.texi (getpgrp): Do not document BSD version.
30718         (getpgid): Do not document by reference to BSD getpgrp.
30719         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
30720         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
30721         * signal/signal.h [__FAVOR_BSD]: Likewise.
30722         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
30723         instead of making contents conditional on [__FAVOR_BSD].
30724         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
30726 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30730 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
30732         [BZ #16314]
30733         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
30734         values below 2**-450, not 2**-500.
30735         * math/auto-libm-test-in: Don't allow spurious underflow from
30736         hypot.
30737         * math/auto-libm-test-out: Regenerated.
30739         [BZ #16316]
30740         [BZ #16330]
30741         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
30742         values of ha and hb and sort them after adjusting subnormal
30743         arguments.
30744         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30745         Likewise.
30746         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
30747         values of ea and eb and sort them after adjusting subnormal
30748         arguments.
30749         * math/auto-libm-test-in: Do not expect some hypot tests of
30750         subnormals to fail.  Add more hypot tests.
30751         * math/auto-libm-test-out: Regenerated.
30753 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30755         [BZ #13304]
30756         * sysdeps/sh/s_fma.c: New file.
30757         * sysdeps/sh/s_fmaf.c: New file.
30758         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
30759         version.
30760         * sysdeps/sh/Implies: Add sh/soft-fp.
30762 2013-12-16  Roland McGrath  <roland@hack.frob.com>
30764         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
30765         level of indirection to members `objname', `errstring', `malloced'.
30766         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
30767         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
30768         it as the __longjmp argument (just pass 1 instead).
30769         (_dl_catch_error): Initialize C with argument pointers and address of
30770         volatile local ERRCODE rather than copying values out of C at return.
30772 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
30774         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
30775         * math/auto-libm-test-out: Regenerated.
30776         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
30777         (hypot_test_data): Likewise.
30778         (pow_test_data): Likewise.
30779         (pow_tonearest_test_data): Likewise.
30780         * math/gen-auto-libm-tests.c (func_calc_method): Add value
30781         mpfr_ff_f.
30782         (func_calc_desc): Add mpfr_ff_f union field.
30783         (FUNC_mpfr_ff_f): New macro.
30784         (test_functions): Add atan2, hypot and pow.
30785         (special_fill_min): New function.
30786         (special_fill_minus_min): Likewise.
30787         (special_fill_min_subnorm): Likewise.
30788         (special_fill_minus_min_subnorm): Likewise.
30789         (special_real_inputs): Add min, -min, min_subnorm and
30790         -min_subnorm.
30791         (calc_generic_results): Handle mpfr_ff_f.
30792         * sysdeps/i386/fpu/libm-test-ulps: Update.
30793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30795 2013-12-16  Will Newton  <will.newton@linaro.org>
30797         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
30798         (Aligned Memory Blocks): Add documentation for aligned_alloc
30799         and suggest it as an alternative to posix_memalign.
30800         (Hooks for Malloc): Document __memalign_hook is also called
30801         for aligned_alloc.  (Summary of Malloc): Add summary for
30802         aligned alloc.  Document __memalign_hook is also called
30803         for aligned_alloc.
30805 2013-12-16  Will Newton  <will.newton@linaro.org>
30807         * manual/memory.texi (Malloc Examples): Clarify default
30808         alignment documentation.  Suggest posix_memalign rather
30809         than memalign or valloc.
30810         (Aligned Memory Blocks): Remove suggestion to use memalign
30811         or valloc.  Remove obsolete comment about BSD.
30812         Document memalign errno values and mark the function obsolete.
30813         Document posix_memalign returned error codes.  Mark valloc
30814         as obsolete.  (Hooks for Malloc): __memalign_hook is also
30815         called for posix_memalign and valloc.
30816         (Summary of Malloc): Add posix_memalign to function summary.
30817         __memalign_hook is also called for posix_memalign and valloc.
30819 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30821         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
30822         TAYLOR_SIN.
30823         (__sin): Adjust.
30824         (__cos): Likewise.
30825         (sloww): Use mynumber union.  Expand ternary operator into
30826         if-else statements.
30827         (cslow): use mynumber union.
30829 2013-12-16  Allan McRae  <allan@archlinux.org>
30831         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
30832         * configure: Regenerated.
30834         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
30836         [BZ #14120]
30837         * configure.ac: Added --enable-maintainer-mode. Check for
30838         autoconf when enabled.
30839         * configure: Regenerated.
30841         * nscd/nscd.service: New file.
30842         * nscd/nscd.tmpfiles: New file.
30844 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
30846         [BZ #12100]
30847         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
30848         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
30849         * sysdeps/x86_64/multiarch/strstr.c: ... here.
30850         (strstr): Add __strstr_sse2_unaligned ifunc.
30851         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
30852         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
30853         (strcasestr): Remove __strcasestr_sse42 ifunc.
30854         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
30855         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30856         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30858 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30860         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
30861         * sysdeps/sh/bits/fenv.h: ... here.
30862         * sysdeps/sh/sh4/fpu/bits: Remove directory.
30864 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30866         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
30868         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
30869         hypotf multiarch implementations.
30870         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
30871         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
30872         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
30873         multiarch hypot for PPC64.
30874         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
30875         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
30876         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
30877         multiarch hypotf for PPC64.
30879         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
30880         modff multiarch implementations.
30881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
30882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
30883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
30884         multiarch modf for PPC64.
30885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
30886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
30887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
30888         multiarch modff for PPC64.
30890         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
30891         and logl multiarch implementations.
30892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
30893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
30894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
30895         multiarch logb for PPC64.
30896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
30897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
30898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
30899         multiarch logb for PPC64.
30900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
30901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
30902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
30903         multiarch logb for PPC64.
30905         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
30906         isinff multiarch implementation.
30907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
30908         file.
30909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
30910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
30911         multiarch isinf for PPC64.
30912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
30913         file.
30914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
30915         multiarch isinff for PPC64.
30917         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
30918         finitef multiarch implementation.
30919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
30920         file.
30921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
30922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
30923         multiarch finite for PPC64.
30924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
30925         file.
30926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
30927         multiarch finitef for PPC64.
30929         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
30930         lrint multiarch implementation.
30931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
30932         file.
30933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
30934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
30935         multiarch llrint for PPC64.
30936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
30937         multiarch lrint for PPC64.
30939         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
30940         copysignf multiarch implementation.
30941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
30942         file.
30943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
30944         file.
30945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
30946         multiarch copysign for PPC64.
30947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
30948         multiarch copysignf for PPC64.
30950         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
30951         multiarch implementation.
30952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
30953         file.
30954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
30955         file.
30956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
30957         file.
30958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
30959         file.
30960         multiarch llround for PPC64.
30961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
30962         multiarch trunc for PPC64.
30963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
30964         multiarch truncf for PPC64.
30966         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
30967         multiarch implementation.
30968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
30969         file.
30970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
30971         file.
30972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
30973         file.
30974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
30975         file.
30976         multiarch llround for PPC64.
30977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
30978         multiarch round for PPC64.
30979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
30980         multiarch roundf for PPC64.
30982         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
30983         multiarch implementation.
30984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
30985         file.
30986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
30987         file.
30988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
30989         file.
30990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
30991         file.
30992         multiarch llround for PPC64.
30993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
30994         multiarch floor for PPC64.
30995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
30996         multiarch floorf for PPC64.
30998         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
30999         multiarch implementation.
31000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
31001         file.
31002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
31003         file.
31004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
31005         file.
31006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
31007         file.
31008         multiarch llround for PPC64.
31009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
31010         multiarch ceil for PPC64.
31011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
31012         multiarch ceilf for PPC64.
31014         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31015         multiarch implementation.
31016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
31017         file.
31018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
31019         file.
31020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
31021         file.
31022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
31023         multiarch llround for PPC64.
31024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
31025         multiarch lround for PPC64.
31027         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31028         multiarch implementation.
31029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
31030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
31031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
31032         file.
31033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
31034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
31035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
31036         multiarch isnan for PPC64.
31037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
31038         multiarch isnanf for PPC64.
31040         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
31041         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
31042         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
31043         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
31044         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
31045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
31047         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
31048         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31049         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31050         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31052         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
31053         multiarch implementations.
31054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31055         (__libc_ifunc_impl_list): Likewise.
31056         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31057         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
31058         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
31059         multiarch stpcpy for PPC64.
31061         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
31062         multiarch implementations.
31063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31064         (__libc_ifunc_impl_list): Likewise.
31065         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
31066         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
31067         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
31068         multiarch strcpy for PPC64.
31070         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
31071         redefine function name.
31072         (_wordcopy_fwd_dest_aligned): Likewise.
31073         (_wordcopy_bwd_aligned): Likewise.
31074         (_wordcopy_bwd_dest_aligned): Likewise.
31075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
31076         multiarch implementations.
31077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31078         (__libc_ifunc_impl_list): Likewise.
31079         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
31080         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
31081         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
31082         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
31083         multiarch wcscpy for PPC64.
31085         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
31086         multiarch implementations.
31087         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31088         (__libc_ifunc_impl_list): Likewise.
31089         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
31090         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
31091         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
31092         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
31093         multiarch wcscpy for PPC64.
31095         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
31096         multiarch implementations.
31097         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31098         (__libc_ifunc_impl_list): Likewise.
31099         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
31100         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
31101         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
31102         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
31103         multiarch wcsrchr for PPC64.
31105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
31106         multiarch implementations.
31107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31108         (__libc_ifunc_impl_list): Likewise.
31109         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
31110         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
31111         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
31112         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
31113         multiarch wcschr for PPC64.
31115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
31116         multiarch implementations.
31117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31118         (__libc_ifunc_impl_list): Likewise.
31119         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
31120         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
31121         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
31122         multiarch strchrnul for PPC64.
31124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
31125         implementations.
31126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31127         (__libc_ifunc_impl_list): Likewise.
31128         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
31129         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
31130         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
31131         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
31132         strchr for PPC64.
31134         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
31135         implementations.
31136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31137         (__libc_ifunc_impl_list): Likewise.
31138         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
31139         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
31140         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
31141         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
31142         strncmp for PPC64.
31144         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
31145         multiarch implementations.
31146         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31147         (__libc_ifunc_impl_list): Likewise.
31148         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
31149         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
31150         strncasecmp for PPC64.
31151         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
31152         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
31153         multiarch strncasecmp_l for PPC64.
31155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
31156         multiarch implementations.
31157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31158         (__libc_ifunc_impl_list): Likewise.
31159         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
31160         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
31161         multiarch strcasecmp for PPC64.
31162         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
31163         file.
31164         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
31165         multiarch strcasecmp_l for PPC64.
31167         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
31168         implementations.
31169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31170         (__libc_ifunc_impl_list): Likewise.
31171         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
31172         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
31173         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
31174         strnlen for PPC64.
31176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
31177         implementations.
31178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31179         (__libc_ifunc_impl_list): Likewise.
31180         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
31181         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
31182         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
31183         strlen for PPC64.
31185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
31186         implementations.
31187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31188         (__libc_ifunc_impl_list): Likewise.
31189         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
31190         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
31191         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
31192         rawmemrchr for PPC64.
31194         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
31195         implementation.
31196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31197         (__libc_ifunc_impl_list): Likewise.
31198         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
31199         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
31200         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
31201         memrchr for PPC64.
31203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
31204         implementation.
31205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31206         (__libc_ifunc_impl_list): Likewise.
31207         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
31208         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
31209         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
31210         memchr for PPC64.
31212         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
31213         implementation.
31214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31215         (__libc_ifunc_impl_list): Likewise.
31216         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
31217         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
31218         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
31219         mempcpy for PPC64.
31221         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
31222         avoid cretion of __bzero symbol.
31223         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
31224         Likewise.
31225         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
31226         Likewise.
31227         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
31228         Likewise.
31229         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
31230         multiarch implementations.
31231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31232         (__libc_ifunc_impl_list): Likewise.
31233         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
31234         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
31235         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
31236         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
31237         bzero for PPC32.
31238         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
31239         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
31240         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
31241         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
31242         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
31243         memset for PPC64.
31244         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
31246         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
31247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
31248         implementations.
31249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31250         (__libc_ifunc_impl_list): Likewise.
31251         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
31252         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
31253         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
31254         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
31255         memcmp for PPC64.
31257         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
31258         multiarch for POWER/PPC64.
31259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
31260         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
31261         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
31262         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
31263         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
31264         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
31265         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
31266         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
31267         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
31268         memcpy for PPC64.
31270         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
31271         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
31272         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
31273         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
31274         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
31275         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
31276         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
31277         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
31278         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
31279         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
31280         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
31281         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
31282         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
31283         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
31284         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
31285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
31286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
31287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
31288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
31289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
31290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
31291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
31293 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31295         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
31297 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31299         * benchtests/Makefile (bench): Add exp2 and log2.
31300         (LDLIBS-bench-exp2): Add -lm.
31301         (LDLIBS-bench-log2): Likewise.
31302         * benchtests/exp2-inputs: New inputs file.
31303         * benchtests/log2-inputs: New inputs file.
31304         * benchtests/log-inputs: Add new inputs.
31305         * benchtests/tan-inputs: Likewise.
31307 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31309         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
31310         definition...
31311         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
31312         (csloww2): ... from here.
31314         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
31315         instead of structures.
31316         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
31317         (POLYNOMIAL): Likewise.
31318         (TAYLOR_SLOW): Likewise.
31319         (__sin): Likewise.
31320         (__cos): Likewise.
31321         (slow1): Likewise.
31322         (slow2): Likewise.
31323         (sloww): Likewise.
31324         (sloww1); Likewise.
31325         (sloww2): Likewise.
31326         (bsloww1): Likewise.
31327         (bsloww2): Likewise.
31328         (cslow2): Likewise.
31329         (csloww): Likewise.
31330         (csloww1): Likewise.
31331         (csloww2): Likewise.
31333 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
31335         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
31336         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
31337         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
31338         * malloc/hooks.c (realloc_check): Likewise.
31340         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
31341         * malloc/arena.c: Remove PER_THREAD conditional.
31342         [!PER_THREAD]: Remove code.
31343         (ptmalloc_unlock_all2): Likewise.
31344         (ptmalloc_init): Likewise.
31345         (_int_new_arena): Likewise.
31346         (arena_get2): Likewise.
31347         * malloc/hooks.c (__malloc_get_state): Likewise.
31348         (__malloc_set_state): Likewise.
31349         * malloc/malloc.c: Likewise.
31350         (struct malloc_state): Likewise.
31351         (struct malloc_par): Likewise.
31352         (__libc_realloc): Likewise.
31353         (__libc_mallopt): Likewise.
31355 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31357         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
31359 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
31361         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
31362         macro to a function.  Check for zero perturb_byte.
31363         (_int_malloc, _int_free): Remove zero perturb_byte checks.
31365         * malloc/malloc.c: (force_reg): Remove.
31366         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
31367         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
31368         force_reg by atomic_forced_read.
31369         * malloc/arena.c (ptmalloc_init): Likewise.
31370         * malloc/hooks.c (top_check): Likewise.
31372 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31376 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
31378         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31380 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
31382         * math/auto-libm-test-in: Add tests of lgamma.
31383         * math/auto-libm-test-out: Regenerated.
31384         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
31385         (M_LOG_2_SQRT_PIl): Likewise.
31386         (lgamma_test_data): Use AUTO_TESTS_f_f1.
31387         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31388         mpfr_f_f1.
31389         (func_calc_desc): Add mpfr_f_f1 union field.
31390         (ARGS1): New macro.
31391         (ARGS2): Likewise.
31392         (ARGS3): Likewise.
31393         (ARGS4): Likewise.
31394         (RET1): Likewise.
31395         (RET2): Likewise.
31396         (CALC): Likewise.
31397         (FUNC): Likewise.
31398         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
31399         (test_functions): Add lgamma.
31400         (calc_generic_results): Handle mpfr_f_f1.
31401         * sysdeps/i386/fpu/libm-test-ulps: Update.
31402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31404 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31406         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
31407         __mpn_add_n for PowerPC64/POWER7.
31408         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
31409         __mpn_sub_n for PowerPC64/POWER7.
31411         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
31412         __mpn_addmul_1 for PowerPC64.
31413         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
31414         __mpn_submul_1 for PowerPC64.
31415         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
31416         for PowerPC64.
31417         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
31418         for PowerPC64.
31420 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
31422         [BZ #15089]
31423         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
31425 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31427         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
31429         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
31430         add multiarch folders.
31431         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
31432         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
31433         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
31434         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
31435         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
31436         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
31437         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
31438         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
31439         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
31440         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
31441         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
31442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
31443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
31444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
31445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
31446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
31447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
31449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
31450         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
31451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
31452         New file.
31453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
31454         New file.
31455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
31456         multiarch __ieee754_hypot for PowerPC32.
31457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
31458         New file.
31459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
31460         New file.
31461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
31462         multiarch __ieee754_hypotf for PowerPC32.
31464         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
31465         long_double_symbol only if __logbl is defined.
31466         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
31467         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
31468         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
31469         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
31470         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
31471         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
31472         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
31473         path for implementation.
31474         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
31475         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
31476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
31477         logb, and logbl multiarch implementations for PowerPC32.
31478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
31479         file.
31480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
31481         file.
31482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
31483         multiarch logb for PowerPC32.
31484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
31485         file.
31486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
31487         file.
31488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
31489         multiarch logbf for PowerPC32.
31490         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
31491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
31492         file.
31493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
31494         multiarch logbl implementation for PowerPC32.
31496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
31497         and modff multiarch implementations.
31498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
31499         New file.
31500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
31501         New file.
31502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
31503         multiarch modf for PowerPC32.
31504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
31505         New file.
31506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
31507         New file.
31508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
31509         multiarch modff for PowerPC32.
31511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
31512         and lrintf multiarch implementations.
31513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
31514         New file.
31515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
31516         New file.
31517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
31518         multiarch lrint for PowerPC32.
31519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
31520         file: multiarch lrintf for PowerPC32.
31522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
31523         and lroundf multiarch implementations.
31524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
31525         New file.
31526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
31527         New file.
31528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
31529         New file.
31530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
31531         multiarch lround for PowerPC32.
31532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
31533         file: multiarch lroundf for PowerPC32.
31535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
31536         copysign and copysignf multiarch implementations.
31537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
31538         New file.
31539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
31540         New file.
31541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
31542         file: multiarch copysign for PowerPC32.
31543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
31544         file: multiarch copysignf for PowerPC32.
31546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
31547         and truncf multiarch implementations.
31548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
31549         New file.
31550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
31551         file.
31552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
31553         multiarch trunc for PowerPC32.
31554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
31555         New file.
31556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
31557         New file.
31558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
31559         multiarch truncf for PowerPC32.
31561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
31562         and roundf multiarch implementations.
31563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
31564         New file.
31565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
31566         file.
31567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
31568         multiarch round for PowerPC32.
31569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
31570         New file.
31571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
31572         New file.
31573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
31574         multiarch roundf for PowerPC32.
31576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
31577         and floorf multiarch implementations.
31578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
31579         New file.
31580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
31581         file.
31582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
31583         multiarch floor for PowerPC32.
31584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
31585         New file.
31586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
31587         New file.
31588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
31589         multiarch floorf for PowerPC32.
31591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
31592         and ceilf multiarch implementations.
31593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
31594         New file.
31595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
31596         file.
31597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
31598         multiarch ceil for PowerPC32.
31599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
31600         New file.
31601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
31602         file.
31603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
31604         multiarch ceilf for PowerPC32.
31606         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
31607         is defined.
31608         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
31609         FINITEF is defined.
31610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
31611         and finitef multiarch implementations.
31612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
31613         New file.
31614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
31615         file.
31616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
31617         multiarch finite for PowerPC32.
31618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
31619         New file.
31620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
31621         file: multiarch finitef for PowerPC32.
31623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
31624         and isinff multiarch implementations.
31625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
31626         file.
31627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
31628         file.
31629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
31630         multiarch isinf for PowerPC32.
31631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
31632         New file.
31633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
31634         multiarch isinff for PowerPC32.
31636         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
31637         alias when __isnan is defined.
31638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
31639         and isnanf multiarch implementations.
31640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
31641         file.
31642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
31643         file.
31644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
31645         file.
31646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
31647         file.
31648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
31649         multiarch isnan for PowerPC32.
31650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
31651         New file.
31652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
31653         New file.
31654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
31655         multiarch isnanf for PowerPC32.
31657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
31658         and sqrtf multiarch implementations.
31659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
31660         file.
31661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
31662         file.
31663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
31664         multiarch sqrt for PowerPC32.
31665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
31666         file.
31667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
31668         file.
31669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
31670         multiarch sqrtf for PowerPC32.
31672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
31673         and llroundf multiarch implementations.
31674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
31675         New file.
31676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
31677         New file.
31678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
31679         New file.
31680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
31681         file: multiarch llround for PowerPC32.
31682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
31683         file: multiarch llroundf for PowerPC32.
31685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
31686         multiarch PowerPC32 fpu implementations.
31687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
31688         New file.
31689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
31690         New file.
31691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
31692         multiarch llrint for PowerPC32.
31693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
31694         New file.
31695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
31696         New file.
31697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
31698         file.
31700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
31702         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
31703         file.
31704         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
31705         file.
31706         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
31707         file.
31708         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
31709         multiarch wordcopy for PPC32.
31710         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
31711         wordcopy objects.
31712         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31713         (__libc_ifunc_impl_list): Likewise.
31714         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
31715         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
31716         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
31717         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
31718         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
31719         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
31721         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
31722         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
31723         file.
31724         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
31725         file.
31726         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
31727         file.
31728         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
31729         multiarch wcscpy for PPC32.
31730         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
31731         multiarch objects.
31732         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31733         (__libc_ifunc_impl_list): Likewise.
31734         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
31735         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
31736         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
31737         sysdeps/powerpc/power6/wcscpy.c.
31739         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
31740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
31741         file.
31742         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
31743         file.
31744         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
31745         file.
31746         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
31747         multiarch wcsrchr for PPC32.
31748         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
31749         multiarch objects.
31750         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31751         (__libc_ifunc_impl_list): Likewise.
31752         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
31753         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
31754         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
31755         sysdeps/powerpc/power6/wcsrchr.c.
31757         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
31758         file.
31759         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
31760         file.
31761         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
31762         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
31763         multiarch wcschr for PPc32.
31764         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
31765         multiarch objects.
31766         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31767         (__libc_ifunc_impl_list): Likewise.
31768         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
31769         * sysdeps/powerpc/power6/wcschr.c: ... to here.
31770         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
31771         sysdeps/powerpc/power6/wcschr.c.
31773         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
31774         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
31775         file.
31776         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
31777         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
31778         file: multiarch strchr for PPC32.
31779         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
31780         multiarch objects.
31781         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31782         (__libc_ifunc_impl_list): Likewise.
31784         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
31785         name.
31786         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
31787         file.
31788         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
31789         file.
31790         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
31791         multiarch strchrnul for PPC32.
31792         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
31793         multiarch objects.
31794         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31795         (__libc_ifunc_impl_list): Likewise.
31797         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
31798         file.
31799         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
31800         multiarch strncasecmp for PPC32.
31801         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
31802         file.
31803         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
31804         multiarch strncasecmp_l for PPC32.
31805         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
31806         strncasecmp multiarch objects.
31807         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31808         (__libc_ifunc_impl_list): Likewise.
31810         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
31811         file.
31812         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
31813         multiarch strncasecmp for PPC32.
31814         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31815         New file.
31816         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
31817         multiarch strcasecmp_l for PPC32.
31818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
31819         multiarch objects.
31820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31821         (__libc_ifunc_impl_list): Likewise.
31823         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
31824         file.
31825         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
31826         file.
31827         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
31828         multiarch strncmp for PPC32.
31829         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
31830         multiarch objects.
31831         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31832         (__libc_ifunc_impl_list): Likewise.
31834         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
31835         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
31836         file.
31837         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
31838         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
31839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
31840         multiarch objects.
31841         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31842         (__libc_ifunc_impl_list): Likewise.
31844         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
31845         file.
31846         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
31847         file.
31848         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
31849         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
31850         multiarch objects.
31851         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31852         (__libc_ifunc_impl_list): Likewise.
31854         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
31855         file.
31856         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
31857         file.
31858         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
31859         multiarch rawmemchr for PPC32.
31860         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
31861         multiarch objects.
31862         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31863         (__libc_ifunc_impl_list): Likewise.
31865         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
31866         file.
31867         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
31868         file.
31869         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
31870         file: memrchr multiarch for PPC32.
31871         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
31872         multiarch objects.
31873         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31874         (__libc_ifunc_impl_list): Likewise.
31876         * string/memchr.c (__memchr): Using macro to redefine symbol name.
31877         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
31878         file.
31879         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
31880         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
31881         multiarch memchr for PPC32.
31882         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
31883         multiarch objects.
31884         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31885         (__libc_ifunc_impl_list): Likewise.
31887         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
31888         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
31889         file.
31890         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
31891         file.
31892         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
31893         file: multiarch mempcpy for PPC32.
31894         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
31895         multiarch objects.
31896         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31897         (__libc_ifunc_impl_list): Likewise.
31899         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
31900         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
31901         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
31902         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
31903         multiarch bzero for PPC32.
31904         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
31905         file.
31906         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
31907         file.
31908         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
31909         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
31910         file: multiarch memset for PPC32.
31911         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
31912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
31913         memset multiarch objects.
31914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31915         (__libc_ifunc_impl_list): Likewise.
31917         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
31918         file.
31919         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
31920         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
31921         memcmp for PPC32.
31922         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
31923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
31924         multiarch objects.
31925         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31926         (__libc_ifunc_impl_list): Likewise.
31928         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
31929         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
31930         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
31931         file.
31932         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
31933         file.
31934         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
31935         file.
31936         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
31937         multiarch memcpy for PPC32.
31938         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
31939         multiarch objects.
31940         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31941         (__libc_ifunc_impl_list): Likewise.
31943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
31944         support multiarch for POWER/PPC32.
31945         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
31946         Likewise.
31947         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
31948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
31949         Implies file to make multiarch folder appers before the fpu and
31950         default folder for power4 configuration.
31952 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31954         * scripts/bench.pl: Append volatile keyword to type.
31956 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31958         * sysdeps/sh/sotruss-lib.c: New file.
31959         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
31961 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31965 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
31967         [BZ #6810]
31968         * math/w_tgamma.c: Include <errno.h>.
31969         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
31970         * math/w_tgammaf.c: Include <errno.h>.
31971         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
31972         * math/w_tgammal.c: Include <errno.h>.
31973         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
31974         * math/auto-libm-test-in: Do not allow missing errno on tgamma
31975         underflow.  Add more tgamma tests.
31976         * math/auto-libm-test-out: Regenerated.
31977         * sysdeps/i386/fpu/libm-test-ulps: Update.
31978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31980         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
31981         sin, sinh, tan, tanh, tgamma, y0 and y1.
31982         * math/auto-libm-test-out: Regenerated.
31983         * math/libm-test.inc (TEST_COND_x86_64): New macro.
31984         (TEST_COND_x86): Likewise.
31985         (M_E2l): Remove macro.
31986         (M_E3l): Likewise.
31987         (M_2_SQRT_PIl): Likewise.
31988         (M_SQRT_PIl): Likewise.
31989         (M_1_DIV_El): Likewise.
31990         (log_test_data): Use AUTO_TESTS_f_f.
31991         (log10_test_data): Likewise.
31992         (log1p_test_data): Likewise.
31993         (log2_test_data): Likewise.
31994         (sin_test_data): Likewise.
31995         (sin_tonearest_test_data): Likewise.
31996         (sin_towardzero_test_data): Likewise.
31997         (sin_downward_test_data): Likewise.
31998         (sin_upward_test_data): Likewise.
31999         (sinh_test_data): Likewise.
32000         (sinh_tonearest_test_data): Likewise.
32001         (sinh_towardzero_test_data): Likewise.
32002         (sinh_downward_test_data): Likewise.
32003         (sinh_upward_test_data): Likewise.
32004         (tan_test_data): Likewise.
32005         (tan_tonearest_test_data): Likewise.
32006         (tan_towardzero_test_data): Likewise.
32007         (tan_downward_test_data): Likewise.
32008         (tan_upward_test_data): Likewise.
32009         (tanh_test_data): Likewise.
32010         (tgamma_test_data): Likewise.
32011         (y0_test_data): Likewise.
32012         (y1_test_data): Likewise.
32013         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
32014         (special_real_inputs): Add pi/4.
32015         * sysdeps/i386/fpu/libm-test-ulps: Update.
32016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32018 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32020         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
32021         "longjmp_target" static probes.
32022         (__longjmp): Rename to __longjmp_symbol.
32023         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32024         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
32025         on which longjmp to generate.
32026         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32027         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
32028         probe.
32029         (__sigsetjmp): Rename to __sigsetjmp_symbol.
32030         (__sigjmp_save): Rename to __sigjmp_save_symbol.
32031         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32032         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
32033         and __sigjmp_save_symbol based on which sigsetjmp to generated.
32034         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
32035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
32036         __longjmp_symbol based on which __longjmp to generate.
32037         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
32038         probe.
32039         (setjmp): Rename to setjmp_symbol.
32040         (__sigsetjmp): Rename to __sigsetjmp_symbol.
32041         (_setjmp): Rename to _setjmp_symbol.
32042         (__sigsetjmp): Rename to __sigsetjmp_symbol.
32043         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
32044         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
32045         which setjmp to generate.
32046         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
32047         "longjmp_target" static probes.
32049 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32051         * benchtests/README: Add note about output arguments.
32052         * benchtests/bench-sincos.c: Remove file.
32053         * benchtests/sincos-inputs: New file.
32054         * scripts/bench.pl: Identify output arguments and define
32055         static variables for them.
32057         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
32059         [BZ #15941]
32060         * Makefile (INSTALL): Add install-plain.texi as the primary
32061         dependency.
32062         * manual/install-plain.texi: New file.
32063         * manual/install.texi: Include node directive only for
32064         non-plaintext output.
32066 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
32068         * stdlib/longlong.h: Update from GCC.
32070         [BZ #6807]
32071         [BZ #15901]
32072         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
32073         * math/w_j0f.c (y0f): Likewise.
32074         * math/w_j0l.c (__y0l): Likewise.
32075         * math/w_j1.c (y1): Likewise.
32076         * math/w_j1f.c (y1f): Likewise.
32077         * math/w_j1l.c (__y1l): Likewise
32078         * math/w_jn.c (yn): Likewise.
32079         * math/w_jnf.c (ynf): Likewise.
32080         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
32081         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
32082         value for Bessel function domain errors outside _SVID_ mode.
32083         Adjust sign of return value for yn (negative integer, 0).
32084         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
32085         by zero in return for negative x and set sign appropriately for
32086         negative n.
32087         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
32088         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32089         * math/libm-test.inc (y0_test_data): Add more tests and adjust
32090         expectations in error cases.
32091         (y1_test_data): Likewise.
32092         (yn_test_data): Likewise.
32093         * sysdeps/i386/fpu/libm-test-ulps: Update.
32094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32096 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32098         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
32099         "64" to "64-v1".  Add "64-v2".
32100         (abi-64-options): Rename to ...
32101         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
32102         (abi-64-condition): Rename to ...
32103         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
32104         (abi-64-ld-soname): Rename to ...
32105         (abi-64-v1-ld-soname): ... this.
32106         (abi-64-v2-options): Define.
32107         (abi-64-v2-condition): Likewise.
32108         (abi-64-v2-ld-soname): Likewise.
32109         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
32110         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
32111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
32112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
32113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
32115 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32116             Alan Modra  <amodra@gmail.com>
32118         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
32119         New versions for use with the ELFv2 ABI.
32120         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
32121         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
32122         declaration.
32123         (struct La_ppc64v2_retval): Likewise.
32124         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
32125         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
32126         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
32127         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
32128         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
32129         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32130         Do not save or restore CR.
32131         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
32132         (_dl_profile_resolve): Do no save or restore CR.  Support extended
32133         return values for ELFv2 ABI.  Fix location of FPR return registers.
32134         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
32135         updated values for _CALL_ELF == 2.
32136         (La_regs, La_retval, int_retval): Likewise.
32138 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32140         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
32141         (FRAME_MIN_SIZE_PARM): Likewise.
32142         (FRAME_BACKCHAIN): Likewise.
32143         (FRAME_CR_SAVE): Likewise.
32144         (FRAME_LR_SAVE): Likewise.
32145         (FRAME_TOC_SAVE): Likewise.
32146         (FRAME_PARM_SAVE): Likewise.
32147         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
32148         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
32149         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
32150         (call_mcount_parm_offset): New macro.
32151         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
32152         (PROF): Use symbolic stack frame offsets.
32153         (TAIL_CALL_SYSCALL_ERROR): Likewise.
32154         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
32155         Redefine in terms of FRAME_MIN_SIZE.
32156         (_dl_runtime_resolve): Use symbolic stack frame offsets.
32157         (_dl_profile_resolve): Likewise.  Update comment.
32158         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
32159         symbols stack frame offsets.
32160         (__sigsetjmp): Likewise.
32161         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
32162         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
32163         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
32164         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
32166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
32167         (FRAME_BACKCHAIN): Remove.
32168         (FRAME_CR_SAVE): Likewise.
32169         (FRAME_LR_SAVE): Likewise.
32170         (FRAME_COMPILER_DW): Likewise.
32171         (FRAME_LINKER_DW): Likewise.
32172         (FRAME_TOC_SAVE): Likewise.
32173         (FRAME_PARM_SAVE): Likewise.
32174         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
32175         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
32176         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
32177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
32178         (CHECK_SP): Use symbolic stack frame offsets.
32179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
32180         zone" instead of caller's parameter save area for temp storage.
32181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32182         Likewise.  Also, use symbolic stack frame offsets.
32183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
32184         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
32185         our own stack frame instead of the caller's.
32186         (__socket): Use symbolic stack frame offsets.
32188 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32189             Alan Modra  <amodra@gmail.com>
32191         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
32192         Define.
32193         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
32194         (PPC64_LOCAL_ENTRY_OFFSET): Define.
32195         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
32196         New function.
32197         (elf_machine_fixup_plt): Call it.
32198         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
32199         reloc arguments.
32200         (elf_machine_rela): Update call to elf_machine_plt_conflict.
32201         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
32202         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
32203         r2 before calling target.
32205 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32206             Alan Modra  <amodra@gmail.com>
32208         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
32209         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
32210         versions of macros to support ELFv2 ABI.
32211         (LOCALENTRY): New macro.
32212         (ENTRY, EALIGN): Use it.
32213         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
32214         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
32215         fall through into ENTRY entry point.
32216         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
32217         Only define if _CALL_ELF != 2.
32219         (elf_machine_matches_host): Verify ABI version matches.
32220         (RTLD_START): Use LOCALENTRY.
32221         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
32222         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
32223         (PLT_ENTRY_WORDS): New macro.
32224         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
32225         (elf_machine_runtime_setup): Support ELFv2 ABI.
32226         (elf_machine_fixup_plt): Likewise.
32227         (elf_machine_plt_conflict): Likewise.
32228         (resolve_ifunc): Likewise.
32229         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
32230         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
32231         Likewise.
32232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
32233         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
32234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32235         (makecontext): Support ELFv2 ABI.
32236         * elf/elf.h (EF_PPC64_ABI): Define.
32238 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32240         * sysdeps/powerpc/powerpc64/sysdep.h
32241         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
32242         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
32243         (ENTRY) [ASSEMBLER]: ... but instead here ...
32244         (EALIGN) [ASSEMBLER]: ... and here.
32245         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
32246         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
32247         (ENTRY_2) [!ASSEMBLER]: Use it.
32248         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
32249         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
32250         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
32251         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
32252         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
32253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
32254         Use PPC64_LOAD_FUNCPTR.
32256         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
32258 2013-12-04  Alan Modra  <amodra@gmail.com>
32260         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
32261         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
32262         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
32263         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
32265         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
32266         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
32267         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
32268         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
32269         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
32270         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
32272 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32275         (__makecontext): Fix incorrect CFI when backtracing out of
32276         context created via makecontext.
32277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
32278         (__setcontext): Fix incorrect CFI during switch to new context.
32279         (__novec_setcontext): Likewise.
32281 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
32283         [BZ #4772]
32284         * time/strptime_l.c (__strptime_internal): Allow modifiers
32285         in strptime.
32286         * time/tst-strptime.c (day_tests): Add testcase.
32288 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32290         * scripts/bench.pl: Skip over blank lines.
32292 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
32294         [BZ #926]
32295         * manual/time.texi (Calendar Time): Clarify what timezone functions
32296         use.
32298 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32302 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
32304         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
32305         implementation.
32306         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
32307         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
32308         * debug/memset_chk.c (__memset_chk): Likewise.
32309         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
32310         * debug/strncpy_chk.c: Likewise.
32312 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
32314         [BZ #15268]
32315         [BZ #15425]
32316         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
32317         (__ieee754_exp): For possibly underflowing results, check size of
32318         result and force underflow exception if required.
32319         * math/auto-libm-test-in: Add more tests of exp.
32320         * math/auto-libm-test-out: Regenerated.
32321         * sysdeps/i386/fpu/libm-test-ulps: Update.
32322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32324         [BZ #16283]
32325         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
32326         * math/w_exp2f.c (__exp2f): Likewise.
32327         * math/w_exp2l.c (__exp2l): Likewise.
32328         * math/auto-libm-test-in: Do not allow missing errno on exp2
32329         underflow.
32330         * math/auto-libm-test-out: Regenerated.
32332 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
32334         [BZ #16274]
32335         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
32336         handle filename validation.
32337         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
32338         (do_open): Delete.
32340 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
32342         [BZ #6786]
32343         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
32344         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
32345         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
32346         <float.h>.
32347         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
32348         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
32349         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
32350         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
32351         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
32352         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
32353         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
32354         * math/auto-libm-test-in: Don't allow missing errno from erfc.
32355         Add more erfc tests.
32356         * math/auto-libm-test-out: Regenerated.
32357         * sysdeps/i386/fpu/libm-test-ulps: Update.
32358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32360         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
32361         exp2, expm1, j0 and j1.
32362         * math/auto-libm-test-out: Regenerated.
32363         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
32364         (erfc_test_data): Likewise.
32365         (exp_test_data): Likewise.
32366         (exp_tonearest_test_data): Likewise.
32367         (exp_towardzero_test_data): Likewise.
32368         (exp_downward_test_data): Likewise.
32369         (exp_upward_test_data): Likewise.
32370         (exp10_test_data): Likewise.
32371         (exp2_test_data): Likewise.
32372         (expm1_test_data): Likewise.
32373         (j0_test_data): Likewise.
32374         (j1_test_data): Likewise.
32375         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
32376         (input_flag_type): Add flag_xfail_rounding.
32377         (input_flags): Add xfail-rounding.
32378         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
32379         (output_for_one_input_case): Handle flag_xfail_rounding.
32380         * sysdeps/i386/fpu/libm-test-ulps: Update.
32381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32383 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
32385         [BZ #16289]
32386         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
32387         division by 0.
32389 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32391         [BZ #16195]
32392         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
32393         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
32394         (STAP_PROBE0): New macro.
32395         (STAP_PROBE1): Likewise.
32396         (STAP_PROBE2): Likewise.
32397         (STAP_PROBE3): Likewise.
32398         (STAP_PROBE4): Likewise.
32400 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
32402         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
32404 2013-12-02  Steve Ellcey  <sellcey@mips.com>
32406         * benchtests/Makefile (bench): Add sqrt.
32407         (LDLIBS-bench-sqrt): New.
32408         * benchtests/sqrt-input: New.
32410 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
32412         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
32413         (GAIH_EAI): Likewise.
32414         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
32415         (gaih_inet): Likewise.
32416         (getaddrinfo): Don't use GAIH_EAI.
32418         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
32419         (struct gaih): Remove definition.
32421 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32423         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
32424         Use HERRNOP directly.
32426 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32430 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
32432         * math/gen-auto-libm-tests.c (test_functions): Add more
32433         single-argument functions.
32434         (special_fill_pi_2): New function.
32435         (special_fill_minus_pi_2): Likewise.
32436         (special_fill_pi_6): Likewise.
32437         (special_fill_minus_pi_6): Likewise.
32438         (special_fill_pi_3): Likewise.
32439         (special_fill_2pi_3): Likewise.
32440         (special_fill_e): Likewise.
32441         (special_fill_1_e): Likewise.
32442         (special_fill_e_minus_1): Likewise.
32443         (special_real_inputs): Add more special inputs.
32444         (output_for_one_input_case): Do not require ERANGE on underflow to
32445         zero if round-to-nearest result does not underflow to zero, unless
32446         exact results required.
32447         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
32448         atan, atanh, cbrt, cos and cosh.
32449         * math/auto-libm-test-out: Regenerated.
32450         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
32451         (acos_tonearest_test_data): Likewise.
32452         (acos_towardzero_test_data): Likewise.
32453         (acos_downward_test_data): Likewise.
32454         (acos_upward_test_data): Likewise.
32455         (acosh_test_data): Likewise.
32456         (asin_test_data): Likewise.
32457         (asin_tonearest_test_data): Likewise.
32458         (asin_towardzero_test_data): Likewise.
32459         (asin_upward_test_data): Likewise.
32460         (asinh_test_data): Likewise.
32461         (atan_test_data): Likewise.
32462         (atanh_test_data): Likewise.
32463         (cbrt_test_data): Likewise.
32464         (cos_test_data): Likewise.
32465         (cos_tonearest_test_data): Likewise.
32466         (cos_towardzero_test_data): Likewise.
32467         (cos_downward_test_data): Likewise.
32468         (cos_upward_test_data): Likewise.
32469         (cosh_test_data): Likewise.
32470         (cosh_tonearest_test_data): Likewise.
32471         (cosh_towardzero_test_data): Likewise.
32472         (cosh_downward_test_data): Likewise.
32473         (cosh_upward_test_data): Likewise.
32474         * sysdeps/i386/fpu/libm-test-ulps: Update.
32475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32477 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
32479         [BZ #6787]
32480         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
32481         * math/w_exp10f.c (__exp10f): Likewise.
32482         * math/w_exp10l.c (__exp10l): Likewise.
32483         * math/libm-test.inc (exp10_test_data): Add more tests and expect
32484         errno settings in existing tests.
32486         [BZ #14032]
32487         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
32488         precision control set to double precision.
32489         * sysdeps/i386/fpu/w_sqrt.c: New file.
32490         * math/auto-libm-test-in: Add more tests.
32491         * math/auto-libm-test-out: Update.
32493         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
32494         (sqrt_test_tonearest): New function.
32495         (sqrt_towardzero_test_data): New variable.
32496         (sqrt_test_towardzero): New function.
32497         (sqrt_downward_test_data): New variable.
32498         (sqrt_test_downward): New function.
32499         (sqrt_upward_test_data): New variable.
32500         (sqrt_test_upward): New function.
32501         (main): Call the new functions.
32503         * math/gen-auto-libm-tests.c: New file.
32504         * math/auto-libm-test-in: Likewise.
32505         * math/auto-libm-test-out: New generated file.
32506         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
32507         variables.
32508         (%beautify): Add generated representations of zero.
32509         (top level): Set $auto_input and call parse_auto_input.
32510         (beautify): Remove trailing "f" from hex float constants.
32511         (parse_args): Handle XFAIL_TEST.
32512         (convert_condition): New function.
32513         (or_value): Likewise.
32514         (or_cond_value): Likewise.
32515         (generate_testfile): Handle AUTO_TESTS_* lines.
32516         (parse_auto_input): New function.
32517         * math/libm-test.inc (XFAIL_TEST): New macro.
32518         (ERRNO_UNCHANGED): Update value.
32519         (ERRNO_EDOM): Likewise.
32520         (ERRNO_ERANGE): Likewise.
32521         (IGNORE_RESULT): Likewise.
32522         (TEST_COND_flt_32): New macro.
32523         (TEST_COND_dbl_64): Likewise.
32524         (TEST_COND_ldbl_96_intel): Likewise.
32525         (TEST_COND_ldbl_96_m68k): Likewise.
32526         (TEST_COND_ldbl_128): Likewise.
32527         (TEST_COND_ldbl_128ibm): Likewise.
32528         (TEST_COND_long32): Likewise.
32529         (TEST_COND_long64): Likewise.
32530         (TEST_COND_before_rounding): Likewise.
32531         (TEST_COND_after_rounding): Likewise.
32532         (enable_test): Handle XFAIL_TEST flag.
32533         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
32534         with finite results.
32535         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
32536         auto-libm-test-out.
32538 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32539             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32541         [BZ #16214]
32542         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
32543         __tls_get_addr_internal instead of __tls_get_offset in order to
32544         avoid GOT pointer dependency.  Make rtld export
32545         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
32546         __tls_get_addr since we are a __tls_get_offset platform.
32547         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
32548         GOT pointer being set up before.
32549         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
32551 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
32553         * manual/math.texi (Errors in Math Functions): Document accuracy
32554         goals.
32556         [BZ #15004]
32557         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
32558         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
32559         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32560         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32561         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32562         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32563         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32564         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32565         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32566         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32567         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32568         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32569         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32570         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32571         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32572         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32574         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
32575         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
32576         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
32577         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
32578         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
32579         Likewise.
32580         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
32581         Likewise.
32582         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
32583         Likewise.
32584         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
32585         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
32586         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
32587         atomic-feupdateenv and flt-rounds.
32588         * sysdeps/powerpc/nofpu/Versions (libc): Add
32589         __atomic_feholdexcept, __atomic_feclearexcept,
32590         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
32591         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
32592         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
32593         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
32594         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
32595         here.
32596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
32597         Update.
32599         * manual/arith.texi (FP Exceptions): Document that exceptions may
32600         not be raised when matherr is used.
32601         (Math Error Reporting): Document overflow in directed rounding
32602         modes.  Document that errno may not be set when finite values are
32603         returned on overflow.  Document intent to set errno on underflow
32604         only for underflow to zero.
32606         [BZ #16271]
32607         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
32608         round-to-nearest then adjust result for other rounding modes.
32609         * include/fenv.h (fegetround): Use libm_hidden_proto.
32610         * math/fegetround.c (fegetround): Use libm_hidden_def.
32611         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
32612         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
32613         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
32614         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
32615         Likewise.
32616         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
32617         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32618         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
32619         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
32621 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32623         [BZ #16077]
32624         * nss/Versions (libnss_files): Add
32625         _nss_files_gethostbyname3_r.
32626         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
32627         New function.
32628         (HOST_DB_LOOKUP): Remove macro.
32629         (_nss_files_gethostbyname_r): Implement function without the
32630         HOST_DB_LOOKUP macro.
32631         (_nss_files_gethostbyname2_r): Likewise.
32633 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
32635         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
32637 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
32639         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
32640         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
32641         warning.
32643 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32645         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
32646         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
32647         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
32648         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
32649         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
32650         __fe_nomask_env_priv and attribute_hidden.
32651         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
32652         (libc_feupdateenv_test_ppc): Likewise.
32653         (libc_feresetround_ppc): Likewise.
32654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32655         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
32656         compat_symbol macro.
32657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32658         (__fe_nomask_env): Likewise.
32659         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
32661 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
32663         * string/Makefile: Remove ifunc tests.
32664         * string/test-string.h: Define TEST_IFUNC.
32665         * string/test-bcopy-ifunc.c: Remove.
32666         * string/test-bzero-ifunc.c: Likewise.
32667         * string/test-memccpy-ifunc.c: Likewise.
32668         * string/test-memchr-ifunc.c: Likewise.
32669         * string/test-memcmp-ifunc.c: Likewise.
32670         * string/test-memcpy-ifunc.c: Likewise.
32671         * string/test-memmem-ifunc.c: Likewise.
32672         * string/test-memmove-ifunc.c: Likewise.
32673         * string/test-mempcpy-ifunc.c: Likewise.
32674         * string/test-memrchr-ifunc.c: Likewise.
32675         * string/test-memset-ifunc.c: Likewise.
32676         * string/test-rawmemchr-ifunc.c: Likewise.
32677         * string/test-stpcpy-ifunc.c: Likewise.
32678         * string/test-stpncpy-ifunc.c: Likewise.
32679         * string/test-strcasecmp-ifunc.c: Likewise.
32680         * string/test-strcasestr-ifunc.c: Likewise.
32681         * string/test-strcat-ifunc.c: Likewise.
32682         * string/test-strchr-ifunc.c: Likewise.
32683         * string/test-strchrnul-ifunc.c: Likewise.
32684         * string/test-strcmp-ifunc.c: Likewise.
32685         * string/test-strcpy-ifunc.c: Likewise.
32686         * string/test-strcspn-ifunc.c: Likewise.
32687         * string/test-strlen-ifunc.c: Likewise.
32688         * string/test-strncasecmp-ifunc.c: Likewise.
32689         * string/test-strncat-ifunc.c: Likewise.
32690         * string/test-strncmp-ifunc.c: Likewise.
32691         * string/test-strncpy-ifunc.c: Likewise.
32692         * string/test-strnlen-ifunc.c: Likewise.
32693         * string/test-strpbrk-ifunc.c: Likewise.
32694         * string/test-strrchr-ifunc.c: Likewise.
32695         * string/test-strspn-ifunc.c: Likewise.
32696         * string/test-strstr-ifunc.c: Likewise.
32698 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
32700         * benchtests/Makefile: Remove ifunc tests.
32701         * benchtests/bench-string.h: Define TEST_IFUNC.
32702         * benchtests/bench-bcopy-ifunc.c: Remove.
32703         * benchtests/bench-bzero-ifunc.c: Likewise.
32704         * benchtests/bench-memccpy-ifunc.c: Likewise.
32705         * benchtests/bench-memchr-ifunc.c: Likewise.
32706         * benchtests/bench-memcmp-ifunc.c: Likewise.
32707         * benchtests/bench-memcpy-ifunc.c: Likewise.
32708         * benchtests/bench-memmem-ifunc.c: Likewise.
32709         * benchtests/bench-memmove-ifunc.c: Likewise.
32710         * benchtests/bench-mempcpy-ifunc.c: Likewise.
32711         * benchtests/bench-memrchr-ifunc.c: Likewise.
32712         * benchtests/bench-memset-ifunc.c: Likewise.
32713         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
32714         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
32715         * benchtests/bench-stpcpy-ifunc.c: Likewise.
32716         * benchtests/bench-stpncpy-ifunc.c: Likewise.
32717         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
32718         * benchtests/bench-strcasestr-ifunc.c: Likewise.
32719         * benchtests/bench-strcat-ifunc.c: Likewise.
32720         * benchtests/bench-strchr-ifunc.c: Likewise.
32721         * benchtests/bench-strchrnul-ifunc.c: Likewise.
32722         * benchtests/bench-strcmp-ifunc.c: Likewise.
32723         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
32724         * benchtests/bench-strcpy-ifunc.c: Likewise.
32725         * benchtests/bench-strcspn-ifunc.c: Likewise.
32726         * benchtests/bench-strlen-ifunc.c: Likewise.
32727         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
32728         * benchtests/bench-strncat-ifunc.c: Likewise.
32729         * benchtests/bench-strncmp-ifunc.c: Likewise.
32730         * benchtests/bench-strncpy-ifunc.c: Likewise.
32731         * benchtests/bench-strnlen-ifunc.c: Likewise.
32732         * benchtests/bench-strpbrk-ifunc.c: Likewise.
32733         * benchtests/bench-strrchr-ifunc.c: Likewise.
32734         * benchtests/bench-strsep-ifunc.c: Likewise.
32735         * benchtests/bench-strspn-ifunc.c: Likewise.
32736         * benchtests/bench-strstr-ifunc.c: Likewise.
32738 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
32740         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
32742 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
32744         * resolv/netdb.h: Use __glibc_reserved instead __unused.
32745         * rt/aio.h: Likewise.
32746         * sysdeps/gnu/bits/utmp.h: Likewise.
32747         * sysdeps/gnu/bits/utmpx.h: Likewise.
32748         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32749         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
32750         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
32751         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
32752         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
32753         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
32754         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
32755         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
32756         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
32757         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
32758         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
32759         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
32760         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
32761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
32762         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32763         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
32764         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
32765         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
32766         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
32767         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
32768         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
32769         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
32770         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
32771         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32772         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
32773         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32774         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
32775         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
32776         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
32777         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
32778         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
32779         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
32780         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
32781         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32782         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
32783         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
32784         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
32785         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
32786         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
32787         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
32788         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
32789         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32791 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
32793         [BZ #16245]
32794         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
32795         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
32797 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
32799         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
32800         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
32801         Likewise.
32803 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32805         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
32806         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
32807         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
32808         (__fesetround): Remove define.
32809         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
32810         rounding and exceptions handling.
32811         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
32812         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
32813         (__fe_nomask_env): Likewise.
32814         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
32815         __fegetround instead of fegetround.
32816         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
32817         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
32819 2013-11-21  Roland McGrath  <roland@hack.frob.com>
32821         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
32822         it's there.
32824         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
32826 2013-11-21  Meador Inge  <meadori@codesourcery.com>
32828         [BZ #11157]
32829         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
32830         (encrypt_r): Likewise.
32831         * malloc/obstack.h (obstack_free): Likewise.
32832         * posix/unistd.h (encrypt): Likewise.
32834 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
32836         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
32837         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
32838         DL_CALL_DT_FINI() that call the functions directly.
32839         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
32840         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
32841         * elf/dl-fini.c: Likewise.
32843 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
32845         * malloc/hooks.c (memalign_check): Add alignment rounding.
32846         * malloc/malloc.c (_mid_memalign): New function.
32847         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
32848         Implement by calling _mid_memalign.
32849         * manual/probes.texi (Memory Allocation Probes): Remove
32850         memory_valloc_retry and memory_pvalloc_retry.
32852 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32854         * locale/programs/locarchive.c (open_archive): Add const
32855         qualifier to ARCHIVEFNAME and copy default fname to
32856         DEFAULT_FNAME.
32858         [BZ #15601]
32859         * libio/tst-widetext.input: Rename Oriya to Odia.
32860         * locale/iso-639.def: Likewise.
32862         * manual/probes.texi (Mathematical Function Probes): Add
32863         documentation for sin, cos, asin and acos probes.
32864         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
32865         (__sin32): Add slowasin probe.
32866         (__cos32): Add slowacos probe.
32867         (__mpsin): Add slowsin probe.
32868         (__mpcos): Add slowcos probe.
32870 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
32872         [BZ #15483]
32873         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
32874         thread-local __sim_exceptions_thread and global
32875         __sim_exceptions_global.
32876         (__sim_disabled_exceptions): Change to thread-local
32877         __sim_disabled_exceptions_thread and global
32878         __sim_disabled_exceptions_global.
32879         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
32880         and global __sim_round_mode_global.
32881         (__simulate_exceptions): Use thread-local floating-point state and
32882         set global state from it as needed.
32883         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
32884         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
32885         __sim_round_mode_thread.
32886         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
32887         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
32888         and global __sim_exceptions_global.
32889         (__sim_disabled_exceptions): Change to thread-local
32890         __sim_disabled_exceptions_thread and global
32891         __sim_disabled_exceptions_global.
32892         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
32893         and global __sim_round_mode_global.
32894         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
32895         (SIM_SET_GLOBAL): Likewise.
32896         * sysdeps/powerpc/soft-fp/sfp-machine.h
32897         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
32898         __sim_round_mode_thread.
32899         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
32900         __sim_disabled_exceptions_thread.
32901         (__sim_exceptions): Change to __sim_exceptions_thread.
32902         (__sim_disabled_exceptions): Change to
32903         __sim_disabled_exceptions_thread.
32904         (__sim_round_mode): Change to __sim_round_mode_thread.
32905         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
32906         thread-local floating-point state and set global state from it as
32907         needed.
32908         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
32909         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
32910         (__sim_disabled_exceptions): Remove extern declaration.
32911         (feenableexcept): Use thread-local floating-point state and set
32912         global state from it as needed.
32913         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
32914         extern declaration.
32915         (__sim_disabled_exceptions): Likewise.
32916         (__sim_round_mode): Likewise.
32917         (__fegetenv): Use thread-local floating-point state.
32918         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
32919         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
32920         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
32921         floating-point state and set global state from it as needed.
32922         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
32923         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32924         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
32925         Likewise.
32926         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
32927         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
32928         Likewise.
32929         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
32930         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
32931         Use __sim_round_mode_thread.
32932         * math/test-fenv-tls.c: New file.
32933         * math/Makefile (tests): Add test-fenv-tls.
32934         ($(objpfx)test-fenv-tls): Depend on
32935         $(common-objpfx)nptl/libpthread.so.
32937 2013-11-19  Andreas Schwab  <schwab@suse.de>
32939         * locale/programs/locale.c (show_info): Decode wordarray elements.
32940         * locale/categories.def (LC_MONETARY): Add element for
32941         _NL_MONETARY_CRNCYSTR.
32942         * locale/C-monetary.c (conversion_rate): New variable.
32943         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
32944         element.
32946 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
32948         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
32949         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
32951 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
32953         * elf/Makefile (tst-auxv): New test.
32954         * elf/tst-auxv.c: New
32955         * elf/rtld.c (dl_main): Adjust AT_EXECFN
32957 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
32959         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
32960         (hidden_proto): Caller changed.
32961         (hidden_tls_proto): New macro.
32962         (libc_hidden_tls_proto): Likewise.
32963         (rtld_hidden_tls_proto): Likewise.
32964         (libm_hidden_tls_proto): Likewise.
32965         (libresolv_hidden_tls_proto): Likewise.
32966         (librt_hidden_tls_proto): Likewise.
32967         (libdl_hidden_tls_proto): Likewise.
32968         (libnss_files_hidden_tls_proto): Likewise.
32969         (libnsl_hidden_tls_proto): Likewise.
32970         (libnss_nisplus_hidden_tls_proto): Likewise.
32971         (libutil_hidden_tls_proto): Likewise.
32973 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
32975         [BZ #10253]
32976         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
32977         (decompose_rpath): Defer expansion to fillin_rpath.
32978         (_dl_init_paths): Pass linkmap to fillin_rpath.
32980 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32982         * benchtests/Makefile: Add strsep.
32983         * benchtests/bench-strsep.c: New file: strsep benchtest.
32984         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
32986 2013-11-18  Andreas Schwab  <schwab@suse.de>
32988         * locale/programs/locale.c (show_info) [case byte]: Check for
32989         '\377' instead of '\177'.
32990         * locale/C-monetary.c (not_available): Always use "\377".
32991         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
32992         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
32993         detect unavailable sign_posn locale elements.
32994         * locale/localeconv.c (__localeconv): For grouping and
32995         mon_grouping handle "\177" and "\377" like no grouping.
32996         (INT_ELEM): New macro.  Use it to set all numeric members.
32997         * locale/programs/ld-monetary.c (monetary_read)
32998         <tok_mon_grouping>: Normalize single -1 to the empty string.
32999         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
33000         Likewise.
33002 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
33004         [BZ #16055]
33005         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
33006         when we match (nil).
33007         * stdio-common/tst-sscanf.c (struct test): Add testcase.
33009 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
33011         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
33012         (NO_TEST_INLINE): Update value.
33013         (ERRNO_UNCHANGED): Likewise.
33014         (ERRNO_EDOM): Likewise.
33015         (ERRNO_ERANGE): Likewise.
33016         (IGNORE_RESULT): Likewise.
33017         (check_float_internal): Check signs of NaN results if
33018         TEST_NAN_SIGN used.
33019         (check_complex): Pass TEST_NAN_SIGN flag through to second
33020         check_float_internal call.
33021         (copysign_test_data): Add tests with quiet NaNs as second
33022         argument.  Use TEST_NAN_SIGN.
33023         (fabs_test_data): Add test of negative quiet NaN argument.  Use
33024         TEST_NAN_SIGN.
33025         (signbit_test_data): Add tests of quiet NaN argument.
33026         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
33028         * math/gen-libm-test.pl (show_exceptions): Take extra argument
33029         $ignore_result.
33030         (parse_args): Handle function results specified as IGNORE.
33031         * math/libm-test.inc (IGNORE_RESULT): New macro.
33032         (check_float_internal): Do not check numerical result if flag
33033         IGNORE_RESULT set.
33034         (check_complex): Pass through IGNORE_RESULT to second
33035         check_float_internal call.
33036         (check_int): Do not check numerical result if flag IGNORE_RESULT
33037         set.
33038         (check_long): Likewise.
33039         (check_bool): Likewise.
33040         (check_longlong): Likewise.
33041         (lrint_test_data): Add tests of infinite and NaN arguments.
33042         (lrint_tonearest_test_data): Likewise.
33043         (lrint_towardzero_test_data): Likewise.
33044         (lrint_downward_test_data): Likewise.
33045         (lrint_upward_test_data): Likewise.
33046         (llrint_test_data): Likewise.
33047         (llrint_tonearest_test_data): Likewise.
33048         (llrint_towardzero_test_data): Likewise.
33049         (llrint_downward_test_data): Likewise.
33050         (llrint_upward_test_data): Likewise.
33051         (lround_test_data): Likewise.
33052         (llround_test_data): Likewise.
33054         * math/libm-test.inc (NO_TEST_INLINE): New macro.
33055         (ERRNO_UNCHANGED): Update value.
33056         (ERRNO_EDOM): Likewise.
33057         (ERRNO_ERANGE): Likewise.
33058         (NO_TEST_INLINE_FLOAT): New macro.
33059         (NO_TEST_INLINE_DOUBLE): Likewise.
33060         (enable_test): New function.
33061         (RUN_TEST_f_f): Check enable_test before running test.
33062         (RUN_TEST_2_f): Likewise.
33063         (RUN_TEST_fff_f): Likewise.
33064         (RUN_TEST_c_f): Likewise.
33065         (RUN_TEST_f_f1): Likewise.
33066         (RUN_TEST_fF_f1): Likewise.
33067         (RUN_TEST_fI_f1): Likewise.
33068         (RUN_TEST_ffI_f1): Likewise.
33069         (RUN_TEST_c_c): Likewise.
33070         (RUN_TEST_cc_c): Likewise.
33071         (RUN_TEST_f_i): Likewise.
33072         (RUN_TEST_f_i_tg): Likewise.
33073         (RUN_TEST_ff_i_tg): Likewise.
33074         (RUN_TEST_f_b): Likewise.
33075         (RUN_TEST_f_b_tg): Likewise.
33076         (RUN_TEST_f_l): Likewise.
33077         (RUN_TEST_f_L): Likewise.
33078         (RUN_TEST_fFF_11): Likewise.
33079         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
33080         conditionals.
33081         (cosh_test_data): Likewise.
33082         (exp_test_data): Likewise.
33083         (expm1_test_data): Likewise.
33084         (hypot_test_data): Likewise.
33085         (pow_test_data): Likewise.
33086         (sinh_test_data): Likewise.
33087         (tanh_test_data): Likewise.
33088         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
33089         flags argument.
33091         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
33092         tests with quiet NaN input and output.
33093         (acosh_test_data): Likewise.
33094         (asin_test_data): Likewise.
33095         (asinh_test_data): Likewise.
33096         (atan_test_data): Likewise.
33097         (atanh_test_data): Likewise.
33098         (atan2_test_data): Likewise.
33099         (cbrt_test_data): Likewise.
33100         (cos_test_data): Likewise.
33101         (cosh_test_data): Likewise.
33102         (erf_test_data): Likewise.
33103         (erfc_test_data): Likewise.
33104         (exp_test_data): Likewise.
33105         (exp10_test_data): Likewise.
33106         (exp2_test_data): Likewise.
33107         (expm1_test_data): Likewise.
33108         (hypot_test_data): Likewise.
33109         (j0_test_data): Likewise.
33110         (j1_test_data): Likewise.
33111         (jn_test_data): Likewise.
33112         (lgamma_test_data): Likewise.
33113         (log_test_data): Likewise.
33114         (log10_test_data): Likewise.
33115         (log1p_test_data): Likewise.
33116         (log2_test_data): Likewise.
33117         (pow_test_data): Likewise.
33118         (scalb_test_data): Likewise.
33119         (sin_test_data): Likewise.
33120         (sincos_test_data): Likewise.
33121         (sinh_test_data): Likewise.
33122         (tan_test_data): Likewise.
33123         (tanh_test_data): Likewise.
33124         (tgamma_test_data): Likewise.
33125         (y0_test_data): Likewise.
33126         (y1_test_data): Likewise.
33127         (yn_test_data): Likewise.
33129         [BZ #16167]
33130         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
33131         argument being NaN and avoid computations with second argument in
33132         that case.
33133         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33134         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33135         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33137 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
33139         * locale/iso-639.def: Add Chitwani Tharu (the).
33141 2013-11-14  Andreas Schwab  <schwab@suse.de>
33143         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
33144         word instead of empty string.
33146 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33149         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
33150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33151         (__fe_nomask_env): Likewise.
33153 2013-11-13  Steve Ellcey  <sellcey@mips.com>
33155         * benchtests/bench-timing.h: Include time.h.
33157 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
33159         [BZ #15997]
33160         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
33161         to 3.4.0 for x32.
33162         * sysdeps/unix/sysv/linux/configure: Regenerated.
33164 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
33166         [BZ #16151]
33167         * stdlib/strtod_l.c (round_and_return): Do not consider
33168         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
33169         exponent one less than half the least subnormal exponent.
33170         * stdlib/test-strtod-round-data: Add more tests.
33171         * stdlib/tst-strtod-round.c (tests): Regenerated.
33173 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33175         [BZ #14143]
33176         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
33177         (__fe_mask_env): Likewise.
33178         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
33179         libm_hidden_proto and add function prototype.
33180         (__fe_mask_env): Add function prototype.
33181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33182         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
33183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33184         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
33185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33186         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
33188 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33190         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
33191         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
33193 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33195         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
33196         of htab_find_slot().
33198 2013-11-11  David S. Miller  <davem@davemloft.net>
33200         [BZ #16150]
33201         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
33202         symbol in the non-vis3 case in static builds.
33203         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
33204         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
33205         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
33206         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
33208 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
33210         [BZ #387]
33211         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
33212         it is empty.
33214 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33216         * benchtests/Makefile: Add bench-strtod.
33217         * benchtests/bench-strtod.c: New file: strtod benchtest
33219 2013-11-11  Andreas Schwab  <schwab@suse.de>
33221         [BZ #16153]
33222         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
33223         terminating NUL in key length.
33225 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33227         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
33228         Add artificial ODP entry for vDSO symbol for PPC64.
33229         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
33230         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
33232 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
33234         [BZ #15374]
33235         * nss/getent.c (services_keys): Recognize services starting with digit.
33237 2013-11-06  David S. Miller  <davem@davemloft.net>
33239         [BZ #15985]
33240         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
33241         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
33243 2013-11-06  Will Newton  <will.newton@linaro.org>
33245         * manual/memory.texi (Malloc Examples): Remove register
33246         keyword from examples.
33248 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
33250         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
33252 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
33254         [BZ #6981]
33255         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
33256         depending on [__GCC_IEC_559 > 0].
33257         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
33258         depending on [__GCC_IEC_559_COMPLEX > 0].
33260 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
33262         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
33263         to iso-639.def.
33265 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
33267         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
33269 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
33271         [BZ #16112]
33272         * malloc/malloc (malloc_info): Do not handle first bin as
33273         special case.
33275 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
33277         * locale/iso-639.def: Add Central Nahuatl (nhn).
33279 2013-11-01  Bruno Haible  <bruno@clisp.org>
33281         [BZ #7003]
33282         * manual/math.texi (BSD Random): Specify range upper bound as
33283         in POSIX.
33285 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
33287         * locale/iso-639.def: Add Meadow Mari (mhr).
33289 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
33291         [BZ #14752], [BZ #15763]
33292         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
33293         Validate name.
33294         * rt/tst_shm.c: Add test for escaping directory.
33296 2013-10-31  Andreas Schwab  <schwab@suse.de>
33298         [BZ #15917]
33299         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
33300         followed by 'x' as part of digit sequence.
33301         * stdio-common/tst-sscanf.c (double_tests2): New tests.
33303 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
33305         [BZ #16037]
33306         * configure.ac: allow GNU Make 4.0 and greater.
33307         * configure: Regenerated.
33309 2013-10-30  Will Newton  <will.newton@linaro.org>
33311         [BZ #16038]
33312         * malloc/hooks.c (memalign_check): Limit alignment to the
33313         maximum representable power of two.
33314         * malloc/malloc.c (__libc_memalign): Likewise.
33315         * malloc/tst-memalign.c (do_test): Add test for very
33316         large alignment values.
33317         * malloc/tst-posix_memalign.c (do_test): Likewise.
33319 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
33321         [BZ #11087]
33322         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
33323         (munmap_chunk): Likewise.
33324         (mremap_chunk): Likewise.
33326 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
33328         [BZ #15799]
33329         * stdlib/div.c (div): Remove obsolete code.
33330         * stdlib/ldiv.c (ldiv): Likewise.
33331         * stdlib/lldiv.c (lldiv): Likewise.
33333 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33335         [BZ #16071]
33336         * nss/nss_files/files-XXX.c (get_contents_ret): New
33337         enumerator.
33338         (get_contents): New function.
33339         (internal_getent): Use it.  Expand size of LINEBUFLEN.
33341 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
33343         * configure.in: Moved to ...
33344         * configure.ac: ... here. Change reference to configure.in
33345         to configure.ac.
33346         * sysdeps/arm/preconfigure.ac: ... here.
33347         configure.in to configure.ac.
33348         * sysdeps/gnu/configure.in: Moved to ...
33349         * sysdeps/gnu/configure.ac: ... here.
33350         * sysdeps/i386/configure.in: Moved to ...
33351         * sysdeps/i386/configure.ac: ... here.
33352         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
33353         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
33354         * sysdeps/mach/configure.in: Moved to ...
33355         * sysdeps/mach/configure.ac: ... here.
33356         * sysdeps/mach/hurd/configure.in: Moved to ...
33357         * sysdeps/mach/hurd/configure.ac: ... here.
33358         * sysdeps/powerpc/configure.in: Moved to ...
33359         * sysdeps/powerpc/configure.ac: ... here.
33360         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
33361         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
33362         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
33363         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
33364         * sysdeps/s390/s390-32/configure.in: Moved to ...
33365         * sysdeps/s390/s390-32/configure.ac: ... here.
33366         * sysdeps/s390/s390-64/configure.in: Moved to ...
33367         * sysdeps/s390/s390-64/configure.ac: ... here.
33368         * sysdeps/sh/configure.in: Moved to ...
33369         * sysdeps/sh/configure.ac: ... here.
33370         * sysdeps/sparc/configure.in: Moved to ...
33371         * sysdeps/sparc/configure.ac: ... here.
33372         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
33373         * sysdeps/unix/sysv/linux/configure.ac: ... here.
33374         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
33375         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
33376         * sysdeps/x86_64/configure.in: Moved to ...
33377         * sysdeps/x86_64/configure.ac: ... here.
33378         * sysdeps/x86_64/preconfigure.in: Moved to ...
33379         * sysdeps/x86_64/preconfigure.ac: ... here.
33380         * aclocal.m4: Change reference to configure.in to configure.ac.
33381         * config.h.in: Likewise.
33382         * manual/install.texi: Likewise.
33383         * manual/maint.texi: Likewise.
33384         * Makefile: Likewise.
33385         * malloc/Makefile: Likewise.
33386         * nscd/Makefile: Likewise.
33387         * Makeconfig: Change reference to configure.in and
33388         preconfigure.in to configure.ac and preconfigure.ac
33389         respectively.
33390         * INSTALL: Regenerated.
33391         * configure: Likewise.
33392         * sysdeps/gnu/configure: Likewise.
33393         * sysdeps/i386/configure: Likewise.
33394         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
33395         * sysdeps/mach/configure: Likewise.
33396         * sysdeps/mach/hurd/configure: Likewise.
33397         * sysdeps/powerpc/configure: Likewise.
33398         * sysdeps/powerpc/powerpc32/configure: Likewise.
33399         * sysdeps/powerpc/powerpc64/configure: Likewise.
33400         * sysdeps/s390/s390-32/configure: Likewise.
33401         * sysdeps/s390/s390-64/configure: Likewise.
33402         * sysdeps/sh/configure: Likewise.
33403         * sysdeps/sparc/configure: Likewise.
33404         * sysdeps/unix/sysv/linux/configure: Likewise.
33405         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
33406         * sysdeps/x86_64/configure: Likewise.
33407         * sysdeps/x86_64/preconfigure: Likewise.
33409 2013-10-29  Andreas Schwab  <schwab@suse.de>
33411         * stdio-common/Makefile (tst-swscanf-ENV): Define.
33413 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33415         * benchtests/pow-inputs: Add new inputs.
33417         * benchtests/exp-inputs: Add new inputs.
33419         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
33420         conditional check for return value.
33421         (__cos32): Likewise.
33423 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33425         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
33426         to provide a boost for large inputs with word alignment.
33427         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
33428         implementation based on optimized PPC64 strcpy.
33429         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
33430         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
33431         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
33432         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
33434 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
33436         [BZ #2801]
33437         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
33439 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
33441         [BZ #14876]
33442         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
33443         * time/tst-strptime.c (day_tests): Add testcase.
33445 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
33447         [BZ #14029]
33448         * manual/pattern.texi: Acknowledge that fnmatch can fail.
33450 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
33452         [BZ #16074]
33453         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
33454         MAP_FAILED on error.
33456 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33458         [BZ #16072]
33459         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
33460         heap for large requests.
33462 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
33464         [BZ #9954]
33465         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
33466         result if the result has no associated interface.
33467         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
33468         interface for all 127.X.Y.Z addresses.
33470 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
33472         * locale/iso-639.def: Add Ligurian (lij)
33474 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
33476         [BZ #15825]
33477         * sunrpc/rpc_main.c: Document rpcgen -5.
33479 2013-10-19  Michael Stahl  <mstahl@redhat.com>
33481         * elf/rtld.c (do_preload): Print the reason why preloading failed.
33483 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
33485         [BZ #10278]
33486         * posix/glob.c: Match only directories when trailing slash is present.
33487         * posix/tst-gnuglob.c (my_opendir): Do not open files.
33488         (main): Add testcase.
33490 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
33492         [BZ #15670]
33493         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
33495 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
33497         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
33498         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
33499         AUTH_DES and cindex for FIPS 140-2.
33500         (DES Encryption): Add cindex FIPS 46-3.
33502         * locale/locarchive.h (struct locarhandle): Add fname.
33503         * locale/programs/localedef.c (main): Pass ARGV[remaining]
33504         if an optional argument was specified to --list-archive,
33505         otherwise NULL.
33506         * locale/programs/locarchive.c (show_archive_content): Take new
33507         argument fname and pass it via ah.fname to open_archive.
33508         * locale/programs/localedef.h: Update decl.
33509         (open_archive): If AH->fname is non-null, open that file
33510         rather than the default file name, and don't ignore ENOENT.
33511         (create_archive): Set AH.fname to NULL.
33512         (delete_locales_from_archive): Likewise.
33513         (add_locales_to_archive): Likewise.
33514         * locale/programs/locfile.c (write_all_categories): Likewise.
33516 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
33517             Aldy Hernandez  <aldyh@redhat.com>
33519         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
33520         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
33521         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
33522         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
33523         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
33524         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
33525         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
33526         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
33527         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
33528         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
33529         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
33530         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
33531         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
33532         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
33533         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
33534         Likewise.
33535         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
33536         Likewise.
33537         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
33538         Likewise.
33539         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
33540         Likewise.
33541         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
33542         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
33543         Likewise.
33544         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
33545         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
33546         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
33547         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
33548         Likewise.
33549         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
33550         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
33551         * sysdeps/powerpc/preconfigure: Likewise.
33552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
33553         Likewise.
33554         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
33555         Replace contents of file by #include of <fenv_libc.h>.
33556         * sysdeps/powerpc/soft-fp/sfp-machine.h
33557         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
33558         and <sys/prctl.h>.
33559         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
33560         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
33561         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
33562         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
33563         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
33564         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
33565         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
33566         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
33567         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
33568         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
33569         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
33570         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
33571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33572         Allow copysignl PLT reference to be missing.
33574 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
33575             Joseph Myers  <joseph@codesourcery.com
33577         [BZ #15948]
33578         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
33579         single character.
33580         (add_to_tablewc): Assert sequence of wide characters is nonempty.
33582 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33584         * elf/tst-tls-dlinfo.c: Don't include tls.h.
33585         * elf/tst-tls1.c: Likewise.
33586         * elf/tst-tls10.h: Likewise.
33587         * elf/tst-tls14.c: Likewise.
33588         * elf/tst-tls2.c: Likewise.
33589         * elf/tst-tls3.c: Likewise.
33590         * elf/tst-tls4.c: Likewise.
33591         * elf/tst-tls5.c: Likewise.
33592         * elf/tst-tls6.c: Likewise.
33593         * elf/tst-tls7.c: Likewise.
33594         * elf/tst-tls8.c: Likewise.
33595         * elf/tst-tls9.c: Likewise.
33596         * elf/tst-tlsmod1.c: Likewise.
33597         * elf/tst-tlsmod13.c: Likewise.
33598         * elf/tst-tlsmod13a.c: Likewise.
33599         * elf/tst-tlsmod14a.c: Likewise.
33600         * elf/tst-tlsmod16a.c: Likewise.
33601         * elf/tst-tlsmod16b.c: Likewise.
33602         * elf/tst-tlsmod2.c: Likewise.
33603         * elf/tst-tlsmod3.c: Likewise.
33604         * elf/tst-tlsmod4.c: Likewise.
33605         * elf/tst-tlsmod5.c: Likewise.
33606         * elf/tst-tlsmod6.c: Likewise.
33608 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
33610         [BZ #12486]
33611         * malloc/malloc.c: remove checks for statistics.
33613 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
33615         [BZ #15277]
33616         * inet/inet_net.c (inet_network): Detect additional invalid strings.
33617         * inet/tst-network.c: Add testcase.
33619 2013-10-17  Andreas Schwab  <schwab@suse.de>
33621         [BZ #15218]
33622         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
33623         to determine canonical name.
33625 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
33627         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
33628         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
33629         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33630         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33631         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33632         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33633         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33634         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33635         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33636         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33637         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33638         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33639         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33640         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33641         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33642         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33643         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33644         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33645         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33646         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33647         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33648         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33649         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33650         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
33651         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
33652         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33653         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33654         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
33655         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33656         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
33657         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33658         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33659         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33660         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33661         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33662         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33663         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33664         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33665         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33666         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33667         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33668         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33669         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33670         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33671         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33672         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33673         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33674         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33675         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33676         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33677         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33678         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33679         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33680         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33681         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33682         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33683         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33684         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33686 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
33688         [BZ #16041]
33689         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
33690         make result into a quiet NaN.
33692 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
33694         * soft-fp/adddf3.c: Fix horizontal whitespace.
33695         * soft-fp/addsf3.c: Likewise.
33696         * soft-fp/addtf3.c: Likewise.
33697         * soft-fp/divdf3.c: Likewise.
33698         * soft-fp/divsf3.c: Likewise.
33699         * soft-fp/divtf3.c: Likewise.
33700         * soft-fp/double.h: Likewise.
33701         * soft-fp/eqdf2.c: Likewise.
33702         * soft-fp/eqsf2.c: Likewise.
33703         * soft-fp/eqtf2.c: Likewise.
33704         * soft-fp/extenddftf2.c: Likewise.
33705         * soft-fp/extended.h: Likewise.
33706         * soft-fp/extendsfdf2.c: Likewise.
33707         * soft-fp/extendsftf2.c: Likewise.
33708         * soft-fp/extendxftf2.c: Likewise.
33709         * soft-fp/fixdfdi.c: Likewise.
33710         * soft-fp/fixdfsi.c: Likewise.
33711         * soft-fp/fixdfti.c: Likewise.
33712         * soft-fp/fixsfdi.c: Likewise.
33713         * soft-fp/fixsfsi.c: Likewise.
33714         * soft-fp/fixsfti.c: Likewise.
33715         * soft-fp/fixtfdi.c: Likewise.
33716         * soft-fp/fixtfsi.c: Likewise.
33717         * soft-fp/fixtfti.c: Likewise.
33718         * soft-fp/fixunsdfdi.c: Likewise.
33719         * soft-fp/fixunsdfsi.c: Likewise.
33720         * soft-fp/fixunsdfti.c: Likewise.
33721         * soft-fp/fixunssfdi.c: Likewise.
33722         * soft-fp/fixunssfsi.c: Likewise.
33723         * soft-fp/fixunssfti.c: Likewise.
33724         * soft-fp/fixunstfdi.c: Likewise.
33725         * soft-fp/fixunstfsi.c: Likewise.
33726         * soft-fp/fixunstfti.c: Likewise.
33727         * soft-fp/floatdidf.c: Likewise.
33728         * soft-fp/floatdisf.c: Likewise.
33729         * soft-fp/floatditf.c: Likewise.
33730         * soft-fp/floatsidf.c: Likewise.
33731         * soft-fp/floatsisf.c: Likewise.
33732         * soft-fp/floatsitf.c: Likewise.
33733         * soft-fp/floattidf.c: Likewise.
33734         * soft-fp/floattisf.c: Likewise.
33735         * soft-fp/floattitf.c: Likewise.
33736         * soft-fp/floatundidf.c: Likewise.
33737         * soft-fp/floatundisf.c: Likewise.
33738         * soft-fp/floatunditf.c: Likewise.
33739         * soft-fp/floatunsidf.c: Likewise.
33740         * soft-fp/floatunsisf.c: Likewise.
33741         * soft-fp/floatunsitf.c: Likewise.
33742         * soft-fp/floatuntidf.c: Likewise.
33743         * soft-fp/floatuntisf.c: Likewise.
33744         * soft-fp/floatuntitf.c: Likewise.
33745         * soft-fp/fmadf4.c: Likewise.
33746         * soft-fp/fmasf4.c: Likewise.
33747         * soft-fp/fmatf4.c: Likewise.
33748         * soft-fp/gedf2.c: Likewise.
33749         * soft-fp/gesf2.c: Likewise.
33750         * soft-fp/getf2.c: Likewise.
33751         * soft-fp/ledf2.c: Likewise.
33752         * soft-fp/lesf2.c: Likewise.
33753         * soft-fp/letf2.c: Likewise.
33754         * soft-fp/muldf3.c: Likewise.
33755         * soft-fp/mulsf3.c: Likewise.
33756         * soft-fp/multf3.c: Likewise.
33757         * soft-fp/negdf2.c: Likewise.
33758         * soft-fp/negsf2.c: Likewise.
33759         * soft-fp/negtf2.c: Likewise.
33760         * soft-fp/op-1.h: Likewise.
33761         * soft-fp/op-2.h: Likewise.
33762         * soft-fp/op-4.h: Likewise.
33763         * soft-fp/op-8.h: Likewise.
33764         * soft-fp/op-common.h: Likewise.
33765         * soft-fp/quad.h: Likewise.
33766         * soft-fp/single.h: Likewise.
33767         * soft-fp/soft-fp.h: Likewise.
33768         * soft-fp/sqrtdf2.c: Likewise.
33769         * soft-fp/sqrtsf2.c: Likewise.
33770         * soft-fp/sqrttf2.c: Likewise.
33771         * soft-fp/subdf3.c: Likewise.
33772         * soft-fp/subsf3.c: Likewise.
33773         * soft-fp/subtf3.c: Likewise.
33774         * soft-fp/truncdfsf2.c: Likewise.
33775         * soft-fp/trunctfdf2.c: Likewise.
33776         * soft-fp/trunctfsf2.c: Likewise.
33777         * soft-fp/trunctfxf2.c: Likewise.
33778         * soft-fp/unorddf2.c: Likewise.
33779         * soft-fp/unordsf2.c: Likewise.
33780         * soft-fp/unordtf2.c: Likewise.
33782 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
33784         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
33785         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
33787 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
33789         * elf/dl-libc.c: Clear initfini list after freeing.
33791 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
33793         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
33794         * soft-fp/addsf3.c: Likewise.
33795         * soft-fp/addtf3.c: Likewise.
33796         * soft-fp/divdf3.c: Likewise.
33797         * soft-fp/divsf3.c: Likewise.
33798         * soft-fp/divtf3.c: Likewise.
33799         * soft-fp/double.h: Likewise.
33800         * soft-fp/eqdf2.c: Likewise.
33801         * soft-fp/eqsf2.c: Likewise.
33802         * soft-fp/eqtf2.c: Likewise.
33803         * soft-fp/extenddftf2.c: Likewise.
33804         * soft-fp/extended.h: Likewise.
33805         * soft-fp/extendsfdf2.c: Likewise.
33806         * soft-fp/extendsftf2.c: Likewise.
33807         * soft-fp/extendxftf2.c: Likewise.
33808         * soft-fp/fixdfdi.c: Likewise.
33809         * soft-fp/fixdfsi.c: Likewise.
33810         * soft-fp/fixdfti.c: Likewise.
33811         * soft-fp/fixsfdi.c: Likewise.
33812         * soft-fp/fixsfsi.c: Likewise.
33813         * soft-fp/fixsfti.c: Likewise.
33814         * soft-fp/fixtfdi.c: Likewise.
33815         * soft-fp/fixtfsi.c: Likewise.
33816         * soft-fp/fixtfti.c: Likewise.
33817         * soft-fp/fixunsdfdi.c: Likewise.
33818         * soft-fp/fixunsdfsi.c: Likewise.
33819         * soft-fp/fixunsdfti.c: Likewise.
33820         * soft-fp/fixunssfdi.c: Likewise.
33821         * soft-fp/fixunssfsi.c: Likewise.
33822         * soft-fp/fixunssfti.c: Likewise.
33823         * soft-fp/fixunstfdi.c: Likewise.
33824         * soft-fp/fixunstfsi.c: Likewise.
33825         * soft-fp/fixunstfti.c: Likewise.
33826         * soft-fp/floatdidf.c: Likewise.
33827         * soft-fp/floatdisf.c: Likewise.
33828         * soft-fp/floatditf.c: Likewise.
33829         * soft-fp/floatsidf.c: Likewise.
33830         * soft-fp/floatsisf.c: Likewise.
33831         * soft-fp/floatsitf.c: Likewise.
33832         * soft-fp/floattidf.c: Likewise.
33833         * soft-fp/floattisf.c: Likewise.
33834         * soft-fp/floattitf.c: Likewise.
33835         * soft-fp/floatundidf.c: Likewise.
33836         * soft-fp/floatundisf.c: Likewise.
33837         * soft-fp/floatunsidf.c: Likewise.
33838         * soft-fp/floatunsisf.c: Likewise.
33839         * soft-fp/floatuntidf.c: Likewise.
33840         * soft-fp/floatuntisf.c: Likewise.
33841         * soft-fp/floatuntitf.c: Likewise.
33842         * soft-fp/fmadf4.c: Likewise.
33843         * soft-fp/fmasf4.c: Likewise.
33844         * soft-fp/fmatf4.c: Likewise.
33845         * soft-fp/gedf2.c: Likewise.
33846         * soft-fp/gesf2.c: Likewise.
33847         * soft-fp/getf2.c: Likewise.
33848         * soft-fp/ledf2.c: Likewise.
33849         * soft-fp/lesf2.c: Likewise.
33850         * soft-fp/letf2.c: Likewise.
33851         * soft-fp/muldf3.c: Likewise.
33852         * soft-fp/mulsf3.c: Likewise.
33853         * soft-fp/multf3.c: Likewise.
33854         * soft-fp/negdf2.c: Likewise.
33855         * soft-fp/negsf2.c: Likewise.
33856         * soft-fp/negtf2.c: Likewise.
33857         * soft-fp/op-1.h: Likewise.
33858         * soft-fp/op-2.h: Likewise.
33859         * soft-fp/op-4.h: Likewise.
33860         * soft-fp/op-8.h: Likewise.
33861         * soft-fp/op-common.h: Likewise.
33862         * soft-fp/quad.h: Likewise.
33863         * soft-fp/single.h: Likewise.
33864         * soft-fp/soft-fp.h: Likewise.
33865         * soft-fp/sqrtdf2.c: Likewise.
33866         * soft-fp/sqrtsf2.c: Likewise.
33867         * soft-fp/sqrttf2.c: Likewise.
33868         * soft-fp/subdf3.c: Likewise.
33869         * soft-fp/subsf3.c: Likewise.
33870         * soft-fp/subtf3.c: Likewise.
33871         * soft-fp/truncdfsf2.c: Likewise.
33872         * soft-fp/trunctfdf2.c: Likewise.
33873         * soft-fp/trunctfsf2.c: Likewise.
33874         * soft-fp/trunctfxf2.c: Likewise.
33875         * soft-fp/unorddf2.c: Likewise.
33876         * soft-fp/unordsf2.c: Likewise.
33877         * soft-fp/unordtf2.c: Likewise.
33879 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
33881         [BZ #15672]
33882         * misc/error.c (error_tail): Fix possible buffer overflow.
33884 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
33886         [BZ #13028]
33887         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
33888         address.
33890 2013-10-14  P. J. McDermott  <pj@pehjota.net>
33892         [BZ #832]
33893         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
33894         testing pipefail option.
33896 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
33898         * soft-fp/double.h: Indent preprocessor directives inside #if.
33899         * soft-fp/extended.h: Likewise.
33900         * soft-fp/op-2.h: Likewise.
33901         * soft-fp/op-4.h: Likewise.
33902         * soft-fp/op-common.h: Likewise.
33903         * soft-fp/quad.h: Likewise.
33904         * soft-fp/single.h: Likewise.
33905         * soft-fp/soft-fp.h: Likewise.
33907 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
33909         * iconv/iconv_prog.c: Fix typos.
33910         * stdio-common/psiginfo-data.h: Likewise.
33912 2013-10-12   Reuben Thomas <rrt@sc3d.org>
33914         [BZ #15764]
33915         * locale/setlocale.c: Fix typo.
33917 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
33919         [BZ #16036]
33920         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
33921         signaling NaN arguments.
33922         * soft-fp/unordsf2.c (__unordsf2): Likewise.
33923         * soft-fp/unordtf2.c (__unordtf2): Likewise.
33925         [BZ #14910]
33926         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
33927         unordered operands.
33928         * soft-fp/gesf2.c (__gesf2): Likewise.
33929         * soft-fp/getf2.c (__getf2): Likewise.
33930         * soft-fp/ledf2.c (__ledf2): Likewise.
33931         * soft-fp/lesf2.c (__lesf2): Likewise.
33932         * soft-fp/letf2.c (__letf2): Likewise.
33934         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
33935         * soft-fp/eqsf2.c (__eqsf2): Likewise.
33936         * soft-fp/eqtf2.c (__eqtf2): Likewise.
33937         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
33938         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
33939         * soft-fp/fixdfti.c (__fixdfti): Likewise.
33940         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
33941         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
33942         * soft-fp/fixsfti.c (__fixsfti): Likewise.
33943         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
33944         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
33945         * soft-fp/fixtfti.c (__fixtfti): Likewise.
33946         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
33947         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
33948         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
33949         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
33950         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
33951         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
33952         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
33953         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
33954         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
33955         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
33956         * soft-fp/floatdisf.c (__floatdisf): Likewise.
33957         * soft-fp/floatsisf.c (__floatsisf): Likewise.
33958         * soft-fp/floattidf.c (__floattidf): Likewise.
33959         * soft-fp/floattisf.c (__floattisf): Likewise.
33960         * soft-fp/floattitf.c (__floattitf): Likewise.
33961         * soft-fp/floatundidf.c (__floatundidf): Likewise.
33962         * soft-fp/floatundisf.c (__floatundisf): Likewise.
33963         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
33964         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
33965         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
33966         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
33967         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
33968         * soft-fp/gesf2.c (__gesf2): Likewise.
33969         * soft-fp/getf2.c (__getf2): Likewise.
33970         * soft-fp/ledf2.c (__ledf2): Likewise.
33971         * soft-fp/lesf2.c (__lesf2): Likewise.
33972         * soft-fp/letf2.c (__letf2): Likewise.
33974         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
33975         Undefine and redefine.
33976         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
33977         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
33978         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
33979         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
33980         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
33981         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
33982         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
33983         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
33984         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
33985         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
33986         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
33987         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
33988         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
33989         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
33990         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
33992         [BZ #16032]
33993         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
33994         without decrementing exponent if mantissa >= that for the
33995         denominator, not >.
33996         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
33997         denominator, not >.  Decrement exponent in < case instead of
33998         incrementing in >= case.
33999         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
34000         without decrementing exponent if mantissa >= that for the
34001         denominator, not >.
34003         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
34004         computing saturated result for unsigned overflow.
34006 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34007             Jeff Law  <law@redhat.com>
34009         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
34010         (atan2Mp): Add systemtap probe marker.
34011         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
34012         (__ieee754_log): Add systemtap probe marker.
34013         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
34014         (atanMp): Add systemtap probe marker.
34015         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
34016         (tanMp): Add systemtap probe marker.
34017         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
34018         (__slowexp): Add systemtap probe marker.
34019         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
34020         (__slowpow): Add systemtap probe marker.
34021         * manual/probes.texi: Document probes.
34023 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
34025         [BZ #15362]
34026         * libio/fileops.c (_IO_new_file_write): Return count of bytes
34027         written.
34028         (_IO_new_file_xsputn): Don't return EOF if nothing has been
34029         written.
34030         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
34031         written to buffer but not flushed.
34032         * libio/iofwrite_u.c:  Likewise.
34033         * libio/iopadn.c:  Return bytes returned even if EOF was
34034         encountered.
34035         * libio/iowpadn.c:  Likewise.
34036         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
34037         if _IO_padn does not write the whole buffer.
34038         [!COMPILE_WPRINTF] (PAD): Likewise.
34040 2013-10-10  David S. Miller  <davem@davemloft.net>
34042         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
34043         directory block.
34045 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
34047         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
34048         instead of FSF address.
34049         * soft-fp/fixdfti.c: Likewise.
34050         * soft-fp/fixsfti.c: Likewise.
34051         * soft-fp/fixtfti.c: Likewise.
34052         * soft-fp/fixunsdfti.c: Likewise.
34053         * soft-fp/fixunssfti.c: Likewise.
34054         * soft-fp/fixunstfti.c: Likewise.
34055         * soft-fp/floattidf.c: Likewise.
34056         * soft-fp/floattisf.c: Likewise.
34057         * soft-fp/floattitf.c: Likewise.
34058         * soft-fp/floatuntidf.c: Likewise.
34059         * soft-fp/floatuntisf.c: Likewise.
34060         * soft-fp/floatuntitf.c: Likewise.
34061         * soft-fp/trunctfxf2.c: Likewise.
34063         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
34064         * soft-fp/fixdfti.c: Likewise.
34065         * soft-fp/fixsfti.c: Likewise.
34066         * soft-fp/fixtfti.c: Likewise.
34067         * soft-fp/fixunsdfti.c: Likewise.
34068         * soft-fp/fixunssfti.c: Likewise.
34069         * soft-fp/fixunstfti.c: Likewise.
34070         * soft-fp/floattidf.c: Likewise.
34071         * soft-fp/floattisf.c: Likewise.
34072         * soft-fp/floattitf.c: Likewise.
34073         * soft-fp/floatuntidf.c: Likewise.
34074         * soft-fp/floatuntisf.c: Likewise.
34075         * soft-fp/floatuntitf.c: Likewise.
34076         * soft-fp/trunctfxf2.c: Likewise.
34078 2013-10-10  David S. Miller  <davem@davemloft.net>
34080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34082 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
34084         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34085         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
34086         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
34087         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
34088         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
34089         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
34090         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
34092         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
34093         for NaNs before doing comparisons on argument.
34094         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
34095         Likewise.
34097 2013-10-10  Will Newton  <will.newton@linaro.org>
34099         * malloc/hooks.c (memalign_check): Ensure the value of bytes
34100         passed to _int_memalign does not overflow.
34102 2013-10-10  Torvald Riegel  <triegel@redhat.com>
34104         * scripts/bench.pl: Add include-sources directive.
34105         * benchtests/README: Update documentation.
34107 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
34109         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
34110         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
34111         instead of FP_INIT_ROUNDMODE.
34112         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
34113         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
34115         [BZ #16034]
34116         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
34117         copy class of input value.
34118         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
34119         not handle exceptions.
34120         * soft-fp/negsf2.c (__negsf2): Likewise.
34121         * soft-fp/negtf2.c (__negtf2): Likewise.
34122         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
34124 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
34126         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
34127         semicolon.  From Linux kernel.
34129 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
34131         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
34133 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
34135         [BZ #156]
34136         * manual/socket.texi: Added statement about buffer
34137         for gethostbyname2_r.
34139 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
34141         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
34142         Use .p2align directive instead, throughout.
34143         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34144         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
34145         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
34146         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34147         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34148         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
34149         * sysdeps/x86_64/strchr.S: Likewise.
34150         * sysdeps/x86_64/strrchr.S: Likewise.
34152 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34154         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
34156         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
34158         * sysdeps/generic/math_private.h (__mpsin1): Remove
34159         declaration.
34160         (__mpcos1): Likewise.
34161         (__mpsin): New argument __range_reduce.
34162         (__mpcos): Likewise.
34163         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34164         (slow): Use __mpsin and __mpcos.
34165         (slow1): Likewise.
34166         (slow2): Likewise.
34167         (sloww): Likewise.
34168         (sloww1): Likewise.
34169         (sloww2): Likewise.
34170         (bsloww): Likewise.
34171         (bsloww1): Likewise.
34172         (bsloww2): Likewise.
34173         (cslow2): Likewise.
34174         (csloww): Likewise.
34175         (csloww1): Likewise.
34176         (csloww2): Likewise.
34177         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
34178         range_reduce.  Merge in __mpsin1.
34179         (__mpcos): Likewise.
34180         (__mpsin1): Remove.
34181         (__mpcos1): Likewise.
34183 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
34185         * locale/loadlocale.c (_nl_intern_locale_data): Use
34186         LOCFILE_ALIGNED_P.
34187         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
34188         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
34189         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
34190         obstack data is appropriately aligned.
34191         (obstack_int32_grow_fast): Likewise.
34192         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
34193         * locale/programs/locfile.c (add_locale_uint32): Likewise.
34194         (add_locale_uint32_array): Likewise.
34196 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34198         * benchtests/Makefile: Remove ARGLIST and RET variables.
34199         ($(objpfx)bench-%.c): Pass only function name to the script.
34200         * benchtests/README: Update documentation.
34201         * benchtests/acos-inputs: Add new directives.
34202         * benchtests/acosh-inputs: Likewise.
34203         * benchtests/asin-inputs: Likewise.
34204         * benchtests/asinh-inputs: Likewise.
34205         * benchtests/atan-inputs: Likewise.
34206         * benchtests/atanh-inputs: Likewise.
34207         * benchtests/cos-inputs: Likewise.
34208         * benchtests/cosh-inputs: Likewise.
34209         * benchtests/exp-inputs: Likewise.
34210         * benchtests/log-inputs: Likewise.
34211         * benchtests/pow-inputs: Likewise.
34212         * benchtests/rint-inputs: Likewise.
34213         * benchtests/sin-inputs: Likewise.
34214         * benchtests/sinh-inputs: Likewise.
34215         * benchtests/tan-inputs: Likewise.
34216         * benchtests/tanh-inputs: Likewise.
34217         * scripts/bench.pl: Add support for new directives.
34219 2013-10-07  Alan Modra  <amodra@gmail.com>
34221         * README: Fix careless merge.
34223 2013-10-05  Alan Modra  <amodra@gmail.com>
34225         * NEWS: Mention powerpc64le support and bugs fixed.
34226         * README: Both big-endian and little-endian powerpc64 supported.
34228 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34230         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
34231         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
34232         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
34233         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
34235 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
34237         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
34238         match prototype.
34240 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
34242         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
34243         Move -mhard-float appending from
34244         ports/sysdeps/powerpc/powerpc32/Makefile.
34245         [$(with-fp) = yes] (ASFLAGS): Likewise.
34246         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
34247         * sysdeps/powerpc/nofpu: Move directory from
34248         ports/sysdeps/powerpc/nofpu.
34249         * sysdeps/powerpc/soft-fp: Move directory from
34250         ports/sysdeps/powerpc/soft-fp.
34251         * sysdeps/powerpc/powerpc32/405: Move directory from
34252         ports/sysdeps/powerpc/powerpc32/405.
34253         * sysdeps/powerpc/powerpc32/440: Move directory from
34254         ports/sysdeps/powerpc/powerpc32/440.
34255         * sysdeps/powerpc/powerpc32/464: Move directory from
34256         ports/sysdeps/powerpc/powerpc32/464.
34257         * sysdeps/powerpc/powerpc32/476: Move directory from
34258         ports/sysdeps/powerpc/powerpc32/476.
34259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
34260         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
34261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
34262         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
34263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
34264         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
34265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
34266         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
34267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
34268         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
34269         * README: Update for powerpc-*-linux-gnu software floating point
34270         support in libc.
34272         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
34273         case to powerpc/powerpc32*.
34274         * sysdeps/unix/sysv/linux/configure: Regenerated.
34276         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
34277         (_FPU_MASK_OM): Define as 0x04.
34278         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
34279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
34280         0x00c10080.
34281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
34282         0x0000003c.
34283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
34285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
34286         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
34287         getcontext_e500.
34288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
34289         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
34290         setcontext_e500.
34291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
34292         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
34293         and setcontext_e500.
34295 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
34297         * locale/iso-3166.def: Update iso-1366.def and related occurrences
34299 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34301         * manual/threads.texi (Default Thread Attributes): Fix typo.
34303 2013-10-04  Will Newton  <will.newton@linaro.org>
34305         * malloc/Makefile: Add tst-memalign.
34306         * malloc/tst-memalign.c: New file.
34308         * malloc/tst-posix_memalign.c: Add comments.
34309         (do_test): Add comments and call free on all potentially
34310         allocated pointers. Add space after cast.
34312         * malloc/tst-pvalloc.c: Add comments.
34313         (do_test): Add comments and call free on all potentially
34314         allocated pointers. Remove duplicate check for NULL pointer.
34315         Add space after cast.
34317         * malloc/tst-valloc.c: Add comments.
34318         (do_test): Add comments and call free on all potentially
34319         allocated pointers. Remove duplicate check for NULL pointer.
34320         Add space after cast.
34322 2013-10-04  Alan Modra  <amodra@gmail.com>
34324         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34325         Use stdint types in rather than __attribute__((mode())).
34326         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34328 2013-10-04  Alan Modra  <amodra@gmail.com>
34330         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34331         Correct handling of unaligned relocs for little-endian.
34332         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34334 2013-10-04  Alan Modra  <amodra@gmail.com>
34336         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
34337         * configure: Regenerate.
34338         * nptl/shlib-versions: Powerpc*le starts at 2.18.
34339         * shlib-versions: Likewise.
34341 2013-10-04  Alan Modra  <amodra@gmail.com>
34343         * string/tester.c (test_memrchr): Increment reported test cycle.
34345 2013-10-04  Alan Modra  <amodra@gmail.com>
34347         * string/test-memcpy.c (do_one_test): When reporting errors, print
34348         string address and don't overrun end of string.
34350 2013-10-04  Alan Modra  <amodra@gmail.com>
34352         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
34353         insrdi.  Make better use of reg selection to speed exit slightly.
34354         Schedule entry path a little better.  Remove useless "are we done"
34355         checks on entry to main loop.  Handle wrapping around zero address.
34356         Correct main loop count.  Handle single left-over word from main
34357         loop inline rather than by using loop_small.  Remove extra word
34358         case in loop_small caused by wrong loop count.  Add little-endian
34359         support.
34360         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34361         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
34362         cache hint.
34363         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34364         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
34365         support.  Avoid rlwimi.
34366         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
34368 2013-10-04  Alan Modra  <amodra@gmail.com>
34370         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
34371         insrdi.  Formatting.
34372         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
34373         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34374         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
34375         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34376         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34377         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
34379 2013-10-04  Alan Modra  <amodra@gmail.com>
34381         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
34382         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34383         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34384         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
34385         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34386         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34387         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34388         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34389         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
34390         use of regs.  Use power7 mtocrf.  Tidy function tails.
34392 2013-10-04  Alan Modra  <amodra@gmail.com>
34394         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
34395         Formatting.  Consistently use rXXX register defines or rN defines.
34396         Use early exit labels that avoid restoring unused non-volatile regs.
34397         Make cr field use more consistent with rWORDn compares.  Rename
34398         regs used as shift registers for unaligned loop, using rN defines
34399         for short lifetime/multiple use regs.
34400         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34401         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
34402         addi 1,1,64 to pop stack frame.  Simplify return value code.
34403         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34405 2013-10-04  Alan Modra  <amodra@gmail.com>
34407         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
34408         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
34409         rather than rlwimi.
34410         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
34411         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
34412         little-endian support.  Correct typos.
34413         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
34414         rather than rlwimi.
34415         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
34416         in loop and entry code to keep "and." results.
34417         (strchr): Add little-endian support.  Comment.  Move cntlzd
34418         earlier in tail.
34419         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
34421 2013-10-04  Alan Modra  <amodra@gmail.com>
34423         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
34424         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
34425         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
34426         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
34428 2013-10-04  Alan Modra  <amodra@gmail.com>
34430         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
34431         (rTMP): Define as r11.
34432         (strcmp): Add little-endian support.  Optimise tail.
34433         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
34434         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34435         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34436         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34437         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34438         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34439         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34441 2013-10-04  Alan Modra  <amodra@gmail.com>
34443         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
34444         little-endian support.  Remove unnecessary "are we done" tests.
34445         Handle "s" wrapping around zero and extremely large "size".
34446         Correct main loop count.  Handle single left-over word from main
34447         loop inline rather than by using small_loop.  Correct comments.
34448         Delete "zero" tail, use "end_max" instead.
34449         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
34451 2013-10-04  Alan Modra  <amodra@gmail.com>
34453         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
34454         support.  Don't branch over align.
34455         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
34456         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
34457         support.  Rearrange tmp reg use to suit.  Comment.
34458         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
34460 2013-10-04  Alan Modra  <amodra@gmail.com>
34462         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
34464 2013-10-04  Alan Modra  <amodra@gmail.com>
34466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
34467         conditional form of branch and link when obtaining pc.
34468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
34470 2013-10-04  Alan Modra  <amodra@gmail.com>
34472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
34473         HIWORD/LOWORD.
34474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
34475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
34477 2013-10-04  Alan Modra  <amodra@gmail.com>
34479         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
34480         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
34481         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
34482         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
34483         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34484         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34485         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
34486         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34487         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
34488         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
34490 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
34491             Alistair Popple <alistair@ozlabs.au.ibm.com>
34492             Alan Modra <amodra@gmail.com>
34494         [BZ #15723]
34495         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
34496         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
34497         _dl_hwcap access for little-endian.
34498         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
34499         destroy vmx regs when saving unaligned.
34500         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
34501         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
34502         destroy vmx regs when saving unaligned.
34504 2013-10-04  Alan Modra  <amodra@gmail.com>
34506         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
34507         Don't use a union to pack hi/low value.
34509 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
34511         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
34512         for little-endian.
34513         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34514         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
34515         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34516         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34517         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34519 2013-10-04  Alan Modra  <amodra@gmail.com>
34521         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
34522         constants to usual value for .cst8 section, and remove redundant
34523         high address load.
34524         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
34525         constant for 0x1p52.  Load little-endian words of double from
34526         correct stack offsets.
34528 2013-10-04  Alan Modra  <amodra@gmail.com>
34530         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
34531         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
34532         words of double from correct stack offsets.
34533         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
34534         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
34535         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34536         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34537         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34538         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34539         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34540         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
34541         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
34542         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34543         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34544         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34545         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
34546         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
34547         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
34548         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
34549         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
34551 2013-10-04  Alan Modra  <amodra@gmail.com>
34553         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
34554         64-bit int/double union.
34555         (_FPU_SETCW): Likewise.
34556         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
34557         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
34559 2013-10-04  Alan Modra  <amodra@gmail.com>
34561         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
34562         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
34564 2013-10-04  Alan Modra  <amodra@gmail.com>
34566         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
34567         use vector int constants.
34568         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
34570 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
34572         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
34573         array with long long.
34574         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
34575         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
34576         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
34577         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
34578         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
34579         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
34580         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
34581         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
34582         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
34583         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
34584         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
34585         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
34586         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
34588 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
34590         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
34591         (__signbit): Likewise.  Correct for little-endian.
34592         (__signbitl): Call __signbit.
34593         (lrint): Correct for little-endian.
34594         (lrintf): Call lrint.
34596 2013-10-04  Alan Modra  <amodra@gmail.com>
34598         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
34599         union 32-bit int array member with 64-bit int array.
34600         (t515, tm256): Double rather than long double.
34601         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
34603 2013-10-04  Alan Modra  <amodra@gmail.com>
34605         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
34606         Delete.
34607         (IEEE854_LONG_DOUBLE_BIAS): Delete.
34608         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
34609         version of math_ldbl.h.
34611 2013-10-04  Alan Modra  <amodra@gmail.com>
34613         [BZ #15734], [BZ #15735]
34614         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
34615         all uses of ieee875 long double macros and unions.  Simplify test
34616         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
34617         ldbl_extract_mantissa value for ix,iy exponents.  Properly
34618         normalize after ldbl_extract_mantissa, and don't add hidden bit
34619         already handled.  Don't treat low word of ieee854 mantissa like
34620         low word of IBM long double and mask off bit when testing for
34621         zero.
34622         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
34623         all uses of ieee875 long double macros and unions.  Simplify tests
34624         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
34625         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
34626         two1022, instead use their values.  Recognise that tests for large
34627         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
34628         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
34629         Rewrite all uses of ieee875 long double macros and unions.  Simplify
34630         test for 0.0L and nan.  Correct negation.
34631         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
34632         ieee875 long double macros and unions.  Correct output for large
34633         magnitude x.  Correct absolute value calculation.
34634         (__erfcl): Likewise.
34635         * math/libm-test.inc: Add tests for errors discovered in IBM long
34636         double versions of fmodl, remainderl, erfl and erfcl.
34638 2013-10-04  Alan Modra  <amodra@gmail.com>
34640         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
34641         all uses of ieee854 long double macros and unions.  Simplify tests
34642         for long doubles that are fully specified by the high double.
34643         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34644         Likewise.
34645         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
34646         Remove dead code too.
34647         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34648         (__ieee754_ynl): Likewise.
34649         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
34650         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
34651         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34652         Remove dead code too.
34653         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
34654         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
34655         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
34656         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
34657         Simplify.
34658         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
34659         Simplify.
34660         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
34661         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34662         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
34663         Comment on variable precision.
34664         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
34665         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34666         Likewise.
34667         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34668         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34669         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34670         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
34671         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
34673 2013-10-04  Alan Modra  <amodra@gmail.com>
34675         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
34676         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
34677         all uses of ieee854 long double macros and unions.
34678         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
34679         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34680         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
34681         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
34682         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
34683         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34684         Likewise.
34685         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
34686         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34687         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
34688         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34689         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
34690         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
34691         Simplify sign and nan test too.
34692         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
34693         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34694         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
34695         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34696         Likewise.
34697         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34698         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
34699         Likewise.
34700         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34701         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
34702         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
34703         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
34704         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
34705         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
34707 2013-10-04  Alan Modra  <amodra@gmail.com>
34709         * stdio-common/printf_size.c (__printf_size): Don't use
34710         union ieee854_long_double in fpnum union.
34711         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
34712         signbit macro to retrieve sign from long double.
34713         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
34714         retrieve sign from long double.
34715         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
34716         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
34717         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
34718         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34719         * math/test-misc.c (main): Don't use union ieee854_long_double.
34721 2013-10-04  Alan Modra  <amodra@gmail.com>
34723         [BZ #15680]
34724         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
34725         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
34726         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
34727         calculation.  Remove unnecessary test for denormal exponent.
34728         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
34729         Correct handling of denormals.  Avoid undefined shift behaviour.
34730         Correct normalisation of low mantissa when low double is denormal.
34731         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
34732         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
34733         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
34734         Correct normalisation of low mantissa.  Test for overflow of high
34735         mantissa and normalise.
34736         (ldbl_nearbyint): Use more readable constant for two52.
34737         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
34738         (__mpn_construct_long_double): Fix test for overflow of high
34739         mantissa and correct normalisation.  Avoid undefined shift.
34741 2013-10-04  Alan Modra  <amodra@gmail.com>
34743         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
34744         (union ibm_extended_long_double): Define as an array of ieee754_double.
34745         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
34746         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
34747         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
34748         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34749         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34750         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
34751         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34752         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34753         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34754         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
34755         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34757 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
34759         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
34760         page size instead of calling getpagesize.
34762         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
34763         (LOCFILE_ALIGN_MASK): Likewise.
34764         (LOCFILE_ALIGN_UP): Likewise.
34765         (LOCFILE_ALIGNED_P): Likewise.
34766         * locale/programs/ld-collate.c (collate_output): Use the new
34767         macros instead of __alignof__ (int32_t).
34768         * locale/weight.h (findidx): Likewise.
34770 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
34772         [BZ #431]
34773         * manual/string.texi: Fix strncat and wcsncat.
34775 2013-10-03  Brooks Moses  <bmoses@google.com>
34777         [BZ #15915]
34778         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
34779         * Makerules: ...here, and adjust associated comments.
34781 2013-10-02  Will Newton  <will.newton@linaro.org>
34783         * malloc/Makefile: Add tst-pvalloc.
34784         * malloc/tst-pvalloc.c: New file.
34786 2013-10-02  Will Newton  <will.newton@linaro.org>
34788         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
34789         improve test coverage.
34791 2013-10-02  Will Newton  <will.newton@linaro.org>
34793         * malloc/Makefile: Add tst-posix_memalign.
34794         * malloc/tst-posix_memalign.c: New file.
34796 2013-10-01  Eric Blake  <eblake@redhat.com>
34798         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
34799         Use __THROWNL rather than __THROW on static functions.
34801 2013-09-30  Petr Machata  <pmachata@redhat.com>
34803         * elf/elf.h (R_AARCH64_ABS16): New macro.
34804         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
34805         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
34806         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
34807         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
34808         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
34809         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
34810         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
34811         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
34812         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
34813         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
34814         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
34815         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
34816         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
34817         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
34818         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
34819         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
34820         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
34821         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
34822         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
34823         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
34824         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
34825         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
34826         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
34827         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
34828         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
34829         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
34830         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
34831         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
34832         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
34833         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
34834         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
34835         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
34836         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
34837         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
34838         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
34839         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
34840         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
34841         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
34842         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
34843         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
34844         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
34845         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
34846         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
34847         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
34848         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
34849         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
34850         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
34851         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
34852         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
34853         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
34854         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
34855         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
34856         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
34857         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
34858         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
34859         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
34860         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
34861         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
34862         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
34863         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
34864         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
34865         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
34866         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
34867         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
34868         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
34869         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
34870         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
34871         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
34872         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
34873         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
34874         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
34875         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
34876         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
34877         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
34878         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
34879         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
34880         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
34881         (R_AARCH64_TLSDESC_LDR): Likewise.
34882         (R_AARCH64_TLSDESC_ADD): Likewise.
34883         (R_AARCH64_TLSDESC_CALL): Likewise.
34885 2013-09-30  Andreas Schwab  <schwab@suse.de>
34887         [BZ #15048]
34888         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
34889         the nss database lookup.
34890         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34891         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34893 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
34895         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
34897 2013-09-28  P. J. McDermott  <pj@pehjota.net>
34899         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
34900         ${Bash-specific parameter/pattern/string} parameter expansion.
34901         * sysdeps/unix/make-syscalls.sh: Likewise.
34903 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34905         * sysdeps/sh/stackguard-macros.h: New file.
34907 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
34909         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
34910         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
34911         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
34912         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
34913         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34914         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
34916 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34918         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
34919         Fix thread ID register.
34921 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
34923         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
34924         [POSIX || UNIX98]: Require rather than permitting all symbols from
34925         <time.h>.
34926         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
34927         element of struct sched_param.
34928         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
34929         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
34930         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
34931         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
34932         constant.
34934 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
34936         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
34937         argument calculation.
34939 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
34941         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
34942         Expect macro.
34943         [POSIX] (pthread_attr_t): Do not require type.
34944         [POSIX] (pthread_cond_t): Likewise.
34945         [POSIX] (pthread_condattr_t): Likewise.
34946         [POSIX] (pthread_key_t): Likewise.
34947         [POSIX] (pthread_mutex_t): Likewise.
34948         [POSIX] (pthread_mutexattr_t): Likewise.
34949         [POSIX] (pthread_once_t): Likewise.
34950         [POSIX] (pthread_t): Likewise.
34951         [POSIX-based standards] (pthread_atfork): Expect function.
34953 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
34954             Richard Sandiford  <richard@codesourcery.com>
34956         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
34957         (swap_endianness_p): New extern variable.
34958         (set_big_endian): New inline function.
34959         (maybe_swap_uint32): Likewise.
34960         (maybe_swap_uint32_array): Likewise.
34961         (maybe_swap_uint32_obstack): Likewise.
34962         * locale/programs/locfile.c: Include <stdbool.h>.
34963         (swap_endianness_p): New variable.
34964         (add_locale_uint32): Call maybe_swap_uint32.
34965         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
34966         (write_locale_data): Call maybe_swap_uint32_array.
34967         * locale/programs/ld-collate.c (obstack_int32_grow): Call
34968         maybe_swap_uint32.
34969         (obstack_int32_grow_fast): Likewise.
34970         (output_weightwc): Call maybe_swap_uint32_obstack.
34971         (collate_output): Likewise.
34972         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
34973         (OPT_LITTLE_ENDIAN): Likewise.
34974         (options): Add --little-endian and --big-endian options.
34975         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
34976         * locale/programs/locarchive.c: Include "locfile.h".
34977         (GET): New macro.
34978         (SET): Likewise.
34979         (INC): Likewise.
34980         (create_archive): Use the new macros to access fields of
34981         structures directly mapped from or written to locale archives.
34982         (oldlocrecentcmp): Likewise.
34983         (enlarge_archive): Likewise.
34984         (insert_name): Likewise.
34985         (add_alias): Likewise.
34986         (add_locale): Likewise.
34987         (delete_locales_from_archive): Likewise.
34988         (show_archive_content): Likewise.
34989         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
34990         locale data.
34992 2013-09-24  Roland McGrath  <roland@hack.frob.com>
34994         * manual/freemanuals.texi: Updated from (newly) canonical copy at
34995         http://www.gnu.org/doc/freemanuals.texi.
34996         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
34998 2013-09-24  Will Newton  <will.newton@linaro.org>
35000         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
35001         macro.
35003 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
35005         * locale/hashval.h (compute_hashval): Interpret bytes of key as
35006         unsigned char.
35008 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
35010         * manual/threads.texi (POSIX Threads): Fix a typo.
35012 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35014         [BZ #14547]
35015         * string/tst-strcoll-overflow.c: New test case.
35016         * string/Makefile (xtests): Add tst-strcoll-overflow.
35017         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
35018         cache if string sizes may cause integer overflow.
35020         [BZ #14547]
35021         * string/strcoll_l.c (coll_seq): New members rule, idx,
35022         save_idx and back_us.
35023         (get_next_seq_nocache): New function.
35024         (do_compare_nocache): New function.
35025         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
35026         when malloc fails.
35028 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
35030         [BZ #15754]
35031         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
35032         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
35033         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
35035         [BZ #15754]
35036         * elf/Makefile (tests): Add tst-ptrguard1.
35037         (tests-static): Add tst-ptrguard1-static.
35038         (tst-ptrguard1-ARGS): Define.
35039         (tst-ptrguard1-static-ARGS): Define.
35040         * elf/tst-ptrguard1.c: New file.
35041         * elf/tst-ptrguard1-static.c: New file.
35042         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
35043         * sysdeps/i386/stackguard-macros.h: Likewise.
35044         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35045         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35046         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35047         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35048         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35049         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35051 2013-09-23  Hector Marco  <hecmargi@upv.es>
35052             Ismael Ripoll  <iripoll@disca.upv.es>
35053             Carlos O'Donell  <carlos@redhat.com>
35055         [BZ #15754]
35056         * sysdeps/generic/stackguard-macros.h: Define
35057         __pointer_chk_guard_local and POINTER_CHK_GUARD.
35058         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
35059         Define __pointer_chk_guard_local.
35060         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
35061         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
35063 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
35065         [BZ #15859]
35066         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
35068 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
35070         * include/string.h (__ffs): Declare as hidden.
35071         * string/ffs.c (__ffs): Define as hidden.
35072         * sysdeps/i386/ffs.c (__ffs): Likewise.
35073         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
35074         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
35075         * sysdeps/s390/ffs.c (__ffs): Likewise.
35076         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
35078 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
35080         * NEWS: Mention malloc probes.
35082         * malloc/arena.c (new_heap): New memory_heap_new probe.
35083         (grow_heap): New memory_heap_more probe.
35084         (shrink_heap): New memory_heap_less probe.
35085         (heap_trim): New memory_heap_free probe.
35086         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
35087         (systrim): New memory_sbrk_less probe.
35088         * manual/probes.texi: Document them.
35090         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
35091         * manual/probes.texi: Document it.
35093         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
35094         (__libc_realloc): Add memory_realloc_retry probe.
35095         (__libc_memalign): Add memory_memalign_retry probe.
35096         (__libc_valloc): Add memory_valloc_retry probe.
35097         (__libc_pvalloc): Add memory_pvalloc_retry probe.
35098         (__libc_calloc): Add memory_calloc_retry probe.
35099         * manual/probes.texi: Document them.
35101         * malloc/arena.c (get_free_list): Add probe
35102         memory_arena_reuse_free_list.
35103         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
35104         and memory_arena_reuse.
35105         (arena_get2) [!PER_THREAD]: Likewise.
35106         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
35107         memory_arena_reuse_realloc.
35108         * manual/probes.texi: Document them.
35110         * malloc/malloc.c (__libc_free): Add
35111         memory_mallopt_free_dyn_thresholds probe.
35112         (__libc_mallopt): Add multiple memory_mallopt probes.
35113         * manual/probes.texi: Document them.
35115         * malloc/malloc.c: Include stap-probe.h.
35116         (__libc_mallopt): Add memory_mallopt probe.
35117         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
35118         * manual/probes.texi: New.
35119         * manual/Makefile (chapters): Add probes.
35120         * manual/threads.texi: Set next node.
35122 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
35124         [BZ #15963, #13985]
35125         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
35126         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
35127         Add `Chinese' to `nan' entry name.
35129 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35131         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
35132         (POLYNOMIAL): Likewise.
35133         (TAYLOR_SINCOS): Likewise.
35134         (TAYLOR_SLOW): Likewise.
35135         (__sin): Use TAYLOR_SINCOS.
35136         (__cos): Likewise.
35137         (slow): Use TAYLOR_SLOW.
35138         (sloww): Likewise.
35139         (bsloww): Likewise.
35140         (csloww): Likewise.
35142 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35144         * stdlib/strtod_l.c: Fix buffer overrun.
35146 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35148         * benchtests/Makefile (bench): Add sincos.
35149         * benchtests/bench-sincos.c: New file.
35151         * math/libm-test.inc (cos_test_data): New test inputs.
35152         (sin_test_data): Likewise.
35154         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
35155         macro.
35156         (__sin): Use it.
35157         (__cos): Likewise.
35158         (slow1): Likewise.
35159         (slow2): Likewise.
35160         (sloww1): Likewise.
35161         (sloww2): Likewise.
35162         (bsloww1): Likewise.
35163         (bsloww2): Likewise.
35164         (cslow2): Likewise.
35165         (csloww1): Likewise.
35166         (csloww2): Likewise.
35168         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
35169         function.
35170         (__sin): Use it.
35171         (__cos): Likewise.
35173         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
35174         gotos.
35175         (__cos): Likewise.
35177 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
35179         * config.h.in (HAVE_MIPS_NAN2008): New macro.
35180         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
35181         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
35182         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
35183         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
35184         * elf/cache.c (print_entry): Handle the new cache flags.
35186 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
35187             Aldy Hernandez  <aldyh@redhat.com>
35189         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
35190         Change condition to [_SOFT_FLOAT].
35191         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
35192         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
35193         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
35194         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
35195         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
35196         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
35197         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
35198         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
35199         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
35200         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
35201         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
35202         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
35203         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
35204         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
35205         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
35206         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
35207         declaration.
35209 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
35211         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
35212         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
35213         (__longjmp): Use LOAD_GP to load saved GPRs.
35214         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
35215         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
35216         (__sigsetjmp): Use SAVE_GP to save GPRs.
35218         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
35219         Do not append -msoft-float.
35220         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
35222 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35224         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
35226 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
35228         [BZ #15966]
35229         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
35230         (_FPU_GETCW): Use initial "__" on variable and field names but not
35231         on macro parameter name.
35232         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
35233         parentheses around reference to macro parameter.
35235 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
35237         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
35238         prototype.
35239         (ctype_startup): Use uint32_t in cast and sizeof for
35240         ctype->charnames.
35242 2013-09-11  Jia Liu  <proljc@gmail.com>
35244         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
35245         __daddr_t_defined.
35246         [__FreeBSD__]: Likewise.
35248 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
35250         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35251         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
35252         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
35253         (strchr): Remove __strchr_sse42 ifunc selection.
35254         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
35255         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
35257 2013-09-11  Will Newton  <will.newton@linaro.org>
35259         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
35260         parameter to RES. Remove hardcoded 1000 value.
35261         * benchtests/bench-skeleton.c (main): Pass RES parameter
35262         to TIMING_INIT and multiply result by 1000.
35264 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35268 2013-09-11  Andreas Schwab  <schwab@suse.de>
35270         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
35271         if not defined.
35272         (O_TMPFILE) [__USE_GNU]: Define.
35273         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
35274         Define.
35276 2013-09-11  Will Newton  <will.newton@linaro.org>
35278         [BZ #15857]
35279         * malloc/malloc.c (__libc_memalign): Check the value of bytes
35280         does not overflow.
35282 2013-09-11  Will Newton  <will.newton@linaro.org>
35284         [BZ #15856]
35285         * malloc/malloc.c (__libc_valloc): Check the value of bytes
35286         does not overflow.
35288 2013-09-11  Will Newton  <will.newton@linaro.org>
35290         [BZ #15855]
35291         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
35292         does not overflow.
35294 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
35296         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
35297         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35298         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35299         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35300         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35302 2013-09-10  Allan McRae  <allan@archlinux.org>
35304         [BZ #15748]
35305         * manual/arith.texi (Parsing of Floats): Clarify
35306         cross-reference.
35308         [BZ #15849]
35309         * manual/install.texi (Running make install): Mention
35310         --enable-pt-chown.
35311         * INSTALL: Regenerated.
35313 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
35315         * csu/init-first.c (_init): Remove the !SHARED condition around
35316         FPU control word initialization.
35317         * elf/dl-support.c (_dl_fpu_control): New variable.
35318         (_dl_aux_init) <AT_FPUCW>: Initialize it.
35319         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
35320         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
35321         * math/test-fpucw-static.c: New file.
35322         * math/test-fpucw-ieee.c: New file.
35323         * math/test-fpucw-ieee-static.c: New file.
35324         * math/Makefile (tests): Add `test-fpucw-ieee' and
35325         `$(tests-static)'.
35326         (tests-static): New variable.
35327         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
35328         dependency to...
35329         [($(build-shared),yes)]
35330         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35331         ... this.
35332         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
35333         New dependency.
35335 2013-09-09  Allan McRae  <allan@archlinux.org>
35337         [BZ #15939]
35338         * manual/string.texi (Collation Functions): Fix typo in
35339         strcoll example.
35340         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
35342         [BZ #15893]
35343         * stdlib/isomac.c (get_null_defines): Fix memory leak.
35345         [BZ #15892]
35346         * libio/memstream.c (open_memstream): Fix memory leak.
35347         * libio/wmemstream.c (open_wmemstream): Likewise.
35349         [BZ #15895]
35350         * nscd/netgroupcache.c: Fix nesting of ifdefs.
35352 2013-09-09  Will Newton  <will.newton@linaro.org>
35354         * malloc/Makefile: Add tst-realloc to tests.
35355         * malloc/tst-realloc.c: New file.
35357 2013-09-09  Allan McRae  <allan@archlinux.org>
35359         [BZ #15844]
35360         * COPYING: Update from GNU website to fix FSF address.
35361         * COPYING.LIB: Likewise.
35363 2013-09-06  David S. Miller  <davem@davemloft.net>
35365         * po/zh_TW.po: Update Chinese (traditional) translation from
35366         translation project.
35368 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
35369             Joseph Myers  <joseph@codesourcery.com>
35371         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
35372         "localeinfo.h".
35373         (obstack_chunk_alloc): New macro.
35374         (obstack_chunk_free): Likewise.
35375         (record_offset): New function.
35376         (init_locale_data): Likewise.
35377         (align_locale_data): Likewise.
35378         (add_locale_empty): Likewise.
35379         (add_locale_raw_data): Likewise.
35380         (add_locale_raw_obstack): Likewise.
35381         (add_locale_string): Likewise.
35382         (add_locale_wstring): Likewise.
35383         (add_locale_uint32): Likewise.
35384         (add_locale_uint32_array): Likewise.
35385         (add_locale_char): Likewise.
35386         (start_locale_structure): Likewise.
35387         (end_locale_structure): Likewise.
35388         (start_locale_prelude): Likewise.
35389         (end_locale_prelude): Likewise.
35390         (write_locale_data): Take locale_file structure rather than an
35391         iovec.
35392         * locale/programs/locfile.h: Include "obstack.h".
35393         (struct locale_file): Change to store locale file contents instead
35394         of header.
35395         (init_locale_data): New prototype.
35396         (align_locale_data): Likewise.
35397         (add_locale_empty): Likewise.
35398         (add_locale_raw_data): Likewise.
35399         (add_locale_raw_obstack): Likewise.
35400         (add_locale_string): Likewise.
35401         (add_locale_wstring): Likewise.
35402         (add_locale_uint32): Likewise.
35403         (add_locale_uint32_array): Likewise.
35404         (add_locale_char): Likewise.
35405         (start_locale_structure): Likewise.
35406         (end_locale_structure): Likewise.
35407         (start_locale_prelude): Likewise.
35408         (end_locale_prelude): Likewise.
35409         (write_locale_data): Update prototype.
35410         * locale/programs/3level.h (struct TABLE): Remove result field.
35411         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
35412         Use new locale_file interface.
35413         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
35414         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
35415         * locale/programs/ld-address.c (address_output): Use new
35416         locale_file interface.
35417         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
35418         NO_ADD_LOCALE.
35419         (collate_finish): Don't call collseq_table_finalize.
35420         (collate_output): Use new locale_file interface.
35421         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
35422         in file.
35423         (NO_FINALIZE): Change to NO_ADD_LOCALE.
35424         (TABLE): Move defines earlier in file.
35425         (ELEMENT): Likewise.
35426         (DEFAULT): Likewise.
35427         (wctrans_table_add): Move macro and inline function earlier in
35428         file.
35429         (struct wctype_table): Move type earlier in file.
35430         (add_locale_wctype_table): New static prototype.
35431         (struct locale_ctype_t): Use logical types instead of struct iovec
35432         pointers for members.
35433         (ctype_output): Use new locale_file interface.
35434         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
35435         new locale_file interface.
35436         (allocate_arrays): Update for use of new locale_file interface.
35437         * locale/programs/ld-identification.c (identification_output): Use
35438         new locale_file interface.
35439         * locale/programs/ld-measurement.c (measurement_output): Likewise.
35440         * locale/programs/ld-messages.c (messages_output): Likewise.
35441         * locale/programs/ld-monetary.c (monetary_output): Likewise.
35442         * locale/programs/ld-name.c (name_output): Likewise.
35443         * locale/programs/ld-numeric.c (numeric_output): Likewise.
35444         * locale/programs/ld-paper.c (paper_output): Likewise.
35445         * locale/programs/ld-telephone.c (telephone_output): Likewise.
35446         * locale/programs/ld-time.c (time_output): Likewise.
35448 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35450         * benchtests/Makefile: Add memrchr benchmark.
35451         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
35452         benchmark as memrchr.
35453         * benchtests/bench-memrchr-ifunc.c: New file.
35454         * benchtests/bench-memrchr.c: New file.
35456 2013-09-06   Will Newton  <will.newton@linaro.org>
35458         * benchtests/Makefile (string-bench): Add memcpy.
35460 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
35461             Cong Wang  <amwang@redhat.com>
35463         [BZ #15850]
35464         * sysdeps/unix/sysv/linux/bits/in.h
35465         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
35466         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
35467         before __USE_KERNEL_IPV6_DEFS uses.
35468         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
35469         IPPROTO_BEETPH.
35470         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
35471         sockaddr_in6, or ipv6_mreq.
35473 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35475         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
35476         memory access for final bytes in some large inputs.
35477         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
35479 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35481         * string/test-memrchr.c: New file.
35482         * string/test-memrchr-ifunc.c: New file.
35483         * string/Makefile: Add new memrchr testcase.
35485 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
35487         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
35488         fanotify_init returns EPERM.
35490 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
35492         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
35493         errors.
35494         (top level): Treat second token from macro or constant entries for
35495         allowed headers as allowed.
35496         * include/complex.h: Condition internal declarations on
35497         [!_ISOMAC].
35498         * include/fenv.h: Condition include of <stdbool.h> and internal
35499         declarations on [!_ISOMAC].
35501 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
35503         [BZ #15923]
35504         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
35506 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
35508         * configure.in (--enable-versioning): Remove configure option.
35509         (libc_cv_asm_symver_directive): Remove configure test.
35510         (libc_cv_ld_version_script_option): Likewise.
35511         (VERSIONING): Remove variable and AC_SUBST.
35512         (DO_VERSIONING): Remove AC_DEFINE.
35513         * configure: Regenerated.
35514         * config.h.in (DO_VERSIONING): Remove macro.
35515         * Makerules [$(versioning) = yes]: Change conditionals to
35516         [$(build-shared) = yes].
35517         * config.make.in (versioning): Remove variable.
35518         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
35519         [$(build-shared) = yes].
35520         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
35521         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
35522         * elf/Makefile [$(versioning) = yes]: Change conditionals to
35523         [$(build-shared) = yes].
35524         * extra-lib.mk [$(versioning) = yes]: Likewise.
35525         * hurd/Makefile [$(versioning) = yes]: Likewise.
35526         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
35527         [SHARED].
35528         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
35529         [SHARED].
35530         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
35531         [SHARED && !NO_HIDDEN].
35532         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
35533         [SHARED].
35534         [SHARED && DO_VERSIONING]: Likewise..
35535         * libio/Makefile [$(versioning) = yes]: Change conditionals to
35536         [$(build-shared) = yes].
35537         * manual/install.texi (--disable-versioning): Remove
35538         documentation.
35539         * INSTALL: Regenerated.
35540         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
35541         to [SHARED].
35542         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
35543         [$(build-shared) = yes].
35544         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
35545         * sysdeps/i386/i686/multiarch/strstr-c.c
35546         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
35547         [SHARED && !NO_HIDDEN].
35548         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
35549         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
35550         * sysdeps/powerpc/powerpc32/dl-machine.c
35551         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
35552         * sysdeps/powerpc/powerpc32/sysdep.h
35553         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
35554         to [SHARED && PIC && !NO_HIDDEN].
35555         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
35556         conditional to [SHARED].
35558 2013-09-04   Will Newton  <will.newton@linaro.org>
35560         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
35561         * benchtests/bench-string.h: Include bench-timing.h instead
35562         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
35563         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
35564         call to HP_TIMING_DIFF_INIT.
35565         * benchtests/bench-memccpy.c: Use bench-timing.h macros
35566         instead of hp-timing.h macros.
35567         * benchtests/bench-memchr.c: Likewise.
35568         * benchtests/bench-memcmp.c: Likewise.
35569         * benchtests/bench-memcpy.c: Likewise.
35570         * benchtests/bench-memmem.c: Likewise.
35571         * benchtests/bench-memmove.c: Likewise.
35572         * benchtests/bench-memset.c: Likewise.
35573         * benchtests/bench-rawmemchr.c: Likewise.
35574         * benchtests/bench-strcasecmp.c: Likewise.
35575         * benchtests/bench-strcasestr.c: Likewise.
35576         * benchtests/bench-strcat.c: Likewise.
35577         * benchtests/bench-strchr.c: Likewise.
35578         * benchtests/bench-strcmp.c: Likewise.
35579         * benchtests/bench-strcpy.c: Likewise.
35580         * benchtests/bench-strcpy_chk.c: Likewise.
35581         * benchtests/bench-strlen.c: Likewise.
35582         * benchtests/bench-strncasecmp.c: Likewise.
35583         * benchtests/bench-strncat.c: Likewise.
35584         * benchtests/bench-strncmp.c: Likewise.
35585         * benchtests/bench-strncpy.c: Likewise.
35586         * benchtests/bench-strnlen.c: Likewise.
35587         * benchtests/bench-strpbrk.c: Likewise.
35588         * benchtests/bench-strrchr.c: Likewise.
35589         * benchtests/bench-strspn.c: Likewise.
35590         * benchtests/bench-strstr.c: Likewise.
35592 2013-09-04  Will Newton  <will.newton@linaro.org>
35594         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
35596 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
35598         [BZ #15427]
35599         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
35600         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
35601         * math/libm-test.inc (lgamma_test_data): Add more tests.
35602         * sysdeps/i386/fpu/libm-test-ulps: Update.
35603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35605 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
35607         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
35608         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35609         Add ifunc.
35610         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35611         Add strcmp-sse2-unaligned
35612         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
35614 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
35616         * Versions.def (libc): Add GLIBC_2.19.
35618 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
35620         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
35621         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
35623 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
35625         [BZ #14155]
35626         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
35627         intermediate calculations in recurrence.
35628         (__ieee754_ynf): Likewise.
35629         * math/libm-test.inc (jn_test_data): Do not allow spurious
35630         underflow exception.  Add more tests.
35631         (yn_test_data): Add more tests.
35632         * sysdeps/i386/fpu/libm-test-ulps: Update.
35633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35635 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
35637         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
35639 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
35641         * csu/init-first.c: Fix then/than typos.
35642         * locale/programs/ld-collate.c: Likewise.
35643         * locale/programs/linereader.h: Likewise.
35644         * manual/charset.texi: Likewise.
35645         * manual/filesys.texi: Likewise.
35646         * manual/stdio.texi: Likewise.
35647         * manual/string.texi: Likewise.
35648         * stdlib/fmtmsg.c: Likewise.
35649         * sysdeps/i386/stpncpy.S: Likewise.
35650         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35651         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
35652         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35653         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35655 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
35657         * elf/dl-open.c: Fix typos.
35658         * iconvdata/gbbig5.c: Likewise.
35659         * iconvdata/iso-2022-jp.c: Likewise.
35660         * iconv/gconv_int.h: Likewise.
35661         * iconv/loop.c: Likewise.
35662         * nis/rpcsvc/nis.h: Likewise.
35663         * resolv/ns_name.c: Likewise.
35664         * stdio-common/vfscanf.c: Likewise.
35665         * streams/stropts.h: Likewise.
35666         * sunrpc/rpc_thread.c: Likewise.
35667         * sysdeps/i386/strpbrk.S: Likewise.
35668         * sysdeps/ieee754/k_standard.c: Likewise.
35669         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35670         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35671         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
35672         * sysdeps/mach/hurd/profil.c: Likewise.
35673         * sysdeps/s390/dl-procinfo.h: Likewise.
35674         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
35675         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
35676         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
35677         * sysdeps/x86_64/dl-trampoline.S: Likewise.
35678         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
35680 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
35682         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
35683         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
35685 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
35687         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
35688         aix specific files.
35689         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
35690         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
35691         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
35692         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
35693         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
35694         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
35695         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
35696         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
35698 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
35699             Roland McGrath  <roland@hack.frob.com>
35701         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
35702         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
35704 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35706         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
35707         __executable_start symbol instead of _start.
35709 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
35711         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
35712         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
35713         Move macros to...
35714         * sysdeps/gnu/ldsodefs.h: ... this new file.
35716         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
35717         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
35718         instead of ELFOSABI_LINUX.
35720         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
35721         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
35722         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
35723         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
35724         Likewise.
35725         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
35726         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
35727         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
35728         Likewise.
35729         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
35730         (ibm_extended_long_double): Add ieee_nan member.
35731         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
35732         (do_test): New function.
35734         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
35735         TEST_TRUNC.
35736         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
35737         functions, renamed from truncdfsf_test, trunctfsf_test,
35738         trunctfdf_test.
35739         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
35740         functions.
35741         (do_test): Run all these.
35743 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
35745         * argp/argp-help.c: Fix typos.
35746         * argp/argp-parse.c: Likewise.
35747         * debug/backtracesyms.c: Likewise.
35748         * elf/elf.h: Likewise.
35749         * malloc/malloc.c: Likewise.
35750         * nis/nis_print.c: Likewise.
35751         * resolv/res_comp.c: Likewise.
35752         * stdlib/stdlib.h: Likewise.
35753         * sunrpc/clnt_tcp.c: Likewise.
35754         * sunrpc/clnt_udp.c: Likewise.
35755         * sunrpc/clnt_unix.c: Likewise.
35756         * sysdeps/unix/bsd/ptsname.c: Likewise.
35757         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
35758         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
35759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
35760         Likewise.
35761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
35762         Likewise.
35763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
35764         Likewise.
35765         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35767 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35769         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
35770         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35772 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
35774         [BZ #15897]
35775         * dlfcn/Makefile (tests): Add bug-dl-leaf.
35776         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
35777         ($(objpfx)bug-dl-leaf): New rule.
35778         ($(objpfx)bug-dl-leaf.so): Likewise.
35779         ($(objpfx)bug-dl-leaf.out): Likewise.
35780         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
35781         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
35782         * dlfcn/bug-dl-leaf.c: New test.
35783         * dlfcn/bug-dl-leaf-lib.c: Likewise.
35784         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
35785         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
35786         (dlclose): Likewise.
35787         (dlmopen): Likewise.
35789 2013-08-27  Roland McGrath  <roland@hack.frob.com>
35791         * include/netdb.h [!_ISOMAC]:
35792         Don't include <tls.h>.
35793         (h_errno, __libc_h_errno): Move declaration and macros out of
35794         [_LIBC_REENTRANT].
35796         * include/resolv.h [_RESOLV_H_]:
35797         Don't include <tls.h>.
35798         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
35799         * resolv/res_libc.c: Don't include <tls.h>.
35800         (_res): Use __attribute__ ((nocommon)) in place of
35801         __attribute__ ((section (".bss"))).
35803         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
35804         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
35806         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
35808         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
35809         only under [SIOCGIFCONF && SIOCGIFNETMASK].
35811         * resolv/res_mkquery.c: Include <sys/time.h>.
35813         * inet/ifreq.c: Moved to ...
35814         * sysdeps/unix/ifreq.c: ... here.
35815         * inet/ifreq.c: New file, true stub version.
35817         * socket/sa_len.c: New file.
35818         * socket/Makefile (aux): Add it.
35819         * sysdeps/unix/sysv/linux/Makefile
35820         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
35821         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
35822         and #include <socket/sa_len.c>.
35823         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
35824         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
35826         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
35827         * bits/socket.h: ... here.
35829         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
35830         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
35831         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
35833 2013-08-27  Andreas Schwab  <schwab@suse.de>
35835         [BZ #15736]
35836         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
35837         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
35838         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
35839         * string/test-strcasecmp.c (test_main): Run tests in several
35840         locales.
35841         * string/test-strncasecmp.c (test_main): Likewise.
35843         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
35844         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
35845         to __strcasecmp_nonascii and __strncasecmp_nonascii.
35846         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
35847         (__strncasecmp_ssse3) [PIC]: Likewise.
35849 2013-08-26  Roland McGrath  <roland@hack.frob.com>
35851         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
35853         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
35854         instead of explicitly declaring xdecrypt.
35855         * nis/nss_nis/nis-publickey.c: Likewise.
35857 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35859         [BZ #15890]
35860         * nscd/aicache.c: Include res_hconf.h.
35861         (addhstaiX): Initialize res_hconf.
35863 2013-08-26  Andreas Schwab  <schwab@suse.de>
35865         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
35866         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
35868 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35870         * nscd/aicache.c (addhstaiX): Fix indentation.
35872 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
35874         * configure.ac: Quote $build_pt_chown test.
35875         * configure: Regenerated.
35877 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
35879         [BZ #15532]
35880         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
35881         * math/s_cexpf.c (__cexpf): Likewise.
35882         * math/s_cexpl.c (__cexpl): Likewise.
35883         * math/libm-test.inc (cexp_test_data): Correct expected return
35884         value for NaN + i0.  Add another test.
35886 2013-08-22  David S. Miller  <davem@davemloft.net>
35888         * po/ca.po: Update Catalan translation from translation project.
35889         * po/uk.po: Add Ukrainian translations from translation project.
35891 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
35893         [BZ #15797]
35894         * math/s_fdim.c (__fdim): Check for infinite arguments if result
35895         is infinite, not alongside NaN test.
35896         * math/s_fdimf.c (__fdimf): Likewise.
35897         * math/s_fdiml.c (__fdiml): Likewise.
35898         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
35899         errno is unchanged.
35901 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
35903         * argp/argp-help.c: Fix typos.
35904         * crypt/speeds.c: Likewise.
35905         * csu/check_fds.c: Likewise.
35906         * elf/dl-load.c: Likewise.
35907         * elf/dl-open.c: Likewise.
35908         * elf/reldep3.c: Likewise.
35909         * elf/reldep.c: Likewise.
35910         * elf/sprof.c: Likewise.
35911         * iconv/iconv_charmap.c: Likewise.
35912         * iconv/skeleton.c: Likewise.
35913         * iconv/strtab.c: Likewise.
35914         * io/lockf64.c: Likewise.
35915         * libio/libioP.h: Likewise.
35916         * resolv/gai_notify.c: Likewise.
35917         * resolv/ns_name.c: Likewise.
35918         * resolv/ns_samedomain.c: Likewise.
35919         * resolv/res_send.c: Likewise.
35920         * stdlib/random.c: Likewise.
35921         * sunrpc/rpc/xdr.h: Likewise.
35922         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
35923         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35924         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35925         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35926         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35927         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35928         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35929         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35930         * sysdeps/mach/hurd/check_fds.c: Likewise.
35931         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
35932         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35933         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35934         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
35935         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35936         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
35937         * sysdeps/pthread/aio_notify.c: Likewise.
35938         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
35939         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
35940         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
35941         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35942         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
35944 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35946         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
35947         version if bit_Slow_SSE4_2 is set.
35948         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35949         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35951 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35953         [BZ #15867]
35954         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
35955         trampoline stack frame information.
35956         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
35957         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
35958         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
35959         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
35960         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
35961         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35962         (_libc_vdso_platform_setup): Initialize the signal trampolines.
35963         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
35964         sa_flags value.
35965         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
35966         interrupting a syscall and set with option SA_SIGINFO.
35968 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
35970         [BZ #15531]
35971         * math/s_cproj.c (__cproj): Only return an infinity if one part of
35972         argument is infinite.
35973         * math/s_cprojf.c (__cprojf): Likewise.
35974         * math/s_cprojl.c (__cprojl): Likewise.
35975         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
35976         * math/libm-test.inc (cproj_test_data): Add more tests.
35978         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
35980         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
35981         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
35982         size.  Use __ffs to determine corresponding shift.
35984 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
35985             Roland McGrath  <roland@hack.frob.com>
35987         * Makefile (INSTALL): Remove trailing blank lines from output of
35988         makeinfo.
35990 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35992         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
35993         Align 32 bit compat elf_greg to 8 bytes.
35995 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
35997         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
35999 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36001         * string/strcoll_l.c (coll_seq): New structure.
36002         (get_next_seq_cached): New function.
36003         (get_next_seq): New function.
36004         (do_compare): New function.
36005         (STRCOLL): Use GNU style definition.  Simplify implementation
36006         by using get_next_seq, get_next_seq_cached and do_compare.
36008 2013-08-16  Florian Weimer  <fweimer@redhat.com>
36010         [BZ #14699]
36011         CVE-2013-4237
36012         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
36013         member.
36014         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
36015         member.
36016         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
36017         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
36018         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
36019         conditional.
36020         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
36021         GETDENTS_64BIT_ALIGNED.
36022         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36023         * manual/filesys.texi (Reading/Closing Directory): Document
36024         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
36025         strongly.
36026         * manual/conf.texi (Limits for Files): Add portability note to
36027         NAME_MAX, PATH_MAX.
36028         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
36030 2013-08-13  Andreas Schwab  <schwab@suse.de>
36032         [BZ #15749]
36033         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
36034         of fabs.
36035         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
36036         LDBL_MAX_EXP >= 16384]: Add tests for it.
36038 2013-08-12  David S. Miller  <davem@davemloft.net>
36040         * version.h (RELEASE): Set to "development".
36041         (VERSION): Set to "2.18.90".
36042         * NEWS: Add 2.19 section.
36044 2013-08-03  David S. Miller  <davem@davemloft.net>
36046         * po/ko.po: Update Korean translation from translation project.
36048 2013-08-01  David S. Miller  <davem@davemloft.net>
36050         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
36051         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
36052         Bilka.
36054 2013-07-30  David S. Miller  <davem@davemloft.net>
36056         * po/fr.po: Update French translation from translation project.
36058 2013-07-28  David S. Miller  <davem@davemloft.net>
36060         * po/cs.po: Update Czech translation from translation project.
36062         * po/sv.po: Update Swedish translation from translation project.
36064 2013-07-27  David S. Miller  <davem@davemloft.net>
36066         * po/eo.po: Update Esperanto translation from translation project.
36068         * po/vi.po: Update Vietnamese translation from translation project.
36070         * po/de.po: Update German translation from translation project.
36072 2013-07-26  David S. Miller  <davem@davemloft.net>
36074         * po/bg.po: Update Bulgarian translation from translation project.
36076         * po/nl.po: Update Dutch translation from translation project.
36077         * po/pl.po: Update Polish translation from translation project.
36078         * po/ru.po: Update Russian translation from translation project.
36080 2013-07-24  David S. Miller  <davem@davemloft.net>
36082         * po/libc.pot: Update.
36084 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36086         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
36087         variable page size.
36088         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
36089         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
36090         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
36092 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36094         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
36096 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36097             Andreas Schwab  <schwab@suse.de>
36098             Roland McGrath  <roland@hack.frob.com>
36099             Joseph Myers  <joseph@codesourcery.com>
36100             Carlos O'Donell  <carlos@redhat.com>
36102         [BZ #15755]
36103         * config.h.in: Define HAVE_PT_CHOWN.
36104         * config.make.in (build-pt-chown): New variable.
36105         * configure.in (--enable-pt_chown): New configure option.
36106         * configure: Regenerate.
36107         * login/Makefile: Include Makeconfig.  Build pt_chown only if
36108         build-pt-chown is enabled.
36109         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
36110         pt_chown to fix pty ownership.
36111         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
36112         CLOSE_ALL_FDS.
36113         * manual/install.texi (Configuring and compiling): Mention
36114         --enable-pt_chown. Add @findex for grantpt.
36115         * INSTALL: Regenerate.
36117 2013-07-20  David S. Miller  <davem@davemloft.net>
36119         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
36120         difference between 32-bit and 64-bit.
36122 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
36124         [BZ #15711]
36125         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
36126         Avoid system header dependency with -ffreestanding.
36127         ($(objpfx)bits/syscall%d): Likewise.
36129 2013-07-13  David S. Miller  <davem@davemloft.net>
36131         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
36132         underflows from atanl/atan2l due to bug 15319.
36133         (casinh_test_data): Likewise.
36135 2013-07-07  David S. Miller  <davem@davemloft.net>
36137         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36139 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
36141         * sysdeps/i386/fpu/libm-test-ulps: Update.
36142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36144 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36146         * configure.in (--enable-lock-elision): Fix message text.
36147         * INSTALL: Regenerate.
36148         * configure: Regenerate.
36150 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36154 2013-07-03  Andreas Jaeger  <aj@suse.de>
36156         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
36157         define.
36158         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
36159         (ptrace_peeksiginfo_args): Add.
36160         (__ptrace_peeksiginfo_flags): Add.
36161         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36162         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36163         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36165 2013-07-03  Allan McRae  <allan@archlinux.org>
36167         * sysdeps/i386/fpu/libm-test-ulps: Update.
36169 2013-07-02  David S. Miller  <davem@davemloft.net>
36171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36173 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
36175         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36177 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
36179         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36182 2013-07-02  Andi Kleen <ak@linux.intel.com>
36184         * config.h.in (ENABLE_LOCK_ELISION): Add.
36185         * configure.in (--enable-lock-elision): Add option.
36186         * manual/install.texi: Document --enable lock elision.
36187         * configure: Regenerate
36188         * INSTALL: Regenerate.
36190 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
36192         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
36193         SSE4.2 strcasecmp for libc.a.
36194         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
36196 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
36198         [BZ #13304]
36199         * soft-fp/op-common.h (_FP_FMA): New macro.
36200         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
36201         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
36202         (_FP_MUL_MEAT_1_imm): ... here.
36203         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
36204         (_FP_MUL_MEAT_1_wide): ... here.
36205         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
36206         (_FP_MUL_MEAT_1_hard): ... here.
36207         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
36208         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
36209         (_FP_MUL_MEAT_2_wide): ... here.
36210         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
36211         (_FP_MUL_MEAT_2_wide_3mul): ... here.
36212         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
36213         (_FP_MUL_MEAT_2_gmp): ... here.
36214         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
36215         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
36216         (_FP_MUL_MEAT_4_wide): ... here.
36217         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
36218         (_FP_MUL_MEAT_4_gmp): ... here.
36219         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
36220         (_FP_WFRACBITS_DW_S): Likewise.
36221         (_FP_WFRACXBITS_DW_S): Likewise.
36222         (_FP_HIGHBIT_DW_S): Likewise.
36223         (FP_FMA_S): Likewise.
36224         (_FP_FRAC_HIGH_DW_S): Likewise.
36225         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
36226         (_FP_WFRACBITS_DW_D): Likewise.
36227         (_FP_WFRACXBITS_DW_D): Likewise.
36228         (_FP_HIGHBIT_DW_D): Likewise.
36229         (FP_FMA_D): Likewise.
36230         (_FP_FRAC_HIGH_DW_D): Likewise.
36231         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
36232         (_FP_WFRACBITS_DW_E): Likewise.
36233         (_FP_WFRACXBITS_DW_E): Likewise.
36234         (_FP_HIGHBIT_DW_E): Likewise.
36235         (FP_FMA_E): Likewise.
36236         (_FP_FRAC_HIGH_DW_E): Likewise.
36237         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
36238         (_FP_WFRACBITS_DW_Q): Likewise.
36239         (_FP_WFRACXBITS_DW_Q): Likewise.
36240         (_FP_HIGHBIT_DW_Q): Likewise.
36241         (FP_FMA_Q): Likewise.
36242         (_FP_FRAC_HIGH_DW_Q): Likewise.
36243         * soft-fp/fmasf4.c: New file.
36244         * soft-fp/fmadf4.c: Likewise.
36245         * soft-fp/fmatf4.c: Likewise.
36247 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36249         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36250         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
36251         Silvermont.
36252         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
36253         macro.
36254         (index_Slow_SSE4_2): Likewise.
36255         (index_Prefer_PMINUB_for_stringop): Likewise.
36256         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
36257         bit_Slow_SSE4_2 is set.
36258         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36259         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36261 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36263         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
36264         rtld_global._dl_hwcap2.
36265         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
36266         POWER8.
36267         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
36268         POWER8 feature descriptions defined in _dl_hwcap2.
36269         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
36270         string handling for POWER8 feature bits.
36271         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
36272         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
36273         _dl_powerpc_cap_flags.
36274         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
36275         * sysdeps/powerpc/rtld-global-offsets.sym
36276         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
36277         _dl_hwcap2 in the rtld_global_ro structure.
36279 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36281         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
36282         hardware capabilities in support of AT_HWCAP2.
36283         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
36284         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
36285         GLRO(dl_hwcap2).
36286         (_dl_show_auxv): Add support for calling _dl_procinfo to display
36287         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
36288         explicitly the unknown a_type display mechanism is used.
36289         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
36290         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
36291         struct member.
36292         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
36293         to macro prototype for AT_HWCAP2 support.
36294         * sysdeps/i386/dl-procinfo.h: Likewise.
36295         * sysdeps/s390/dl-procinfo.h: Likewise.
36296         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
36297         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
36298         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
36299         return -1 for unknown a_type display fallback.
36300         * sysdeps/sparc/dl-procinfo.h: Likewise.
36301         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
36302         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
36304 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
36306         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
36307         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
36309 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
36311         [BZ #12492]
36312         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
36313         mprotect making __stack_prot writable.
36315 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
36316             Joseph Myers  <joseph@codesourcery.com>
36318         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
36319         as being properly aligned.
36321 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
36323         * dlfcn/modstatic5.c: New file.
36324         * dlfcn/tststatic5.c: New file.
36325         * dlfcn/Makefile (tests): Add tststatic5.
36326         (tests-static): Likewise.
36327         (modules-names): Add modstatic5.
36328         (tststatic5-ENV): New variable.
36329         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
36331         [BZ #15022]
36332         * elf/dl-support.c (_dl_main_map): New variable.
36333         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
36334         (_dl_nns, _dl_load_adds): Set to 1.
36335         (_dl_initial_searchlist): Refer to _dl_main_map.
36336         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
36337         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
36338         call to _dl_get_origin.
36339         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
36340         around call_map.
36341         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
36342         * dlfcn/modstatic3.c: New file.
36343         * dlfcn/tststatic3.c: New file.
36344         * dlfcn/tststatic4.c: New file.
36345         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
36346         (tests-static): Likewise.
36347         (modules-names): Add modstatic3.
36348         (tststatic3-ENV, tststatic4-ENV): New variables.
36349         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
36350         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
36352 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
36354         * configure.in (CC): Require GCC version 4.4 or later.
36355         * configure: Regenerated.
36356         * manual/install.texi (Tools for Compilation): Update GCC version
36357         requirement.
36358         * INSTALL: Regenerated.
36360 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36362         [BZ #15674]
36363         * string/test-memcmp.c (check2): New.
36364         (main): Call check2.
36366         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
36368 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
36370         [BZ #15022]
36371         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
36372         over to...
36373         (dl_open_worker) [!SHARED]: ... here.
36375 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36377         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
36379 2013-06-25  Richard Henderson  <rth@redhat.com>
36381         * locale/programs/locarchive.c: Include <libc-internal.h>
36383 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
36385         * manual/texinfo.tex: Update to version 2013-06-21.17, with
36386         trailing whitespace removed.
36388 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
36390         [BZ #10283]
36391         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
36392         * locale/programs/locarchive.c: Include libc-mmap.h.
36393         (prepare_address_space): Take two new outputs (the mmap base and len).
36394         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
36395         values.
36396         (create_archive): Declare new mmap base and len values for
36397         prepare_address_space, and store the result in ah.
36398         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
36399         (enlarge_archive): If ah->mmap_base is not NULL, use that and
36400         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
36401         Declare new mmap base and len values for
36402         prepare_address_space, and store the result in new_ah.
36403         (open_archive): Declare new mmap base and len values for
36404         prepare_address_space, and store the result in ah.
36405         (close_archive): If ah->mmap_base is not NULL, use that and
36406         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
36407         * sysdeps/generic/libc-mmap.h: New file.
36409 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
36411         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
36412         (ALIGN_UP): Likewise.
36413         (PTR_ALIGN_DOWN): Likewise.
36414         (PTR_ALIGN_UP): Likewise.
36416 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36418         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
36419         entry mapped to PPC_PLATFORM_POWER8.
36420         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
36421         POWER8.
36422         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
36423         (_dl_string_platform): Add case for exporting platform position for
36424         POWER8.
36425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
36426         search path to sysdeps/powerpc/powerpc32/power8 directory.
36427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
36428         search path to sysdeps/powerpc/powerpc64/power8 directory.
36429         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
36430         power7 directories.
36431         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
36432         power7 directories.
36434 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36436         * INSTALL: Regenerate.
36438         * nscd/connections.c (nscd_init): Fix comment.
36440 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
36442         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
36444         [BZ #15667]
36445         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
36446         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
36448 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
36450         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
36451         DL_DST_REQ_STATIC.
36452         (DL_DST_REQ_STATIC): Remove macro.
36454 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
36456         [BZ #7006]
36457         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
36458         with a shift of 0 bits.
36460 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
36462         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
36463         $(tststatic-ENV).
36465 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36467         [BZ #15655]
36468         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
36470 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36472         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
36473         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
36474         accepts -fno-tree-loop-distribute-patterns.
36475         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
36476         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
36477         recursive call.
36478         * string/memset.c (memset): Likewise.
36479         * string/test-memmove.c (simple_memmove): Disable loop transformation
36480         to library calls.
36481         * string/test-memset.c (simple_memset): Likewise.
36482         * benchtests/bench-memmove.c (simple_memmove): Likewise.
36483         * benchtests/bench-memset.c (simple_memset): Likewise.
36484         * configure: Regenerated.
36486 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
36488         * math/test-misc.c (main): Ignore fesetround failure when failures
36489         of subsequent rounding tests would be ignored.
36491         [BZ #15654]
36492         * math/fedisblxcpt.c (fedisableexcept): Return 0.
36493         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
36494         * math/fegetenv.c (__fegetenv): Return 0.
36495         * math/fegetexcept.c (fegetexcept): Return 0.
36496         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
36497         FE_TONEAREST.
36498         * math/feholdexcpt.c (feholdexcept): Return 0.
36499         * math/fesetenv.c (__fesetenv): Return 0.
36500         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
36501         argument FE_TONEAREST.
36502         * math/feupdateenv.c (__feupdateenv): Return 0.
36503         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
36505 2013-06-18  Roland McGrath  <roland@hack.frob.com>
36507         * elf/rtld-Rules (rtld-compile-command.S): New variable.
36508         (rtld-compile-command.s, rtld-compile-command.c): New variables.
36509         ($(objpfx)rtld-%.os rules): Use them.
36511 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36513         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
36514         fields.
36516 2013-06-17  Roland McGrath  <roland@hack.frob.com>
36518         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
36519         length of target pattern, then descending length of dependency pattern.
36520         * configure.in (AWK): Require gawk 3.1.2 or newer.
36521         * manual/install.texi (Tools for Compilation): Say that we do.
36522         * configure: Regenerated.
36524         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
36525         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
36526         * scripts/sysd-rules.awk: ... this new script.
36527         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
36528         than a glob-style pattern.
36530 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
36532         * math/test-misc.c (main): Do not treat incorrectly rounded
36533         conversions as failure unless ROUNDING_TESTS passes.
36535 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
36537         [BZ #15631]
36538         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
36539         restore exception state around main square root computation, then
36540         check for inexactness explicitly.
36542         * math/libm-test.inc (fma_test_data): Add another test.
36544 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36546         * manual/threads.texi (Non-POSIX Extensions): New document
36547         node.  Document pthread_getattr_default_np and
36548         pthread_setattr_default_np.
36550         * Versions.def (libpthread): Add GLIBC_2.18.
36551         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
36552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36553         Likewise.
36554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36555         Likewise.
36556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36557         Likewise.
36558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36559         Likewise.
36560         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
36561         Likewise.
36562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36563         Likewise.
36564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36565         Likewise.
36566         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36567         Likewise.
36568         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36569         Likewise.
36571 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36574         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
36576 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36577             H.J. Lu  <hjl.tools@gmail.com>
36579         [BZ #15627]
36580         * sysdeps/x86_64/rtld-memset.c: Remove file.
36581         * sysdeps/x86_64/rtld-memset.S: New file.
36583 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
36585         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
36586         (test_in_one_mode): Take arguments for whether the rounding mode
36587         is supported for each floating-point type.
36588         (do_test): Pass new arguments to test_in_one_mode using
36589         ROUNDING_TESTS.
36591 2013-06-13  Roland McGrath  <roland@hack.frob.com>
36593         * posix/tst-waitid.c (do_test): Distinguish different instances of
36594         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
36595         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
36596         before entering the kernel for waitpid.
36598 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36600         * NEWS: Fix note on clock function precision.  Text by Roland
36601         McGrath.
36603 2013-06-13  Roland McGrath  <roland@hack.frob.com>
36605         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
36606         it into place only when and if the sanity check passes.
36608 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
36610         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
36611         output for whether conversion result is exact.  Take argument
36612         indicating whether type is IBM long double.
36613         (round_for_all): Change need_exact field to ibm_ld.
36614         * stdlib/tst-strtod-round.c (struct exactness): New type.
36615         (struct test): Change bool ld_ok field to struct exactness exact.
36616         (TEST): Update all definitions for change to field.
36617         (tests): Regenerate array contents.
36618         (test_in_one_mode): Take pointer to new field instead of old ld_ok
36619         field value.  Check for IBM long double here.
36620         (do_test): Update calls to test_in_one_mode.
36622 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36624         [BZ #12515]
36625         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
36626         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
36628 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36630         [BZ #15605]
36631         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
36632         generated by the compiler on loop optimizations.
36633         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
36634         general definitions.
36636 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
36638         * math/bug-nextafter.c: Include <math-tests.h>.
36639         (main): Only test for exceptions if EXCEPTION_TESTS is true for
36640         the relevant type.
36641         * math/bug-nexttoward.c: Include <math-tests.h>.
36642         (main): Only test for exceptions if EXCEPTION_TESTS is true for
36643         the relevant type.
36644         * math/test-misc.c: Include <math-tests.h>.
36645         (main): Only test for exceptions if EXCEPTION_TESTS is true for
36646         the relevant type.
36648 2013-06-12  Andreas Jaeger  <aj@suse.de>
36650         * po/ia.po: Update Interlingua translation from translation
36651         project.
36653 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36655         * include/fenv.h: Include stdbool.h.
36656         (struct rm_ctx): New structure.
36657         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
36658         Define macro.
36659         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
36660         (SET_RESTORE_ROUNDF): Likewise.
36661         (SET_RESTORE_ROUNDL): Likewise.
36662         (SET_RESTORE_ROUND_NOEX): Likewise.
36663         (SET_RESTORE_ROUND_NOEXF): Likewise.
36664         (SET_RESTORE_ROUND_NOEXL): Likewise.
36665         (SET_RESTORE_ROUND_53BIT): Likewise.
36666         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
36667         (libc_feresetround_noexf_ctx): Likewise.
36668         (libc_feresetround_noexl_ctx): Likewise.
36669         (libc_feholdsetround_53bit_ctx): Likewise.
36670         (libc_feresetround_53bit_ctx): Likewise.
36671         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
36672         (libc_feholdexcept_setround_sse_ctx): New function.
36673         (libc_fesetenv_sse_ctx): Likewise.
36674         (libc_feupdateenv_sse_ctx): Likewise.
36675         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
36676         (libc_feholdexcept_setround_387_ctx): Likewise.
36677         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
36678         (libc_feholdsetround_387_prec_ctx): Likewise.
36679         (libc_feholdsetround_387_ctx): Likewise.
36680         (libc_feholdsetround_387_53bit_ctx): Likewise.
36681         (libc_feholdsetround_sse_ctx): Likewise.
36682         (libc_feresetround_sse_ctx): Likewise.
36683         (libc_feresetround_387_ctx): Likewise.
36684         (libc_feupdateenv_387_ctx): Likewise.
36685         (libc_feholdexcept_setroundf_ctx): Define macro.
36686         (libc_fesetenvf_ctx): Likewise.
36687         (libc_feupdateenvf_ctx): Likewise.
36688         (libc_feholdsetroundf_ctx): Likewise.
36689         (libc_feresetroundf_ctx): Likewise.
36690         (libc_feholdexcept_setround_ctx): Likewise.
36691         (libc_fesetenv_ctx): Likewise.
36692         (libc_feupdateenv_ctx): Likewise.
36693         (libc_feholdsetround_ctx): Likewise.
36694         (libc_feresetround_ctx): Likewise.
36695         (libc_feholdexcept_setroundl_ctx): Likewise.
36696         (libc_feupdateenvl_ctx): Likewise.
36697         (libc_feholdsetroundl_ctx): Likewise.
36698         (libc_feresetroundl_ctx): Likewise.
36699         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
36700         (libc_feresetround_53bit_ctx): Likewise.
36702 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36704         * locale/iso-639.def: Convert to UTF-8.
36706 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
36708         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
36709         (EXCEPTION_TESTS_double): Likewise.
36710         (EXCEPTION_TESTS_long_double): Likewise.
36711         (EXCEPTION_TESTS): Likewise.
36712         * math/libm-test.inc (test_exceptions): Only test exceptions if
36713         EXCEPTION_TESTS (FLOAT).
36715 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36717         * benchtests/Makefile (string-bench): Add strcpy_chk and
36718         stpcpy_chk.
36719         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
36720         * benchtests/bench-stpcpy_chk.c: New file.
36721         * benchtests/bench-strcpy_chk-ifunc.c: New file.
36722         * benchtests/bench-strcpy_chk.c: New file.
36723         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
36724         code.
36725         (do_test): Likewise.
36727 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36729         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
36730         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
36731         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
36732         with tabs where appropriate.
36733         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
36734         dl-procinfo.h.
36735         [PPC_PLATFORM_PPC440]: Likewise.
36736         [PPC_PLATFORM_PPC464]: Likewise.
36737         [PPC_PLATFORM_PPC476]: Likewise.
36738         (_dl_string_platform): Add support for detecting ppc405, ppc440,
36739         ppc464, and ppc476 platform strings merging from ports/
36740         dl-procinfo.h.
36742 2013-06-11  Andreas Schwab  <schwab@suse.de>
36744         [BZ #14991]
36745         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
36746         (from_ucs4_idx): Regenerate.
36747         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
36748         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
36749         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
36750         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
36751         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
36752         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
36753         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
36754         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
36755         from FROM_LOOP and TO_LOOP specific macros.
36756         (BODY): Handle combining characters.
36757         * iconvdata/BIG5HKSCS.irreversible: Update.
36758         * iconvdata/BIG5HKSCS.precomposed: New file.
36759         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
36760         characters.
36761         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
36763 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36765         * include/sys/time.h: Fix indentation and add copyright header.
36767         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
36768         (do_test): Likewise.
36769         * string/test-memchr.c (do_one_test): Likewise.
36770         (do_test): Likewise.
36771         * string/test-memcmp.c (do_one_test): Likewise.
36772         (do_test): Likewise.
36773         * string/test-memcpy.c (do_one_test): Likewise.
36774         (do_test): Likewise.
36775         * string/test-memmem.c (do_one_test): Likewise.
36776         (do_test): Likewise.
36777         (do_random_tests): Likewise.
36778         * string/test-memmove.c (do_one_test): Likewise.
36779         (do_test): Likewise.
36780         * string/test-memset.c (do_one_test): Likewise.
36781         (do_test): Likewise.
36782         * string/test-rawmemchr.c (do_one_test): Likewise.
36783         (do_test): Likewise.
36784         * string/test-strcasecmp.c (do_one_test): Likewise.
36785         (do_test): Likewise.
36786         * string/test-strcasestr.c (do_one_test): Likewise.
36787         (do_test): Likewise.
36788         * string/test-strcat.c (do_one_test): Likewise.
36789         (do_test): Likewise.
36790         * string/test-strchr.c (do_one_test): Likewise.
36791         (do_test): Likewise.
36792         * string/test-strcmp.c (do_one_test): Likewise.
36793         (do_test): Likewise.
36794         * string/test-strcpy.c (do_one_test): Likewise.
36795         (do_test): Likewise.
36796         * string/test-string.h: Likewise.
36797         (test_init): Likewise.
36798         * string/test-strlen.c (do_one_test): Likewise.
36799         (do_test): Likewise.
36800         * string/test-strncasecmp.c (do_one_test): Likewise.
36801         (do_test): Likewise.
36802         * string/test-strncat.c (do_one_test): Likewise.
36803         (do_test): Likewise.
36804         * string/test-strncmp.c (do_one_test): Likewise.
36805         (do_test_limit): Likewise.
36806         (do_test): Likewise.
36807         * string/test-strncpy.c (do_one_test): Likewise.
36808         (do_test): Likewise.
36809         * string/test-strnlen.c (do_one_test): Likewise.
36810         (do_test): Likewise.
36811         * string/test-strpbrk.c (do_one_test): Likewise.
36812         (do_test): Likewise.
36813         * string/test-strrchr.c (do_one_test): Likewise.
36814         (do_test): Likewise.
36815         * string/test-strspn.c (do_one_test): Likewise.
36816         (do_test): Likewise.
36817         * string/test-strstr.c (do_one_test): Likewise.
36818         (do_test): Likewise.
36820         * benchtests/Makefile (string-bench): Add string benchmarks.
36821         * benchtests/bench-bcopy-ifunc.c: New file.
36822         * benchtests/bench-bcopy.c: New file.
36823         * benchtests/bench-bzero-ifunc.c: New file.
36824         * benchtests/bench-bzero.c: New file.
36825         * benchtests/bench-memccpy-ifunc.c: New file.
36826         * benchtests/bench-memccpy.c: New file.
36827         * benchtests/bench-memchr-ifunc.c: New file.
36828         * benchtests/bench-memchr.c: New file.
36829         * benchtests/bench-memcmp-ifunc.c: New file.
36830         * benchtests/bench-memcmp.c: New file.
36831         * benchtests/bench-memmem-ifunc.c: New file.
36832         * benchtests/bench-memmem.c: New file.
36833         * benchtests/bench-memmove-ifunc.c: New file.
36834         * benchtests/bench-memmove.c: New file.
36835         * benchtests/bench-mempcpy-ifunc.c: New file.
36836         * benchtests/bench-mempcpy.c: New file.
36837         * benchtests/bench-memset-ifunc.c: New file.
36838         * benchtests/bench-memset.c: New file.
36839         * benchtests/bench-rawmemchr-ifunc.c: New file.
36840         * benchtests/bench-rawmemchr.c: New file.
36841         * benchtests/bench-stpcpy-ifunc.c: New file.
36842         * benchtests/bench-stpcpy.c: New file.
36843         * benchtests/bench-stpncpy-ifunc.c: New file.
36844         * benchtests/bench-stpncpy.c: New file.
36845         * benchtests/bench-strcasecmp-ifunc.c: New file.
36846         * benchtests/bench-strcasecmp.c: New file.
36847         * benchtests/bench-strcasestr-ifunc.c: New file.
36848         * benchtests/bench-strcasestr.c: New file.
36849         * benchtests/bench-strcat-ifunc.c: New file.
36850         * benchtests/bench-strcat.c: New file.
36851         * benchtests/bench-strchr-ifunc.c: New file.
36852         * benchtests/bench-strchr.c: New file.
36853         * benchtests/bench-strchrnul-ifunc.c: New file.
36854         * benchtests/bench-strchrnul.c: New file.
36855         * benchtests/bench-strcmp-ifunc.c: New file.
36856         * benchtests/bench-strcmp.c: New file.
36857         * benchtests/bench-strcpy-ifunc.c: New file.
36858         * benchtests/bench-strcpy.c: New file.
36859         * benchtests/bench-strcspn-ifunc.c: New file.
36860         * benchtests/bench-strcspn.c: New file.
36861         * benchtests/bench-strlen-ifunc.c: New file.
36862         * benchtests/bench-strlen.c: New file.
36863         * benchtests/bench-strncasecmp-ifunc.c: New file.
36864         * benchtests/bench-strncasecmp.c: New file.
36865         * benchtests/bench-strncat-ifunc.c: New file.
36866         * benchtests/bench-strncat.c: New file.
36867         * benchtests/bench-strncmp-ifunc.c: New file.
36868         * benchtests/bench-strncmp.c: New file.
36869         * benchtests/bench-strncpy-ifunc.c: New file.
36870         * benchtests/bench-strncpy.c: New file.
36871         * benchtests/bench-strnlen-ifunc.c: New file.
36872         * benchtests/bench-strnlen.c: New file.
36873         * benchtests/bench-strpbrk-ifunc.c: New file.
36874         * benchtests/bench-strpbrk.c: New file.
36875         * benchtests/bench-strrchr-ifunc.c: New file.
36876         * benchtests/bench-strrchr.c: New file.
36877         * benchtests/bench-strspn-ifunc.c: New file.
36878         * benchtests/bench-strspn.c: New file.
36879         * benchtests/bench-strstr-ifunc.c: New file.
36880         * benchtests/bench-strstr.c: New file.
36882         * benchtests/Makefile: Disable parallel execution of targets.
36883         (string-bench): Add memcpy.
36884         (benchset): New variable to store a list of benchmark sets.
36885         (bench-func): Renamed from bench.
36886         (bench-set): New target.
36887         (bench): Depend on bench-func and bench-set.
36888         * benchtests/README: Add section on benchmark sets.
36889         * benchtests/bench-memcpy-ifunc.c: New file.
36890         * benchtests/bench-memcpy.c: New file.
36891         * benchtests/bench-string.h: New file.
36893 2013-06-11  Andreas Schwab  <schwab@suse.de>
36895         [BZ #15577]
36896         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
36897         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
36898         values in the triple.
36899         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
36900         terminator in the group key.
36902 2013-06-11  Andreas Jaeger  <aj@suse.de>
36904         * po/zh_TW.po: Update Chinese (traditional) translation from
36905         translation project.
36907 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36909         * include/time.h (__clock_gettime): Add libc_hidden_proto.
36910         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
36911         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
36912         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36913         (clock_getcpuclockid): Likewise.
36914         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
36915         Add weak_alias and libc_hidden_def.
36916         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
36917         * rt/clock_gettime.c (clock_gettime): Rename to
36918         __clock_gettime.  Add weak_alias and libc_hidden_def.
36919         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
36920         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
36921         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
36922         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
36923         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
36924         Likewise.
36925         * rt/clock_settime.c (clock_settime): Rename to
36926         __clock_settime.  Add weak_alias and libc_hidden_def.
36927         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
36929 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
36931         * mach/err_boot.sub: Remove trailing whitespace.
36932         * mach/err_ipc.sub: Likewise.
36933         * mach/err_mach.sub: Likewise.
36935         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
36936         (ROUNDING_TESTS_double): Likewise.
36937         (ROUNDING_TESTS_long_double): Likewise.
36938         (ROUNDING_TESTS): Likewise.
36939         * math/libm-test.inc: Include <math-tests.h>.
36940         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
36941         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36942         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36943         (IF_ROUND_INIT_FE_UPWARD): Likewise.
36945 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36947         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
36948         of assigning.
36950 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
36952         * sysdeps/gnu/errlist.awk: Do not generate space at end of
36953         otherwise empty TRANS lines.
36954         * sysdeps/gnu/errlist.c: Regenerated.
36956         * catgets/gencat.c (error_print): Use (void) in function
36957         definition.
36958         * crypt/crypt_util.c (__init_des): Likewise.
36959         * crypt/speeds.c (Stop): Likewise.
36960         (main): Likewise.
36961         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
36962         * inet/ruserpass.c (token): Likewise.
36963         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
36964         * intl/localealias.c (extend_alias_table): Likewise.
36965         * intl/plural-exp.c (init_germanic_plural): Likewise.
36966         * libio/fcloseall.c (__fcloseall): Likewise.
36967         * libio/genops.c (_IO_flush_all): Likewise.
36968         (_IO_flush_all_linebuffered): Likewise.
36969         (_IO_cleanup): Likewise.
36970         (_IO_iter_begin): Likewise.
36971         (_IO_iter_end): Likewise.
36972         (_IO_list_lock): Likewise.
36973         (_IO_list_unlock): Likewise.
36974         (_IO_list_resetlock): Likewise.
36975         * libio/getchar.c (getchar): Likewise.
36976         * libio/getchar_u.c (getchar_unlocked): Likewise.
36977         * libio/getwchar.c (getwchar): Likewise.
36978         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
36979         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
36980         * login/getpt.c (__getpt): Likewise.
36981         * login/tst-utmp.c (main): Likewise.
36982         * malloc/hooks.c (__malloc_check_init): Likewise.
36983         * malloc/malloc.c (__malloc_stats): Likewise.
36984         * malloc/mtrace.c (tr_break): Likewise.
36985         (mtrace): Likewise.
36986         (muntrace): Likewise.
36987         * misc/fstab.c (endfsent): Likewise.
36988         * misc/getclktck.c (__getclktck): Likewise.
36989         * misc/getdtsz.c (__getdtablesize): Likewise.
36990         * misc/gethostid.c (gethostid): Likewise.
36991         * misc/getpagesize.c (__getpagesize): Likewise.
36992         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
36993         (__get_nprocs): Likewise.
36994         (__get_phys_pages): Likewise.
36995         (__get_avphys_pages): Likewise.
36996         * misc/getttyent.c (getttyent): Likewise.
36997         (setttyent): Likewise.
36998         (endttyent): Likewise.
36999         * misc/getusershell.c (getusershell): Likewise.
37000         (endusershell): Likewise.
37001         (setusershell): Likewise.
37002         (initshells): Likewise.
37003         * misc/hsearch.c (__hdestroy): Likewise.
37004         * misc/sync.c (sync): Likewise.
37005         * misc/syslog.c (closelog_internal): Likewise.
37006         (closelog): Likewise.
37007         * misc/ttyslot.c (ttyslot): Likewise.
37008         * misc/vhangup.c (vhangup): Likewise.
37009         * posix/fork.c (__fork): Likewise.
37010         * posix/getegid.c (__getegid): Likewise.
37011         * posix/geteuid.c (__geteuid): Likewise.
37012         * posix/getgid.c (__getgid): Likewise.
37013         * posix/getpid.c (__getpid): Likewise.
37014         * posix/getppid.c (__getppid): Likewise.
37015         * posix/getuid.c (__getuid): Likewise.
37016         * posix/pause.c (pause): Likewise.
37017         * posix/setpgrp.c (setpgrp): Likewise.
37018         * posix/setsid.c (__setsid): Likewise.
37019         * posix/test-vfork.c (noop): Likewise.
37020         * resolv/gethnamaddr.c (_endhtent): Likewise.
37021         (_gethtent): Likewise.
37022         (ht_endhostent): Likewise.
37023         (gethostent): Likewise.
37024         (dns_service): Likewise.
37025         * stdlib/drand48.c (drand48): Likewise.
37026         * stdlib/lrand48.c (lrand48): Likewise.
37027         * stdlib/mrand48.c (mrand48): Likewise.
37028         * stdlib/rand.c (rand): Likewise.
37029         * stdlib/random.c (__random): Likewise.
37030         * stdlib/setenv.c (clearenv): Likewise.
37031         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
37032         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
37033         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
37034         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
37035         (__get_nprocs): Likewise.
37036         (__get_phys_pages): Likewise.
37037         (__get_avphys_pages): Likewise.
37038         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
37039         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
37040         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
37041         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
37042         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
37043         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
37044         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
37045         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
37046         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
37047         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
37048         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
37049         * sysdeps/mach/hurd/sync.c (sync): Likewise.
37050         * sysdeps/posix/clock.c (clock): Likewise.
37051         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
37052         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
37053         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
37054         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
37055         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
37056         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
37057         (__get_nprocs_conf): Likewise.
37058         (__get_phys_pages): Likewise.
37059         (__get_avphys_pages): Likewise.
37060         * time/clock.c (clock): Likewise.
37061         * time/tzset.c (__tzname_max): Likewise.
37063 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
37065         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
37066         (__bswap_32): Do not use "register".
37067         * crypt/crypt.c (_ufc_doit_r): Likewise.
37068         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37069         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37070         * gmon/gmon.c (__monstartup): Likewise.
37071         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
37072         * hurd/hurdmalloc.c (more_memory): Likewise.
37073         (malloc): Likewise.
37074         (free): Likewise.
37075         (realloc): Likewise.
37076         (malloc_fork_prepare): Likewise.
37077         (malloc_fork_parent): Likewise.
37078         (malloc_fork_child): Likewise.
37079         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
37080         (_svcauth_des): Likewise.
37081         * inet/inet_lnaof.c (inet_lnaof): Likewise.
37082         * inet/inet_net.c (inet_network): Likewise.
37083         * inet/inet_netof.c (inet_netof): Likewise.
37084         * inet/rcmd.c (__validuser2_sa): Likewise.
37085         * io/fts.c (fts_open): Likewise.
37086         (fts_load): Likewise.
37087         (fts_close): Likewise.
37088         (fts_read): Likewise.
37089         (fts_children): Likewise.
37090         (fts_build): Likewise.
37091         (fts_stat): Likewise.
37092         (fts_sort): Likewise.
37093         (fts_alloc): Likewise.
37094         (fts_lfree): Likewise.
37095         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
37096         (_IO_file_xsgetn): Likewise.
37097         (_IO_file_xsgetn_mmap): Likewise.
37098         * libio/iofopncook.c (_IO_cookie_read): Likewise.
37099         (_IO_cookie_write): Likewise.
37100         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
37101         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
37102         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
37103         * malloc/obstack.c (_obstack_begin): Likewise.
37104         (_obstack_begin_1): Likewise.
37105         (_obstack_newchunk): Likewise.
37106         (_obstack_allocated_p): Likewise.
37107         (obstack_free): Likewise.
37108         (_obstack_memory_used): Likewise.
37109         * misc/getttyent.c (getttynam): Likewise.
37110         (getttyent): Likewise.
37111         (skip): Likewise.
37112         (value): Likewise.
37113         * misc/getusershell.c (initshells): Likewise.
37114         * misc/syslog.c (__vsyslog_chk): Likewise.
37115         * misc/ttyslot.c (ttyslot): Likewise.
37116         * nis/nis_hash.c (__nis_hash): Likewise.
37117         * posix/fnmatch_loop.c (FCT): Likewise.
37118         * posix/getconf.c (print_all): Likewise.
37119         (main): Likewise.
37120         * posix/getopt.c (exchange): Likewise.
37121         * posix/glob.c (globfree): Likewise.
37122         (prefix_array): Likewise.
37123         (__glob_pattern_type): Likewise.
37124         * resolv/arpa/nameser.h (NS_GET16): Likewise.
37125         (NS_GET32): Likewise.
37126         (NS_PUT16): Likewise.
37127         (NS_PUT32): Likewise.
37128         * resolv/gethnamaddr.c (getanswer): Likewise.
37129         (gethostbyname2): Likewise.
37130         (gethostbyaddr): Likewise.
37131         (_gethtent): Likewise.
37132         (_gethtbyname2): Likewise.
37133         (_gethtbyaddr): Likewise.
37134         * resolv/ns_print.c (dst_s_get_int16): Likewise.
37135         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
37136         * resolv/res_init.c (__res_vinit): Likewise.
37137         (net_mask): Likewise.
37138         * resolv/res_mkquery.c (outchar): Likewise.
37139         (PRINT): Likewise.
37140         * stdio-common/printf_fp.c (outchar): Likewise.
37141         (PRINT): Likewise.
37142         * stdio-common/printf_fphex.c (outchar): Likewise.
37143         (PRINT): Likewise.
37144         * stdio-common/printf_size.c (outchar): Likewise.
37145         (PRINT): Likewise.
37146         * stdio-common/test_rdwr.c (main): Likewise.
37147         * stdio-common/tfformat.c (matches): Likewise.
37148         * stdio-common/vfprintf.c (outchar): Likewise.
37149         (printf_unknown): Likewise.
37150         (buffered_vfprintf): Likewise.
37151         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
37152         * stdio-common/xbug.c (AppendToBuffer): Likewise.
37153         (ReadFile): Likewise.
37154         * stdlib/qsort.c (SWAP): Likewise.
37155         (_quicksort): Likewise.
37156         * stdlib/setenv.c (__add_to_environ): Likewise.
37157         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
37158         * stdlib/strtol_l.c (__strtol_l): Likewise.
37159         * stdlib/tst-strtod.c (main): Likewise.
37160         * stdlib/tst-strtol.c (main): Likewise.
37161         * stdlib/tst-strtoll.c (main): Likewise.
37162         * string/bits/string2.h (__strcmp_cc): Likewise.
37163         (__strcmp_cg): Likewise.
37164         (__strcspn_c1): Likewise.
37165         (__strcspn_c2): Likewise.
37166         (__strcspn_c3): Likewise.
37167         (__strspn_c1): Likewise.
37168         (__strspn_c2): Likewise.
37169         (__strspn_c3): Likewise.
37170         (__strsep_1c): Likewise.
37171         (__strsep_2c): Likewise.
37172         (__strsep_3c): Likewise.
37173         * string/memccpy.c (__memccpy): Likewise.
37174         * string/stpcpy.c (__stpcpy): Likewise.
37175         * string/strcmp.c (strcmp): Likewise.
37176         * string/strrchr.c (strrchr): Likewise.
37177         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
37178         Likewise.
37179         * sysdeps/mach/hurd/getcwd.c
37180         (_hurd_canonicalize_directory_name_internal): Likewise.
37181         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
37182         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
37183         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
37184         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
37185         Likewise, in both definitions.
37186         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
37187         definitions.
37188         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
37189         64] (__bswap_64): Likewise.
37190         * time/test_time.c (main): Likewise.
37191         * time/tzfile.c (__tzfile_read): Likewise.
37192         (__tzfile_compute): Likewise.
37193         * time/tzset.c (__tzset_parse_tz): Likewise.
37194         (tzset_internal): Likewise.
37195         (compute_change): Likewise.
37196         * wcsmbs/wcscat.c (__wcscat): Likewise.
37197         * wcsmbs/wcschr.c (wcschr): Likewise.
37198         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
37199         * wcsmbs/wcscspn.c (wcscspn): Likewise.
37200         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
37201         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
37202         * wcsmbs/wcsspn.c (wcsspn): Likewise.
37203         * wcsmbs/wcsstr.c (wcsstr): Likewise.
37204         * wcsmbs/wmemchr.c (wmemchr): Likewise.
37205         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37206         * wcsmbs/wmemset.c (wmemset): Likewise.
37208 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
37210         * scripts/config.guess: Update to version 2013-05-16.
37211         * scripts/config.sub: Update to version 2013-04-24.
37212         * scripts/install-sh: Update to version 2011-11-20.07.
37213         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
37214         * scripts/move-if-change: Update to version 2012-01-06 07:23.
37216 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
37218         * debug/fgetws_u_chk.c: Fix leading whitespaces.
37219         * elf/sln.c: Likewise.
37220         * hurd/hurd/ioctl.h: Likewise.
37221         * hurd/hurdmalloc.c: Likewise.
37222         * hurd/xattr.c: Likewise.
37223         * include/shlib-compat.h: Likewise.
37224         * inet/ruserpass.c: Likewise.
37225         * libio/iofgets_u.c: Likewise.
37226         * libio/iofgetws_u.c: Likewise.
37227         * locale/programs/ld-identification.c: Likewise.
37228         * locale/programs/ld-time.c: Likewise.
37229         * mach/msg-destroy.c: Likewise.
37230         * nss/nss_files/files-netgrp.c: Likewise.
37231         * resolv/res_data.c: Likewise.
37232         * soft-fp/op-1.h: Likewise.
37233         * soft-fp/op-2.h: Likewise.
37234         * soft-fp/op-4.h: Likewise.
37235         * soft-fp/op-common.h: Likewise.
37236         * stdio-common/printf_fphex.c: Likewise.
37237         * stdlib/strtod_l.c: Likewise.
37238         * sunrpc/rpc/clnt.h: Likewise.
37239         * sysdeps/generic/framestate.c: Likewise.
37240         * sysdeps/i386/bsd-_setjmp.S: Likewise.
37241         * sysdeps/i386/bsd-setjmp.S: Likewise.
37242         * sysdeps/i386/__longjmp.S: Likewise.
37243         * sysdeps/i386/setjmp.S: Likewise.
37244         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37245         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37246         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37247         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37248         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37249         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37250         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37251         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37252         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37253         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37254         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37255         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37256         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37257         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37258         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37259         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37260         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37261         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
37262         * sysdeps/ieee754/support.c: Likewise.
37263         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37264         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
37265         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
37266         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
37267         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
37268         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
37269         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
37270         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
37271         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
37272         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
37273         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
37274         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
37275         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
37276         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
37277         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
37278         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
37279         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
37282 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
37284         * posix/transbug.c: Remove executable mode.
37286 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
37288         * crypt/speeds.c: Remove trailing whitespace.
37289         * dlfcn/default.c: Likewise.
37290         * elf/ifuncdep2.c: Likewise.
37291         * elf/ifuncmain1.c: Likewise.
37292         * elf/ifuncmain1vis.c: Likewise.
37293         * elf/testobj.h: Likewise.
37294         * elf/tst-stackguard1.c: Likewise.
37295         * gmon/sys/gmon.h: Likewise.
37296         * hurd/hurdmsg.c: Likewise.
37297         * hurd/new-fd.c: Likewise.
37298         * hurd/ports-get.c: Likewise.
37299         * iconvdata/ibm1008_420.c: Likewise.
37300         * inet/tst-getni1.c: Likewise.
37301         * inet/tst-getni2.c: Likewise.
37302         * libio/ioungetc.c: Likewise.
37303         * libio/wfiledoalloc.c: Likewise.
37304         * manual/libm-err-tab.pl: Likewise.
37305         * math/w_dremf.c: Likewise.
37306         * misc/ftruncate.c: Likewise.
37307         * posix/bug-glob2.c: Likewise.
37308         * posix/tst-pcre.c: Likewise.
37309         * posix/wait4.c: Likewise.
37310         * resolv/README: Likewise.
37311         * resolv/res_debug.h: Likewise.
37312         * resolv/tst-inet_ntop.c: Likewise.
37313         * setjmp/bug269-setjmp.c: Likewise.
37314         * soft-fp/extended.h: Likewise.
37315         * soft-fp/op-1.h: Likewise.
37316         * soft-fp/op-2.h: Likewise.
37317         * soft-fp/op-4.h: Likewise.
37318         * soft-fp/op-8.h: Likewise.
37319         * soft-fp/testit.c: Likewise.
37320         * stdio-common/bug16.c: Likewise.
37321         * stdlib/random.c: Likewise.
37322         * sunrpc/rpcsvc/rquota.x: Likewise.
37323         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
37324         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37325         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37326         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37327         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37328         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37329         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37330         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37331         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37332         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37333         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37334         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37335         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37336         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37337         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37338         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37339         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37340         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37341         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37342         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37343         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37344         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37345         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
37346         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37347         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37348         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37349         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37350         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37351         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37352         * sysdeps/ieee754/s_lib_version.c: Likewise.
37353         * sysdeps/mach/hurd/check_fds.c: Likewise.
37354         * sysdeps/mach/hurd/getsockname.c: Likewise.
37355         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
37356         * sysdeps/mach/hurd/recvfrom.c: Likewise.
37357         * sysdeps/powerpc/bits/link.h: Likewise.
37358         * sysdeps/powerpc/dl-procinfo.c: Likewise.
37359         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
37360         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
37361         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
37362         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37363         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37364         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
37365         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37366         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
37367         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37368         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
37369         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
37370         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
37371         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37372         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37373         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37374         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
37375         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
37376         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37377         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37378         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37379         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
37380         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37381         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
37382         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
37383         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
37384         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
37385         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37386         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37387         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
37388         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
37389         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
37390         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37391         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37392         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
37393         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37394         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
37395         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
37396         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
37397         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
37398         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
37399         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
37400         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
37401         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
37402         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
37403         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
37404         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
37405         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
37406         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
37407         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
37408         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37409         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37410         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37411         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37412         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
37413         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
37414         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
37415         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37416         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
37417         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
37418         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
37419         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
37420         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
37421         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37422         * sysdeps/powerpc/sysdep.h: Likewise.
37423         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37424         * sysdeps/s390/s390-64/sub_n.S: Likewise.
37425         * sysdeps/sh/dl-trampoline.S: Likewise.
37426         * sysdeps/sh/memset.S: Likewise.
37427         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
37428         * sysdeps/sh/strlen.S: Likewise.
37429         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
37430         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
37431         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
37432         * sysdeps/sparc/sparc32/rem.S: Likewise.
37433         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
37434         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
37435         * sysdeps/sparc/sparc32/strchr.S: Likewise.
37436         * sysdeps/sparc/sparc32/udiv.S: Likewise.
37437         * sysdeps/sparc/sparc32/urem.S: Likewise.
37438         * sysdeps/sparc/sparc64/add_n.S: Likewise.
37439         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37440         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
37441         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
37442         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
37443         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
37444         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
37445         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
37446         * sysdeps/unix/bsd/times.c: Likewise.
37447         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
37448         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
37449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
37450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
37451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
37452         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
37453         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
37454         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
37455         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
37456         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
37457         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
37458         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37459         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
37460         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37461         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37462         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37463         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37464         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
37465         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
37466         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
37467         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
37468         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
37469         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37470         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
37471         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
37472         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
37473         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
37474         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37475         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
37476         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
37477         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
37478         * sysdeps/x86_64/strcspn.S: Likewise.
37480 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37482         * locale/C-translit.h: Revert #include <stdint.h> because this is a
37483         generated file.  Regenerate properly from gen-translit.pl.
37484         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
37485         locale/C-translit.h.
37487 2013-06-05  Andreas Schwab  <schwab@suse.de>
37489         [BZ #15100]
37490         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
37491         week as 6 instead of -1.
37492         * time/tst-strptime.c (day_tests): Add test case.
37494 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37496         * sysdeps/generic/math_private.h
37497         (libc_feholdexcept_setround_53bit): Replace with
37498         libc_feholdsetround_53bit.
37499         (libc_feupdateenv_53bit): Replace with
37500         libc_feresetround_53bit.
37501         (SET_RESTORE_ROUND_53BIT): Adjust.
37503 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37505         * string/test-strchrnul.c: Add copyright header.
37507         * posix/tst-getaddrinfo4.c: Increase test timeout.
37509 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
37511         [BZ #15536]
37512         * math/libm-test.inc (MAX_EXP): Remove
37513         (MIN_EXP): Define.
37514         (ulp): Use MIN_EXP - MANT_DIG.
37515         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
37517 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
37519         * po/be.po: Revert last change.
37520         * po/zh_CN.po: Likewise.
37521         * po/header.pot: Likewise.
37523 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
37525         * Makefile ($(common-objpfx)linkobj/libc.so): Define
37526         link-libc-deps to empty as target-specific variable.
37527         * Makerules (link-libc-args): New variable.
37528         (libc-for-link): Likewise.
37529         (link-libc-deps): Likewise.
37530         (lib%.so): Depend on $(link-libc-deps).  Link with
37531         $(link-libc-args).
37532         (build-module): Link with $(link-libc-args).
37533         (build-module-asneeded): Likewise.
37534         (build-module-helper-objlist): Filter out $(link-libc-deps) from
37535         list of objects.
37536         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
37537         target-specific variable.
37538         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
37539         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
37540         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
37541         libc.
37542         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
37543         libc and ld.so.
37544         ($(objpfx)libpcprofile.so): Likewise.
37545         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
37546         libc_nonshared.a.
37547         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
37548         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
37549         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
37550         $(link-libc-deps).
37551         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
37552         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
37553         * login/Makefile ($(objpfx)libutil.so): Likewise.
37554         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
37555         * math/Makefile ($(objpfx)libm.so): Likewise.
37556         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
37557         $(objpfx)libnsl.so): Define libc-for-link as target-specific
37558         variable instead of depending directly on libc.
37559         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
37560         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
37561         $(link-libc-deps).
37562         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
37563         libc.
37564         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
37565         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
37566         ($(objpfx)libanl.so): Likewise.
37567         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
37568         ld.so.
37569         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
37570         $(link-libc-deps).
37571         * sysdeps/i386/fpu/Makefile: Remove file.
37572         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
37573         ($(objpfx)libm.so): Remove dependency on ld.so.
37575 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
37577         [BZ # 15553]
37578         * nis/yp_xdr.c (XDRMAXNAME): Define.
37579         (XDRMAXRECORD): Define.
37580         (xdr_domainname): Use XDRMAXNAME.
37581         (xdr_mapname): Likewise.
37582         (xdr_peername): Likewise.
37583         (xdr_keydat): Use XDRMAXRECORD.
37584         (xdr_valdat): Likewise.
37586 2013-05-30  Jeff Law  <law@redhat.com>
37588         [BZ #14256]
37589         * manual/errno.texi (ESTALE): Update to account for more than
37590         just NFS file systems.
37591         * sysdeps/gnu/errlist.c: Regenerated.
37593 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37595         [BZ #15465]
37596         * elf/Makefile (tests): Add tst-null-argv.
37597         (modules-names):  Add tst-null-argv-lib.
37598         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
37599         (tst-null-argv-ENV): Set environment for tst-null-argv.
37600         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
37601         (RTLD_PROGNAME): New macro.
37602         * elf/tst-null-argv.c: New test case.
37603         * elf/tst-null-argv-lib.c: Library for test case.
37604         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
37605         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
37606         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
37607         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
37608         * elf/dl-init.c (call_init): Likewise.
37609         (_dl_init): Likewise.
37610         * elf/dl-load.c (print_search_path): Likewise.
37611         (_dl_map_object): Likewise.
37612         * elf/dl-lookup.c (do_lookup_x): Likewise.
37613         (add_dependency): Likewise.
37614         (_dl_lookup_symbol_x): Likewise.
37615         (_dl_debug_bindings): Likewise.
37616         * elf/dl-open.c (_dl_show_scope): Likewise.
37617         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
37618         * elf/dl-version.c (match_symbol): Likewise.
37619         (_dl_check_map_versions): Likewise.
37620         * elf/rtld.c (dl_main): Likewise.
37621         (print_unresolved): Use RTLD_PROGNAME.
37622         (print_missing_version): Likewise.
37623         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
37624         (elf_machine_rela): Likewise.
37625         * sysdeps/powerpc/powerpc32/dl-machine.c
37626         (__process_machine_rela): Likewise.
37627         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37628         Likewise.
37629         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37630         Likewise.
37631         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
37632         Likewise.
37633         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37634         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
37635         Likewise.
37636         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
37637         Likewise.
37638         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37640 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
37642         * po/be.po: Add descriptive title.
37643         * po/zh_CN.po: Likewise.
37644         * po/header.pot: Likewise.
37646 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
37648         * locale/programs/locarchive.c (create_archive): Inlucde fname in
37649         error message.
37650         (enlarge_archive): Likewise.
37652 2013-05-28  Ben North  <ben@redfrontdoor.org>
37654         * manual/arith.texi (frexp): It is the magnitude of the return
37655         value which lies in [0.5, 1), not the return value itself.
37657 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37661 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
37663         * stdio-common/bug26.c (main): Correct fscanf template.
37665         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
37666         declare _dl_skip_args.
37668         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
37669         Don't declare.
37671         * manual/platform.texi: Add missing @end deftypefun.
37673 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
37675         [BZ #15529]
37676         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
37677         bit of mantissa of 2^16382.
37678         * math/libm-test.inc (hypot_test_data): Add more tests.
37680         * math/libm-test.inc: Add drem and pow10 to list of tested
37681         functions.
37682         (pow10_test): New function.
37683         (drem_test): Likewise.
37684         (drem_test_tonearest): Likewise.
37685         (drem_test_towardzero): Likewise.
37686         (drem_test_downward): Likewise.
37687         (drem_test_upward): Likewise.
37688         (main): Call the new functions.
37690         * math/libm-test.inc (finite_test_data): Remove.
37691         (finite_test): Run tests from isfinite_test_data.
37692         (gamma_test_data): Remove.
37693         (gamma_test): Run tests from lgamma_test_data.
37694         * sysdeps/i386/fpu/libm-test-ulps: Update.
37695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37697 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37699         * manual/platform.texi: Add PowerPC PPR function set documentation.
37700         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
37701         implementation.
37703 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
37705         * math/libm-test.inc (MAX_EXP): Define.
37706         (ULPDIFF): Define.
37707         (ulp): New function.
37708         (check_float_internal): Use ULPDIFF.
37709         (cpow_test): Disable failing test.
37710         (check_ulp): Test ulp() implemetnation.
37711         (main): Call check_ulp before starting tests.
37713 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
37715         * math/gen-libm-test.pl (generate_testfile): Do not handle
37716         START_DATA and END_DATA.
37717         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
37718         END_DATA.
37719         (acos_tonearest_test_data): Likewise.
37720         (acos_towardzero_test_data): Likewise.
37721         (acos_downward_test_data): Likewise.
37722         (acos_upward_test_data): Likewise.
37723         (acosh_test_data): Likewise.
37724         (asin_test_data): Likewise.
37725         (asin_tonearest_test_data): Likewise.
37726         (asin_towardzero_test_data): Likewise.
37727         (asin_downward_test_data): Likewise.
37728         (asin_upward_test_data): Likewise.
37729         (asinh_test_data): Likewise.
37730         (atan_test_data): Likewise.
37731         (atanh_test_data): Likewise.
37732         (atan2_test_data): Likewise.
37733         (cabs_test_data): Likewise.
37734         (cacos_test_data): Likewise.
37735         (cacosh_test_data): Likewise.
37736         (carg_test_data): Likewise.
37737         (casin_test_data): Likewise.
37738         (casinh_test_data): Likewise.
37739         (catan_test_data): Likewise.
37740         (catanh_test_data): Likewise.
37741         (cbrt_test_data): Likewise.
37742         (ccos_test_data): Likewise.
37743         (ccosh_test_data): Likewise.
37744         (ceil_test_data): Likewise.
37745         (cexp_test_data): Likewise.
37746         (cimag_test_data): Likewise.
37747         (clog_test_data): Likewise.
37748         (clog10_test_data): Likewise.
37749         (conj_test_data): Likewise.
37750         (copysign_test_data): Likewise.
37751         (cos_test_data): Likewise.
37752         (cos_tonearest_test_data): Likewise.
37753         (cos_towardzero_test_data): Likewise.
37754         (cos_downward_test_data): Likewise.
37755         (cos_upward_test_data): Likewise.
37756         (cosh_test_data): Likewise.
37757         (cosh_tonearest_test_data): Likewise.
37758         (cosh_towardzero_test_data): Likewise.
37759         (cosh_downward_test_data): Likewise.
37760         (cosh_upward_test_data): Likewise.
37761         (cpow_test_data): Likewise.
37762         (cproj_test_data): Likewise.
37763         (creal_test_data): Likewise.
37764         (csin_test_data): Likewise.
37765         (csinh_test_data): Likewise.
37766         (csqrt_test_data): Likewise.
37767         (ctan_test_data): Likewise.
37768         (ctan_tonearest_test_data): Likewise.
37769         (ctan_towardzero_test_data): Likewise.
37770         (ctan_downward_test_data): Likewise.
37771         (ctan_upward_test_data): Likewise.
37772         (ctanh_test_data): Likewise.
37773         (ctanh_tonearest_test_data): Likewise.
37774         (ctanh_towardzero_test_data): Likewise.
37775         (ctanh_downward_test_data): Likewise.
37776         (ctanh_upward_test_data): Likewise.
37777         (erf_test_data): Likewise.
37778         (erfc_test_data): Likewise.
37779         (exp_test_data): Likewise.
37780         (exp_tonearest_test_data): Likewise.
37781         (exp_towardzero_test_data): Likewise.
37782         (exp_downward_test_data): Likewise.
37783         (exp_upward_test_data): Likewise.
37784         (exp10_test_data): Likewise.
37785         (exp2_test_data): Likewise.
37786         (expm1_test_data): Likewise.
37787         (fabs_test_data): Likewise.
37788         (fdim_test_data): Likewise.
37789         (finite_test_data): Likewise.
37790         (floor_test_data): Likewise.
37791         (fma_test_data): Likewise.
37792         (fma_towardzero_test_data): Likewise.
37793         (fma_downward_test_data): Likewise.
37794         (fma_upward_test_data): Likewise.
37795         (fmax_test_data): Likewise.
37796         (fmin_test_data): Likewise.
37797         (fmod_test_data): Likewise.
37798         (fpclassify_test_data): Likewise.
37799         (frexp_test_data): Likewise.
37800         (gamma_test_data): Likewise.
37801         (hypot_test_data): Likewise.
37802         (ilogb_test_data): Likewise.
37803         (isfinite_test_data): Likewise.
37804         (isgreater_test_data): Likewise.
37805         (isgreaterequal_test_data): Likewise.
37806         (isinf_test_data): Likewise.
37807         (isless_test_data): Likewise.
37808         (islessequal_test_data): Likewise.
37809         (islessgreater_test_data): Likewise.
37810         (isnan_test_data): Likewise.
37811         (isnormal_test_data): Likewise.
37812         (issignaling_test_data): Likewise.
37813         (isunordered_test_data): Likewise.
37814         (j0_test_data): Likewise.
37815         (j1_test_data): Likewise.
37816         (jn_test_data): Likewise.
37817         (ldexp_test_data): Likewise.
37818         (lgamma_test_data): Likewise.
37819         (lrint_test_data): Likewise.
37820         (lrint_tonearest_test_data): Likewise.
37821         (lrint_towardzero_test_data): Likewise.
37822         (lrint_downward_test_data): Likewise.
37823         (lrint_upward_test_data): Likewise.
37824         (llrint_test_data): Likewise.
37825         (llrint_tonearest_test_data): Likewise.
37826         (llrint_towardzero_test_data): Likewise.
37827         (llrint_downward_test_data): Likewise.
37828         (llrint_upward_test_data): Likewise.
37829         (log_test_data): Likewise.
37830         (log10_test_data): Likewise.
37831         (log1p_test_data): Likewise.
37832         (log2_test_data): Likewise.
37833         (logb_test_data): Likewise.
37834         (logb_downward_test_data): Likewise.
37835         (lround_test_data): Likewise.
37836         (llround_test_data): Likewise.
37837         (modf_test_data): Likewise.
37838         (nearbyint_test_data): Likewise.
37839         (nextafter_test_data): Likewise.
37840         (nexttoward_test_data): Likewise.
37841         (pow_test_data): Likewise.
37842         (pow_tonearest_test_data): Likewise.
37843         (pow_towardzero_test_data): Likewise.
37844         (pow_downward_test_data): Likewise.
37845         (pow_upward_test_data): Likewise.
37846         (remainder_test_data): Likewise.
37847         (remainder_tonearest_test_data): Likewise.
37848         (remainder_towardzero_test_data): Likewise.
37849         (remainder_downward_test_data): Likewise.
37850         (remainder_upward_test_data): Likewise.
37851         (remquo_test_data): Likewise.
37852         (rint_test_data): Likewise.
37853         (rint_tonearest_test_data): Likewise.
37854         (rint_towardzero_test_data): Likewise.
37855         (rint_downward_test_data): Likewise.
37856         (rint_upward_test_data): Likewise.
37857         (round_test_data): Likewise.
37858         (scalb_test_data): Likewise.
37859         (scalbn_test_data): Likewise.
37860         (scalbln_test_data): Likewise.
37861         (signbit_test_data): Likewise.
37862         (sin_test_data): Likewise.
37863         (sin_tonearest_test_data): Likewise.
37864         (sin_towardzero_test_data): Likewise.
37865         (sin_downward_test_data): Likewise.
37866         (sin_upward_test_data): Likewise.
37867         (sincos_test_data): Likewise.
37868         (sinh_test_data): Likewise.
37869         (sinh_tonearest_test_data): Likewise.
37870         (sinh_towardzero_test_data): Likewise.
37871         (sinh_downward_test_data): Likewise.
37872         (sinh_upward_test_data): Likewise.
37873         (sqrt_test_data): Likewise.
37874         (tan_test_data): Likewise.
37875         (tan_tonearest_test_data): Likewise.
37876         (tan_towardzero_test_data): Likewise.
37877         (tan_downward_test_data): Likewise.
37878         (tan_upward_test_data): Likewise.
37879         (tanh_test_data): Likewise.
37880         (tgamma_test_data): Likewise.
37881         (trunc_test_data): Likewise.
37882         (y0_test_data): Likewise.
37883         (y1_test_data): Likewise.
37884         (yn_test_data): Likewise.
37885         (significand_test_data): Likewise.
37887         * math/gen-libm-test.pl (@functions): Remove variable.
37888         (generate_testfile): Don't handle START and END lines.
37889         * math/libm-test.inc (START): New macro.
37890         (END): Likewise.
37891         (END_COMPLEX): Likewise.
37892         (acos_test): Use END macro without arguments.
37893         (acos_test_tonearest): Likewise.
37894         (acos_test_towardzero): Likewise.
37895         (acos_test_downward): Likewise.
37896         (acos_test_upward): Likewise.
37897         (acosh_test): Likewise.
37898         (asin_test): Likewise.
37899         (asin_test_tonearest): Likewise.
37900         (asin_test_towardzero): Likewise.
37901         (asin_test_downward): Likewise.
37902         (asin_test_upward): Likewise.
37903         (asinh_test): Likewise.
37904         (atan_test): Likewise.
37905         (atanh_test): Likewise.
37906         (atan2_test): Likewise.
37907         (cabs_test): Likewise.
37908         (cacos_test): Use END_COMPLEX macro without arguments.
37909         (cacosh_test): Likewise.
37910         (carg_test): Use END macro without arguments.
37911         (casin_test): Use END_COMPLEX macro without arguments.
37912         (casinh_test): Likewise.
37913         (catan_test): Likewise.
37914         (catanh_test): Likewise.
37915         (cbrt_test): Use END macro without arguments.
37916         (ccos_test): Use END_COMPLEX macro without arguments.
37917         (ccosh_test): Likewise.
37918         (ceil_test): Use END macro without arguments.
37919         (cexp_test): Use END_COMPLEX macro without arguments.
37920         (cimag_test): Use END macro without arguments.
37921         (clog_test): Use END_COMPLEX macro without arguments.
37922         (clog10_test): Likewise.
37923         (conj_test): Likewise.
37924         (copysign_test): Use END macro without arguments.
37925         (cos_test): Likewise.
37926         (cos_test_tonearest): Likewise.
37927         (cos_test_towardzero): Likewise.
37928         (cos_test_downward): Likewise.
37929         (cos_test_upward): Likewise.
37930         (cosh_test): Likewise.
37931         (cosh_test_tonearest): Likewise.
37932         (cosh_test_towardzero): Likewise.
37933         (cosh_test_downward): Likewise.
37934         (cosh_test_upward): Likewise.
37935         (cpow_test): Use END_COMPLEX macro without arguments.
37936         (cproj_test): Likewise.
37937         (creal_test): Use END macro without arguments.
37938         (csin_test): Use END_COMPLEX macro without arguments.
37939         (csinh_test): Likewise.
37940         (csqrt_test): Likewise.
37941         (ctan_test): Likewise.
37942         (ctan_test_tonearest): Likewise.
37943         (ctan_test_towardzero): Likewise.
37944         (ctan_test_downward): Likewise.
37945         (ctan_test_upward): Likewise.
37946         (ctanh_test): Likewise.
37947         (ctanh_test_tonearest): Likewise.
37948         (ctanh_test_towardzero): Likewise.
37949         (ctanh_test_downward): Likewise.
37950         (ctanh_test_upward): Likewise.
37951         (erf_test): Use END macro without arguments.
37952         (erfc_test): Likewise.
37953         (exp_test): Likewise.
37954         (exp_test_tonearest): Likewise.
37955         (exp_test_towardzero): Likewise.
37956         (exp_test_downward): Likewise.
37957         (exp_test_upward): Likewise.
37958         (exp10_test): Likewise.
37959         (exp2_test): Likewise.
37960         (expm1_test): Likewise.
37961         (fabs_test): Likewise.
37962         (fdim_test): Likewise.
37963         (finite_test): Likewise.
37964         (floor_test): Likewise.
37965         (fma_test): Likewise.
37966         (fma_test_towardzero): Likewise.
37967         (fma_test_downward): Likewise.
37968         (fma_test_upward): Likewise.
37969         (fmax_test): Likewise.
37970         (fmin_test): Likewise.
37971         (fmod_test): Likewise.
37972         (fpclassify_test): Likewise.
37973         (frexp_test): Likewise.
37974         (gamma_test): Likewise.
37975         (hypot_test): Likewise.
37976         (ilogb_test): Likewise.
37977         (isfinite_test): Likewise.
37978         (isgreater_test): Likewise.
37979         (isgreaterequal_test): Likewise.
37980         (isinf_test): Likewise.
37981         (isless_test): Likewise.
37982         (islessequal_test): Likewise.
37983         (islessgreater_test): Likewise.
37984         (isnan_test): Likewise.
37985         (isnormal_test): Likewise.
37986         (issignaling_test): Likewise.
37987         (isunordered_test): Likewise.
37988         (j0_test): Likewise.
37989         (j1_test): Likewise.
37990         (jn_test): Likewise.
37991         (ldexp_test): Likewise.
37992         (lgamma_test): Likewise.
37993         (lrint_test): Likewise.
37994         (lrint_test_tonearest): Likewise.
37995         (lrint_test_towardzero): Likewise.
37996         (lrint_test_downward): Likewise.
37997         (lrint_test_upward): Likewise.
37998         (llrint_test): Likewise.
37999         (llrint_test_tonearest): Likewise.
38000         (llrint_test_towardzero): Likewise.
38001         (llrint_test_downward): Likewise.
38002         (llrint_test_upward): Likewise.
38003         (log_test): Likewise.
38004         (log10_test): Likewise.
38005         (log1p_test): Likewise.
38006         (log2_test): Likewise.
38007         (logb_test): Likewise.
38008         (logb_test_downward): Likewise.
38009         (lround_test): Likewise.
38010         (llround_test): Likewise.
38011         (modf_test): Likewise.
38012         (nearbyint_test): Likewise.
38013         (nextafter_test): Likewise.
38014         (nexttoward_test): Likewise.
38015         (pow_test): Likewise.
38016         (pow_test_tonearest): Likewise.
38017         (pow_test_towardzero): Likewise.
38018         (pow_test_downward): Likewise.
38019         (pow_test_upward): Likewise.
38020         (remainder_test): Likewise.
38021         (remainder_test_tonearest): Likewise.
38022         (remainder_test_towardzero): Likewise.
38023         (remainder_test_downward): Likewise.
38024         (remainder_test_upward): Likewise.
38025         (remquo_test): Likewise.
38026         (rint_test): Likewise.
38027         (rint_test_tonearest): Likewise.
38028         (rint_test_towardzero): Likewise.
38029         (rint_test_downward): Likewise.
38030         (rint_test_upward): Likewise.
38031         (round_test): Likewise.
38032         (scalb_test): Likewise.
38033         (scalbn_test): Likewise.
38034         (scalbln_test): Likewise.
38035         (signbit_test): Likewise.
38036         (sin_test): Likewise.
38037         (sin_test_tonearest): Likewise.
38038         (sin_test_towardzero): Likewise.
38039         (sin_test_downward): Likewise.
38040         (sin_test_upward): Likewise.
38041         (sincos_test): Likewise.
38042         (sinh_test): Likewise.
38043         (sinh_test_tonearest): Likewise.
38044         (sinh_test_towardzero): Likewise.
38045         (sinh_test_downward): Likewise.
38046         (sinh_test_upward): Likewise.
38047         (sqrt_test): Likewise.
38048         (tan_test): Likewise.
38049         (tan_test_tonearest): Likewise.
38050         (tan_test_towardzero): Likewise.
38051         (tan_test_downward): Likewise.
38052         (tan_test_upward): Likewise.
38053         (tanh_test): Likewise.
38054         (tgamma_test): Likewise.
38055         (trunc_test): Likewise.
38056         (y0_test): Likewise.
38057         (y1_test): Likewise.
38058         (yn_test): Likewise.
38059         (significand_test): Likewise.
38061 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
38063         [BZ #15381]
38064         * libio/genops.c (_IO_no_init): Initialize wide struct info.
38066 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
38068         [BZ #14894]
38069         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
38070         __ppc_mdoio and __ppc_mdoom.
38071         * manual/platform.texi: Document new functions __ppc_yield,
38072         __ppc_mdoio and __ppc_mdoom.
38074 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
38076         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
38077         (main): Mention "tls" pseudo-hwcap is legacy.
38078         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
38080 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
38082         * math/gen-libm-test.pl (parse_args): Output only string of
38083         arguments as text for test name, not full call or descriptions of
38084         tests for extra outputs.
38085         (generate_testfile): Do not pass function name to parse_args.
38086         Generate this_func variable from START.
38087         * math/libm-test.inc (struct test_f_f_data): Rename test_name
38088         field to arg_str.
38089         (struct test_ff_f_data): Likewise.
38090         (test_ff_f_data_nexttoward): Likewise.
38091         (struct test_fi_f_data): Likewise.
38092         (struct test_fl_f_data): Likewise.
38093         (struct test_if_f_data): Likewise.
38094         (struct test_fff_f_data): Likewise.
38095         (struct test_c_f_data): Likewise.
38096         (struct test_f_f1_data): Likewise.  Remove field extra_name.
38097         (struct test_fF_f1_data): Likewise.
38098         (struct test_ffI_f1_data): Likewise.
38099         (struct test_c_c_data): Rename test_name field to arg_str.
38100         (struct test_cc_c_data): Likewise.
38101         (struct test_f_i_data): Likewise.
38102         (struct test_ff_i_data): Likewise.
38103         (struct test_f_l_data): Likewise.
38104         (struct test_f_L_data): Likewise.
38105         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
38106         and extra2_name.
38107         (COMMON_TEST_SETUP): New macro.
38108         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
38109         (COMMON_TEST_CLEANUP): Likewise.
38110         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
38111         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
38112         macros.
38113         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
38114         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
38115         macros.
38116         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
38117         (RUN_TEST_fff_f): Take argument string.  Call new setup and
38118         cleanup macros.
38119         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
38120         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
38121         macros.
38122         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
38123         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
38124         macros.
38125         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
38126         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
38127         cleanup macros.
38128         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
38129         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
38130         cleanup macros.
38131         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
38132         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
38133         cleanup macros.
38134         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
38135         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
38136         macros.
38137         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
38138         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
38139         macros.
38140         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
38141         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
38142         macros.
38143         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
38144         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
38145         cleanup macros.
38146         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
38147         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
38148         cleanup macros.
38149         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
38150         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
38151         macros.
38152         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
38153         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
38154         cleanup macros.
38155         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
38156         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
38157         macros.
38158         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
38159         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
38160         macros.
38161         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
38162         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
38163         cleanup macros.
38164         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
38166 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
38168         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
38169         to _sifields.sigfault.
38170         (si_addr_lsb): Define new macro.
38171         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
38172         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38173         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
38175 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
38177         [BZ #15441]
38178         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
38179         returns -1.
38180         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
38181         null return -1.
38182         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
38183         loading the domain.
38185 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
38187         * math/gen-libm-test.pl (parse_args): Do not include expected
38188         result in test name.
38189         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
38190         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38191         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38192         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38193         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38196 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38198         * benchtests/Makefile: Sort function entries.
38200         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
38201         tanh, asinh, acosh, atanh.
38202         * benchtests/acos-inputs: New file.
38203         * benchtests/acosh-inputs: New file.
38204         * benchtests/asin-inputs: New file.
38205         * benchtests/asinh-inputs: New file.
38206         * benchtests/atanh-inputs: New file.
38207         * benchtests/cosh-inputs: New file.
38208         * benchtests/log-inputs: New file.
38209         * benchtests/sinh-inputs: New file.
38210         * benchtests/tanh-inputs: New file.
38212 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
38214         [BZ #15339]
38215         * posix/tst-getaddrinfo4.c: New test.
38216         * posix/Makefile (tests): Add it.
38218 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38220         [BZ #15339]
38221         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
38222         when no services were used.
38223         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
38224         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
38226 2013-05-21  Andreas Schwab  <schwab@suse.de>
38228         [BZ #15014]
38229         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
38230         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
38231         successful.
38232         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
38233         redundant variable declarations and reallocation of buffer when
38234         parsing as IPv6 address.  Always set NSS status when called from
38235         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
38236         buffer too small.  Correct computation of needed size.
38237         * nss/Makefile (tests): Add test-digits-dots.
38238         * nss/test-digits-dots.c: New test.
38240 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38242         * benchtests/Makefile: Remove instructions for adding
38243         benchmark tests.
38244         * benchtests/README: New file to explain how to execute and
38245         enhance the benchmark tests.
38247 2013-05-21  Andreas Schwab  <schwab@suse.de>
38249         [BZ #15493]
38250         * setjmp/Makefile (tests): Add tst-sigsetjmp.
38251         * setjmp/tst-sigsetjmp.c: New test.
38253 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
38255         * sysdeps/x86_64/memset.S (memset): New implementation.
38256         (__bzero): Likewise.
38257         (__memset_tail): New function.
38259 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
38261         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
38262         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
38263         __memcpy_sse2_unaligned ifunc selection.
38264         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38265         Add memcpy-sse2-unaligned.S.
38266         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38267         Add: __memcpy_sse2_unaligned.
38269 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
38271         [BZ #15490]
38272         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38273         math_force_eval before restoring floating-point envrionment.
38274         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
38275         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38276         Likewise.
38277         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
38278         <math_private.h>.
38279         (__nearbyintl): Use math_force_eval before restoring
38280         floating-point environment.
38281         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
38283         * math/gen-libm-test.pl (special_functions): Remove.
38284         (parse_args): Don't handle TEST_extra.  Handle functions with no
38285         return value.
38286         * math/libm-test.inc (struct test_sincos_data): Replace with
38287         struct test_fFF_11_data.
38288         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
38289         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
38290         (sincos_test_data): Change element type to struct
38291         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
38292         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
38293         RUN_TEST_LOOP_sincos.
38294         * math/README.libm-test: Don't mention special handling of
38295         individual functions.
38296         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
38297         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38298         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38299         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38300         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38303         * math/gen-libm-test.pl (get_variable): Remove function.
38304         (parse_args): Don't show pointer parameters to call in test
38305         names.  Use "extra output N" in test names for extra outputs
38306         rather than naming variables.
38308 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
38310         [BZ #15488]
38311         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
38312         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
38313         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
38314         double tests.
38315         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
38316         disable.
38317         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
38318         check_long_double.
38320         * math/gen-libm-test.pl (@tests): Remove variable.
38321         ($count): Likewise.
38322         (new_test): Remove function.
38323         (show_exceptions): New function.
38324         (special_functions): Use show_exceptions instead of new_test.
38325         (parse_args): Likewise.
38326         (generate_testfile): Pass only function name in generated call to
38327         print_max_error or print_complex_max_error.
38328         (get_ulps): Do not handle complex tests specially.
38329         (output_test): Rename to ...
38330         (get_all_ulps_for_test): ... this.  Return a string rather than
38331         printing to a file.  Require ulps to be present.
38332         (output_ulps): Generate arrays rather than #defines.
38333         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
38334         (struct ulp_data): New type.
38335         (BUILD_COMPLEX_ULP): Remove macro.
38336         (compare_ulp_data): New function.
38337         (find_ulps): Likewise.
38338         (find_test_ulps): Likewise.
38339         (find_function_ulps): Likewise.
38340         (find_complex_function_ulps): Likewise.
38341         (print_max_error): Determine allowed ulps using
38342         find_function_ulps.
38343         (print_complex_max_error): Determine allowed ulps using
38344         find_complex_function_ulps.
38345         (check_float_internal): Determine max ulps using find_test_ulps.
38346         (check_float): Do not take max_ulp parameter.  Update call to
38347         check_float_internal.
38348         (check_complex): Likewise.
38349         (check_int): Do not take max_ulp parameter.
38350         (check_long): Likewise.
38351         (check_bool): Likewise.
38352         (check_longlong): Likewise.
38353         (struct test_f_f_data): Remove max_ulp field.
38354         (struct test_ff_f_data): Likewise.
38355         (struct test_ff_f_data_nexttoward): Likewise.
38356         (struct test_fi_f_data): Likewise.
38357         (struct test_fl_f_data): Likewise.
38358         (struct test_if_f_data): Likewise.
38359         (struct test_fff_f_data): Likewise.
38360         (struct test_c_f_data): Likewise.
38361         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
38362         (struct test_fF_f1_data): Likewise.
38363         (struct test_ffI_f1_data): Likewise.
38364         (struct test_c_c_data): Remove max_ulp field.
38365         (struct test_cc_c_data): Likewise.
38366         (struct test_f_i_data): Likewise.
38367         (struct test_ff_i_data): Likewise.
38368         (struct test_f_l_data): Likewise.
38369         (struct test_f_L_data): Likewise.
38370         (struct test_sincos_data): Likewise.
38371         (RUN_TEST_f_f): Do not handle ulps.
38372         (RUN_TEST_LOOP_f_f): Likewise.
38373         (RUN_TEST_2_f): Likewise.
38374         (RUN_TEST_LOOP_2_f): Likewise.
38375         (RUN_TEST_fff_f): Likewise.
38376         (RUN_TEST_LOOP_fff_f): Likewise.
38377         (RUN_TEST_c_f): Likewise.
38378         (RUN_TEST_LOOP_c_f): Likewise.
38379         (RUN_TEST_f_f1): Likewise.
38380         (RUN_TEST_LOOP_f_f1): Likewise.
38381         (RUN_TEST_fF_f1): Likewise.
38382         (RUN_TEST_LOOP_fF_f1): Likewise.
38383         (RUN_TEST_fI_f1): Likewise.
38384         (RUN_TEST_LOOP_fI_f1): Likewise.
38385         (RUN_TEST_ffI_f1): Likewise.
38386         (RUN_TEST_LOOP_ffI_f1): Likewise.
38387         (RUN_TEST_c_c): Likewise.
38388         (RUN_TEST_LOOP_c_c): Likewise.
38389         (RUN_TEST_cc_c): Likewise.
38390         (RUN_TEST_LOOP_cc_c): Likewise.
38391         (RUN_TEST_f_i): Likewise.
38392         (RUN_TEST_LOOP_f_i): Likewise.
38393         (RUN_TEST_f_i_tg): Likewise.
38394         (RUN_TEST_LOOP_f_i_tg): Likewise.
38395         (RUN_TEST_ff_i_tg): Likewise.
38396         (RUN_TEST_LOOP_ff_i_tg): Likewise.
38397         (RUN_TEST_f_b): Likewise.
38398         (RUN_TEST_LOOP_f_b): Likewise.
38399         (RUN_TEST_f_b_tg): Likewise.
38400         (RUN_TEST_LOOP_f_b_tg): Likewise.
38401         (RUN_TEST_f_l): Likewise.
38402         (RUN_TEST_LOOP_f_l): Likewise.
38403         (RUN_TEST_f_L): Likewise.
38404         (RUN_TEST_LOOP_f_L): Likewise.
38405         (RUN_TEST_sincos): Likewise.
38406         (RUN_TEST_LOOP_sincos): Likewise.
38408 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
38410         [BZ #15480]
38411         [BZ #15485]
38412         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
38413         main case of finite arguments, set rounding mode to FE_TONEAREST
38414         and discard exceptions.
38415         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
38416         exceptions.
38417         (remainder_tonearest_test_data): New variable.
38418         (remainder_test_tonearest): New function.
38419         (remainder_towardzero_test_data): New variable.
38420         (remainder_test_towardzero): New function.
38421         (remainder_downward_test_data): New variable.
38422         (remainder_test_downward): New function.
38423         (remainder_upward_test_data): New variable.
38424         (remainder_test_upward): New function.
38425         (main): Call the new test functions.
38427         * math/libm-test.inc (struct test_f_f1_data): Remove field
38428         extra_init.
38429         (struct test_fF_f1_data): Likewise.
38430         (struct test_ffI_f1_data): Likewise.
38431         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
38432         based on value of EXTRA_EXPECTED.
38433         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
38434         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
38435         EXTRA_VAR based on value of EXTRA_EXPECTED.
38436         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
38437         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
38438         EXTRA_VAR based on value of EXTRA_EXPECTED.
38439         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
38440         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
38441         EXTRA_VAR based on value of EXTRA_EXPECTED.
38442         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
38443         * math/gen-libm-test.pl (parse_args): Don't output initializers
38444         for extra output values.
38446         * math/libm-test.inc (check_int): Expect result to be exactly
38447         equal to expected value and do not handle ulps.
38448         (check_long): Likewise.
38449         (check_longlong): Likewise.
38451         * math/libm-test.inc (ceil_test_data): Test for "inexact"
38452         exceptions.
38453         (cimag_test_data): Likewise.
38454         (conj_test_data): Likewise.
38455         (copysign_test_data): Likewise.
38456         (cproj_test_data): Likewise.
38457         (creal_test_data): Likewise.
38458         (fabs_test_data): Likewise.
38459         (fdim_test_data): Likewise.
38460         (finite_test_data): Likewise.
38461         (floor_test_data): Likewise.
38462         (fmax_test_data): Likewise.
38463         (fmin_test_data): Likewise.
38464         (fmod_test_data): Likewise.
38465         (fpclassify_test_data): Likewise.
38466         (frexp_test_data): Likewise.
38467         (ilogb_test_data): Likewise.
38468         (isfinite_test_data): Likewise.
38469         (isgreater_test_data): Likewise.
38470         (isgreaterequal_test_data): Likewise.
38471         (isinf_test_data): Likewise.
38472         (isless_test_data): Likewise.
38473         (islessequal_test_data): Likewise.
38474         (islessgreater_test_data): Likewise.
38475         (isnan_test_data): Likewise.
38476         (isnormal_test_data): Likewise.
38477         (issignaling_test_data): Likewise.
38478         (isunordered_test_data): Likewise.
38479         (ldexp_test_data): Likewise.
38480         (lrint_test_data): Likewise.
38481         (lrint_test_data) [TEST_FLOAT]: Disable one test.
38482         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
38483         (lrint_tonearest_test_data): Test for "inexact" exceptions.
38484         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
38485         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
38486         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
38487         test input.
38488         (lrint_towardzero_test_data): Test for "inexact" exceptions.
38489         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
38490         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
38491         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
38492         that test input.
38493         (lrint_downward_test_data): Test for "inexact" exceptions.
38494         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
38495         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
38496         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
38497         test input.
38498         (lrint_upward_test_data): Test for "inexact" exceptions.
38499         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
38500         test input.
38501         (llrint_test_data): Test for "inexact" exceptions.
38502         (llrint_test_data) [TEST_FLOAT]: Disable one test.
38503         (llrint_tonearest_test_data): Test for "inexact" exceptions.
38504         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
38505         (llrint_towardzero_test_data): Test for "inexact" exceptions.
38506         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
38507         (llrint_downward_test_data): Test for "inexact" exceptions.
38508         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
38509         (llrint_upward_test_data): Test for "inexact" exceptions.
38510         (logb_test_data): Likewise.
38511         (logb_downward_test_data): Likewise.
38512         (nextafter_test_data): Likewise.
38513         (nexttoward_test_data): Likewise.
38514         (remainder_test_data): Likewise.
38515         (remquo_test_data): Likewise.
38516         (scalbn_test_data): Likewise.
38517         (scalbln_test_data): Likewise.
38518         (signbit_test_data): Likewise.
38519         (sqrt_test_data): Likewise.
38520         (significand_test_data): Likewise.
38522 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38524         [BZ #15424]
38525         * benchtests/bench-modf.c (struct args): Mark arg0 as
38526         volatile.
38527         * scripts/bench.pl: Mark members of struct args as volatile.
38529 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38531         [BZ # 15497]
38532         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
38533         negative infinity on POWER6 or lower.
38534         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
38536 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
38538         [BZ #15442]
38539         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
38540         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
38541         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
38542         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
38543         (_FP_SETQNAN): New macro.
38544         (_FP_SETQNAN_SEMIRAW): Likewise.
38545         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
38546         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
38547         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
38548         (FP_EXTEND): Use _FP_FRAC_SNANP.
38549         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
38550         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
38551         into account.
38552         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
38553         New macro.
38554         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
38555         Likewise.
38557 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
38559         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
38560         with DIVIDE_BY_ZERO_EXCEPTION.
38561         (gamma_test_data): Likewise.
38562         (lgamma_test_data): Likewise.
38563         (log_test_data): Likewise.
38564         (log10_test_data): Likewise.
38565         (log2_test_data): Likewise.
38566         (tgamma_test_data): Likewise.
38568         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
38569         (acos_test_tonearest): Likewise.
38570         (acos_test_towardzero): Likewise.
38571         (acos_test_downward): Likewise.
38572         (acos_test_upward): Likewise.
38573         (acosh_test): Likewise.
38574         (asin_test): Likewise.
38575         (asin_test_tonearest): Likewise.
38576         (asin_test_towardzero): Likewise.
38577         (asin_test_downward): Likewise.
38578         (asin_test_upward): Likewise.
38579         (asinh_test): Likewise.
38580         (atan_test): Likewise.
38581         (atanh_test): Likewise.
38582         (atan2_test): Likewise.
38583         (cabs_test): Likewise.
38584         (cacos_test): Likewise.
38585         (cacosh_test): Likewise.
38586         (casin_test): Likewise.
38587         (casinh_test): Likewise.
38588         (catan_test): Likewise.
38589         (catanh_test): Likewise.
38590         (cbrt_test): Likewise.
38591         (ccos_test): Likewise.
38592         (ccosh_test): Likewise.
38593         (cexp_test): Likewise.
38594         (clog_test): Likewise.
38595         (clog10_test): Likewise.
38596         (cos_test): Likewise.
38597         (cos_test_tonearest): Likewise.
38598         (cos_test_towardzero): Likewise.
38599         (cos_test_downward): Likewise.
38600         (cos_test_upward): Likewise.
38601         (cosh_test): Likewise.
38602         (cosh_test_tonearest): Likewise.
38603         (cosh_test_towardzero): Likewise.
38604         (cosh_test_downward): Likewise.
38605         (cosh_test_upward): Likewise.
38606         (cpow_test): Likewise.
38607         (csin_test): Likewise.
38608         (csinh_test): Likewise.
38609         (csqrt_test): Likewise.
38610         (ctan_test): Likewise.
38611         (ctan_test_tonearest): Likewise.
38612         (ctan_test_towardzero): Likewise.
38613         (ctan_test_downward): Likewise.
38614         (ctan_test_upward): Likewise.
38615         (ctanh_test): Likewise.
38616         (ctanh_test_tonearest): Likewise.
38617         (ctanh_test_towardzero): Likewise.
38618         (ctanh_test_downward): Likewise.
38619         (ctanh_test_upward): Likewise.
38620         (erf_test): Likewise.
38621         (erfc_test): Likewise.
38622         (exp_test): Likewise.
38623         (exp_test_tonearest): Likewise.
38624         (exp_test_towardzero): Likewise.
38625         (exp_test_downward): Likewise.
38626         (exp_test_upward): Likewise.
38627         (exp10_test): Likewise.
38628         (exp2_test): Likewise.
38629         (expm1_test): Likewise.
38630         (fmod_test): Likewise.
38631         (gamma_test): Likewise.
38632         (hypot_test): Likewise.
38633         (j0_test): Likewise.
38634         (j1_test): Likewise.
38635         (jn_test): Likewise.
38636         (lgamma_test): Likewise.
38637         (log_test): Likewise.
38638         (log10_test): Likewise.
38639         (log1p_test): Likewise.
38640         (log2_test): Likewise.
38641         (logb_test_downward): Likewise.
38642         (pow_test): Likewise.
38643         (pow_test_tonearest): Likewise.
38644         (pow_test_towardzero): Likewise.
38645         (pow_test_downward): Likewise.
38646         (pow_test_upward): Likewise.
38647         (remainder_test): Likewise.
38648         (remquo_test): Likewise.
38649         (sin_test): Likewise.
38650         (sin_test_tonearest): Likewise.
38651         (sin_test_towardzero): Likewise.
38652         (sin_test_downward): Likewise.
38653         (sin_test_upward): Likewise.
38654         (sincos_test): Likewise.
38655         (sinh_test): Likewise.
38656         (sinh_test_tonearest): Likewise.
38657         (sinh_test_towardzero): Likewise.
38658         (sinh_test_downward): Likewise.
38659         (sinh_test_upward): Likewise.
38660         (sqrt_test): Likewise.
38661         (tan_test): Likewise.
38662         (tan_test_tonearest): Likewise.
38663         (tan_test_towardzero): Likewise.
38664         (tan_test_downward): Likewise.
38665         (tan_test_upward): Likewise.
38666         (tanh_test): Likewise.
38667         (tgamma_test): Likewise.
38668         (y0_test): Likewise.
38669         (y1_test): Likewise.
38670         (yn_test): Likewise.
38672         * math/gen-libm-test.pl (adjust_arg): Remove function.
38673         (special_function): Remove argument $in_func.  Only handle
38674         generating output for tables of tests, not inside functions.
38675         (parse_args): Likewise.
38676         (generate_testfile): Remove variable $in_func.  Update call to
38677         parse_args.
38678         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
38679         (MINUS_ZERO_INIT): Rename macro to minus_zero.
38680         (PLUS_INFTY_INIT): Rename macro to plus_infty.
38681         (MINUS_INFTY_INIT): Rename macro to minus_infty.
38682         (QNAN_VALUE_INIT): Rename macro to qnan_value.
38683         (MAX_VALUE_INIT): Rename macro to max_value.
38684         (MIN_VALUE_INIT): Rename macro to min_value.
38685         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
38686         (plus_zero): Remove variable.
38687         (minus_zero): Likewise.
38688         (plus_infty): Likewise.
38689         (minus_infty): Likewise.
38690         (qnan_value): Likewise.
38691         (max_value): Likewise.
38692         (min_value): Likewise.
38693         (min_subnorm_value): Likewise.
38695 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38697         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
38698         uint64_t or uint32_t usage.
38699         * crypt/sha256-block.c: Likewise.
38700         * crypt/sha256-crypt.c: Likewise.
38701         * crypt/sha256.c: Likewise.
38702         * crypt/sha512-block.c: Likewise.
38703         * crypt/sha512-crypt.c: Likewise.
38704         * crypt/sha512.c: Likewise.
38705         * debug/backtrace-tst.c: Likewise.
38706         * debug/pcprofiledump.c: Likewise.
38707         * elf/cache.c: Likewise.
38708         * elf/dl-cache.c: Likewise.
38709         * elf/dl-misc.c: Likewise.
38710         * elf/dl-profile.c: Likewise.
38711         * elf/dl-support.c: Likewise.
38712         * elf/ldconfig.c: Likewise.
38713         * elf/sprof.c: Likewise.
38714         * iconv/dummy-repertoire.c: Likewise.
38715         * iconv/iconv_charmap.c: Likewise.
38716         * iconv/skeleton.c: Likewise.
38717         * iconvdata/8bit-generic.c: Likewise.
38718         * iconvdata/cp737.h: Likewise.
38719         * iconvdata/cp775.h: Likewise.
38720         * iconvdata/ibm1008.h: Likewise.
38721         * iconvdata/ibm1025.h: Likewise.
38722         * iconvdata/ibm1046.h: Likewise.
38723         * iconvdata/ibm1097.h: Likewise.
38724         * iconvdata/ibm1112.h: Likewise.
38725         * iconvdata/ibm1122.h: Likewise.
38726         * iconvdata/ibm1123.h: Likewise.
38727         * iconvdata/ibm1124.h: Likewise.
38728         * iconvdata/ibm1129.h: Likewise.
38729         * iconvdata/ibm1130.h: Likewise.
38730         * iconvdata/ibm1132.h: Likewise.
38731         * iconvdata/ibm1133.h: Likewise.
38732         * iconvdata/ibm1137.h: Likewise.
38733         * iconvdata/ibm1140.h: Likewise.
38734         * iconvdata/ibm1141.h: Likewise.
38735         * iconvdata/ibm1142.h: Likewise.
38736         * iconvdata/ibm1143.h: Likewise.
38737         * iconvdata/ibm1144.h: Likewise.
38738         * iconvdata/ibm1145.h: Likewise.
38739         * iconvdata/ibm1146.h: Likewise.
38740         * iconvdata/ibm1147.h: Likewise.
38741         * iconvdata/ibm1148.h: Likewise.
38742         * iconvdata/ibm1149.h: Likewise.
38743         * iconvdata/ibm1153.h: Likewise.
38744         * iconvdata/ibm1154.h: Likewise.
38745         * iconvdata/ibm1155.h: Likewise.
38746         * iconvdata/ibm1156.h: Likewise.
38747         * iconvdata/ibm1157.h: Likewise.
38748         * iconvdata/ibm1158.h: Likewise.
38749         * iconvdata/ibm1160.h: Likewise.
38750         * iconvdata/ibm1161.h: Likewise.
38751         * iconvdata/ibm1162.h: Likewise.
38752         * iconvdata/ibm1163.h: Likewise.
38753         * iconvdata/ibm1164.h: Likewise.
38754         * iconvdata/ibm1166.h: Likewise.
38755         * iconvdata/ibm1167.h: Likewise.
38756         * iconvdata/ibm12712.h: Likewise.
38757         * iconvdata/ibm1390.h: Likewise.
38758         * iconvdata/ibm1399.h: Likewise.
38759         * iconvdata/ibm16804.h: Likewise.
38760         * iconvdata/ibm4517.h: Likewise.
38761         * iconvdata/ibm4899.h: Likewise.
38762         * iconvdata/ibm4909.h: Likewise.
38763         * iconvdata/ibm4971.h: Likewise.
38764         * iconvdata/ibm5347.h: Likewise.
38765         * iconvdata/ibm803.h: Likewise.
38766         * iconvdata/ibm856.h: Likewise.
38767         * iconvdata/ibm901.h: Likewise.
38768         * iconvdata/ibm902.h: Likewise.
38769         * iconvdata/ibm9030.h: Likewise.
38770         * iconvdata/ibm9066.h: Likewise.
38771         * iconvdata/ibm921.h: Likewise.
38772         * iconvdata/ibm922.h: Likewise.
38773         * iconvdata/ibm9448.h: Likewise.
38774         * iconvdata/isiri-3342.h: Likewise.
38775         * iconvdata/jis0201.h: Likewise.
38776         * include/link.h: Likewise.
38777         * include/netdb.h: Likewise.
38778         * inet/check_native.c: Likewise.
38779         * inet/check_pf.c: Likewise.
38780         * inet/getipv4sourcefilter.c: Likewise.
38781         * inet/getnameinfo.c: Likewise.
38782         * inet/getsourcefilter.c: Likewise.
38783         * inet/htonl.c: Likewise.
38784         * inet/setipv4sourcefilter.c: Likewise.
38785         * inet/setsourcefilter.c: Likewise.
38786         * inet/test-inet6_opt.c: Likewise.
38787         * inet/tst-network.c: Likewise.
38788         * locale/C-collate.c: Likewise.
38789         * locale/C-ctype.c: Likewise.
38790         * locale/C-time.c: Likewise.
38791         * locale/C-translit.h: Likewise.
38792         * locale/loadarchive.c: Likewise.
38793         * locale/programs/3level.h: Likewise.
38794         * locale/programs/charmap.c: Likewise.
38795         * locale/programs/charmap.h: Likewise.
38796         * locale/programs/ld-address.c: Likewise.
38797         * locale/programs/ld-collate.c: Likewise.
38798         * locale/programs/ld-ctype.c: Likewise.
38799         * locale/programs/ld-identification.c: Likewise.
38800         * locale/programs/ld-measurement.c: Likewise.
38801         * locale/programs/ld-messages.c: Likewise.
38802         * locale/programs/ld-monetary.c: Likewise.
38803         * locale/programs/ld-name.c: Likewise.
38804         * locale/programs/ld-numeric.c: Likewise.
38805         * locale/programs/ld-paper.c: Likewise.
38806         * locale/programs/ld-telephone.c: Likewise.
38807         * locale/programs/ld-time.c: Likewise.
38808         * locale/programs/linereader.c: Likewise.
38809         * locale/programs/locale.c: Likewise.
38810         * locale/programs/locarchive.c: Likewise.
38811         * locale/programs/locfile.h: Likewise.
38812         * locale/programs/repertoire.c: Likewise.
38813         * locale/programs/simple-hash.c: Likewise.
38814         * locale/programs/simple-hash.h: Likewise.
38815         * malloc/memusage.c: Likewise.
38816         * malloc/memusagestat.c: Likewise.
38817         * nis/nis_defaults.c: Likewise.
38818         * nis/nis_hash.c: Likewise.
38819         * nis/nis_print.c: Likewise.
38820         * nis/nis_xdr.c: Likewise.
38821         * nscd/connections.c: Likewise.
38822         * nscd/hstcache.c: Likewise.
38823         * nscd/nscd_gethst_r.c: Likewise.
38824         * nscd/nscd_getserv_r.c: Likewise.
38825         * nscd/nscd_helper.c: Likewise.
38826         * nscd/servicescache.c: Likewise.
38827         * nss/makedb.c: Likewise.
38828         * nss/nss_db/db-XXX.c: Likewise.
38829         * nss/nss_db/db-initgroups.c: Likewise.
38830         * nss/nss_db/db-netgrp.c: Likewise.
38831         * nss/nss_files/files-network.c: Likewise.
38832         * nss/nss_files/files-parse.c: Likewise.
38833         * posix/bug-regex5.c: Likewise.
38834         * posix/fnmatch_loop.c: Likewise.
38835         * posix/regcomp.c: Likewise.
38836         * posix/regexec.c: Likewise.
38837         * posix/tst-rfc3484-2.c: Likewise.
38838         * posix/tst-rfc3484-3.c: Likewise.
38839         * posix/tst-rfc3484.c: Likewise.
38840         * resolv/nss_dns/dns-canon.c: Likewise.
38841         * resolv/nss_dns/dns-network.c: Likewise.
38842         * resolv/res_init.c: Likewise.
38843         * resolv/res_mkquery.c: Likewise.
38844         * resolv/tst-aton.c: Likewise.
38845         * stdlib/cxa_atexit.c: Likewise.
38846         * stdlib/cxa_finalize.c: Likewise.
38847         * stdlib/gen-fpioconst.c: Likewise.
38848         * stdlib/strtol_l.c: Likewise.
38849         * string/tst-endian.c: Likewise.
38850         * sunrpc/auth_des.c: Likewise.
38851         * sunrpc/clnt_udp.c: Likewise.
38852         * sunrpc/rtime.c: Likewise.
38853         * sunrpc/svcauth_des.c: Likewise.
38854         * sunrpc/xdr.c: Likewise.
38855         * sunrpc/xdr_intXX_t.c: Likewise.
38856         * sunrpc/xdr_rec.c: Likewise.
38857         * sysdeps/generic/ldconfig.h: Likewise.
38858         * sysdeps/generic/ldsodefs.h: Likewise.
38859         * sysdeps/generic/memusage.h: Likewise.
38860         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38861         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
38862         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
38863         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38864         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38865         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38866         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38867         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38868         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38869         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38870         * sysdeps/posix/getaddrinfo.c: Likewise.
38871         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38872         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38873         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38874         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38875         * sysdeps/powerpc/test-gettimebase.c: Likewise.
38876         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38877         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
38878         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
38879         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
38880         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
38881         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38882         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38883         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
38884         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
38885         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
38886         * sysdeps/x86_64/dl-tls.h: Likewise.
38887         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
38888         * time/alt_digit.c: Likewise.
38889         * time/era.c: Likewise.
38890         * wcsmbs/tst-c16c32-1.c: Likewise.
38892 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
38894         * math/libm-test.inc (struct test_sincos_data): New type.
38895         (RUN_TEST_LOOP_sincos): New macro.
38896         (sincos_test_data): New variable.
38897         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
38899 2013-05-16  Richard Henderson  <rth@redhat.com>
38901         * math/atest-exp2.c (LIMB64): New macro.
38902         (CONSTSZ): New macro.
38903         (mp_exp1, mp_exp_m1, mp_log2): New variables.
38904         (hexdig): Move ...
38905         (print_mpn_fp): ... to function scope.
38906         (read_mpn_hex): Remove.
38907         (get_log2): Remove.
38908         (exp2_mpn): Use mp_log2.
38909         (main): Use mp_exp1.
38911 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
38913         * math/libm-test.inc: Remove comment about not testing "inexact"
38914         exceptions.
38915         (INEXACT_EXCEPTION): New macro.
38916         (NO_INEXACT_EXCEPTION): Likewise.
38917         (INVALID_EXCEPTION_OK): Update value.
38918         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38919         (OVERFLOW_EXCEPTION_OK): Likewise.
38920         (UNDERFLOW_EXCEPTION_OK): Likewise.
38921         (IGNORE_ZERO_INF_SIGN): Likewise.
38922         (ERRNO_UNCHANGED): Likewise.
38923         (ERRNO_EDOM): Likewise.
38924         (ERRNO_ERANGE): Likewise.
38925         (test_exceptions): Handle testing "inexact" exceptions.
38926         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
38927         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
38928         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
38929         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
38930         INEXACT_EXCEPTION.
38931         (rint_towardzero_test_data): Likewise.
38932         (rint_downward_test_data): Likewise.
38933         (rint_upward_test_data): Likewise.
38935         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
38936         with OVERFLOW_EXCEPTION.
38937         (exp10_test_data): Likewise.
38938         (exp2_test_data): Likewise.
38939         (expm1_test_data): Likewise.
38940         (lgamma_test_data): Likewise.
38941         (pow_test_data): Likewise.
38942         (tgamma_test_data): Likewise.
38943         (yn_test_data): Remove duplicate test of overflow.
38945         * math/libm-test.inc (struct test_cc_c_data): New type.
38946         (RUN_TEST_LOOP_cc_c): New macro.
38947         (cpow_test_data): New variable.
38948         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
38950         * math/libm-test.inc (struct test_f_L_data): New type.
38951         (RUN_TEST_LOOP_f_L): New macro.
38952         (llrint_test_data): New variable.
38953         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
38954         (llrint_tonearest_test_data): New variable.
38955         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
38956         (llrint_towardzero_test_data): New variable.
38957         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
38958         (llrint_downward_test_data): New variable.
38959         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
38960         (llrint_upward_test_data): New variable.
38961         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
38962         (llround_test_data): New variable.
38963         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
38965 2013-05-13  Peter Collingbourne  <pcc@google.com>
38967         * math/atest-exp2.c (get_log2): Remove const attribute.
38969 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
38971         * math/libm-test.inc (struct test_f_l_data): New type.
38972         (RUN_TEST_LOOP_f_l): New macro.
38973         (lrint_test_data): New variable.
38974         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
38975         (lrint_tonearest_test_data): New variable.
38976         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
38977         (lrint_towardzero_test_data): New variable.
38978         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
38979         (lrint_downward_test_data): New variable.
38980         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
38981         (lrint_upward_test_data): New variable.
38982         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
38983         (lround_test_data): New variable.
38984         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
38986 2013-05-15  Peter Collingbourne  <pcc@google.com>
38988         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
38989         (EXTRACT_WORDS64) Use where appropriate.
38990         (INSERT_WORDS64) Likewise.
38992         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
38993         constraints with x constraints.
38994         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
38996         * malloc/obstack.c (_obstack_compat): Add initializer.
38998 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
39000         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
39001         si_trapno and add si_addr_lsb to _sifields.sigfault.
39002         (si_trapno): Remove macro.
39003         (si_addr_lsb): Define new macro.
39004         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
39006 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
39008         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
39009         instead of TEST_f_l.
39010         (llrint_test_tonearest): Likewise.
39011         (llrint_test_towardzero): Likewise.
39012         (llrint_test_downward): Likewise.
39013         (llrint_test_upward): Likewise.
39014         (llround_test): Likewise.
39016         * math/libm-test.inc (struct test_f_i_data): Add comment.
39017         (RUN_TEST_LOOP_f_b): New macro.
39018         (RUN_TEST_LOOP_f_b_tg): Likewise.
39019         (finite_test_data): New variable.
39020         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
39021         (isfinite_test_data): New variable.
39022         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39023         (isinf_test_data): New variable.
39024         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39025         (isnan_test_data): New variable.
39026         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39027         (isnormal_test_data): New variable.
39028         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39029         (issignaling_test_data): New variable.
39030         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39031         (signbit_test_data): New variable.
39032         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39034         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
39035         with INVALID_EXCEPTION.
39036         (acosh_test_data): Likewise.
39037         (asin_test_data): Likewise.
39038         (atanh_test_data): Likewise.
39039         (fmod_test_data): Likewise.
39040         (log_test_data): Likewise.
39041         (log10_test_data): Likewise.
39042         (log2_test_data): Likewise.
39043         (pow_test_data): Likewise.
39044         (sqrt_test_data): Likewise.
39045         (y0_test_data): Likewise.
39046         (y1_test_data): Likewise.
39047         (yn_test_data): Likewise.
39049         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
39050         function contents.
39052         * math/libm-test.inc (struct test_ff_i_data): New type.
39053         (RUN_TEST_LOOP_ff_i_tg): New macro.
39054         (isgreater_test_data): New variable.
39055         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39056         (isgreaterequal_test_data): New variable.
39057         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39058         (isless_test_data): New variable.
39059         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39060         (islessequal_test_data): New variable.
39061         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39062         (islessgreater_test_data): New variable.
39063         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39064         (isunordered_test_data): New variable.
39065         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39067 2013-05-14  David S. Miller  <davem@davemloft.net>
39069         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39071 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
39073         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
39075         * math/libm-test.inc (struct test_fF_f1_data): Change type of
39076         extra_test to int.
39077         (struct test_f_i_data): Change type of max_ulp to int.
39079         * math/libm-test.inc (test_ffI_f1_data): New type.
39080         (RUN_TEST_LOOP_ffI_f1): New macro.
39081         (remquo_test_data): New variable.
39082         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
39084         * setjmp/tst-setjmp-fp.c: New file.
39085         * setjmp/Makefile (tests): Add tst-setjmp-fp.
39086         (link-libm): New variable.
39087         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
39089         * math/libm-test.inc (struct test_f_i_data): New type.
39090         (RUN_TEST_LOOP_f_i): New macro.
39091         (RUN_TEST_LOOP_f_i_tg): Likewise.
39092         (fpclassify_test_data): New variable.
39093         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
39094         (ilogb_test_data): New variable.
39095         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
39097         * math/libm-test.inc (scalbln_test): Correct function name in END
39098         call.
39100         * math/libm-test.inc (struct test_f_f1_data): Add comment.
39101         (RUN_TEST_LOOP_fI_f1): New macro.
39102         (frexp_test_data): New variable.
39103         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
39105         * math/libm-test.inc (struct test_fF_f1_data): New type.
39106         (RUN_TEST_LOOP_fF_f1): New macro.
39107         (modf_test_data): New variable.
39108         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
39110         * math/libm-test.inc (struct test_f_f1_data): New type.
39111         (RUN_TEST_LOOP_f_f1): New macro.
39112         (gamma_test_data): New variable.
39113         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
39114         (lgamma_test_data): New variable.
39115         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
39117 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
39119         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
39120         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
39121         (main): Comment "tls" pseudo-hwcap.
39123 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
39125         * math/libm-test.inc (struct test_fl_f_data): New type.
39126         (RUN_TEST_LOOP_fl_f): New variable.
39127         (scalbln_test_data): New variable.
39128         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
39130         * math/libm-test.inc (struct test_fi_f_data): New type.
39131         (RUN_TEST_LOOP_fi_f): New macro.
39132         (ldexp_test_data): New variable.
39133         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
39134         (scalbn_test_data): New variable.
39135         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
39137         * math/libm-test.inc (struct test_c_f_data): New type.
39138         (RUN_TEST_LOOP_c_f): New macro.
39139         (cabs_test_data): New variable.
39140         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
39141         (carg_test_data): New variable.
39142         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
39143         (cimag_test_data): New variable.
39144         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
39145         (creal_test_data): New variable.
39146         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
39148         * math/libm-test.inc (struct test_if_f_data): New type.
39149         (RUN_TEST_LOOP_if_f): New macro.
39150         (jn_test_data): New variable.
39151         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
39152         (yn_test_data): New variable.
39153         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
39155         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
39157 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39159         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
39160         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
39162 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39164         * benchtests/Makefile (CPPFLAGS-nonlib): Add
39165         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
39166         (bench-deps): Add bench-timing.h.
39167         * benchtests-bench-skeleton.c: Include bench-timing.h.
39168         (main): Use TIMING_* macros instead of clock_gettime.
39169         * benchtests/bench-timing.h: New file.
39171         [BZ #14582]
39172         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
39173         Renamed from _LIB_VERSION.
39174         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
39176 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
39178         * math/libm-test.inc (struct test_fff_f_data): New type.
39179         (RUN_TEST_LOOP_fff_f): New macro.
39180         (fma_test_data): New variable.
39181         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
39182         (fma_towardzero_test_data): New variable.
39183         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
39184         (fma_downward_test_data): New variable.
39185         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
39186         (fma_upward_test_data): New variable.
39187         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
39189         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
39190         (struct test_c_c_data): New type.
39191         (RUN_TEST_LOOP_c_c): New macro.
39192         (cacos_test_data): New variable.
39193         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
39194         (cacosh_test_data): New variable.
39195         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
39196         (casin_test_data): New variable.
39197         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
39198         (casinh_test_data): New variable.
39199         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
39200         (catan_test_data): New variable.
39201         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
39202         (catanh_test_data): New variable.
39203         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
39204         (ccos_test_data): New variable.
39205         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
39206         (ccosh_test_data): New variable.
39207         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
39208         (cexp_test_data): New variable.
39209         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
39210         (clog_test_data): New variable.
39211         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
39212         (clog10_test_data): New variable.
39213         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
39214         (conj_test_data): New variable.
39215         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
39216         (cproj_test_data): New variable.
39217         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
39218         (csin_test_data): New variable.
39219         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
39220         (csinh_test_data): New variable.
39221         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
39222         (csqrt_test_data): New variable.
39223         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
39224         (ctan_test_data): New variable.
39225         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
39226         (ctan_tonearest_test_data): New variable.
39227         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
39228         (ctan_towardzero_test_data): New variable.
39229         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
39230         (ctan_downward_test_data): New variable.
39231         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
39232         (ctan_upward_test_data): New variable.
39233         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
39234         (ctanh_test_data): New variable.
39235         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
39236         (ctanh_tonearest_test_data): New variable.
39237         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
39238         (ctanh_towardzero_test_data): New variable.
39239         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
39240         (ctanh_downward_test_data): New variable.
39241         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
39242         (ctanh_upward_test_data): New variable.
39243         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
39244         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
39245         of BUILD_COMPLEX.
39247         * math/libm-test.inc (struct test_ff_f_data): New type.
39248         (struct test_ff_f_data_nexttoward): Likewise.
39249         (RUN_TEST_LOOP_2_f): New macro.
39250         (RUN_TEST_LOOP_ff_f): Likewise.
39251         (atan2_test_data): New variable.
39252         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
39253         (copysign_test_data): New variable.
39254         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
39255         (fdim_test_data): New variable.
39256         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
39257         (fmax_test_data): New variable.
39258         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
39259         (fmin_test_data): New variable.
39260         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
39261         (fmod_test_data): New variable.
39262         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
39263         (hypot_test_data): New variable.
39264         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
39265         (nextafter_test_data): New variable.
39266         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
39267         (nexttoward_test_data): New variable.
39268         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
39269         (pow_test_data): New variable.
39270         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
39271         (pow_tonearest_test_data): New variable.
39272         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
39273         (pow_towardzero_test_data): New variable.
39274         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
39275         (pow_downward_test_data): New variable.
39276         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
39277         (pow_upward_test_data): New variable.
39278         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
39279         (remainder_test_data): New variable.
39280         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
39281         (scalb_test_data): New variable.
39282         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
39283         * sysdeps/i386/fpu/libm-test-ulps: Update.
39285 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
39287         * math/libm-test.inc (fma_test): Use max_value instead of local
39288         variable fltmax.
39289         (nextafter_test): Likewise.
39291         * math/libm-test.inc (acos_towardzero_test_data): New variable.
39292         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39293         (acos_downward_test_data): New variable.
39294         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39295         (acos_upward_test_data): New variable.
39296         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39297         (acosh_test_data): New variable.
39298         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
39299         (asin_test_data): New variable.
39300         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
39301         (asin_tonearest_test_data): New variable.
39302         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39303         (asin_towardzero_test_data): New variable.
39304         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39305         (asin_downward_test_data): New variable.
39306         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39307         (asin_upward_test_data): New variable.
39308         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39309         (asinh_test_data): New variable.
39310         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
39311         (atan_test_data): New variable.
39312         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
39313         (atanh_test_data): New variable.
39314         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
39315         (cbrt_test_data): New variable.
39316         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
39317         (ceil_test_data): New variable.
39318         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
39319         (cos_test_data): New variable.
39320         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
39321         (cos_tonearest_test_data): New variable.
39322         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39323         (cos_towardzero_test_data): New variable.
39324         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39325         (cos_downward_test_data): New variable.
39326         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39327         (cos_upward_test_data): New variable.
39328         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39329         (cosh_test_data): New variable.
39330         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
39331         (cosh_tonearest_test_data): New variable.
39332         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39333         (cosh_towardzero_test_data): New variable.
39334         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39335         (cosh_downward_test_data): New variable.
39336         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39337         (cosh_upward_test_data): New variable.
39338         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39339         (erf_test_data): New variable.
39340         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
39341         (erfc_test_data): New variable.
39342         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
39343         (exp_test_data): New variable.
39344         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
39345         (exp_tonearest_test_data): New variable.
39346         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39347         (exp_towardzero_test_data): New variable.
39348         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39349         (exp_downward_test_data): New variable.
39350         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39351         (exp_upward_test_data): New variable.
39352         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39353         (exp10_test_data): New variable.
39354         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
39355         (exp2_test_data): New variable.
39356         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
39357         (expm1_test_data): New variable.
39358         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
39359         (fabs_test_data): New variable.
39360         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
39361         (floor_test_data): New variable.
39362         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
39363         (j0_test_data): New variable.
39364         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
39365         (j1_test_data): New variable.
39366         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
39367         (log_test_data): New variable.
39368         (log_test): Run tests with RUN_TEST_LOOP_f_f.
39369         (log10_test_data): New variable.
39370         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
39371         (log1p_test_data): New variable.
39372         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
39373         (log2_test_data): New variable.
39374         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
39375         (logb_test_data): New variable.
39376         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
39377         (logb_downward_test_data): New variable.
39378         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39379         (nearbyint_test_data): New variable.
39380         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
39381         (rint_test_data): New variable.
39382         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
39383         (rint_tonearest_test_data): New variable.
39384         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39385         (rint_towardzero_test_data): New variable.
39386         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39387         (rint_downward_test_data): New variable.
39388         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39389         (rint_upward_test_data): New variable.
39390         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39391         (round_test_data): New variable.
39392         (round_test): Run tests with RUN_TEST_LOOP_f_f.
39393         (sin_test_data): New variable.
39394         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
39395         (sin_tonearest_test_data): New variable.
39396         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39397         (sin_towardzero_test_data): New variable.
39398         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39399         (sin_downward_test_data): New variable.
39400         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39401         (sin_upward_test_data): New variable.
39402         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39403         (sinh_test_data): New variable.
39404         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
39405         (sinh_tonearest_test_data): New variable.
39406         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39407         (sinh_towardzero_test_data): New variable.
39408         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39409         (sinh_downward_test_data): New variable.
39410         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39411         (sinh_upward_test_data): New variable.
39412         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39413         (sqrt_test_data): New variable.
39414         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
39415         (tan_test_data): New variable.
39416         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
39417         (tan_tonearest_test_data): New variable.
39418         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39419         (tan_towardzero_test_data): New variable.
39420         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39421         (tan_downward_test_data): New variable.
39422         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39423         (tan_upward_test_data): New variable.
39424         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39425         (tanh_test_data): New variable.
39426         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
39427         (tgamma_test_data): New variable.
39428         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
39429         (trunc_test_data): New variable.
39430         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
39431         (y0_test_data): New variable.
39432         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
39433         (y1_test_data): New variable.
39434         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
39435         (significand_test_data): New variable.
39436         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
39438 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
39440         [BZ #12387]
39441         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
39443 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39445         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
39447 2013-05-10  Andreas Jaeger  <aj@suse.de>
39449         [BZ #15448]
39450         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
39451         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
39453 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
39455         * math/gen-libm-test.pl (adjust_arg): New function.
39456         (special_functions): Handle generating output in both functions
39457         and arrays.
39458         (parse_args): Likewise.
39459         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
39460         $in_func argument to parse_args.
39461         * math/libm-test.inc (struct test_f_f_data): New type.
39462         (IF_ROUND_INIT_): New macro.
39463         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
39464         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
39465         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
39466         (IF_ROUND_INIT_FE_UPWARD): Likewise.
39467         (ROUND_RESTORE_): Likewise.
39468         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
39469         (ROUND_RESTORE_FE_TONEAREST): Likewise.
39470         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
39471         (ROUND_RESTORE_FE_UPWARD): Likewise.
39472         (RUN_TEST_LOOP_f_f): New macro.
39473         (acos_test_data): New variable.
39474         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
39475         (acos_tonearest_test_data): New variable.
39476         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39478 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39480         * benchtests/bench-skeleton.c (startup): Fix coding style.
39482 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
39484         [BZ #6809]
39485         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
39486         negative infinity argument.
39487         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
39488         negative infinity argument.
39489         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
39490         negative infinity argument.
39491         * math/libm-test.inc (tgamma_test): Expect errno to be set for
39492         domain errors.
39494 2013-05-10  Florian Weimer  <fweimer@redhat.com>
39496         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
39497         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
39498         * iconv/iconv_prog.c (main): Likewise.
39499         * locale/programs/charmap-dir.c (charmap_readdir)
39500         (fopen_uncompressed): Likewise.
39501         * locale/programs/locfile.c (siblings_uncached)
39502         (write_locale_data): Use lstat64 instead of lstat.
39503         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
39504         stat.
39506 2013-05-10  Andreas Jaeger  <aj@suse.de>
39508         [BZ #15395]
39509         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
39510         localization.
39511         Include <locale.h>.
39513 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
39515         * elf/dl-close.c (_dl_close_worker): Add comments.
39517 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
39519         [BZ #15359]
39520         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
39521         high part of pi/2.
39522         (__ieee754_rem_pio2l): Update comments.
39524         [BZ #15429]
39525         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
39526         high part of pi/2.
39527         (__ieee754_rem_pio2l): Update comments.
39529         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
39530         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
39532         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
39533         M_PI_4l.
39535         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
39536         (M_PI_34_LOG10El): Likewise.
39537         (M_PI2_LOG10El): Likewise.
39538         (M_PI4_LOG10El): Likewise.
39539         (M_PI_LOG10El): Likewise.
39541 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39545 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
39547         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
39548         (MINUS_ZERO_INIT): Likewise.
39549         (PLUS_INFTY_INIT): Likewise.
39550         (MINUS_INFTY_INIT): Likewise.
39551         (QNAN_VALUE_INIT): Likewise.
39552         (MAX_VALUE_INIT): Likewise.
39553         (MIN_VALUE_INIT): Likewise.
39554         (MIN_SUBNORM_VALUE_INIT): Likewise.
39555         (plus_zero): Initialize with PLUS_ZERO_INIT.
39556         (minus_zero): Initialize with MINUS_ZERO_INIT.
39557         (plus_infty): Initialize with PLUS_INFTY_INIT.
39558         (minus_infty): Initialize with MINUS_INFTY_INIT.
39559         (qnan_value): Initialize with QNAN_VALUE_INIT.
39560         (max_value): Initialize with MAX_VALUE_INIT.
39561         (min_value): Initialize with MIN_VALUE_INIT.
39562         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
39564         * math/libm-test.inc (RUN_TEST_if_f): New macro.
39565         (jn_test): Use TEST_if_f instead of TEST_ff_f.
39566         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
39567         (yn_test): Use TEST_if_f instead of TEST_ff_f.
39569         * math/libm-test.inc (RUN_TEST_f_f): New macro.
39570         (RUN_TEST_2_f): Likewise.
39571         (RUN_TEST_ff_f): Likewise.
39572         (RUN_TEST_fi_f): Likewise.
39573         (RUN_TEST_fl_f): Likewise.
39574         (RUN_TEST_fff_f): Likewise.
39575         (RUN_TEST_c_f): Likewise.
39576         (RUN_TEST_f_f1): Likewise.
39577         (RUN_TEST_fF_f1): Likewise.
39578         (RUN_TEST_fI_f1): Likewise.
39579         (RUN_TEST_ffI_f1): Likewise.
39580         (RUN_TEST_c_c): Likewise.
39581         (RUN_TEST_cc_c): Likewise.
39582         (RUN_TEST_f_i): Likewise.
39583         (RUN_TEST_f_i_tg): Likewise.
39584         (RUN_TEST_ff_i_tg): Likewise.
39585         (RUN_TEST_f_b): Likewise.
39586         (RUN_TEST_f_b_tg): Likewise.
39587         (RUN_TEST_f_l): Likewise.
39588         (RUN_TEST_f_L): Likewise.
39589         (RUN_TEST_sincos): Likewise.
39590         * math/gen-libm-test.pl (new_test): Take new argument to indicate
39591         whether to show exceptions.  Do not include ");\n" in return
39592         value.
39593         (special_functions): Output call to RUN_TEST_sincos instead of
39594         check_float calls.  Update calls to new_test.
39595         (parse_args): Output call to single RUN_TEST_* macro instead of
39596         check_* calls and other assignments.  Update calls to new_test.
39598         [BZ #2546]
39599         [BZ #2560]
39600         [BZ #5159]
39601         [BZ #15426]
39602         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
39603         input to result for tgamma overflow.
39604         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
39605         (gamma_coeff): New variable.
39606         (NCOEFF): New macro.
39607         (gamma_positive): New function.
39608         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
39609         underflow here.  Use gamma_positive instead of exp (lgamma) for
39610         other arguments.
39611         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
39612         (gamma_coeff): New variable.
39613         (NCOEFF): New macro.
39614         (gammaf_positive): New function.
39615         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
39616         underflow here.  Use gamma_positive instead of exp (lgamma) for
39617         other arguments.
39618         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
39619         (gamma_coeff): New variable.
39620         (NCOEFF): New macro.
39621         (gammal_positive): New function.
39622         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
39623         underflow here.  Use gamma_positive instead of exp (lgamma) for
39624         other arguments.
39625         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
39626         (gamma_coeff): New variable.
39627         (NCOEFF): New macro.
39628         (gammal_positive): New function.
39629         (__ieee754_gammal_r): Handle positive infinity, overflow and
39630         underflow here.  Handle NaN the same as positive infinity.  Remove
39631         check x < 0xffffffff for negative integers.  Use gamma_positive
39632         instead of exp (lgamma) for other arguments.
39633         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
39634         (gamma_coeff): New variable.
39635         (NCOEFF): New macro.
39636         (gammal_positive): New function.
39637         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
39638         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
39639         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
39640         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
39641         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
39642         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
39643         * sysdeps/generic/math_private.h (__gamma_productf): New
39644         prototype.
39645         (__gamma_product): Likewise.
39646         (__gamma_productl): Likewise.
39647         * math/Makefile (libm-calls): Add gamma_product.
39648         * math/libm-test.inc (tgamma_test): Add more tests.
39649         * sysdeps/i386/fpu/libm-test-ulps: Update.
39650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39652 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
39654         * benchtests/bench-skeleton.c (main): Preheat CPU.
39656 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
39658         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
39660 2013-05-07  Roland McGrath  <roland@hack.frob.com>
39662         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
39663         and _dl_skip_args_internal.
39665 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
39667         * manual/message.texi (Message Translation): Talk about users.
39668         Message to key mapping impacts design.
39670 2013-05-06  Roland McGrath  <roland@hack.frob.com>
39672         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
39674         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
39676         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
39677         * sysdeps/wordsize-64/glob64.c: ... here.
39679         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
39680         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
39681         New macros.
39683         * debug/getlogin_r_chk.c: Moved to ...
39684         * login/getlogin_r_chk.c: ... here.
39685         * debug/Makefile (routines): Move getlogin_r_chk to ...
39686         * login/Makefile (routines): ... here.
39687         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
39688         * login/Versions (libc: GLIBC_2.4): ... here.
39690         * io/poll.c (__poll): Renamed from poll.
39691         Add libc_hidden_def.
39692         (poll): Define as weak alias.
39694         * debug/ptsname_r_chk.c: Moved to ...
39695         * login/ptsname_r_chk.c: ... here.
39696         * debug/Makefile (routines): Move ptsname_r_chk to ...
39697         * login/Makefile (routines): ... here.
39698         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
39699         * login/Versions (libc: GLIBC_2.4): ... here.
39701         * posix/getlogin.c: Moved to ...
39702         * login/getlogin.c: ... here.
39703         * posix/getlogin_r.c: Moved to ...
39704         * login/getlogin_r.c: ... here.
39705         * posix/getlogin_r.c: Moved to ...
39706         * login/getlogin_r.c: ... here.
39707         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
39708         * login/Makefile (routines): ... here.
39709         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
39710         * login/Versions (libc: GLIBC_2.0): ... here.
39712         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
39713         (setrlimit): Define as weak alias.
39715         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
39716         Call __ names for open, ftruncate, and close.
39717         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
39718         (truncate): Define as weak alias.
39720 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
39722         * math/gen-libm-test.pl (parse_args): Initialize x before each
39723         test of frexp, modf and remquo.
39725         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
39726         test signgam value.
39728 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39730         [BZ #15418]
39731         [BZ #15419]
39732         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
39733         internal tests.
39734         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39736 2013-05-06  Roland McGrath  <roland@hack.frob.com>
39738         * elf/dl-writev.h: New file.
39739         * elf/dl-misc.c: Include it.
39740         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
39741         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
39743 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
39745         * math/libm-test.inc (noXFails): Remove variable.
39746         (noXPasses): Likewise.
39747         (BUILD_COMPLEX_INT): Remove macro.
39748         (print_screen): Remove xfail argument.
39749         (print_screen_max_error): Likewise.
39750         (update_stats): Likewise.
39751         (print_max_error): Likewise.  Update calls to other affected
39752         functions.
39753         (print_complex_max_error): Likewise.
39754         (test_single_exception): Update calls to print_screen.
39755         (test_single_errno): Likewise.
39756         (check_float_internal): Remove xfail argument.  Update calls to
39757         other affected functions.
39758         (check_float): Likewise.
39759         (check_complex): Likewise.
39760         (check_int): Likewise.
39761         (check_long): Likewise.
39762         (check_bool): Likewise.
39763         (check_longlong): Likewise.
39764         (main): Don't print noXFails and noXPasses.
39765         * math/gen-libm-test.pl (top level): Don't mention expected
39766         failure handling in comment.
39767         (new_test): Don't handle expected failures.
39768         (parse_args): Don't mention expected failure handling in comment.
39769         (generate_testfile): Don't handle expected failures.
39770         (parse_ulps): Likewise.
39771         (print_ulps_file): Likewise.
39772         (get_failure): Remove function.
39773         (output_test): Don't handle expected failures.
39774         * make/README.libm-test: Don't mention expected failure handling.
39776         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
39777         (minus_zero): Likewise.
39778         (plus_infty): Likewise.
39779         (minus_infty): Likewise.
39780         (qnan_value): Likewise.
39781         (max_value): Likewise.
39782         (min_value): Likewise.
39783         (min_subnorm_value): Likewise.
39784         (initialize): Do not initialize those variables dynamically.
39786 2013-05-03  Roland McGrath  <roland@hack.frob.com>
39788         * io/open.c (__open_2): Moved to ...
39789         * io/open_2.c: ... this new file.
39790         * io/open64.c (__open64_2): Moved to ...
39791         * io/open64_2.c: ... this new file.
39792         * io/openat.c (__openat_2): Moved to ...
39793         * io/openat_2.c: ... this new file.
39794         * io/openat64.c (__openat64_2): Moved to ...
39795         * io/openat64_2.c: ... this new file.
39796         * io/Makefile (routines): Add them.
39797         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
39798         * sysdeps/unix/sysv/linux/open_2.c: File removed.
39799         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
39800         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
39801         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
39802         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
39803         (__openat64): Add hidden_ver.
39804         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
39805         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
39807         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
39808         Separately conditionalize setting of GLRO(dl_sysinfo) so
39809         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
39810         as well, but the actual setting is only under [NEED_DL_SYSINFO].
39812 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39814         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
39815         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
39816         definition.
39817         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
39818         * sysdeps/unix/sysv/linux/powerpc/init-first.c
39819         (_libc_vdso_platform_setup): Add __vdso_time initialization.
39820         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
39821         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
39823 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
39825         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
39826         test signgam value.
39828         * math/libm-test.inc (hypot_test): Do not use
39829         IGNORE_ZERO_INF_SIGN.
39831 2013-05-03  Andreas Jaeger  <aj@suse.de>
39833         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
39834         Linux 3.9.
39835         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
39836         (PF_MAX): Adjust for VSOCK change.
39838 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39842 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
39844         [BZ #15264]
39845         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
39846         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
39847         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
39849 2013-05-02  David S. Miller  <davem@davemloft.net>
39851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39853 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
39855         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
39857 2013-05-01  Roland McGrath  <roland@hack.frob.com>
39859         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
39861 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
39863         [BZ #14952]
39864         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
39865         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
39866         Use __attribute__ ((__gnu_inline__)).
39867         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
39868         Don't use __attribute__ ((__gnu_inline__)).
39870 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
39872         [BZ #15423]
39873         * math/s_catan.c (__catan): Handle small real or imaginary part of
39874         input specially to avoid spurious underflow.
39875         * math/s_catanf.c (__catanf): Likewise.
39876         * math/s_catanh.c (__catanh): Likewise.
39877         * math/s_catanhf.c (__catanhf): Likewise.
39878         * math/s_catanhl.c (__catanhl): Likewise.
39879         * math/s_catanl.c (__catanl): Likewise.
39880         * math/libm-test.inc (catan_test): Add more tests.
39881         (catanh_test): Likewise.
39882         * sysdeps/i386/fpu/libm-test-ulps: Update.
39883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39885 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39889 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
39891         [BZ #15416]
39892         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
39893         accurately for denominator in atan2.
39894         * math/s_catanf.c (__catanf): Likewise.
39895         * math/s_catanh.c (__catanh): Likewise.
39896         * math/s_catanhf.c (__catanhf): Likewise.
39897         * math/s_catanhl.c (__catanhl): Likewise.
39898         * math/s_catanl.c (__catanl): Likewise.
39899         * math/libm-test.inc (catan_test): Add more tests.
39900         (catanh_test): Likewise.
39901         * sysdeps/i386/fpu/libm-test-ulps: Update.
39902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39904 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39906         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
39908         * benchtests/Makefile (bench): Remove slow benchmarks.
39909         * benchtests/atan-inputs: Add slow benchmark inputs.
39910         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
39911         (BENCH_FUNC): Accept variant offset.
39912         (VARIANT): Define.
39913         * benchtests/bench-skeleton.c (main): Run benchmark for each
39914         variant.
39915         * benchtests/cos-inputs: Add slow benchmark inputs.
39916         * benchtests/exp-inputs: Likewise.
39917         * benchtests/pow-inputs: Likewise.
39918         * benchtests/sin-inputs: Likewise.
39919         * benchtests/slowatan-inputs: Remove.
39920         * benchtests/slowatan.c: Remove.
39921         * benchtests/slowcos-inputs: Remove.
39922         * benchtests/slowcos.c: Remove.
39923         * benchtests/slowexp-inputs: Remove.
39924         * benchtests/slowexp.c: Remove.
39925         * benchtests/slowpow-inputs: Remove.
39926         * benchtests/slowpow.c: Remove.
39927         * benchtests/slowsin-inputs: Remove.
39928         * benchtests/slowsin.c: Remove.
39929         * benchtests/slowtan-inputs: Remove.
39930         * benchtests/slowtan.c: Remove.
39931         * benchtests/tan-inputs: Add slow benchmark inputs.
39932         * scripts/bench.pl: Parse comments and directives.
39934         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
39935         in CPPFLAGS.
39936         ($(objpfx)bench-%.c): Remove *-ITER.
39937         * benchtests/bench-modf.c: Remove definition of ITER.
39938         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
39939         (main): Loop for DURATION seconds instead of fixed number of
39940         iterations.
39941         * scripts/bench.pl: Don't expect iterations in parameters.
39943 2013-04-29  Roland McGrath  <roland@hack.frob.com>
39945         * io/fchdir.c (__fchdir): Renamed from fchdir.
39946         (fchdir): Define as weak alias.
39948 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
39950         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
39951         (ERRNO_EDOM): Likewise.
39952         (ERRNO_ERANGE): Likewise.
39953         (noErrnoTests): New variable.
39954         (init_max_error): Set errno to 0.
39955         (test_single_errno): New function.
39956         (test_errno): Likewise.
39957         (check_float_internal): Call test_errno.  Set errno to 0.
39958         (check_complex): Refer to errno tests in comment.
39959         (check_int): Call test_errno.  Set errno to 0.
39960         (check_long): Likewise.
39961         (check_bool): Likewise.
39962         (check_longlong): Likewise.
39963         (cos_test): Use ERRNO_* flags for errno tests instead of
39964         check_int.
39965         (expm1_test): Likewise.
39966         (fmod_test): Likewise.
39967         (ilogb_test): Likewise.
39968         (lgamma_test): Likewise.
39969         (pow_test): Likewise.
39970         (remainder_test): Likewise.
39971         (sin_test): Likewise.
39972         (tan_test): Likewise.
39973         (yn_test): Likewise.
39974         (initialize): Set errno to 0.
39975         (main): Print number of errno tests.
39976         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
39978 2013-04-29  Andreas Jaeger  <aj@suse.de>
39980         [BZ #15084]
39981         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
39982         and RES_USEVC.
39984         [BZ #15085]
39985         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
39986         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
39987         unimplemented.
39989         [BZ #15380]
39990         * stdlib/random.c (__initstate): Return NULL if
39991         __initstate fails.
39993         [BZ #15086]
39994         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
39995         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
39996         RES_SNGLKUPREOP.
39998 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40002 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
40004         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
40005         of individual tests.
40006         (casin_test): Likewise.
40007         (casinh_test): Likewise.
40009 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
40011         [BZ #15409]
40012         * math/s_catan.c (__catan): Handle arguments with large real or
40013         imaginary part separately without squaring.
40014         * math/s_catanf.c (__catanf): Likewise.
40015         * math/s_catanh.c (__catanh): Likewise.
40016         * math/s_catanhf.c (__catanhf): Likewise.
40017         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
40018         and redefine.
40019         (__catanhl): Handle arguments with large real or imaginary part
40020         separately without squaring.
40021         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
40022         and redefine.
40023         (__catanl): Handle arguments with large real or imaginary part
40024         separately without squaring.
40025         * math/libm-test.inc (catan_test): Add more tests.
40026         (catanh_test): Likewise.
40027         * sysdeps/i386/fpu/libm-test-ulps: Update.
40028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40030 2013-04-27  Andreas Jaeger  <aj@suse.de>
40032         [BZ #15007]
40033         * stdlib/stdlib.h: Update guards for qecvt.
40034         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
40035         <stdlib.h>.
40037 2013-04-27  Allan McRae  <allan@archlinux.org>
40039         * sysdeps/i386/fpu/libm-test-ulps: Update.
40041 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
40043         [BZ #15406]
40044         * math/s_catan.c: Include <float.h>.
40045         (__catan): Ensure underflow exception occurs for underflowed
40046         result.
40047         * math/s_catanf.c: Include <float.h>.
40048         (__catanf): Ensure underflow exception occurs for underflowed
40049         result.
40050         * math/s_catanh.c: Include <float.h>.
40051         (__catanh): Ensure underflow exception occurs for underflowed
40052         result.
40053         * math/s_catanhf.c: Include <float.h>.
40054         (__catanhf): Ensure underflow exception occurs for underflowed
40055         result.
40056         * math/s_catanhl.c: Include <float.h>.
40057         (__catanhl): Ensure underflow exception occurs for underflowed
40058         result.
40059         * math/s_catanl.c: Include <float.h>.
40060         (__catanl): Ensure underflow exception occurs for underflowed
40061         result.
40062         * math/libm-test.inc (catan_test): Add more tests.
40063         (catanh_test): Likewise.
40065         [BZ #15405]
40066         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
40067         underflowed result.
40068         * math/s_ccoshf.c (__ccoshf): Likewise.
40069         * math/s_ccoshl.c (__ccoshl): Likewise.
40070         * math/s_csin.c (__csin): Likewise.
40071         * math/s_csinf.c (__csinf): Likewise.
40072         * math/s_csinh.c (__csinh): Likewise.
40073         * math/s_csinhf.c (__csinhf): Likewise.
40074         * math/s_csinhl.c (__csinhl): Likewise.
40075         * math/s_csinl.c (__csinl): Likewise.
40076         * math/libm-test.inc (ccos_test): Add more tests.
40077         (ccosh_test): Likewise.
40078         (csin_test): Likewise.
40079         (csinh_test): Likewise.
40081 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40083         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
40084         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
40085         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
40086         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
40087         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
40088         powerpc/power5+/fpu folders.
40089         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
40092 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
40094         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40096 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
40098         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
40099         additions to variable.
40100         [$(config-machine) = x86_64] (modules-names): Likewise.
40101         ($(objpfx)tst-audit3): Remove dependency.
40102         ($(objpfx)tst-audit3.out): Likewise.
40103         ($(objpfx)tst-audit4): Likewise.
40104         ($(objpfx)tst-audit4.out): Likewise.
40105         ($(objpfx)tst-audit5): Likewise.
40106         ($(objpfx)tst-audit5.out): Likewise.
40107         ($(objpfx)tst-audit6): Likewise.
40108         ($(objpfx)tst-audit6.out): Likewise.
40109         ($(objpfx)tst-audit7): Likewise.
40110         ($(objpfx)tst-audit7.out): Likewise.
40111         (tst-audit3-ENV): Remove variable.
40112         (tst-audit4-ENV): Likewise.
40113         (tst-audit5-ENV): Likewise.
40114         (tst-audit6-ENV): Likewise.
40115         (tst-audit7-ENV): Likewise.
40116         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
40117         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
40118         addition to variable.
40119         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
40120         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
40121         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
40122         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
40123         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
40124         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
40125         tst-audit3, tst-audit4 and tst-audit5.
40126         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
40127         tst-audit6 and tst-audit7.
40128         [$(subdir) = elf] (modules-names): Add audit modules for those
40129         tests.
40130         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
40131         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
40132         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
40133         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
40134         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
40135         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
40136         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
40137         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
40138         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
40139         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
40140         [$(subdir) = elf] (tst-audit3-ENV): New variable.
40141         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
40142         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
40143         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
40144         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
40145         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
40146         Likewise.
40147         [$(subdir) = elf && $(config-cflags-avx) = yes]
40148         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
40149         [$(subdir) = elf && $(config-cflags-avx) = yes]
40150         (CFLAGS-tst-auditmod4a.c): Likewise.
40151         [$(subdir) = elf && $(config-cflags-avx) = yes]
40152         (CFLAGS-tst-auditmod4b.c): Likewise.
40153         [$(subdir) = elf && $(config-cflags-avx) = yes]
40154         (CFLAGS-tst-auditmod6b.c): Likewise.
40155         [$(subdir) = elf && $(config-cflags-avx) = yes]
40156         (CFLAGS-tst-auditmod6c.c): Likewise.
40157         [$(subdir) = elf && $(config-cflags-avx) = yes]
40158         (CFLAGS-tst-auditmod7b.c): Likewise.
40159         * elf/tst-audit3.c: Move to ...
40160         * sysdeps/x86_64/tst-audit3.c: ... here.
40161         * elf/tst-audit4.c: Move to ...
40162         * sysdeps/x86_64/tst-audit4.c: ... here.
40163         * elf/tst-audit5.c: Move to ...
40164         * sysdeps/x86_64/tst-audit5.c: ... here.
40165         * elf/tst-audit6.c: Move to ...
40166         * sysdeps/x86_64/tst-audit6.c: ... here.
40167         * elf/tst-audit7.c: Move to ...
40168         * sysdeps/x86_64/tst-audit7.c: ... here.
40169         * elf/tst-auditmod3a.c: Move to ...
40170         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
40171         * elf/tst-auditmod3b.c: Move to ...
40172         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
40173         * elf/tst-auditmod4a.c: Move to ...
40174         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
40175         * elf/tst-auditmod4b.c: Move to ...
40176         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
40177         * elf/tst-auditmod5a.c: Move to ...
40178         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
40179         * elf/tst-auditmod5b.c: Move to ...
40180         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
40181         * elf/tst-auditmod6a.c: Move to ...
40182         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
40183         * elf/tst-auditmod6b.c: Move to ...
40184         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
40185         * elf/tst-auditmod6c.c: Move to ...
40186         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
40187         * elf/tst-auditmod7a.c: Move to ...
40188         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
40189         * elf/tst-auditmod7b.c: Move to ...
40190         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
40192 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
40194         [BZ #15366]
40195         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
40196         define unconditionally.
40197         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
40198         define unconditionally.
40199         (INT8_C, INT16_C, etc.): Likewise.
40201 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
40203         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
40204         __ehdr_start with hidden visibility.
40206         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
40208 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
40210         * math/libm-test.inc (cos_test): Use accurate hex constants.
40211         (sincost_test): Likewise.
40213 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
40215         * math/libm-test.inc (catan_test): Add more tests.
40216         (catanh_test): Likewise.
40218         * math/s_catanf.c (__catanf): Use suffixed floating-point
40219         constants.
40220         * math/s_catanhf.c (__catanhf): Likewise.
40221         * math/s_catanhl.c (__catanhl): Likewise.
40222         * math/s_catanl.c (__catanl): Likewise.
40224         [BZ #15394]
40225         * math/s_catan.c (__catan): Calculate imaginary part of result
40226         with log1p not log unless computing log of number close to 0.
40227         * math/s_catanf.c (__catanf): Likewise.
40228         * math/s_catanl.c (__catanl): Likewise.
40229         * math/s_catanh.c (__catanh): Calculate real part of result with
40230         log1p not log unless computing log of number close to 0.
40231         * math/s_catanhf.c (__catanhf): Likewise.
40232         * math/s_catanhl.c (__catanhl): Likewise.
40233         * math/libm-test.inc (catan_test): Add more tests.
40234         (catanh_test): Likewise.
40235         * sysdeps/i386/fpu/libm-test-ulps: Update.
40236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40238 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40240         * benchtests/Makefile: Mention files in which fast and slow
40241         paths of math functions are implemented.
40243 2013-04-23  Roland McGrath  <roland@hack.frob.com>
40245         * sysdeps/posix/timespec_get.c: New file.
40247 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40249         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
40250         POWER.
40251         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
40252         for POWER.
40253         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
40254         powerpc/power5/fpu folders.
40255         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
40256         * benchtests/Makefile: Add modf testcase.
40257         * benchtests/bench-modf.c: New file: Benchmark test for mo
40259 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40261         [BZ #14888]
40262         * time/Makefile (tests): Add tst-strptime-whitespace.
40263         * time/strptime_l.c (get_number): Use ISSPACE.
40264         (__strptime_internal): Likewise.
40265         * time/tst-strptime-whitespace.c: New test case.
40267 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
40269         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
40270         member.
40271         (_nss_files_init): Set it here.
40273 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
40275         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
40276         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
40277         unsigned.
40279 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
40281         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
40283 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40285         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
40286         size just once.
40288 2013-04-21  David S. Miller  <davem@davemloft.net>
40290         * po/ru.po: Update Russion translation from translation project.
40292 2013-04-17  Adam Conrad  <adconrad@0c3.net>
40294         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
40295         and setfsgid.
40297 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
40299         * configure.in: Remove i386 configure warning. Remove i386 case.
40300         * configure: Regenerate.
40301         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
40302         Add example to error message.
40303         * sysdeps/i386/configure: Regenerate.
40305 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40307         * benchtests/Makefile (bench): Add cos, tan, slowcos and
40308         slowtan.
40309         * benchtests/cos-inputs: New file.
40310         * benchtests/slowcos-inputs: New file.
40311         * benchtests/slowcos.c: New file.
40312         * benchtests/slowtan-inputs: New file.
40313         * benchtests/slowtan.c: New file.
40314         * benchtests/tan-inputs: New file.
40316 2013-04-16  Roland McGrath  <roland@hack.frob.com>
40318         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
40319         considered kosher.
40321 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40323         * benchtests/Makefile: Include cppflags-iterator.mk to add
40324         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
40326         * Makefile.in (bench-clean): New target.
40327         * benchtests/Makefile (bench-clean): Likewise.
40329 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
40331         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
40333 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
40335         * stdio-common/tstdiomisc.c: Fix coding-style violation.
40337 2013-04-15  Andreas Schwab  <schwab@suse.de>
40339         * nscd/grpcache.c (cache_addgr): Properly check for short write.
40340         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40341         * nscd/pwdcache.c (cache_addpw): Likewise.
40342         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
40343         more than recsize.
40345 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40347         * benchtests/Makefile (bench): Write all output to
40348         bench-out.tmp together.
40350 2013-04-15  Andreas Schwab  <schwab@suse.de>
40352         * nscd/nscd.c (main): Don't fork again after closing files.
40354 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40356         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
40358         * benchtests/Rules (bench-deps): Collect dependencies into a
40359         single variable.  Add Makefile to dependencies.
40360         ($(objpfx)bench-%.c): Depend on bench-deps.
40362 2013-04-12  Roland McGrath  <roland@hack.frob.com>
40363             Xavier Roche  <roche+kml2@exalead.com>
40365         [BZ #15361]
40366         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
40367         just that it's a file descriptor.
40368         * manual/llio.texi (Synchronizing AIO Operations): Update description
40369         for EBADF error from aio_fsync.
40371 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40373         * Rules (bench): Move target definition...
40374         * benchtests/Makefile: ... here.
40376 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
40378         * math/libm-test.inc (cos_test): Fix PI/2 test.
40379         (sincos_test): Likewise.
40380         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40381         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
40383 2013-04-11  Andreas Schwab  <schwab@suse.de>
40385         [BZ #13988]
40386         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
40387         accept exponent character only when digits were seen.
40388         * stdio-common/Makefile (tests): Add bug26.
40389         * stdio-common/bug26.c: New file.
40391         [BZ #14293]
40392         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
40393         non-freeable.
40395 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40397         * Makeconfig (rtld-prefix): Define built linker prefix.
40398         * Rules (run-bench): Use it.
40399         * math/Makefile (run-regen-ulps): Likewise.
40401         * Rules (bench): Remove eval.
40403 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40404             Roland McGrath  <roland@hack.frob.com>
40405             Ondrej Bilka  <neleai@seznam.cz>
40407         [BZ #15346]
40408         * time/getdate.c: Include ctype.h and alloca.h.
40409         (__getdate_r): Trim leading and trailing spaces of input.
40410         * time/tst-getdate.c (tests): Add tests with leading and
40411         trailing spaces.
40413 2013-04-08  Roland McGrath  <roland@hack.frob.com>
40415         [BZ #14280]
40416         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
40417         when computing value.
40419 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
40421         * math/README.libm-test (How can I generate "libm-test-ulps"?):
40422         Use testrun.sh to run libm tests.
40424         [BZ #15309]
40425         * elf/dl-open.c (dl_open_worker): memset all of seen array.
40427 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
40429         [BZ #15264]
40430         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
40432 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
40434         * Makefile.in (regen-ulps): New target.
40435         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
40436         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
40437         [ifneq (no,$(PERL)] (regen-ulps): New target.
40438         [ifeq (no,$(PERL)] (regen-ulps): New target.
40439         * math/libm-test.inc (ulps_file_name): Define.
40440         (output_dir): New variable.
40441         (options): Add "output-dir" option.
40442         (parse_opt): Handle 'o' case.
40443         (main): If output_dir is non-NULL use it as a prefix
40444         otherwise use "".
40445         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
40447 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
40449         [BZ #10060, #10062]
40450         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
40451         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
40452         fail configure if __sync_val_compare_and_swap is not inlined.
40453         * sysdeps/i386/configure: Regenerate.
40454         * configure.in: Build for i686 when configured for i386.
40455         * configure: Regenerate.
40456         * README: Remove i386 reference.
40458 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
40460         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
40461         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40463 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
40465         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
40466         (lmsnanval): New variables.
40467         (F): Add conversion tests.
40468         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
40469         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
40471         * stdio-common/tstdiomisc.c (F): Properly collect individual
40472         tests' results.
40474         [BZ #14686, #15336]
40475         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
40476         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
40477         Instead, use input NaN values or generate a qNaN by arithmetic
40478         operation.  Also fix bugs to comply with the standard.
40479         * math/libm-test.inc (remainder_test): Add more tests.
40481         [BZ #15335, #15342]
40482         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
40483         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
40484         input NaN values or generate a qNaN by arithmetic operation.
40486         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
40487         unreachable code.
40489         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
40490         definitions.
40492 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
40494         [BZ #14478]
40495         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
40496         underflowed result.
40497         * math/s_cexpf.c (__cexpf): Likewise.
40498         * math/s_cexpl.c (__cexpl): Likewise.
40499         * math/libm-test.inc (cexp_test): Add more tests.
40501 2013-04-03  Andreas Schwab  <schwab@suse.de>
40503         [BZ #15330]
40504         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
40505         order arrays from heap if bigger than alloca cutoff.
40507 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
40509         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
40510         (SNAN_TESTS_double): Refer to GCC PR56831.
40511         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
40512         GCC PR56828.
40514 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40516         * Rules (bench): Move bench.out after the run is complete.
40518         * Rules (bench): Echo currently running benchmark.
40520         * benchtests/Makefile (bench): Add atan and slowatan.
40521         * benchtests/atan-inputs: New file.
40522         * benchtests/slowatan-inputs: New file.
40523         * benchtests/slowatan.c: New file.
40525         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
40526         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
40527         its value.
40529         [BZ #15305]
40530         * sysdeps/unix/sysv/linux/kernel-features.h
40531         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
40532         __ASSUME_XFS_RESTRICTED_CHOWN.
40533         * sysdeps/unix/sysv/linux/pathconf.c
40534         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
40535         Save and restore errno.
40537 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
40539         [BZ #15327]
40540         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
40541         arguments using __kernel_casinh.
40542         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
40543         arguments using __kernel_casinhf.
40544         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
40545         arguments using __kernel_casinhl.
40546         * math/libm-test.inc (cacosh_test): Add more tests.
40547         * sysdeps/i386/fpu/libm-test-ulps: Update.
40548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40550 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40552         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
40553         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
40555         * bench/Makefile (bench): Add sin and slowsin.
40556         * benchtests/sin-inputs: New file.
40557         * benchtests/slowsin-inputs: New file.
40558         * benchtests/slowsin.c: New file.
40560         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
40561         (bench): Add slowexp and slowpow.
40562         (exp-ITER): Increase iterations.
40563         (pow-ITER): Likewise.
40564         * benchtests/exp-inputs: Change input.
40565         * benchtests/pow-inputs: Likewise.
40566         * benchtests/slowexp-inputs: New file.
40567         * benchtests/slowexp.c: New file.
40568         * benchtests/slowpow-inputs: New file.
40569         * benchtests/slowpow.c: New file.
40571 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40573         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
40574         instructions.
40575         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40576         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
40577         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
40578         * benchtests/Makefile: Add rint benchtest.
40579         * benchtests/rint-inputs: Input for rint benchtest.
40581 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
40583         * Versions.def (libm): Add GLIBC_2.18.
40584         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
40585         hidden libm prototypes.
40586         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
40587         * math/Makefile (libm-calls): Add s_issignaling.
40588         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
40589         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
40590         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
40591         declaration.
40592         * math/math.h [__USE_GNU] (issignaling): New macro.
40593         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
40594         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
40595         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
40596         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
40597         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
40598         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
40599         * manual/arith.texi (issignaling): New section.
40600         * manual/libm-err-tab.pl (@all_functions): Update comment.
40601         * math/gen-libm-test.pl (parse_args): Apply special handling for
40602         issignaling.
40603         * math/libm-test.inc (print_float, issignaling_test): New
40604         functions.
40605         (check_float_internal): Add issignaling checks.
40606         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
40607         default definition.
40608         * sysdeps/powerpc/math-tests.h: New file.
40609         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
40610         tests.
40611         * math/test-snan.c (TEST_FUNC): Likewise.
40613 2013-03-30  David S. Miller  <davem@davemloft.net>
40615         * po/de.po: Update from translation team.
40617 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
40619         [BZ #10357]
40620         * math/k_casinh.c (__kernel_casinh): Handle arguments with
40621         imaginary part less than 1.0 and real part less than 0.5
40622         specially.
40623         * math/k_casinhf.c (__kernel_casinhf): Likewise.
40624         * math/k_casinhl.c (__kernel_casinhl): Likewise.
40625         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
40626         (cacos_test): Add more tests.
40627         (casin_test): Likewise.
40628         (casinh_test): Likewise.
40629         * sysdeps/i386/fpu/libm-test-ulps: Update.
40630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40632 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40634         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
40635         ONE with its value.
40637         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
40638         (__pow_mp): Replace ONE and MONE with their values.
40639         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40640         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
40641         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40642         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
40643         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
40644         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40646         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
40648         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
40649         (__pow_mp): Replace ZERO and MZERO with their values.
40650         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
40651         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40652         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40653         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40654         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
40655         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
40656         (__sqr): Likewise.
40658         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
40660         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
40662 2013-03-28  Roland McGrath  <roland@hack.frob.com>
40664         * include/stdlib.h [!SHARED] (__call_tls_dtors):
40665         Declare with __attribute__ ((weak)).
40666         * stdlib/exit.c (__libc_atexit) [!SHARED]:
40667         Call __call_tls_dtors only if it's not NULL.
40669 2013-03-28  Roland McGrath  <roland@hack.frob.com>
40671         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
40672         didn't do it already, then set _dl_phdr and _dl_phnum based on the
40673         magic __ehdr_start linker symbol if it's defined.
40674         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
40675         them up here if it was already done.
40677         * elf/dl-support.c (_dl_phdr): Make pointer to const.
40678         (_dl_aux_init): Use const in cast when setting it.
40679         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
40680         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
40681         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
40683         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
40684         Declare them here.
40685         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
40686         * csu/libc-tls.c: Nor here.
40687         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
40689         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
40690         (__libc_message): Never call vsyslog.
40692 2013-03-28  Alan Modra  <amodra@gmail.com>
40694         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
40695         Define as empty.
40696         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
40697         Likewise.
40699 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40701         [BZ #15214]
40702         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
40703         underflow.
40704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40706 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40708         [BZ #15304]
40709         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40710         Don't add gid passed as argument.
40712         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
40714 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
40716         [BZ #15307]
40717         * math/k_casinh.c (__kernel_casinh): Handle arguments with
40718         imaginary part between 1.0 and 1.5 and real part less than 0.5
40719         specially.
40720         * math/k_casinhf.c (__kernel_casinhf): Likewise.
40721         * math/k_casinhl.c (__kernel_casinhl): Likewise.
40722         * math/libm-test.inc (cacos_test): Add more tests.
40723         (casin_test): Likewise.
40724         (casinh_test): Likewise.
40725         * sysdeps/i386/fpu/libm-test-ulps: Update.
40726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40728 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40730         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
40731         constants.
40732         (norm): Likewise.
40733         (denorm): Likewise.
40734         (__dbl_mp): Likewise.
40735         (add_magnitudes): Likewise.
40736         (sub_magnitudes): Likewise.
40737         (__add): Likewise.
40738         (__sub): Likewise.
40739         (__mul): Likewise.
40740         (__sqr): Likewise.
40741         (__inv): Likewise.
40742         (__dvd): Likewise.
40744         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
40745         commented code.
40746         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
40747         (__dubcos): Likewise.
40748         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
40749         (__ieee754_acos): Likewise.
40750         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
40751         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
40752         (__exp1): Likewise.
40753         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40754         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40755         (log1): Likewise.
40756         (my_log2): Likewise.
40757         (checkint): Likewise.
40758         * sysdeps/ieee754/dbl-64/e_remainder.c
40759         (__ieee754_remainder): Likewise.
40760         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
40761         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
40762         (bsloww): Likewise.
40763         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40765         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
40766         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
40767         MANTISSA_STORE_T to store computations on mantissa.  Use
40768         macros for rounding and division.
40769         (denorm): Likewise.
40770         (__dbl_mp): Likewise.
40771         (add_magnitudes): Likewise.
40772         (sub_magnitudes): Likewise.
40773         (__mul): Likewise.
40774         (__sqr): Likewise.
40775         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
40776         powers of two in terms of TWOPOW macro.
40777         (mp_no): Make type of mantissa as MANTISSA_T.
40778         [!RADIXI]: Define RADIXI.
40779         [!TWO52]: Define TWO52.
40780         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
40782 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40784         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
40785         llroundl symbol when building for PPC32.
40787 2013-03-24  Mark H Weaver  <mhw@netris.org>
40789         * manual/arith.texi (Normalization Functions): Fix prototypes for
40790         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
40792 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40794         [BZ #13889]
40795         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
40796         high value to check if expl overflow.
40797         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
40798         to check for underflow and overflow.
40799         * math/libm-test.inc: Add exp test.
40801 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
40803         [BZ #11120]
40804         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
40805         with NOT_IN_libc.
40807 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40809         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
40810         symbol.
40812 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40814         * math/gen-libm-test.pl (parse_args, special_functions): Properly
40815         wrap blocks consisting of several statements.
40817         * sysdeps/generic/math-tests.h: New file.
40818         * sysdeps/i386/fpu/math-tests.h: Likewise.
40819         * math/test-snan.c: Include it.
40820         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
40822 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
40824         [BZ #15285]
40825         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
40826         (__ieee754_j0l): Do not improve calculations using cos of twice
40827         input for inputs above LDBL_MAX / 2.0L.
40828         (__ieee754_y0l): Likewise.
40829         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
40830         (__ieee754_j1l): Do not improve calculations using cos of twice
40831         input for inputs above LDBL_MAX / 2.0L.
40832         (__ieee754_y1l): Likewise.
40833         * math/libm-test.inc (j0_test): Add another test.
40834         (j1_test): Likewise.
40835         (y0_test): Likewise.
40836         (y1_test): Likewise.
40837         * sysdeps/i386/fpu/libm-test-ulps: Update.
40839 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40841         * Rules ($(objpfx)bench-%.c): Include code from a C source
40842         file.
40844 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
40846         [BZ #15287]
40847         * math/k_casinh.c (__kernel_casinh): Handle arguments with
40848         imaginary part 1.0 and real part less than 0.5 specially.
40849         * math/k_casinhf.c (__kernel_casinhf): Likewise.
40850         * math/k_casinhl.c (__kernel_casinhl): Likewise.
40851         * math/libm-test.inc (cacos_test): Add more tests.
40852         (casin_test): Likewise.
40853         (casinh_test): Likewise.
40854         * sysdeps/i386/fpu/libm-test-ulps: Update.
40855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40857 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40859         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
40860         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
40862 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
40864         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
40865         * config.make.in (config-cflags-sse4): Remove variable.
40866         (config-cflags-avx): Likewise.
40867         (config-cflags-sse2avx): Likewise.
40868         (config-cflags-novzeroupper): Likewise.
40869         (config-asflags-i686): Likewise.
40870         (have-mfma4): Likewise.
40871         (have-as-vis3): Likewise.
40872         (MIG): Likewise.
40873         * configure.in (MIG): Do not AC_SUBST.
40874         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
40875         (libc_cv_cc_sse4): Do not AC_SUBST.
40876         (libc_cv_cc_avx): Likewise.
40877         (libc_cv_cc_sse2avx): Likewise.
40878         (libc_cv_cc_novzeroupper): Likewise.
40879         (libc_cv_cc_fma4): Likewise.
40880         (libc_cv_as_i686): Likewise.
40881         (libc_cv_sparc_as_vis3): Likewise.
40882         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
40883         LIBC_CONFIG_VAR.
40884         (config-asflags-i686): Likewise.
40885         (config-cflags-avx): Likewise.
40886         (config-cflags-sse2avx): Likewise.
40887         (have-mfma4): Likewise.
40888         (config-cflags-novzeroupper): Likewise.
40889         * sysdeps/mach/configure.in (MIG): Likewise.
40890         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
40891         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
40892         LIBC_CONFIG_VAR.
40893         (config-cflags-avx): Likewise.
40894         (config-cflags-sse2avx): Likewise.
40895         (have-mfma4): Likewise.
40896         (config-cflags-novzeroupper): Likewise.
40897         * configure: Regenerated.
40898         * sysdeps/i386/configure: Likewise.
40899         * sysdeps/mach/configure: Likewise.
40900         * sysdeps/sparc/configure: Likewise.
40901         * sysdeps/x86_64/configure: Likewise.
40903 2013-03-20  Roland McGrath  <roland@hack.frob.com>
40905         [BZ #14812]
40906         * locale/programs/localedef.c (options): Put N_ translation marker
40907         on argument names, not just descriptions.
40909 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40911         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
40913 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
40915         [BZ #14176]
40916         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
40918 2013-03-19  Roland McGrath  <roland@hack.frob.com>
40920         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
40921         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
40922         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
40923         [!BEFORE_ABORT] (before_abort): New function.
40924         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
40925         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
40926         (writev_for_fatal): New function.
40927         (WRITEV_FOR_FATAL): New macro; call that.
40928         (backtrace_and_maps): New function.
40929         (BEFORE_ABORT): New macro; call that.
40930         (struct str_list): Type removed.
40931         (__libc_message, __libc_fatal): Functions removed.
40932         Include <sysdeps/posix/libc_fatal.c> instead.
40934 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
40936         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
40937         constants.
40938         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
40939         double constants.
40941 2013-03-19  Andreas Schwab  <schwab@suse.de>
40943         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
40944         * sysdeps/gnu/configure: Regenerate.
40946         * configure.in: Substitute libc_cv_rtlddir.
40947         * configure: Regenerate.
40948         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
40949         * Makeconfig (rtlddir, inst_rtlddir): New variables.
40950         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
40951         * elf/Makefile (install-others, CFLAGS-interp.c)
40952         (ldso_install, common-ldd-rewrite): Likewise.
40953         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
40954         $(inst_slibdir)/$(rtld-installed-name).
40955         * scripts/rellns-sh: Add -p option.
40956         * Makerules (make-shlib-link): Use rellns-sh to get relative name
40957         for source.
40959 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40961         * manual/nptl.texi: Renamed to ...
40962         * manual/threads.texi: ... this.
40963         * manual/Makefile (chapters): Update.
40965 2013-03-18  Roland McGrath  <roland@hack.frob.com>
40967         [BZ #14812]
40968         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
40969         on argument names, not just descriptions.
40970         * malloc/memusagestat.c (options): Likewise.
40971         * nss/getent.c (options): Likewise.
40973 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
40975         [BZ #14812]
40976         * iconv/iconv_prog.c (options): Put N_ translation marker
40977         on argument names, not just descriptions.
40978         * iconv/iconvconfig.c (options): Likewise.
40980 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
40982         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
40983         implementation which is faster on all x86_64 architectures.
40984         Tested on AMD, Intel Nehalem, SNB, IVB.
40985         * sysdeps/x86_64/strnlen.S: Likewise.
40987         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40988         Remove all multiarch strlen and strnlen versions.
40989         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40990         Remove strlen and strnlen related parts.
40992         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
40993         Inline strlen part.
40994         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
40996         * sysdeps/x86_64/multiarch/strlen.S: Remove.
40997         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
40998         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
40999         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
41000         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41001         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
41003 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
41005         * manual/memory.texi (Malloc Tunable Parameters):
41006         Sort parameters alphabetically. Add comments for missing entries.
41008 2013-03-17  David S. Miller  <davem@davemloft.net>
41010         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41012 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
41014         [BZ #15283]
41015         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
41016         for arguments at most half maximum finite value.
41017         * math/libm-test.inc (j0_test): Add more tests.
41018         (j1_test): Likewise.
41019         (y0_test): Likewise.
41020         (y1_test): Likewise.
41021         * sysdeps/i386/fpu/libm-test-ulps: Update.
41022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41024         [BZ #14155]
41025         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
41026         1 / x and functions P and Q for arguments above 0x1p256L.
41027         (__ieee754_y0l): Likewise.
41028         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
41029         (__ieee754_y1l): Likewise.
41030         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
41031         (j1_test): Likewise.
41032         (y0_test): Likewise.
41033         (y1_test): Likewise.
41035 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
41037         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
41038         variable.
41040 2013-03-15  Roland McGrath  <roland@hack.frob.com>
41042         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
41043         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
41044         zero since it's initialized to EXEC_PAGESIZE.
41046         * sysdeps/unix/sysv/linux/ldsodefs.h
41047         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
41048         * sysdeps/generic/ldsodefs.h: ... here.
41050 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
41052         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
41054         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
41055         math/test-snan.c.
41056         * math/test-snan.c: Renamed from
41057         sysdeps/powerpc/fpu/test-powerpc-snan.c.
41058         * math/Makefile (tests): Add test-snan.
41059         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
41060         test-powerpc-snan.
41062         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
41063         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
41064         functions.
41065         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
41066         __builtin_nan family of functions.
41067         * math/libm-test.inc (initialize): Initialize qnan_value with
41068         __builtin_nan family of functions.
41069         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
41070         Remove variables.
41071         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
41072         Remove functions.
41073         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
41074         storage class.  Initialize qNaN_var and sNaN_var with
41075         __builtin_nan and __builtin_nans families of functions,
41076         respectively.
41078         * math/libm-test.inc (acosh_test): Also test with qNaN input.
41079         (sqrt_test): Remove duplicate test with qNaN input.
41080         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
41081         (round_test, signbit_test, significand_test): Note missing +/-Inf
41082         as well as qNaN tests.
41084         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
41085         qNaN_var.  Fix a few strings, too.
41086         * math/libm-test.inc (nan_value): Rename to qnan_value.
41087         * math/gen-libm-test.pl (%beautify): Adjust to that.
41088         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
41089         * math/test-misc.c (main): Likewise.
41090         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
41091         to __qnan_bytes, and __qnan_union, respectively.
41092         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
41093         Likewise.
41094         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
41095         and lqnanval, respectively.
41096         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
41097         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
41098         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
41099         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
41101         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
41102         * math/test-misc.c (main) [__x86_64__]: Enable test for long
41103         doubles.
41105         * math/test-misc.c (main): Fix copy'n'pastos.
41106         * misc/tst-efgcvt.c (special): Likewise.
41108         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
41109         Remove declarations.
41111 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41113         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
41114         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
41115         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
41116         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
41118 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41120         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
41121         macro to return vdso values correctly in IFUNC implementations.
41122         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41123         Optimization by using IFUNC.
41125 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41126             Richard Henderson  <rth@redhat.com>
41127             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41129         * Makefile.in (bench): New target.
41130         * NEWS: Mention the benchmark framework.
41131         * Rules (bench): Likewise.
41132         (binaries-bench): Generate binaries for functions to
41133         benchmark.
41134         * benchtests/Makefile: New makefile for benchmark tests.
41135         * benchtests/bench-skeleton.c: New skeleton file for benchmark
41136         programs.
41137         * benchtests/exp-inputs: New input file for EXP function.
41138         * benchtests/pow-inputs: New input file for POW function.
41139         * scripts/bench.pl: New script to generate source files for
41140         benchmark programs.
41142 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41144         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
41145         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
41146         computations on mantissa.  Use macros for rounding and
41147         division.
41148         (denorm): Likewise.
41149         (__dbl_mp): Likewise.
41150         (add_magnitudes): Likewise.
41151         (sub_magnitudes): Likewise.
41152         (__mul): Likewise.
41153         (__sqr): Likewise.
41154         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
41155         powers of two in terms of TWOPOW macro.
41156         (mp_no): Make type of mantissa as MANTISSA_T.
41157         [!RADIXI]: Define RADIXI.
41158         [!TWO52]: Define TWO52.
41159         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
41161         * manual/nptl.texi (cindex): Modify threads to pthreads.
41163 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
41165         * sysdeps/x86_64/preconfigure: Regenerated.
41167 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
41169         [BZ #14155]
41170         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
41171         0x1p28 and above.
41172         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
41173         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
41174         0x1p28 and above.
41175         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
41176         * math/libm-test.inc (j0_test): Do not allow one spurious
41177         underflow exception.
41178         (y1_test): Likewise.
41180 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41182         * manual/Makefile (chapters): Add nptl.
41183         * manual/debug.texi (Debugging Support): Add link to Threads
41184         chapter.
41185         * manual/nptl.texi: New file.
41187         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
41189 2013-03-14  Petr Baudis  <pasky@ucw.cz>
41191         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
41192         for non-NULL pointer before the memory validity test. Pointed
41193         out by Holger Brunck <holger.brunck@keymile.com>.
41195 2013-03-13  Andreas Schwab  <schwab@suse.de>
41197         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
41198         instead of .os.
41200 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
41202         * timezone/zic.c: Update from tzcode 2013b.
41204 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
41206         * manual/install.texi (Configuring and compiling):
41207         Mention i686 and i586.
41208         * INSTALL: Regenerate.
41210 2013-03-12  Roland McGrath  <roland@hack.frob.com>
41212         * sysdeps/init_array/elf-init.c: New file.
41213         * csu/elf-init.c
41214         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
41215         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
41217         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
41218         __gmon_start__ as global, but as static with a .preinit_array pointer.
41219         * sysdeps/init_array/gmon-start.c: New file.  Use that.
41220         * sysdeps/init_array/crti.S: New file, empty except for comments.
41221         * sysdeps/init_array/crtn.S: Likewise.
41223 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
41225         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
41226         definining bcopy.
41227         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41228         Remove Prefer_SSE_for_memop.
41229         * sysdeps/x86_64/multiarch/init-arch.h: Remove
41230         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
41231         HAS_PREFER_SSE_FOR_MEMOP.
41232         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
41233         memset-x86-64.
41234         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41235         Remove bzero, memset ifunc support.
41236         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
41237         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
41238         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41239         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41241 2013-03-11  Andreas Schwab  <schwab@suse.de>
41243         [BZ #15234]
41244         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
41245         by SHLIB_COMPAT.
41246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
41247         (GLIBC_2.16): Remove pthread_atfork.
41249 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
41251         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
41252         (ptestcases.h): Likewise.
41254 2013-03-08  Roland McGrath  <roland@hack.frob.com>
41256         * Makeconfig ($(common-objpfx)config.status): Depend on
41257         sysdeps/*/preconfigure{,.in} too.
41259 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
41261         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
41262         (__free_hook): Use void * instead of __malloc_ptr_t.
41263         (__malloc_hook): Likewise.
41264         (__realloc_hook): Likewise.
41265         (__memalign_hook): Likewise.
41266         (__after_morecore_hook): Likewise.
41267         * malloc/arena.c (save_malloc_hook): Likewise.
41268         (save_free_hook): Likewise.
41269         * malloc/hooks.c (malloc_hook_ini): Likewise.
41270         (realloc_hook_ini): Likewise.
41271         (memalign_hook_ini): Likewise.
41272         * malloc/malloc.c (malloc_hook_ini): Likewise.
41273         (realloc_hook_ini): Likewise.
41274         (memalign_hook_ini): Likewise.
41275         (__free_hook): Likewise.
41276         (__malloc_hook): Likewise.
41277         (__realloc_hook): Likewise.
41278         (__memalign_hook): Likewise.
41279         (__libc_malloc): Likewise.
41280         (__libc_free): Likewise.
41281         (__libc_realloc): Likewise.
41282         (__libc_memalign): Likewise.
41283         (__libc_valloc): Likewise.
41284         (__libc_pvalloc): Likewise.
41285         (__libc_calloc): Likewise.
41286         (__posix_memalign): Likewise.
41287         * malloc/morecore.c (__sbrk): Likewise.
41288         (__default_morecore): Likewise.
41290         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
41292         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
41293         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
41294         __malloc_ptrdiff_t.
41296         * malloc/malloc.h (__malloc_size_t): Remove macro.
41297         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
41298         __malloc_size_t.
41299         (old_memalign_hook): Likewise.
41300         (old_realloc_hook): Likewise.
41301         (struct hdr): Likewise.
41302         (flood): Likewise.
41303         (mallochook): Likewise.
41304         (memalignhook): Likewise.
41305         (reallochook): Likewise.
41306         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
41307         (tr_old_realloc_hook): Likewise.
41308         (tr_old_memalign_hook): Likewise.
41309         (tr_mallochook): Likewise.
41310         (tr_reallochook): Likewise.
41311         (tr_memalignhook): Likewise.
41313 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41315         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
41316         default_ldbl_pack and using as default implementation.
41317         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
41318         implementation.
41319         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
41320         redundant definition.
41321         (ldbl_insert_mantissa): Likewise.
41322         (ldbl_canonicalize): Likewise.
41323         (ldbl_nearbyint): Likewise.
41324         (ldbl_pack): Rename to ldbl_pack_ppc.
41325         (ldbl_unpack): Rename to ldbl_unpack_ppc.
41326         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
41327         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
41329 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41331         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
41332         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
41333         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
41334         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
41335         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
41336         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
41337         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
41338         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
41340 2013-03-07  Andreas Jaeger  <aj@suse.de>
41342         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41343         bits/mman-linux.h.
41345 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41347         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
41348         Include mpa.h and declare __MPEXP.
41349         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
41350         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
41351         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
41352         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
41353         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
41354         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
41355         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
41357         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
41358         (__slowpow): Use long double EXPL and LOGL functions to
41359         compute POW.
41360         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
41361         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
41362         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
41363         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
41364         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
41365         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
41367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
41368         intermediate variable to calculate exponent.
41369         (__sqr): Likewise.
41370         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
41371         Likewise.
41372         (__sqr): Likewise.
41374         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
41375         [!NO__SQR]: Define __sqr.
41376         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
41377         and NO__SQR.  Remove all code except __mul and __sqr.  Include
41378         sysdeps/ieee754/dbl-64/mpa.c.
41379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41381         [BZ #12723]
41382         * posix/Makefile (tests): Add tst-pathconf.
41383         * posix/tst-pathconf.c: New test case.
41384         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
41385         _PC_PIPE_BUF.
41386         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
41388 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
41390         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
41392 2013-03-06  Andreas Jaeger  <aj@suse.de>
41394         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
41395         definition via __MAP_ANONYMOUS.
41397         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
41398         it's not part of Linux headers.
41400         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
41401         (MAP_HUGE_MASK): Define.
41403         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
41404         Define.
41405         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41406         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
41407         Define.
41408         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41409         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
41410         Define.
41411         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41412         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
41413         Define.
41414         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41416         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
41417         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
41418         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
41419         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
41420         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
41421         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
41423         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41424         Handle f2fs.
41426         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41427         Handle f2fs and efivarfs.
41429         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
41430         f2fs.
41432         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
41433         (EFIVARFS_MAGIC): Add.
41434         (F2FS_LINK_MAX): Add.
41436 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41438         * stdio-common/vfprintf.c: Replace __builtin_expect with
41439         __glibc_unlikely.
41441 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
41443         [BZ #13550]
41444         * sysdeps/generic/bp-sym.h: Remove file.
41445         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
41446         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
41447         <bp-sym.h> and <bp-asm.h>.
41448         (__longjmp): Don't use BP_SYM.
41449         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
41450         and <bp-asm.h>.
41451         (memcpy): Don't use BP_SYM.
41452         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
41453         <bp-sym.h> and <bp-asm.h>.
41454         (memcpy): Don't use BP_SYM.
41455         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
41456         <bp-asm.h>.
41457         (memcpy): Don't use BP_SYM.
41458         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
41459         <bp-asm.h>.
41460         (memset): Don't use BP_SYM.
41461         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
41462         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
41463         (__bzero): Don't use BP_SYM.
41464         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
41465         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
41466         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
41467         <bp-sym.h> and <bp-asm.h>.
41468         (memcmp): Don't use BP_SYM.  Remove comment about bounded
41469         pointers.
41470         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
41471         <bp-sym.h> and <bp-asm.h>.
41472         (memcpy): Don't use BP_SYM.
41473         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
41474         <bp-sym.h> and <bp-asm.h>.
41475         (memset): Don't use BP_SYM.
41476         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
41477         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
41478         (__bzero): Don't use BP_SYM.
41479         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
41480         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
41481         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
41482         <bp-sym.h> and <bp-asm.h>.
41483         (strncmp): Don't use BP_SYM.  Remove comment about bounded
41484         pointers.
41485         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
41486         <bp-sym.h> and <bp-asm.h>.
41487         (memcpy): Don't use BP_SYM.
41488         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
41489         <bp-sym.h> and <bp-asm.h>.
41490         (memset): Don't use BP_SYM.
41491         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
41492         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
41493         (__bzero): Don't use BP_SYM.
41494         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
41495         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
41496         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
41497         <bp-sym.h> and <bp-asm.h>.
41498         (__memchr): Don't use BP_SYM.
41499         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
41500         <bp-sym.h> and <bp-asm.h>.
41501         (memcmp): Don't use BP_SYM.  Remove comment about bounded
41502         pointers.
41503         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
41504         <bp-sym.h> and <bp-asm.h>.
41505         (memcpy): Don't use BP_SYM.
41506         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
41507         <bp-sym.h> and <bp-asm.h>.
41508         (__mempcpy): Don't use BP_SYM.
41509         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
41510         <bp-sym.h> and <bp-asm.h>.
41511         (__memrchr): Don't use BP_SYM.
41512         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
41513         <bp-sym.h> and <bp-asm.h>.
41514         (memset): Don't use BP_SYM.
41515         (__bzero): Likewise.
41516         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
41517         <bp-sym.h> and <bp-asm.h>.
41518         (__rawmemchr): Don't use BP_SYM.
41519         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
41520         <bp-sym.h> and <bp-asm.h>.
41521         (__STRCMP): Don't use BP_SYM.
41522         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
41523         <bp-sym.h> and <bp-asm.h>.
41524         (strchr): Don't use BP_SYM.
41525         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
41526         <bp-sym.h> and <bp-asm.h>.
41527         (__strchrnul): Don't use BP_SYM.
41528         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
41529         <bp-sym.h> and <bp-asm.h>.
41530         (strlen): Don't use BP_SYM.
41531         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
41532         <bp-sym.h> and <bp-asm.h>.
41533         (strncmp): Don't use BP_SYM.  Remove comment about bounded
41534         pointers.
41535         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
41536         <bp-sym.h> and <bp-asm.h>.
41537         (__strnlen): Don't use BP_SYM.
41538         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
41539         <bp-sym.h> and <bp-asm.h>.
41540         (__GI__setjmp): Don't use BP_SYM.
41541         (_setjmp): Likewise.
41542         (__sigsetjmp): Likewise.
41543         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
41544         (L(start_addresses)): Don't use BP_SYM.
41545         (_start): Likewise.
41546         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
41547         <bp-asm.h>.
41548         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
41549         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
41550         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
41551         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
41552         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
41553         <bp-asm.h>.
41554         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
41555         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
41556         about bounded pointers.
41557         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
41558         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
41559         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
41560         <bp-asm.h>.
41561         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
41562         about bounded pointers.  Remove GKM FIXME comments.
41563         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
41564         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
41565         <bp-asm.h>.
41566         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
41567         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
41568         Remove GKM FIXME comments.
41569         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
41570         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
41571         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
41572         <bp-asm.h>.
41573         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
41574         about bounded pointers.  Remove GKM FIXME comment.
41575         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
41576         and <bp-asm.h>.
41577         (strncmp): Don't use BP_SYM.  Remove comment about bounded
41578         pointers.
41579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
41580         <bp-sym.h> and <bp-asm.h>.
41581         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
41582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
41583         <bp-sym.h> and <bp-asm.h>.
41584         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
41585         comment.
41587 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41589         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
41590         call free(NULL).
41592 2013-03-05  David S. Miller  <davem@davemloft.net>
41594         * po/es.po: Update from translation team.
41596 2013-03-05  Andreas Jaeger  <aj@suse.de>
41598         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
41599         <bits/mman-linux.h>.
41600         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
41601         is fine.
41602         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
41603         <bits/mman-linux.h> to end of file.
41604         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
41605         is fine.
41606         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
41607         <bits/mman-linux.h> to end of file.
41608         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
41609         is fine.
41610         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
41611         <bits/mman-linux.h> to end of file.
41613         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
41614         (MCL_CURRENT, MCL_FUTURE): Define here.
41616 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41618         [BZ #15232]
41619         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
41620         attribute_hidden.
41621         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41623 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41625         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
41626         fourth parameter needed for rt_sigprocmask syscall.
41627         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
41628         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
41629         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
41630         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
41631         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
41632         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
41634 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
41636         [BZ #13550]
41637         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
41638         comment about bounded pointers.
41639         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
41640         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
41642 2013-03-04  Andreas Jaeger  <aj@suse.de>
41644         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
41645         common definitions.
41647         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
41648         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
41649         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
41650         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41651         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41652         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41654 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41656         [BZ #15055]
41657         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
41658         __ieee754_sqrl instead of __sqrl.
41660 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
41662         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
41663         * sysdeps/powerpc/fpu_control.h: ... here.
41664         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
41665         * sysdeps/powerpc/bits/fenvinline.h: ... here.
41666         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
41667         * sysdeps/powerpc/bits/mathinline.h: ... here.
41669 2013-03-01  Roland McGrath  <roland@hack.frob.com>
41671         * elf/dl-hwcaps.c (_dl_important_hwcaps):
41672         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
41673         to just [NEED_DL_SYSINFO_DSO].
41674         * elf/dl-support.c: Likewise.
41675         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
41676         * elf/rtld.c (dl_main): Likewise.
41677         * elf/setup-vdso.h (setup_vdso): Likewise.
41678         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
41679         * sysdeps/unix/sysv/linux/dl-sysdep.c
41680         (_dl_discover_osversion): Likewise.
41682 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
41684         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
41685         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
41687 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41689         * NEWS: Mention libm performance improvements and non-x86 PI
41690         futex support.
41692         * csu/libc-start.c (__pthread_initialize_minimal): Change
41693         function arguments.
41694         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
41696 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
41698         [BZ #13550]
41699         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
41700         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
41701         <bp-sym.h> and <bp-asm.h>.
41702         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
41703         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
41704         and <bp-asm.h>.
41705         (memcpy): Don't use BP_SYM.
41706         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
41707         <bp-asm.h>.
41708         (__mpn_add_n): Don't use BP_SYM.
41709         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
41710         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
41711         and <bp-asm.h>.
41712         (__mpn_addmul_1): Don't use BP_SYM.
41713         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41714         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
41715         <bp-sym.h>.
41716         (_setjmp): Don't use BP_SYM.
41717         (__novmx_setjmp): Likewise.
41718         (__GI__setjmp): Likewise.
41719         (__vmx_setjmp): Likewise.
41720         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
41721         <bp-sym.h>.
41722         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
41723         (__bzero): Don't use BP_SYM.
41724         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
41725         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
41726         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
41727         <bp-sym.h> and <bp-asm.h>.
41728         (memcpy): Don't use BP_SYM.
41729         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
41730         <bp-sym.h> and <bp-asm.h>.
41731         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
41732         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
41733         <bp-sym.h> and <bp-asm.h>.
41734         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
41735         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
41736         <bp-asm.h>.
41737         (__mpn_lshift): Don't use BP_SYM.
41738         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41739         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
41740         <bp-asm.h>.
41741         (memset): Don't use BP_SYM.
41742         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
41743         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
41744         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
41745         <bp-asm.h>.
41746         (__mpn_mul_1): Don't use BP_SYM.
41747         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41748         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
41749         <bp-sym.h> and <bp-asm.h>.
41750         (memcmp): Don't use BP_SYM.
41751         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
41752         <bp-sym.h> and <bp-asm.h>.
41753         (memcpy): Don't use BP_SYM.
41754         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
41755         <bp-sym.h> and <bp-asm.h>.
41756         (memset): Don't use BP_SYM.
41757         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
41758         <bp-sym.h> and <bp-asm.h>.
41759         (strncmp): Don't use BP_SYM.
41760         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
41761         <bp-sym.h> and <bp-asm.h>.
41762         (memcpy): Don't use BP_SYM.
41763         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
41764         <bp-sym.h> and <bp-asm.h>.
41765         (memset): Don't use BP_SYM.
41766         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
41767         <bp-sym.h> and <bp-asm.h>.
41768         (__memchr): Don't use BP_SYM.
41769         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
41770         <bp-sym.h> and <bp-asm.h>.
41771         (memcmp): Don't use BP_SYM.
41772         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
41773         <bp-sym.h> and <bp-asm.h>.
41774         (memcpy): Don't use BP_SYM.
41775         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
41776         <bp-sym.h> and <bp-asm.h>.
41777         (__mempcpy): Don't use BP_SYM.
41778         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
41779         <bp-sym.h> and <bp-asm.h>.
41780         (__memrchr): Don't use BP_SYM.
41781         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
41782         <bp-sym.h> and <bp-asm.h>.
41783         (memset): Don't use BP_SYM.
41784         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
41785         <bp-sym.h> and <bp-asm.h>.
41786         (__rawmemchr): Don't use BP_SYM.
41787         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
41788         <bp-sym.h> and <bp-asm.h>.
41789         (__STRCMP): Don't use BP_SYM.
41790         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
41791         <bp-sym.h> and <bp-asm.h>.
41792         (strchr): Don't use BP_SYM.
41793         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
41794         <bp-sym.h> and <bp-asm.h>.
41795         (__strchrnul): Don't use BP_SYM.
41796         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
41797         <bp-sym.h> and <bp-asm.h>.
41798         (strlen): Don't use BP_SYM.
41799         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
41800         <bp-sym.h> and <bp-asm.h>.
41801         (strncmp): Don't use BP_SYM.
41802         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
41803         <bp-sym.h> and <bp-asm.h>.
41804         (__strnlen): Don't use BP_SYM.
41805         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
41806         <bp-asm.h>.
41807         (__mpn_rshift): Don't use BP_SYM.
41808         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41809         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
41810         <bp-sym.h> and <bp-asm.h>.
41811         (__sigsetjmp): Don't use BP_SYM.
41812         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
41813         (L(start_addresses)): Don't use BP_SYM.
41814         (_start): Likewise.
41815         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
41816         <bp-asm.h>.
41817         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
41818         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
41819         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
41820         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
41821         <bp-asm.h>.
41822         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
41823         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
41824         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
41825         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
41826         <bp-asm.h>.
41827         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
41828         comments.
41829         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
41830         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
41831         <bp-asm.h>.
41832         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
41833         FIXME comments.
41834         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
41835         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
41836         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
41837         <bp-asm.h>.
41838         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
41839         comment.
41840         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
41841         and <bp-asm.h>.
41842         (strncmp): Don't use BP_SYM,
41843         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
41844         <bp-asm.h>.
41845         (__mpn_sub_n): Don't use BP_SYM.
41846         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41847         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
41848         and <bp-asm.h>.
41849         (__mpn_submul_1): Don't use BP_SYM.
41850         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
41852         <bp-sym.h> and <bp-asm.h>.
41853         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
41854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
41855         <bp-sym.h> and <bp-asm.h>.
41856         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
41857         comment.
41859 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41861         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
41862         Use ZK to minimize writes to Z.
41863         (sub_magnitudes): Simplify code a bit.
41864         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
41865         Use ZK to minimize writes to Z.
41866         (sub_magnitudes): Simplify code a bit.
41868 2013-02-27  Roland McGrath  <roland@hack.frob.com>
41870         * csu/gmon-start.c: Add special exception to license text.
41872 2013-02-27  Richard Henderson  <rth@redhat.com>
41874         * scripts/config.guess: Update from config.git.
41875         * scripts/config.sub: Likewise.
41877 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41879         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
41881         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
41883         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
41885         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
41887         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
41889 2013-02-26  Roland McGrath  <roland@hack.frob.com>
41891         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
41892         [$(build-shared = yes].
41894 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41896         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
41897         (__mul): Reduce iterations for calculating mantissa.
41899         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
41900         MPTWO.
41901         (__mpranred): Likewise.
41903         [BZ #15160]
41904         * malloc/memusagestat.c (main): Draw graphs for heap and stack
41905         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
41907 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
41909         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
41910         Define __attribute__.
41912 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41914         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
41915         unused.
41916         * posix/regex_internal.h (__attribute): Remove.
41917         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
41918         (re_string_context_at): Likewise.
41919         (bitset_not): Use __attribute__ and mark function as possibly
41920         unused.
41921         (bitset_merge): Likewise.
41922         (bitset_mask): Likewise.
41923         (re_string_char_size_at): Likewise.
41924         (re_string_wchar_at): Likewise.
41925         (re_string_elem_size_at): Likewise.
41927 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41929         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
41930         code.
41931         (cc32): Likewise.
41933         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
41934         (__acr): Likewise.
41935         (__cpy): Likewise.
41936         (norm): Likewise.
41937         (denorm): Likewise.
41938         (__dbl_mp): Likewise.
41939         (add_magnitudes): Likewise.
41940         (sub_magnitudes): Likewise.
41941         (__mul): Likewise.
41942         (__inv): Likewise.
41944         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
41945         style.
41947         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
41948         style.
41950         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
41951         code.
41953         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
41954         up changes with default code.
41955         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
41956         Likewise.
41958 2013-02-24  Allan McRae  <allan@archlinux.org>
41960         * manual/socket.texi (The Internet Namespace): Order menu items
41961         to match that in the file.
41963         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
41964         node listing of the info page menu.
41966 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
41968         [BZ #13550]
41969         * sysdeps/i386/bp-asm.h: Remove file.
41970         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
41971         (PARMS): Do not use macros from bp-asm.h.
41972         (S1): Likewise.
41973         (S2): Likewise.
41974         (SIZE): Likewise.
41975         (__mpn_add_n): Do not use BP_SYM
41976         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
41977         "bp-asm.h".
41978         (PARMS): Do not use macros from bp-asm.h.
41979         (S1): Likewise.
41980         (SIZE): Likewise.
41981         (__mpn_addmul_1): Do not use BP_SYM
41982         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
41983         "bp-asm.h".
41984         (PARMS): Do not use macros from bp-asm.h.
41985         (SIGMSK): Likewise.
41986         (_setjmp): Likewise.  Do not use BP_SYM.
41987         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
41988         "bp-asm.h".
41989         (PARMS): Do not use macros from bp-asm.h.
41990         (SIGMSK): Likewise.
41991         (setjmp): Likewise.  Do not use BP_SYM.
41992         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
41993         "bp-asm.h".
41994         (PARMS): Do not use macros from bp-asm.h.
41995         (__frexp): Do not use BP_SYM.
41996         (frexp): Likewise.
41997         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
41998         "bp-asm.h".
41999         (PARMS): Do not use macros from bp-asm.h.
42000         (__frexpf): Do not use BP_SYM.
42001         (frexpf): Likewise.
42002         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
42003         "bp-asm.h".
42004         (PARMS): Do not use macros from bp-asm.h.
42005         (__frexpl): Do not use BP_SYM.
42006         (frexpl): Likewise.
42007         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
42008         "bp-asm.h".
42009         (PARMS): Do not use macros from bp-asm.h.
42010         (__remquo): Do not use BP_SYM.
42011         (remquo): Likewise.
42012         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
42013         "bp-asm.h".
42014         (PARMS): Do not use macros from bp-asm.h.
42015         (__remquof): Do not use BP_SYM.
42016         (remquof): Likewise.
42017         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
42018         "bp-asm.h".
42019         (PARMS): Do not use macros from bp-asm.h.
42020         (__remquol): Do not use BP_SYM.
42021         (remquol): Likewise.
42022         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
42023         "bp-asm.h".
42024         (PARMS): Do not use macros from bp-asm.h.
42025         (DEST): Likewise.
42026         (SRC): Likewise.
42027         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
42028         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
42029         "bp-asm.h".
42030         (PARMS): Do not use macros from bp-asm.h.
42031         (strlen): Do not use BP_SYM.
42032         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
42033         "bp-asm.h".
42034         (PARMS): Do not use macros from bp-asm.h.
42035         (S1): Likewise.
42036         (S2): Likewise.
42037         (SIZE): Likewise.
42038         (__mpn_add_n): Do not use BP_SYM.
42039         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
42040         "bp-asm.h".
42041         (PARMS): Do not use macros from bp-asm.h.
42042         (S1): Likewise.
42043         (SIZE): Likewise.
42044         (__mpn_addmul_1): Do not use BP_SYM.
42045         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
42046         weak_alias.
42047         (bzero): Likewise.
42048         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
42049         "bp-asm.h".
42050         (PARMS): Do not use macros from bp-asm.h.
42051         (S): Likewise.
42052         (SIZE): Likewise.
42053         (__mpn_lshift): Do not use BP_SYM.
42054         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
42055         "bp-asm.h".
42056         (PARMS): Do not use macros from bp-asm.h.
42057         (DEST): Likewise.
42058         (SRC): Likewise.
42059         (LEN): Likewise.
42060         (memcpy): Likewise.  Do not use BP_SYM.
42061         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
42062         libc_hidden_def and weak_alias.
42063         (mempcpy): Do not use BP_SYM in weak_alias.
42064         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
42065         "bp-asm.h".
42066         (PARMS): Do not use macros from bp-asm.h.
42067         (DEST): Likewise.
42068         (LEN): Likewise.
42069         [!BZERO_P] (CHR): Likewise.
42070         (memset): Likewise.  Do not use BP_SYM.
42071         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
42072         "bp-asm.h".
42073         (PARMS): Do not use macros from bp-asm.h.
42074         (S1): Likewise.
42075         (SIZE): Likewise.
42076         (__mpn_mul_1): Do not use BP_SYM.
42077         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
42078         "bp-asm.h".
42079         (PARMS): Do not use macros from bp-asm.h.
42080         (S): Likewise.
42081         (SIZE): Likewise.
42082         (__mpn_rshift): Do not use BP_SYM.
42083         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
42084         "bp-asm.h".
42085         (PARMS): Do not use macros from bp-asm.h.
42086         (STR): Likewise.
42087         (CHR): Likewise.
42088         (strchr): Likewise.  Do not use BP_SYM.
42089         (index): Do not use BP_SYM in weak_alias.
42090         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
42091         "bp-asm.h".
42092         (PARMS): Do not use macros from bp-asm.h.
42093         (DEST): Likewise.
42094         (SRC): Likewise.
42095         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
42096         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
42097         "bp-asm.h".
42098         (PARMS): Do not use macros from bp-asm.h.
42099         (strlen): Do not use BP_SYM.
42100         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
42101         "bp-asm.h".
42102         (PARMS): Do not use macros from bp-asm.h.
42103         (S1): Likewise.
42104         (S2): Likewise.
42105         (SIZE): Likewise.
42106         (__mpn_sub_n): Do not use BP_SYM.
42107         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
42108         "bp-asm.h".
42109         (PARMS): Do not use macros from bp-asm.h.
42110         (S1): Likewise.
42111         (SIZE): Likewise.
42112         (__mpn_submul_1): Do not use BP_SYM.
42113         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
42114         "bp-asm.h".
42115         (PARMS): Do not use macros from bp-asm.h.
42116         (S1): Likewise.
42117         (S2): Likewise.
42118         (SIZE): Likewise.
42119         (__mpn_add_n): Do not use BP_SYM.
42120         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
42121         weak_alias.
42122         (bzero): Likewise.
42123         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
42124         "bp-asm.h".
42125         (PARMS): Do not use macros from bp-asm.h.
42126         (BLK2): Likewise.
42127         (LEN): Likewise.
42128         (memcmp): Do not use BP_SYM.
42129         (bcmp): Do not use BP_SYM in weak_alias.
42130         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
42131         "bp-asm.h".
42132         (PARMS): Do not use macros from bp-asm.h.
42133         (DEST): Likewise.
42134         (SRC): Likewise.
42135         (LEN): Likewise.
42136         (memcpy): Likewise.  Do not use BP_SYM.
42137         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
42138         "bp-asm.h".
42139         (PARMS): Do not use macros from bp-asm.h.
42140         (DEST): Likewise.
42141         (SRC): Likewise.
42142         (LEN): Likewise.
42143         (memmove): Likewise.  Do not use BP_SYM.
42144         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
42145         "bp-asm.h".
42146         (PARMS): Do not use macros from bp-asm.h.
42147         (DEST): Likewise.
42148         (SRC): Likewise.
42149         (LEN): Likewise.
42150         (__mempcpy): Likewise.  Do not use BP_SYM.
42151         (mempcpy): Do not use BP_SYM in weak_alias.
42152         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
42153         "bp-asm.h".
42154         (PARMS): Do not use macros from bp-asm.h.
42155         (DEST): Likewise.
42156         (LEN): Likewise.
42157         [!BZERO_P] (CHR): Likewise.
42158         (memset): Likewise.  Do not use BP_SYM.
42159         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
42160         "bp-asm.h".
42161         (PARMS): Do not use macros from bp-asm.h.
42162         (STR2): Likewise.
42163         (strcmp): Do not use BP_SYM.
42164         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
42165         "bp-asm.h".
42166         (PARMS): Do not use macros from bp-asm.h.
42167         (STR): Likewise.
42168         (DELIM): Likewise.
42169         [USE_AS_STRTOK_R] (SAVE): Likewise.
42170         (FUNCTION): Likewise.  Do not use BP_SYM.
42171         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
42172         aliases.
42173         (strtok_r): Likewise.
42174         (__GI___strtok_r): Likewise.
42175         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
42176         (PARMS): Do not use macros from bp-asm.h.
42177         (S): Likewise.
42178         (SIZE): Likewise.
42179         (__mpn_lshift): Do not use BP_SYM.
42180         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
42181         (PARMS): Do not use macros from bp-asm.h.
42182         (STR): Likewise.
42183         (CHR): Likewise.
42184         (__memchr): Do not use BP_SYM.
42185         (memchr): Do not use BP_SYM in weak_alias.
42186         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
42187         (PARMS): Do not use macros from bp-asm.h.
42188         (BLK2): Likewise.
42189         (LEN): Likewise.
42190         (memcmp): Do not use BP_SYM.
42191         (bcmp): Do not use BP_SYM in weak_alias.
42192         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
42193         (PARMS): Do not use macros from bp-asm.h.
42194         (S1): Likewise.
42195         (SIZE): Likewise.
42196         (__mpn_mul_1): Do not use BP_SYM.
42197         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
42198         "bp-asm.h".
42199         (PARMS): Do not use macros from bp-asm.h.
42200         (STR): Likewise.
42201         (CHR): Likewise.
42202         (__rawmemchr): Do not use BP_SYM.
42203         (rawmemchr): Do not use BP_SYM in weak_alias.
42204         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
42205         (PARMS): Do not use macros from bp-asm.h.
42206         (S): Likewise.
42207         (SIZE): Likewise.
42208         (__mpn_rshift): Do not use BP_SYM.
42209         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
42210         (PARMS): Do not use macros from bp-asm.h.
42211         (SIGMSK): Likewise.
42212         (__sigsetjmp): Likewise.  Do not use BP_SYM.
42213         * sysdeps/i386/start.S: Do not include "bp-sym.h".
42214         (_start): Do not use BP_SYM.
42215         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
42216         (PARMS): Do not use macros from bp-asm.h.
42217         (DEST): Likewise.
42218         (SRC): Likewise.
42219         (__stpcpy): Likewise.  Do not use BP_SYM.
42220         (stpcpy): Do not use BP_SYM in weak_alias.
42221         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
42222         "bp-asm.h".
42223         (PARMS): Do not use macros from bp-asm.h.
42224         (DEST): Likewise.
42225         (SRC): Likewise.
42226         (LEN): Likewise.
42227         (__stpncpy): Likewise.  Do not use BP_SYM.
42228         (stpncpy): Do not use BP_SYM in weak_alias.
42229         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
42230         (PARMS): Do not use macros from bp-asm.h.
42231         (STR): Likewise.
42232         (CHR): Likewise.
42233         (strchr): Likewise.  Do not use BP_SYM.
42234         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
42235         "bp-asm.h".
42236         (PARMS): Do not use macros from bp-asm.h.
42237         (STR): Likewise.
42238         (CHR): Likewise.
42239         (__strchrnul): Likewise.  Do not use BP_SYM.
42240         (strchrnul): Do not use BP_SYM in weak_alias.
42241         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
42242         "bp-asm.h".
42243         (PARMS): Do not use macros from bp-asm.h.
42244         (STOP): Likewise.
42245         (strcspn): Do not use BP_SYM.
42246         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
42247         "bp-asm.h".
42248         (PARMS): Do not use macros from bp-asm.h.
42249         (STR): Likewise.
42250         (STOP): Likewise.
42251         (strpbrk): Likewise.  Do not use BP_SYM.
42252         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
42253         "bp-asm.h".
42254         (PARMS): Do not use macros from bp-asm.h.
42255         (STR): Likewise.
42256         (CHR): Likewise.
42257         (strrchr): Likewise.  Do not use BP_SYM.
42258         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
42259         (PARMS): Do not use macros from bp-asm.h.
42260         (SKIP): Likewise.
42261         (strspn): Do not use BP_SYM.
42262         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
42263         (PARMS): Do not use macros from bp-asm.h.
42264         (STR): Likewise.
42265         (DELIM): Likewise.
42266         (SAVE): Likewise.
42267         (FUNCTION): Likewise.  Do not use BP_SYM.
42268         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
42269         aliases.
42270         (strtok_r): Likewise.
42271         (__GI___strtok_r): Likewise.
42272         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
42273         (PARMS): Do not use macros from bp-asm.h.
42274         (S1): Likewise.
42275         (S2): Likewise.
42276         (SIZE): Likewise.
42277         (__mpn_sub_n): Do not use BP_SYM.
42278         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
42279         "bp-asm.h".
42280         (PARMS): Do not use macros from bp-asm.h.
42281         (S1): Likewise.
42282         (SIZE): Likewise.
42283         (__mpn_submul_1): Do not use BP_SYM.
42284         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
42285         <bp-sym.h>.
42286         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
42287         and <bp-asm.h>.
42288         (PARMS): Do not use macros from bp-asm.h.
42289         (FLAGS): Likewise.
42290         (PTID): Likewise.
42291         (TLS): Likewise.
42292         (CTID): Likewise.
42293         (__clone): Do not use BP_SYM.
42294         (clone): Do not use BP_SYM in weak_alias.
42295         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
42296         and <bp-asm.h>.
42297         (PARMS): Do not use macros from bp-asm.h.
42298         (LEN): Likewise.
42299         (__mmap64): Do not use BP_SYM.
42300         (mmap64): Do not use BP_SYM in weak_alias.
42301         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42302         <bp-sym.h> and <bp-asm.h>.
42303         (PARMS): Do not use macros from bp-asm.h.
42304         (__posix_fadvise64_l64): Do not use BP_SYM.
42305         * sysdeps/unix/sysv/linux/i386/semtimedop.S
42306         (PARMS): Do not use macros from bp-asm.h.
42307         (NSOPS): Likewise.
42308         (semtimedop): Do not use BP_SYM.
42309         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
42310         and <bp-asm.h>.
42312 2013-02-21  Allan McRae  <allan@archlinux.org>
42314         * manual/message.texi (Charset conversion in gettext):
42315         Move @end statement to beginning of line.
42317 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
42320         static.
42321         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42322         Likewise.
42324         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
42325         (denorm): Likewise.
42326         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
42327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
42329 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42331         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
42332         tail-call to the resolved function if pltexit isn't needed.
42334 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42336         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
42337         or Y being zero as being unlikely.
42338         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
42339         Likewise.
42341 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
42343         * manual/nss.texi (System Databases and Name Service Switch):
42344         Remove frobnicate @pxref.
42346 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
42348         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
42349         __attribute__ ((unused)) to __attribute__ ((__unused__)).
42351 2013-02-20  Petr Machata  <pmachata@redhat.com>
42353         * elf/elf.h (R_ARM_TARGET1): New macro.
42354         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
42355         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
42356         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
42357         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
42358         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
42359         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
42360         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
42361         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
42362         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
42363         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
42364         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
42365         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
42366         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
42367         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
42368         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
42369         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
42370         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
42371         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
42372         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
42373         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
42374         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
42375         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
42376         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
42377         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
42378         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
42379         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
42380         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
42381         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
42382         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
42383         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
42384         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
42385         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
42386         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
42387         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
42388         (R_ARM_THM_GOT_BREL12): Likewise.
42389         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
42390         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
42391         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
42392         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
42393         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
42394         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
42395         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
42396         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
42397         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
42399 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
42401         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
42402         __attribute_used__ to __attribute__ ((unused)).
42404 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42406         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
42407         powerpc mpa.c.
42408         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
42409         comment formatting.
42410         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
42412 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
42414         [BZ #13550]
42415         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
42416         Remove macro.
42417         (ENTER): Remove both macro definitions.
42418         (LEAVE): Likewise.
42419         (CHECK_BOUNDS_LOW): Likewise.
42420         (CHECK_BOUNDS_HIGH): Likewise.
42421         (CHECK_BOUNDS_BOTH): Likewise.
42422         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
42423         (RETURN_BOUNDED_POINTER): Likewise.
42424         (RETURN_NULL_BOUNDED_POINTER): Likewise.
42425         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
42426         (POP_ERRNO_LOCATION_RETURN): Likewise.
42427         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
42428         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42429         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
42430         macros.
42431         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42432         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
42433         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
42434         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
42435         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
42436         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
42437         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
42438         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
42439         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
42440         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
42441         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
42442         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
42443         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42444         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
42445         removed macros.
42446         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42447         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
42448         macros.
42449         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42450         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
42451         * sysdeps/i386/i586/memset.S (memset): Likewise.
42452         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
42453         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42454         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
42455         macros.
42456         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42457         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
42458         Change uses of L(2) to L(out).
42459         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
42460         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
42461         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
42462         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42463         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
42464         removed macros.
42465         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42466         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
42467         macros.
42468         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42469         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
42470         (RETURN): Do not use macro LEAVE.
42471         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
42472         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
42473         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
42474         * sysdeps/i386/i686/memset.S (memset): Likewise.
42475         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
42476         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
42477         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42478         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
42479         Likewise.
42480         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42481         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
42482         L(1_2) and L(1_3) into L(1).
42483         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
42484         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
42485         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42486         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
42487         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42488         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
42489         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
42490         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42491         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
42492         macros.
42493         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
42494         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42495         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
42496         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
42497         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
42498         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42499         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
42500         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
42501         * sysdeps/i386/strcspn.S (strcspn): Likewise.
42502         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
42503         * sysdeps/i386/strrchr.S (strrchr): Likewise.
42504         * sysdeps/i386/strspn.S (strspn): Likewise.
42505         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
42506         conditional code.
42507         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42508         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
42509         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
42510         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
42511         L(1_3) into L(1_1).
42512         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
42513         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42514         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
42515         macros.
42516         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42518 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
42520         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
42521         macro.
42523 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42525         * math/atest-exp.c (exp_mpn): Remove ROUND.
42526         * math/atest-exp2.c (exp_mpn): Likewise.
42527         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
42529         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
42530         * stdlib/tst-tls-atexit-lib.c: Likewise.
42531         * stdlib/tst-tls-atexit.c: Likewise.
42533 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
42535         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
42536         and __attribute_alloc_size__.
42538 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
42540         * include/programs/xmalloc.h: Change __attribute_alloc_size to
42541         __attribute_alloc_size__.
42542         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
42543         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
42545 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
42547         * include/programs/xmalloc.h: New file.
42548         * catgets/gencat.c: Include it.
42549         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
42550         * elf/pldd.c: Likewise.
42551         * iconv/iconv_charmap.c: Likewise.
42552         * iconv/iconvconfig.c: Likewise.
42553         * iconv/strtab.c: Likewise.
42554         * locale/programs/locale.c: Likewise.
42555         * locale/programs/localedef.h: Likewise.
42556         * locale/programs/simple-hash.c: Likewise.
42557         * nscd/nscd.h: Likewise.
42558         * nss/makedb.c: Likewise.
42559         * sysdeps/generic/ldconfig.h: Likewise.
42561 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42563         * Versions.def: Add GLIBC_2.18.
42564         * include/link.h (struct link_map): New member l_tls_dtor_count.
42565         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
42566         (__call_tls_dtors): Likewise.
42567         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
42568         __cxa_thread_atexit_impl.
42569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42570         Likewise.
42571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42572         Likewise.
42573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42574         Likewise.
42575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42576         Likewise.
42577         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
42579         Likewise.
42580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
42581         Likewise.
42582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42584         Likewise.
42585         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
42586         (tests): Add test case tst-tls-atexit.
42587         (modules-names): Add shared library for tst-tls-atexit.
42588         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
42589         (GLIBC_PRIVATE): Add __call_tls_dtors.
42590         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
42591         for libstdc++.
42592         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
42593         * stdlib/tst-tls-atexit.c: New test case.
42594         * stdlib/tst-tls-atexit-lib.c: New test case.
42596         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
42598         * elf/Versions (ld): Add _dl_find_dso_for_object.
42599         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
42600         * elf/dl-open.c (_dl_find_dso_for_object): New function.
42601         (dl_open_worker): Use _dl_find_dso_for_object.
42602         * elf/dl-sym.c (do_sym): Likewise.
42603         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
42605 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42607         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
42608         Syntactic changes only.
42609         (_dl_runtime_profile): Do a tail-call to the resolved function.
42611 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
42613         [BZ #13550]
42614         * sysdeps/x86_64/bp-asm.h: Remove file.
42615         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
42616         <bp-sym.h> and <bp-asm.h>.
42617         (__clone): Do not use BP_SYM.
42618         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
42619         <bp-sym.h> and <bp-asm.h>.
42620         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42621         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
42622         "bp-asm.h".
42623         (_setjmp): Do not use BP_SYM.
42624         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
42625         "bp-asm.h".
42626         (setjmp): Do not use BP_SYM.
42627         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
42628         libc_hidden_def.
42629         (mempcpy): Do not use BP_SYM in weak_alias.
42630         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
42631         "bp-asm.h".
42632         (strchr): Do not use BP_SYM.
42633         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
42634         "bp-asm.h".
42635         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
42636         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
42637         (_start): Do not use BP_SYM.
42638         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
42639         "bp-asm.h".
42640         (strcat): Do not use BP_SYM.
42641         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
42642         "bp-asm.h".
42643         (STRCMP): Do not use BP_SYM.
42644         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
42645         "bp-asm.h".
42646         (STRCPY): Do not use BP_SYM.
42647         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
42648         "bp-asm.h".
42649         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
42650         "bp-asm.h".
42651         (FUNCTION): Do not use BP_SYM.
42652         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
42653         weak_alias.
42654         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
42656 2013-02-17  Andreas Jaeger  <aj@suse.de>
42658         * time/Versions: Sort entries.
42659         * string/Versions: Likewise.
42660         * resolv/Versions: Likewise.
42661         * posix/Versions: Likewise.
42662         * iconv/Versions: Likewise.
42663         * elf/Versions: Likewise.
42664         * wcsmbs/Versions: Likewise.
42666 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42668         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
42669         loop termination condition.
42671         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
42672         variable to calculate EZ.
42673         (__sqr): Likewise.
42675         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
42676         the lower precision input.
42678 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
42680         [BZ #13550]
42681         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
42682         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
42683         (run-via-rtld-prefix): Do not handle %-bp tests.
42684         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
42685         (all-object-suffixes): Remove .ob.
42686         (bppfx): Remove variable.
42687         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
42688         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
42689         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
42690         [$(build-bounded) = yes] (libtype.ob): Likewise.
42691         * Makerules (elide-routines.ob): Remove variable.
42692         (do-tests-clean): Do not handle *-bp.out.
42693         (common-mostlyclean): Do not handle *-bp and *-bp.out.
42694         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
42695         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
42696         (tests): Do not include $(tests-bp.out).
42697         (xtests): Do not include $(xtests-bp.out).
42698         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
42699         [$(build-bounded) = yes] ($(addprefix
42700         $(objpfx),$(binaries-bounded))): Remove rule.
42701         ($(objpfx)%-bp.out): Remove rule.
42702         * config.make.in (build-bounded): Remove variable.
42703         * crypt/Makefile [$(build-bounded) = yes]
42704         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
42705         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
42706         append to variable.
42707         [$(build-bounded) = yes] (install-lib): Likewise.
42708         [$(build-bounded) = yes] (generated): Likewise.
42709         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
42710         Remove rule.
42711         * intl/Makefile [$(build-bounded) = yes]
42712         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
42713         * math/Makefile [$(build-bounded) = yes]
42714         ($(tests:%=$(objpfx)%-bp): Likewise.
42715         * misc/Makefile [$(build-bounded) = yes]
42716         ($(objpfx)tst-tsearch-bp): Likewise.
42717         * nptl/Makeconfig (bounded-thread-library): Remove variable.
42718         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
42719         Remove dependency.
42720         * string/Makefile (o-objects.ob): Remove variable.
42721         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
42722         (CFLAGS-.ob): Remove variable.
42723         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
42724         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
42725         both definitions of variable.
42726         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
42727         (ASFLAGS-.ob): Remove variable.
42729 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
42731         [BZ #13550]
42732         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
42733         Remove __BOUNDED_POINTERS__ from condition.
42734         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
42735         * string/bits/string2.h [!__NO_STRING_INLINES &&
42736         !__BOUNDED_POINTERS__]: Likewise.
42737         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
42738         Likewise.
42739         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
42740         Remove conditional code.
42741         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
42742         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
42743         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
42744         condition.
42746         [BZ #13550]
42747         * csu/libc-start.c: Do not include <bp-sym.h>.
42748         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
42749         * elf/dl-open.c: Do not include <bp-sym.h>.
42750         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
42751         * math/fegetenv.c: Do not include <bp-sym.h>.
42752         (fegetenv): Do not use BP_SYM in versioned symbols.
42753         * nptl/sysdeps/pthread/bits/libc-lockP.h
42754         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
42755         <bp-sym.h>.
42756         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42757         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
42758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42759         (__pthread_mutex_destroy): Likewise.
42760         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42761         (__pthread_mutex_lock): Likewise.
42762         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42763         (__pthread_mutex_trylock): Likewise.
42764         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42765         (__pthread_mutex_unlock): Likewise.
42766         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42767         (__pthread_mutexattr_init): Likewise.
42768         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42769         (__pthread_mutexattr_destroy): Likewise.
42770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42771         (__pthread_mutexattr_settype): Likewise.
42772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42773         (__pthread_rwlock_init): Likewise.
42774         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42775         (__pthread_rwlock_destroy): Likewise.
42776         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42777         (__pthread_rwlock_rdlock): Likewise.
42778         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42779         (__pthread_rwlock_tryrdlock): Likewise.
42780         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42781         (__pthread_rwlock_wrlock): Likewise.
42782         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42783         (__pthread_rwlock_trywrlock): Likewise.
42784         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42785         (__pthread_rwlock_unlock): Likewise.
42786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42787         (__pthread_key_create): Likewise.
42788         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42789         (__pthread_setspecific): Likewise.
42790         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42791         (__pthread_getspecific): Likewise.
42792         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
42793         Likewise.
42794         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42795         (_pthread_cleanup_push_defer): Likewise.
42796         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42797         (_pthread_cleanup_pop_restore): Likewise.
42798         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42799         (pthread_setcancelstate): Likewise.
42800         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
42801         <bp-sym.h>.
42802         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
42803         (memchr): Do not use BP_SYM in weak_alias.
42804         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
42805         (fegetenv): Do not use BP_SYM in versioned symbols.
42806         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
42807         (fesetenv): Do not use BP_SYM in versioned symbols.
42808         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
42809         (feupdateenv): Do not use BP_SYM in versioned symbols.
42810         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
42811         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
42812         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
42813         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
42814         (open64): Do not use BP_SYM in weak_alias.
42815         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
42816         (fegetenv): Do not use BP_SYM in versioned symbols.
42817         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
42818         (fesetenv): Do not use BP_SYM in versioned symbols.
42819         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
42820         (feupdateenv): Do not use BP_SYM in versioned symbols.
42821         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
42822         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
42823         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
42824         (feraiseexcept): Do not use BP_SYM in versioned symbols.
42825         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
42826         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
42827         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
42828         <bp-sym.h>.
42829         (__libc_start_main): Do not use BP_SYM.
42831 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42833         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
42834         redundant return line.
42835         (norm): Likewise.
42836         (denorm): Likewise.
42837         (dbl_mp): Likewise.
42838         (sub_magnitudes): Likewise.
42839         (__add): Likewise.
42840         (__sub): Likewise.
42841         (__mul): Likewise.
42842         (__inv): Likewise.
42843         (__dvd): Likewise.
42844         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
42845         (norm): Likewise.
42846         (denorm): Likewise.
42847         (dbl_mp): Likewise.
42848         (sub_magnitudes): Likewise.
42849         (__add): Likewise.
42850         (__sub): Likewise.
42851         (__mul): Likewise.
42852         (__inv): Likewise.
42853         (__dvd): Likewise.
42855         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
42856         instead of __mul.
42857         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42858         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
42859         (cc32): Likewise.
42861         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
42862         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
42863         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
42864         of __mul for squares.
42865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
42866         function
42867         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
42868         Likewise.
42869         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
42870         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42872 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
42874         [BZ #13550]
42875         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
42876         code.
42877         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
42878         prototype or function definition.  Rename ubp_* variables and
42879         parameters.  Remove argv definitions conditional on
42880         [__BOUNDED_POINTERS__].
42881         * debug/backtrace.c (__backtrace): Do not use __unbounded.
42882         * elf/dl-runtime.c (_dl_fixup): Likewise.
42883         * include/set-hooks.h (RUN_HOOK): Likewise.
42884         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
42885         definition.
42886         * string/strcpy.c (strcpy): Do not use __unbounded.
42887         * sysdeps/generic/frame.h (struct layout): Likewise.
42888         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
42889         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
42890         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
42891         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
42892         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
42893         (__backtrace): Likewise.
42894         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
42895         use __ptrvalue.
42896         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
42897         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
42898         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
42899         Likewise.
42900         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
42901         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
42902         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
42903         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
42904         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
42905         Do not use __unbounded.
42906         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
42907         Rename __unboundedrlimits parameter to rlimits in prototype.
42908         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
42909         Do not use __unbounded.
42910         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
42911         not use __ptrvalue.
42912         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
42913         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
42914         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
42915         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
42916         __ptrvalue or __unbounded.
42917         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
42918         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
42919         use __unbounded.
42920         (__new_msgctl): Do not use __ptrvalue.
42921         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
42922         __unbounded.
42923         (__libc_msgrcv): Do not use __ptrvalue.
42924         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
42925         startup_info): Do not use __unbounded.
42926         (__libc_start_main): Likewise.  Rename ubp_* variables and
42927         parameters.  Remove argv definitions conditional on
42928         [__BOUNDED_POINTERS__].
42929         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
42930         __ptrvalue.
42931         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
42932         use __unbounded.
42933         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
42934         or __ptrvalue.
42935         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
42936         use __unbounded.
42937         (__new_shmctl): Do not use __ptrvalue.
42938         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
42939         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
42940         Likewise.
42941         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
42942         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
42943         (__libc_sigaction): Likewise.
42944         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
42945         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
42946         Likewise.
42947         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
42949 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
42951         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
42953         * string/mempcpy.c: Implement by calling memcpy.
42955 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42957         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
42959         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
42960         evaluation.
42962         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
42963         values in the mantissa.
42965         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
42966         minimize writes to Z.
42967         (sub_magnitudes): Simplify code a bit.
42969 2013-02-12  Roland McGrath  <roland@hack.frob.com>
42971         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
42972         from the message.  The linker prefixes all warnings with that already.
42974 2013-02-12  Andreas Schwab  <schwab@suse.de>
42976         [BZ #15078]
42977         * posix/regexec.c (extend_buffers): Add parameter min_len.
42978         (check_matching): Pass minimum needed length.
42979         (clean_state_log_if_needed): Likewise.
42980         (get_subexp): Likewise.
42981         * posix/Makefile (tests): Add bug-regex34.
42982         (bug-regex34-ENV): Define.
42983         * posix/bug-regex34.c: New file.
42985         [BZ #11561]
42986         * posix/regcomp.c (parse_bracket_exp): When looking up collating
42987         elements compare against the byte sequence of it, not its name.
42988         * posix/Makefile (tests): Add bug-regex35.
42989         (bug-regex35-ENV): Define.
42990         * posix/bug-regex35.c: New file.
42992 2013-02-11  Tom de Vries  <tom@codesourcery.com>
42994         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
42995         comment.
42996         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
42997         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
42998         (CHECK_EOL): Add undef.
43000 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
43002         * bits/stdlib-bsearch.h: New file.
43003         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
43004         * stdlib/stdlib.h: Likewise.
43006 2013-02-11  Roland McGrath  <roland@hack.frob.com>
43008         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
43009         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
43010         declaration.
43011         * manual/search.texi (Array Search Function): Add missing const in
43012         lfind prototype.
43013         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
43014         declaration to use rlim_t.
43015         (Basic Scheduling Functions): Remove erroneous const from
43016         sched_getparam prototype.  Remove erroneous * from
43017         sched_get_priority_max and sched_get_priority_min prototypes.
43018         (Resource Usage): Fix summary @comment on vtimes to refer to
43019         sys/vtimes.h rather than vtimes.h.
43020         Add missing *s in vtimes prototype.
43021         (Limits on Resources): Fix ulimit prototype to return long int.
43022         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
43023         prototypes to use long int rather than double.
43024         (BSD Random): Fix initstate and setstate to use char *, not void *.
43025         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
43026         prototype to make second argument 'struct aiocb64 *const[]'.
43027         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
43028         (Status of AIO Operations): Remove erroneous const in aio_return and
43029         aio_return64 prototypes.
43030         (Synchronizing I/O): Fix sync prototype to return void.
43031         * manual/startup.texi (Suboptions): Remove an erroneous const in
43032         getsubopt prototype.
43033         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
43034         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
43035         use size_t rather than int.
43036         (Scanning All Users): Likewise for getpwent_r.
43037         (Setting Groups): Add missing const to setgroups prototype.
43038         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
43039         * manual/socket.texi (Host Names): Fix gethostbyaddr and
43040         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
43041         'const void *' rather than 'const char *'.
43042         (Host Address Functions): Likewise for inet_ntop.
43043         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
43044         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
43045         ssize_t for return value.
43046         (Sending Data): Likewise for send, sendto, sendmsg.
43047         (Socket Option Functions): Add a missing const in setsockopt prototype.
43048         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
43049         use wchar_t for the argument.
43050         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
43051         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
43052         take no arguments.
43053         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
43054         double/float/long double for second argument.
43055         Fix return types of significand, significandf, significandl.
43056         * manual/filesys.texi (Setting Permissions): Use mode_t for second
43057         argument in fchmod prototype.
43058         (File Owner): Use uid_t and gid_t in fchown prototype.
43059         (File Times): Add const to utimes, futimes, and lutimes prototypes.
43060         (Making Special Files): Use mode_t and dev_t in mknod prototype.
43061         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
43062         use 'const struct dirent **' as argument types to CMP function pointer
43063         argument.
43064         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
43065         (File Times): Fix summary magic @comment for struct utimbuf and utime
43066         to refer to utime.h, not time.h.
43067         * manual/string.texi (Argz Functions): Add missing const in
43068         argz_extract and argz_next prototypes.
43069         (Finding Tokens in a String): Likewise for basename.
43070         (String/Array Comparison): Fix typo in wcscasecmp prototype.
43071         (Copying and Concatenation): Fix typo in wmemmove prototype.
43072         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
43073         (Signal Stack): Remove erroneous const in sigstack prototype.
43074         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
43075         prototype.
43076         (Simple Calendar Time): Likewise for stime.
43077         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
43078         prototype.
43079         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
43080         say sys/sysctl.h instead.
43081         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
43082         and vsyslog prototypes.
43084 2013-02-11  Tom de Vries  <tom@codesourcery.com>
43086         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
43087         Remove.
43089 2013-02-11  Roland McGrath  <roland@hack.frob.com>
43091         * misc/sys/mman.h: Fix typo in mremap comment.
43093 2013-02-08  Roland McGrath  <roland@hack.frob.com>
43095         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
43096         the '\0' terminator.
43098 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
43100         [BZ #13550]
43101         * debug/segfault.c: Don't include <bp-checks.h>.
43102         * sysdeps/generic/bp-checks.h: Remove file.
43103         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
43104         (__GETDENTS): Don't use CHECK_N.
43105         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
43106         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
43107         (__getgroups): Don't use CHECK_N.
43108         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
43109         (setgroups): Don't use CHECK_N.
43110         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
43111         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
43112         (__libc_msgrcv): Don't use CHECK_N.
43113         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
43114         (__libc_msgsnd): Don't use CHECK_N.
43115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
43116         <bp-checks.h>.
43117         (__libc_pread): Don't use CHECK_N.
43118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
43119         include <bp-checks.h>.
43120         (__libc_pread64): Don't use CHECK_N.
43121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
43122         include <bp-checks.h>.
43123         (__libc_pwrite): Don't use CHECK_N.
43124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
43125         include <bp-checks.h>.
43126         (__libc_pwrite64): Don't use CHECK_N.
43127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
43128         <bp-checks.h>.
43129         (__libc_pread): Don't use CHECK_N.
43130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
43131         include <bp-checks.h>.
43132         (__libc_pread64): Don't use CHECK_N.
43133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
43134         include <bp-checks.h>.
43135         (__libc_pwrite): Don't use CHECK_N.
43136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
43137         include <bp-checks.h>.
43138         (__libc_pwrite64): Don't use CHECK_N.
43139         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
43140         (do_pread): Don't use CHECK_N.
43141         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
43142         (do_pread64): Don't use CHECK_N.
43143         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
43144         (do_pwrite): Don't use CHECK_N.
43145         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
43146         (do_pwrite64): Don't use CHECK_N.
43147         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
43148         (__libc_readv): Don't use CHECK_N.
43149         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
43150         (semop): Don't use CHECK_N.
43151         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
43152         <bp-checks.h>.
43153         (semtimedop): Don't use CHECK_N.
43154         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
43155         (__libc_pread): Don't use CHECK_N.
43156         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
43157         <bp-checks.h>.
43158         (__libc_pread64): Don't use CHECK_N.
43159         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
43160         <bp-checks.h>.
43161         (__libc_pwrite): Don't use CHECK_N.
43162         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
43163         <bp-checks.h>.
43164         (__libc_pwrite64): Don't use CHECK_N.
43165         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
43166         <bp-checks.h>.
43167         (__libc_msgrcv): Don't use CHECK_N.
43168         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
43169         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
43170         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
43171         (__libc_writev): Don't use CHECK_N.
43173 2013-02-08  Roland McGrath  <roland@hack.frob.com>
43175         * string/strcpy.c: Removed unused variable.
43177         * Makeconfig (+sysdep-includes): Define with := rather than =.
43178         Use an existing include/ subdir of each sysdeps dir before it.
43180 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
43182         * nscd/connection.c (register_traced_file): Comment function.
43183         [HAVE_INOTIFY] (union __inev): Define.
43184         [HAVE_INOTIFY] (inotify_check_files): New function.
43185         [HAVE_INOTIFY] (clear_db_cache): Likewise.
43186         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
43187         clear_db_cache.
43188         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
43190 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
43192         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
43193         loaded if not already and that a failure is permanent.
43195 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
43197         [BZ #15006]
43198         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
43199         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
43201 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
43203         [BZ #13550]
43204         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
43205         (CHECK_1_NULL_OK): Likewise.
43206         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
43207         (__fxstat): Do not use CHECK_1.
43208         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
43209         <bp-checks.h>.
43210         (___fxstat64): Do not use CHECK_1.
43211         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43212         <bp-checks.h>.
43213         (__fxstatat): Do not use CHECK_1.
43214         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43215         <bp-checks.h>.
43216         (__fxstatat64): Do not use CHECK_1.
43217         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
43218         <bp-checks.h>.
43219         (__fxstat): Do not use CHECK_1.
43220         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43221         <bp-checks.h>.
43222         (__fxstatat): Do not use CHECK_1.
43223         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43224         <bp-checks.h>.
43225         (__getresgid): Do not use CHECK_1.
43226         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43227         <bp-checks.h>.
43228         (__getresuid): Do not use CHECK_1.
43229         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
43230         <bp-checks.h>.
43231         (__lxstat): Do not use CHECK_1.
43232         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43233         <bp-checks.h>.
43234         (__old_msgctl): Do not use CHECK_1.
43235         (__new_msgctl): Likewise.
43236         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
43237         <bp-checks.h>.
43238         (__new_setrlimit): Do not use CHECK_1.
43239         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43240         <bp-checks.h>.
43241         (__old_shmctl): Do not use CHECK_1.
43242         (__new_shmctl): Likewise.
43243         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
43244         <bp-checks.h>.
43245         (__xstat): Do not use CHECK_1.
43246         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
43247         (__lxstat): Do not use CHECK_1.
43248         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
43249         <bp-checks.h>.
43250         (___lxstat64): Do not use CHECK_1.
43251         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
43252         (__old_msgctl): Do not use CHECK_1.
43253         (__new_msgctl): Likewise.
43254         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
43255         <bp-checks.h>.
43256         (__gettimeofday): Do not use CHECK_1.
43257         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
43258         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
43259         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
43260         <bp-checks.h>.
43261         (__gettimeofday): Do not use CHECK_1.
43262         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
43263         (__old_shmctl): Do not use CHECK_1_NULL_OK.
43264         (__new_shmctl): Do not use CHECK_1.
43265         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
43266         <bp-checks.h>.
43267         (do_sigtimedwait): Do not use CHECK_1.
43268         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
43269         <bp-checks.h>.
43270         (do_sigwaitinfo): Do not use CHECK_1.
43271         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
43272         <bp-checks.h>.
43273         (msgctl): Do not use CHECK_1.
43274         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
43275         <bp-checks.h>.
43276         (shmctl): Do not use CHECK_1.
43277         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
43278         (ustat): Do not use CHECK_1.
43279         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
43280         <bp-checks.h>.
43281         (__fxstat): Do not use CHECK_1.
43282         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
43283         <bp-checks.h>.
43284         (__fxstatat): Do not use CHECK_1.
43285         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
43286         <bp-checks.h>.
43287         (__lxstat): Do not use CHECK_1.
43288         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
43289         <bp-checks.h>.
43290         (__xstat): Do not use CHECK_1.
43291         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
43292         (__xstat): Do not use CHECK_1.
43293         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
43294         (___xstat64): Do not use CHECK_1.
43296         [BZ #13550]
43297         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
43298         definitions.
43299         (CHECK_BOUNDS_HIGH): Likewise.
43300         * string/strcpy.c: Do not include <bp-checks.h>.
43301         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
43303 2013-02-07  Roland McGrath  <roland@hack.frob.com>
43305         * nscd/nscd-client.h (__nscd_drop_map_ref):
43306         Add __attribute__ ((unused)).
43307         * nis/nss-nisplus.h (niserr2nss): Likewise.
43309         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
43310         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
43312         * csu/libc-tls.c (init_static_tls, init_slotinfo):
43313         Remove inline keyword.
43314         * include/rounding-mode.h (round_away): Likewise.
43315         * libio/wfileops.c (adjust_wide_data): Likewise.
43316         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
43317         (__m128i_strloadu_tolower): Likewise.
43318         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
43319         (__m128i_strloadu_tolower): Likewise.
43320         * time/mktime.c (ydhms_diff): Likewise.
43321         * locale/elem-hash.h (elem_hash): Likewise.
43322         * locale/setlocale.c (setdata): Likewise.
43323         * posix/regex_internal.h (re_string_char_size_at): Likewise.
43324         (re_string_wchar_at): Likewise.
43325         (bitset_not, bitset_merge, bitset_mask): Likewise.
43326         [!(__GNUC__ > 3)] (inline): Remove macro.
43327         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
43328         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
43329         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
43330         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
43331         * string/memcmp.c (memcmp_bytes): Likewise.
43332         * locale/programs/locarchive.c (compute_hashval): Likewise.
43333         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
43334         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
43335         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
43336         * nss/getent.c (print_rpc, print_protocols): Likewise.
43337         (print_passwd, print_group, print_aliases): Likewise.
43338         * nis/nss-nisplus.h (niserr2nss): Likewise.
43339         * nscd/connections.c (restart_p): Likewise.
43340         Change return type to bool.
43342 2013-02-05  Roland McGrath  <roland@hack.frob.com>
43344         * Makeconfig (all-Depend-files): Add existing
43345         $(sorted-subdirs:=/Depend) files.
43346         (all-subdirs): Remove nss.
43347         * sysdeps/unix/inet/Subdirs: Add it here instead.
43348         * hesiod/Depend: New file.
43350         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
43351         instead of calling alloca.
43353         * io/lseek.c (__lseek): Rename to __libc_lseek.
43354         Define __lseek as an alias.
43356         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
43358 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
43360         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
43361         else clause and remove check for non-standard endianness.
43363 2013-02-04  David S. Miller  <davem@davemloft.net>
43365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43367 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
43369         [BZ #13550]
43370         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
43371         (__ubp_memchr): Remove prototype.
43372         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
43373         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
43374         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
43375         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
43376         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
43377         Remove alias.
43378         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
43379         (__ubp_memchr): Likewise.
43380         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
43381         (__ubp_memchr): Likewise.
43382         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
43383         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
43384         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
43385         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
43386         CHECK_STRING.
43387         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
43388         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
43389         (__getcwd): Do not use CHECK_STRING.
43390         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
43391         <bp-checks.h>.
43392         (__real_chown): Do not use CHECK_STRING.
43393         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
43394         <bp-checks.h>.
43395         (fchownat): Do not use CHECK_STRING.
43396         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
43397         CHECK_STRING.
43398         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43399         <bp-checks.h>.
43400         (__lchown): Do not use CHECK_STRING.
43401         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
43402         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
43403         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
43404         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
43405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
43406         include <bp-checks.h>.
43407         (truncate64): Do not use CHECK_STRING.
43408         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
43409         <bp-checks.h>.
43410         (__real_chown): Do not use CHECK_STRING.
43411         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
43412         <bp-checks.h>.
43413         (__lchown): Do not use CHECK_STRING.
43414         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
43415         <bp-checks.h>.
43416         (__chown): Do not use CHECK_STRING.
43417         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
43418         <bp-checks.h>.
43419         (truncate64): Do not use CHECK_STRING.
43420         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
43421         Likewise.
43422         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
43423         (__xmknod): Do not use CHECK_STRING.
43424         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
43425         <bp-checks.h>.
43426         (__xmknodat): Do not use CHECK_STRING.
43427         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
43428         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
43430 2013-02-04  Andreas Schwab  <schwab@suse.de>
43432         [BZ #14142]
43433         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
43434         * include/netdb.h: Likewise for h_errno.
43435         * elf/tst-stackguard1.c: Include <tls.h>.
43437 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
43439         * elf/link.h (struct link_map): Extend the l_addr comment.
43440         * include/link.h (struct link_map): Likewise.
43442 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
43444         [BZ #13550]
43445         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
43446         (BOUNDED_1): Remove macro.
43447         * debug/backtrace.c: Don't include <bp-checks.h>.
43448         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
43449         (__backtrace): Likewise.
43450         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
43451         <bp-checks.h>.
43452         (__backtrace): Don't use BOUNDED_1.
43453         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
43454         <bp-checks.h>.
43455         (__backtrace): Don't use BOUNDED_1.
43456         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
43457         (__backtrace): Don't use BOUNDED_1.
43458         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
43459         (shmat): Don't use BOUNDED_N.
43461 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
43463         [BZ #13550]
43464         * sysdeps/generic/bp-start.h: Remove file.
43465         * csu/libc-start.c: Don't include <bp-start.h>.
43466         (LIBC_START_MAIN): Set up __environ directly instead of using
43467         INIT_ARGV_and_ENVIRON.
43468         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
43469         <bp-start.h>.
43471         [BZ #13550]
43472         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
43473         definitions.
43474         (CHECK_FCNTL): Likewise.
43475         (CHECK_N_PAGES): Likewise.
43477         [BZ #13550]
43478         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
43479         definitions.
43480         (CHECK_SIGSET_NULL_OK): Likewise.
43481         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
43482         <bp-checks.h>.
43483         (sigpending): Don't use CHECK_SIGSET.
43484         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
43485         <bp-checks.h>.
43486         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
43487         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
43488         <bp-checks.h>.
43489         (do_sigsuspend): Don't use CHECK_SIGSET.
43490         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
43491         use CHECK_SIGSET.
43492         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
43493         (do_sigwait): Don't use CHECK_SIGSET.
43494         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
43495         use CHECK_SIGSET.
43496         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
43497         include <bp-checks.h>.
43498         (sigpending): Don't use CHECK_SIGSET.
43499         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
43500         include <bp-checks.h>.
43501         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
43502         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
43503         <bp-checks.h>.
43504         (sigpending): Don't use CHECK_SIGSET.
43505         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
43506         <bp-checks.h>.
43507         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
43509         [BZ #13550]
43510         * sysdeps/generic/bp-semctl.h: Remove file.
43511         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
43512         <bp-checks.h> and <bp-semctl.h>.
43513         (__old_semctl): Don't use CHECK_SEMCTL.
43514         (__new_semctl): Likewise.
43515         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
43516         and <bp-semctl.h>.
43517         (__old_semctl): Don't use CHECK_SEMCTL.
43518         (__new_semctl): Likewise.
43519         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
43520         <bp-checks.h> and <bp-semctl.h>.
43521         (__old_semctl): Don't use CHECK_SEMCTL.
43522         (__new_semctl): Likewise.
43523         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
43524         <bp-checks.h> and <bp-semctl.h>.
43525         (semctl): Don't use CHECK_SEMCTL.
43527         [BZ #13550]
43528         * Makerules (elide-bp-thunks): Remove variable.
43529         (elide-routines.oS): Don't use $(elide-bp-thunks).
43530         (elide-routines.os): Likewise.
43531         (elide-routines.o): Likewise.
43532         (elide-routines.op): Likewise.
43533         (elide-routines.og): Likewise.
43534         (objects): Don't use $(bp-thunks).
43535         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
43536         include.
43537         (common-generated): Do not add s-proto-bp.d.
43538         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
43539         (int): Likewise.
43540         (typ): Likewise.
43541         Do not generate makefile rules for bounded-pointer thunks.
43542         * sysdeps/generic/bp-thunks.h: Remove file.
43543         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
43544         * sysdeps/unix/s-proto-bp.S: Likewise.
43546         [BZ #15062]
43547         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
43548         parts of result separately when argument is not close to line from
43549         -i to i and one part of argument is small.
43550         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43551         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43552         * math/libm-test.inc (cacos_test): Add more tests.
43553         (casin_test): Likewise.
43554         (casinh_test): Likewise.
43555         * sysdeps/i386/fpu/libm-test-ulps: Update.
43556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43558 2013-01-31  David S. Miller  <davem@davemloft.net>
43560         * po/de.po: Update from translation team.
43562 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
43564         * time/tzfile.c: Include stdint.h for SIZE_MAX.
43566 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
43568         * configure.in (_AC_PROG_CC_C89): New definition.
43569         * configure: Regenerate.
43571         * configure.in (AC_PROG_CPP): New definition.
43572         * configure: Regenerate.
43574 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
43576         * debug/tst-backtrace.h: New file.
43577         * debug/tst-backtrace2.c: Include tst-backtrace.h.
43578         (ret): Remove variable.
43579         (x): Likewise.
43580         (FAIL): Remove macro.
43581         (NO_INLINE): Likewise.
43582         (fn1): Use match function instead of strstr.
43583         * debug/tst-backtrace3.c: Include tst-backtrace.h.
43584         (ret): Remove variable.
43585         (x): Likewise.
43586         (FAIL): Remove macro.
43587         (NO_INLINE): Likewise.
43588         (fn): Use match function instead of strstr.
43589         * debug/tst-backtrace4.c: Include tst-backtrace.h.
43590         (ret): Remove variable.
43591         (x): Likewise.
43592         (FAIL): Remove macro.
43593         (NO_INLINE): Likewise.
43594         (handle_signal): Use match function instead of strstr.
43595         * debug/tst-backtrace5.c: Include tst-backtrace.h.
43596         (ret): Remove variable.
43597         (x): Likewise.
43598         (FAIL): Remove macro.
43599         (NO_INLINE): Likewise.
43600         (handle_signal): Use match function instead of strstr.
43602 2013-01-23  Roland McGrath  <roland@hack.frob.com>
43604         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
43606 2013-01-23  David S. Miller  <davem@davemloft.net>
43608         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
43609         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
43610         argument of CAS if possible.
43611         * sysdeps/sparc/sparc64/bits/atomic.h
43612         (__arch_compare_and_exchange_val_32_acq): Likewise.
43613         (__arch_compare_and_exchange_val_64_acq): Likewise.
43615 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
43617         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
43618         * sysdeps/posix/ulimit.c: ... this.
43619         Include <limits.h>.
43620         * sysdeps/unix/bsd/ulimit.c: Remove file.
43622 2013-01-23  Adam Conrad  <adconrad@0c3.net>
43624         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
43625         (LDFLAGS-tst-array5): Likewise.
43627 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
43629         [BZ #15036]
43630         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
43631         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
43632         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
43633         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
43635 2013-01-21  David S. Miller  <davem@davemloft.net>
43637         * sysdeps/sparc/backtrace.c: New file.
43638         * sysdeps/sparc/sparc32/backtrace.h: New file.
43639         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
43640         * sysdeps/sparc/sparc64/backtrace.h: New file.
43641         * sysdeps/sparc/sparc64/backtrace.c: Delete.
43642         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
43643         -funwind-tables.
43645 2013-01-21  Andreas Schwab  <schwab@suse.de>
43647         [BZ #15020]
43648         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
43649         closed its stdout.
43651 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
43653         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
43654         "mpa2.h".
43655         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43657 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
43658             Mark Mitchell  <mark@codesourcery.com>
43659             Tom de Vries  <tom@codesourcery.com>
43660             Paul Pluzhnikov  <ppluzhnikov@google.com>
43662         * debug/tst-backtrace2.c: New file.
43663         * debug/tst-backtrace3.c: Likewise.
43664         * debug/tst-backtrace4.c: Likewise.
43665         * debug/tst-backtrace5.c: Likewise.
43666         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
43667         (CFLAGS-tst-backtrace3.c): Likewise.
43668         (CFLAGS-tst-backtrace4.c): Likewise.
43669         (CFLAGS-tst-backtrace5.c): Likewise.
43670         (LDFLAGS-tst-backtrace2): Likewise.
43671         (LDFLAGS-tst-backtrace3): Likewise.
43672         (LDFLAGS-tst-backtrace4): Likewise.
43673         (LDFLAGS-tst-backtrace5): Likewise.
43674         (tests): Add new tests tst-backtrace2, tst-backtrace3,
43675         tst-backtrace4 and tst-backtrace5.
43677 2013-01-18  Anton Blanchard  <anton@samba.org>
43678             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43680         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
43681         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
43682         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
43683         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
43684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
43685         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
43686         "+r" and remove output regs list as redundant.  Add explicit inline
43687         asm to specify register of return val to work around compiler codegen
43688         bug.  Remove (int) cast on return value.  Add return type parameter to
43689         use in macro so that this macro does not truncate return value for
43690         64-bit values.
43691         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
43692         pass to INTERNAL_VSYSCALL_NCS.
43693         (INLINE_VSYSCALL): Add 'long int' as return type to
43694         INTERNAL_VSYSCALL_NCS macro invocation.
43695         (INTERNAL_VSYSCALL): Add 'long int' as return type to
43696         INTERNAL_VSYSCALL_NCS macro invocation.
43697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43699 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43701         [BZ #14496]
43702         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
43703         Fix application of SIMD FP exception mask.
43705         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
43706         mp_no from a power of two.
43707         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
43708         __mpexp_twomm1.  Use __pow_mp.
43710         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
43711         multiplication.
43713 2013-01-17  David S. Miller  <davem@davemloft.net>
43715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43717 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
43719         [BZ #15023]
43720         * include/complex.h: Condition contents on [!_COMPLEX_H].
43721         (__kernel_casinhf): New prototype.
43722         (__kernel_casinh): Likewise.
43723         (__kernel_casinhl): Likewise.
43724         * math/Makefile (libm_calls): Add k_casinh.
43725         * math/k_casinh.c: New file.
43726         * math/k_casinhf.c: Likewise.
43727         * math/k_casinhl.c: Likewise.
43728         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
43729         finite nonzero arguments.
43730         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
43731         finite nonzero arguments.
43732         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
43733         finite nonzero arguments.
43734         * math/s_casinh.c: Do not include <float.h>.
43735         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
43736         * math/s_casinhf.c: Do not include <float.h>.
43737         (__casinhf): Move code for finite nonzero arguments to
43738         k_casinhf.c.
43739         * math/s_casinhl.c: Do not include <float.h>.
43740         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
43741         redefine.
43742         (__casinhl): Move code for finite nonzero arguments to
43743         k_casinhl.c.
43744         * math/libm-test.inc (cacos_test): Add more tests.
43745         * sysdeps/i386/fpu/libm-test-ulps: Update.
43746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43748 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
43750         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
43751         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
43752         [!HAVE_MREMAP]: Remove [defined linux] case.
43753         * malloc/arena.c: Do not include <malloc-sysdep.h>.
43755 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43757         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
43759 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
43761         * elf/elf.h (R_386_SIZE32): New relocation.
43762         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
43763         R_386_SIZE32.
43764         (elf_machine_rela): Likewise.
43765         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43766         R_X86_64_SIZE64 and R_X86_64_SIZE32.
43768 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
43770         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
43771         (FP_FAST_FMA): Do not define.
43772         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
43773         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
43774         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
43775         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
43776         !_SOFT_FLOAT]: Likewise.
43777         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
43778         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
43779         value.
43780         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
43781         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
43782         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
43783         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
43784         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
43785         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
43786         file.
43788 2013-01-16  Andreas Schwab  <schwab@suse.de>
43790         [BZ #14327]
43791         * include/stdlib.h (__mktemp): Add declaration.
43792         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
43793         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
43795 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43797         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
43798         definitions.
43799         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
43800         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
43801         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
43802         definitions here.
43803         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
43804         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
43805         definitions.
43806         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
43807         and ONE.
43808         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
43809         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
43810         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
43811         definitions.
43812         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
43813         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
43814         definitions.
43815         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
43817         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
43819 2013-01-15  David S. Miller  <davem@davemloft.net>
43821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
43822         trunc{,f} to libm-sysdep_routes.
43823         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
43824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
43825         file.
43826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
43827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
43828         file.
43829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
43830         file.
43831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
43832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
43833         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
43834         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
43835         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
43836         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
43837         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
43838         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
43840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
43841         nearbyint{,f} to libm-sysdep_routes.
43842         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
43843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
43844         New file.
43845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
43846         file.
43847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
43848         New file.
43849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
43850         file.
43851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
43852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
43853         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
43854         file.
43855         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
43856         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
43857         file.
43858         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
43859         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
43860         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
43862         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
43863         libc_feholdexcept and libc_fesetenv.
43865 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
43867         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
43869 2013-01-14  David S. Miller  <davem@davemloft.net>
43871         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
43872         (SPARC_ASM_VIS2_IFUNC): Likewise.
43873         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
43874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
43875         use of 'siam' instruction.
43876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
43877         Likewise.
43878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
43879         Likewise.
43880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
43881         Likewise.
43882         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
43883         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
43884         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
43885         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
43886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
43887         file.
43888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
43889         file.
43890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
43891         file.
43892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
43893         file.
43894         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
43895         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
43896         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
43897         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
43898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
43899         new VIS2 routines.
43900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43903         Likewise.
43904         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43905         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43906         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43907         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
43909         routines to libm-sysdep_routines.
43910         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
43912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
43913         fdim/fdimf to libm-sysdep_routines.
43914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
43915         file.
43916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
43917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
43918         file.
43919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
43920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
43921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
43922         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
43923         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
43924         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
43925         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
43927 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43929         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
43930         to optimize copies.
43932         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
43933         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43934         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43936         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
43937         local variable MPTWO.
43938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
43939         Likewise.
43941 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
43943         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
43944         GLOB_NOESCAPE.
43946 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
43948         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
43950 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
43952         * manual/pattern.texi (glob_t): Document gl_flags.
43953         (glob64_t): Likewise.
43955 2013-01-11  David S. Miller  <davem@davemloft.net>
43957         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
43958         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
43959         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
43960         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
43961         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
43962         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
43963         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
43964         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
43965         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
43966         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
43967         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
43968         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
43969         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
43971         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
43972         sparc V9 rather than using V8 code.
43973         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
43974         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
43976         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43977         Move to...
43978         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
43979         Here.
43981 2013-01-11  Roland McGrath  <roland@hack.frob.com>
43983         [BZ #14941]
43984         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
43985         not in the main loop.
43986         * configure: Regenerated.
43988 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
43990         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
43991         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
43992         to just #else.
43993         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
43994         [!__GLIBC_HAVE_LONG_LONG] case.
43995         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
43996         condition to just #else.
43997         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
43998         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
43999         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
44000         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
44001         unconditional.
44002         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
44003         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
44004         #elif condition to just #else.
44005         * sysdeps/unix/sysv/linux/sys/sysmacros.h
44006         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
44007         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
44008         #elif condition to just #else.
44010 2013-01-11  Steve Ellcey  <sellcey@mips.com>
44012         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
44013         (EF_MIPS_ARCH_64): Fix value.
44014         (EF_MIPS_ARCH_32R2): New.
44015         (EF_MIPS_ARCH_64R2): New.
44017 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
44019         * Makeconfig (+link-pie-before-libc): New.
44020         (+link-pie-after-libc): Likewise.
44021         (+link-pie-tests): Likewise.
44022         (+link-pie): Rewritten.
44023         (link-before-libc): Remove $(config-LDFLAGS).
44024         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
44025         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
44026         (config-LDFLAGS): Renamed to ...
44027         (rtld-LDFLAGS): This.
44028         (rtld-tests-LDFLAGS): New macro.
44029         (link-libc-rpath-link): Likewise.
44030         (link-libc-tests-rpath-link): Likewise.
44031         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
44032         (link-libc): Prepand $(link-libc-rpath-link).
44033         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
44034         (test-program-prefix): New macro.
44035         (test-via-rtld-prefix): Likewise.
44036         (test-program-cmd): Likewise.
44037         (host-test-program-cmd): Likewise.
44038         * Makefile ($(common-objpfx)testrun.sh): Replace
44039         $(run-program-prefix) with $(test-program-prefix).
44040         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
44041         $(rtld-LDFLAGS).
44042         ($(common-objpfx)shlib.lds): Likewise.
44043         (build-module-helper): Likewise.
44044         ($(common-objpfx)format.lds): Likewise.
44045         * Rules (binaries-pie-tests): New.
44046         (binaries-pie-notests): Likewise.
44047         (binaries-pie): Rewritten.
44048         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
44049         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
44050         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
44051         (make-test-out): Replace $(host-built-program-cmd) with
44052         $(host-test-program-cmd).
44053         * config.make.in (build-hardcoded-path-in-tests): New variable.
44054         * configure.in (--enable-hardcoded-path-in-tests): New configure
44055         option.
44056         (hardcoded_path_in_tests): New AC_SUBST.
44057         * configure: Regenerated.
44058         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
44059         $(built-program-cmd) with $(test-program-cmd).
44060         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
44061         (test_program_cmd): This.
44062         * elf/Makefile ($(objpfx)order.out): Run test with
44063         $(test-program-prefix).
44064         ($(objpfx)order2.out): Likewise.
44065         ($(objpfx)tst-initorder.out): Likewise.
44066         ($(objpfx)tst-initorder2.out): Likewise.
44067         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
44068         $(test-program-cmd).
44069         ($(objpfx)tst-array1-static.out): Likewise.
44070         ($(objpfx)tst-array2.out): Likewise.
44071         ($(objpfx)tst-array3.out): Likewise.
44072         ($(objpfx)tst-array4.out): Likewise.
44073         ($(objpfx)tst-array5.out): Likewise.
44074         ($(objpfx)tst-array5-static.out): Likewise.
44075         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
44076         $(test-program-cmd).
44077         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
44078         $(run-program-prefix) with $(test-program-prefix).
44079         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
44080         (test_program_prefix): This.
44081         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
44082         $(run-program-prefix) with $(test-program-prefix).
44083         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
44084         (test_program_prefix): This.
44085         * iconvdata/tst-tables.sh: Likewise.
44086         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
44087         $(run-program-prefix) with $(test-program-prefix).
44088         ($(objpfx)tst-translit.out): Likewise.
44089         ($(objpfx)tst-gettext2.out): Likewise.
44090         ($(objpfx)tst-gettext4.out): Likewise.
44091         ($(objpfx)tst-gettext6.out): Likewise.
44092         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
44093         (test_program_prefix): This.
44094         * intl/tst-gettext2.sh: Likewise.
44095         * intl/tst-gettext4.sh  Likewise.
44096         * intl/tst-gettext6.sh: Likewise.
44097         * intl/tst-translit.sh: Likewise.
44098         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
44099         with $(test-program-cmd).
44100         * libio/Makefile ($(objpfx)test-freopen.out): Replace
44101         $(run-program-prefix) with $(test-program-prefix).
44102         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
44103         (test_program_prefix): This.
44104         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
44105         $(run-program-prefix) with $(test-program-prefix).
44106         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
44107         (test_program_prefix): This.
44108         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
44109         * posix/Makefile ($(objpfx)globtest.out): Replace
44110         $(run-via-rtld-prefix) and $(test-wrapper) with
44111         $(test-program-prefix) and $(test-via-rtld-prefix).
44112         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
44113         $(test-program-prefix).
44114         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
44115         $(host-test-program-cmd).
44116         (tst-spawn-ARGS): Likewise.
44117         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
44118         $(test-program-prefix).
44119         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
44120         (test_via_rtld_prefix): This.
44121         (test_wrapper): Renamed to ...
44122         (test_program_prefix): This.
44123         (run_program_prefix): Replaced by test_program_prefix.
44124         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
44125         (test_program_prefix): This.
44126         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
44127         with $(host-test-program-cmd).
44128         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
44129         $(run-program-prefix) with $(test-program-prefix).
44130         ($(objpfx)tst-printf.out): Likewise.
44131         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
44132         $(test-program-cmd).
44133         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
44134         (test_program_prefix): This.
44135         * stdio-common/tst-unbputc.sh: Likewise.
44136         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
44137         $(run-program-prefix) with $(test-program-prefix).
44138         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
44139         (test_program_prefix): This.
44140         * string/Makefile ($(objpfx)tst-svc.out):  Replace
44141         $(built-program-cmd) with $(test-program-cmd).
44143 2013-01-11  Andreas Jaeger  <aj@suse.de>
44145         [BZ #15003]
44146         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
44147         value. Sync with Linux 3.7.
44149 2013-01-10  David S. Miller  <davem@davemloft.net>
44151         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
44152         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44153         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44155 2013-01-10  Roland McGrath  <roland@hack.frob.com>
44157         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
44158         never set.
44159         * configure: Regenerated.
44161 2013-01-10  David S. Miller  <davem@davemloft.net>
44163         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
44164         sparc V9 rather than using V8 code.
44165         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44166         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44168 2013-01-10  Roland McGrath  <roland@hack.frob.com>
44170         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
44171         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
44172         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
44173         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
44174         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
44175         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
44176         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
44177         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
44178         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
44179         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
44180         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
44181         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
44182         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
44183         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
44184         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
44185         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
44186         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
44187         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
44188         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
44189         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
44190         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
44191         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
44192         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
44193         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
44194         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
44195         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
44196         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
44198 2013-01-10  David S. Miller  <davem@davemloft.net>
44200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44202 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
44204         * posix/Makefile (tests-static): New variable.
44205         (tests): Add $(tests-static).
44206         (tst-exec-static-ARGS): New variable.
44207         (tst-spawn-static-ARGS): Likewise.
44208         * posix/tst-exec-static.c: New file.
44209         * posix/tst-spawn-static.c: Likewise.
44210         * posix/tst-exec.c: Support run directly.
44211         * posix/tst-spawn.c: Likewise.
44213 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
44215         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
44216         long.
44217         * math/bits/mathcalls.h (llrint): Likewise.
44218         (llround): Likewise.
44219         * stdlib/stdlib.h (struct drand48_data): Likewise.
44220         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
44221         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
44222         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
44223         Likewise.
44224         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
44225         Likewise.
44226         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
44227         (elf_greg_t): Likewise.
44228         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
44229         (__jmp_buf): Likewise.
44230         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
44231         definitions.
44232         (llrint): Likewise, for all definitions.
44233         (llrintl): Likewise.
44235         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
44236         Remove [__GNUC__] condition.
44237         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
44238         condition to just [__USE_ISOC99].
44239         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
44241 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
44243         [BZ #14200]
44244         * sysdeps/unix/sysv/linux/x86/bits/environments.h
44245         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
44246         defined.
44247         (_POSIX_V6_ILP32_OFF32): Likewise.
44248         (_XBS5_ILP32_OFF32): Likewise.
44249         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
44250         (__ILP32_OFFBIG_LDFLAGS): Likewise.
44252 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44254         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
44256         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
44257         doubles __mpexp_twomm1.  Adjust usage.
44258         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
44259         Remove.
44261 2013-01-10  Andreas Schwab  <schwab@suse.de>
44263         [BZ #14964]
44264         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
44265         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
44267 2013-01-09  David S. Miller  <davem@davemloft.net>
44269         [BZ #15003]
44270         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
44271         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
44272         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
44273         (TCP_FASTOPEN): Define.
44274         (tcp_repair_opt): New structure.
44275         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
44276         enum values.
44277         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
44278         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
44279         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
44280         (tcp_cookie_transactions): New structure.
44282 2013-01-09  Anton Blanchard  <anton@samba.org>
44284         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
44285         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
44286         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
44287         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
44289 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
44291         * include/features.h (__USE_ANSI): Remove.
44293 2013-01-09  Roland McGrath  <roland@hack.frob.com>
44295         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
44297         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
44299 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
44301         * sysdeps/s390/fpu/libm-test-ulps: Update.
44303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44305         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
44306         (__acr): Likewise.
44307         (__cpy): Likewise.
44308         (norm): Likewise.
44309         (denorm): Likewise.
44310         (__mp_dbl): Likewise.
44311         (__dbl_mp): Likewise.
44312         (add_magnitudes): Likewise.
44313         (sub_magnitudes): Likewise.
44314         (__add): Likewise.
44315         (__sub): Likewise.
44316         (__mul): Likewise.
44317         (__inv): Likewise.
44318         (__dvd): Likewise.
44319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
44320         (__acr): Likewise.
44321         (__cpy): Likewise.
44322         (norm): Likewise.
44323         (denorm): Likewise.
44324         (__mp_dbl): Likewise.
44325         (__dbl_mp): Likewise.
44326         (add_magnitudes): Likewise.
44327         (sub_magnitudes): Likewise.
44328         (__add): Likewise.
44329         (__sub): Likewise.
44330         (__mul): Likewise.
44331         (__inv): Likewise.
44332         (__dvd): Likewise.
44333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
44334         (__acr): Likewise.
44335         (__cpy): Likewise.
44336         (norm): Likewise.
44337         (denorm): Likewise.
44338         (__mp_dbl): Likewise.
44339         (__dbl_mp): Likewise.
44340         (add_magnitudes): Likewise.
44341         (sub_magnitudes): Likewise.
44342         (__add): Likewise.
44343         (__sub): Likewise.
44344         (__mul): Likewise.
44345         (__inv): Likewise.
44346         (__dvd): Likewise.
44348 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
44350         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
44351         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
44352         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
44353         2 && __USE_EXTERN_INLINES]: Likewise.
44355 2013-01-08  Andreas Jaeger  <aj@suse.de>
44357         [BZ# 14985]
44358         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
44359         Remove.
44360         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
44361         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
44363 2013-01-07  Anton Blanchard  <anton@samba.org>
44365         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
44366         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
44367         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
44368         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
44369         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44370         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44371         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
44372         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
44373         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
44374         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44375         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44376         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44377         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44378         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44379         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44380         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44381         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44382         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44383         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44384         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
44385         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44386         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
44387         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44388         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44389         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
44390         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44391         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44392         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
44393         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
44394         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44395         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44396         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44397         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44398         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44399         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44400         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44401         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44402         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44403         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
44404         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
44405         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
44406         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44407         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44409 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
44411         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
44412         (__MALLOC_PMT): Likewise.
44413         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
44414         [__GNUC__], only on [_LIBC].
44415         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
44416         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
44417         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
44418         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
44419         forward declaration.
44420         (realloc_hook_ini): Likewise.
44421         (memalign_hook_ini): Likewise.
44422         (__libc_memalign): Do not use __MALLOC_PMT in variable
44423         declaration.
44424         (__libc_valloc): Likewise.
44425         (__libc_pvalloc): Likewise.
44426         (__libc_calloc): Likewise.
44427         (__posix_memalign): Likewise.
44429         [BZ #14996]
44430         * math/s_casinh.c: Include <float.h>.
44431         (__casinh): Do not do computation with squaring and square root
44432         for large arguments.
44433         * math/s_casinhf.c: Include <float.h>.
44434         (__casinhf): Do not do computation with squaring and square root
44435         for large arguments.
44436         * math/s_casinhl.c: Include <float.h>.
44437         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
44438         (__casinhl): Do not do computation with squaring and square root
44439         for large arguments.
44440         * math/libm-test.inc (casin_test): Add more tests.
44441         (casinh_test): Likewise.
44442         * sysdeps/i386/fpu/libm-test-ulps: Update.
44443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44445 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
44447         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
44448         (__x86_64_raw_data_cache_size): Likewise.
44449         (__x86_64_data_cache_size_half): Likewise.
44450         (__x86_64_raw_data_cache_size_half): Likewise.
44451         (__x86_64_shared_cache_size): Likewise.
44452         (__x86_64_raw_shared_cache_size): Likewise.
44453         (__x86_64_shared_cache_size_half): Likewise.
44454         (__x86_64_raw_shared_cache_size_half): Likewise.
44455         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
44456         to ...
44457         (__x86_data_cache_size): This.
44458         (__x86_64_raw_data_cache_size): Renamed to ...
44459         (__x86_raw_data_cache_size): This.
44460         (__x86_64_data_cache_size_half): Renamed to ...
44461         (__x86_data_cache_size_half): This.
44462         (__x86_64_raw_data_cache_size_half): Renamed to ...
44463         (__x86_raw_data_cache_size_half): This.
44464         (__x86_64_shared_cache_size): Renamed to ...
44465         (__x86_shared_cache_size): This.
44466         (__x86_64_raw_shared_cache_size): Renamed to ...
44467         (__x86_raw_shared_cache_size): This.
44468         (__x86_64_shared_cache_size_half): Renamed to ...
44469         (__x86_shared_cache_size_half): This.
44470         (__x86_64_raw_shared_cache_size_half): Renamed to ...
44471         (__x86_raw_shared_cache_size_half): This.
44472         * sysdeps/x86_64/memcpy.S: Updated.
44473         * sysdeps/x86_64/memset.S: Likewise.
44474         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
44475         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44476         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44478 2013-01-04  David S. Miller  <davem@davemloft.net>
44480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44482 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
44484         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
44485         1 to avoid redefinition warning.
44486         (__USE_GNU): Don't define.
44487         (init_signaling_nan): Protoize.
44489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44491 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44493         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
44494         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
44495         (__cpymn): Likewise.
44496         (norm): Remove commented code.
44497         (denorm): Likewise.
44498         (__mp_dbl): Likewise.
44499         (__inv): Likewise.
44500         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
44501         (__cpymn): Likewise.
44502         (norm): Remove commented code.
44503         (denorm): Likewise.
44504         (__mp_dbl): Likewise.
44505         (__inv): Likewise.
44507         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
44508         mp_no value for 1.0 and 2.0.
44509         (norm): Use RADIXI instead of radixi.d.
44510         (denorm): Likewise.
44511         (__mul): Use 0.0 instead of zero.d.
44512         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
44513         mp_no value for 1.0 and 2.0.
44514         (norm): Use RADIXI instead of radixi.d.
44515         (denorm): Likewise.
44516         (__mul): Use 0.0 instead of zero.d.
44518 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
44520         [BZ #14994]
44521         * math/s_casinh.c (__casinh): Reduce finite argument to first
44522         quadrant then set signs of results at the end.
44523         * math/s_casinhf.c (__casinhf): Likewise.
44524         * math/s_casinhl.c (__casinhl): Likewise.
44525         * math/libm-test.inc (casin_test): Add more tests.
44526         (casinh_test): Likewise.
44527         * sysdeps/i386/fpu/libm-test-ulps: Update.
44528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44530 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44532         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
44534         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
44536         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
44537         declarations.
44538         (denorm): Likewise.
44539         (__mp_dbl): Likewise.
44540         (__inv): Likewise.
44542         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
44543         and adjust the header comment.
44545         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
44546         variable name from declaration.
44548 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
44550         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44551         Initialize COMMON_CPUID_INDEX_7 element.
44552         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
44553         (CPUID_RTM): Likewise.
44554         (HAS_RTM): Likewise.
44555         (COMMON_CPUID_INDEX_7): New enum.
44557 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
44559         [BZ #14981]
44560         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
44561         size is zero, record memory as freed.
44563 2013-01-03  Andreas Jaeger  <aj@suse.de>
44565         * po/ia.po: Add new Interlingua translation.
44567 2012-01-03  Allan McRae  <allan@archlinux.org>
44569         * locale/programs/localedef.c: Fix description of '--posix' flag.
44571 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
44573         * NEWS: Update dates in second copyright notice.
44574         * README: Update copyright dates in example.
44575         * manual/libc.texinfo: Update copyright dates.
44576         * scripts/test-installation.pl: Update copyright date in --version
44577         output.
44579         * hurd/ctty-input.c: Fix copyright notice formatting.
44580         * hurd/ctty-output.c: Likewise.
44581         * hurd/dtable.c: Likewise.
44582         * hurd/hurd-raise.c: Likewise.
44583         * hurd/hurdprio.c: Likewise.
44584         * hurd/msgportdemux.c: Likewise.
44585         * misc/sys/file.h: Likewise.
44586         * misc/sys/ioctl.h: Likewise.
44587         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44588         * sysdeps/mach/hurd/chdir.c: Likewise.
44589         * sysdeps/mach/hurd/fchdir.c: Likewise.
44590         * sysdeps/mach/hurd/rename.c: Likewise.
44591         * sysdeps/mach/hurd/rmdir.c: Likewise.
44592         * sysdeps/mach/hurd/seekdir.c: Likewise.
44593         * sysdeps/mach/hurd/setsid.c: Likewise.
44594         * sysdeps/posix/wait3.c: Likewise.
44596         * All files with FSF copyright notices: Update copyright dates
44597         using scripts/update-copyrights.
44598         * intl/plural.c: Regenerated.
44599         * locale/programs/charmap-kw.h: Likewise.
44600         * locale/programs/locfile-kw.h: Likewise.
44602 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44604         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
44605         four values.
44607         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
44608         calculation loop and add branch prediction.
44610         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
44611         check access beyond bounds of m1np.
44613         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
44614         MPTWO.
44615         (__inv): Remove local variable MPTWO to use the global
44616         constant.
44617         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
44618         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
44619         variable MPTWO.
44620         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
44621         MP3HALFS static const.
44623 2013-01-01  David S. Miller  <davem@davemloft.net>
44625         * po/ca.po: Update from translation team.
44627 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
44629         * scripts/update-copyrights: New file.
44630         * Makeconfig: Reformat copyright notice.
44631         * ctype/ctype.h: Likewise.
44632         * debug/swprintf_chk.c: Likewise.
44633         * elf/dl-cache.c: Likewise.
44634         * elf/dl-debug.c: Likewise.
44635         * elf/dl-object.c: Likewise.
44636         * grp/initgroups.c: Likewise.
44637         * hurd/Makefile: Likewise.
44638         * hurd/hurd/signal.h: Likewise.
44639         * hurd/hurdfault.c: Likewise.
44640         * hurd/hurdioctl.c: Likewise.
44641         * hurd/hurdlookup.c: Likewise.
44642         * hurd/intr-msg.c: Likewise.
44643         * iconv/gconv_open.c: Likewise.
44644         * libio/swprintf.c: Likewise.
44645         * locale/lc-ctype.c: Likewise.
44646         * locale/nl_langinfo.c: Likewise.
44647         * mach/Machrules: Likewise.
44648         * mach/Makefile: Likewise.
44649         * malloc/obstack.h: Likewise.
44650         * manual/Makefile: Likewise.
44651         * manual/tsort.awk: Likewise.
44652         * misc/bits/stab.def: Likewise.
44653         * nis/nis_print_group_entry.c: Likewise.
44654         * nis/nis_table.c: Likewise.
44655         * nis/nss_compat/compat-pwd.c: Likewise.
44656         * nis/nss_compat/compat-spwd.c: Likewise.
44657         * po/Makefile: Likewise.
44658         * posix/fnmatch.c: Likewise.
44659         * posix/regex.h: Likewise.
44660         * resolv/Makefile: Likewise.
44661         * resolv/nss_dns/dns-network.c: Likewise.
44662         * resolv/res_hconf.c: Likewise.
44663         * scripts/gen-sorted.awk: Likewise.
44664         * soft-fp/soft-fp.h: Likewise.
44665         * stdio-common/printf.h: Likewise.
44666         * stdlib/monetary.h: Likewise.
44667         * stdlib/random.c: Likewise.
44668         * stdlib/random_r.c: Likewise.
44669         * sysdeps/generic/Makefile: Likewise.
44670         * sysdeps/gnu/Makefile: Likewise.
44671         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44672         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44673         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44674         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44675         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44676         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44677         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44678         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44679         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44680         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44681         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44682         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44683         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44684         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44685         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
44686         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44687         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44688         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44689         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44690         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44691         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44692         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44693         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44694         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
44695         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
44696         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44697         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
44698         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
44699         * sysdeps/mach/hurd/errnos.awk: Likewise.
44700         * sysdeps/mach/hurd/fork.c: Likewise.
44701         * sysdeps/mach/hurd/getcwd.c: Likewise.
44702         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
44703         * sysdeps/mach/hurd/mmap.c: Likewise.
44704         * sysdeps/mach/hurd/utimes.c: Likewise.
44705         * sysdeps/mach/hurd/xmknod.c: Likewise.
44706         * sysdeps/posix/profil.c: Likewise.
44707         * sysdeps/posix/readdir_r.c: Likewise.
44708         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44709         * sysdeps/powerpc/bits/setjmp.h: Likewise.
44710         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
44711         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
44712         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
44713         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44714         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44715         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44717         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44718         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44719         * sysdeps/pthread/lio_listio.c: Likewise.
44720         * sysdeps/sparc/dl-procinfo.h: Likewise.
44721         * sysdeps/unix/i386/sysdep.S: Likewise.
44722         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
44723         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
44724         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
44725         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
44726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44727         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
44728         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
44729         * sysdeps/unix/sysv/linux/speed.c: Likewise.
44730         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
44731         * sysdeps/wordsize-32/divdi3.c: Likewise.
44732         * time/sys/time.h: Likewise.
44733         * wcsmbs/Makefile: Likewise.
44735 2013-01-01  David S. Miller  <davem@davemloft.net>
44737         * po/fr.po: Update from translation team.
44739         * catgets/gencat.c: Update copyright year.
44740         * csu/version.c: Likewise.
44741         * debug/catchsegv.sh: Likewise.
44742         * debug/pcprofiledump.c: Likewise.
44743         * debug/xtrace.sh: Likewise.
44744         * elf/ldconfig.c: Likewise.
44745         * elf/ldd.bash.in: Likewise.
44746         * elf/pldd.c: Likewise.
44747         * elf/sotruss.ksh: Likewise.
44748         * elf/sprof.c: Likewise.
44749         * iconv/iconv_prog.c: Likewise.
44750         * iconv/iconvconfig.c: Likewise.
44751         * locale/programs/locale.c: Likewise.
44752         * locale/programs/localedef.c: Likewise.
44753         * login/programs/pt_chown.c: Likewise.
44754         * malloc/memusage.sh: Likewise.
44755         * malloc/memusagestat.c: Likewise.
44756         * malloc/mtrace.pl: Likewise.
44757         * nscd/nscd.c: Likewise.
44758         * nss/getent.c: Likewise.
44759         * nss/makedb.c: Likewise.
44760         * posix/getconf.c: Likewise.
44762 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
44764         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
44765         numbers.
44767 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
44769         * math/bits/mathcalls.h (modf): Use __nonnull.
44771 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44773         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
44774         (split): Use macro CN instead of the bare value.
44775         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
44776         could be used.
44777         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
44778         instead of the bare value.
44779         (power1): Likewise.
44781 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44783         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
44784         __ATAN_TWOM.
44785         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44787         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
44788         their values.
44789         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
44790         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44791         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
44792         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
44794 2012-12-28  Andreas Jaeger  <aj@suse.de>
44796         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
44797         values are from Linux 3.7.
44799         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
44800         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
44802 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44804         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
44805         TRUE case.
44807         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
44808         (norm): Likewise.
44809         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
44810         variables with preprocessor constants.
44811         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44812         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44813         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44815 2012-12-27  Bruno Haible  <bruno@clisp.org>
44817         [BZ #14317]
44818         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
44819         only if needed.
44821 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44823         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
44824         and use variable directly.
44825         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
44827         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
44828         MPONE.
44829         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
44830         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
44831         variable MPONE.
44832         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44833         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44834         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
44835         include directive.  Remove local variable MPONE.
44836         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
44837         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
44838         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44840 2012-12-25  David S. Miller  <davem@davemloft.net>
44842         * version.h (RELEASE): Set to "development".
44843         (VERSION): Set to "2.17.90".
44844         * NEWS: Add 2.18 section.
44846 2012-12-21  David S. Miller  <davem@davemloft.net>
44848         * po/hr.po: Update from translation team.
44850 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44852         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
44854 2012-12-19  Steve Ellcey  <sellcey@mips.com>
44856         * NEWS:  Mention new memcpy for MIPS.
44858 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44860         * manual/contrib.texi (Contributors): Spelling correction.
44862 2012-12-15  David S. Miller  <davem@davemloft.net>
44864         * po/ru.po: Update from translation team.
44866 2012-12-13  David S. Miller  <davem@davemloft.net>
44868         * NEWS: Mention IFUNC testsuite enhancements.
44870         * po/pl.po: Update from translation team.
44871         * po/bg.po: Likewise.
44873         * manual/contrib.texi (Contributors): Update entries for Hongjiu
44874         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
44876 2012-12-11  David S. Miller  <davem@davemloft.net>
44878         * po/sv.po: Update from translation team.
44880         * po/vi.po: Update from translation team.
44882         * po/cs.po: Update from translation team.
44884         * po/de.po: Update from translation team.
44885         * po/eo.po: Likewise.
44886         * po/nl.po: Likewise.
44888 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44890         [BZ #14246]
44891         * manual/argp.texi (Argp Helper Functions): Move node to follow
44892         Argp Parsing State.
44894         [BZ #14872]
44895         * manual/conf.texi (Limits on File System Capacity): Mention if
44896         terminating null is included in the max size.
44898 2012-12-10  Andreas Jaeger  <aj@suse.de>
44900         * po/cs.po: Update from translation team.
44902 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44904         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
44905         void pointer and cast to uintptr_t.
44906         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
44907         path.
44908         * sysdeps/s390/s390-64/memcpy.S: Likewise.
44909         * sysdeps/s390/s390-64/memset.S: Likewise.
44911 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
44913         [BZ #14833]
44914         * menual/message.texi (Message Translation): Fix typos.
44915         (Helper programs for gettext): Likewise.
44917 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
44919         [BZ #14898]
44920         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
44921         Change to -1.
44923 2012-12-07  David S. Miller  <davem@davemloft.net>
44925         * po/libc.pot: Update.
44927 2012-12-07  Richard Henderson  <rth@redhat.com>
44929         [BZ #10114]
44930         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
44931         normal/normal case to before the switch.
44932         (_FP_DIV): Likewise.
44934 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
44935             Mike Frysinger  <vapier@gentoo.org>
44937         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
44938         check for __NR_fadvise64_64.
44940 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
44942         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
44943         0, not just to plain "0" as a statement.
44944         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
44945         with cw.
44947 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
44949         * NEWS: Use sourceware.org in Bugzilla URL.
44951 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
44954         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
44956         * stdio-common/tst-put-error.c (do_test): Add newline to the
44957         padded test to ensure flush.
44959 2012-12-05  Jeff Law  <law@redhat.com>
44961         * sunrpc/etc.rpc (fedfs_admin): Add entry.
44963 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
44965         * README: Don't refer to ports add-on as distributed separately.
44966         Mention AArch64 in list of systems supported in the ports add-on.
44968         * LICENSES: Add more non-FSF copyright and license notices.
44970         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
44971         ((unused)).
44973         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
44975         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
44976         10000 as width of padded output.
44978 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
44980         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
44982         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
44983         variable LX with __attribute__ ((unused)).
44984         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44985         Likewise.
44986         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44987         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44988         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
44989         with __attribute__ ((unused)).
44991 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
44993         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
44995 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
44997         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
44998         (CFLAGS-nldbl-acos.c): New variable.
44999         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
45000         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
45001         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
45002         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
45003         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
45004         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
45005         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
45006         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
45007         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
45008         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
45009         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
45010         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
45011         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
45012         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
45013         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
45014         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
45015         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
45016         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
45017         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
45018         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
45019         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
45020         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
45021         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
45022         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
45023         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
45024         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
45025         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
45026         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
45027         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
45028         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
45029         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
45030         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
45031         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
45032         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
45033         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
45034         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
45035         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
45036         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
45037         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
45038         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
45039         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
45040         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
45041         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
45042         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
45043         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
45044         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
45045         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
45046         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
45047         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
45048         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
45049         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
45050         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
45051         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
45052         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
45053         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
45054         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
45055         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
45056         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
45057         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
45058         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
45059         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
45060         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
45061         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
45062         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
45063         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
45064         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
45065         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
45066         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
45067         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
45068         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
45069         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
45070         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
45071         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
45072         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
45073         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
45074         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
45075         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
45076         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
45077         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
45078         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
45079         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
45080         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
45081         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
45082         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
45083         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
45084         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
45085         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
45086         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
45087         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
45088         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
45089         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
45090         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
45091         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
45092         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
45093         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
45094         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
45095         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
45097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
45098         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
45100         [BZ #14914]
45101         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
45102         whole low double instead of just low 47 bits when splitting values
45103         into two parts.
45105 2012-12-03  Allan McRae  <allan@archlinux.org>
45107         * manual/stdio.texi (Predefined Printf Handlers): Remove
45108         @hsep and @vsep usage.
45110 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
45112         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
45113         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
45115 2012-12-03  Jeff Law  <law@redhat.com>
45117         * time/sys/time.h (settimeofday): Do not mark TV argument
45118         as __nonnull.
45120 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
45122         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
45123         when currently writing and seek to current position when not.
45124         * libio/Makefile (tests): Remove bug-fclose1.
45125         * libio/bug-fclose1.c: Delete.
45127 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
45129         * manual/arith.texi (feenableexcept): Fix typo.
45130         (fedisableexcept): Likewise.
45132 2012-11-30  Roland McGrath  <roland@hack.frob.com>
45134         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
45135         second, differently-typed declaration, rather than a cast.
45137 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45139         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
45140         * include/rpc/svc.h: ... here.
45142 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
45144         [BZ #13013]
45145         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
45146         depending n and resplen2 to catch cases where answer
45147         equals answerp2.
45149 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
45151         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
45152         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
45154 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
45156         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
45158 2012-11-29  Roland McGrath  <roland@hack.frob.com>
45160         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
45162 2012-11-28  Jeff Law  <law@redhat.com>
45164         [BZ #13761]
45165         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
45166         dataset_temporary.  Track alloca usage into alloca_used.
45167         If dataset is large allocate and release it via malloc/free.
45169 2012-06-04  Florian Weimer  <fweimer@redhat.com>
45171         [BZ #14197]
45172         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
45174 2012-11-28  David S. Miller  <davem@davemloft.net>
45176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45178 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
45180         [BZ #14803]
45181         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
45182         of pi/2 rounded to nearest to 64 bits.
45183         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
45184         nearest to 64 bits.
45185         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
45186         bits.
45188 2012-11-28  Jeff Law <law@redhat.com>
45189             Martin Osvald <mosvald@redhat.com>
45191         [BZ #14889]
45192         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
45193         * sunrpc/svc.c: Include time.h.
45194         (__svc_accept_failed): New function.
45195         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
45196         any reason other than EINTR, call __svc_accept_failed.
45197         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
45198         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
45200 2012-11-28  Andreas Schwab  <schwab@suse.de>
45202         * scripts/abilist.awk: Also handle indirect functions in .opd
45203         section.
45205 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
45207         [BZ #13881]
45208         * sysdeps/x86/fpu/powl_helper.c: New file.
45209         * sysdeps/x86/fpu/Makefile: Likewise.
45210         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
45211         (p3): New object.
45212         (__ieee754_powl): Use __powl_helper for finite arguments except
45213         integer exponents below 8.
45214         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
45215         (p3): New object.
45216         (__ieee754_powl): Use __powl_helper for finite arguments except
45217         integer exponents below 8.
45218         * math/libm-test.inc (pow_test): Add more tests and enable some
45219         previously disabled tests.
45220         * sysdeps/i386/fpu/libm-test-ulps: Update.
45221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45223 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45224             Carlos O'Donell  <carlos_odonell@mentor.com>
45226         * nss/makedb.c (is_prime): Assert that input is odd and greater
45227         than 4.  Note that fact in a comment too.
45228         (next_prime): Add 4 to input.
45230 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45232         [BZ #11741]
45233         * libio/Makefile (tests): Add test case tst-fwrite-error.
45234         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
45235         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
45236         * libio/tst-fwrite-error.c: New test case.
45238 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
45240         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
45241         before casting to void *.
45242         * include/libc-internal.h (__pointer_type): New macro.
45243         (__integer_if_pointer_type_sub): Likewise.
45244         (__integer_if_pointer_type): Likewise.
45245         (cast_to_integer): Likewise.
45246         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
45247         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
45248         before casting to atomic64_t.
45249         (atomic_exchange_acq): Likewise.
45250         (__arch_exchange_and_add_body): Likewise.
45251         (__arch_add_body): Likewise.
45252         (atomic_add_negative): Likewise.
45253         (atomic_add_zero): Likewise.
45255 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
45257         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
45258         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
45259         (add_fdes): Likewise.
45260         (linear_search_fdes): Likewise.
45261         (binary_search_unencoded_fdes): Likewise.
45263 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
45265         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
45267 2012-11-24  Adam Conrad  <adconrad@0c3.net>
45269         * configure.in: Autodetect C++ header directories.
45270         * configure: Regenerated.
45272 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
45274         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
45276 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
45278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45280 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
45282         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
45283         LDBL_MANT_DIG == 106]: Disable some tests.
45284         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
45285         Likewise.
45286         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
45287         Likewise.
45289         [BZ #14871]
45290         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
45291         input for small inputs.  Return +/- pi/2 for large inputs.
45292         * math/libm-test.inc (atan_test): Add more tests.
45294         * sysdeps/generic/unwind-dw2-fde-glibc.c
45295         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
45296         __attribute__ ((unused)).
45298         [BZ #14645]
45299         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
45300         x * y if x and y are nonzero and z is zero.
45302         [BZ #14811]
45303         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
45304         nonzero exponents with absolute value below 0x1p-117 to +/-
45305         0x1p-117.
45307         [BZ #14869]
45308         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
45309         up arguments below 2**-450, not just those below 2**-500.
45310         * math/libm-test.inc (hypot_test): Add another test.
45312         [BZ #14868]
45313         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
45314         Return a+b for ratio over 2**120, not 2**60.
45315         * math/libm-test.inc (hypot_test): Add another test.
45317         * math/libm-test.inc (clog_test): Use
45318         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
45319         (clog10_test): Likewise.
45321         [BZ #6778]
45322         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
45324 2012-11-22  Andreas Schwab  <schwab@suse.de>
45326         * sysdeps/i386/fpu/libm-test-ulps: Update.
45328 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
45330         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
45331         printf output with newline.
45333 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
45335         [BZ #14865]
45336         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
45337         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
45338         -z nodlopen, -z initfirst and -z execstack support.
45339         * configure: Regenerated.
45341         * elf/elf.h (DF_1_NODIRECT): New macro.
45342         (DF_1_IGNMULDEF): Likewise.
45343         (DF_1_NOKSYMS): Likewise.
45344         (DF_1_NOHDR): Likewise.
45345         (DF_1_EDITED): Likewise.
45346         (DF_1_NORELOC): Likewise.
45347         (DF_1_SYMINTPOSE): Likewise.
45348         (DF_1_GLOBAUDIT): Likewise.
45349         (DF_1_SINGLETON): Likewise.
45350         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
45351         DT_1_SUPPORTED_MASK bits.
45352         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
45354 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
45356         * sysdeps/unix/make-syscalls.sh: Document prefixes.
45358 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
45360         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
45361         macro.
45363         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
45364         (sendmmsg): Move declarations...
45365         * socket/sys/socket.h: ... here.
45366         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
45367         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
45368         include it from...
45369         * socket/recvmmsg.c: ... this new file.
45370         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
45371         (sendmmsg): Rename to __sendmmsg, create weak alias and make
45372         definition of __sendmmsg hidden.
45373         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
45374         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
45375         Move ENOSYS stub into and include it from...
45376         * socket/sendmmsg.c: ... this new file.
45377         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
45378         (sysdep_routines): Move recvmmsg and sendmmsg...
45379         * socket/Makefile (routines): ... here.
45380         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
45381         (GLIBC_PRIVATE): Add __sendmmsg.
45382         * include/sys/socket.h (__sendmmsg): Add declarations.
45383         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
45384         sendmmsg.
45386 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
45388         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
45389         variable I1 with __attribute__ ((unused)).
45390         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45392 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
45394         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
45395         DUMMY variables with __attribute__ ((unused)).
45397         * bits/byteswap.h: Include <bits/types.h>.
45398         (__bswap_64): Use __uint64_t instead of unsigned long long int.
45400 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
45402         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
45403         string_t.  Do not manually set errno.
45404         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
45405         length with __strnlen.  Make sure to both set errno and return it on
45406         failure.
45408 2012-11-19  David S. Miller  <davem@davemloft.net>
45410         With help from Joseph Myers.
45411         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
45412         very large arguments properly.
45413         * math/libm-test.inc (atan_test): New tests.
45414         (atan2_test): New tests.
45415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45418 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
45420         [BZ #14856]
45421         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
45422         Define to 3.
45424         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
45425         [POSIX] (EADDRNOTAVAIL): Likewise.
45426         [POSIX] (EAFNOSUPPORT): Likewise.
45427         [POSIX] (EALREADY): Likewise.
45428         [POSIX] (ECONNABORTED): Likewise.
45429         [POSIX] (ECONNREFUSED): Likewise.
45430         [POSIX] (ECONNRESET): Likewise.
45431         [POSIX] (EDESTADDRREQ): Likewise.
45432         [POSIX] (EDQUOT): Likewise.
45433         [POSIX] (EHOSTUNREACH): Likewise.
45434         [POSIX] (EIDRM): Likewise.
45435         [POSIX] (EISCONN): Likewise.
45436         [POSIX] (ELOOP): Likewise.
45437         [POSIX] (EMULTIHOP): Likewise.
45438         [POSIX] (ENETDOWN): Likewise.
45439         [POSIX] (ENETUNREACH): Likewise.
45440         [POSIX] (ENOBUFS): Likewise.
45441         [POSIX] (ENODATA): Likewise.
45442         [POSIX] (ENOLINK): Likewise.
45443         [POSIX] (ENOMSG): Likewise.
45444         [POSIX] (ENOPROTOOPT): Likewise.
45445         [POSIX] (ENOSR): Likewise.
45446         [POSIX] (ENOSTR): Likewise.
45447         [POSIX] (ENOTCONN): Likewise.
45448         [POSIX] (ENOTSOCK): Likewise.
45449         [POSIX] (EOPNOTSUPP): Likewise.
45450         [POSIX] (EOVERFLOW): Likewise.
45451         [POSIX] (EPROTO): Likewise.
45452         [POSIX] (EPROTONOSUPPORT): Likewise.
45453         [POSIX] (EPROTOTYPE): Likewise.
45454         [POSIX] (ESTALE): Likewise.
45455         [POSIX] (ETIME): Likewise.
45456         [POSIX] (ETXTBSY): Likewise.
45457         [POSIX] (EWOULDBLOCK): Likewise.
45458         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
45459         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
45460         [POSIX] (SEEK_CUR): Likewise.
45461         [POSIX] (SEEK_END): Likewise.
45462         [POSIX || UNIX98] (mode_t): Do not require.
45463         [POSIX] (off_t): Likewise.
45464         [POSIX] (pid_t): Likewise.
45465         [POSIX] (sys/stat.h): Do not allow header.
45466         [POSIX] (unistd.h): Likewise.
45467         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
45468         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
45469         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
45470         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
45471         require.
45472         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
45473         sigevent): Specify elements.
45474         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
45475         entry.
45476         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
45477         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
45479         * conform/data/cpio.h-data [POSIX]: Disable whole file.
45480         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
45481         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
45482         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
45483         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
45484         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
45485         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
45486         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
45487         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
45488         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
45489         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
45490         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
45491         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
45492         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
45493         Likewise.
45494         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
45495         Likewise.
45496         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
45497         Likewise.
45498         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
45499         Likewise.
45500         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
45501         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
45502         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
45503         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
45504         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
45505         Specify lower bound on value.
45506         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
45507         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
45508         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
45509         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
45510         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
45511         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
45512         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
45513         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
45514         value.
45515         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
45516         as optional.
45517         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
45518         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
45519         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
45520         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
45521         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
45522         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
45523         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
45524         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
45525         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
45526         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
45527         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
45528         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
45529         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
45530         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
45531         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
45532         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
45533         entry.
45534         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
45535         optional.
45536         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
45537         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
45538         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
45539         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
45540         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
45541         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
45542         Likewise.
45543         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
45544         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
45545         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
45546         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
45547         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
45548         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
45549         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
45550         as optional.
45551         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
45552         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
45553         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
45554         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
45555         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
45556         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
45557         specify as optional.
45558         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
45559         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
45560         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
45561         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
45562         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
45563         [XPG3] (NL_LANGMAX): Likewise.
45564         [POSIX || XPG3] (NL_MSGMAX): Likewise.
45565         [POSIX || XPG3] (NL_NMAX): Likewise.
45566         [POSIX || XPG3] (NL_SETMAX): Likewise.
45567         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
45568         [XPG3] (NZERO): Likewise.
45569         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
45570         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
45571         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
45572         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
45573         (REG_ERANGE): Expect.
45574         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
45575         optional-constant.
45576         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
45577         Use (void) in prototype.
45578         [POSIX] (*_t): Allow.
45579         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
45580         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
45581         (WRDE_BADVAL): Expect.
45583         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
45584         expect.
45585         [XPG3 || XPG4] (O_RSYNC): Likewise.
45586         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
45587         Likewise.
45588         [XPG3 || XPG4] (pthread_sigmask): Likewise.
45589         [XPG3 || XPG4] (sigqueue): Likewise.
45590         [XPG3 || XPG4] (sigtimedwait): Likewise.
45591         [XPG3 || XPG4] (sigwaitinfo): Likewise.
45592         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
45593         [XPG3 || XPG4] (vsnprintf): Likewise.
45594         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
45595         Likewise.
45596         [XPG3 || XPG4] (blksize_t): Likewise.
45597         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
45598         Likewise.
45599         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
45600         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
45601         [XPG3 || XPG4] (struct itimerspec): Likewise.
45602         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
45603         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
45604         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
45605         [XPG3 || XPG4] (clockid_t): Likewise.
45606         [XPG3 || XPG4] (timer_t): Likewise.
45607         [XPG3 || XPG4] (clock_getres): Likewise.
45608         [XPG3 || XPG4] (clock_gettime): Likewise.
45609         [XPG3 || XPG4] (clock_settime): Likewise.
45610         [XPG3 || XPG4] (nanosleep): Likewise.
45611         [XPG3 || XPG4] (timer_create): Likewise.
45612         [XPG3 || XPG4] (timer_delete): Likewise.
45613         [XPG3 || XPG4] (timer_gettime): Likewise.
45614         [XPG3 || XPG4] (timer_getoverrun): Likewise.
45615         [XPG3 || XPG4] (timer_settime): Likewise.
45616         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
45617         [XPG3 || XPG4] (getlogin_r): Likewise.
45618         [XPG3 || XPG4] (pread): Likewise.
45619         [XPG3 || XPG4] (pthread_atfork): Likewise.
45620         [XPG3 || XPG4] (pwrite): Likewise.
45622         [BZ #14835]
45623         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
45624         <bits/siginfo.h>.
45626 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
45628         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
45629         finalizing MALLSTREAM.
45631         * sysdeps/mach/hurd/syncfs.c: New file.
45633 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45635         [BZ #14719]
45636         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
45637         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
45638         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
45639         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
45640         (_nss_dns_gethostbyname4_r): Likewise.
45641         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
45642         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
45644 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
45646         [BZ #13763]
45647         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
45649 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
45651         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
45652         * elf/cache.c (print_entry): Print ",AArch64" for
45653         FLAG_AARCH64_LIB64
45655         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
45656         * elf/cache.c (print_entry): Print ",hard-float" for
45657         FLAG_ARM_LIBHF.
45659 2012-11-18  David S. Miller  <davem@davemloft.net>
45661         With help from Joseph Myers.
45662         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
45663         cutoff to 2**-13.
45664         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
45665         cutoff to 2**-25.
45666         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
45667         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
45668         small.
45669         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
45670         * math/libm-test.inc (y0_test): New tests.
45671         (y1_test): New tests.
45672         * sysdeps/i386/fpu/libm-test-ulps: Update.
45673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45676 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
45678         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
45679         64-bit targets.
45680         * configure: Regenerated.
45682 2012-11-17  David S. Miller  <davem@davemloft.net>
45684         [BZ #14811]
45685         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
45686         nonzero exponents with absolute value below 0x1p-128 to +/-
45687         0x1p-128.
45689 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
45691         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
45693         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
45695         * posix/getconf-speclist.c: New file.
45696         * posix/posix-envs.def: Likewise.
45697         * posix/confstr.c (START_ENV_GROUP): New macro.
45698         (END_ENV_GROUP): Likewise.
45699         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
45700         (KNOWN_PRESENT_ENV_STRING): Likewise.
45701         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
45702         (UNKNOWN_ENVIRONMENT): Likewise.
45703         (confstr): Include posix-envs.def instead of handling
45704         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
45705         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
45706         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
45707         (END_ENV_GROUP): Likewise.
45708         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
45709         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
45710         (UNKNOWN_ENVIRONMENT): Likewise.
45711         (__sysconf): Include posix-envs.def instead of handling associated
45712         cases directly here.
45713         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
45714         preprocessing getconf-speclist.c rather than running getconf or
45715         generating empty file.
45717 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
45719         * scripts/check-local-headers.sh: Ignore 'mach' headers.
45721 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
45723         [BZ #14672]
45724         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
45726 2012-11-16  David S. Miller  <davem@davemloft.net>
45728         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
45729         smaller than LDBL_EPSILON/2.0L, just return xm1.
45731 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
45733         * elf/tst-array1.c (init): Set constructor priority to 1000.
45734         (fini): Set destructor priority to 1000.
45735         * elf/tst-array2dep.c: Likewise.
45737 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45739         [BZ #11741]
45740         * libio/fileops.c (_IO_new_file_write): Correctly return error.
45741         (_IO_new_file_xsputn): Also return EOF if none of the input
45742         data was written when overflow failed.
45743         * libio/iopadn.c (_IO_padn): Likewise.
45744         * libio/iowpadn.c (_IO_wpadn): Likewise.
45745         * stdio-common/tst-put-error.c: Add copyright notice.
45746         (do_test): Add case for printing padded string.
45747         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
45748         _IO_padn returned error.
45749         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
45750         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
45751         return EOF.
45753 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45755         * libio/libioP.h: Add comment note that the references to C++
45756         bits are now obsolete.
45758 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45760         * math/libm-test.inc (check_complex): Use asprintf.
45762 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
45764         * debug/pcprofiledump.c (print_version): Update copyright year.
45765         * malloc/memusagestat.c (print_version): Likewise.
45767 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
45769         [BZ #14831]
45770         * elf/Makefile (tests): Add tst-audit8.
45771         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
45772         ($(objpfx)tst-audit8.out): New target.
45773         (tst-audit8-ENV): New variable.
45774         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
45775         audit if l_reloc_result is NULL.
45776         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
45777         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
45778         * elf/tst-audit8.c: New file.
45780 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45782         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
45783         * misc/Makefile (CFLAGS-select.c): Define.
45784         * posix/Makefile (CFLAGS-pause.c): Define.
45786 2012-11-13  David S. Miller  <davem@davemloft.net>
45788         * crypt/Makefile: Move test targets after toplevel Rules
45789         inclusion.  Grab any necessary sysdep routines when linking.
45790         * crypt/md5.c (md5_process_block): Remove define, we will always
45791         name it __md5_process_block.
45792         (md5_finish_ctx): Update md5_process_block call.
45793         (md5_stream): Likewise.
45794         (md5_process_bytes): Likewise.
45795         (md5_process_block): Rename to __md5_process_block and move to ...
45796         * crypt/md5-block.c: ... here.
45797         * crypt/sha256.c (sha256_process_block): Move to ...
45798         * crypt/sha256-block.c: ... here.
45799         * crypt/sha512.c (sha512_process_block): Move to ...
45800         * crypt/sha512-block.c: ... here.
45801         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
45802         path.
45803         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
45804         * sysdeps/sparc/sparc64/multiarch/Makefile
45805         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
45806         crypt subdir.
45807         (localedef-aux): Add md5 crypto assembler when in locale subdir.
45808         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
45809         multiarch changes.
45810         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
45811         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
45812         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
45813         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
45814         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
45815         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
45816         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
45817         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
45818         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
45819         file.
45820         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
45821         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
45822         file.
45823         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
45825 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
45827         * timezone/tzselect.ksh: Update from tzcode git revision
45828         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
45829         * timezone/zdump.c: Likewise.
45830         * timezone/zic.c: Likewise.
45831         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
45832         in TZVERSION setting, not $(PKGVERSION).
45833         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
45834         REPORT_BUGS_TO settings.
45836         [BZ #14838]
45837         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
45838         macro.
45840 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45842         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
45843         detection to immediately after _FP_ROUND().
45844         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
45845         bits are 0.
45847 2012-11-11  David S. Miller  <davem@davemloft.net>
45849         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
45850         inttypes.h
45851         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
45852         __close rather than their public counterparts.
45854 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
45856         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
45857         file.
45858         [UNIX98] (sem_timedwait): Do not expect.
45859         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
45860         [XPG4 || UNIX98] (sockatmark): Do not expect.
45861         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
45862         (clock_getcpuclockid): Do not expect.
45863         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
45864         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
45865         Do not expect.
45866         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
45867         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
45868         [UNIX98] (vwscanf): Likewise.
45869         [UNIX98] (vswscanf): Likewise.
45871 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
45873         * timezone/version.h: Remove file.
45874         * timezone/README: Do not refer to version.h.
45875         * timezone/Makefile ($(objpfx)zic.o): New dependency on
45876         $(objpfx)version.h.
45877         ($(objpfx)zdump.o): Likewise.
45878         ($(objpfx)version.h): New target.
45880         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
45881         2012i.
45882         * timezone/README: Don't mention modification to tzselect.ksh.
45883         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
45884         work on unmodified tzselect.ksh.  Substitute version numbers in
45885         tzselect.ksh.
45887         * Makefile (format-me): Remove.
45888         (INSTALL): Adjust indentation.  Use commands directly instead of
45889         using $(format-me).
45891         * aclocal.m4 (ACX_PKGVERSION): New macro.
45892         (ACX_BUGURL): Likewise.
45893         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
45894         (PKGVERSION): New AC_DEFINE_UNQUOTED.
45895         (REPORT_BUGS_TO): Likewise.
45896         * configure: Regenerated.
45897         * config.h.in (PKGVERSION): New macro.
45898         (REPORT_BUGS_TO): Likewise.
45899         * config.make.in (PKGVERSION): New variable.
45900         (PKGVERSION_TEXI): Likewise.
45901         (REPORT_BUGS_TO): Likewise.
45902         (REPORT_BUGS_TEXI): Likewise.
45903         * Makefile (format-me): Use -I$(common-objpfx)manual.
45904         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
45905         ($(common-objpfx)manual/%): New target.
45906         (manual/%): Remove target.
45907         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
45908         (print_version): Use PKGVERSION.
45909         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
45910         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
45911         and REPORT_BUGS_TO.
45912         ($(objpfx)xtrace): Likewise.
45913         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
45914         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
45915         (print_version): Use PKGVERSION.
45916         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
45917         (do_version): Use PKGVERSION.
45918         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
45919         REPORT_BUGS_TO.
45920         (common-ldd-rewrite): Likewise.
45921         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
45922         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
45923         (print_version): Use PKGVERSION.
45924         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
45925         * elf/pldd.c (argp_program_bug_address): Remove variable.
45926         (more_help): New function.
45927         (argp): Use more_help.
45928         (print_version): Use PKGVERSION.
45929         * elf/sln.c (main): Use PKGVERSION.
45930         (usage): Use REPORT_BUGS_TO.
45931         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
45932         (top level): Use PKGVERSION.
45933         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
45934         (print_version): Use PKGVERSION.
45935         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
45936         (print_version): Use PKGVERSION.
45937         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
45938         (print_version): Use PKGVERSION.
45939         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
45940         (print_version): Use PKGVERSION.
45941         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
45942         (print_version): Use PKGVERSION.
45943         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
45944         (print_version): Use PKGVERSION.
45945         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
45946         and BUGURL.
45947         ($(objpfx)memusage): Likewise.
45948         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
45949         (do_version): Use PKGVERSION.
45950         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
45951         (print_version): Use PKGVERSION.
45952         * malloc/mtrace.pl ($PACKAGE): Remove variable.
45953         ($PKGVERSION): New variable.
45954         ($REPORT_BUGS_TO): Likewise.
45955         (usage): Use $REPORT_BUGS_TO.
45956         (top level): Use $PKGVERSION.
45957         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
45958         ($(objpfx)pkgvers.texi): New rule.
45959         ($(objpfx)stamp-pkgvers): Likewise.
45960         * manual/install.texi: Include pkgvers.texi.
45961         (--with-pkgversion): Document new configure option.
45962         (--with-bugurl): Likewise.
45963         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
45964         than necessarily for this particular distribution.  Use
45965         REPORT_BUGS_TO for where to report bugs.
45966         * INSTALL: Regenerated.
45967         * manual/libc.texinfo: Include pkgvers.texi.
45968         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
45969         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
45970         (print_version): Use PKGVERSION.
45971         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
45972         (print_version): Use PKGVERSION.
45973         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
45974         (print_version): Use PKGVERSION.
45975         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
45976         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
45977         macro.
45978         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
45979         (print_version): Use PKGVERSION.
45980         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
45981         (print_version): Use PKGVERSION.
45982         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
45983         and PKGVERSION.
45985         * timezone/checktab.awk: Update from tzcode 2012i.
45986         * timezone/ialloc.c: Likewise.
45987         * timezone/private.h: Likewise.
45988         * timezone/scheck.c: Likewise.
45989         * timezone/tzfile.h: Likewise.
45990         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
45991         (TZVERSION): Hardcode tzcode version number.
45992         * timezone/zdump.c: Update from tzcode 2012i.
45993         * timezone/zic.c: Likewise.
45994         * timezone/version.h: New file.
45995         * timezone/README: Describe version.h.  Update upstream location.
45997         [BZ #14824]
45998         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
45999         (mktemp): Enable declaration.
46000         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
46001         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
46002         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
46003         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
46004         Likewise.
46005         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
46006         Likewise.
46007         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
46008         Likewise.
46009         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
46010         Likewise.
46011         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
46012         Likewise.
46013         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
46014         Likewise.
46016         [BZ #14821]
46017         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
46018         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
46019         for copies of such integer values.
46020         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46021         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46023 2012-11-09  Andreas Jaeger  <aj@suse.de>
46025         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
46026         definitions and declarations that are provided by
46027         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
46029 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46031         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
46032         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
46033         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
46034         definition.
46036 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46038         * elf/elf.h: Update comment before AArch64 relocations.
46040 2012-11-07  David S. Miller  <davem@davemloft.net>
46042         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
46043         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46044         (__start_context): Declare.
46045         (__makecontext_ret): Delete.
46046         (__makecontext): Hook up __start_context instead of
46047         __makecontext_ret.
46048         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
46049         (sysdep_routines): Add __start_context when in stdlib.
46051 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46053         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
46054         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
46055         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
46056         hardcoded "nm".
46057         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
46058         (READELF): New variable.  Use it instead of hardcoded "readelf".
46060 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46062         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
46063         * sysdeps/x86/Makefile: Here.
46064         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
46065         * sysdeps/x86/tst-xmmymm.sh: This.
46067 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46069         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
46070         expectations.
46071         [UNIX98] (pthread_barrier_t): Do not expect.
46072         [UNIX98] (pthread_barrierattr_t): Likewise.
46073         [UNIX98] (pthread_spinlock_t): Likewise.
46074         [UNIX98] (pthread_barrier_destroy): Likewise.
46075         [UNIX98] (pthread_barrier_init): Likewise.
46076         [UNIX98] (pthread_barrier_wait): Likewise.
46077         [UNIX98] (pthread_barrierattr_destroy): Likewise.
46078         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
46079         [UNIX98] (pthread_barrierattr_init): Likewise.
46080         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
46081         [UNIX98] (pthread_getcpuclockid): Likewise.
46082         [UNIX98] (pthread_mutex_timedlock): Likewise.
46083         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
46084         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
46085         [UNIX98] (pthread_sigmask): Likewise.
46086         [UNIX98] (pthread_spin_destroy): Likewise.
46087         [UNIX98] (pthread_spin_init): Likewise.
46088         [UNIX98] (pthread_spin_lock): Likewise.
46089         [UNIX98] (pthread_spin_trylock): Likewise.
46090         [UNIX98] (pthread_spin_unlock): Likewise.
46091         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
46092         Do not expect.
46093         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
46094         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
46095         [XPG3 || XPG4] (pthread_cond_t): Likewise.
46096         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
46097         [XPG3 || XPG4] (pthread_key_t): Likewise.
46098         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
46099         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
46100         [XPG3 || XPG4] (pthread_once_t): Likewise.
46101         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
46102         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
46103         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
46104         [XPG3 || XPG4] (pthread_t): Likewise.
46106         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
46107         not expect.
46108         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
46110         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
46111         Change function return type to int.
46113         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
46114         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
46115         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
46116         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
46117         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
46118         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
46119         [!POSIX] (posix_madvise): Likewise.
46120         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
46121         && !UNIX98].
46122         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
46123         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
46124         (mode_t): Likewise.
46125         (posix_mem_offset): Likewise.
46126         (posix_typed_mem_get_info): Likewise.
46127         (posix_typed_mem_open): Likewise.
46129         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
46130         Change condition to [XOPEN2K8].
46132         * conform/conformtest.pl: Preprocess allow-header data with -x c
46133         instead of from stdin.
46134         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
46135         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
46136         [C99-based standards] (cerfc): Likewise.
46137         [C99-based standards] (cexp2): Likewise.
46138         [C99-based standards] (cexpm1): Likewise.
46139         [C99-based standards] (clog10): Likewise.
46140         [C99-based standards] (clog1p): Likewise.
46141         [C99-based standards] (clog2): Likewise.
46142         [C99-based standards] (clgamma): Likewise.
46143         [C99-based standards] (ctgamma): Likewise.
46144         [C99-based standards] (cerff): Likewise.
46145         [C99-based standards] (cerfcf): Likewise.
46146         [C99-based standards] (cexp2f): Likewise.
46147         [C99-based standards] (cexpm1f): Likewise.
46148         [C99-based standards] (clog10f): Likewise.
46149         [C99-based standards] (clog1pf): Likewise.
46150         [C99-based standards] (clog2f): Likewise.
46151         [C99-based standards] (clgammaf): Likewise.
46152         [C99-based standards] (ctgammaf): Likewise.
46153         [C99-based standards] (cerfl): Likewise.
46154         [C99-based standards] (cerfcl): Likewise.
46155         [C99-based standards] (cexp2l): Likewise.
46156         [C99-based standards] (cexpm1l): Likewise.
46157         [C99-based standards] (clog10l): Likewise.
46158         [C99-based standards] (clog1pl): Likewise.
46159         [C99-based standards] (clog2l): Likewise.
46160         [C99-based standards] (clgammal): Likewise.
46161         [C99-based standards] (ctgammal): Likewise.
46162         * conform/data/inttypes.h-data [C99-based standards]: Include
46163         stdint.h-data.  Remove all expectations for stdint.h contents.
46164         [C99-based standards] (PRI*): Do not allow.
46165         [C99-based standards] (SCN*): Likewise.
46166         [C99-based standards] (*_t): Likewise.
46167         [C99-based-standards] (PRId8): Expect macro.
46168         [C99-based-standards] (PRIi8): Likewise.
46169         [C99-based-standards] (PRIo8): Likewise.
46170         [C99-based-standards] (PRIu8): Likewise.
46171         [C99-based-standards] (PRIx8): Likewise.
46172         [C99-based-standards] (PRIX8): Likewise.
46173         [C99-based-standards] (SCNd8): Likewise.
46174         [C99-based-standards] (SCNi8): Likewise.
46175         [C99-based-standards] (SCNo8): Likewise.
46176         [C99-based-standards] (SCNu8): Likewise.
46177         [C99-based-standards] (SCNx8): Likewise.
46178         [C99-based-standards] (PRIdLEAST8): Likewise.
46179         [C99-based-standards] (PRIiLEAST8): Likewise.
46180         [C99-based-standards] (PRIoLEAST8): Likewise.
46181         [C99-based-standards] (PRIuLEAST8): Likewise.
46182         [C99-based-standards] (PRIxLEAST8): Likewise.
46183         [C99-based-standards] (PRIXLEAST8): Likewise.
46184         [C99-based-standards] (SCNdLEAST8): Likewise.
46185         [C99-based-standards] (SCNiLEAST8): Likewise.
46186         [C99-based-standards] (SCNoLEAST8): Likewise.
46187         [C99-based-standards] (SCNuLEAST8): Likewise.
46188         [C99-based-standards] (SCNxLEAST8): Likewise.
46189         [C99-based-standards] (PRIdFAST8): Likewise.
46190         [C99-based-standards] (PRIiFAST8): Likewise.
46191         [C99-based-standards] (PRIoFAST8): Likewise.
46192         [C99-based-standards] (PRIuFAST8): Likewise.
46193         [C99-based-standards] (PRIxFAST8): Likewise.
46194         [C99-based-standards] (PRIXFAST8): Likewise.
46195         [C99-based-standards] (SCNdFAST8): Likewise.
46196         [C99-based-standards] (SCNiFAST8): Likewise.
46197         [C99-based-standards] (SCNoFAST8): Likewise.
46198         [C99-based-standards] (SCNuFAST8): Likewise.
46199         [C99-based-standards] (SCNxFAST8): Likewise.
46200         [C99-based-standards] (PRId16): Likewise.
46201         [C99-based-standards] (PRIi16): Likewise.
46202         [C99-based-standards] (PRIo16): Likewise.
46203         [C99-based-standards] (PRIu16): Likewise.
46204         [C99-based-standards] (PRIx16): Likewise.
46205         [C99-based-standards] (PRIX16): Likewise.
46206         [C99-based-standards] (SCNd16): Likewise.
46207         [C99-based-standards] (SCNi16): Likewise.
46208         [C99-based-standards] (SCNo16): Likewise.
46209         [C99-based-standards] (SCNu16): Likewise.
46210         [C99-based-standards] (SCNx16): Likewise.
46211         [C99-based-standards] (PRIdLEAST16): Likewise.
46212         [C99-based-standards] (PRIiLEAST16): Likewise.
46213         [C99-based-standards] (PRIoLEAST16): Likewise.
46214         [C99-based-standards] (PRIuLEAST16): Likewise.
46215         [C99-based-standards] (PRIxLEAST16): Likewise.
46216         [C99-based-standards] (PRIXLEAST16): Likewise.
46217         [C99-based-standards] (SCNdLEAST16): Likewise.
46218         [C99-based-standards] (SCNiLEAST16): Likewise.
46219         [C99-based-standards] (SCNoLEAST16): Likewise.
46220         [C99-based-standards] (SCNuLEAST16): Likewise.
46221         [C99-based-standards] (SCNxLEAST16): Likewise.
46222         [C99-based-standards] (PRIdFAST16): Likewise.
46223         [C99-based-standards] (PRIiFAST16): Likewise.
46224         [C99-based-standards] (PRIoFAST16): Likewise.
46225         [C99-based-standards] (PRIuFAST16): Likewise.
46226         [C99-based-standards] (PRIxFAST16): Likewise.
46227         [C99-based-standards] (PRIXFAST16): Likewise.
46228         [C99-based-standards] (SCNdFAST16): Likewise.
46229         [C99-based-standards] (SCNiFAST16): Likewise.
46230         [C99-based-standards] (SCNoFAST16): Likewise.
46231         [C99-based-standards] (SCNuFAST16): Likewise.
46232         [C99-based-standards] (SCNxFAST16): Likewise.
46233         [C99-based-standards] (PRId32): Likewise.
46234         [C99-based-standards] (PRIi32): Likewise.
46235         [C99-based-standards] (PRIo32): Likewise.
46236         [C99-based-standards] (PRIu32): Likewise.
46237         [C99-based-standards] (PRIx32): Likewise.
46238         [C99-based-standards] (PRIX32): Likewise.
46239         [C99-based-standards] (SCNd32): Likewise.
46240         [C99-based-standards] (SCNi32): Likewise.
46241         [C99-based-standards] (SCNo32): Likewise.
46242         [C99-based-standards] (SCNu32): Likewise.
46243         [C99-based-standards] (SCNx32): Likewise.
46244         [C99-based-standards] (PRIdLEAST32): Likewise.
46245         [C99-based-standards] (PRIiLEAST32): Likewise.
46246         [C99-based-standards] (PRIoLEAST32): Likewise.
46247         [C99-based-standards] (PRIuLEAST32): Likewise.
46248         [C99-based-standards] (PRIxLEAST32): Likewise.
46249         [C99-based-standards] (PRIXLEAST32): Likewise.
46250         [C99-based-standards] (SCNdLEAST32): Likewise.
46251         [C99-based-standards] (SCNiLEAST32): Likewise.
46252         [C99-based-standards] (SCNoLEAST32): Likewise.
46253         [C99-based-standards] (SCNuLEAST32): Likewise.
46254         [C99-based-standards] (SCNxLEAST32): Likewise.
46255         [C99-based-standards] (PRIdFAST32): Likewise.
46256         [C99-based-standards] (PRIiFAST32): Likewise.
46257         [C99-based-standards] (PRIoFAST32): Likewise.
46258         [C99-based-standards] (PRIuFAST32): Likewise.
46259         [C99-based-standards] (PRIxFAST32): Likewise.
46260         [C99-based-standards] (PRIXFAST32): Likewise.
46261         [C99-based-standards] (SCNdFAST32): Likewise.
46262         [C99-based-standards] (SCNiFAST32): Likewise.
46263         [C99-based-standards] (SCNoFAST32): Likewise.
46264         [C99-based-standards] (SCNuFAST32): Likewise.
46265         [C99-based-standards] (SCNxFAST32): Likewise.
46266         [C99-based-standards] (PRId64): Likewise.
46267         [C99-based-standards] (PRIi64): Likewise.
46268         [C99-based-standards] (PRIo64): Likewise.
46269         [C99-based-standards] (PRIu64): Likewise.
46270         [C99-based-standards] (PRIx64): Likewise.
46271         [C99-based-standards] (PRIX64): Likewise.
46272         [C99-based-standards] (SCNd64): Likewise.
46273         [C99-based-standards] (SCNi64): Likewise.
46274         [C99-based-standards] (SCNo64): Likewise.
46275         [C99-based-standards] (SCNu64): Likewise.
46276         [C99-based-standards] (SCNx64): Likewise.
46277         [C99-based-standards] (PRIdLEAST64): Likewise.
46278         [C99-based-standards] (PRIiLEAST64): Likewise.
46279         [C99-based-standards] (PRIoLEAST64): Likewise.
46280         [C99-based-standards] (PRIuLEAST64): Likewise.
46281         [C99-based-standards] (PRIxLEAST64): Likewise.
46282         [C99-based-standards] (PRIXLEAST64): Likewise.
46283         [C99-based-standards] (SCNdLEAST64): Likewise.
46284         [C99-based-standards] (SCNiLEAST64): Likewise.
46285         [C99-based-standards] (SCNoLEAST64): Likewise.
46286         [C99-based-standards] (SCNuLEAST64): Likewise.
46287         [C99-based-standards] (SCNxLEAST64): Likewise.
46288         [C99-based-standards] (PRIdFAST64): Likewise.
46289         [C99-based-standards] (PRIiFAST64): Likewise.
46290         [C99-based-standards] (PRIoFAST64): Likewise.
46291         [C99-based-standards] (PRIuFAST64): Likewise.
46292         [C99-based-standards] (PRIxFAST64): Likewise.
46293         [C99-based-standards] (PRIXFAST64): Likewise.
46294         [C99-based-standards] (SCNdFAST64): Likewise.
46295         [C99-based-standards] (SCNiFAST64): Likewise.
46296         [C99-based-standards] (SCNoFAST64): Likewise.
46297         [C99-based-standards] (SCNuFAST64): Likewise.
46298         [C99-based-standards] (SCNxFAST64): Likewise.
46299         [C99-based-standards] (PRIdMAX): Likewise.
46300         [C99-based-standards] (PRIiMAX): Likewise.
46301         [C99-based-standards] (PRIoMAX): Likewise.
46302         [C99-based-standards] (PRIuMAX): Likewise.
46303         [C99-based-standards] (PRIxMAX): Likewise.
46304         [C99-based-standards] (PRIXMAX): Likewise.
46305         [C99-based-standards] (SCNdMAX): Likewise.
46306         [C99-based-standards] (SCNiMAX): Likewise.
46307         [C99-based-standards] (SCNoMAX): Likewise.
46308         [C99-based-standards] (SCNuMAX): Likewise.
46309         [C99-based-standards] (SCNxMAX): Likewise.
46310         [C99-based-standards] (PRIdPTR): Likewise.
46311         [C99-based-standards] (PRIiPTR): Likewise.
46312         [C99-based-standards] (PRIoPTR): Likewise.
46313         [C99-based-standards] (PRIuPTR): Likewise.
46314         [C99-based-standards] (PRIxPTR): Likewise.
46315         [C99-based-standards] (PRIXPTR): Likewise.
46316         [C99-based-standards] (SCNdPTR): Likewise.
46317         [C99-based-standards] (SCNiPTR): Likewise.
46318         [C99-based-standards] (SCNoPTR): Likewise.
46319         [C99-based-standards] (SCNuPTR): Likewise.
46320         [C99-based-standards] (SCNxPTR): Likewise.
46321         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
46322         allow.
46323         * conform/data/stdint.h-data: Update comments to clarify
46324         requirements.
46325         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
46326         type.
46327         [C99-based standards] (INT8_MAX): Likewise.
46328         [C99-based standards] (INT16_MIN): Likewise.
46329         [C99-based standards] (INT16_MAX): Likewise.
46330         [C99-based standards] (INT32_MIN): Likewise.
46331         [C99-based standards] (INT32_MAX): Likewise.
46332         [C99-based standards] (INT64_MIN): Likewise.
46333         [C99-based standards] (INT64_MAX): Likewise.
46334         [C99-based standards] (UINT8_MAX): Likewise.
46335         [C99-based standards] (UINT16_MAX): Likewise.
46336         [C99-based standards] (UINT32_MAX): Likewise.
46337         [C99-based standards] (UINT64_MAX): Likewise.
46338         [C99-based standards] (INT_LEAST8_MIN): Likewise.
46339         [C99-based standards] (INT_LEAST8_MAX): Likewise.
46340         [C99-based standards] (INT_LEAST16_MIN): Likewise.
46341         [C99-based standards] (INT_LEAST16_MAX): Likewise.
46342         [C99-based standards] (INT_LEAST32_MIN): Likewise.
46343         [C99-based standards] (INT_LEAST32_MAX): Likewise.
46344         [C99-based standards] (INT_LEAST64_MIN): Likewise.
46345         [C99-based standards] (INT_LEAST64_MAX): Likewise.
46346         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
46347         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
46348         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
46349         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
46350         [C99-based standards] (INT_FAST8_MIN): Likewise.
46351         [C99-based standards] (INT_FAST8_MAX): Likewise.
46352         [C99-based standards] (INT_FAST16_MIN): Likewise.
46353         [C99-based standards] (INT_FAST16_MAX): Likewise.
46354         [C99-based standards] (INT_FAST32_MIN): Likewise.
46355         [C99-based standards] (INT_FAST32_MAX): Likewise.
46356         [C99-based standards] (INT_FAST64_MIN): Likewise.
46357         [C99-based standards] (INT_FAST64_MAX): Likewise.
46358         [C99-based standards] (UINT_FAST8_MAX): Likewise.
46359         [C99-based standards] (UINT_FAST16_MAX): Likewise.
46360         [C99-based standards] (UINT_FAST32_MAX): Likewise.
46361         [C99-based standards] (UINT_FAST64_MAX): Likewise.
46362         [C99-based standards] (INTPTR_MIN): Likewise.
46363         [C99-based standards] (INTPTR_MAX): Likewise.
46364         [C99-based standards] (UINTPTR_MAX): Likewise.
46365         [C99-based standards] (INTMAX_MIN): Likewise.
46366         [C99-based standards] (INTMAX_MAX): Likewise.
46367         [C99-based standards] (UINTMAX_MAX): Likewise.
46368         [C99-based standards] (PTRDIFF_MIN): Likewise.
46369         [C99-based standards] (PTRDIFF_MAX): Likewise.
46370         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
46371         [C99-based standards] (SIZE_MAX): Likewise.
46372         [C99-based standards] (WCHAR_MAX): Likewise.
46373         [C99-based standards] (WINT_MAX): Likewise.
46374         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
46375         constraint on value.
46376         [C99-based standards] (WCHAR_MIN): Likewise.
46377         [C99-based standards] (WINT_MIN): Likewise.
46378         [C99-based standards] (*_t): Allow.
46379         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
46380         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
46381         Include math.h-data and complex.h-data.  Remove all expectations
46382         of math.h and complex.h contents.
46383         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
46384         at end of line.
46385         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
46386         (struct tm): Expect tag.
46387         [C99-based-standards] (wcstof): Expect function.
46388         [C99-based-standards] (wcstold): Likewise.
46389         [C99-based-standards] (wcstoll): Likewise.
46390         [C99-based-standards] (wcstoull): Likewise.
46391         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
46392         macro-int-constant.  Specify type.
46393         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
46394         constraint on value.
46395         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
46396         Specify type.
46397         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
46398         Specify value.
46399         [ISO C standards]: Do not allow headers.
46400         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
46401         wcs[abcdefghijklmnopqrstuvwxyz]*.
46402         [ISO C standards] (*_t): Do not allow.
46403         * conform/data/wctype.h-data [C99-based standards] (iswblank):
46404         Expect function.
46405         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
46406         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
46407         Specify type.
46408         [ISO C standards]: Do not allow headers.
46409         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
46410         is[abcdefghijklmnopqrstuvwxyz]*.
46411         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
46412         to[abcdefghijklmnopqrstuvwxyz]*.
46413         [ISO C standards] (*_t): Do not allow.
46414         * conform/data/stdalign.h-data: New file.
46415         * conform/data/stdbool.h-data: Likewise.
46416         * conform/data/stdnoreturn.h-data: Likewise.
46418 2012-11-07  Roland McGrath  <roland@hack.frob.com>
46420         [BZ #14815]
46421         * manual/filesys.texi (Directory Entries): Typo fix.
46422         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
46424 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46426         * elf/elf.h (EM_AARCH64): New macro.
46427         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
46428         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
46429         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
46430         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
46431         (R_AARCH64_TLSDESC): Likewise.
46432         (NT_ARM_TLS): Likewise.
46433         (NT_ARM_HW_BREAK): Likewise.
46434         (NT_ARM_HW_WATCH): Likewise.
46436 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46438         [BZ #14811]
46439         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
46440         (__ieee754_powl): Saturate nonzero exponents with absolute value
46441         below 0x1p-79 to +/- 0x1p-79.
46442         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
46443         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
46444         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
46445         nonzero exponents with absolute value below 0x1p-32 to +/-
46446         0x1p-32.
46447         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
46448         (__ieee754_powl): Saturate nonzero exponents with absolute value
46449         below 0x1p-79 to +/- 0x1p-79.
46450         * math/libm-test.inc (pow_test): Add more tests.
46452 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46454         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
46455         _dl_s390_cap_flags with kernel. Increase string length.
46456         (_dl_s390_platforms): Add z196 and zEC12.
46458 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46460         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
46461         Change XOPEN21K to XOPEN2K.
46463 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
46465         * string/memmove.c: Use memcpy when possible.
46467 2012-11-06  Andreas Jaeger  <aj@suse.de>
46469         * po/eo.po: Update from translation team.
46471 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
46473         [BZ #14793]
46474         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
46475         exponent and small x and y exponents, scale x or y up.  Increase
46476         by 2 the exponent used in scaling up.
46477         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46478         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46479         * math/libm-test.inc (fma_test): Add more tests.
46480         (fma_test_towardzero): Likewise.
46481         (fma_test_downward): Likewise.
46482         (fma_test_upward): Likewise.
46484 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
46486         [BZ #14805]
46487         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
46488         fenv_t *.
46490         [BZ #14801]
46491         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
46492         namespace for names of struct fields.
46493         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
46494         fenv_t fields.
46495         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
46496         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
46498 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46500         [BZ #3665]
46501         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
46503 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
46505         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
46506         PTR_DEMANGLE.
46508         [BZ #5246]
46509         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
46510         PTR_DEMANGLE.
46512 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
46514         [BZ #14797]
46515         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
46516         definitely overflow as x * y not x * y + z.
46517         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46518         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46519         * math/libm-test.inc (fma_test): Add more tests.
46520         (fma_test_towardzero): Likewise.
46521         (fma_test_downward): Likewise.
46522         (fma_test_upward): Likewise.
46524 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
46526         [BZ #157]
46528         * include/stub-tag.h: Remove file.
46529         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
46530         '#include' of it.
46531         * manual/maint.texi (Porting): Don't reference it.
46532         * Makerules ($(objpfx)stubs): Likewise.
46533         * dirent/closedir.c: Don't include <stub-tag.h>.
46534         * dirent/dirfd.c: Likewise.
46535         * dirent/fdopendir.c: Likewise.
46536         * dirent/getdents.c: Likewise.
46537         * dirent/getdents64.c: Likewise.
46538         * dirent/opendir.c: Likewise.
46539         * dirent/readdir.c: Likewise.
46540         * dirent/readdir64.c: Likewise.
46541         * dirent/readdir64_r.c: Likewise.
46542         * dirent/readdir_r.c: Likewise.
46543         * dirent/rewinddir.c: Likewise.
46544         * dirent/seekdir.c: Likewise.
46545         * dirent/telldir.c: Likewise.
46546         * gmon/profil.c: Likewise.
46547         * grp/setgroups.c: Likewise.
46548         * inet/if_index.c: Likewise.
46549         * io/access.c: Likewise.
46550         * io/chdir.c: Likewise.
46551         * io/chmod.c: Likewise.
46552         * io/chown.c: Likewise.
46553         * io/close.c: Likewise.
46554         * io/dup.c: Likewise.
46555         * io/dup2.c: Likewise.
46556         * io/dup3.c: Likewise.
46557         * io/euidaccess.c: Likewise.
46558         * io/faccessat.c: Likewise.
46559         * io/fchdir.c: Likewise.
46560         * io/fchmod.c: Likewise.
46561         * io/fchmodat.c: Likewise.
46562         * io/fchown.c: Likewise.
46563         * io/fchownat.c: Likewise.
46564         * io/fcntl.c: Likewise.
46565         * io/flock.c: Likewise.
46566         * io/fstatfs.c: Likewise.
46567         * io/fstatfs64.c: Likewise.
46568         * io/fstatvfs.c: Likewise.
46569         * io/fstatvfs64.c: Likewise.
46570         * io/futimens.c: Likewise.
46571         * io/fxstat.c: Likewise.
46572         * io/fxstat64.c: Likewise.
46573         * io/fxstatat.c: Likewise.
46574         * io/fxstatat64.c: Likewise.
46575         * io/getcwd.c: Likewise.
46576         * io/isatty.c: Likewise.
46577         * io/lchmod.c: Likewise.
46578         * io/lchown.c: Likewise.
46579         * io/link.c: Likewise.
46580         * io/linkat.c: Likewise.
46581         * io/lseek.c: Likewise.
46582         * io/lseek64.c: Likewise.
46583         * io/lxstat64.c: Likewise.
46584         * io/mkdir.c: Likewise.
46585         * io/mkdirat.c: Likewise.
46586         * io/mkfifo.c: Likewise.
46587         * io/mkfifoat.c: Likewise.
46588         * io/open.c: Likewise.
46589         * io/open64.c: Likewise.
46590         * io/openat.c: Likewise.
46591         * io/openat64.c: Likewise.
46592         * io/pipe.c: Likewise.
46593         * io/pipe2.c: Likewise.
46594         * io/poll.c: Likewise.
46595         * io/posix_fadvise.c: Likewise.
46596         * io/posix_fadvise64.c: Likewise.
46597         * io/posix_fallocate.c: Likewise.
46598         * io/posix_fallocate64.c: Likewise.
46599         * io/read.c: Likewise.
46600         * io/readlink.c: Likewise.
46601         * io/readlinkat.c: Likewise.
46602         * io/rmdir.c: Likewise.
46603         * io/sendfile.c: Likewise.
46604         * io/sendfile64.c: Likewise.
46605         * io/statfs.c: Likewise.
46606         * io/statfs64.c: Likewise.
46607         * io/statvfs.c: Likewise.
46608         * io/statvfs64.c: Likewise.
46609         * io/symlink.c: Likewise.
46610         * io/symlinkat.c: Likewise.
46611         * io/ttyname.c: Likewise.
46612         * io/ttyname_r.c: Likewise.
46613         * io/umask.c: Likewise.
46614         * io/unlink.c: Likewise.
46615         * io/unlinkat.c: Likewise.
46616         * io/utime.c: Likewise.
46617         * io/utimensat.c: Likewise.
46618         * io/write.c: Likewise.
46619         * io/xmknod.c: Likewise.
46620         * io/xmknodat.c: Likewise.
46621         * io/xstat.c: Likewise.
46622         * io/xstat64.c: Likewise.
46623         * login/getpt.c: Likewise.
46624         * login/grantpt.c: Likewise.
46625         * login/unlockpt.c: Likewise.
46626         * math/e_acoshl.c: Likewise.
46627         * math/e_acosl.c: Likewise.
46628         * math/e_asinl.c: Likewise.
46629         * math/e_atan2l.c: Likewise.
46630         * math/e_atanhl.c: Likewise.
46631         * math/e_coshl.c: Likewise.
46632         * math/e_expl.c: Likewise.
46633         * math/e_fmodl.c: Likewise.
46634         * math/e_gammal_r.c: Likewise.
46635         * math/e_hypotl.c: Likewise.
46636         * math/e_j0l.c: Likewise.
46637         * math/e_j1l.c: Likewise.
46638         * math/e_jnl.c: Likewise.
46639         * math/e_lgammal_r.c: Likewise.
46640         * math/e_log10l.c: Likewise.
46641         * math/e_log2l.c: Likewise.
46642         * math/e_logl.c: Likewise.
46643         * math/e_powl.c: Likewise.
46644         * math/e_rem_pio2l.c: Likewise.
46645         * math/e_sinhl.c: Likewise.
46646         * math/e_sqrtl.c: Likewise.
46647         * math/fclrexcpt.c: Likewise.
46648         * math/fedisblxcpt.c: Likewise.
46649         * math/feenablxcpt.c: Likewise.
46650         * math/fegetenv.c: Likewise.
46651         * math/fegetexcept.c: Likewise.
46652         * math/fegetround.c: Likewise.
46653         * math/feholdexcpt.c: Likewise.
46654         * math/fesetenv.c: Likewise.
46655         * math/fesetround.c: Likewise.
46656         * math/feupdateenv.c: Likewise.
46657         * math/fgetexcptflg.c: Likewise.
46658         * math/fraiseexcpt.c: Likewise.
46659         * math/fsetexcptflg.c: Likewise.
46660         * math/ftestexcept.c: Likewise.
46661         * math/k_cosl.c: Likewise.
46662         * math/k_rem_pio2l.c: Likewise.
46663         * math/k_sinl.c: Likewise.
46664         * math/k_tanl.c: Likewise.
46665         * math/s_asinhl.c: Likewise.
46666         * math/s_atanl.c: Likewise.
46667         * math/s_cbrtl.c: Likewise.
46668         * math/s_erfl.c: Likewise.
46669         * math/s_expm1l.c: Likewise.
46670         * math/s_log1pl.c: Likewise.
46671         * math/s_tanhl.c: Likewise.
46672         * misc/acct.c: Likewise.
46673         * misc/brk.c: Likewise.
46674         * misc/chflags.c: Likewise.
46675         * misc/chroot.c: Likewise.
46676         * misc/fchflags.c: Likewise.
46677         * misc/fgetxattr.c: Likewise.
46678         * misc/flistxattr.c: Likewise.
46679         * misc/fremovexattr.c: Likewise.
46680         * misc/fsetxattr.c: Likewise.
46681         * misc/fsync.c: Likewise.
46682         * misc/ftruncate.c: Likewise.
46683         * misc/futimes.c: Likewise.
46684         * misc/futimesat.c: Likewise.
46685         * misc/getdomain.c: Likewise.
46686         * misc/getdtsz.c: Likewise.
46687         * misc/gethostid.c: Likewise.
46688         * misc/gethostname.c: Likewise.
46689         * misc/getloadavg.c: Likewise.
46690         * misc/getpagesize.c: Likewise.
46691         * misc/getsysstats.c: Likewise.
46692         * misc/getxattr.c: Likewise.
46693         * misc/gtty.c: Likewise.
46694         * misc/ioctl.c: Likewise.
46695         * misc/lgetxattr.c: Likewise.
46696         * misc/listxattr.c: Likewise.
46697         * misc/llistxattr.c: Likewise.
46698         * misc/lremovexattr.c: Likewise.
46699         * misc/lsetxattr.c: Likewise.
46700         * misc/lutimes.c: Likewise.
46701         * misc/madvise.c: Likewise.
46702         * misc/mincore.c: Likewise.
46703         * misc/mlock.c: Likewise.
46704         * misc/mlockall.c: Likewise.
46705         * misc/mmap.c: Likewise.
46706         * misc/mprotect.c: Likewise.
46707         * misc/msync.c: Likewise.
46708         * misc/munlock.c: Likewise.
46709         * misc/munlockall.c: Likewise.
46710         * misc/munmap.c: Likewise.
46711         * misc/preadv.c: Likewise.
46712         * misc/preadv64.c: Likewise.
46713         * misc/ptrace.c: Likewise.
46714         * misc/pwritev.c: Likewise.
46715         * misc/pwritev64.c: Likewise.
46716         * misc/readv.c: Likewise.
46717         * misc/reboot.c: Likewise.
46718         * misc/remap_file_pages.c: Likewise.
46719         * misc/removexattr.c: Likewise.
46720         * misc/revoke.c: Likewise.
46721         * misc/select.c: Likewise.
46722         * misc/setdomain.c: Likewise.
46723         * misc/setegid.c: Likewise.
46724         * misc/seteuid.c: Likewise.
46725         * misc/sethostid.c: Likewise.
46726         * misc/sethostname.c: Likewise.
46727         * misc/setregid.c: Likewise.
46728         * misc/setreuid.c: Likewise.
46729         * misc/setxattr.c: Likewise.
46730         * misc/sstk.c: Likewise.
46731         * misc/stty.c: Likewise.
46732         * misc/swapoff.c: Likewise.
46733         * misc/swapon.c: Likewise.
46734         * misc/sync.c: Likewise.
46735         * misc/syncfs.c: Likewise.
46736         * misc/syscall.c: Likewise.
46737         * misc/truncate.c: Likewise.
46738         * misc/ualarm.c: Likewise.
46739         * misc/usleep.c: Likewise.
46740         * misc/ustat.c: Likewise.
46741         * misc/utimes.c: Likewise.
46742         * misc/vhangup.c: Likewise.
46743         * misc/writev.c: Likewise.
46744         * posix/_exit.c: Likewise.
46745         * posix/alarm.c: Likewise.
46746         * posix/execve.c: Likewise.
46747         * posix/fexecve.c: Likewise.
46748         * posix/fork.c: Likewise.
46749         * posix/fpathconf.c: Likewise.
46750         * posix/getaddrinfo.c: Likewise.
46751         * posix/getegid.c: Likewise.
46752         * posix/geteuid.c: Likewise.
46753         * posix/getgid.c: Likewise.
46754         * posix/getgroups.c: Likewise.
46755         * posix/getlogin.c: Likewise.
46756         * posix/getlogin_r.c: Likewise.
46757         * posix/getpgid.c: Likewise.
46758         * posix/getpid.c: Likewise.
46759         * posix/getppid.c: Likewise.
46760         * posix/getresgid.c: Likewise.
46761         * posix/getresuid.c: Likewise.
46762         * posix/getsid.c: Likewise.
46763         * posix/getuid.c: Likewise.
46764         * posix/glob64.c: Likewise.
46765         * posix/nanosleep.c: Likewise.
46766         * posix/pathconf.c: Likewise.
46767         * posix/pause.c: Likewise.
46768         * posix/posix_madvise.c: Likewise.
46769         * posix/pread.c: Likewise.
46770         * posix/pread64.c: Likewise.
46771         * posix/pwrite.c: Likewise.
46772         * posix/pwrite64.c: Likewise.
46773         * posix/sched_getaffinity.c: Likewise.
46774         * posix/sched_getp.c: Likewise.
46775         * posix/sched_gets.c: Likewise.
46776         * posix/sched_primax.c: Likewise.
46777         * posix/sched_primin.c: Likewise.
46778         * posix/sched_rr_gi.c: Likewise.
46779         * posix/sched_setaffinity.c: Likewise.
46780         * posix/sched_setp.c: Likewise.
46781         * posix/sched_sets.c: Likewise.
46782         * posix/sched_yield.c: Likewise.
46783         * posix/setgid.c: Likewise.
46784         * posix/setlogin.c: Likewise.
46785         * posix/setpgid.c: Likewise.
46786         * posix/setresgid.c: Likewise.
46787         * posix/setresuid.c: Likewise.
46788         * posix/setsid.c: Likewise.
46789         * posix/setuid.c: Likewise.
46790         * posix/sleep.c: Likewise.
46791         * posix/spawni.c: Likewise.
46792         * posix/sysconf.c: Likewise.
46793         * posix/times.c: Likewise.
46794         * posix/wait.c: Likewise.
46795         * posix/wait3.c: Likewise.
46796         * posix/wait4.c: Likewise.
46797         * posix/waitpid.c: Likewise.
46798         * resolv/gai_sigqueue.c: Likewise.
46799         * resource/getpriority.c: Likewise.
46800         * resource/getrlimit.c: Likewise.
46801         * resource/getrusage.c: Likewise.
46802         * resource/nice.c: Likewise.
46803         * resource/setpriority.c: Likewise.
46804         * resource/setrlimit.c: Likewise.
46805         * resource/ulimit.c: Likewise.
46806         * rt/aio_cancel.c: Likewise.
46807         * rt/aio_fsync.c: Likewise.
46808         * rt/aio_read.c: Likewise.
46809         * rt/aio_sigqueue.c: Likewise.
46810         * rt/aio_suspend.c: Likewise.
46811         * rt/aio_write.c: Likewise.
46812         * rt/clock_getres.c: Likewise.
46813         * rt/clock_gettime.c: Likewise.
46814         * rt/clock_nanosleep.c: Likewise.
46815         * rt/clock_settime.c: Likewise.
46816         * rt/lio_listio.c: Likewise.
46817         * rt/mq_close.c: Likewise.
46818         * rt/mq_getattr.c: Likewise.
46819         * rt/mq_notify.c: Likewise.
46820         * rt/mq_open.c: Likewise.
46821         * rt/mq_receive.c: Likewise.
46822         * rt/mq_send.c: Likewise.
46823         * rt/mq_setattr.c: Likewise.
46824         * rt/mq_timedreceive.c: Likewise.
46825         * rt/mq_timedsend.c: Likewise.
46826         * rt/mq_unlink.c: Likewise.
46827         * rt/shm_open.c: Likewise.
46828         * rt/shm_unlink.c: Likewise.
46829         * rt/timer_create.c: Likewise.
46830         * rt/timer_delete.c: Likewise.
46831         * rt/timer_getoverr.c: Likewise.
46832         * rt/timer_gettime.c: Likewise.
46833         * rt/timer_settime.c: Likewise.
46834         * setjmp/__longjmp.c: Likewise.
46835         * setjmp/setjmp.c: Likewise.
46836         * signal/kill.c: Likewise.
46837         * signal/killpg.c: Likewise.
46838         * signal/raise.c: Likewise.
46839         * signal/sigaction.c: Likewise.
46840         * signal/sigaltstack.c: Likewise.
46841         * signal/sigblock.c: Likewise.
46842         * signal/sigignore.c: Likewise.
46843         * signal/sigintr.c: Likewise.
46844         * signal/signal.c: Likewise.
46845         * signal/sigpause.c: Likewise.
46846         * signal/sigpending.c: Likewise.
46847         * signal/sigqueue.c: Likewise.
46848         * signal/sigreturn.c: Likewise.
46849         * signal/sigset.c: Likewise.
46850         * signal/sigsetmask.c: Likewise.
46851         * signal/sigstack.c: Likewise.
46852         * signal/sigsuspend.c: Likewise.
46853         * signal/sigtimedwait.c: Likewise.
46854         * signal/sigvec.c: Likewise.
46855         * signal/sigwait.c: Likewise.
46856         * signal/sigwaitinfo.c: Likewise.
46857         * signal/sysv_signal.c: Likewise.
46858         * socket/accept.c: Likewise.
46859         * socket/accept4.c: Likewise.
46860         * socket/bind.c: Likewise.
46861         * socket/connect.c: Likewise.
46862         * socket/getpeername.c: Likewise.
46863         * socket/getsockname.c: Likewise.
46864         * socket/getsockopt.c: Likewise.
46865         * socket/isfdtype.c: Likewise.
46866         * socket/listen.c: Likewise.
46867         * socket/recv.c: Likewise.
46868         * socket/recvfrom.c: Likewise.
46869         * socket/recvmsg.c: Likewise.
46870         * socket/send.c: Likewise.
46871         * socket/sendmsg.c: Likewise.
46872         * socket/sendto.c: Likewise.
46873         * socket/setsockopt.c: Likewise.
46874         * socket/shutdown.c: Likewise.
46875         * socket/sockatmark.c: Likewise.
46876         * socket/socket.c: Likewise.
46877         * socket/socketpair.c: Likewise.
46878         * stdio-common/ctermid.c: Likewise.
46879         * stdio-common/cuserid.c: Likewise.
46880         * stdio-common/remove.c: Likewise.
46881         * stdio-common/rename.c: Likewise.
46882         * stdio-common/renameat.c: Likewise.
46883         * stdio-common/tempname.c: Likewise.
46884         * stdlib/getcontext.c: Likewise.
46885         * stdlib/makecontext.c: Likewise.
46886         * stdlib/setcontext.c: Likewise.
46887         * stdlib/swapcontext.c: Likewise.
46888         * stdlib/system.c: Likewise.
46889         * streams/fattach.c: Likewise.
46890         * streams/fdetach.c: Likewise.
46891         * streams/getmsg.c: Likewise.
46892         * streams/getpmsg.c: Likewise.
46893         * streams/putmsg.c: Likewise.
46894         * streams/putpmsg.c: Likewise.
46895         * sysdeps/unix/bsd/getpt.c: Likewise.
46896         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
46897         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
46898         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46900         Likewise.
46901         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
46902         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46903         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
46904         * sysvipc/msgctl.c: Likewise.
46905         * sysvipc/msgget.c: Likewise.
46906         * sysvipc/msgrcv.c: Likewise.
46907         * sysvipc/msgsnd.c: Likewise.
46908         * sysvipc/semctl.c: Likewise.
46909         * sysvipc/semget.c: Likewise.
46910         * sysvipc/semop.c: Likewise.
46911         * sysvipc/semtimedop.c: Likewise.
46912         * sysvipc/shmat.c: Likewise.
46913         * sysvipc/shmctl.c: Likewise.
46914         * sysvipc/shmdt.c: Likewise.
46915         * sysvipc/shmget.c: Likewise.
46916         * termios/tcdrain.c: Likewise.
46917         * termios/tcflow.c: Likewise.
46918         * termios/tcflush.c: Likewise.
46919         * termios/tcgetattr.c: Likewise.
46920         * termios/tcgetpgrp.c: Likewise.
46921         * termios/tcsendbrk.c: Likewise.
46922         * termios/tcsetattr.c: Likewise.
46923         * termios/tcsetpgrp.c: Likewise.
46924         * time/adjtime.c: Likewise.
46925         * time/clock.c: Likewise.
46926         * time/getitimer.c: Likewise.
46927         * time/gettimeofday.c: Likewise.
46928         * time/setitimer.c: Likewise.
46929         * time/settimeofday.c: Likewise.
46930         * time/stime.c: Likewise.
46931         * time/time.c: Likewise.
46933 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
46935         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
46936         /usr/old/bin.
46938         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
46939         instead of spaces.
46940         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
46942 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
46944         [BZ #14796]
46945         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
46946         FE_TONEAREST before applying Dekker multiplication and Knuth
46947         addition.  Clear inexact exceptions and check for exact zero
46948         results afterwards.
46949         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46950         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46951         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46952         * math/libm-test.inc (fma_test): Add more tests.
46953         (fma_test_towardzero): Likewise.
46954         (fma_test_downward): Likewise.
46955         (fma_test_upward): Likewise.
46956         * sysdeps/generic/math_private.h (default_libc_fesetround): New
46957         function.
46958         (libc_fesetround): New macro.
46959         (libc_fesetroundf): Likewise.
46960         (libc_fesetroundl): Likewise.
46961         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
46962         function.
46963         (libc_fesetround_387): Likewise.
46964         (libc_fesetroundf): New macro.
46965         (libc_fesetround): Likewise.
46966         (libc_fesetroundl): Likewise.
46967         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
46968         function.
46969         (libc_fesetroundf): New macro.
46970         (libc_fesetround): Likewise.
46971         (libc_fesetroundl): Likewise.
46972         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
46973         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
46974         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
46975         libm_hidden_ver.
46976         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
46977         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
46978         libm_hidden_def.
46979         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
46980         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
46981         libm_hidden_ver.
46982         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
46983         libm_hidden_def.
46985         [BZ #3439]
46986         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
46987         integer constant usable in #if and use that to give value to enum
46988         constant.
46989         (FE_DIVBYZERO): Likewise.
46990         (FE_UNDERFLOW): Likewise.
46991         (FE_OVERFLOW): Likewise.
46992         (FE_INVALID): Likewise.
46993         (FE_INVALID_SNAN): Likewise.
46994         (FE_INVALID_ISI): Likewise.
46995         (FE_INVALID_IDI): Likewise.
46996         (FE_INVALID_ZDZ): Likewise.
46997         (FE_INVALID_IMZ): Likewise.
46998         (FE_INVALID_COMPARE): Likewise.
46999         (FE_INVALID_SOFTWARE): Likewise.
47000         (FE_INVALID_SQRT): Likewise.
47001         (FE_INVALID_INTEGER_CONVERSION): Likewise.
47002         (FE_TONEAREST): Likewise.
47003         (FE_TOWARDZERO): Likewise.
47004         (FE_UPWARD): Likewise.
47005         (FE_DOWNWARD): Likewise.
47006         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
47007         (FE_DIVBYZERO): Likewise.
47008         (FE_OVERFLOW): Likewise.
47009         (FE_UNDERFLOW): Likewise.
47010         (FE_INEXACT): Likewise.
47011         (FE_TONEAREST): Likewise.
47012         (FE_DOWNWARD): Likewise.
47013         (FE_UPWARD): Likewise.
47014         (FE_TOWARDZERO): Likewise.
47015         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
47016         (FE_UNDERFLOW): Likewise.
47017         (FE_OVERFLOW): Likewise.
47018         (FE_DIVBYZERO): Likewise.
47019         (FE_INVALID): Likewise.
47020         (FE_TONEAREST): Likewise.
47021         (FE_TOWARDZERO): Likewise.
47022         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
47023         (FE_OVERFLOW): Likewise.
47024         (FE_UNDERFLOW): Likewise.
47025         (FE_DIVBYZERO): Likewise.
47026         (FE_INEXACT): Likewise.
47027         (FE_TONEAREST): Likewise.
47028         (FE_TOWARDZERO): Likewise.
47029         (FE_UPWARD): Likewise.
47030         (FE_DOWNWARD): Likewise.
47031         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
47032         (FE_DIVBYZERO): Likewise.
47033         (FE_OVERFLOW): Likewise.
47034         (FE_UNDERFLOW): Likewise.
47035         (FE_INEXACT): Likewise.
47036         (FE_TONEAREST): Likewise.
47037         (FE_DOWNWARD): Likewise.
47038         (FE_UPWARD): Likewise.
47039         (FE_TOWARDZERO): Likewise.
47041 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
47043         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
47045 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
47047         * scripts/cross-test-ssh.sh (command): Use newlines to separate
47048         commands.  Quote $PWD.
47049         (blacklist_exports): Don't use remove_newlines.  Replace "declare
47050         -x" by "export".
47051         (remove_newlines): Remove.
47053 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
47055         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
47056         * stdlib/stdlib.h (atof): Moved to ...
47057         * include/bits/stdlib-float.h: Here.  New file.
47058         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
47059         * stdlib/bits/stdlib-float.h: New file.
47060         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
47061         -mno-sse -mno-mmx.
47062         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
47063         <xmmintrin.h>.
47065 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
47067         * conform/conformtest.pl (@headers): Add fenv.h.
47068         * conform/data/fenv.h-data: New file.
47069         * include/fenv.h [_ISOMAC]: Disable all contents of file except
47070         include of <math/fenv.h>.
47072         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
47073         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
47074         && !UNIX98].  Enables tests for XOPEN2K8.
47075         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
47076         POSIX2008]: Likewise.
47078         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
47079         (struct rusage): Do not expect type or its members.
47081         [BZ #3439]
47082         * math/math.h (FP_NAN): Define macro to integer constant usable in
47083         #if and use that to give value to enum constant.
47084         (FP_INFINITE): Likewise.
47085         (FP_ZERO): Likewise.
47086         (FP_SUBNORMAL): Likewise.
47087         (FP_NORMAL): Likewise.
47089 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
47091         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
47092         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
47093         arguments.
47095 2012-11-02  Roland McGrath  <roland@hack.frob.com>
47097         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
47098         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
47099         autoconf-time if not.
47100         * configure.in: Remove AC_PREREQ.
47102 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47104         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
47105         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
47106         of the internal implementation.
47108 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
47110         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
47111         except include of <misc/sys/syslog.h>.
47113 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
47116         function returns with a NULL context exit with zero.
47118 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47120         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
47122 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
47124         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
47125         (run_program_cmd): This.
47126         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
47127         (tst_langinfo): New variable.  Use it.
47129 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
47131         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
47132         floating point opcodes.
47134 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47136         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
47137         variable.
47139         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
47141         * sysdeps/mach/hurd/powerpc: Remove directory.
47142         * sysdeps/mach/powerpc: Likewise.
47144 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47146         * scripts/check-local-headers.sh: Ignore c++ headers.
47148 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47150         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
47151         __libc_cleanup_region_start argument.
47153 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
47155         [BZ #14784]
47156         [BZ #14785]
47157         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
47158         x * y using scaling, not as x * y + z.
47159         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47160         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47161         * math/libm-test.inc (fma_test): Add more tests.
47162         (fma_test_towardzero): Likewise.
47163         (fma_test_downward): Likewise.
47164         (fma_test_upward): Likewise.
47166 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47168         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
47170 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
47172         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
47173         New variable.
47175 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
47177         * rt/tst-shm.c (worker): Correct checking for mmap failure.
47179 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
47181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47182         Fix sort order.
47183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47184         Likewise.
47186 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47189         Fix the order of the list for glibc 2.17.
47190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47191         Likewise.
47193 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
47195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47197 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
47199         [BZ #14610]
47200         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
47201         for low part of x being zero before using __atanl (y).
47202         * math/libm-test.inc (atan2_test): Add another test.
47204         * manual/install.texi (Configuring and compiling): Document
47205         general use of test-wrapper and test-wrapper-env.
47206         * INSTALL: Regenerated.
47208         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
47209         (__fma): Do not extract and scale down low bits on after-rounding
47210         systems when result rounded to normal precision would have normal
47211         exponent.
47212         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
47213         (__fmal): Do not extract and scale down low bits on after-rounding
47214         systems when result rounded to normal precision would have normal
47215         exponent.
47216         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
47217         (__fmal): Do not extract and scale down low bits on after-rounding
47218         systems when result rounded to normal precision would have normal
47219         exponent.
47220         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
47221         macro.
47222         (fma_test): Add more tests.
47223         (fma_test_towardzero): Likewise.
47224         (fma_test_downward): Likewise.
47225         (fma_test_upward): Likewise.
47227 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
47229         * sysdeps/i386/tininess.h: Renamed to ...
47230         * sysdeps/x86/tininess.h: This.
47231         * sysdeps/x86_64/tininess.h: Removed.
47233 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
47235         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
47236         input.  Use $(build-program-cmd).
47237         ($(objpfx)tst-array1-static.out): Likewise.
47238         ($(objpfx)tst-array2.out): Likewise.
47239         ($(objpfx)tst-array3.out): Likewise.
47240         ($(objpfx)tst-array4.out): Likewise.
47241         ($(objpfx)tst-array5.out): Likewise.
47242         ($(objpfx)tst-array5-static.out): Likewise.
47244 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
47246         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
47247         if defined.
47249         * nss/nsswitch.h (nss_interface_function): Provide new
47250         macro for use with NSS functions.
47251         * grp/initgroups.c: Use new macro.
47252         * nss/getXXbyYY.c: Likewise.
47253         * nss/getXXbyYY_r.c: Likewise.
47254         * nss/getXXent.c: Likewise.
47255         * nss/getXXent_r.c: Likewise.
47256         * sysdeps/posix/getaddrinfo.c: Likewise.
47258 2012-10-30  Andreas Jaeger  <aj@suse.de>
47260         * po/ru.po: Update Russion translation from translation project.
47262 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
47264         [BZ #14152]
47265         [BZ #14783]
47266         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
47267         result and shift together with sticky bit instead of replicating
47268         round-to-nearest rounding.
47269         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47270         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47271         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
47272         missing underflow exceptions.
47273         (fma_test_towardzero): Add more tests.
47274         (fma_test_downward): Likewise.
47275         (fma_test_upward): Likewise.
47277         [BZ #14047]
47278         * sysdeps/generic/tininess.h: New file.
47279         * sysdeps/i386/tininess.h: Likewise.
47280         * sysdeps/sh/tininess.h: Likewise.
47281         * sysdeps/x86_64/tininess.h: Likewise.
47282         * stdlib/tst-strtod-underflow.c: Likewise.
47283         * stdlib/tst-tininess.c: Likewise.
47284         * stdlib/strtod_l.c: Include <tininess.h>.
47285         (round_and_return): Do not set errno for exact underflow cases.
47286         Force an underflow exception when setting errno for underflow.
47287         Determine underflow based on rounding to normal precision if
47288         TININESS_AFTER_ROUNDING.
47289         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
47290         ERANGE for exact underflow cases.
47291         * stdlib/Makefile (tests): Add tst-tininess and
47292         tst-strtod-underflow.
47293         ($(objpfx)tst-tininess): Use $(link-libm).
47294         ($(objpfx)tst-strtod-underflow): Likewise.
47296 2012-10-30  Andreas Jaeger  <aj@suse.de>
47298         [BZ#14767]
47299         * elf/Makefile (tests): Remove conditional for have-initfini-array
47300         since this is now always required and the variable does not exist
47301         anymore.
47302         (tests-static): Likewise.
47303         (modules-names): Likewise.
47305         * po/eo.po: Add Esperanto translation from translation project.
47307         * elf/tst-array1.c (fini_array): Make writeable so that it can be
47308         merged with constructor/destructor.
47309         (init_array): Likewise.
47310         * elf/tst-array2dep.c (fini_array): Likewise.
47311         (init_array): Likewise.
47313 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
47315         * manual/message.texi: Delete @cartouche tags.
47317 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
47319         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
47320         EOPNOTSUPP.
47321         * sysdeps/mach/hurd/fsync.c: Likewise.
47323         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
47324         [_POSIX_REALTIME_SIGNALS]: Change condition to
47325         [_POSIX_REALTIME_SIGNALS > 0].
47327 2012-10-27  Andreas Jaeger  <aj@suse.de>
47329         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
47330         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
47331         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
47332         [__WORDSIZE != 64]: Likewise.
47334 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
47336         *  iconvdata/tst-table.sh: Remove ${SHELL}.
47337         *  iconvdata/tst-tables.sh: Likewise.
47339 2012-10-25  David S. Miller  <davem@davemloft.net>
47341         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47342         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
47343         of strtoull.
47345         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
47346         ifunc-impl-list.c
47347         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47348         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
47349         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
47350         file.
47352 2012-10-25  Roland McGrath  <roland@hack.frob.com>
47354         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47355         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
47356         __getdirentries.
47358 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
47359             Jim Blandy  <jimb@codesourcery.com>
47361         * scripts/cross-test-ssh.sh: New file.
47362         * manual/install.texi (Configuring and compiling): Document use of
47363         cross-test-ssh.sh.
47364         * INSTALL: Regenerated.
47366 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
47368         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
47369         EOPNOTSUPP.
47371 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
47373         * Makeconfig (run-program-prefix): Fix comment.
47375 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
47376             Jim Blandy  <jimb@codesourcery.com>
47378         * Makeconfig (test-wrapper): New variable,
47379         (test-wrapper-env): Likewise.
47380         [$(cross-compiling) = yes && $(test-wrapper) != ""]
47381         (run-built-tests): Define to yes.
47382         (run-program-prefix): Use $(test-wrapper).
47383         (built-program-cmd): Likewise.
47384         * Rules (make-test-out): Use $(test-wrapper-env) and
47385         $(host-built-program-cmd).
47386         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
47387         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
47388         tst-pathopt.sh.
47389         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
47390         $(test-wrapper-env) to tst-rtld-load-self.sh.
47391         ($(objpfx)order2.out): Use $(test-wrapper).
47392         ($(objpfx)tst-initorder.out): Likewise.
47393         ($(objpfx)tst-initorder2.out): Likewise.
47394         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
47395         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
47396         (test_wrapper_env): New variable.  Use it to run ld.so.
47397         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
47398         Use it to run ld.so.
47399         (test_wrapper_env): Likewise.
47400         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
47401         $(test-wrapper) to run-iconv-test.sh.
47402         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
47403         (ICONV): Use $test_wrapper.
47404         * posix/Makefile ($(objpfx)globtest.out): Pass
47405         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
47406         globtest.sh, not $(run-program-prefix).
47407         * posix/globtest.sh (run_via_rtld_prefix): New variable.
47408         (test_wrapper): Likewise.
47409         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
47410         set together with run_via_rtld_prefix.
47411         (run_program_prefix): Define in terms of test_wrapper and
47412         run_via_rtld_prefix.
47414 2012-10-24  Roland McGrath  <roland@hack.frob.com>
47416         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
47417         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
47418         Targets removed.
47420         [BZ #14743]
47421         * include/time.h: Remove librt_hidden_proto (clock_gettime).
47422         Declare __clock_getres, __clock_gettime, __clock_settime,
47423         __clock_nanosleep, and __clock_getcpuclockid.
47424         * rt/clock_gettime.c: Define __clock_gettime as an alias.
47425         Remove librt_hidden_def (clock_gettime).
47426         * sysdeps/unix/clock_gettime.c: Likewise.
47427         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
47428         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
47429         * rt/clock_getres.c: Define __clock_getres as an alias.
47430         * sysdeps/posix/clock_getres.c: Likewise.
47431         * rt/clock_settime.c: Define __clock_settime as an alias.
47432         * sysdeps/unix/clock_settime.c: Likewise.
47433         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
47434         * sysdeps/unix/clock_nanosleep.c: Likewise.
47435         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
47436         * rt/clock-compat.c: New file.
47437         * rt/Makefile (librt-routines): Add clock-compat and move
47438         $(clock-routines) to ...
47439         (routines): ... here, new variable.
47440         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
47441         Don't add get_clockfreq here.
47442         * rt/Versions (libc: GLIBC_2.17): New version set.
47443         Add clock_* symbols here.
47444         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
47445         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
47446         (GLIBC_2.17): Add clock_* symbols.
47447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47449         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47451         Likewise.
47452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47453         Likewise.
47454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47458         * NEWS: Mention the move.
47460         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
47461         Use __open, __read, __close rather than their public counterparts.
47462         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47463         (__get_clockfreq_via_cpuinfo): Likewise.
47464         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
47465         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
47467         * config.h.in (HAVE_IFUNC): New #undef.
47468         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
47469         was successful.
47470         * configure: Regenerated.
47472 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
47474         * configure.in: Move READELF check to start of file.
47475         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
47476         libc_cv_asm_gnu_indirect_function in the process.
47477         * configure: Regenerated.
47479 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
47481         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
47482         send the output to /dev/null.
47483         (libc_cv_cc_with_libunwind): Likewise.
47484         (libc_cv_as_noexecstack): Likewise.
47485         * configure: Regenerate.
47487 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
47489         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
47491         * posix/globtest.sh (TMPDIR): Do not set.
47492         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
47493         (testout): Likewise.
47495 2012-10-24  Andreas Jaeger  <aj@suse.de>
47497         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
47498         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
47499         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
47500         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
47501         posix_fadvise64, posix_fallocate64.
47503         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
47504         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
47505         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
47506         Likewise.
47507         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
47508         Likewise.
47509         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
47511         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
47512         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
47513         <bits/fcntl-linux.h>.
47514         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
47516         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
47517         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
47518         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
47519         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
47520         [__WORDSIZE != 64]: Likewise.
47522 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
47524         * Makeconfig (run-built-tests): New variable.
47525         * Rules [$(cross-compiling) = yes]: Change condition to
47526         [$(run-built-tests) = no].
47527         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
47528         to [$(run-built-tests) = yes].
47529         * elf/Makefile [$(cross-compiling) = no]: Likewise
47530         * grp/Makefile [$(cross-compiling) = no]: Likewise.
47531         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
47532         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
47533         * intl/Makefile [$(cross-compiling) = no]: Likewise.
47534         * io/Makefile [$(cross-compiling) = no]: Likewise.
47535         * libio/Makefile [$(cross-compiling) = no]: Likewise.
47536         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
47537         * misc/Makefile [$(cross-compiling) = no]: Likewise.
47538         * posix/Makefile [$(cross-compiling) = no]: Likewise.
47539         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
47540         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
47541         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
47542         * string/Makefile [$(cross-compiling) = no]: Likewise.
47544         * posix/Makefile ($(objpfx)globtest.out): Pass
47545         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
47546         $(rtld-installed-name).
47547         * posix/globtest.sh (elf_objpfx): Remove variable.
47548         (rtld_installed_name): Likewise.
47549         (library_path): Likewise.
47550         (run_program_prefix): New variable.  Use for running globtest
47551         binary.
47553 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
47554             Joseph Myers  <joseph@codesourcery.com>
47556         * Makeconfig (host-built-program-cmd): New variable.
47557         * elf/Makefile (tst-stackguard1-ARGS): Use
47558         $(host-built-program-cmd).
47559         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
47560         (tst-spawn-ARGS): Likewise.
47561         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
47563 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
47564             Jim Blandy  <jimb@codesourcery.com>
47566         * Makeconfig (run-via-rtld-prefix): New variable.
47567         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
47568         (built-program-cmd): Likewise.
47570 2012-10-22  Andreas Jaeger  <aj@suse.de>
47572         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
47573         __O_RSYNC if it exists, otherwise to O_SYNC.
47575 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
47576             Joseph Myers  <joseph@codesourcery.com>
47578         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
47579         /dev/null.
47580         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
47581         from /dev/null
47582         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
47583         /dev/null.
47585 2012-10-22  Andreas Jaeger  <aj@suse.de>
47587         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
47588         Define always.
47589         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
47591         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47592         bits/fcntl-linux.h.
47594         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
47595         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
47597         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
47598         to __O_LARGEFILE.
47599         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
47600         to __O_LARGEFILE.
47602 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
47603             Joseph Myers  <joseph@codesourcery.com>
47605         * config.make.in (NM): New variable.
47607 2012-10-21  Andreas Jaeger  <aj@suse.de>
47609         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
47610         definitions and declarations that are provided by
47611         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
47613 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
47615         [BZ #14683]
47616         * elf/Makefile (tests-static): Add tst-leaks1-static.
47617         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
47618         ($(objpfx)tst-leaks1-static): New rule.
47619         ($(objpfx)tst-leaks1-static-mem): Likewise.
47620         (tst-leaks1-static-ENV): New macro.
47621         * elf/dl-open.c (dl_open_worker): Check the main application
47622         only if SHARED is defined.
47623         * elf/tst-leaks1-static.c: New file.
47625 2012-10-20  Andreas Jaeger  <aj@suse.de>
47627         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
47628         generic values for Linux.
47629         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
47630         and declarations that are provided by <bits/fcntl-linux.h> and
47631         include <bits/fcntl-linux.h>.
47632         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47633         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47635 2012-10-20  Roland McGrath  <roland@hack.frob.com>
47637         * io/fcntl.h: Move include of <bits/types.h> to the top and
47638         include it unconditionally.
47640 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
47642         * wcsmbs/Makefile (tests-ifunc): New variable.
47643         (tests): Add $(tests-ifunc).
47644         * wcsmbs/test-wcschr-ifunc.c: New file.
47645         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
47646         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
47647         * wcsmbs/test-wcslen-ifunc.c: Likewise.
47648         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
47649         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
47651         * string/Makefile (tests-ifunc): New variable.
47652         (tests): Add $(tests-ifunc).
47653         * string/test-memccpy.c (TEST_NAME): New macro.
47654         * string/test-memchr.c (TEST_NAME): Likewise.
47655         * string/test-memcmp.c (TEST_NAME): Likewise.
47656         * string/test-memcpy.c (TEST_NAME): Likewise.
47657         * string/test-memmem.c (TEST_NAME): Likewise.
47658         * string/test-memmove.c (TEST_NAME): Likewise.
47659         * string/test-memset.c (TEST_NAME): Likewise.
47660         * string/test-rawmemchr.c (TEST_NAME): Likewise.
47661         * string/test-stpcpy.c (TEST_NAME): Likewise.
47662         * string/test-stpncpy.c (TEST_NAME): Likewise.
47663         * string/test-strcasecmp.c (TEST_NAME): Likewise.
47664         * string/test-strcasestr.c (TEST_NAME): Likewise.
47665         * string/test-strcat.c (TEST_NAME): Likewise.
47666         * string/test-strchr.c (TEST_NAME): Likewise.
47667         * string/test-strcmp.c(TEST_NAME): Likewise.
47668         * string/test-strcpy.c (TEST_NAME): Likewise.
47669         * string/test-strcspn.c (TEST_NAME): Likewise.
47670         * string/test-strlen.c (TEST_NAME): Likewise.
47671         * string/test-strncasecmp.c (TEST_NAME): Likewise.
47672         * string/test-strncmp.c (TEST_NAME): Likewise.
47673         * string/test-strncpy.c (TEST_NAME): Likewise.
47674         * string/test-strnlen.c (TEST_NAME): Likewise.
47675         * string/test-strpbrk.c (TEST_NAME): Likewise.
47676         * string/test-strrchr.c (TEST_NAME): Likewise.
47677         * string/test-strspn.c (TEST_NAME): Likewise.
47678         * string/test-strstr.c (TEST_NAME): Likewise.
47679         * string/test-bcopy-ifunc.c: New file.
47680         * string/test-bzero-ifunc.c: Likewise.
47681         * string/test-memccpy-ifunc.c: Likewise.
47682         * string/test-memchr-ifunc.c: Likewise.
47683         * string/test-memcmp-ifunc.c: Likewise.
47684         * string/test-memcpy-ifunc.c: Likewise.
47685         * string/test-memmem-ifunc.c: Likewise.
47686         * string/test-memmove-ifunc.c: Likewise.
47687         * string/test-mempcpy-ifunc.c: Likewise.
47688         * string/test-memset-ifunc.c: Likewise.
47689         * string/test-rawmemchr-ifunc.c: Likewise.
47690         * string/test-stpcpy-ifunc.c: Likewise.
47691         * string/test-stpncpy-ifunc.c: Likewise.
47692         * string/test-strcasecmp-ifunc.c: Likewise.
47693         * string/test-strcasestr-ifunc.c: Likewise.
47694         * string/test-strcat-ifunc.c: Likewise.
47695         * string/test-strchr-ifunc.c: Likewise.
47696         * string/test-strchrnul-ifunc.c: Likewise.
47697         * string/test-strcmp-ifunc.c: Likewise.
47698         * string/test-strcpy-ifunc.c: Likewise.
47699         * string/test-strcspn-ifunc.c: Likewise.
47700         * string/test-strlen-ifunc.c: Likewise.
47701         * string/test-strncasecmp-ifunc.c: Likewise.
47702         * string/test-strncat-ifunc.c: Likewise.
47703         * string/test-strncmp-ifunc.c: Likewise.
47704         * string/test-strncpy-ifunc.c: Likewise.
47705         * string/test-strnlen-ifunc.c: Likewise.
47706         * string/test-strpbrk-ifunc.c: Likewise.
47707         * string/test-strrchr-ifunc.c: Likewise.
47708         * string/test-strspn-ifunc.c: Likewise.
47709         * string/test-strstr-ifunc.c: Likewise.
47711         * debug/Makefile (tests-ifunc): New variable.
47712         (tests): Add $(tests-ifunc).
47713         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
47714         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
47715         * debug/test-stpcpy_chk-ifunc.c: New file.
47716         * debug/test-strcpy_chk-ifunc.c: Likewise.
47718 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47720         [BZ #13601]
47721         * elf/dl-load.c (open_verify): Retry read if the entire ELF
47722         header is not read in.
47724 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
47726         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
47727         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
47728         directly.  Pass built executable to script as
47729         $(built-program-cmd).
47730         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
47731         $testprogram without using LD_LIBRARY_PATH and $ldso.
47733         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
47734         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
47735         $(rtld-installed-name).
47736         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
47737         (rtld_installed_name): Likewise.
47738         (library_path): Likewise.
47739         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
47740         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
47741         $(run-program-prefix) to tst-tables.sh.
47742         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
47743         it to run tst-table-from and tst-table-to.
47744         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
47745         Pass it to tst-table.sh.
47746         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
47747         $(run-program-prefix) to tst-gettext.sh.
47748         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
47749         tst-translit.sh.
47750         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
47751         tst-gettext2.sh.
47752         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
47753         to run tst-gettext.
47754         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
47755         to run tst-gettext2.
47756         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
47757         to run tst-translit.
47758         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
47759         $(run-program-prefix) to tst-mtrace.sh.
47760         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
47761         to run tst-mtrace.
47762         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
47763         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
47764         $(rtld-installed-name).
47765         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
47766         (rtld_installed_name): Likewise.
47767         (run_program_prefix): New variable.  Use it to run wordexp-test.
47769         * Makeconfig (ARCH): Remove all definitions.
47770         (machine): Likewise.
47771         [ARCH]: Remove conditional code.
47772         [!objdir]: Give error.
47773         [!objdir] (objpfx): Remove.
47774         [!objdir] (common-objpfx): Likewise.
47775         [!objdir] (common-objdir): Likewise.
47776         * configure.in (config_makefile): Remove.  Hardcode Makefile in
47777         AC_CONFIG_FILES call.
47778         * configure: Regenerated.
47780         [BZ #13888]
47781         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
47782         or TMPDIR.
47783         (testout): Likewise.
47785         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
47786         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
47787         $(rtld-installed-name).
47788         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
47789         (rtld_installed_name): Likwise.
47790         (runit): Remove function.
47791         (run_getconf): New variable,  Use it for running getconf binary.
47793 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
47795         [BZ #14716]
47796         * string/test-memmem.c (check_result): New function.
47797         (do_one_test): Use it.
47798         (check1): New function.
47799         (test_main): Use it.
47801 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
47803         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
47805 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
47807         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
47808         (_G_LSEEK64): Likewise.
47809         (_G_MMAP64): Likewise.
47810         (_G_FSTAT64): Likewise.
47811         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
47812         (_G_LSEEK64): Likewise.
47813         (_G_MMAP64): Likewise.
47814         (_G_FSTAT64): Likewise.
47815         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
47816         unconditional.  Call __mmap64 directly.
47817         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
47818         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
47819         __lseek64 directly.
47820         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
47821         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
47822         __mmap64 directly.
47823         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
47824         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
47825         __lseek64 directly.
47826         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
47827         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
47828         __lseek64 directly.
47829         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
47830         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
47831         __lseek64 directly.
47832         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
47833         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
47834         __fxstat64 directly.
47835         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
47836         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
47837         unconditional.
47838         (freopen64) [!_G_OPEN64]: Remove conditional code.
47839         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
47840         unconditional.
47841         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
47842         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
47843         unconditional.
47844         (ftello64) [!_G_LSEEK64]: Remove conditional code.
47845         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
47846         unconditional.
47847         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
47848         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
47849         unconditional.
47850         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
47851         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
47852         unconditional.
47853         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
47854         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
47855         unconditional.
47856         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
47857         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
47858         unconditional.
47859         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
47861 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47863         [BZ #12140]
47864         * manual/memory.texi (Malloc Tunable Parameters): Add note
47865         about free list pointers overwriting some perturb bytes.
47866         Wording suggested by Roland McGrath.
47868 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
47870         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
47871         (lgamma_test): Likewise.
47872         (tgamma_test): Likewise.
47874 2012-10-16  Florian Weimer  <fweimer@redhat.com>
47876         [BZ #14700]
47877         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
47878         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
47880 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
47882         * NEWS: Mention BZ #14716.
47883         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
47884         when removing AVAILABLE1_USES_J macro.
47886 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
47888         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
47889         (__bswap_64): __uint64_t for unsigned 64-bit int.
47891 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
47893         * include/string.h (memmem): Declare libc hidden alias.
47894         * string/memmem.c (memmem): Define libc hidden alias.
47895         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
47896         __read, __close instead of open, read, close.
47898 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
47900         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
47901         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
47902         global and hidden.
47903         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
47904         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
47905         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
47906         Likewise.
47907         (__rawmemchr_sse2): Likewise.
47908         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
47909         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
47910         (__strchr_sse2): Likewise.
47911         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
47912         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
47913         (__strcasecmp_sse2): Likewise.
47914         (__strncasecmp_sse2): Likewise.
47915         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
47916         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
47917         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
47918         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
47919         (__strrchr_sse2): Likewise.
47920         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
47921         ifunc-impl-list.c.
47922         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
47923         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
47924         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
47925         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47926         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
47927         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
47928         * sysdeps/x86_64/multiarch/memset.S: Likewise.
47929         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47930         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
47931         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
47932         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
47933         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
47934         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
47935         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
47936         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
47937         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
47938         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
47939         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
47940         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
47941         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
47942         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
47943         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
47944         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
47945         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
47946         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
47947         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47948         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
47949         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47950         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
47951         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
47953         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
47954         global and hidden.
47955         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
47956         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
47957         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
47958         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
47959         Likewise.
47960         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
47961         Likewise.
47962         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
47963         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
47964         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
47965         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
47966         ifunc-impl-list.c.
47967         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47968         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47969         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47970         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47971         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47972         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47973         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47974         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47975         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47976         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47977         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47978         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47979         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47980         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
47981         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
47982         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47983         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
47984         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
47985         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47986         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47987         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47988         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47989         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47990         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47991         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47992         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
47993         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
47994         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
47995         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
47996         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47997         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
47998         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47999         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48000         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
48001         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48002         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48003         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48004         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48005         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48006         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48007         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
48009         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
48010         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
48011         * include/ifunc-impl-list.h: New file.
48012         * misc/ifunc-impl-list.c: Likewise.
48013         * misc/Makefile (routines): Add ifunc-impl-list.
48014         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
48015         * string/test-string.h: Include <ifunc-impl-list.h>.
48016         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
48017         TEST_NAME]: New variables.
48018         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
48019         are defined.
48020         (test_init): Call __libc_ifunc_impl_list to initialize
48021         func_list if TEST_IFUNC and TEST_NAME are defined.
48023         * string/Makefile (strop-tests): Add bcopy and bzero.
48024         * string/test-bcopy.c: New file.
48025         * string/test-bzero.c: Likewise.
48026         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
48027         defined.
48028         * string/test-memset.c: Support bzero test if TEST_BZERO is
48029         defined.
48030         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
48031         __libc_memmove.
48032         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
48033         __libc_memset.
48034         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
48035         of memset.
48037 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
48039         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
48040         * configure: Regenerated.
48042         * Makeconfig (+link-static-before-libc): Don't include
48043         $(link-static-libc).
48045         * libio/libio.h (_IO_pos_t): Remove.
48047 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
48049         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
48050         McGrath.
48052 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
48054         * crypt/crypt-entry.c: Include fips-private.h.
48055         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
48056         * crypt/md5c-test.c (main): Tolerate disabled MD5.
48057         * sysdeps/unix/sysv/linux/fips-private.h: New file.
48058         * sysdeps/generic/fips-private.h: New file, dummy fallback.
48060 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
48062         * crypt/crypt-private.h: Include stdbool.h.
48063         (_ufc_setup_salt_r): Return bool.
48064         * crypt/crypt-entry.c: Include errno.h.
48065         (__crypt_r): Return NULL with EINVAL for bad salt.
48066         * crypt/crypt_util.c (bad_for_salt): New.
48067         (_ufc_setup_salt_r): Check that salt is long enough and within
48068         the specified alphabet.
48069         * crypt/badsalttest.c: New file.
48070         * crypt/Makefile (tests): Add it.
48071         ($(objpfx)badsalttest): New.
48073 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
48075         * NEWS: Add entry for BZ #14602.
48077 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
48079         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
48080         type-generic.
48081         * math/libm-test.inc: Update comment listing what functions and
48082         macros are tested.
48083         (isgreater_test): New function.
48084         (isgreaterequal_test): Likewise.
48085         (isless_test): Likewise.
48086         (islessequal_test): Likewise.
48087         (islessgreater_test): Likewise.
48088         (isunordered_test): Likewise.
48089         (main): Call the new functions.
48091 2012-10-09  Roland McGrath  <roland@hack.frob.com>
48093         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
48094         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
48095         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
48096         * sysdeps/i386/configure: Regenerated.
48097         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
48098         * sysdeps/mach/configure: Regenerated.
48099         * sysdeps/mach/hurd/configure: Regenerated.
48100         * sysdeps/powerpc/configure: Regenerated.
48101         * sysdeps/powerpc/powerpc32/configure: Regenerated.
48102         * sysdeps/powerpc/powerpc64/configure: Regenerated.
48103         * sysdeps/s390/s390-32/configure: Regenerated.
48104         * sysdeps/s390/s390-64/configure: Regenerated.
48105         * sysdeps/sh/configure: Regenerated.
48106         * sysdeps/sparc/configure: Regenerated.
48107         * sysdeps/unix/sysv/linux/configure: Regenerated.
48108         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
48109         * sysdeps/x86_64/configure: Regenerated.
48111         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
48112         defined.  Don't check if MAP is NULL.
48114 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
48116         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
48117         (_G_stat64): Likewise.
48118         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
48119         (_G_stat64): Likewise.
48120         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
48121         instead of struct _G_stat64.
48122         * libio/fileops.c (mmap_remap_check): Likewise.
48123         (decide_maybe_mmap): Likewise.
48124         (_IO_new_file_seekoff): Likewise.
48125         (_IO_file_stat): Likewise.
48126         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
48127         _G_off64_t.
48128         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
48129         instead of struct _G_stat64.
48130         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
48132 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
48134         [BZ #14602]
48135         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48136         Replace with ...
48137         (CHECK_EOL): New macro.
48138         (two_way_short_needle): Check beginning of haystack for EOL.  Use
48139         CHECK_EOL.
48140         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48141         Replace with CHECK_EOL.
48142         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48143         Replace with CHECK_EOL.
48145 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
48147         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
48148         type-generic.
48149         * math/libm-test.inc: Update comment listing what functions and
48150         macros are tested.
48151         (finite_test): New function.
48152         (isinf_test): Likewise.
48153         (isnan_test): Likewise.
48154         (fpclassify_test): Test subnormal input.
48155         (isfinite_test): Likewise.
48156         (isnormal_test): Likewise.
48157         (main): Call the new functions.
48159 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
48161         [BZ #14660]
48162         * Makerules (%.dynsym): Force C locale when running
48163         $(OBJDUMP) --dynamic-syms.
48165 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
48167         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
48168         <stdint.h>.
48170 2012-10-06  David S. Miller  <davem@davemloft.net>
48172         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
48173         upper 32-bits of the length value in %o2 since we use branch-on-register
48174         tests which consider the entire 64-bit register.
48176 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
48178         * string/test-strstr.c (check2): Add a test for page boundary.
48180 2012-10-05  David S. Miller  <davem@davemloft.net>
48182         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
48183         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
48184         file.
48185         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
48186         sysdep_routines.
48187         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
48188         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
48189         and bzero when HWCAP_SPARC_CRYPTO is present.
48191 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
48193         [BZ #14602]
48194         * string/test-strstr.c (check2): New function.
48195         (test_main): Call check2.
48197         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
48198         and bug-strchr1.
48199         * string/bug-strcasestr1.c (do_test): Moved to ...
48200         * string/test-strcasestr.c (check1): Here.  New function.
48201         (do_one_test): Break out result checking code into ...
48202         (check_result): This.  New function.
48203         (do_one_test): Call check_result.
48204         (test_main): Call check1.
48205         * string/bug-strchr1.c (do_test): Moved to ...
48206         * string/test-strchr.c (check1): Here.  New function.
48207         (do_one_test): Break out result checking code into ...
48208         (check_result): This.  New function.
48209         (do_one_test): Call check_result.
48210         (test_main): Call check1.
48211         * string/bug-strstr1.c (main): Moved to ...
48212         * string/test-strstr.c (check1): Here.  New function.
48213         (do_one_test): Break out result checking code into ...
48214         (check_result): This.  New function.
48215         (do_one_test): Call check_result.
48216         (test_main): Call check1.
48217         * string/bug-strcasestr1.c: Removed.
48218         * string/bug-strchr1.c: Likewise.
48219         * string/bug-strstr1.c: Likewise.
48221         * elf/Makefile (dl-routines): Add hwcaps.
48222         * elf/dl-support.c (_dl_important_hwcaps): Removed.
48223         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
48224         (_dl_important_hwcaps): Moved to ...
48225         * elf/dl-hwcaps.c: Here.  New file.
48226         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
48228         [BZ #14557]
48229         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
48230         if IS_IN_rtld isn't defined.
48232         * elf/dl-support.c (_dl_sysinfo_map): New.
48233         Include "get-dynamic-info.h" and "setup-vdso.h".
48234         (_dl_non_dynamic_init): Call setup_vdso.
48235         * elf/dynamic-link.h: Don't include <assert.h>.
48236         (elf_get_dynamic_info): Moved to ...
48237         * elf/get-dynamic-info.h: Here.  New file.
48238         * elf/dynamic-link.h: Include "get-dynamic-info.h".
48239         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
48240         * elf/setup-vdso.h: Here.  New file.
48241         * elf/rtld.c: Include "setup-vdso.h".
48242         (dl_main): Call setup_vdso.
48244 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
48246         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
48247         creal in comment listing functions tested.  List finite, isinf,
48248         isnan, isless, islessequal, isgreater, isgreaterequal,
48249         islessgreater, isunordered, lgamma_r and pow10 as functions and
48250         macros not tested.  Mention which functions not tested are aliases
48251         for other functions.  Fix typo.  Note that signs of NaNs are not
48252         tested.
48254         * scripts/config.guess: Update from config.git.
48255         * scripts/config.sub: Likewise.
48257 2012-10-04  Roland McGrath  <roland@hack.frob.com>
48259         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
48260         * misc/madvise.c (madvise): Renamed to __madvise.
48261         Make madvise a weak alias.
48262         * include/sys/mman.h: Declare __madvise.
48263         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
48264         * sysdeps/unix/syscalls.list
48265         (madvise): Make __madvise the strong name, and madvise a weak alias.
48266         * sysdeps/unix/sysv/linux/syscalls.list
48267         (madvise, mmap): Remove redundant entries.
48268         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
48269         * malloc/malloc.c (mtrim): Likewise.
48270         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
48272 2012-10-03  Roland McGrath  <roland@hack.frob.com>
48274         * sysdeps/mach/hurd/dl-cache.c: File removed.
48275         * config.h.in (USE_LDCONFIG): New #undef.
48276         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
48277         * configure: Regenerated.
48278         * elf/Makefile (dl-routines): Add dl-cache only under
48279         [$(use-ldconfig) = yes].
48280         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
48281         cache on [USE_LDCONFIG].
48282         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
48283         [USE_LDCONFIG].
48284         * elf/rtld.c (dl_main): Likewise.
48286 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
48288         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
48289         _SC_LEVEL4_CACHE_LINESIZE.
48291 2012-10-03  Roland McGrath  <roland@hack.frob.com>
48293         * sysdeps/unix/bsd/confstr.h: File removed.
48295 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
48297         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
48298         sys/sdt-config.h.
48300 2012-10-02  Roland McGrath  <roland@hack.frob.com>
48302         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
48303         Make 'mapoff' field ElfW(Off) rather than off_t.
48305 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
48307         * nscd/Makefile: Remove nscd-cflags and all its users.
48308         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
48309         (CFLAGS-nonlib): Add compiler flags for nscd modules.
48311         [BZ #10631]
48312         * malloc.c (malloc_printerr): Clarify error message.
48314 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
48316         [BZ #14648]
48317         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48318         Set bit_FMA_Usable if FMA is supported.
48319         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
48320         macro.
48321         (bit_FMA4_Usable): Updated.
48322         (index_FMA_Usable): New macro.
48323         (CPUID_FMA): Likewise
48324         (HAS_FMA): Defined with bit_FMA_Usable.
48326 2012-10-01  Roland McGrath  <roland@hack.frob.com>
48328         * bits/types.h (__swblk_t): Type removed.
48329         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
48330         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
48331         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48332         (__SWBLK_T_TYPE): Likewise.
48333         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48334         (__SWBLK_T_TYPE): Likewise.
48335         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48336         (__SWBLK_T_TYPE): Likewise.
48337         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48338         (__SWBLK_T_TYPE): Likewise.
48340 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
48341             Honza Horak <hhorak@redhat.com>
48343         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
48344         (xdr_mapname): Use YPMAXMAP as maxsize.
48345         (xdr_peername): Use YPMAXPEER as maxsize.
48346         (xdr_keydat): Use YPAXRECORD as maxsize.
48347         (xdr_valdat): Use YPMAXRECORD as maxsize.
48349 2012-10-01  Roland McGrath  <roland@hack.frob.com>
48351         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
48353         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
48354         * csu/init-first.c: ... here.
48355         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
48356         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
48357         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
48358         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
48359         * sysdeps/i386/init-first.c: File removed.
48360         * sysdeps/sh/init-first.c: File removed.
48362 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
48364         [BZ #14645]
48365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
48366         if x * y might underflow to zero and z is zero.
48367         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48368         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48369         * math/libm-test.inc (min_subnorm_value): New variable.
48370         (fma_test): Add more tests.
48371         (fma_test_towardzero): Likewise.
48372         (fma_test_downward): Likewise
48373         (fma_test_upward): Likewise.
48374         (initialize): Set min_subnorm_value.
48376 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
48378         [BZ #14638]
48379         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
48380         0 + 0.
48381         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
48382         mode for addition resulting in exact zero.
48383         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
48384         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
48385         exact 0 + 0.
48386         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
48387         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48388         * math/libm-test.inc (fma_test): Add more tests.
48389         (fma_test_towardzero): New function.
48390         (fma_test_downward): Likewise.
48391         (fma_test_upward): Likewise.
48392         (main): Call the new functions.
48394 2012-09-28  David S. Miller  <davem@davemloft.net>
48396         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
48398 2012-09-28  Roland McGrath  <roland@hack.frob.com>
48400         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
48401         instead of SIGALRM.
48403         * sysdeps/gnu/_G_config.h: Moved to ...
48404         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
48405         * sysdeps/mach/hurd/_G_config.h: Moved to ...
48406         * sysdeps/generic/_G_config.h: ... here.
48408         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
48410         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
48412         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
48413         Conditionalize target on [libnss_test1.so-version].
48415         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
48417         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
48418         (elfobjdir): Move out of conditionals.
48420         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
48421         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
48422         (__nss_lookup_function): Conditionalize label remove_from_tree on
48423         [!DO_STATIC_NSS || SHARED], matching its only use.
48425 2012-09-28  David S. Miller  <davem@davemloft.net>
48427         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
48428         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
48429         file.
48430         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
48431         sysdep_routines.
48432         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
48433         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
48434         when HWCAP_SPARC_CRYPTO is present.
48436 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
48438         * io/tst-mknodat.c: Create a FIFO instead of a socket.
48440 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
48442         [BZ #6530]
48443         * stdio-common/vfprintf.c (process_string_arg): Revert
48444         2000-07-22 change.
48446 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
48448         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
48449         for testcase.
48450         * stdio-common/tst-sprintf.c: Include <locale.h>
48451         (main): Test sprintf's handling of incomplete multibyte
48452         characters.
48454 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
48456         * elf/dl-runtime.c (VERSYMIDX): Removed.
48457         * elf/dl-version.c (VERSYMIDX): Likewise.
48458         * elf/do-rel.h (VERSYMIDX): Likewise.
48459         (VALIDX): Likewise.
48460         * elf/dynamic-link.h (VERSYMIDX): Likewise.
48461         * elf/rtld.c (VALIDX): Likewise.
48462         (ADDRIDX): Likewise.
48463         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
48464         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
48465         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
48466         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
48467         (VALIDX): Likewise.
48468         (ADDRIDX): Likewise.
48470 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
48472         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
48474 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
48476         [BZ #11438]
48477         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
48478         to global scope.
48479         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
48480         addresses are in the same scope as 192.0.2/24.
48481         * posix/gai.conf: Document new scope table defaults.
48483 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48485         [BZ #5298]
48486         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
48487         for ftell.  Compute offsets from write pointers instead.
48488         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
48490 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48492         [BZ #14543]
48493         * libio/Makefile (tests): New test case tst-fseek.
48494         * libio/tst-fseek.c: New test case to verify that fseek/ftell
48495         combination works in wide mode.
48496         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
48497         state when the external buffer state changes.
48499 2012-09-27  David S. Miller  <davem@davemloft.net>
48501         [BZ #14376]
48502         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
48503         pass reloc->r_addend in as the 'high' argument to
48504         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
48506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48508 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
48510         * rt/tst-aio2.c: Include <pthread.h>.
48511         * rt/tst-aio3.c: Likewise.
48513 2012-09-27  Steve Ellcey  <sellcey@mips.com>
48515         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
48517 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
48519         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
48520         contents on [SHARED].
48522 2012-09-26  Marek Polacek  <polacek@redhat.com>
48524         [BZ #14530]
48525         [BZ #13741]
48526         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
48527         for C++ and GCC <4.3 as well as for non GCC compilers.
48529 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
48531         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48533 2012-09-25  Roland McGrath  <roland@hack.frob.com>
48535         * Makefile.in (all, install): Declare with .PHONY.
48536         Reported by Michael Hope <michael.hope@linaro.org>.
48538 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48540         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
48541         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
48542         system header.
48543         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
48544         Likewise.
48545         (sydep_routines): Add the new and the internal functions.
48546         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
48547         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
48548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
48549         (GLIBC_2.17): Add the new function.
48550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48551         (GLIBC_2.17): Likewise.
48552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
48553         (GLIBC_2.17): Likewise.
48554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
48555         (GLIBC_2.17): Likewise.
48556         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
48558 2012-09-25  Alan Modra  <amodra@gmail.com>
48560         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
48561         Add release barrier before setting once_control to say
48562         initialisation is done.  Add hints on lwarx.  Use macro in
48563         place of isync.
48564         (clear_once_control): Add release barrier.
48566 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
48568         [BZ #13629]
48569         * math/s_clog.c (__clog): Handle more values close to |z| = 1
48570         specially.
48571         * math/s_clog10.c (__clog10): Likewise.
48572         * math/s_clog10f.c (__clog10f): Likewise.
48573         * math/s_clog10l.c (__clog10l): Likewise.
48574         * math/s_clogf.c (__clogf): Likewise.
48575         * math/s_clogl.c (__clogl): Likewise.
48576         * math/Makefile (libm-calls): Add x2y2m1.
48577         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
48578         (__x2y2m1): Likewise.
48579         (__x2y2m1l): Likewise.
48580         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
48581         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
48582         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
48583         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
48584         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
48585         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
48586         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
48587         * sysdeps/i386/fpu/libm-test-ulps: Update.
48588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48590         [BZ #14621]
48591         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
48592         int as type of variable DEPTH.
48593         (glob): Use size_t instead of int as type of variables NEWCOUNT
48594         and OLD_PATHC.
48596 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48598         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
48599         Add s_sincosf-sse2.
48600         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
48601         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
48602         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
48603         macros for using routine as __sincosf_ia32.
48604         Use macro for function declaration and weak_alias.
48605         * sysdeps/i386/fpu/libm-test-ulps: Update.
48607         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
48608         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48610         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
48611         subnormal argument.
48612         * math/s_cexpf.c (__cexpf): Likewise.
48613         * math/s_csinf.c (__csinf): Likewise.
48614         * math/s_csinhf.c (__csinhf): Likewise.
48615         * math/s_ctanf.c (__ctanf): Likewise.
48616         * math/s_ctanhf.c (__ctanhf): Likewise.
48617         * math/s_ccosh.c (__ccoshf): Likewise.
48618         * math/s_cexp.c (__cexpl): Likewise.
48619         * math/s_csin.c (__csin): Likewise.
48620         * math/s_csinh.c (__csinh): Likewise.
48621         * math/s_ctan.c (__ctan): Likewise.
48622         * math/s_ctanh.c (ctanh): Likewise.
48623         * math/s_ccoshl.c (__ccoshl): Likewise.
48624         * math/s_cexpl.c (__cexpl): Likewise.
48625         * math/s_csinl.c (__csinl): Likewise.
48626         * math/s_csinhl.c (__csinhl): Likewise.
48627         * math/s_ctanl.c (__ctanl): Likewise.
48628         * math/s_ctanhl.c (__ctanhl): Likewise.
48630 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
48632         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
48633         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
48634         (_IO_off_t): Define to __off_t, not _G_off_t.
48635         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
48636         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
48637         (_IO_wint_t): Define to wint_t, not _G_wint_t.
48638         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
48639         type of __dummy and __dummy2 fields.
48640         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
48641         (_G_ssize_t): Likewise.
48642         (_G_off_t): Likewise.
48643         (_G_pid_t): Likewise.
48644         (_G_uid_t): Likewise.
48645         (_G_wchar_t): Likewise.
48646         (_G_wint_t): Likewise.
48647         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
48648         (_G_ssize_t): Likewise.
48649         (_G_off_t): Likewise.
48650         (_G_pid_t): Likewise.
48651         (_G_uid_t): Likewise.
48652         (_G_wchar_t): Likewise.
48653         (_G_wint_t): Likewise.
48654         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
48655         (_G_ssize_t): Likewise.
48656         (_G_off_t): Likewise.
48657         (_G_pid_t): Likewise.
48658         (_G_uid_t): Likewise.
48659         (_G_wchar_t): Likewise.
48660         (_G_wint_t): Likewise.
48662 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48664         * malloc/arena.c: Include malloc-sysdep.h.
48665         (shrink_heap): Use check_may_shrink_heap to decide if madvise
48666         is sufficient to shrink the heap or an unmap is needed.
48667         * sysdeps/generic/malloc-sysdep.h: New file.  Define
48668         new function check_may_shrink_heap.
48669         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
48670         new function check_may_shrink_heap.
48672 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48674         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
48675         comments.
48677 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
48679         * catgets/test-gencat.sh: Add "set -e".
48680         * elf/tst-pathopt.sh: Likewise.
48681         * grp/tst_fgetgrent.sh: Likewise.
48682         * iconvdata/run-iconv-test.sh: Likewise.
48683         * intl/tst-gettext.sh: Likewise.
48684         * intl/tst-gettext2.sh: Likewise.
48685         * intl/tst-gettext4.sh: Likewise.
48686         * intl/tst-gettext6.sh: Likewise.
48687         * intl/tst-translit.sh: Likewise.
48688         * io/ftwtest-sh: Likewise.
48689         * libio/test-freopen.sh: Likewise.
48690         * malloc/tst-mtrace.sh: Likewise.
48691         * posix/globtest.sh: Likewise.
48692         * posix/tst-getconf.sh: Likewise.
48693         * posix/wordexp-tst.sh: Likewise.
48694         * stdio-common/tst-printf.sh: Likewise.
48695         * stdio-common/tst-unbputc.sh: Likewise.
48696         * stdlib/tst-fmtmsg.sh: Likewise.
48697         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
48698         * catgets/Makefile: Do not specify -e option when running
48699         testsuite shell scripts.
48700         * elf/Makefile: Likewise.
48701         * grp/Makefile: Likewise.
48702         * iconvdata/Makefile: Likewise.
48703         * intl/Makefile: Likewise.
48704         * io/Makefile: Likewise.
48705         * libio/Makefile: Likewise.
48706         * malloc/Makefile: Likewise.
48707         * posix/Makefile: Likewise.
48708         * stdio-common/Makefile: Likewise.
48709         * stdlib/Makefile: Likewise.
48710         * sysdeps/x86_64/Makefile: Likewise.
48712         * io/ftwtest-sh: Add copyright header.
48713         * posix/globtest.sh: Likewise.
48714         * posix/tst-getconf.sh: Likewise.
48715         * posix/wordexp-tst.sh: Likewise.
48716         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
48718 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
48720         [BZ #13679]
48721         * Makeconfig (+link): Defined as $(+link-static) if
48722         $(build-shared) isn't yes.
48723         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
48724         isn't yes.
48725         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
48727         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
48729         [BZ #14562]
48730         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
48731         new chunk size with MALLOC_ALIGN_MASK.
48733 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
48735         [BZ #5044]
48736         * stdio-common/printf_fphex.c: Include <stdbool.h> and
48737         <rounding-mode.h>.
48738         (__printf_fphex): Determine rounding using get_rounding_mode and
48739         round_away.
48740         * stdio-common/tst-printf-round.c (struct hex_test): New
48741         structure.
48742         (hex_tests): New variable.
48743         (test_hex_in_one_mode): New function.
48744         (do_test): Also run tests for hex float output.
48746 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
48748         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
48749         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
48750         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
48751         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
48752         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
48753         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
48754         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
48755         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
48757 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
48759         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
48760         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
48761         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
48762         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
48764 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
48766         [BZ #14579]
48767         * elf/rtld.c (dl_main): Limit the check for self loading to normal
48768         mode only.
48769         * elf/tst-rtld-load-self.sh: New test.
48770         * elf/Makefile: Run it.
48772 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
48774         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
48775         (tst-writev-ENV): Remove.
48776         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
48778 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
48780         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
48782 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
48784         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
48785         unconditional.
48786         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
48787         Likewise.
48788         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
48789         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
48790         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
48791         Likewise.
48793 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
48795         [BZ #14587]
48796         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
48797         * config.make.in (have-cpp-asm-debuginfo): Removed.
48798         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
48799         * configure: Regenerated.
48801 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
48803         [BZ #5044]
48804         * stdio-common/printf_fp.c: Include <stdbool.h> and
48805         <rounding-mode.h>.
48806         (___printf_fp): Determine rounding using get_rounding_mode and
48807         round_away.
48808         * stdio-common/tst-printf-round.c: New file.
48809         * stdio-common/Makefile (tests): Add tst-printf-round.
48810         (link-libm): New variable.
48811         ($(objpfx)tst-printf-round): Depend in $(link-libm).
48813 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
48815         [BZ #14576]
48816         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
48817         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
48818         Likewise.
48819         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
48820         Likewise.
48822 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
48824         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
48825         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
48826         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
48827         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
48829 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
48831         [BZ #14518]
48832         * include/rounding-mode.h: New file.
48833         * sysdeps/generic/get-rounding-mode.h: Likewise.
48834         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
48835         * stdlib/strtod_l.c: Include <rounding-mode.h>.
48836         (MAX_VALUE): New macro.
48837         (MIN_VALUE): Likewise.
48838         (overflow_value): New function.
48839         (underflow_value): Likewise.
48840         (round_and_return): Use overflow_value and underflow_value to
48841         determine return values in overflow and underflow cases.  Use
48842         round_away to determine rounding depending on rounding mode.
48843         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
48844         determine return values in overflow and underflow cases.
48845         * stdlib/tst-strtod-round.c: Include <fenv.h>.
48846         (struct test_results): New structure.
48847         (struct test): Use struct test_results to store expected results
48848         for all rounding modes.
48849         (TEST): Include expected results for all rounding modes.
48850         (test_in_one_mode): New function.
48851         (do_test): Use test_in_one_mode to compute and check results.
48852         Check results for all rounding modes.
48853         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
48854         $(link-libm).
48856 2012-12-09  Allan McRae  <allan@archlinux.org>
48858         * sysdeps/i386/fpu/libm-test-ulps: Update
48860 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
48862         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
48863         (_G_int32_t): Likewise.
48864         (_G_uint16_t): Likewise.
48865         (_G_uint32_t): Likewise.
48866         (_G_HAVE_BOOL): Likewise.
48867         (_G_HAVE_ATEXIT): Likewise.
48868         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
48869         (_G_HAVE_IO_FILE_OPEN): Likewise.
48870         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
48871         (_G_int32_t): Likewise.
48872         (_G_uint16_t): Likewise.
48873         (_G_uint32_t): Likewise.
48874         (_G_HAVE_BOOL): Likewise.
48875         (_G_HAVE_ATEXIT): Likewise.
48876         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
48877         (_G_HAVE_IO_FILE_OPEN): Likewise.
48878         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
48879         (_G_int32_t): Likewise.
48880         (_G_uint16_t): Likewise.
48881         (_G_uint32_t): Likewise.
48882         (_G_HAVE_BOOL): Likewise.
48883         (_G_HAVE_ATEXIT): Likewise.
48884         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
48885         (_G_HAVE_IO_FILE_OPEN): Likewise.
48887 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
48889         * csu/libc-tls.c: Update copyright years.
48891 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
48893         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
48894         [!_G_USING_THUNKS]: Remove conditional code.
48895         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
48896         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
48898         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
48899         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
48900         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
48901         (_G_VTABLE_LABEL_PREFIX): Likewise.
48902         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
48903         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
48904         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
48905         (_G_VTABLE_LABEL_PREFIX): Likewise.
48906         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
48907         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
48908         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
48909         (_G_VTABLE_LABEL_PREFIX): Likewise.
48910         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
48912 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
48914         * libio/Makefile: Include ../Makeconfig before tests.
48915         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
48916         only if $(build-shared) is yes.
48918         * iconv/gconv_db.c: Update copyright years.
48920 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48922         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
48923         unwind info if defined PIC. Fix special cases description.
48924         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
48926         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
48927         DP_HI_MASK entry.
48928         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
48930 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
48932         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
48934         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
48935         is NULL.
48937         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
48938         (LDLIBS-tst-chk4): This.
48939         (LDFLAGS-tst-chk5): Renamed to ...
48940         (LDLIBS-tst-chk5): This.
48941         (LDFLAGS-tst-chk6): Renamed to ...
48942         (LDLIBS-tst-chk6): This.
48943         (LDFLAGS-tst-lfschk4): Renamed to ...
48944         (LDLIBS-tst-lfschk4): This.
48945         (LDFLAGS-tst-lfschk5): Renamed to ...
48946         (LDLIBS-tst-lfschk5): This.
48947         (LDFLAGS-tst-lfschk6): Renamed to ...
48948         (LDLIBS-tst-lfschk6): This.
48950         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
48951         on $(common-objpfx)soversions.mk.
48953 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
48955         [BZ #10014]
48956         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
48957         example host name.
48959 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48961         * malloc/arena.c (arena_get_retry): New function that gets
48962         another arena for the caller to try its request on.
48963         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
48964         current arena cannot fulfill the request.
48965         (__libc_memalign): Likewise.
48966         (__libc_memalign): Likewise.
48967         (__libc_pvalloc): Likewise.
48968         (__libc_calloc): Likewise.
48970 2012-09-05  John Tobey  <john.tobey@gmail.com>
48972         [BZ #13542]
48973         * manual/arith.texi (Operations on Complex): Fix description
48974         of carg branch cut.
48976 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
48978         [BZ #10014]
48979         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
48980         host name.
48982         [BZ #10038]
48983         * manual/memory.texi (Memory): Make order of menu items match
48984         order of sections.
48986 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
48988         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
48989         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
48990         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
48992 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
48994         * csu/libc-tls.c (static_dtv): Renamed to ...
48995         (_dl_static_dtv): This.  Make it global.
48996         (_dl_initial_dtv): Removed.
48997         (__libc_setup_tls): Updated.
48998         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
48999         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
49000         DL_INITIAL_DTV.
49002 2012-09-06  Petr Machata  <pmachata@redhat.com>
49004         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
49005         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
49006         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
49007         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
49009 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49011         [BZ #14545]
49012         * csu/libc-tls.c (_dl_initial_dtv): New variable.
49013         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
49014         freeing dtv[-1].
49016 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49018         [BZ #14544]
49019         * Makeconfig (link-static-before-libc): Replace $(+prector)
49020         with $(+prectorT).
49021         (link-static-after-libc): Replace $(+postctor) with
49022         $(+postctorT).
49023         (link-bounded): Replace $(+prector)/$(+postctor) with
49024         $(+prectorT)/$(+postctorT).
49025         (+prectorT): New macro.
49026         (+postctorT): Likewise.
49028 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
49030         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
49031         (round_str): Handle values above the maximum for IBM long double
49032         as inexact.
49033         * stdlib/tst-strtod-round.c (tests): Regenerated.
49035 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49037         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
49038         assembler flag.
49039         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
49040         zarch_nohighgprs around the zarch optimized routines.
49041         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
49042         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
49043         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
49044         for zarch.
49046 2012-09-05  David S. Miller  <davem@davemloft.net>
49048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49050         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
49051         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
49052         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
49053         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49054         entries.
49056 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49058         * malloc/arena.c: Fold copyright years.
49059         * malloc/mcheck.c, malloc/memusage.c: Likewise.
49061 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49063         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
49065 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49067         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
49069 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49071         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
49072         change internal state upon failure.
49074 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49076         * malloc/mcheck.c (mcheck_check_all): Fix typo.
49077         * malloc/memusage.c (mmap): Likewise.
49078         (mmap64, mremap): Likewise.  Adjust name in comment.
49080 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49082         * libio/fileops.c: Fix typos in comments.
49083         * libio/oldfileops.c: Likewise.
49084         * libio/wfileops.c: Likewise.
49086 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49088         [BZ #1349]
49089         * malloc/Makefile (tests): Add tst-malloc-usable test case.
49090         (tst-malloc-usable-ENV): Set environment for test case.
49091         * malloc/hooks.c (malloc_check_get_size): New function to get
49092         requested size.
49093         * malloc/malloc.c (musable): Use malloc_check_get_size.
49094         * malloc/tst-malloc-usable.c: New test case.
49096 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49098         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
49100 2012-09-05  Allan McRae  <allan@archlinux.org>
49102         [BZ #13966]
49103         * configure.in (CXX_SYSINCLUDES): Use compiler output to
49104         determine header location.
49105         * configure: Regenerated.
49107 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49109         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
49110         float format.
49111         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
49112         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
49113         format.
49114         (test): Regenerate.
49116 2012-09-04  David S. Miller  <davem@davemloft.net>
49118         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
49119         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
49120         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
49122 2012-09-04  Florian Weimer  <fweimer@redhat.com>
49124         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
49125         failures.
49127         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
49129 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
49131         [BZ #9914]
49132         * libio/iogetdelim.c: Include <limits.h>.
49133         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
49134         + len + 1 would overflow.
49136 2012-09-03  Andreas Jaeger  <aj@suse.de>
49138         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49139         * sysdeps/i386/fpu/libm-test-ulps: Update.
49141 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49143         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
49144         Add s_sinf-sse2, s_conf-sse2.
49146         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
49147         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
49148         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
49149         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
49151         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
49152         for using routine as __sinf_ia32.
49153         Use macro for function declaration and weak_alias.
49154         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
49155         for using routine as __cosf_ia32.
49156         Use macro for function declaration and weak_alias.
49158         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
49159         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
49161         * sysdeps/x86_64/fpu/s_sinf.S: New file.
49162         * sysdeps/x86_64/fpu/s_cosf.S: New file.
49163         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49165         * math/libm-test.inc (cos_test): Add more test cases.
49166         (sin_test): Likewise.
49167         (sincos_test): Likewise.
49169 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49171         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
49172         (IFUNC_RESOLVE): Make pointers to the specialized implementations
49173         hidden.
49174         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49176 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
49178         [BZ #14538]
49179         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
49180         first element of the GOT.
49181         (elf_machine_load_address): Return the difference between
49182         the runtime address of _DYNAMIC and elf_machine_dynamic ().
49184 2012-09-01  Allan McRae  <allan@archlinux.org>
49186         [BZ #13412]
49187         * configure.in (AWK): Require gawk version 3.0 or later.
49188         * configure: Regenerated.
49190 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
49192         * sysdeps/unix/sysv/linux/kernel-features.h
49193         (__ASSUME_POSIX_CPU_TIMERS): Remove.
49194         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49195         [__NR_clock_getres]: Make code unconditional.
49196         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
49197         (clock_getcpuclockid): Remove code left unreachable by removal of
49198         conditionals.
49199         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
49200         code unconditional.
49201         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
49202         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
49203         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
49204         Make code unconditional.
49205         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
49206         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
49207         * sysdeps/unix/sysv/linux/clock_settime.c
49208         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
49209         conditional code.
49210         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
49211         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
49213 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
49215         [BZ #14476]
49216         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
49217         scripts/test-installation.pl.
49219         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
49220         and $ld_so_version if it is set.
49222 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49224         [BZ #14516]
49225         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
49226         failure if reading from procfs failed.
49227         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
49229 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
49231         * sysdeps/unix/sysv/linux/kernel-features.h
49232         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
49233         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
49234         Remove conditional code.
49235         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49236         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
49237         Remove conditional code.
49238         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49239         * sysdeps/unix/sysv/linux/i386/fxstat.c
49240         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
49241         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49242         * sysdeps/unix/sysv/linux/i386/fxstatat.c
49243         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
49244         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49245         * sysdeps/unix/sysv/linux/i386/lxstat.c
49246         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
49247         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49248         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
49249         Remove conditional code.
49250         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49251         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
49252         Remove conditional code.
49253         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49254         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
49255         <kernel-features.h>.
49256         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
49257         Remove.
49258         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
49259         Remove conditional code.
49260         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49261         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
49262         Remove conditional.
49264 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
49266         [BZ #5400]
49267         * NEWS: Add fixed bug number.
49269 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
49271         [BZ #14519]
49272         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
49273         underflowing exponent in case of negative sign.
49274         * stdlib/tst-strtod-round-data: Add more tests.
49275         * stdlib/tst-strtod-round.c (tests): Regenerated.
49277         [BZ #3479]
49278         * stdlib/strtod_l.c (NDIG): Remove.
49279         (HEXNDIG): Likewise.
49280         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
49281         smallest representable value.
49282         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
49283         lie within an exact representation of 1/2 ulp of the result.
49284         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
49285         unconditionally.
49286         (TENS_P9_IDX): Define unconditionally.
49287         (TENS_P9_SIZE): Likewise.
49288         (TENS_P10_IDX): Likewise.
49289         (TENS_P10_SIZE): Likewise.
49290         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
49291         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
49292         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
49293         entries for 10^2^13 and 10^2^14.
49294         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
49295         (TENS_P13_IDX): Define.
49296         (TENS_P13_SIZE): Likewise.
49297         (TENS_P14_IDX): Likewise.
49298         (TENS_P14_SIZE): Likewise.
49299         (_fpioconst_pow10): Change array size to
49300         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
49301         unconditional.
49302         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
49303         1024]: Add entries for 10^2^13 and 10^2^14.
49304         [LAST_POW10 > _LAST_POW10]: Remove #error.
49305         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
49306         (_fpioconst_pow10): Change array size to
49307         FPIOCONST_POW10_ARRAY_SIZE.
49308         * stdlib/gen-fpioconst.c: New file.
49309         * stdlib/gen-tst-strtod-round.c: Likewise.
49310         * stdlib/tst-strtod-round-data: Likewise.
49311         * stdlib/tst-strtod-round.c: Likewise.
49312         * stdlib/Makefile (tests): Add tst-strtod-round.
49314         [BZ #14459]
49315         * stdlib/strtod_l.c: Include <stdint.h>.
49316         (NDEBUG): Do not define.
49317         (round_and_return): Change EXPONENT parameter to type intmax_t.
49318         Rearrange calculations to avoid internal overflow possibilities.
49319         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
49320         Rearrange calculations to avoid internal overflow possibilities.
49321         Assert that number fits inside MPNSIZE limbs.
49322         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
49323         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
49324         calculations and add assertions to avoid internal overflow
49325         possibilities.  Add casts to avoid signed/unsigned operations.
49326         * stdlib/tst-strtod-overflow.c: New file.
49327         * stdlib/Makefile (tests): Add tst-strtod-overflow.
49329 2012-08-25  Marek Polacek  <polacek@redhat.com>
49331         * time/time.h: Fix some typos in comments.
49333 2012-08-23  Roland McGrath  <roland@hack.frob.com>
49335         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
49336         * posix/tst-rfc3484-2.c: Likewise.
49337         * posix/tst-rfc3484-3.c: Likewise.
49339 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
49341         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
49342         (EF_ARM_ABI_FLOAT_HARD): Likewise.
49344 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
49346         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
49347         #include of fxstatat64.c.
49349 2012-08-22  Roland McGrath  <roland@hack.frob.com>
49351         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
49352         * shadow/getspent_r.c: Likewise.
49353         * shadow/getspnam.c: Likewise.
49354         * shadow/getspnam_r.c: Likewise.
49355         * gshadow/getsgent.c: Likewise.
49356         * gshadow/getsgent_r.c: Likewise.
49357         * gshadow/getsgnam.c: Likewise.
49358         * gshadow/getsgnam_r.c: Likewise.
49359         * inet/getnetbyad.c: Likewise.
49360         * inet/getnetbyad_r.c: Likewise.
49361         * inet/getnetbynm.c: Likewise.
49362         * inet/getnetbynm_r.c: Likewise.
49363         * inet/getnetent.c: Likewise.
49364         * inet/getnetent_r.c: Likewise.
49365         * inet/getproto.c: Likewise.
49366         * inet/getproto_r.c: Likewise.
49367         * inet/getprtent.c: Likewise.
49368         * inet/getprtent_r.c: Likewise.
49369         * inet/getprtname.c: Likewise.
49370         * inet/getprtname_r.c: Likewise.
49371         * inet/getrpcbyname.c: Likewise.
49372         * inet/getrpcbyname_r.c: Likewise.
49373         * inet/getrpcbynumber.c: Likewise.
49374         * inet/getrpcbynumber_r.c: Likewise.
49375         * inet/getrpcent.c: Likewise.
49376         * inet/getrpcent_r.c: Likewise.
49377         * inet/getaliasent.c: Likewise.
49378         * inet/getaliasent_r.c: Likewise.
49379         * inet/getaliasname.c: Likewise.
49380         * inet/getaliasname_r.c: Likewise.
49381         * nscd/getgrgid_r.c: Likewise.
49382         * nscd/getgrnam_r.c: Likewise.
49383         * nscd/gethstbyad_r.c: Likewise.
49384         * nscd/gethstbynm3_r.c: Likewise.
49385         * nscd/getpwnam_r.c: Likewise.
49386         * nscd/getpwuid_r.c: Likewise.
49387         * nscd/getsrvbynm_r.c: Likewise.
49388         * nscd/getsrvbypt_r.c: Likewise.
49389         * nscd/gai.c: Likewise.
49391         * configure.in (build_nscd): New substituted variable, set
49392         by --disable-build-nscd and defaults to $use_nscd.
49393         * configure: Regenerated.
49394         * config.make.in (build-nscd): New substituted variable.
49395         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
49396         Change conditional to require [$(build-nscd) = yes] as well.
49397         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
49399         [BZ# 13696]
49400         * configure.in (use_nscd): New substituted variable, set by
49401         --disable-nscd.  If enabled, define USE_NSCD.
49402         * configure: Regenerated.
49403         * config.h.in: Add USE_NSCD.
49404         * config.make.in (use-nscd): New substituted variable.
49405         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
49406         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
49407         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
49408         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
49409         (CFLAGS-getgrnam_r.c): Likewise.
49410         (CFLAGS-initgroups.c): Likewise.
49411         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
49412         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
49413         Variables removed.
49414         * inet/getnetgrent_r.c
49415         (nscd_setnetgrent): New function, broken out of ...
49416         (setnetgrent): ... here.  Call it.
49417         (innetgr): Conditionalize nscd bits on [USE_NSCD].
49418         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
49419         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
49420         * nscd/Makefile (routines, aux): Move definitions after include of
49421         Makeconfig.  Conditionalize on [$(use-nscd) != no].
49422         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
49423         Conditionalize on [USE_NSCD].
49424         (is_nscd, nscd_init_cb): Likewise.
49425         (nss_load_library): Conditionalize init callback on [USE_NSCD].
49426         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
49427         * nss/nss_db/db-init.c: Likewise.
49428         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
49429         [USE_NSCD].
49430         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
49431         (make_request): Use it.
49432         (cache_valid_p): New function.
49433         (__check_pf): Use it.
49434         * NEWS: Add item for --disable-nscd.
49436 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
49438         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
49439         to support sed >= 4.2.1-20-ga9bf076.
49440         * configure: Regenerated.
49442 2012-08-22  Roland McGrath  <roland@hack.frob.com>
49444         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
49445         Conditionalize whole body on [IREL].
49447 2012-08-22  Jeff Law <law@redhat.com>
49449         [BZ #14505]
49450         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
49451         if the family is PF_UNSPEC.
49453 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
49455         * Makerules (lib-version): Rename from V.
49456         (install-lib-nosubdir): Change V to lib-version.
49458 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
49460         [BZ #14252]
49461         * powerpc32/power6/wcschr.c: New file.
49462         * powerpc32/power6/wcscpy.c: New file.
49463         * powerpc32/power6/wcsrchr.c: New file.
49464         * powerpc64/power6/wcschr.c: New file.
49465         * powerpc64/power6/wcscpy.c: New file.
49466         * powerpc64/power6/wcsrchr.c: New file.
49468 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
49470         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
49471         (two_way_short_needle): Use it.
49472         * string/strstr.c (AVAILABLE1_USES_J): Define.
49473         * string/strcasestr.c: Likewise.
49475         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
49476         array references.
49477         * string/strcasestr.c (TOLOWER): Make side-effect safe.
49479         [BZ #11607]
49480         * NEWS: Add an entry.
49481         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
49482         define their defaults.
49483         (two_way_short_needle): Detect end-of-string on-the-fly.
49484         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
49485         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
49486         * string/bug-strcasestr1.c: New test.
49487         * string/Makefile: Run it.
49489 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
49491         [BZ #11607]
49492         * string/str-two-way.h (two_way_short_needle): Optimize matching of
49493         the first character.
49495 2012-08-21  Roland McGrath  <roland@hack.frob.com>
49497         * csu/elf-init.c (__libc_csu_irel): Function removed.
49498         * csu/libc-start.c (apply_irel): New function.
49499         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
49501 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
49503         * sysdeps/unix/sysv/linux/kernel-features.h
49504         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
49505         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
49506         <kernel-features.h>.
49507         [__NR_fadvise64_64]: Make code unconditional.
49508         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
49509         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
49510         !__NR_fadvise64_64)]: Likewise.
49511         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
49512         !__NR_fadvise64_64))]: Likewise.
49513         [__NR_fadvise64]: Make code unconditional.
49514         [!__NR_fadvise64]: Remove conditional code.
49515         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
49516         <kernel-features.h>.
49517         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
49518         unconditional.
49519         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
49520         conditional code.
49521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
49522         not include <kernel-features.h>.
49523         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
49524         unconditional.
49525         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
49526         conditional code.
49527         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
49528         include <kernel-features.h>.
49529         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
49530         unconditional.
49531         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
49532         conditional code.
49534 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
49536         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
49537         slight instruction rearrangements per scrollpipe analysis.
49538         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
49540 2012-08-20  Roland McGrath  <roland@hack.frob.com>
49542         * manual/syslog.texi (syslog; vsyslog, closelog):
49543         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
49544         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
49546         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
49547         DSOCAPS to match condition on defining it.
49549 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
49551         * sysdeps/unix/sysv/linux/kernel-features.h
49552         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
49553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
49554         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
49555         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
49556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
49557         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
49558         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
49559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
49560         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
49561         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
49563         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
49564         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
49566         * sysdeps/unix/sysv/linux/kernel-features.h
49567         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
49568         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
49569         unconditional.
49570         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
49571         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
49572         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
49573         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
49574         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
49575         Make code unconditional.
49576         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
49577         (__mmap64) [!__NR_mmap2]: Likewise.
49578         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
49579         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
49580         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
49581         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
49582         [__NR_mmap2]: Make code unconditional.
49583         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
49584         (__mmap64) [!__NR_mmap2]: Likewise.
49586 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49588         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
49590 2012-08-18  Andreas Jaeger  <aj@suse.de>
49592         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
49594 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
49596         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
49597         * include/unistd.h (__have_sock_cloexec): Likewise.
49598         (__have_pipe2): Likewise.
49599         (__have_dup3): Likewise.
49601 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
49603         [BZ #9685]
49604         * include/unistd.h (__have_pipe2): Change define into an extern int.
49605         (__have_dup3): Likewise.
49606         * socket/have_sock_cloexec.c: Include fcntl.h.
49607         (__have_pipe2): New variable.
49608         (__have_dup3): Likewise.
49610 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
49612         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
49614 2012-08-17  Marek Polacek  <polacek@redhat.com>
49616         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
49617         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
49619 2012-08-17  Roland McGrath  <roland@hack.frob.com>
49621         * configure.in: Add AC_SUBST for sysheaders.
49622         * configure: Regenerated.
49623         * config.make.in (sysheaders): New substituted variable.
49625         * sysdeps/unix/mkfifo.c: Moved ...
49626         * sysdeps/posix/mkfifo.c: ... here.
49627         * sysdeps/unix/mkfifoat.c: Moved ...
49628         * sysdeps/posix/mkfifoat.c: ... here.
49630         * sysdeps/unix/utime.c: Moved ...
49631         * sysdeps/posix/utime.c: ... here.
49633         * sysdeps/unix/time.c: Moved ...
49634         * sysdeps/posix/time.c: ... here.
49635         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
49636         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
49638         * sysdeps/unix/nice.c: Moved ...
49639         * sysdeps/posix/nice.c: ... here.
49641         * sysdeps/unix/alarm.c: Moved ...
49642         * sysdeps/posix/alarm.c: ... here.
49644         * intl/Makefile ($(codeset_mo)): Depend on the input file.
49646 2012-08-17  Jeff Law <law@redhat.com>
49648         * intl/Makefile (codeset_mo): New variable.
49649         ($(codeset_mo)): New target.
49650         (tst-codeset.out): Depend on that.  Remove explicit rule.
49651         (tst-gettext3.out, tst-gettext5.out): Likewise.
49652         (LOCPATH-ENV, tst-codeset-ENV): New variables.
49653         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
49654         * intl/tst-codeset.sh: Remove.
49655         * intl/tst-gettext3.sh: Likewise.
49656         * intl/tst-gettext5.sh: Likewise.
49658 2012-08-17  Roland McGrath  <roland@hack.frob.com>
49660         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
49661         * sysdeps/unix/syscalls.list: ... here.
49663         * sysdeps/posix/getaddrinfo.c
49664         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
49665         (gaiconf_init, gaiconf_reload): Use them.
49666         [!_STATBUF_ST_NSEC]
49667         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
49668         Define using time_t rather than struct timespec.
49670         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
49671         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
49672         Macros removed.
49673         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
49674         [!NO_THREADS].
49675         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
49676         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
49677         Likewise.
49679         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
49680         __libc_cleanup_push argument.
49682         * bits/param.h: New file.
49683         * misc/sys/param.h: New file.
49684         * include/sys/param.h: New file.
49685         * misc/Makefile (headers): Add bits/param.h.
49686         * sysdeps/generic/sys/param.h: File removed.
49687         * sysdeps/unix/sysv/linux/bits/param.h: New file.
49688         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
49689         * sysdeps/mach/hurd/bits/param.h: New file.
49690         * sysdeps/mach/hurd/sys/param.h: File removed.
49692         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
49693         last change.
49695         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
49696         [_IO_MTSAFE_IO].
49697         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
49698         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
49699         New macros.
49701         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
49702         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
49703         rather than -D_IO_MTSAFE_IO conditionally.
49704         * stdio-common/Makefile (CPPFLAGS): Likewise.
49705         * wcsmbs/Makefile (CPPFLAGS): Likewise.
49706         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
49707         Use $(libio-mtsafe).
49708         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
49709         of -D_IO_MTSAFE_IO.
49710         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
49711         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
49712         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
49713         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
49714         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
49715         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
49716         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
49717         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
49718         (CFLAGS-fread_u_chk.c): Likewise.
49719         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
49720         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
49721         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
49722         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
49723         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
49724         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
49725         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
49726         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
49727         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
49729         * libio/Makefile: Test [$(libc-reentrant) = yes]
49730         instead of [$(filter %REENTRANT, $(defines)) nonempty].
49732         * Makeconfig
49733         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
49734         * sysdeps/pthread/configure: File removed.
49735         * sysdeps/pthread/Makeconfig: New file.
49736         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
49737         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
49739 2012-08-16  Gary Benson  <gbenson@redhat.com>
49741         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
49742         unmapping the first object in a namespace.
49744 2012-08-16  Roland McGrath  <roland@hack.frob.com>
49746         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
49747         (__internal_setnetgrent): ... this.  Add internal_function to
49748         definition.  Add libc_hidden_def.
49749         (setnetgrent): Update caller.
49750         (internal_endnetgrent): Renamed to ...
49751         (__internal_endnetgrent): ... this.  Add internal_function to
49752         definition.  Add libc_hidden_def.
49753         (endnetgrent): Update caller.
49754         (internal_getnetgrent_r): Renamed to ...
49755         (__internal_getnetgrent_r): ... this.  Add internal_function to
49756         definition.  Add libc_hidden_def.
49757         (__getnetgrent_r): Update caller.
49758         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
49760 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
49762         * stdlib/longlong.h: Update from GCC.
49764 2012-08-16  Roland McGrath  <roland@hack.frob.com>
49766         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
49767         on _QL, which is set by umul_ppmm but never used.
49768         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
49769         variables, which are set by GMP macros but never used.
49770         * stdio-common/_itowa.c (_itowa): Likewise.
49771         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
49772         * stdlib/mod_1.c (mpn_mod_1): Likewise.
49774 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
49776         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
49777         struct La_sh_regs is not constant.
49778         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
49779         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
49780         and struct La_sparc64_regs are not constant.
49782 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
49784         * sysdeps/unix/sysv/linux/kernel-features.h
49785         (__ASSUME_POSIX_TIMERS): Remove.
49786         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49787         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
49788         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
49789         Make code unconditional.
49790         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
49791         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
49792         Make code unconditional.
49793         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
49794         * sysdeps/unix/sysv/linux/clock_nanosleep.c
49795         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
49796         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
49797         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
49798         Make code unconditional.
49799         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
49800         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
49801         (__libc_missing_posix_timers): Remove.
49803 2012-08-15  Roland McGrath  <roland@hack.frob.com>
49805         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
49806         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
49808         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
49810         * elf/dl-sym.c: Include <stdlib.h>.
49812         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
49813         constants, which avoids warnings in 32-bit builds.
49815         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
49816         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
49818         * misc/lseek.c: File moved to ...
49819         * io/lseek.c: ... here.
49821         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
49823         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
49824         shifting LEN more than 31 bits at once.
49826 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49828         [BZ #14195]
49829         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
49830         segmentation fault for a case of two empty input strings.
49831         * string/test-strncasecmp.c (check1): Renamed to...
49832         (bz12205): ...this.
49833         (bz14195): Add new testcase for two empty input strings and N > 0.
49834         (test_main): Call new testcase, adapt for renamed function.
49836 2012-08-15  Andreas Jaeger  <aj@suse.de>
49838         [BZ #14090]
49839         * crypt/md5test2.c: New test, based on test supplied by Serge
49840         Belyshev <belyshev@depni.sinp.msu.ru>.
49841         * crypt/Makefile (xtests): Add md5test-giant..
49842         * crypt/Makefile ($(objpfx)md5test-giant): Add.
49844 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
49846         [BZ #14090]
49847         * crypt/md5.c (md5_process_block): Don't assume the buffer
49848         length is less than 2**32.
49849         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
49850         length is less than 2**64.
49852 2012-08-15  Roland McGrath  <roland@hack.frob.com>
49854         * string/str-two-way.h: Include <sys/param.h>.
49855         (MAX): Macro removed.
49857         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
49858         Move #define and #undef of memmove to just before and after
49859         including <string.h>.
49861         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
49862         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
49863         and after including <string.h>.  Move declarations of
49864         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
49865         to before #include "string/memmove.c".
49867         * include/dirent.h: Declare __getdirentries.
49869         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
49870         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
49872 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
49874         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
49875         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
49876         * sysdeps/i386/configure: Regenerated.
49877         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
49878         STABS_CURRENT_FILE, and STABS_FUN.
49879         (END): Remove call to STABS_FUN_END.
49880         (STABS_CURRENT_FILE1): Delete.
49881         (STABS_CURRENT_FILE): Likewise.
49882         (STABS_FUN): Likewise.
49883         (STABS_FUN_END): Likewise.
49884         (STABS_FUN2): Likewise.
49885         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
49886         * sysdeps/x86_64/configure: Regenerated.
49888 2012-08-14  Roland McGrath  <roland@hack.frob.com>
49890         * elf/dl-open.c: Include <atomic.h>.
49891         * elf/dl-lookup.c: Likewise.
49893 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
49895         * sysdeps/unix/sysv/linux/kernel-features.h
49896         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
49897         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
49898         unconditionally.
49899         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
49900         unconditionally.
49901         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
49902         condition on __ASSUME_CLONE_THREAD_FLAGS.
49904 2012-08-14  Andreas Jaeger  <aj@suse.de>
49906         * sysdeps/i386/fpu/libm-test-ulps: Update.
49908 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
49910         * include/atomic.h (atomic_exchange_and_add): Split into ...
49911         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
49912         New atomic macros.
49914 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
49916         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49918 2012-08-13  Jeff Law <law@redhat.com>
49920         * manual/stdio.texi (snprintf): Clarify handling of the trailing
49921         null byte in the output string.
49923 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
49925         * sysdeps/unix/sysv/linux/kernel-features.h
49926         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
49927         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
49928         (__ASSUME_ARG_MAX_STACK_BASED): Define.
49929         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
49930         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
49931         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
49932         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
49934 2012-08-09  Jeff Law <law@redhat.com>
49936         [BZ #13939]
49937         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
49938         When avoid_arena is set, don't retry in the that arena.  Pick the
49939         next one, whatever it might be.
49940         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
49941         (arena_lock): Pass in new parameter to arena_get2.
49942         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
49943         arena_get2.
49944         (__libc_malloc): Unify retrying after main arena failure with
49945         __libc_memalign version.
49946         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
49948 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
49950         [BZ #14166]
49951         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
49952         to __redirect_strstr.
49953         (__strstr_sse42): Use typeof __redirect_strstr.
49954         (__strstr_ia32): Likewise.
49955         (__libc_strstr): New prototype.
49956         (strstr): Renamed to ...
49957         (__libc_strstr): This.
49958         (strstr): New strong alias of __libc_strstr.
49959         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
49960         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
49961         __redirect_time.
49962         Include <time.h>.
49963         (__libc_time): New prototype.
49964         (time_ifunc): Replace time with __libc_time.
49965         (time): New strong alias and hidden definition of __libc_time.
49966         (__GI_time): Remove strong alias.
49967         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
49968         Include <stddef.h>.
49969         (memmove): Redefined to __redirect_memmove.
49970         (__memmove_sse2): Use typeof __redirect_memmove.
49971         (__memmove_ssse3): Likewise.
49972         (__memmove_ssse3_back): Likewise.
49973         (__libc_memmove): New prototype.
49974         (memmove): Renamed to ...
49975         (__libc_memmove): This.
49976         (memmove): New strong alias of __libc_memmove.
49978 2012-08-08  Mark Salter  <msalter@redhat.com>
49980         * elf/elf.h
49981         (R_MN10300_TLS_GD): Define.
49982         (R_MN10300_TLS_LD): Likewise.
49983         (R_MN10300_TLS_LDO): Likewise.
49984         (R_MN10300_TLS_GOTIE): Likewise.
49985         (R_MN10300_TLS_IE): Likewise.
49986         (R_MN10300_TLS_LE): Likewise.
49987         (R_MN10300_TLS_DTPMOD): Likewise.
49988         (R_MN10300_TLS_DTPOFF): Likewise.
49989         (R_MN10300_TLS_TPOFF): Likewise.
49990         (R_MN10300_SYM_DIFF): Likewise.
49991         (R_MN10300_ALIGN): Likewise.
49992         (R_MN10300_NUM): Update.
49994 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
49996         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
49997         Remove.
49999 2012-08-08  Roland McGrath  <roland@hack.frob.com>
50001         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
50003         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
50004         sysdeps/unix -> sysdeps/posix move.
50005         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
50007 2012-08-07      Allan McRae     <allan@archlinux.org>
50009         [BZ #14303]
50010         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
50011         (SUNOS_CPP): Likewise.
50012         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
50013         not found.
50014         (open_input): Call CPP using execvp.
50016 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
50018         * sysdeps/unix/sysv/linux/kernel-features.h
50019         (__ASSUME_PROT_GROWSUPDOWN): Remove.
50020         (__ASSUME_NO_CLONE_DETACHED): Likewise.
50021         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
50022         (__ASSUME_WAITID_SYSCALL): Likewise.
50023         * sysdeps/unix/sysv/linux/dl-execstack.c
50024         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
50025         code unconditional.
50026         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
50027         conditional code.
50028         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
50029         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
50030         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
50031         code.
50032         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
50033         unconditional.
50034         [__ASSUME_WAITID_SYSCALL]: Likewise.
50035         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
50037 2012-08-07  Roland McGrath  <roland@hack.frob.com>
50039         * sysdeps/unix/closedir.c: Renamed to ...
50040         * sysdeps/posix/closedir.c: ... here.
50041         * sysdeps/unix/dirfd.c: Renamed to ...
50042         * sysdeps/posix/dirfd.c: ... here.
50043         * sysdeps/unix/dirstream.h: Renamed to ...
50044         * sysdeps/posix/dirstream.h: ... here.
50045         * sysdeps/unix/fdopendir.c: Renamed to ...
50046         * sysdeps/posix/fdopendir.c: ... here.
50047         * sysdeps/unix/opendir.c: Renamed to ...
50048         * sysdeps/posix/opendir.c: ... here.
50049         * sysdeps/unix/readdir.c: Renamed to ...
50050         * sysdeps/posix/readdir.c: ... here.
50051         * sysdeps/unix/readdir_r.c: Renamed to ...
50052         * sysdeps/posix/readdir_r.c: ... here.
50053         * sysdeps/unix/rewinddir.c: Renamed to ...
50054         * sysdeps/posix/rewinddir.c: ... here.
50055         * sysdeps/unix/seekdir.c: Renamed to ...
50056         * sysdeps/posix/seekdir.c: ... here.
50057         * sysdeps/unix/telldir.c: Renamed to ...
50058         * sysdeps/posix/telldir.c: ... here.
50059         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
50060         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
50061         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
50062         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
50064         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
50065         * bits/fcntl.h: ... here.
50067         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
50068         not 0.
50069         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
50070         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
50071         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
50072         (struct flock): Move l_start, l_len to the beginning.
50073         Use __pid_t for l_pid.
50074         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
50075         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
50076         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
50077         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
50078         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
50079         [__USE_LARGEFILE64] (struct flock64): New type.
50080         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
50082         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
50083         * bits/dirent.h: ... here.
50085         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
50086         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
50088 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
50090         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
50091         Change from 2.6.0 to 2.6.16.
50092         * sysdeps/unix/sysv/linux/configure: Regenerated.
50093         * sysdeps/unix/sysv/linux/kernel-features.h
50094         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
50095         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
50096         version.
50097         (__ASSUME_UTIMES): Likewise.
50098         (__ASSUME_CLONE_STOPPED): Remove.
50099         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
50100         architectures, not kernel version.
50101         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
50102         (__ASSUME_NO_CLONE_DETACHED): Likewise.
50103         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
50104         (__ASSUME_WAITID_SYSCALL): Likewise.
50105         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
50106         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
50107         * README: State 2.6.16 as minimum Linux kernel version.  Do not
50108         refer to older versions.
50110 2012-08-06  Roland McGrath  <roland@hack.frob.com>
50112         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
50113         Define alphasort64 as an alias.
50114         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
50115         Define versionsort64 as an alias.
50116         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
50117         Define scandir64 as an alias.
50118         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
50119         Define scandirat64 as an alias.
50120         * dirent/alphasort64.c (alphasort64):
50121         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
50122         * dirent/versionsort64.c: Likewise.
50123         * dirent/scandir64.c: Likewise.
50124         * dirent/scandirat64.c: Likewise.
50125         * sysdeps/wordsize-64/alphasort.c: File removed.
50126         * sysdeps/wordsize-64/alphasort64.c: File removed.
50127         * sysdeps/wordsize-64/scandir.c: File removed.
50128         * sysdeps/wordsize-64/scandir64.c: File removed.
50129         * sysdeps/wordsize-64/scandirat.c: File removed.
50130         * sysdeps/wordsize-64/scandirat64.c: File removed.
50131         * sysdeps/wordsize-64/versionsort.c: File removed.
50132         * sysdeps/wordsize-64/versionsort64.c: File removed.
50133         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
50134         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
50135         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
50136         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
50137         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
50138         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
50139         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
50140         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
50142         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
50143         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
50144         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
50145         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50146         [defined __arch64__ || defined __sparcv9]
50147         (__INO_T_MATCHES_INO64_T): New macro.
50148         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50149         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
50150         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
50151         * sysdeps/unix/sysv/linux/bits/dirent.h
50152         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
50153         (_DIRENT_MATCHES_DIRENT64): New macro.
50155         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
50156         Define lockf64 as an alias.
50157         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
50158         Define fseeko64 as an alias.
50159         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
50160         Define ftello64 as an alias.
50161         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
50162         Define _IO_fgetpos64 and fgetpos64 as aliases.
50163         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
50164         Define _IO_fsetpos64 and fsetpos64 as aliases.
50165         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
50166         Conditionalize body on this.
50167         * libio/fseeko64.c: Likewise.
50168         * libio/ftello64.c: Likewise.
50169         * libio/iofgetpos64.c: Likewise.
50170         * libio/iofsetpos64.c: Likewise.
50171         * sysdeps/wordsize-64/lockf.c: File removed.
50172         * sysdeps/wordsize-64/lockf64.c: File removed.
50173         * sysdeps/wordsize-64/fseeko.c: File removed.
50174         * sysdeps/wordsize-64/fseeko64.c: File removed.
50175         * sysdeps/wordsize-64/ftello.c: File removed.
50176         * sysdeps/wordsize-64/ftello64.c: File removed.
50177         * sysdeps/wordsize-64/iofgetpos.c: File removed.
50178         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
50179         * sysdeps/wordsize-64/iofsetpos.c: File removed.
50180         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
50181         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
50182         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
50183         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
50184         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
50185         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
50186         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
50187         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
50188         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
50189         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
50190         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
50192         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
50193         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
50194         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
50195         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50196         [defined __arch64__ || defined __sparcv9]
50197         (__OFF_T_MATCHES_OFF64_T): New macro.
50198         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50199         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
50200         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50201         (__OFF_T_MATCHES_OFF64_T): New macro.
50203 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
50205         * stdlib/secure-getenv.c (__secure_getenv): Replace
50206         GLIBC_2_16 with GLIBC_2_17.
50208 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
50210         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
50211         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50213 2012-08-03  David S. Miller  <davem@davemloft.net>
50215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50217 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
50219         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
50220         Remove.
50221         (__ASSUME_CORRECT_SI_PID): Likewise.
50222         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
50223         (__ASSUME_TMPFS_NAME): Likewise.
50224         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
50225         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
50226         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
50227         (HAVE_AUX_SECURE): Make definition unconditional.
50228         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
50229         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
50231 2012-08-03  Roland McGrath  <roland@hack.frob.com>
50233         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
50234         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
50235         * sysdeps/mach/hurd/eloop-threshold.h: New file.
50236         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50237         __eloop_threshold instead of SYMLOOP_MAX.
50239         * sysdeps/generic/eloop-threshold.h: New file.
50240         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
50241         of MAXSYMLINKS.
50242         * elf/chroot_canon.c (chroot_canon): Likewise.
50244 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
50246         [BZ #13717]
50247         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
50248         Change to 2.6.0 everywhere.
50249         * sysdeps/unix/sysv/linux/configure: Regenerated.
50250         * sysdeps/unix/sysv/linux/kernel-features.h
50251         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
50252         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
50253         kernel versions.
50254         (__ASSUME_POSIX_TIMERS): Define unconditionally.
50255         (__ASSUME_FUTEX_REQUEUE): Remove.
50256         (__ASSUME_STATFS64): Define unconditionally.
50257         (__ASSUME_AT_SECURE): Likewise.
50258         (__ASSUME_CORRECT_SI_PID): Likewise.
50259         (__ASSUME_TGKILL): Define without depending on kernel version for
50260         i386.
50261         (__ASSUME_UTIMES): Likewise.
50262         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
50263         kernel version.
50264         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
50265         (__ASSUME_TMPFS_NAME): Likewise.
50266         * README: Update reference to Linux kernel versions.
50268 2012-08-02  Marek Polacek  <polacek@redhat.com>
50270         [BZ# 14150]
50271         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
50272         libc_cv_asm_type_prefix with %.
50273         * configure: Regenerated.
50274         * include/libc-symbols.h: Remove comment about
50275         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
50276         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
50277         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
50278         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
50279         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
50280         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
50281         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
50282         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
50283         * elf/tst-unique2mod1.c: Likewise.
50284         * elf/tst-unique1mod2.c: Likewise.
50285         * elf/tst-unique1mod1.c: Likewise.
50286         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
50287         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
50288         Replace ASM_TYPE_DIRECTIVE with .type.
50289         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50290         * sysdeps/i386/sysdep.h: Likewise.
50291         * sysdeps/x86_64/sysdep.h: Likewise.
50292         * sysdeps/sh/sysdep.h: Likewise.
50293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50294         Do not define ASM_TYPE_DIRECTIVE.
50295         * sysdeps/powerpc/sysdep.h: Likewise.
50296         * sysdeps/powerpc/powerpc32/sysdep.h:
50297         Replace ASM_TYPE_DIRECTIVE with .type.
50298         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
50299         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50300         * sysdeps/i386/fpu/e_powf.S: Likewise.
50301         * sysdeps/i386/fpu/e_expl.S: Likewise.
50302         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50303         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50304         * sysdeps/i386/fpu/e_pow.S: Likewise.
50305         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50306         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50307         * sysdeps/i386/fpu/s_expm1.S: Likewise.
50308         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50309         * sysdeps/i386/fpu/e_log2.S: Likewise.
50310         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50311         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50312         * sysdeps/i386/fpu/e_powl.S: Likewise.
50313         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50314         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50315         * sysdeps/i386/fpu/e_logl.S: Likewise.
50316         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50317         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50318         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50319         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50320         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50321         * sysdeps/i386/fpu/e_log.S: Likewise.
50322         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50323         * sysdeps/i386/fpu/e_logf.S: Likewise.
50324         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50325         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50326         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50327         * sysdeps/i386/fpu/e_log10.S: Likewise.
50328         * sysdeps/i386/fpu/s_frexp.S: Likewise.
50329         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50330         * sysdeps/i386/fpu/s_asinh.S: Likewise.
50331         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50332         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50333         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
50334         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50335         * sysdeps/i386/i686/strtok.S: Likewise.
50336         * sysdeps/i386/i386-mcount.S: Likewise.
50337         * sysdeps/i386/strtok.S: Likewise.
50338         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
50339         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50340         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50341         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50342         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50343         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50344         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50345         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50346         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50347         * sysdeps/x86_64/_mcount.S: Likewise.
50348         * sysdeps/x86_64/strtok.S: Likewise.
50349         * sysdeps/sh/_mcount.S: Likewise.
50351 2012-08-01  Roland McGrath  <roland@hack.frob.com>
50353         * libio/iofopen.c: Include <fcntl.h>.
50354         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
50355         (_IO_fopen64, fopen64): Define as aliases.
50356         * libio/iofopen64.c: Include <fcntl.h>.
50357         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
50358         Conditionalize body on this.
50359         * sysdeps/wordsize-64/iofopen.c: File removed.
50360         * sysdeps/wordsize-64/iofopen64.c: File removed.
50362 2012-08-01  Marek Polacek  <polacek@redhat.com>
50364         * libc/Makeconfig: Use elf in place of binfmt-subdir.
50365         Use dlfcn directly instead of a variable.
50366         (binfmt-subdir): Do not define.
50367         (dlfcn): Likewise.
50369 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
50371         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
50372         Remove all definitions.
50373         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
50374         <kernel-features.h>.
50375         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
50376         (miss_F_GETOWN_EX): Remove all definitions.
50377         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
50378         macro definition.
50379         [!__ASSUME_FCNTL64]: Remove conditional code.
50380         [__ASSUME_FCNTL64]: Make code unconditional.
50381         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
50382         <kernel-features.h>.
50383         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
50384         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
50385         (lockf64) [__NR_fcntl64]: Make code unconditional.
50386         (lockf64) [__ASSUME_FCNTL64]: Likewise.
50388         * sysdeps/unix/sysv/linux/kernel-features.h
50389         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
50390         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
50391         Make code unconditional.
50392         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
50393         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
50394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
50395         [__NR_vfork]: Make code unconditional.
50396         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
50397         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
50398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
50399         [__NR_vfork]: Make code unconditional.
50400         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
50401         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
50403 2012-08-01  Roland McGrath  <roland@hack.frob.com>
50405         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
50406         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
50408         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50409         Define mkstemp64 as an alias.
50410         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50411         Define mkstemps64 as an alias.
50412         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50413         Define mkostemp64 as an alias.
50414         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50415         Define mkostemps64 as an alias.
50416         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
50417         Conditionalize body on this.
50418         * misc/mkostemp64.c: Likewise.
50419         * misc/mkostemps64.c: Likewise.
50420         * misc/mkstemps64.c: Likewise.
50421         * sysdeps/wordsize-64/mkstemp64.c: File removed.
50422         * sysdeps/wordsize-64/mkostemp64.c: File removed.
50423         * sysdeps/wordsize-64/mkostemp.c: File removed.
50424         * sysdeps/wordsize-64/mkstemp.c: File removed.
50425         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
50426         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
50427         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
50428         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
50430         [BZ #14138]
50431         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
50432         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
50433         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
50434         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
50436         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
50437         compat_symbol macros from <shlib-compat.h> rather than the underlying
50438         default_symbol_version and symbol_version macros, so that DEFAULT
50439         lines in shlib-versions are respected.
50440         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
50442 2012-08-01  Florian Weimer  <fweimer@redhat.com>
50444         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
50445         Declare with warn_unused_result.
50446         (setgid, setregid, setegid, setresgid): Likewise.
50447         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
50448         Likewise.
50449         * WUR-REPORT: Remove set*id functions.
50451 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
50453         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
50455 2012-07-31  Roland McGrath  <roland@hack.frob.com>
50457         [BZ #10191]
50458         * include/sys/socket.h (__libc_accept, __libc_accept4):
50459         Add attribute_hidden.
50460         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
50462         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
50463         use of PTR_MANGLE.
50464         * inet/getnetgrent_r.c (setup): Likewise.
50466         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
50468 2012-07-31  David S. Miller  <davem@davemloft.net>
50470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50472 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
50474         [BZ #13629]
50475         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
50476         value between 1.0 and 2.0 and smaller part has absolute value less
50477         than 1.0.
50478         * math/s_clog10.c (__clog10): Likewise.
50479         * math/s_clog10f.c (__clog10f): Likewise.
50480         * math/s_clog10l.c (__clog10l): Likewise.
50481         * math/s_clogf.c (__clogf): Likewise.
50482         * math/s_clogl.c (__clogl): Likewise.
50483         * math/libm-test.inc (clog_test): Add more tests.
50484         (clog10_test): Likewise.
50485         * sysdeps/i386/fpu/libm-test-ulps: Update.
50486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50488 2012-07-31  Florian Weimer  <fweimer@redhat.com>
50490         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
50491         Exit with zero in case no suitable GID is found, and write a
50492         message to standard error.
50494 2012-07-30  Roland McGrath  <roland@hack.frob.com>
50496         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
50497         rather than to 1.
50498         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
50499         (MAXPATHLEN): Removed.
50500         (NOGROUP, NODEV): New macros.
50501         (setbit, clrbit, isset, isclr): New macros.
50502         (howmany, roundup, powerof2): New macros.
50503         (DEV_BSIZE): New macro.
50505         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
50506         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
50508         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
50509         definition on [!__NO_LONG_DOUBLE_MATH].
50511         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
50512         PTR_MANGLE and PTR_DEMANGLE.
50514         * socket/accept4.c (accept4): Rename to __libc_accept4.
50515         Define accept4 as a weak alias.
50517         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
50518         on [_DIRENT_HAVE_D_TYPE].
50519         * io/ftw.c (ftw_dir): Likewise.
50521         * io/xmknod.c (__xmknod): Don't check PATH for being null.
50523         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
50525         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
50526         Use the BSD numbers rather than the arbitrary ones we had.
50527         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
50528         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
50529         (SIGXCPU, SIGXFSZ): New macros.
50530         (_NSIG): Now 32.
50532         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
50533         initializer on [_LIBC_REENTRANT].
50535         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
50536         definitions inside [_POSIX_MAPPED_FILES].
50538         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
50540         * dirent/opendir.c: Include <fcntl.h>.
50542         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
50543         (__libc_getspecific): Likewise.
50544         (__libc_key_create): Likewise.
50546         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
50547         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
50548         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
50549         (tmpfile64): Define as alias.
50550         * sysdeps/wordsize-64/tmpfile.c: File removed.
50551         * sysdeps/wordsize-64/tmpfile64.c: File removed.
50552         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
50553         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
50555         * stdio-common/vfscanf.c: Include <stdbool.h>.
50556         * nss/makedb.c: Likewise.
50557         * stdio-common/_i18n_number.h: Likewise.
50558         * argp/argp-help.c: Likewise.
50559         * posix/wordexp.c: Likewise.
50560         * sysdeps/posix/spawni.c: Likewise.
50561         * nss/nss_files/files-initgroups.c: Likewise.
50562         * stdio-common/reg-modifier.c: Include <stdlib.h>.
50563         * nss/nss_files/files-initgroups.c: Likewise.
50564         * nss/nss_db/db-netgrp.c: Likewise.
50565         * nss/nss_db/db-initgroups.c: Likewise.
50566         * io/fchmodat.c: Include <sys/stat.h>.
50568         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
50569         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
50571         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
50572         [HAVE_MMAP].
50574         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
50575         Add multiple inclusion protection.
50577 2012-07-27  David S. Miller  <davem@davemloft.net>
50579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50581 2012-07-27  Gary Benson  <gbenson@redhat.com>
50583         [BZ #14298]
50584         * elf/rtld.c: Include <stap-probe.h>.
50585         (dl_main): Added static probes "init_start" and "init_complete".
50586         * elf/dl-load.c: Include <stap-probe.h>.
50587         (lose): Take new parameter "nsid".
50588         Added static probe "map_failed".
50589         (_dl_map_object_from_fd): Pass namespace id to lose.
50590         Added static probe "map_start".
50591         (open_verify): Pass namespace id to lose.
50592         * elf/dl-open.c: Include <stap-probe.h>.
50593         (dl_open_worker) Added static probes "map_complete", "reloc_start"
50594         and "reloc_complete".
50595         * elf/dl-close.c: Include <stap-probe.h>.
50596         (_dl_close_worker): Added static probes "unmap_start" and
50597         "unmap_complete".
50598         * elf/rtld-debugger-interface.txt: New file documenting the above.
50600 2012-07-26  Roland McGrath  <roland@hack.frob.com>
50602         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
50603         rather than a string variable.
50604         * sunrpc/rpc_main.c (h_output): Likewise.
50605         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
50607 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
50609         * inet/check_native.c: New file.
50611 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
50613         [BZ #13629]
50614         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
50615         if larger part has absolute value 1.0.
50616         * math/s_clog10.c (__clog10): Likewise.
50617         * math/s_clog10f.c (__clog10f): Likewise.
50618         * math/s_clog10l.c (__clog10l): Likewise.
50619         * math/s_clogf.c (__clogf): Likewise.
50620         * math/s_clogl.c (__clogl): Likewise.
50621         * math/libm-test.inc (clog_test): Add more tests.
50622         (clog10_test): Likewise.
50623         * sysdeps/i386/fpu/libm-test-ulps: Update.
50624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50626         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
50627         (pltexit): Likewise.
50628         (La_regs): Likewise.
50629         (La_retval): Likewise.
50630         (int_retval): Likewise.
50631         Update #error for removed macros to refer only to definitions in
50632         tst-audit.h.
50633         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
50634         macro.
50635         (pltexit): Likewise.
50636         (La_regs): Likewise.
50637         (La_retval): Likewise.
50638         (int_retval): Likewise.
50639         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
50640         macro.
50641         (pltexit): Likewise.
50642         (La_regs): Likewise.
50643         (La_retval): Likewise.
50644         (int_retval): Likewise.
50645         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
50646         macro.
50647         (pltexit): Likewise.
50648         (La_regs): Likewise.
50649         (La_retval): Likewise.
50650         (int_retval): Likewise.
50651         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
50652         macro.
50653         (pltexit): Likewise.
50654         (La_regs): Likewise.
50655         (La_retval): Likewise.
50656         (int_retval): Likewise.
50657         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
50658         macro.
50659         (pltexit): Likewise.
50660         (La_regs): Likewise.
50661         (La_retval): Likewise.
50662         (int_retval): Likewise.
50663         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
50664         macro.
50665         (pltexit): Likewise.
50666         (La_regs): Likewise.
50667         (La_retval): Likewise.
50668         (int_retval): Likewise.
50669         * sysdeps/generic/tst-audit.h: Update comment to refer only to
50670         macro definitions in tst-audit.h.
50671         * sysdeps/i386/tst-audit.h: New file.
50672         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
50673         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
50674         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
50675         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
50676         * sysdeps/sh/tst-audit.h: Likewise.
50677         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
50678         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
50679         * sysdeps/x86_64/tst-audit.h: Likewise.
50681 2012-07-26  Andreas Jaeger  <aj@suse.de>
50683         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
50684         ptrace.
50686         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
50687         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
50688         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
50689         PTRACE_O_MASK.
50690         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
50691         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
50692         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
50694         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
50695         value.
50697         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
50698         _sigsys.
50699         (si_call_addr, si_syscall, si_arch): Define new macro.
50700         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
50701         _sigsys.
50702         (si_call_addr, si_syscall, si_arch): Define new marcro.
50703         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
50704         _sigsys.
50705         (si_call_addr, si_syscall, si_arch): Define new macro.
50706         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
50707         _sigsys.
50708         (si_call_addr, si_syscall, si_arch): Define new macro.
50710 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
50712         [BZ #13717]
50713         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
50714         Change to 2.4.21 where previously 2.4.1.
50715         * sysdeps/unix/sysv/linux/configure: Regenerated.
50716         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
50717         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
50718         Linux kernel version.
50719         (__ASSUME_STD_AUXV): Remove.
50720         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
50721         kernel version.
50722         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
50723         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
50724         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
50725         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
50726         (__ASSUME_NETLINK_SUPPORT): Likewise.
50727         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
50728         (__no_netlink_support): Remove conditional definition.
50729         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
50730         Remove.
50731         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
50732         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
50733         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
50734         (if_nameindex_ioctl): Remove.
50735         (if_nameindex_netlink): Do not handle __no_netlink_support.
50736         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
50737         code.
50738         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
50739         Remove conditional code.
50740         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
50741         code.
50742         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
50743         unconditional.
50744         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
50745         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
50746         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
50747         Remove.
50748         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
50749         [!__ASSUME_STD_AUXV]: Remove conditional code.
50750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
50751         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
50752         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
50753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
50754         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
50755         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
50756         code.
50757         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
50758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50759         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
50760         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
50761         conditional code.
50762         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
50763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
50764         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
50765         code.
50766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50767         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
50768         conditional code.
50769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
50770         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
50771         code unconditional.
50772         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
50773         conditional code.
50774         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
50775         unconditional.
50776         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
50777         conditional code.
50778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50779         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
50780         unconditional.
50781         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
50782         conditional code.
50783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
50784         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
50785         code unconditional.
50786         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
50787         conditional code.
50788         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
50789         unconditional.
50790         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
50791         conditional code.
50792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
50793         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
50794         code unconditional.
50795         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
50796         conditional code.
50797         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
50798         unconditional.
50799         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
50800         conditional code.
50802 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
50804         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
50805         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
50806         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
50807         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
50808         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
50809         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
50810         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
50811         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
50812         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
50813         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
50814         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
50815         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
50816         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
50817         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
50818         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
50819         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
50820         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
50821         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
50822         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
50823         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
50824         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
50825         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
50826         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50828 2012-07-25  Florian Weimer  <fweimer@redhat.com>
50830         * Versions.def: Add GLIBC_2.17.
50831         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
50832         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
50833         Introduce __libc_secure_getenv.
50834         * stdlib/Versions (2.17): Add secure_getenv
50835         (GLIBC_PRIVATE): Add __libc_secure_getenv.
50836         * stdlib/secure-getenv.c: Rename __secure_getenv to
50837         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
50838         symbol __secure_getenv for GLIBC_2.0.
50839         * stdlib/tst-secure-getenv.c: New.
50840         * stdlib/Makefile (tests): Add testcase.
50841         * manual/startup.texi (Environment Access): Document
50842         secure_getenv.
50843         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
50844         __libc_secure_getenv.
50845         * inet/ruserpass.c (ruserpass): Likewise.
50846         * malloc/mtrace.c (mtrace): Likewise.
50847         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
50848         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
50849         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
50850         * sysdeps/posix/tempname.c: Likewise.  Evaluate
50851         HAVE_SECURE_GETENV.
50852         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
50853         __secure_getenv to __libc_secure_getenv.
50854         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
50855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50856         Likewise.
50857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50858         Likewise.
50859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
50860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
50861         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
50863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
50864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
50867 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
50869         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
50870         (struct La_i86_retval): Likewise.
50871         (struct La_x86_64_regs): Likewise.
50872         (struct La_x86_64_retval): Likewise.
50873         (struct La_x32_regs): Likewise.
50874         (struct La_x32_retval): Likewise.
50875         (struct La_ppc32_regs): Likewise.
50876         (struct La_ppc32_retval): Likewise.
50877         (struct La_ppc64_regs): Likewise.
50878         (struct La_ppc64_retval): Likewise.
50879         (struct La_sh_regs): Likewise.
50880         (struct La_sh_retval): Likewise.
50881         (struct La_s390_32_regs): Likewise.
50882         (struct La_s390_32_retval): Likewise.
50883         (struct La_s390_64_regs): Likewise.
50884         (struct La_s390_64_retval): Likewise.
50885         (struct La_sparc32_regs): Likewise.
50886         (struct La_sparc32_retval): Likewise.
50887         (struct La_sparc64_regs): Likewise.
50888         (struct La_sparc64_retval): Likewise.
50889         (struct audit_ifaces): Remove architecture-specific pltenter and
50890         pltexit members.
50891         * sysdeps/i386/ldsodefs.h: New file.
50892         * sysdeps/powerpc/ldsodefs.h: Likewise.
50893         * sysdeps/s390/ldsodefs.h: Likewise.
50894         * sysdeps/sh/ldsodefs.h: Likewise.
50895         * sysdeps/sparc/ldsodefs.h: Likewise.
50896         * sysdeps/x86_64/ldsodefs.h: Likewise.
50898 2012-07-25  Marek Polacek  <polacek@redhat.com>
50900         [BZ #6808]
50901         * math/libm-test.inc (yn_test): Add another test.
50902         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
50903         to ERANGE when the result is +-Inf.
50904         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
50905         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
50906         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
50907         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
50909 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
50911         * conform/data/time.h-data (NULL): Use macro-constant.  Require
50912         equal to 0.
50913         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
50914         clock_t.
50915         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
50917 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
50919         * configure.in <sysdeps resolving>: Correct printing
50920         Implies_before.
50921         * configure: Regenerate.
50923 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
50925         * math/w_ilogb.c: Include <limits.h>.
50926         * math/w_ilogbl.c: Likewise.
50928 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
50930         * manual/lang.texi (__va_copy): Document primarily as ISO C99
50931         va_copy.  Document allowing for unavailable va_copy only as
50932         pre-C99 compatibility.
50933         * manual/string.texi (Copying and Concatenation): Use va_copy
50934         instead of __va_copy in concat example.
50936 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
50938         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
50939         (__sendto): Use create_address_port.  Initialize APORT and deallocate
50940         it if not null.
50942         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
50943         with O_NOLINK passed to __file_name_lookup.
50945         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
50946         with O_NOLINK passed to __file_name_lookup.
50948         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
50949         negative N or less than NGIDS.
50951         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
50952         type to string_t.  Set ERANGE as errno and return it if NAME is not big
50953         enough.  Use memcpy instead of strncpy.
50955 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
50957         * elf/Makefile (check-data): Remove.
50958         (localplt.data): New vpath directive.
50959         ($(objpfx)check-localplt.out): Use localplt.data from vpath
50960         instead of $(check-data).
50961         * scripts/data/localplt-generic.data: Move to ...
50962         * sysdeps/generic/localplt.data: ... here.
50963         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
50964         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
50965         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
50966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
50967         ... here.
50968         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
50969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
50970         ... here.
50971         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
50972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
50973         ... here.
50974         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
50975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
50976         ... here.
50977         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
50978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
50979         ... here.
50980         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
50981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
50982         ... here.
50984 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50986         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
50987         PPC32 and PPC64 files.
50988         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
50989         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
50991 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50993         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
50994         __makecontext_ret to ...
50995         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
50996         ... here and call exit if uc_link is NULL.  New file.
50997         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
50998         __makecontext_ret.S.
50999         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
51000         __makecontext_ret to ...
51001         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
51002         ... here and call exit if uc_link is NULL.  New file.
51003         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
51004         __makecontext_ret.S.
51006 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51008         * elf/elf.h (R_390_IRELATIVE): New definition.
51009         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
51010         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
51011         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
51012         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
51013         (elf_machine_lazy_rel): Likewise.
51014         * sysdeps/s390/dl-irel.h: New file.
51015         * sysdeps/s390/s390-64/memcpy.S: New asm code.
51016         * sysdeps/s390/s390-64/memset.S: New asm code.
51017         * sysdeps/s390/s390-64/memcmp.S: New asm code.
51018         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
51019         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
51020         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
51021         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
51022         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
51023         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
51024         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
51025         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
51026         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
51027         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
51028         * sysdeps/s390/s390-32/memcpy.S: New asm code.
51029         * sysdeps/s390/s390-32/memset.S: New asm code.
51030         * sysdeps/s390/s390-32/memcmp.S: New asm code.
51032 2012-07-17  Marek Polacek  <polacek@redhat.com>
51034         [BZ #14349]
51035         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
51036         * sysdeps/s390/s390-64/configure.in: Likewise.
51037         * sysdeps/sparc/configure.in: Likewise.
51038         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
51039         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
51040         * sysdeps/i386/configure.in: Likewise.
51041         * sysdeps/x86_64/configure.in: Likewise.
51042         * sysdeps/sh/configure.in: Likewise.
51043         * sysdeps/s390/s390-32/configure: Regenerated.
51044         * sysdeps/s390/s390-64/configure: Likewise.
51045         * sysdeps/x86_64/configure: Likewise.
51046         * sysdeps/sh/configure: Likewise.
51047         * sysdeps/powerpc/powerpc64/configure: Likewise.
51048         * sysdeps/powerpc/powerpc32/configure: Likewise.
51049         * sysdeps/sparc/configure: Likwise.
51050         * sysdeps/i386/configure: Likewise.
51052         * elf/dl-open.c: Comment fixes.
51054 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
51056         * Makefile [CXX] (check-data): Remove.
51057         [CXX] (c++-types.data): New vpath directive.
51058         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
51059         vpath.  Do not allow for C++ type data being missing.
51060         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
51061         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
51062         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
51063         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
51064         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
51065         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
51066         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
51067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
51068         ... here.
51069         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
51070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
51071         ... here.
51072         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
51073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
51074         ... here.
51075         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
51076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
51077         ... here.
51078         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
51079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
51080         ... here.
51081         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
51082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
51083         ... here.
51084         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
51085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
51086         ... here.
51087         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
51088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
51090         * elf/tls-macros.h (TLS_LE): Move architecture-specific
51091         definitions to architecture-specific files.
51092         (TLS_IE): Likewise.
51093         (TLS_LD): Likewise.
51094         (TLS_GD): Likewise.
51095         * sysdeps/i386/tls-macros.h: New file.
51096         * sysdeps/powerpc/tls-macros.h: Likewise.
51097         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
51098         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
51099         * sysdeps/sh/tls-macros.h: Likewise.
51100         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
51101         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
51102         * sysdeps/x86_64/tls-macros.h: Likewise.
51104 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
51106         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
51107         zero value for regular exit case.
51109         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
51110         (__start_context): Preserve zero value for regular exit case.
51112 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
51113             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51115         * manual/setjmp.texi (setcontext): Clarify normal process
51116         termination when uc_link is the null pointer.
51117         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
51118         exit call.
51120 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
51122         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
51123         preprocessor.  Test for each exception mask separately.
51125 2012-07-16  Andreas Jaeger  <aj@suse.de>
51127         * po/ru.po: Update from translation team.
51129 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
51131         * conform/data/string.h-data (NULL): Use macro-constant.  Require
51132         equal to 0.
51133         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
51134         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
51135         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
51136         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
51137         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51139 2012-07-13  Andreas Jaeger  <aj@suse.de>
51141         * po/fr.po: Update from translation team.
51143 2012-07-12  Marek Polacek  <polacek@redhat.com>
51145         [BZ #14173]
51146         * math/libm-test.inc (yn_test): Add test for BZ #14173.
51147         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
51148         loop condition.
51150 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
51152         [BZ #13717]
51153         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51154         Change to 2.4.1 where previously 2.4.0.
51155         * sysdeps/unix/sysv/linux/configure: Regenerated.
51156         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
51157         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
51158         version.
51159         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
51160         (__ASSUME_AT_CLKTCK): Remove.
51161         (__ASSUME_AT_PAGESIZE): Likewise.
51162         (__ASSUME_AT_XID): Likewise.
51163         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
51164         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
51165         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
51166         unconditionally.
51167         (HAVE_AUX_PAGESIZE): Likewise.
51168         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
51169         [__ASSUME_AT_CLKTCK]: Make code unconditional.
51170         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
51172 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
51174         [BZ #14307]
51175         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
51176         the temporary buffer used to invoke __gethostbyname2_r,
51177         __gethostbyaddr_r and gethostbyname4_r to make room for struct
51178         host_data / struct gaih_addrtuple.
51179         * resolv/nss_dns/dns-host.c (global scope): Move definition of
51180         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
51181         header file nss/nsswitch.h.
51182         * nss/nsswitch.h (global scope): Add definition of implementation
51183         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
51184         resolv/nss_dns/dns-host.c).
51186 2012-07-11  Andreas Jaeger  <aj@suse.de>
51188         * po/fr.po: Update from translation team.
51190         * po/sv.po: Update from translation team
51191         * po/fr.po: Another update from translation team.
51193 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51195         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
51196         for subnormals or multiply small sinh result by itself.
51197         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51200 2012-07-11  David S. Miller  <davem@davemloft.net>
51202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51204 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
51206         [BZ #14347]
51207         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
51208         (INTERNAL_MARK): Shift it here.
51210 2012-07-10  Marek Polacek  <polacek@redhat.com>
51212         [BZ #14151]
51213         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
51214         libc_cv_asm_global_directive with .globl.
51215         * configure: Regenerated.
51216         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
51217         with .globl.
51218         * sysdeps/i386/configure: Regenerated.
51219         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
51220         with .globl.
51221         * sysdeps/x86_64/configure: Regenerated.
51222         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
51223         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
51224         * elf/tst-unique2mod2.c: Likewise.
51225         * elf/tst-unique2mod1.c: Likewise.
51226         * elf/tst-unique1mod2.c: Likewise.
51227         * elf/tst-unique1mod1.c: Likewise.
51228         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51229         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
51230         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51231         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51232         * sysdeps/mach/sysdep.h: Likewise.
51233         * sysdeps/i386/sysdep.h: Likewise.
51234         * sysdeps/i386/i386-mcount.S: Likewise.
51235         * sysdeps/x86_64/_mcount.S: Likewise.
51236         * sysdeps/x86_64/sysdep.h: Likewise.
51237         * sysdeps/sh/_mcount.S: Likewise.
51238         * sysdeps/sh/sysdep.h: Likewise.
51239         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
51240         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
51241         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
51242         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51243         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
51244         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
51245         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
51246         * locale/localeinfo.h: Likewise.
51247         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
51248         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
51250 2012-07-09  Roland McGrath  <roland@hack.frob.com>
51252         [BZ #14336]
51253         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
51254         system".
51255         * manual/message.texi (The Uniforum approach): Likewise.
51256         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
51257         (glibc iconv Implementation): Likewise.
51259 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
51261         [BZ #14337]
51262         * math/s_clog.c (__clog): Avoid scaling a value down where that
51263         could result in underflow.
51264         * math/s_clog10.c (__clog10): Likewise.
51265         * math/s_clog10f.c (__clog10f): Likewise.
51266         * math/s_clog10l.c (__clog10l): Likewise.
51267         * math/s_clogf.c (__clogf): Likewise.
51268         * math/s_clogl.c (__clogl): Likewise.
51269         * math/libm-test.inc (clog_test): Add more tests.
51270         (clog10_test): Likewise.
51271         * sysdeps/i386/fpu/libm-test-ulps: Update.
51272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51274 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
51276         [BZ #14283]
51277         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
51278         by 7 not 8 to examine high bit of fractional part.
51280         [BZ #14042]
51281         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
51282         for call to __mcount_internal.
51283         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
51284         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
51285         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
51287 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
51289         [BZ #14154]
51290         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
51291         approximation for values within 0x1p-13f of an odd multiple of
51292         pi/4.
51293         * math/libm-test.inc (tan_test): Do not allow spurious underflow
51294         exception.  Add more tests.
51295         * sysdeps/i386/fpu/libm-test-ulps: Update.
51297         [BZ #6778]
51298         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
51299         inputs and return -1 for them.  Do not check for +Inf in case not
51300         reachable for +Inf.
51301         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
51302         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
51303         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
51304         and return -1 for them.  Do not check for +Inf in case not
51305         reachable for +Inf.
51306         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
51307         define.
51308         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
51309         and return -1 for them.  Do not check for +Inf in case not
51310         reachable for +Inf.
51311         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
51312         spurious underflow.
51313         * sysdeps/i386/fpu/libm-test-ulps: Update.
51314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51316 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
51318         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
51320 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
51322         [BZ #14157]
51323         [BZ #14331]
51324         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
51325         could result in spurious underflow.  Scale down values above
51326         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
51327         * math/s_csqrtf.c (__csqrtf): Likewise.
51328         * math/s_csqrtl.c (__csqrtl): Likewise.
51329         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
51330         spurious underflow.
51331         * sysdeps/i386/fpu/libm-test-ulps: Update.
51332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51334 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
51336         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
51337         xopen-msg.sed.
51338         * catgets/xopen-msg.awk: New file.
51339         * catgets/xopen-msg.sed: Removed.
51341         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
51342         po2text.sed.
51343         * intl/po2test.awk: New file.
51344         * intl/po2test.sed: Removed.
51346 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
51348         [BZ #14328]
51349         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
51350         or multiply small sinh result by itself.
51351         * math/s_ctanf.c (__ctanf): Likewise.
51352         * math/s_ctanh.c (__ctanh): Likewise.
51353         * math/s_ctanhf.c (__ctanhf): Likewise.
51354         * math/s_ctanhl.c (__ctanhl): Likewise.
51355         * math/s_ctanl.c (__ctanl): Likewise.
51356         * math/libm-test.inc (ctan_test_tonearest): New function.
51357         (ctan_test_towardzero): Likewise.
51358         (ctan_test_downward): Likewise.
51359         (ctan_test_upward): Likewise.
51360         (ctanh_test_tonearest): Likewise.
51361         (ctanh_test_towardzero): Likewise.
51362         (ctanh_test_downward): Likewise.
51363         (ctanh_test_upward): Likewise.
51364         (main): Call these new functions.
51365         * sysdeps/i386/fpu/libm-test-ulps: Update.
51366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51368 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
51370         * .gitignore: Delete /ports entry.
51372 2012-07-03  Andreas Jaeger  <aj@suse.de>
51374         * po/bg.po: Update from translation team.
51375         * po/cs.po: Likewise.
51376         * po/de.po: Likewise.
51377         * po/hr.po: Likewise.
51378         * po/nl.pl: Likewise.
51379         * po/pl.po: Likewise.
51380         * po/vi.po: Likewise.
51382 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
51384         * Makeconfig [!+link] (+link-before-libc): New variable.
51385         [!+link] (+link-after-libc): Likewise.
51386         [!+link] (+link-tests): Likewise.
51387         [!+link] (+link): Define in terms of $(+link-before-libc) and
51388         $(+link-after-libc).
51389         [!+link-static] (+link-static-before-libc): New variable.
51390         [!+link-static] (+link-static-after-libc): Likewise.
51391         [!+link-static] (+link-static-tests): Likewise.
51392         [!+link-static] (+link-static): Define in terms of
51393         $(+link-static-before-libc) and $(+link-static-after-libc).
51394         [build-shared] (link-libc-before-gnulib): New variable.
51395         [build-shared] (link-libc-tests): Likewise.
51396         [build-shared] (link-libc): Define in terms of
51397         $(link-libc-before-gnulib).
51398         [!build-shared] (link-libc-tests): New variable.
51399         (link-libc-static-tests): New variable.
51400         [!gnulib] (gnulib-arch): New variable.
51401         [!gnulib] (gnulib-tests): Likewise.
51402         [!gnulib] (static-gnulib-arch): Likewise.
51403         [!gnulib] (static-gnulib-tests): Likewise.
51404         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
51405         Define with "=" instead of ":=".
51406         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
51407         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
51408         * Rules (binaries-all-notests): New variable.
51409         (binaries-all-tests): Likewise.
51410         (binaries-static-notests): Likewise.
51411         (binaries-static-tests): Likewise.
51412         (binaries-all): Define using $(binaries-all-notests) and
51413         $(binaries-all-tests).
51414         (binaries-static): Define using $(binaries-static-notests) and
51415         $(binaries-static-tests).
51416         (binaries-shared-tests): New variable.
51417         (binaries-shared-notests): Likewise.
51418         (binaries-shared): Remove variable.
51419         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
51420         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
51421         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
51422         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
51423         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
51424         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
51425         * elf/Makefile (sln-modules): New variable.
51426         (extra-objs): Add $(sln-modules:=.o).
51427         (ldconfig-modules): Add static-stubs.
51428         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
51429         * elf/static-stubs.c: New file.
51431         [BZ #14283]
51432         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
51433         by 7 not 8 to examine high bit of fractional part.  Use volatile
51434         variables when splitting into final array of floats if
51435         __FLT_EVAL_METHOD__ != 0.
51436         * math/libm-test.inc (cos_test): Add another test.
51437         (sin_test): Likewise.
51438         * sysdeps/i386/fpu/libm-test-ulps: Update.
51440         [BZ #14273]
51441         * math/libm-test.inc (cosh_test): Add more tests.
51443         * version.h (RELEASE): Set to "development".
51444         (VERSION): Set to "2.16.90".
51446 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
51448         * NEWS: Update copyright. Remove last-updated date.
51449         Mention math library bug fixes and timezone data changes.
51450         * README: Mention GNU/Hurd, x32, and HPPA support status.
51452 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
51454         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
51456 2012-06-27  Andreas Jaeger  <aj@suse.de>
51458         * manual/contrib.texi (Contributors): Add Samuel Thibault.
51460 2012-06-25  Andreas Jaeger  <aj@suse.de>
51462         * sysdeps/s390/fpu/libm-test-ulps: Update.
51464 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
51465             Thomas Schwinge  <thomas@codesourcery.com>
51467         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
51468         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
51469         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
51470         fanotify_mark.
51472 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
51474         * sysdeps/mach/start.c: Remove file.
51475         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
51476         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
51477         * sysdeps/sh/init-first.c: Likewise.
51479         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
51480         registers for frame unwinding purposes, add CFI directives.
51481         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
51482         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
51483         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
51484         Likewise.
51486         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
51487         __fortify_fail returning.
51488         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
51490         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
51491         sysdeps/sh/____longjmp_chk.S.
51492         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
51493         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
51494         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
51495         (gen-as-const-headers): Append sigaltstack-offsets.sym.
51497         * sysdeps/sh/abort-instr.h: New file.
51498         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
51499         process in case exit returns.
51501         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
51502         initialize the GOT register before use.
51504         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
51505         calculation of ARGC > 4.
51507         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
51508         meaningful names to some local labels.
51510 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51511             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51513         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
51514         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
51515         (__arch_compare_and_exchange_val_16_acq): Likewise.
51516         (__arch_compare_and_exchange_val_32_acq): Likewise.
51517         (atomic_exchange_and_add): Fix gUSA sequence.
51518         (atomic_add): Likewise.
51519         (atomic_add_negative): Likewise.
51520         (atomic_add_zero): Likewise.
51521         (atomic_bit_test_set): Likewise.
51523 2012-06-22  Andreas Schwab  <schwab@redhat.com>
51525         [BZ #13579]
51526         * include/link.h (struct link_map): Add l_free_initfini.
51527         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
51528         l_initfini.
51529         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
51530         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
51531         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
51532         set.
51534 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
51536         * configure.in: Use AC_LANG_SOURCE.
51537         * configure: Regenerate.
51539 2012-06-22  Roland McGrath  <roland@hack.frob.com>
51541         * configure.in (libc_cv_localstatedir): New substituted variable.
51542         * configure: Regenerated.
51543         * config.make.in (localstatedir): New variable, substituted from
51544         libc_cv_localstatedir.
51545         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
51546         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
51547         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
51548         * sysdeps/gnu/configure: Regenerated.
51550 2012-06-21  Jeff Law  <law@redhat.com>
51552         [BZ #14277]
51553         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
51554         free.  Simplify list management for _LIBC case.
51556 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
51558         [BZ #14273]
51559         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
51560         Clear sign bit of 64-bit integer value before comparing against
51561         overflow value.
51563         * sysdeps/mach/configure: Regenerated.
51565 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
51567         [BZ #14278]
51568         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
51570 2012-06-21  Jeff Law  <law@redhat.com>
51572         [BZ #13882]
51573         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
51574         uint16_t for elements in the "seen" array to avoid char overflows.
51575         * elf/dl-fini.c (_dl_sort_fini): Likewise.
51576         * elf/dl-open.c (dl_open_worker): Likewise.
51578 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
51580         * scripts/list-sources.sh: Scan PORTS for translations.
51581         * po/libc.pot: Regenerated.
51583 2012-06-21  Andreas Jaeger  <aj@suse.de>
51585         [BZ #12194]
51586         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
51587         warning.
51588         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
51589         * bits/byteswap-16.h (__bswap_16): Likewise.
51590         * bits/byteswap.h (__bswap_constant_16): Likewise.
51592 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
51594         [BZ #14117]
51595         * sysdeps/i386/fpu_control.h: Removed.
51596         * sysdeps/x86_64/fpu_control.h: Moved to ...
51597         * sysdeps/x86/fpu_control.h: Here.
51599         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
51600         (_FPU_SETCW): Likewise.
51602 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
51604         [BZ #14117]
51605         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
51606         * sysdeps/x86/fpu/bits/mathinline.h: This.
51607         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
51609         [BZ #14050]
51610         [BZ #14117]
51611         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
51612         functions if __x86_64__ is defined.
51614 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
51616         * string/endian.h: Add !__ASSEMBLER__ condition for including
51617         conversion interfaces.
51619 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
51621         [BZ #14241]
51622         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
51623         of ABS(x) in calculating zero to negative powers other than odd
51624         integers.
51625         * math/libm-test.inc (pow_test): Add more tests.
51627 2012-06-15  Andreas Jaeger  <aj@suse.de>
51629         * manual/contrib.texi (Contributors): Update entry of Liubov
51630         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
51631         Machado Filho.
51633 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
51635         * string/string.h: Add __wur to GNU version of strerror_r.
51637 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
51639         [BZ #14229]
51640         * string/Makefile (tests): Add tst-strtok_r.
51641         * string/tst-strtok_r.c: New file.
51642         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
51643         RAX_LP/RDX_LP on SAVE_PTR.
51645 2012-06-14  Roland McGrath  <roland@hack.frob.com>
51647         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
51649 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
51651         * libm_test.inc (csqrt_test): Allow more spurious underflow
51652         exceptions.
51653         (j0_test): Likewise.
51654         (j1_test): Likewise.
51655         (y0_test): Likewise.
51656         (y1_test): Likewise.
51658 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
51660         * po/Makefile (libc.pot): Use UTF-8 charset.
51662 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
51664         [BZ #14210]
51665         Suppress sign-conversion warning from FD_SET.
51666         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
51667         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
51668         not unsigned long int.
51669         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
51671 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
51673         [BZ #14050]
51674         [BZ #14117]
51675         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
51676         __extern_always_inline instead of __extern_inline.
51677         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
51678         (__signbit): Likewise.
51679         (__signbitl): Support C++ namespace.
51680         (lrintf): New inline function.
51681         (lrint): Likewise.
51682         (llrintf): Likewise.
51683         (llrint): Likewise.
51684         (fmaxf): Likewise.
51685         (fmax): Likewise.
51686         (fminf): Likewise.
51687         (fmin): Likewise.
51688         (rint): Likewise.
51689         (rintf): Likewise.
51690         (ceil): Likewise.
51691         (ceilf): Likewise.
51692         (floor): Likewise.
51693         (floorf): Likewise.
51694         (nearbyint): Likewise.
51695         (nearbyintf): Likewise.
51697 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
51699         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
51700         non-default versions.
51702 2012-06-11  Roland McGrath  <roland@hack.frob.com>
51704         [BZ #14218]
51705         * manual/argp.texi (Argp): Reword argp_parse description slightly.
51707 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
51709         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
51710         (FE_UPWARD, FE_DOWNWARD): Don't define.
51711         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
51712         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
51714         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
51715         reading it.
51716         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
51717         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51719 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51721         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51722         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
51723         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
51724         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
51726 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
51728         [BZ #14117]
51729         * sysdeps/i386/fpu/bits/fenv.h: Removed.
51730         * sysdeps/i386/fpu/Implies: New file.
51731         * sysdeps/x86_64/fpu/Implies: Likewise.
51732         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
51733         * sysdeps/x86/fpu/bits/fenv.h: This.
51735         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
51736         __SSE_MATH__.
51738 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51740         [BZ #14134]
51741         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
51742         character 0xffff that matches the last element of the
51743         conversion table.
51745 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51747         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
51748         fmodl commit.
51750 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51752         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
51753         values higher than 25.6283.
51755 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51757         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
51758         subnormal exponent extraction and add some __builtin_expect.
51759         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
51760         Fix for subnormal mantissa calculation.
51762 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
51764         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
51765         cpu2 is -1 and errno is not ENOSYS.
51767 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
51769         [BZ #14117]
51770         * sysdeps/i386/i486/bits/string.h: Renamed to ...
51771         * sysdeps/x86/bits/string.h: This.
51772         * sysdeps/x86_64/bits/string.h: Removed.
51774         * sysdeps/i386/i486/bits/string.h: Define inline functions only
51775         if not compiling for x86-64, but compiling for >= i486.
51777         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
51778         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
51780         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
51781         New macro from Linux kernel 3.4.0.
51782         (FP_XSTATE_MAGIC2): Likewise.
51783         (FP_XSTATE_MAGIC2_SIZE): Likewise.
51784         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
51785         (struct _fpx_sw_bytes): New struct.
51786         (struct _xsave_hdr): Likewise.
51787         (struct _ymmh_state): Likewise.
51788         (struct _xstate): Likewise.
51790         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
51791         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
51792         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
51793         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
51794         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
51795         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
51797         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
51798         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
51799         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
51800         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
51801         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
51802         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
51804 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51806         [BZ #13743]
51807         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
51808         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
51809         (sysdep_headers): Include sys/platform/ppc.h.
51810         * sysdeps/powerpc/test-gettimebase.c: Test for
51811         __ppc_get_timebase() to catch future ISA opcode/insn changes.
51812         * manual/Makefile (appendices): Include platform.texi.
51813         * manual/contrib.texi (Contributors): Update @node pointers.
51814         * manual/maint.texi (Maintenance): Likewise.
51815         (Platform): New node.
51816         * manual/platform.texi: New file.  Document the new features.
51818 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51819             Jakub Jelinek  <jakub@redhat.com>
51821         [BZ #14188]
51822         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
51823         where __builtin_expect is unavailable.
51825 2012-06-03  David S. Miller  <davem@davemloft.net>
51827         * stdlib/longlong.h: Updated from GCC.
51829 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
51831         [BZ #14042]
51832         * sysdeps/powerpc/powerpc32/mcount.c: New file.
51833         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
51834         __mcount_internal.
51835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
51836         (GLIBC_2.16): Likewise.
51838 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
51840         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
51842 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
51844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
51845         (default-abi): New variable.
51846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
51847         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
51848         variable.
51849         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
51850         Likewise.
51851         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
51852         Likewise.
51853         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
51854         Likewise.
51856         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
51857         definition.  Document in comment.
51859 2012-06-01  David S. Miller  <davem@davemloft.net>
51861         * stdlib/longlong.h: Updated from GCC.
51863 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
51865         [BZ #14117]
51866         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
51867         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
51868         sys/debugreg.h sys/io.h here.
51869         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
51870         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
51871         sys/io.h.
51872         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
51873         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
51874         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
51875         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
51876         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
51877         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
51879         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
51880         Define only if __x86_64__ is defined.
51882 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
51884         [BZ #14048]
51885         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
51886         Use int64_t for variable i.
51887         * math/libm-test.inc (fmod_test): Add more tests.
51889         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
51890         z computation is not scheduled after fetestexcept.
51891         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
51892         Use math_force_eval instead of asm to ensure calculation scheduled
51893         before exception test.
51894         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
51895         Ensure a1 + u.d computation is not scheduled after fetestexcept.
51897 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
51899         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
51900         computation is not scheduled after fetestexcept.
51902 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
51904         [BZ #14117]
51905         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
51906         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
51908 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51910         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
51911         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51913 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
51915         [BZ #14117]
51916         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
51917         <bits/wordsize.h>.
51918         (__WCHAR_MIN): Support __WORDSIZE == 64.
51919         (__WCHAR_MAX): Likewise.
51921         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
51922         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
51924         [BZ #14183]
51925         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
51926         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
51928         [BZ #14117]
51929         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
51930         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
51932         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
51933         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
51935         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
51936         Defined to 1 if __x86_64__ isn't defined.
51937         (_STAT_VER_LINUX_OLD): New.
51938         (st_atime): Remove duplicate.
51939         (st_mtime): Likewise.
51940         (st_ctime): Likewise.
51942 2012-05-31  David S. Miller  <davem@davemloft.net>
51944         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
51945         entries.
51947 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
51949         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
51950         gen-libm-test.pl.
51952         [BZ #14132]
51953         * elf/dl-reloc.c: Include <_itoa.h>.
51954         (_dl_reloc_bad_type): Remove use of INTUSE.
51955         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
51956         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
51957         * stdio-common/psiginfo.c (psiginfo): Likewise.
51958         * stdio-common/psignal.c (psignal): Likewise.
51959         * string/strsignal.c (strsignal): Likewise.
51960         * include/signal.h (_sys_siglist): Declare hidden proto.
51961         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
51962         INTVARDEF with libc_hidden_data_def.
51963         * stdio-common/itoa-udigits.c: Likewise.
51964         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
51965         (_itoa_lower_digits_internal): Remove declaration.
51966         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
51967         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
51968         (_sys_sigabbrev_internal): Remove aliases.
51969         (_sys_siglist): Define hidden alias.
51971 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
51973         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51974         bits/sysctl.h.
51976 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
51978         [BZ #14117]
51979         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
51980         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
51982         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
51983         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
51984         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
51985         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
51986         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
51987         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
51989         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
51990         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
51991         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
51993         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
51994         with __addr.
51995         (insw): Likewise.
51996         (insl): Likewise.
51997         (outsb): Likewise.
51998         (outsw): Likewise.
51999         (outsl): Likewise.
52001         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
52002         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
52003         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
52005         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
52006         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
52007         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
52008         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
52009         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
52010         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
52012         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
52013         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
52015         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
52016         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
52018         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
52019         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
52020         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
52022         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
52023         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
52024         to ...
52025         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
52027         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
52028         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
52029         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
52031         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
52032         for x86-64.
52033         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
52035 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
52037         * math/math.h (M_El): Use two more decimal places.
52038         (M_LOG2El): Likewise.
52039         (M_LOG10El): Likewise.
52040         (M_LN2l): Likewise.
52041         (M_LN10l): Likewise.
52042         (M_PIl): Likewise.
52043         (M_PI_2l): Likewise.
52044         (M_PI_4l): Likewise.
52045         (M_1_PIl): Likewise.
52046         (M_2_PIl): Likewise.
52047         (M_2_SQRTPIl): Likewise.
52048         (M_SQRT2l): Likewise.
52049         (M_SQRT1_2l): Likewise.
52051 2012-05-31  David S. Miller  <davem@davemloft.net>
52053         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
52054         values between float registers.
52055         * sysdeps/sparc/sparc64/memset.S: Likewise.
52056         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52058 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
52060         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
52061         -D_FORTIFY_SOURCE=1.
52062         (CPPFLAGS-tst-longjmp_chk.c): Define.
52063         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
52064         (CPPFLAGS-tst-longjmp_chk2.c): Define.
52065         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
52066         CFLAGS-tst-wchar-h.c.
52068 2012-05-31  Marek Polacek  <polacek@redhat.com>
52070         [BZ #14132]
52071         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
52072         __endmntent_internal): Remove declaration.
52073         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
52074         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
52075         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
52077 2012-05-30  David S. Miller  <davem@davemloft.net>
52079         * sysdeps/sparc/sparc32/soft-fp/q_util.c
52080         (___Q_simulate_exceptions): Use real FP ops rather than writing
52081         into the %fsr.
52082         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
52083         Likewise.
52085 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52087         [BZ #14117]
52088         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
52089         * sysdeps/x86/bits/xtitypes.h: This.
52091         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
52092         * sysdeps/x86/bits/wordsize.h: This.
52094         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
52095         * sysdeps/x86/bits/huge_vall.h: This.
52097         * sysdeps/i386/bits/select.h: Removed.
52098         * sysdeps/x86_64/bits/select.h: Renamed to ...
52099         * sysdeps/x86/bits/select.h: This.
52101         * sysdeps/i386/bits/setjmp.h: Removed.
52102         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
52103         * sysdeps/x86/bits/setjmp.h: This.
52105         * sysdeps/i386/bits/mathdef.h: Removed.
52106         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
52107         * sysdeps/x86/bits/mathdef.h: This.
52109 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
52111         [BZ #14132]
52112         * include/sys/socket.h (__connect_internal)
52113         (__libc_sa_len_internal): Remove declaration.
52114         (__connect, __libc_sa_len): Declare hidden_proto.
52115         (SA_LEN): Remove use of INTUSE.
52116         * socket/connect.c: Add libc_hidden_def.
52117         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
52118         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
52119         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
52120         alias.
52121         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
52122         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
52123         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
52124         of adding _internal alias.
52126 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52128         [BZ #14117]
52129         * sysdeps/i386/bits/link.h: Removed.
52130         * sysdeps/i386/bits/linkmap.h: Likewise.
52131         * sysdeps/x86_64/bits/link.h: Renamed to ...
52132         * sysdeps/x86/bits/link.h: This.
52133         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
52134         * sysdeps/x86/bits/linkmap.h: This.
52136         * sysdeps/i386/bits/endian.h: Removed.
52137         * sysdeps/x86_64/bits/endian.h: Renamed to ...
52138         * sysdeps/x86/bits/endian.h: This.
52140         * sysdeps/i386/bits/byteswap.h: Removed.
52141         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52142         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
52143         * sysdeps/x86/bits/byteswap.h: This.
52144         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
52145         * sysdeps/x86/bits/byteswap-16.h: This.
52146         * sysdeps/i386/Implies: Add x86.
52147         * sysdeps/x86_64/Implies: Likewise.
52149 2012-05-30  David S. Miller  <davem@davemloft.net>
52151         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
52152         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
52153         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
52154         (FP_TRAPPING_EXCEPTIONS): Define.
52155         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
52156         (FP_TRAPPING_EXCEPTIONS): Define.
52157         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
52158         subnormals only when inexact has been signalled or underflow
52159         exceptions are enabled.
52160         (_FP_PACK_CANONICAL): Likewise.
52162 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52164         [BZ #14183]
52165         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
52166         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
52168 2012-05-30  Richard Henderson  <rth@twiddle.net>
52170         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
52171         with #ifndef NOT_IN_libc.
52173         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
52174         marked to avoid plt entry.
52176 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52178         [BZ #14112]
52179         * Makeconfig (default-abi): New macro.
52180         (abi-includes): Likewise.
52181         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
52182         $(abi-$(default-abi)-lib-soname) for soname if defined.
52183         ($(common-objpfx)gnu/lib-names.stmp): Generate from
52184         abi-variants.
52185         * Makefile (installed-stubs): Likewise.
52186         * include/stubs-biarch.h: Removed.
52187         * scripts/lib-names.awk: Only handle one library at a time.
52188         * scripts/soversions.awk: Remove WORDSIZE support.
52189         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
52190         entries.
52191         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
52192         Removed.
52193         (syscall-list-default-condition): Likewise.
52194         (syscall-list-default-condition): Likewise.
52195         (syscall-list-includes): Likewise.
52196         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
52197         syscall-list-* with abi-*.  Handle undefined abi-variants.
52198         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
52199         * sysdeps/unix/sysv/linux/i386/Implies: New file.
52200         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
52201         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
52202         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
52203         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
52204         Removed.
52205         (syscall-list-32-options): Likewise.
52206         (syscall-list-32-condition): Likewise.
52207         (syscall-list-64-options): Likewise.
52208         (syscall-list-64-condition): Likewise.
52209         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
52210         macro.
52211         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
52212         Renamed to ...
52213         (abi-*): This.
52214         (abi-64-ld-soname): New macro.
52215         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
52216         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
52217         Renamed to ...
52218         (abi-*): This.
52219         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
52220         * sysdeps/x86_64/x32/shlib-versions: Likewise.
52222 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
52224         * sysdeps/unix/sysv/linux/kernel-features.h
52225         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
52226         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
52227         include <kernel-features.h>.
52228         [!__NR_ftruncate64]: Remove conditional code.
52229         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52230         [__NR_ftruncate64]: Make code unconditional.
52231         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52232         * sysdeps/unix/sysv/linux/truncate64.c: Do not
52233         include <kernel-features.h>.
52234         [!__NR_ftruncate64]: Remove conditional code.
52235         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52236         [__NR_ftruncate64]: Make code unconditional.
52237         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
52239         include <kernel-features.h>.
52240         [!__NR_ftruncate64]: Remove conditional code.
52241         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52242         [__NR_ftruncate64]: Make code unconditional.
52243         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52245         include <kernel-features.h>.
52246         [!__NR_ftruncate64]: Remove conditional code.
52247         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52248         [__NR_ftruncate64]: Make code unconditional.
52249         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52251         * configure.in (libc_cv_fpie): Weaken to a compile test using
52252         LIBC_TRY_CC_OPTION.
52253         * configure: Regenerated.
52255 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
52258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
52259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
52260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52261         Refreshed.
52262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
52263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
52264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
52265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
52266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
52267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52268         Refreshed.
52270 2012-05-27  David S. Miller  <davem@davemloft.net>
52272         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
52273         (___Q_zero): New.
52274         (__Q_simulate_exceptions): Return void.  Change to simulate
52275         exceptions by writing into the %fsr.
52276         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
52277         (__Qp_handle_exceptions): Likewise.
52278         (numbers): Delete.
52279         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
52280         __Qp_handle_exceptions.
52281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
52282         __Qp_handle_exceptions.
52283         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
52284         as unused and give dummy FP_RND_NEAREST initializer.
52285         (FP_INHIBIT_RESULTS): Define.
52286         (___Q_simulate_exceptions): Update declaration.
52287         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
52288         formatting.
52289         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
52290         as unused and give dummy FP_RND_NEAREST initializer.
52291         (__Qp_handle_exceptions): Update declaration.
52292         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
52293         formatting.
52295 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
52297         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
52298         the temporary FPU control word.
52299         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
52300         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
52301         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
52302         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
52303         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
52304         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
52305         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
52306         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
52307         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
52308         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
52309         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52311 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52313         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
52314         fields.
52316 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
52318         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
52319         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
52320         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
52321         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
52322         Likewise.
52323         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
52324         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
52325         Likewise.
52327 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
52329         * po/h.po: Update from translation team.
52331 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
52333         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
52335         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
52336         handling of denormals.
52337         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52338         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
52339         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52340         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52341         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52342         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
52343         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
52344         Likewise.
52346 2012-05-26  Marek Polacek  <polacek@redhat.com>
52348         [BZ #14152]
52349         * math/libm-test.inc (fma_test): Don't always expect underflow
52350         exception.
52352 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52354         [BZ #12416]
52355         * elf/tst-execstack.c: Include stackinfo.h.
52356         (do_test): Adjust test case to ensure that pthread_getattr_np
52357         behaviour remains the same after marking stack executable.
52359 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
52361         * sysdeps/unix/sysv/linux/kernel-features.h
52362         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
52363         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
52364         kernel-features.h.
52365         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
52366         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
52367         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
52368         kernel-features.h.
52369         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
52370         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
52372 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
52374         * configure.in: Define the default includes to being none.
52375         * configure: Regenerated.
52377 2012-05-25  Roland McGrath  <roland@hack.frob.com>
52379         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
52380         * sysdeps/x86_64/setjmp.S: Likewise.
52381         * sysdeps/i386/bsd-setjmp.S: Likewise.
52382         * sysdeps/i386/bsd-_setjmp.S: Likewise.
52383         * sysdeps/i386/setjmp.S: Likewise.
52384         * sysdeps/i386/__longjmp.S: Likewise.
52385         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
52386         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
52388         * include/stap-probe.h: New file.
52389         * configure.in: Handle --enable-systemtap.
52390         * configure: Regenerated.
52391         * config.h.in (USE_STAP_PROBE): New #undef.
52392         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
52393         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
52394         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
52396 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
52398         [BZ #13717]
52399         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52400         to 2.4.0 where earlier.
52401         * sysdeps/unix/sysv/linux/configure: Regenerated.
52402         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52403         <kernel-features.h>.
52404         [__ASSUME_32BITUIDS]: Make code unconditional.
52405         [!__ASSUME_32BITUIDS]: Remove conditional code.
52406         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
52407         <kernel-features.h>.
52408         [__ASSUME_32BITUIDS]: Make code unconditional.
52409         [!__ASSUME_32BITUIDS]: Remove conditional code.
52410         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
52411         [__ASSUME_32BITUIDS]: Make code unconditional.
52412         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
52413         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
52414         <kernel-features.h>.
52415         [__ASSUME_32BITUIDS]: Make code unconditional.
52416         [!__ASSUME_32BITUIDS]: Remove conditional code.
52417         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
52418         <kernel-features.h>.
52419         [__ASSUME_32BITUIDS]: Make code unconditional.
52420         [!__ASSUME_32BITUIDS]: Remove conditional code.
52421         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
52422         <kernel-features.h>.
52423         [__ASSUME_32BITUIDS]: Make code unconditional.
52424         [!__ASSUME_32BITUIDS]: Remove conditional code.
52425         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
52426         <kernel-features.h>.
52427         [__ASSUME_32BITUIDS]: Make code unconditional.
52428         [!__ASSUME_32BITUIDS]: Remove conditional code.
52429         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52430         <kernel-features.h>.
52431         [__ASSUME_32BITUIDS]: Make code unconditional.
52432         [!__ASSUME_32BITUIDS]: Remove conditional code.
52433         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52434         <kernel-features.h>.
52435         [__ASSUME_32BITUIDS]: Make code unconditional.
52436         [!__ASSUME_32BITUIDS]: Remove conditional code.
52437         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
52438         <kernel-features.h>.
52439         [__ASSUME_32BITUIDS]: Make code unconditional.
52440         [!__ASSUME_32BITUIDS]: Remove conditional code.
52441         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52442         <kernel-features.h>.
52443         [__ASSUME_32BITUIDS]: Make code unconditional.
52444         [!__ASSUME_32BITUIDS]: Remove conditional code.
52445         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52446         <kernel-features.h>.
52447         [__ASSUME_32BITUIDS]: Make code unconditional.
52448         [!__ASSUME_32BITUIDS]: Remove conditional code.
52449         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
52450         <kernel-features.h>.
52451         [__ASSUME_32BITUIDS]: Make code unconditional.
52452         [!__ASSUME_32BITUIDS]: Remove conditional code.
52453         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
52454         <kernel-features.h>.
52455         [__NR_setresgid] (__setresgid): Do not declare.
52456         [__ASSUME_32BITUIDS]: Make code unconditional.
52457         [!__ASSUME_32BITUIDS]: Remove conditional code.
52458         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
52459         <kernel-features.h>.
52460         [__NR_setresuid] (__setresuid): Do not declare.
52461         [__ASSUME_32BITUIDS]: Make code unconditional.
52462         [!__ASSUME_32BITUIDS]: Remove conditional code.
52463         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
52464         <kernel-features.h>.
52465         [__ASSUME_32BITUIDS]: Make code unconditional.
52466         [!__ASSUME_32BITUIDS]: Remove conditional code.
52467         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
52468         <kernel-features.h>.
52469         [__ASSUME_32BITUIDS]: Make code unconditional.
52470         [!__ASSUME_32BITUIDS]: Remove conditional code.
52471         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
52472         <kernel-features.h>.
52473         [__ASSUME_32BITUIDS]: Make code unconditional.
52474         [!__ASSUME_32BITUIDS]: Remove conditional code.
52475         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
52476         <kernel-features.h>.
52477         [__ASSUME_32BITUIDS]: Make code unconditional.
52478         [!__ASSUME_32BITUIDS]: Remove conditional code.
52479         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
52480         <kernel-features.h>.
52481         [__ASSUME_32BITUIDS]: Make code unconditional.
52482         [!__ASSUME_32BITUIDS]: Remove conditional code.
52483         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
52484         <kernel-features.h>.
52485         [__ASSUME_32BITUIDS]: Make code unconditional.
52486         [!__ASSUME_32BITUIDS]: Remove conditional code.
52487         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
52488         <kernel-features.h>.
52489         [__ASSUME_32BITUIDS]: Make code unconditional.
52490         [!__ASSUME_32BITUIDS]: Remove conditional code.
52491         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
52492         <kernel-features.h>.
52493         [__ASSUME_32BITUIDS]: Make code unconditional.
52494         [!__ASSUME_32BITUIDS]: Remove conditional code.
52495         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
52496         <kernel-features.h>.
52497         [__ASSUME_32BITUIDS]: Make code unconditional.
52498         [!__ASSUME_32BITUIDS]: Remove conditional code.
52499         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52500         <kernel-features.h>.
52501         [__ASSUME_32BITUIDS]: Make code unconditional.
52502         [!__ASSUME_32BITUIDS]: Remove conditional code.
52503         * sysdeps/unix/sysv/linux/kernel-features.h
52504         (__ASSUME_SETRESUID_SYSCALL): Remove.
52505         (__ASSUME_SETRESGID_SYSCALL): Likewise.
52506         (__ASSUME_32BITUIDS): Likewise.
52507         (__ASSUME_LDT_WORKS): Likewise.
52508         (__ASSUME_O_DIRECTORY): Likewise.
52509         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
52510         architecture but not kernel version.
52511         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52512         (__ASSUME_MMAP2_SYSCALL): Likewise.
52513         (__ASSUME_STAT64_SYSCALL): Likewise.
52514         (__ASSUME_IPC64): Likewise.
52515         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
52516         <kernel-features.h>.
52517         [__ASSUME_32BITUIDS]: Make code unconditional.
52518         [!__ASSUME_32BITUIDS]: Remove conditional code.
52519         * sysdeps/unix/sysv/linux/opendir.c: Do not include
52520         <kernel-features.h>.
52521         [__ASSUME_O_DIRECTORY]: Make code unconditional.
52522         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
52523         132096]: Remove conditional code.
52524         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
52525         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
52526         <kernel-features.h>.
52527         [__ASSUME_32BITUIDS]: Make code unconditional.
52528         [!__ASSUME_32BITUIDS]: Remove conditional code.
52529         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
52530         <kernel-features.h>.
52531         [__ASSUME_32BITUIDS]: Make code unconditional.
52532         [!__ASSUME_32BITUIDS]: Remove conditional code.
52533         * sysdeps/unix/sysv/linux/setegid.c: Do not include
52534         <kernel-features.h>.
52535         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
52536         unconditional.
52537         (__setresgid): Do not declare.
52538         [__ASSUME_32BITUIDS]: Make code unconditional.
52539         [!__ASSUME_32BITUIDS]: Remove conditional code.
52540         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
52541         <kernel-features.h>.
52542         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
52543         unconditional.
52544         (__setresuid): Do not declare.
52545         [__ASSUME_32BITUIDS]: Make code unconditional.
52546         [!__ASSUME_32BITUIDS]: Remove conditional code.
52547         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
52548         <kernel-features.h>.
52549         [__ASSUME_32BITUIDS]: Make code unconditional.
52550         [!__ASSUME_32BITUIDS]: Remove conditional code.
52551         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
52552         <kernel-features.h>.
52553         [__ASSUME_32BITUIDS]: Make code unconditional.
52554         [!__ASSUME_32BITUIDS]: Remove conditional code.
52556 2012-05-25  Richard Henderson  <rth@twiddle.net>
52558         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
52559         dl_hwcap to ifunc resolver.
52560         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
52561         elf_ifunc_invoke.
52562         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
52563         dl_hwcap to ifunc resolver.
52564         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
52566 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
52568         [BZ #14153]
52569         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
52570         for |x| <= 2**-26, not 2**-57.
52571         * math/libm-test.inc (acos_test): Do not allow spurious underflow
52572         exception.
52574 2012-05-24  Jeff Law  <law@redhat.com>
52576         * stdio-common/Makefile (tests): Add bug25.
52577         * stdio-common/bug25.c: New test.
52579 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
52581         [BZ #13576]
52582         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
52583         multiple of MALLOC_ALIGNMENT in size.
52584         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
52586 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
52588         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
52589         Require >= 256.
52590         (FILENAME_MAX): Use macro-int-constant.
52591         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
52592         (_IOFBF): Use macro-int-constant.
52593         (_IOLBF): Likewise.
52594         (_IONBF): Likewise.
52595         (SEEK_CUR): Likewise.
52596         (SEEK_END): Likewise.
52597         (SEEK_SET): Likewise.
52598         (TMP_MAX): Likewise.
52599         (EOF): Use macro-int-constant.  Require < 0.
52600         (NULL): Use macro-constant.  Require == 0.
52601         (stdin): Require type to be FILE *.
52602         (stdout): Likewise.
52603         (stderr): Likewise.
52604         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
52605         macro-int-constant.
52606         (EXIT_SUCCESS): Likewise.
52607         (NULL): Use macro-constant.  Require == 0.
52608         (RAND_MAX): Use macro-int-constant.
52609         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
52610         [C99-based standards] (strtof): Require function.
52611         [C99-based standards] (strtold): Likewise.
52612         [C99-based standards] (strtoll): Likewise.
52613         [C99-based standards] (strtoull): Likewise.
52614         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
52615         [ISO || ISO99 || ISO11] (limits.h): Likewise.
52616         [ISO || ISO99 || ISO11] (math.h): Likewise.
52617         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
52618         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
52619         [ISO || ISO99 || ISO11] (*_t): Do not allow.
52621 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
52623         [BZ #14132]
52624         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
52625         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
52626         * intl/dgettext.c (DCGETTEXT): Likewise.
52627         * intl/gettext.c (DCGETTEXT): Likewise.
52628         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
52629         * posix/regex_internal.h (gettext): Likewise.
52630         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
52631         Remove declaration.
52632         * include/argz.h (__argz_count_internal)
52633         (__argz_stringify_internal): Remove declaration.
52634         (__argz_count, __argz_stringify): Declare hidden proto.
52635         * intl/dcgettext.c: Remove use of INTDEF.
52636         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
52637         * string/argz-stringify.c: Likewise.
52638         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
52639         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
52640         Declare hidden proto.
52641         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
52642         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
52643         Declare hidden proto.
52644         * include/stdio.h (__asprintf_internal): Don't declare.
52645         (__asprintf): Don't define as macro.  Declare hidden proto.
52646         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
52647         (__fsetlocking): Declare hidden proto.
52648         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
52649         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
52650         hidden proto.
52651         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
52652         (_IO_setlinebuf): Remove use of INTUSE.
52653         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
52654         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
52655         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
52656         Remove declaration.
52657         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
52658         (_IO_do_flush): Remove use of INTUSE.
52659         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
52660         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
52661         (_IO_adjust_column, _IO_least_wmarker)
52662         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
52663         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
52664         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
52665         (_IO_default_doallocate, _IO_wdefault_doallocate)
52666         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
52667         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
52668         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
52669         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
52670         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
52671         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
52672         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
52673         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
52674         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
52675         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
52676         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
52677         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
52678         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
52679         proto.
52680         (_IO_flush_all_internal, _IO_adjust_column_internal)
52681         (_IO_default_uflow_internal, _IO_default_finish_internal)
52682         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
52683         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
52684         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
52685         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
52686         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
52687         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
52688         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
52689         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
52690         (_IO_file_close_internal, _IO_file_close_it_internal)
52691         (_IO_file_underflow_internal, _IO_file_overflow_internal)
52692         (_IO_file_init_internal, _IO_file_attach_internal)
52693         (_IO_file_fopen_internal, _IO_file_read_internal)
52694         (_IO_file_sync_internal, _IO_file_seek_internal)
52695         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
52696         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
52697         (_IO_str_underflow_internal, _IO_str_overflow_internal)
52698         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
52699         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
52700         (_IO_list_all_internal, _IO_link_in_internal)
52701         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
52702         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
52703         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
52704         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
52705         (_IO_do_write_internal, _IO_padn_internal)
52706         (_IO_getline_info_internal, _IO_getline_internal)
52707         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
52708         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
52709         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
52710         (_IO_vfscanf_internal, _IO_vfprintf_internal)
52711         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
52712         (_IO_init_internal, _IO_un_link_internal): Don't declare.
52713         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
52714         with libc_hidden_ver, remove use of INTUSE.
52715         * libio/genops.c: Likewise.
52716         * libio/freopen.c: Likewise.
52717         * libio/freopen64.c: Likewise.
52718         * libio/iofclose.c: Likewise.
52719         * libio/iofdopen.c: Likewise.
52720         * libio/iofflush.c: Likewise.
52721         * libio/iofflush_u.c: Likewise.
52722         * libio/iofgets.c: Likewise.
52723         * libio/iofgets_u.c: Likewise.
52724         * libio/iofopen.c: Likewise.
52725         * libio/iofopncook.c: Likewise.
52726         * libio/iofread.c: Likewise.
52727         * libio/iofread_u.c: Likewise.
52728         * libio/ioftell.c: Likewise.
52729         * libio/iofwrite.c: Likewise.
52730         * libio/iogetline.c: Likewise.
52731         * libio/iogets.c: Likewise.
52732         * libio/iogetwline.c: Likewise.
52733         * libio/iopadn.c: Likewise.
52734         * libio/iopopen.c: Likewise.
52735         * libio/ioseekoff.c: Likewise.
52736         * libio/ioseekpos.c: Likewise.
52737         * libio/iosetbuffer.c: Likewise.
52738         * libio/iosetvbuf.c: Likewise.
52739         * libio/ioungetc.c: Likewise.
52740         * libio/ioungetwc.c: Likewise.
52741         * libio/iovdprintf.c: Likewise.
52742         * libio/iovsprintf.c: Likewise.
52743         * libio/iovsscanf.c: Likewise.
52744         * libio/memstream.c: Likewise.
52745         * libio/obprintf.c: Likewise.
52746         * libio/oldfileops.c: Likewise.
52747         * libio/oldiofclose.c: Likewise.
52748         * libio/oldiofdopen.c: Likewise.
52749         * libio/oldiofopen.c: Likewise.
52750         * libio/oldiopopen.c: Likewise.
52751         * libio/oldstdfiles.c: Likewise.
52752         * libio/putc.c: Likewise.
52753         * libio/setbuf.c: Likewise.
52754         * libio/setlinebuf.c: Likewise.
52755         * libio/stdfiles.c: Likewise.
52756         * libio/strops.c: Likewise.
52757         * libio/vasprintf.c: Likewise.
52758         * libio/vscanf.c: Likewise.
52759         * libio/vsnprintf.c: Likewise.
52760         * libio/vswprintf.c: Likewise.
52761         * libio/wfiledoalloc.c: Likewise.
52762         * libio/wfileops.c: Likewise.
52763         * libio/wgenops.c: Likewise.
52764         * libio/wmemstream.c: Likewise.
52765         * libio/wstrops.c: Likewise.
52766         * libio/__fpurge.c: Likewise.
52767         * libio/__fsetlocking.c: Likewise.
52768         * assert/assert.c: Likewise.
52769         * debug/fgets_chk.c: Likewise.
52770         * debug/fgets_u_chk.c: Likewise.
52771         * debug/fread_chk.c: Likewise.
52772         * debug/fread_u_chk.c: Likewise.
52773         * debug/gets_chk.c: Likewise.
52774         * debug/obprintf_chk.c: Likewise.
52775         * debug/vasprintf_chk.c: Likewise.
52776         * debug/vdprintf_chk.c: Likewise.
52777         * debug/vsnprintf_chk.c: Likewise.
52778         * debug/vsprintf_chk.c: Likewise.
52779         * malloc/mtrace.c: Likewise.
52780         * misc/error.c: Likewise.
52781         * misc/syslog.c: Likewise.
52782         * stdio-common/asprintf.c: Likewise.
52783         * stdio-common/fxprintf.c: Likewise.
52784         * stdio-common/getw.c: Likewise.
52785         * stdio-common/isoc99_fscanf.c: Likewise.
52786         * stdio-common/isoc99_scanf.c: Likewise.
52787         * stdio-common/isoc99_vfscanf.c: Likewise.
52788         * stdio-common/isoc99_vscanf.c: Likewise.
52789         * stdio-common/isoc99_vsscanf.c: Likewise.
52790         * stdio-common/printf-prs.c: Likewise.
52791         * stdio-common/printf_fp.c: Likewise.
52792         * stdio-common/printf_fphex.c: Likewise.
52793         * stdio-common/printf_size.c: Likewise.
52794         * stdio-common/putw.c: Likewise.
52795         * stdio-common/scanf.c: Likewise.
52796         * stdio-common/sprintf.c: Likewise.
52797         * stdio-common/tmpfile.c: Likewise.
52798         * stdio-common/vfprintf.c: Likewise.
52799         * stdio-common/vfscanf.c: Likewise.
52800         * stdlib/strfmon_l.c: Likewise.
52801         * sunrpc/openchild.c: Likewise.
52802         * sunrpc/xdr_stdio.c: Likewise.
52803         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
52804         * sysdeps/mach/hurd/tmpfile.c: Likewise.
52806 2012-05-24  Roland McGrath  <roland@hack.frob.com>
52808         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
52810         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
52811         in the third column, to generate for the shared library an IFUNC
52812         that uses _dl_vdso_vsym.
52813         * Makerules (COMPILE.c, compile-stdin.c): New variables.
52814         * Makeconfig (object-suffixes-noshared): New variable.
52816         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
52817         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
52818         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
52819         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
52821         [BZ #14132]
52822         * include/sys/time.h (__gettimeofday): Remove macro.
52823         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
52824         * time/gettimeofday.c (__gettimeofday): Remove #undef.
52825         Remove INTDEF.
52826         (__gettimeofday): Add libc_hidden_def.
52827         (gettimeofday): Add libc_hidden_weak.
52828         * sysdeps/mach/gettimeofday.c: Likewise.
52829         * sysdeps/posix/gettimeofday.c: Likewise.
52830         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
52831         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
52832         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
52833         (__gettimeofday_internal): Remove strong_alias.
52834         (__gettimeofday): Add libc_hidden_def.
52835         (gettimeofday): Add libc_hidden_weak.
52836         * sysdeps/unix/syscalls.list (gettimeofday):
52837         Remove __gettimeofday_internal alias.
52839 2012-05-24  Daniel Jacobowitz  <drow@false.org>
52840             H.J. Lu  <hongjiu.lu@intel.com>
52842         [BZ #12495]
52843         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
52844         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
52845         (largebin_index_32_big): New.
52846         (largebin_index): Use it for 16-byte alignment.
52847         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
52848         correction with front_misalign.
52850 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
52852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
52853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
52854         Likewise.
52855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
52856         Likewise.
52857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52858         Likewise.
52859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
52860         Likewise.
52861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
52862         Likewise.
52863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
52864         Likewise.
52865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
52866         Likewise.
52867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
52868         Likewise.
52869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
52870         Likewise.
52871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
52872         Likewise.
52873         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
52874         Likewise.
52875         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
52876         Likewise.
52878         * scripts/data/c++-types-x32-linux-gnu.data: New file.
52879         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
52881 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
52883         [BZ #10846]
52884         [BZ #14036]
52885         * math/libm-test.inc (exp_test): Add test from bug 14036.
52886         (pow_test): Add test from bug 10846.
52888         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
52889         and other flags.
52890         (special_function): Do not include flags in test name.
52891         (parse_args): Likewise.
52892         * sysdeps/i386/fpu/libm-test-ulps: Update.
52893         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52894         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52895         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52898         * math/gen-libm-test.pl (%beautify): Add entries for underflow
52899         exceptions.
52900         * math/libm-test.inc ("Philosophy"): Update comment about
52901         exception testing.
52902         (UNDERFLOW_EXCEPTION): New macro.
52903         (UNDERFLOW_EXCEPTION_OK): Likewise.
52904         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
52905         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
52906         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
52907         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
52908         (INVALID_EXCEPTION_OK): Update value.
52909         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52910         (OVERFLOW_EXCEPTION_OK): Likewise.
52911         (IGNORE_ZERO_INF_SIGN): Likewise.
52912         (test_exceptions): Handle underflow exceptions.
52913         (acos_test): Update for underflow exception expectations.
52914         (cexp_test): Likewise.
52915         (clog_test): Likewise.
52916         (clog10_test): Likewise.
52917         (csqrt_test): Likewise.
52918         (ctan_test): Likewise.
52919         (ctanh_test): Likewise.
52920         (exp_test): Likewise.
52921         (exp10_test): Likewise.
52922         (exp2_test): Likewise.
52923         (expm1_test): Likewise.
52924         (fma_test): Likewise.
52925         (j0_test): Likewise.
52926         (jn_test): Likewise.
52927         (nexttoward_test): Likewise.
52928         (pow_test): Likewise.
52929         (scalbn_test): Likewise.
52930         (scalbln_test): Likewise.
52931         (tan_test): Likewise.
52932         (y1_test): Likewise.
52933         * sysdeps/i386/fpu/libm-test-ulps: Update.
52934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52936 2012-05-23  David S. Miller  <davem@davemloft.net>
52938         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52939         (__libc_sigaction): Remove unused local variables.
52941 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
52943         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
52945 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
52947         mktime: avoid signed integer overflow
52948         * time/mktime.c (__mktime_internal): Do not mishandle the case
52949         where diff == INT_MIN.
52951         mktime: simplify computation of average
52952         * time/mktime.c (ranged_convert): Use new time_t_avg function
52953         instead of rolling our own (probably-slower) code.
52955         mktime: do not assume signed right shift propagates sign bit
52956         * time/mktime.c (isdst_differ): New static function.
52957         (__mktime_internal): No need to normalize tm_isdst now.
52958         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
52959         tm_isdst values.
52961         mktime: merge another wrapv change from gnulib
52962         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
52963         from some compilers.
52965         mktime: remove incorrect attempt at unusual arithmetics
52966         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
52967         The code didn't really work on such machines anyway.
52968         (TYPE_MINIMUM): Assume two's complement.
52969         (twos_complement_arithmetic): Verify that long_int and time_t
52970         are two's complement (or unsigned, in the latter case).
52972         mktime: check signed shifts on long_int and time_t, too
52973         * time/mktime.c (SHR): Check that shifts work as desired
52974         on the types long_int and time_t too, as SHR is used on
52975         such types.
52977         mktime: do not assume 'long' is wide enough
52978         * time/mktime.c (verify): Move decl up.
52979         (long_int): New type.
52980         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
52981         to remove assumption in the code that 'long' is wide enough to
52982         store year values.  This assumption is not true on x32 and on
52983         some non-glibc platforms.
52985         mktime: merge wrapv change from gnulib
52986         * time/mktime.c (WRAPV): New macro.
52987         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
52988         (guess_time_tm, __mktime_internal): Do not assume that signed
52989         integer overflow wraps around; modern compilers generate code
52990         where this assumption is no longer valid.
52992 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
52994         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
52995         Replace "jmp L(pseudo_end)" with "ret".
52996         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
52997         Likewise.
52999 2012-05-23  Andreas Jaeger  <aj@suse.de>
53001         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
53002         * sysdeps/unix/sysv/linux/poll.c: Remove file.
53004 2012-05-23  Andreas Jaeger  <aj@suse.de>
53005             Maximilian Attems  <max@stro.at>
53007         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
53008         New macros.
53010 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53012         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
53013         code so that pseudo_end is just ret and the stack pointer is
53014         correct also for static library in error case.
53016 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
53018         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
53019         move to syscalls.list.
53020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
53021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
53022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
53023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
53025         * manual/install.texi (Running make install): Do not mention Linux
53026         kernel version for which pt_chown is not needed.
53027         (Linux): Do not mention problems with nscd with 2.0 kernels.
53028         * INSTALL: Regenerated.
53030 2012-05-23  Andreas Jaeger  <aj@suse.de>
53032         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
53033         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
53034         macro.
53035         * sysdeps/unix/sysv/linux/s390/bits/mman.h
53036         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53037         * sysdeps/unix/sysv/linux/sh/bits/mman.h
53038         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53039         * sysdeps/unix/sysv/linux/i386/bits/mman.h
53040         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53041         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
53042         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53043         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
53044         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53045         * sysdeps/unix/sysv/linux/bits/in.h
53046         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
53048 2012-05-22  Roland McGrath  <roland@hack.frob.com>
53050         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
53051         (PREPARE_VERSION): Just use assert instead, it will be elided
53052         under [NDEBUG] anyway.
53054 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53056         * sysdeps/unix/sysv/linux/Makefile: Include
53057         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
53058         (sysdep_routines): Remove sysctl.
53059         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
53060         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
53061         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
53062         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
53063         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
53065 2012-05-22  Andreas Jaeger  <aj@suse.de>
53067         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
53068         that pseudo_end is just ret and the stack pointer is correct also
53069         for static library in error case.
53071 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
53073         [BZ #14122]
53074         * nss/nsswitch.c (defconfig_entries): New variable.
53075         (__nss_database_lookup): Don't leak defconfig entries.
53076         (nss_parse_service_list): Don't leak on error paths.
53077         (free_database_entries): New function.
53078         (free_defconfig): New function.
53079         (free_mem): Move common code to free_database_entries.
53081 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53083         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
53084         Add arch_prctl.
53085         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
53087         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
53088         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
53089         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
53090         New macro.
53091         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
53092         (INTERNAL_SYSCALL_TYPES): Likewise.
53093         (LOAD_ARGS_TYPES_[1-6]): Likewise.
53094         (LOAD_REGS_TYPES_[1-6]): Likewise.
53095         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
53096         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
53098 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53100         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
53101         copysignl for GLIBC_2_0.
53102         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
53103         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
53104         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
53105         logbl for GLIBC_2_0.
53106         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
53107         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
53109 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53111         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
53112         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
53114         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
53115         Use "neg %eax".
53117         * time/mktime.c: Update copyright years.
53119 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
53121         mktime: merge comment-quoting-style change from gnulib
53122         * time/mktime.c: Quote 'like this' in comments.
53123         The GNU coding standards suggest that we no longer quote `like this',
53124         as "`" and "'" are typically rendered asymmetrically nowadays.
53125         The typical gnulib style is to quote 'like this' when quoting
53126         code, and "like this" when quoting English.
53128         * time/mktime.c (compile-command): Add "-I.".
53130         mktime: merge mktime-internal.h change from gnulib
53131         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
53133         mktime: merge time_r change from gnulib
53134         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
53136         mktime: merge DEBUG change from gnulib
53137         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
53138         case system <time.h> has a #define.
53140         mktime: merge <sys/types.h> change from gnulib
53141         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
53142         since <time.t> is now guaranteed to define time_t.
53144         mktime: merge HAVE_CONFIG_H change from gnulib
53145         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
53147 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53149         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
53150         Use "neg %eax".
53152         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
53153         __rlim_t cast.
53154         (struct rusage): Use anonymous union to pad each field to
53155         __syscall_slong_t.
53157 2012-05-21  David S. Miller  <davem@davemloft.net>
53159         * Makefules (o-iterator): Remove .s cases.
53160         (compile-command.s): Delete.
53161         (COMPILE.s): Delete.
53162         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
53164 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
53166         * configure.in (libc_cv_predef_stack_protector): Only consider
53167         "foobar" and "__stack_chk_fail" lines in libc_undefs.
53168         * configure: Regenerated.
53170 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
53172         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
53173         New macro.  Use R*LP on int and pointer.
53174         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
53175         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
53176         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
53177         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
53179         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
53180         [__WORDSIZE_TIME64_COMPAT32] instead of
53181         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
53182         (struct utmp): Likewise.
53183         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
53184         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
53185         Renamed to ...
53186         (__WORDSIZE_TIME64_COMPAT32): This.
53187         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
53188         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
53189         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
53190         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
53191         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
53192         (__WORDSIZE_TIME64_COMPAT32): New macro.
53194 2012-05-21  Andreas Jaeger  <aj@suse.de>
53196         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
53197         only if [SHARED]. Add prototype for __wcschr_ia32.
53199 2012-05-21  Roland McGrath  <roland@hack.frob.com>
53201         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
53202         of %rbp unmolested in the jmp_buf while mangling the low bits.
53203         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
53204         unmolested high bits of %rbp while demangling the low bits.
53205         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
53207 2012-05-21  Andreas Jaeger  <aj@suse.de>
53209         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
53210         * sunrpc/svc_simple.c: Use it for registerrpc.
53211         * sunrpc/xcrypt.c: Use it for passwd2des.
53213         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
53215 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
53217         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
53218         Don't define if [__SYSCALL_WORDSIZE != 32].
53219         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
53220         New macro.
53222 2012-05-21  Bruno Haible  <bruno@clisp.org>
53223             Andreas Jaeger  <aj@suse.de>
53225         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
53226         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
53227         inptr and inend for must_buffer_ch.
53228         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
53229         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
53230         * stdio-common/Makefile (tests): Remove bug15.
53231         (bug15-ENV): Remove macro.
53232         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
53233         anymore.
53235 2012-05-19  Andreas Jaeger  <aj@suse.de>
53236             Roland McGrath  <roland@hack.frob.com>
53238         * manual/contrib.texi: Completely rewritten. It contains now an
53239         alphabetical list of contributors and their contributions.
53241 2012-05-21  Richard Henderson  <rth@twiddle.net>
53243         * misc/getauxval.c (__getauxval): Use unsigned long int.
53244         * misc/sys/auxv.h: Include <sys/cdefs.h>.
53245         (getauxval): Use unsigned long int.
53247 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
53249         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
53251 2012-05-21  Roland McGrath  <roland@hack.frob.com>
53253         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
53254         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
53255         __alignof__ (long double).
53257 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53261 2012-05-20  Richard Henderson  <rth@twiddle.net>
53263         * misc/getauxval.c: New file.
53264         * misc/sys/auxv.h: New file.
53265         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
53266         (routines): Add getauxval.
53267         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
53268         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
53269         * elf/dl-sysdep.c (_dl_auxv): Remove.
53270         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
53271         * elf/dl-support.c (_dl_auxv): New variable.
53272         (_dl_aux_init): Initialize it.
53273         * manual/startup.texi (Auxiliary Vector): New node.
53274         * sysdeps/generic/bits/hwcap.h: New file.
53275         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
53276         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
53277         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
53278         * sysdeps/sparc/sysdep.h: ... here.  Include it.
53279         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
53280         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
53281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53282         Update.
53283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
53284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
53285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
53286         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
53287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
53288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
53289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
53290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
53292 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53296 2012-05-19  David S. Miller  <davem@davemloft.net>
53298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53300 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
53302         [BZ #14123]
53303         * math/s_ccosh.c: Include <float.h>
53304         (__ccosh): Avoid internal overflow calculating sinh and cosh
53305         values before multiplying by sin and cos values.
53306         * math/s_ccoshf.c: Likewise.
53307         * math/s_ccoshl.c: Likewise.
53308         * math/s_csin.c: Likewise.
53309         * math/s_csinf.c: Likewise.
53310         * math/s_csinl.c: Likewise.
53311         * math/s_csinh.c: Likewise.
53312         * math/s_csinhf.c: Likewise.
53313         * math/s_csinhl.c: Likewise.
53314         * math/libm-test.inc (ccos_test): Add more tests.
53315         (ccosh_test): Likewise.
53316         (csin_test): Likewise.
53317         (csinh_test): Likewise.
53318         * sysdeps/i386/fpu/libm-test-ulps: Update.
53319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53321 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
53323         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
53324         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
53326         * sysdeps/x86_64/x32/_itoa.h: Add comment.
53328 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
53330         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
53331         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
53332         * sysdeps/powerpc/soft-fp/Versions: Likewise.
53333         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
53334         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
53335         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
53336         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
53337         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
53338         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
53339         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
53340         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
53341         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
53342         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
53343         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
53344         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
53345         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
53346         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
53347         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
53348         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
53349         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
53350         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
53351         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
53352         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
53353         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
53354         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
53355         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
53356         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
53357         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
53358         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
53359         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
53360         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
53362 2012-05-18  Andreas Jaeger  <aj@suse.de>
53364         * csu/.gitignore: Delete.
53366 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
53368         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
53369         (timex): Use __syscall_slong_t.
53371 2012-05-18  Andreas Jaeger  <aj@suse.de>
53372             Carlos O'Donell  <carlos_odonell@mentor.com>
53374         * manual/install.texi (Configuring and compiling): Update
53375         description about files modified in the source directory.
53376         * INSTALL: Regenerated.
53378 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
53380         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
53381         value.  Use "or" to set return value to -1.
53382         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
53383         negate return value.
53385 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53387         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
53388         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
53389         failure if the compiler has Graphite support disabled.
53390         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
53391         Likewise.
53392         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
53393         (CFLAGS-memmove.c): Likewise.
53394         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
53395         Likewise.
53397 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
53399         * sysdeps/x86_64/x32/_itoa.h: New file.
53401         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
53402         getdents system call only if kernel and user dirents have the
53403         same d_ino and d_off.
53405         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53406         LLONG_MAX != LONG_MAX.
53407         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53408         (_fitoa_word): Likewise.
53410         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
53411         years.
53412         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
53413         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
53414         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
53416         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
53417         include <bits/wordsize.h>.  Check __x86_64__ instead of
53418         __WORDSIZE.
53419         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
53420         if __x86_64__ is defined.  Use anonymous union on fpstate.
53422         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
53423         anonymous union.
53425 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
53427         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
53428         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
53429         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
53430         Refer to _rtld_local_ro instead of _rtld_global_ro.
53431         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
53432         Likewise.
53433         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
53434         Likewise.
53435         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
53436         Likewise.
53437         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
53438         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
53439         of _rtld_global, and rtld_progname instead of _dl_argv[0].
53441         [BZ #10882]
53442         * sysdeps/powerpc/powerpc32/dl-machine.c
53443         (__elf_machine_runtime_setup) [PROF]: Don't reference
53444         _dl_prof_resolve.
53446 2012-05-18  Andreas Jaeger  <aj@suse.de>
53448         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
53449         function only available for GCCs before 3.4 since GCC 3.4
53450         introduced a builtin.
53451         (lrint): Likewise.
53452         (llrintf): Likewise.
53453         (llrint): Likewise.
53454         (fmaxf): Likewise.
53455         (fmax): Likewise.
53456         (fminf): Likewise.
53457         (fmin): Likewise.
53458         (rint): Likewise.
53459         (rintf): Likewise.
53460         (nearbyint): Likewise.
53461         (nearbyintf): Likewise.
53462         (ceil): Likewise.
53463         (ceilf): Likewise.
53464         (floor): Likewise.
53465         (floorf): Likewise.
53467 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53469         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
53470         on both fields and cast pointer to __syscall_ulong_t.
53472         * bits/types.h (__fsword_t): New type.
53473         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
53474         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
53475         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53476         (__FSWORD_T_TYPE): Likewise.
53477         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53478         (__FSWORD_T_TYPE): Likewise.
53479         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53480         (__FSWORD_T_TYPE): Likewise.
53481         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
53482         (__FSWORD_T_TYPE): Likewise.
53483         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
53484         __SWORD_TYPE with __fsword_t.
53485         (statfs64): Likewise.
53487 2012-05-17  David S. Miller  <davem@davemloft.net>
53489         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
53491 2012-05-17  Andreas Jaeger  <aj@suse.de>
53493         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
53494         warning.
53496 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53498         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
53500 2012-05-17  Andreas Jaeger  <aj@suse.de>
53502         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
53503         when it is used.
53505 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
53507         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
53509 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53511         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
53512         * sysdeps/x86_64/tst-mallocalign1.c: New file.
53514 2012-05-17  Andreas Jaeger  <aj@suse.de>
53515             Carlos O'Donell  <carlos_odonell@mentor.com>
53517         [BZ #14059]
53518         * sysdeps/x86_64/multiarch/init-arch.h
53519         (bit_YMM_Usable): Rename to...
53520         (bit_AVX_Usable): ... this.
53521         (bit_FMA4_Usable): New macro.
53522         (bit_XMM_state): New macro.
53523         (bit_YMM_state): New macro.
53524         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
53525         [__ASSEMBLER__] (index_AVX_Usable): ... this.
53526         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
53527         (CPUID_OSXSAVE): New macro.
53528         (CPUID_AVX): New macro.
53529         (CPUID_FMA4): New macro.
53530         (index_YMM_Usable): Rename to...
53531         (index_AVX_Usable): ... this.
53532         (HAS_AVX): Use HAS_ARCH_FEATURE.
53533         (HAS_FMA4): Likewise.
53534         (HAS_YMM_USABLE): Remove.
53535         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53536         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
53537         are present.
53538         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
53539         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
53540         * sysdeps/x86_64/multiarch/Makefile: Likewise.
53541         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
53542         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
53544 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
53546         * math/libm-test.c: Support platforms without multiple rounding modes.
53547         * math/bug-nextafter.c: Support platforms without FP exceptions.
53548         * math/bug-nexttoward.c: Likewise.
53549         * math/test-fenv.c: Likewise.
53550         * math/test-misc.c: Likewise.
53551         * stdlib/bug-getcontext.c: Likewise.
53553 2012-05-17  Andreas Jaeger  <aj@suse.de>
53555         * manual/examples/search.c (critter_cmp): Change signature to
53556         avoid warnings.
53557         * manual/string.texi (Collation Functions): Likewise.
53559 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53561         * bits/types.h: Fold copyright years.
53562         * bits/typesizes.h: Likewise.
53563         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
53564         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
53565         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
53566         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
53567         * time/time.h: Likewise.
53569 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
53571         [BZ #208]
53572         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
53573         in instead of returning them.  Return void.
53574         (__libc_mallinfo): Accumulate over all arenas.
53575         (__malloc_stats): Adjust for change in int_mallinfo interface.
53577 2012-05-16  Roland McGrath  <roland@hack.frob.com>
53579         [BZ #10375]
53580         * configure.in (NM): Add AC_CHECK_TOOL for it.
53581         (libc_extra_cflags): New substituted variable.
53582         Check for -fstack-protector being used implicitly.
53583         * configure: Regenerated.
53584         * config.make.in (config-extra-cflags): New variable,
53585         gets @libc_extra_cflags@.
53586         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
53588         [BZ #10375]
53589         * configure.in: Check for _FORTIFY_SOURCE being predefined.
53590         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
53591         * configure: Regenerated.
53592         * config.make.in (CPPUNDEFS): New substituted variable.
53593         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
53594         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
53595         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
53597 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53599         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
53600         (mq_attr): Use __syscall_slong_t.
53602 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53604         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
53605         Check __x86_64__ instead of __WORDSIZE.
53606         (_STAT_VER_LINUX): Likewise.
53607         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
53608         __syscall_ulong_t and __syscall_slong_t.
53609         (stat64): Likewise.
53611 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53613         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
53615 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53617         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
53619 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53621         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
53622         __syscall_ulong_t.
53624         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
53625         include <bits/wordsize.h>.  Check __x86_64__ instead of
53626         __WORDSIZE.
53627         (greg_t): Use "__extension__ long long int" if __x86_64__ is
53628         defined.
53629         (mcontext_t): Replace "unsigned long" with "unsigned long long".
53631         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
53632         include <bits/wordsize.h>.  Check __x86_64__ instead of
53633         __WORDSIZE.
53634         (user_regs_struct): Use "__extension__ unsigned long long"
53635         instead of "unsigned long" if __x86_64__ is defined.
53636         (user): Likewise.  Pad after pointer field if __ILP32__ is
53637         defined.
53639 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
53641         * configure.in (makeinfo): Require version 4.5 or later.  Allow
53642         versions 5 to 9.
53643         * configure: Regenerated.
53644         * manual/install.texi (texinfo): Increase version requirement to
53645         4.5 or later.
53646         * INSTALL: Regenerated.
53648         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
53650 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53652         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
53654         * sysdeps/x86_64/x32/ffs.c: New file.
53656         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
53657         __syscall_ulong_t.
53658         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
53659         defined.  Use __syscall_ulong_t.
53660         (shminfo): Use __syscall_ulong_t.
53661         (shm_info): Likewise.
53663         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
53664         __syscall_ulong_t.
53666         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
53667         <bits/wordsize.h>.
53668         (msgqnum_t): Use __syscall_ulong_t.
53669         (msglen_t): Likewise.
53670         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
53671         __syscall_ulong_t.
53673         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
53674         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
53676         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
53678         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
53679         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
53681         * sysvipc/sys/msg.h (msgbuf): Replace long int with
53682         __syscall_slong_t.
53684         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
53685         include <bits/wordsize.h>.  Check __x86_64__ instead of
53686         __WORDSIZE.
53688         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
53689         "unsigned long long int" if __x86_64__ is defined.
53690         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
53692         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
53693         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
53694         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
53696         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
53697         <stdint.h>.
53698         (GET_PC): Cast to uintptr_t first.
53699         (GET_FRAME): Likewise.
53700         (GET_STACK): Likewise.
53702         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
53703         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
53704         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
53705         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
53706         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
53707         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
53708         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
53709         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
53710         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
53711         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
53712         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
53713         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
53714         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
53715         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
53716         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
53717         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
53718         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
53719         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
53720         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
53721         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
53722         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
53723         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
53724         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
53725         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
53726         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
53727         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
53728         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
53729         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
53730         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
53732 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
53734         * Makerules (+depfiles): Also collect depfiles from .oS in
53735         $(extra-objs).
53736         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
53737         .oS, $(libnldbl-routines)).
53739         * Makerules (native-compile-mkdep-flags): Define.
53740         * sunrpc/Makefile (extra-objs): Add $(addprefix
53741         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
53742         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
53743         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
53744         calling $(make-target-directory).
53746 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53748         * bits/types.h (__snseconds_t): Removed.
53749         * time/time.h (struct timespec): Replace __snseconds_t with
53750         __syscall_slong_t.
53751         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
53752         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
53753         Likewise.
53754         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53755         (__SNSECONDS_T_TYPE): Likewise.
53756         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53757         (__SNSECONDS_T_TYPE): Likewise.
53758         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53759         (__SNSECONDS_T_TYPE): Likewise.
53761 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53763         * sysdeps/mach/hurd/bits/typesizes.h
53764         (__SYSCALL_SLONG_TYPE): New macro.
53765         (__SYSCALL_ULONG_TYPE): Likewise.
53767 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53769         * bits/types.h (__syscall_slong_t): New type.
53770         (__syscall_ulong_t): Likewise.
53772         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
53773         (__SYSCALL_ULONG_TYPE): Likewise.
53774         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53775         (__SYSCALL_SLONG_TYPE): Likewise.
53776         (__SYSCALL_ULONG_TYPE): Likewise.
53777         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53778         (__SYSCALL_SLONG_TYPE): Likewise.
53779         (__SYSCALL_ULONG_TYPE): Likewise.
53780         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53781         (__SYSCALL_SLONG_TYPE): Likewise.
53782         (__SYSCALL_ULONG_TYPE): Likewise.
53784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53786         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
53787         Add sigaltstack-offsets.sym.
53788         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
53789         <sigaltstack-offsets.h>.
53790         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
53791         longjmp_msg pointer.
53792         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
53793         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
53794         signal stack.
53795         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
53797 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
53799         * elf/stackguard-macros.h: Remove file.
53800         * sysdeps/generic/stackguard-macros.h: New file.
53801         * sysdeps/i386/stackguard-macros.h: Likewise.
53802         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
53803         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
53804         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
53805         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
53806         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
53807         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
53808         * sysdeps/x86_64/stackguard-macros.h: Likewise.
53809         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
53810         <elf/stackguard-macros.h>.
53812         [BZ #14109]
53813         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
53814         __aligned__ in attribute.
53815         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
53816         (gregset_t): Likewise.
53818 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53820         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
53821         * sysdeps/x86_64/64/Implies-after: Here.  New file.
53822         * sysdeps/x86_64/x32/Implies-after: New file.
53824 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53826         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
53827         and access return value for _dl_profile_fixup.  Use R10_LP to
53828         load frame size.
53830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53832         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
53834 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53836         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
53837         * sysdeps/x86_64/x32/sysdep.h: New file.
53839 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53841         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
53842         * sysdeps/x86_64/setjmp.S: Likewise.
53844 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53846         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
53847         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
53848         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
53849         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
53850         remove unused global constant.
53852 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
53854         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
53855         include of <not-cancel.h>.
53857 2012-05-15  Roland McGrath  <roland@hack.frob.com>
53859         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
53861 2012-05-15  Jeff Law  <law@redhat.com>
53862             Andreas Jaeger  <aj@suse.de>
53864         [BZ #13594]
53865         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
53866         out from...
53867         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
53868         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
53869         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
53870         code changing __hst_map_handle.map.
53872 2012-05-15  Roland McGrath  <roland@hack.frob.com>
53874         * configure.in (sysnames): Look for Implies-before and Implies-after
53875         files.
53876         * configure: Regenerated.
53878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53880         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
53881         8-byte data alignment with LP_SIZE alignment.
53883 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53885         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
53886         into R10_LP.
53888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53890         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
53892 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53894         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
53895         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
53896         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
53897         Likewise.
53898         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
53900 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53902         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
53903         (stackinfo_sub_sp): Likewise.
53905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53907         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
53908         RAX_LP.
53910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53912         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
53913         into R*_LP.
53915 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53917         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
53918         sizes into R*_LP.
53920 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53922         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
53924 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53926         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
53927         into R11_LP and load __x86_64_shared_cache_size_half into
53928         R8_LP.
53930 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53932         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
53933         R8_LP.
53935 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53937         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
53938         logb for POWER7.
53939         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
53940         logbf for POWER7.
53941         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
53942         logbl for POWER7.
53943         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
53944         powerpc32/power7/fpu/s_logb.c via #include.
53945         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
53946         powerpc32/power7/fpu/s_logbf.c via #include.
53947         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
53948         powerpc32/power7/fpu/s_logbl.c via #include.
53950 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
53952         * README.libm: Remove file.
53954 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
53956         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
53957         count for x32.  Use R*_LP and omit operand-size suffix.
53959 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
53961         * shlib-versions: Move x86_64-.*-linux.* entries to ...
53962         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
53963         * sysdeps/x86_64/x32/shlib-versions: New file.
53965 2012-05-14  Roland McGrath  <roland@hack.frob.com>
53967         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
53968         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
53969         Use _dl_fatal_printf instead.
53971 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
53973         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
53974         set if not set by the user.  Do not allow for being unset.
53975         * sysdeps/unix/sysv/linux/configure: Regenerated.
53977 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
53979         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
53980         the `q' suffix from lea and replace .quad with ASM_ADDR.
53982 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
53984         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
53985         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
53986         instead of $17.
53987         (PTR_DEMANGLE): Likewise.
53989 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
53991         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
53992         (LP_OP): Likewise.
53993         (ASM_ADDR): Likewise.
53994         (RAX_LP): Likewise.
53995         (RBP_LP): Likewise.
53996         (RBX_LP): Likewise.
53997         (RCX_LP): Likewise.
53998         (RDI_LP): Likewise.
53999         (RSI_LP): Likewise.
54000         (RSP_LP): Likewise.
54001         (R8_LP): Likewise.
54002         (R9_LP): Likewise.
54003         (R10_LP): Likewise.
54004         (R10_LP): Likewise.
54005         (R11_LP): Likewise.
54006         (R12_LP): Likewise.
54007         (R13_LP): Likewise.
54008         (R14_LP): Likewise.
54009         (R15_LP): Likewise.
54011 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54013         * sysdeps/x86_64/x32/dl-machine.h: New file.
54015 2012-05-14  Andreas Jaeger  <aj@suse.de>
54017         * manual/Makefile (subdir): Remove export of subdir.
54018         (all): Remove target.
54019         (.PHONY): Remove all from list.
54020         (mkinstalldirs): Remove.
54021         (.PHONY): Remove installdirs from list.
54022         ($(inst_infodir)/libc.info): Use make-target-directory.
54023         (installdirs): Remove.
54024         (subdir_%): Remove.
54025         (glibc-targets): Remove.
54026         (lib): Remove.
54027         (stubs): Remove.
54028         ($(objpfx)stubs ../po/manual.pot): Remove.
54029         ($(objpfx)stamp%): Remove.
54030         (make-target-directory): Remove.
54031         (subdir_install): Remove.
54032         (routines): Remove.
54033         (aux): Remove.
54034         (sources): Remove.
54035         (objects): Remove.
54036         (headers): Remove.
54038         [BZ #13750]
54039         * manual/.gitignore: Remove, it's not needed anymore.
54040         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
54041         all files in it.
54042         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
54043         directory.
54044         (texis): Renamed to $(objpfx)texis.
54045         (texis-path): New, contains path to generated files.
54046         (chapters.%): Use texis-path for complete path, add extra argument
54047         libc-texinfo.sh.
54048         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
54049         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
54050         (summary,texi, stamp-summary): Use complete path of
54051         files. Generate files in build dir.
54052         (dir-add.texi): Build in build dir.
54053         (libm-err.texi,stamp-libm-err): Likewise.
54054         (version.texi, stamp-version): Likewise.
54055         (.%c.texi): Likewise.
54056         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
54057         (mostlyclean): Remove target.
54058         (realclean): Remove target.
54059         (generated): Add new variable with contents from mostlyclean and
54060         realclean, remove entries duplicated in common-mostlyclean, add
54061         stamp-libm-err and stamp-version.
54062         (generated-dirs): Add libc directory.
54063         ($(inst_infodir)/libc.info): Install files from build dir.
54065         * manual/install.texi (Configuring and compiling): Adjust since
54066         the info files are not part of the tar ball anymore.
54068 2012-05-14  Andreas Jaeger  <aj@suse.de>
54070         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
54071         variable.
54073 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
54075         [BZ #13717]
54076         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54077         to 2.2.0 where earlier.
54078         * sysdeps/unix/sysv/linux/configure: Regenerated.
54079         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
54080         Remove conditional code.
54081         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
54082         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
54083         Remove conditional code.
54084         [!__NR_lchown]: Likewise.
54085         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54086         [__NR_lchown]: Likewise.
54087         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
54088         comment referencing __ASSUME_LCHOWN_SYSCALL.
54089         * sysdeps/unix/sysv/linux/i386/sigaction.c
54090         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54091         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54092         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
54093         Remove conditional code.
54094         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
54095         (__protocol_available): Remove #if 0 code.
54096         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
54097         conditional code.
54098         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
54099         * sysdeps/unix/sysv/linux/kernel-features.h
54100         (__ASSUME_GETCWD_SYSCALL): Don't define.
54101         (__ASSUME_REALTIME_SIGNALS): Likewise.
54102         (__ASSUME_PREAD_SYSCALL): Likewise.
54103         (__ASSUME_PWRITE_SYSCALL): Likewise.
54104         (__ASSUME_POLL_SYSCALL): Likewise.
54105         (__ASSUME_LCHOWN_SYSCALL): Likewise.
54106         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
54107         non-SPARC.
54108         (__ASSUME_SIOCGIFNAME): Don't define.
54109         (__ASSUME_MSG_NOSIGNAL): Likewise.
54110         (__ASSUME_SENDFILE): Define unconditionally.
54111         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
54112         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
54113         conditional code.
54114         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
54115         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
54116         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
54117         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54118         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
54119         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
54120         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
54122         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54123         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
54125         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54126         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
54128         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54129         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
54131         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54132         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
54134         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54135         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
54137         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54138         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
54140         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54141         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
54143         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54144         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54145         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
54146         Remove conditional code.
54147         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54148         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
54149         Remove conditional code.
54150         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54151         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
54152         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
54153         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
54154         Remove conditional code.
54155         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54156         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
54157         Remove conditional code.
54158         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54159         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
54160         Remove conditional code.
54161         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54162         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
54163         Remove conditional code.
54164         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54165         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
54166         Remove conditional code.
54167         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54168         * sysdeps/unix/sysv/linux/sh/pwrite64.c
54169         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54170         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54171         * sysdeps/unix/sysv/linux/sigaction.c
54172         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54173         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54174         * sysdeps/unix/sysv/linux/sigpending.c
54175         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54176         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54177         * sysdeps/unix/sysv/linux/sigprocmask.c
54178         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54179         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54180         * sysdeps/unix/sysv/linux/sigsuspend.c
54181         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54182         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54183         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
54184         (__libc_missing_rt_sigs): Remove.
54185         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
54186         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
54187         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
54188         Remove conditional code.
54189         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
54190         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
54191         return 1.
54192         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
54193         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
54194         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
54195         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
54197 2012-05-14  Andreas Jaeger  <aj@suse.de>
54199         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
54200         it's not used in glibc.
54201         (__coshm1): Likewise.
54202         (__acosh1p): Likewise.
54203         (__sgn): Likewise.
54205         * manual/string.texi (Copying and Concatenation): Add missing
54206         variable in concat example.
54207         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
54209 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54211         [BZ #14103]
54212         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
54213         __builtin_clzl with __builtin_clzll.
54215 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54217         [BZ #14104]
54218         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
54219         libc_freeres_ptr.
54221 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54223         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
54224         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
54225         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
54226         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
54228 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
54230         * NEWS: Update ia64 info.
54232 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
54234         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
54235         used as bcopy.
54237 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
54239         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
54240         * sysdeps/unix/syscalls.list (dup3): Likewise.
54241         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
54242         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
54244 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
54246         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
54247         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
54249 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
54251         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
54252         thread pointer.
54253         (TLS_IE): Use mov/add instead of movq/addq to load thread
54254         pointer.
54255         (TLS_GD_PREFIX): New.
54256         (TLS_GD): Use it.
54258 2012-05-11  David S. Miller  <davem@davemloft.net>
54260         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
54261         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
54262         (_FPU_SETCW): Likewise.
54264 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
54266         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
54267         is 32-byte aligned.
54269 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
54271         [BZ #11837]
54272         * iconvdata/gb18030.c: Update tables.
54273         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
54274         characters specially.
54275         (BODY for TO_LOOP): Add encoding of missing ranges.
54277 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
54279         [BZ #13673]
54280         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
54281         * sysdeps/mach/hurd/dup3.c: Likewise.
54282         * sysdeps/mach/hurd/readlinkat.c: Likewise.
54283         * sysdeps/powerpc/memmove.c:: Likewise.
54285 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
54287         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
54288         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
54290 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
54292         * elf/elf.h (R_X86_64_RELATIVE64): New.
54293         (R_X86_64_NUM): Updated.
54294         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54295         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
54296         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
54297         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
54298         tst-quad1pie tst-quad2pie
54299         (modules-names): Add tst-quadmod1 tst-quadmod2.
54300         ($(objpfx)tst-quad1): New dependency.
54301         ($(objpfx)tst-quad2): Likewise.
54302         ($(objpfx)tst-quad1pie): Likewise.
54303         ($(objpfx)tst-quad2pie): Likewise.
54304         * sysdeps/x86_64/tst-quad1.c: New file.
54305         * sysdeps/x86_64/tst-quad1pie.c: New file.
54306         * sysdeps/x86_64/tst-quad2.c: Likewise.
54307         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
54308         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
54309         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
54310         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
54311         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
54313 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54315         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
54316         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
54317         * streams/stropts.h (t_scalar_t): Define type.
54319         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
54320         (_PATH_PRESERVE): Set to "/var/lib".
54321         (_PATH_RWHODIR): Set to "/var/spool/rwho".
54323         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
54324         instead of int.
54326         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
54327         if __dir_mkfile succeeded.
54329         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
54330         checking for _hurd_dtablesize.  Unlock it right after having
54331         finished _hurd_dtable allocation.
54333 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54335         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
54336         * sysdeps/mach/hurd/configure: Regenerated.
54337         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
54338         special-casing to...
54339         * sysdeps/gnu/configure.in: ... this new file.
54340         * sysdeps/unix/sysv/linux/configure: Regenerated.
54341         * sysdeps/gnu/configure: New generated file.
54343         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
54344         for Linux: use nsec instead of usec, as well as:
54345         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
54346         members of type struct timespec.
54347         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
54348         New macros.
54349         (struct stat64): Likewise.
54350         (_STATBUF_ST_NSEC): New macro.
54351         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
54353         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54354         __strtoul_internal rather than strtoul.
54356 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54358         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
54359         and reject them.
54361 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54363         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
54364         which preserves existing values.
54365         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
54367 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54369         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
54370         TIMEOUT values.  Return EINVAL for NFDS values either negative or
54371         greater than FD_SETSIZE.
54373 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54375         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
54376         allocated, call __vm_protect to finish enabling the existing space, and
54377         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
54378         allocate the remainder.
54380 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54382         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
54383         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
54385 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54387         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
54388         sysdeps/mach/hurd/readlink.c.
54390         * posix/tst-sysconf.c (posix_options): Only use
54391         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
54392         _POSIX_SYNCHRONIZED_IO when they are defined
54393         * sysdeps/mach/hurd/bits/posix_opt.h:
54394         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
54395         (_XOPEN_REALTIME): Undefine macro.
54396         (_XOPEN_REALTIME_THREADS): Undefine macro.
54397         (_XOPEN_SHM): Undefine macro.
54398         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
54399         macro to -1.
54400         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
54401         macro to -1.
54402         (_POSIX_ASYNC_IO): Undefine macro.
54403         (_POSIX_PRIORITIZED_IO): Undefine macro.
54404         (_POSIX_SPIN_LOCKS): Define macro to -1.
54406         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
54407         SA_NODEFER, SA_RESETHAND.
54408         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
54409         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
54410         F_DUPFD_CLOEXEC.
54412 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54414         * elf/Makefile (pldd-modules): Define unconditionally.
54416 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54418         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
54420 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54422         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
54423         Return ENOENT when name is empty.
54424         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
54426 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54428         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
54430         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
54432 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54434         Fix mlock in all cases except non-readable pages.
54435         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
54436         instead of VM_PROT_ALL as parameter to __vm_wire function.
54438         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
54439         (__mkdir): When path is `/', just fail with EEXIST.
54440         * sysdeps/mach/hurd/mkdirat.c: Likewise.
54442 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54444         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
54445         <sys/uio.h> (for writev).
54446         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
54447         and <sys/param.h> (for MIN).
54449 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54451         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
54452         REQUESTED_TIME.  Properly set the remaining time and return EINTR
54453         if interrupted.
54455 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54457         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
54458         Depend on against $(link-rpcuserlibs).
54460 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54462         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
54463         (__libc_stack_end): Do not use attribute_relro.
54464         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
54465         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
54466         to libthread-provided value.
54467         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
54468         attribute_relro.
54470 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54472         [BZ #3748]
54473         * bits/libc-lock.h (__libc_once_get): New macro.
54474         * sysdeps/mach/bits/libc-lock.h: Likewise.
54475         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
54476         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
54477         instead of using implementation details.
54479         * libio/fileops.c: Unconditionally include <kernel-features.h>.
54480         * libio/freopen.c: Likewise.
54481         * libio/freopen64.c: Likewise.
54482         * misc/syslog.c: Likewise.
54483         * nscd/connections.c: Likewise.
54484         * nscd/netgroupcache.c: Likewise.
54485         * sysdeps/posix/getcwd.c: Likewise.
54487 2012-05-10  Roland McGrath  <roland@hack.frob.com>
54489         * math/w_ilogbf.c: Add #include <limits.h>.
54491 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54493         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
54494         path instead of returning without unlocking.
54496         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
54497         immediate-write ioctls.
54498         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
54500 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54502         * sysdeps/mach/hurd/i386/init-first.c (init): Use
54503         __builtin_frame_address instead of making assumptions about the
54504         location of the return address relative to DATA.  Force early load of
54505         the return address.
54506         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
54507         __builtin_frame_address.
54509         dup3 for GNU Hurd.
54510         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
54511         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
54512         implement dup3 and do some further code clean-ups.
54513         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
54514         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
54516 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54518         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
54520         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
54521         HURD_CRITICAL_END around holding _hurd_dtable_lock.
54522         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
54523         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
54524         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
54525         d->port.lock.
54527         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
54528         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
54529         when handler == SIG_ERR, not when handler != SIG_ERR.
54531 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54533         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
54534         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
54535         definitions.
54537         accept4 for GNU Hurd.
54538         * include/sys/socket.h (__libc_accept4): New prototype.
54539         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
54540         to implement __libc_accept4.
54541         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
54542         __libc_accept4.
54543         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
54545         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
54546         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
54547         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
54548         signal-defines.sym.
54550 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54552         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
54554 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54556         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
54557         assertion on O_CLOEXEC flag.
54558         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
54559         * hurd/intern-fd.c: Likewise.
54560         * hurd/port2fd.c: Likewise.
54562 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54564         [BZ #3906]
54565         * bits/in.h (IPV6_PKTINFO): Define new macro.
54566         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
54568 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54570         [BZ #13954]
54571         [BZ #13955]
54572         [BZ #13956]
54573         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
54574         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54575         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
54576         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
54577         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54578         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
54579         * math/libm-test.inc (logb_test) : Additional logb tests.
54581 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
54582             Andreas Jaeger  <aj@suse.de>
54584         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
54585         * configure: Regenerated.
54586         * config.h.in (LINK_OBSOLETE_RPC): New macro.
54587         * config.make.in (link-obsolete-rpc): New substituted variable.
54588         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
54589         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
54590         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
54591         (shared-only-routines): Don't set it under [link-obsolete-rpc],
54592         so that libc.a contains the symbols.
54593         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
54594         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
54595         * sunrpc/auth_none.c: Likewise.
54596         * sunrpc/auth_unix.c: Likewise.
54597         * sunrpc/authdes_prot.c: Likewise.
54598         * sunrpc/authuxprot.c: Likewise.
54599         * sunrpc/clnt_gen.c: Likewise.
54600         * sunrpc/clnt_perr.c: Likewise.
54601         * sunrpc/clnt_raw.c: Likewise.
54602         * sunrpc/clnt_simp.c: Likewise.
54603         * sunrpc/clnt_tcp.c: Likewise.
54604         * sunrpc/clnt_udp.c: Likewise.
54605         * sunrpc/clnt_unix.c: Likewise.
54606         * sunrpc/des_crypt.c: Likewise.
54607         * sunrpc/des_soft.c: Likewise.
54608         * sunrpc/get_myaddr.c: Likewise.
54609         * sunrpc/key_call.c: Likewise.
54610         * sunrpc/key_prot.c: Likewise.
54611         * sunrpc/netname.c: Likewise.
54612         * sunrpc/pm_getmaps.c: Likewise.
54613         * sunrpc/pm_getport.c: Likewise.
54614         * sunrpc/pmap_clnt.c: Likewise.
54615         * sunrpc/pmap_prot.c: Likewise.
54616         * sunrpc/pmap_prot2.c: Likewise.
54617         * sunrpc/pmap_rmt.c: Likewise.
54618         * sunrpc/publickey.c: Likewise.
54619         * sunrpc/rpc_cmsg.c: Likewise.
54620         * sunrpc/rpc_common.c: Likewise.
54621         * sunrpc/rpc_dtable.c: Likewise.
54622         * sunrpc/rpc_prot.c: Likewise.
54623         * sunrpc/rpc_thread.c: Likewise.
54624         * sunrpc/rtime.c: Likewise.
54625         * sunrpc/svc.c: Likewise.
54626         * sunrpc/svc_auth.c: Likewise.
54627         * sunrpc/svc_raw.c: Likewise.
54628         * sunrpc/svc_run.c: Likewise.
54629         * sunrpc/svc_tcp.c: Likewise.
54630         * sunrpc/svc_udp.c: Likewise.
54631         * sunrpc/svc_unix.c: Likewise.
54632         * sunrpc/svcauth_des.c: Likewise.
54633         * sunrpc/xcrypt.c: Likewise.
54634         * sunrpc/xdr.c: Likewise.
54635         * sunrpc/xdr_array.c: Likewise.
54636         * sunrpc/xdr_float.c: Likewise.
54637         * sunrpc/xdr_intXX_t.c: Likewise.
54638         * sunrpc/xdr_mem.c: Likewise.
54639         * sunrpc/xdr_rec.c: Likewise.
54640         * sunrpc/xdr_ref.c: Likewise.
54641         * sunrpc/xdr_sizeof.c: Likewise.
54642         * sunrpc/xdr_stdio.c: Likewise.
54644 2012-05-10  Roland McGrath  <roland@hack.frob.com>
54646         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
54647         change.  Update copyright years.
54649 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
54651         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
54653 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
54654             Joseph Myers  <joseph@codesourcery.com>
54655             Paul Pluzhnikov  <ppluzhnikov@google.com>
54657         [BZ #14012]
54658         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
54659         requiring rpcgen.
54660         [cross-compiling] (extra-libs): Likewise.
54661         [cross-compiling] (extra-libs-others): Likewise.
54662         [cross-compiling] (librpcsvc-routines): Likewise.
54663         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
54664         [cross-compiling] (omit-deps): Likewise.
54665         (sunrpc-CPPFLAGS): New variable.
54666         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
54667         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
54668         (cross-rpcgen-objs): New variable.
54669         (extra-objs): Append $(cross-rpcgen-objs).
54670         ($(cross-rpcgen-objs)): New rule.
54671         ($(objpfx)cross-rpcgen): Likewise.
54672         (rpcgen-cmd): Define to use $(built-program-file).  Expand
54673         comment.
54674         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
54675         ($(objpfx)x%.stmp): Likewise.
54676         * sunrpc/proto.h [IS_IN_build] (_): Define.
54677         [IS_IN_build] (_libc_intl_domainname): Likewise.
54679 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
54681         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
54682         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
54683         and R_X86_64_TPOFF64.
54685 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
54687         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
54688         sysdeps/unix/sysv/syscalls.list.
54689         (stime): Likewise.
54690         (utime): Likewise.
54691         * sysdeps/unix/sysv/syscalls.list: Remove file.
54693 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
54695         [BZ #3440]
54696         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
54697         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
54698         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
54699         (__LC_IDENTIFICATION): Make these macros useful in #if
54700         expressions, as required by C99.
54702 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
54704         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
54705         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
54706         after this.
54708 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
54710         * stdlib/longlong.h: Updated from GCC.
54712 2012-05-09  Andreas Jaeger  <aj@suse.de>
54714         * nscd/nscd.c (run_modes): Make named enum, reorder so that
54715         default is first entry.
54716         (run_mode): Set type.
54717         (main): Remove informal message about syslog.
54718         (options): Fix typo.
54720         [BZ #14053]
54721         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
54722         to asm.
54723         (lrint): Likewise.
54724         (llrintf): Likewise.
54725         (llrint): Likewise.
54726         (rint): Likewise.
54727         (rintf): Likewise.
54728         (nearbyint): Likewise.
54729         (nearbyintf): Likewise.
54731 2012-05-09  Andreas Jaeger  <aj@suse.de>
54732             Pedro Alves  <palves@redhat.com>
54734         * nscd/nscd.c (run_mode): Use enum.
54735         (main): Cleanup coding style issue.
54737 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
54738             Andreas Jaeger  <aj@suse.de>
54740         * nscd/nscd.c (go_background): Replaced with...
54741         (run_mode): ... this.
54742         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
54743         (options): Add -F --foreground.
54744         (main): Implement it.
54745         (parse_opt): Parse it.
54747 2012-05-09  Andreas Jaeger  <aj@suse.de>
54749         [BZ #14083]
54750         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
54751         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
54752         -Wconversion warning.
54753         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
54754         Likewise.
54756 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
54758         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
54759         == 0.
54760         (LC_ALL): Use macro-int-constant.
54761         (LC_COLLATE): Likewise.
54762         (LC_CTYPE): Likewise.
54763         (LC_MESSAGES): Likewise.
54764         (LC_MONETARY): Likewise.
54765         (LC_NUMERIC): Likewise.
54766         (LC_TIME): Likewise.
54767         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
54768         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
54769         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54770         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
54771         Specify type.
54772         [C99-based standards] (float_t): Expect type.
54773         [C99-based standards] (double_t): Expect type.
54774         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
54775         type.
54776         [C99-based standards] (HUGE_VALL): Likewise.
54777         [C99-based standards] (INFINITY): Likewise.
54778         [C99-based standards] (NAN): Likewise.
54779         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
54780         [C99-based standards] (FP_NAN): Likewise.
54781         [C99-based standards] (FP_NORMAL): Likewise.
54782         [C99-based standards] (FP_SUBNORMAL): Likewise.
54783         [C99-based standards] (FP_ZERO): Likewise.
54784         [C99-based standards] (FP_FAST_FMA): Use
54785         optional-macro-int-constant.  Specify type.  Require == 1.
54786         [C99-based standards] (FP_FAST_FMAF): Likewise.
54787         [C99-based standards] (FP_FAST_FMAL): Likewise.
54788         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
54789         [C99-based standards] (FP_ILOGBNAN): Likewise.
54790         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
54791         Specify type.
54792         [C99-based standards] (MATH_ERREXCEPT): Likewise.
54793         [C99-based standards] (math_errhandling): Specify type.
54794         [ISO99 || ISO11] (signgam): Do not allow.
54795         [non-C99-based standards] (copysignf): Do not allow.
54796         [non-C99-based standards] (exp2f): Likewise.
54797         [non-C99-based standards] (log2f): Likewise.
54798         [non-C99-based standards] (modff): Allow.
54799         [non-C99-based standards] (erff): Do not allow.
54800         [non-C99-based standards] (erfcf): Likewise.
54801         [non-C99-based standards] (gammaf): Likewise.
54802         [non-C99-based standards] (hypotf): Likewise.
54803         [non-C99-based standards] (j0f): Likewise.
54804         [non-C99-based standards] (j1f): Likewise.
54805         [non-C99-based standards] (jnf): Likewise.
54806         [non-C99-based standards] (lgammaf): Likewise.
54807         [non-C99-based standards] (tgammaf): Likewise.
54808         [non-C99-based standards] (y0f): Likewise.
54809         [non-C99-based standards] (y1f): Likewise.
54810         [non-C99-based standards] (ynf): Likewise.
54811         [non-C99-based standards] (isnanf): Likewise.
54812         [non-C99-based standards] (acoshf): Likewise.
54813         [non-C99-based standards] (asinhf): Likewise.
54814         [non-C99-based standards] (atanhf): Likewise.
54815         [non-C99-based standards] (cbrtf): Likewise.
54816         [non-C99-based standards] (expm1f): Likewise.
54817         [non-C99-based standards] (ilogbf): Likewise.
54818         [non-C99-based standards] (log1pf): Likewise.
54819         [non-C99-based standards] (logbf): Likewise.
54820         [non-C99-based standards] (nextafterf): Likewise.
54821         [non-C99-based standards] (remainderf): Likewise.
54822         [non-C99-based standards] (rintf): Likewise.
54823         [non-C99-based standards] (scalbf): Likewise.
54824         [non-C99-based standards] (copysignl): Likewise.
54825         [non-C99-based standards] (exp2l): Likewise.
54826         [non-C99-based standards] (log2l): Likewise.
54827         [non-C99-based standards] (modfl): Allow.
54828         [non-C99-based standards] (erfl): Do not allow.
54829         [non-C99-based standards] (erfcl): Likewise.
54830         [non-C99-based standards] (gammal): Likewise.
54831         [non-C99-based standards] (hypotl): Likewise.
54832         [non-C99-based standards] (j0l): Likewise.
54833         [non-C99-based standards] (j1l): Likewise.
54834         [non-C99-based standards] (jnl): Likewise.
54835         [non-C99-based standards] (lgammal): Likewise.
54836         [non-C99-based standards] (tgammal): Likewise.
54837         [non-C99-based standards] (y0l): Likewise.
54838         [non-C99-based standards] (y1l): Likewise.
54839         [non-C99-based standards] (ynl): Likewise.
54840         [non-C99-based standards] (isnanl): Likewise.
54841         [non-C99-based standards] (acoshl): Likewise.
54842         [non-C99-based standards] (asinhl): Likewise.
54843         [non-C99-based standards] (atanhl): Likewise.
54844         [non-C99-based standards] (cbrtl): Likewise.
54845         [non-C99-based standards] (expm1l): Likewise.
54846         [non-C99-based standards] (ilogbl): Likewise.
54847         [non-C99-based standards] (log1pl): Likewise.
54848         [non-C99-based standards] (logbl): Likewise.
54849         [non-C99-based standards] (nextafterl): Likewise.
54850         [non-C99-based standards] (remainderl): Likewise.
54851         [non-C99-based standards] (rintl): Likewise.
54852         [non-C99-based standards] (scalbl): Likewise.
54853         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54854         [non-C99-based standards] (FP_*): Do not allow.
54855         [C99-based standards] (FP_*): Change to
54856         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
54857         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
54858         allow.
54859         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
54860         (SIG_ERR): Likewise.
54861         [X/Open-based standards] (SIG_HOLD): Likewise.
54862         (SIG_IGN): Likewise.
54863         (SIGABRT): Use macro-int-constant.  Specify type.  Require
54864         positive value.
54865         (SIGFPE): Likewise.
54866         (SIGILL): Likewise.
54867         (SIGINT): Likewise.
54868         (SIGSEGV): Likewise.
54869         (SIGTER): Likewise.
54870         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
54871         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
54872         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
54873         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
54874         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
54875         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
54876         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
54877         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
54878         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
54879         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
54880         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
54881         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
54882         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
54883         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
54884         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
54885         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
54886         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
54887         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
54888         [X/Open-based standards] (SIGTRAP): Likewise.
54889         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
54890         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
54891         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
54892         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
54893         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
54894         allow.
54896 2012-05-08  Ian Wienand  <ianw@vmware.com>
54898         [BZ #14080]
54899         * time/tzset.c (__tzset_parse_tz): Update default rules for
54900         daylight time changes in the Energy Policy Act of 2005.
54902 2012-05-09  Andreas Jaeger  <aj@suse.de>
54904         [BZ #13983]
54905         * elf/ldconfig.c (parse_conf): Change string to make clear that
54906         ldconfig only issued a warning if ld.so.conf does not exist.
54908 2012-05-08  David S. Miller  <davem@davemloft.net>
54910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
54911         movxtod instead of popping the value on the stack.
54913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54915 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
54917         * config.h.in: Add HAVE_ARM_PCS_VFP.
54919 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
54921         [BZ #13979]
54922         * include/features.h: Warn if user requests __FORTIFY_SOURCE
54923         checking but the checks are disabled for any reason.
54925 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
54927         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
54928         and ELF64_R_TYPE with ELFW(R_TYPE).
54930 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
54932         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
54933         (ulimit): Likewise.
54935         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
54936         (settimeofday): Likewise.
54938 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
54940         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
54941         a struct th_u2 inside the union, and move tu_block/tu_code into
54942         a new th_u3 union of tu_block/tu_code inside of that.  Move
54943         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
54944         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
54945         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
54946         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
54947         (th_stuff): Change to th_u1.tu_stuff.
54948         (th_data): Define.
54949         (th_msg): Change to th_u1.th_u2.tu_data.
54951 2012-05-07  David S. Miller  <davem@davemloft.net>
54953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54955         [BZ #14074]
54956         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
54957         (SETUP_PIC_REG): Use it.
54958         (SETUP_PIC_REG_LEAF): Use it.
54960 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
54962         [BZ #13885]
54963         [BZ #13923]
54964         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
54965         USE_AS_EXPM1L.
54966         (EXPL_FINITE): Likewise.
54967         (FLDLOG): Likewise.
54968         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
54969         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
54970         e_expl.S.
54971         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
54972         USE_AS_EXPM1L.
54973         (EXPL_FINITE): Likewise.
54974         (FLDLOG): Likewise.
54975         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
54976         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
54977         e_expl.S.
54978         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
54979         test of -max_value argument for long double.
54980         * sysdeps/i386/fpu/libm-test-ulps: Update.
54981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54983 2012-05-06  David S. Miller  <davem@davemloft.net>
54985         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
54986         quad soft-float symbols whose references which are compiler
54987         generated.
54988         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54990 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
54992         [BZ #13884]
54993         [BZ #13914]
54994         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
54995         USE_AS_EXP10L.
54996         (EXPL_FINITE): Likewise.
54997         (FLDLOG): Likewise.
54998         (c0): Likewise.
54999         (c1): Likewise.
55000         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
55001         Adjust comments for base varying.
55002         (__expl_finite): Change alias to EXPL_FINITE.
55003         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
55004         e_expl.S.
55005         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
55006         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
55007         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
55008         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
55009         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55010         USE_AS_EXP10L.
55011         (EXPL_FINITE): Likewise.
55012         (FLDLOG): Likewise.
55013         (c0): Likewise.
55014         (c1): Likewise.
55015         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
55016         Adjust comments for base varying.
55017         (__expl_finite): Change alias to EXPL_FINITE.
55018         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
55019         tests for bugs.
55020         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55022         [BZ #14064]
55023         * math/libm-test.inc (check_float_internal): Correct ulp
55024         calculation for subnormal expected results.
55026 2012-05-06  Andreas Jaeger  <aj@suse.de>
55028         * Makeconfig (+math-flags): New, set to -frounding-math.
55029         (+cflags): Add +math-flags so that all of glibc gets compiled with
55030         it.
55032         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
55034 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
55036         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
55037         Disable one test.
55039         [BZ #13787]
55040         [BZ #13922]
55041         [BZ #14036]
55042         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
55043         (__ieee754_expl): Allow for and saturate large arguments.
55044         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
55045         (u_threshold): Likewise.
55046         (__exp): Call __ieee754_exp before checking for overflow and
55047         underflow.
55048         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
55049         (u_threshold): Likewise.
55050         (__expf): Call __ieee754_expf before checking for overflow and
55051         underflow.
55052         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
55053         (u_threshold): Likewise.
55054         (__expl): Call __ieee754_expl before checking for overflow and
55055         underflow.
55056         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
55057         (__ieee754_expl): Allow for and saturate large arguments.
55058         * math/libm-test.inc (exp_test): Add another test.  Do not allow
55059         missing overflow exception on overflow.
55060         (expm1_test): Do not allow missing overflow exception on overflow.
55062         * sysdeps/i386/fpu/e_expl.c: Move to ...
55063         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
55064         rather than using inline asm.
55065         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
55066         * sysdeps/x86_64/fpu/e_expl.S: Copy from
55067         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
55069         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
55070         (nice): Likewise.
55071         (poll): Likewise.
55072         (signal): Likewise.
55073         (time): Likewise.
55074         (times): Likewise.
55076 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
55078         * sysdeps/unix/syscalls.list (adjtime): Add entry from
55079         sysdeps/unix/common/syscalls.list.
55080         (fchmod): Likewise.
55081         (fchown): Likewise.
55082         (ftruncate): Likewise.
55083         (getrusage): Likewise.
55084         (gettimeofday): Likewise.
55085         (setpgid): Likewise.
55086         (setregid): Likewise.
55087         (setreuid): Likewise.
55088         (sigaction): Likewise.
55089         (truncate): Likewise.
55090         (vhangup): Likewise.
55091         * sysdeps/unix/common/syscalls.list: Remove file.
55092         * sysdeps/unix/bsd/Implies: Don't include unix/common.
55093         * sysdeps/unix/sysv/linux/Implies: Likewise.
55095 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
55097         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
55098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
55099         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
55100         Moved to ...
55101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
55102         Here.
55103         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
55104         to ...
55105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
55106         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
55107         to ...
55108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
55109         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
55110         to ...
55111         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
55112         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
55113         to ...
55114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
55115         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
55116         to ...
55117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
55118         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
55119         to ...
55120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
55121         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
55122         to ...
55123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
55124         Here.
55125         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
55126         to ...
55127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
55128         Here.
55129         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
55130         to ...
55131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
55132         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
55133         Moved to ...
55134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
55135         Here.
55136         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
55137         to ...
55138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
55140 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
55142         * sysdeps/unix/common/bits/dirent.h: Remove file.
55143         * sysdeps/unix/common/bits/fcntl.h: Likewise.
55145         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
55146         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
55147         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
55148         * sysdeps/unix/bsd/isatty.c: Likewise.
55149         * sysdeps/unix/bsd/tcdrain.c: Likewise.
55150         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
55151         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
55153 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55155         [BZ #13563]
55156         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
55157         long double comparison inaccuracies.
55158         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55161 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
55163         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
55164         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
55166 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
55168         [BZ #14049]
55169         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
55170         nonzero digits before rounding a hex value.
55171         * stdlib/tst-strtod.c (tests): Add another test.
55173 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55175         * sysdeps/s390/fpu/libm-test-ulps: Update.
55177 2012-05-03  Andreas Jaeger  <aj@suse.de>
55179         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
55180         does not get optimized out.
55181         (malloc_opt_barrier): New.
55183 2012-05-03  Andreas Jaeger  <aj@suse.de>
55184             Roland McGrath  <roland@hack.frob.com>
55186         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
55187         intermediate file deletion.
55188         (generated): Add .symlist files.
55190 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
55192         [BZ #13775]
55193         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
55194         Redirect under this condition.
55195         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
55196         [__USE_GNU] (__dprintf_chk): Not under this condition.
55197         [__USE_GNU] (__vdprintf_chk): Likewise.
55198         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
55199         under this condition.
55200         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
55201         [__USE_XOPEN2K8] (dprintf): Define under this condition.
55202         [__USE_XOPEN2K8] (vdprintf): Likewise.
55203         [__USE_GNU] (__dprintf_chk): Not under this condition.
55204         [__USE_GNU] (__vdprintf_chk): Likewise.
55205         [__USE_GNU] (dprintf): Likewise.
55206         [__USE_GNU] (vdprintf): Likewise.
55208 2012-05-03  Roland McGrath  <roland@hack.frob.com>
55210         * elf/Makefile (common-generated): Set this instead of generated for
55211         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
55212         $(all-built-dso)-derived lists.
55214 2012-05-03  Andreas Jaeger  <aj@suse.de>
55216         * sysdeps/i386/fpu/libm-test-ulps: Update.
55218         * FAQ: Removed.
55219         * FAQ.in: Likewise.
55220         * scripts/gen-FAQ.pl: Likewise.
55221         * manual/install.texi (Installation): Point to online location of
55222         FAQ.
55223         * Makefile (files-for-dist): Remove FAQ.
55224         (FAQ): Remove.
55226 2012-05-02  Allan McRae  <allan@archlinux.org>
55228         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
55229         (LDFLAGS-reldepmod5.so): Likewise.
55230         (LDFLAGS-reldep6mod1.so): Likewise.
55231         (LDFLAGS-reldep6mod4.so): Likewise.
55232         (LDFLAGS-reldep8mod3.so): Likewise.
55233         (LDFLAGS-unload4mod1.so): Likewise.
55234         (LDFLAGS-unload4mod2.so): Likewise.
55235         (LDFLAGS-tst-initorder): Likewise.
55236         (LDFLAGS-tst-initordera2.so): Likewise.
55237         (LDFLAGS-tst-initordera3.so): Likewise.
55238         (LDFLAGS-tst-initordera4.so): Likewise.
55239         (LDFLAGS-tst-initorderb2.so): Likewise.
55240         (LDFLAGS-noload): Likewise.
55241         (LDFLAGS-next): Likewise.
55242         (LDFLAGS-order2mod1.so): Likewise.
55243         (LDFLAGS-order2mod2.so): Likewise.
55244         (LDFLAGS-tst-initorder2): Likewise.
55245         (LDFLAGS-tst-initorder2a.so): Likewise.
55246         (LDFLAGS-tst-initorder2b.so): Likewise.
55247         (LDFLAGS-tst-initorder2c.so): Likewise.
55248         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
55250 2012-05-02  David S. Miller  <davem@davemloft.net>
55252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55254 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
55256         [BZ #14055]
55257         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
55259 2012-05-02  Andreas Jaeger  <aj@suse.de>
55261         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
55262         since we manipulate rounding mode.
55263         (CPPFLAGS-test-idouble.c): Likewise.
55264         (CPPFLAGS-test-ifloat.c): Likewise.
55265         (CFLAGS-test-ldouble.c): Likewise.
55266         (CFLAGS-test-double.c): Likewise.
55267         (CFLAGS-test-float.c): Likewise.
55268         (CFLAGS-test-misc.c): Likewise.
55269         (CFLAGS-test-test-fenv.c): Likewise.
55271 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55273         [BZ #2550]
55274         [BZ #2570]
55275         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
55276         comparisons to determine direction to adjust input.
55278 2012-05-01  Roland McGrath  <roland@hack.frob.com>
55280         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
55281         output to the target.
55283         * scripts/localplt.awk: New file.
55284         * elf/Makefile ($(objpfx)check-localplt): Target removed.
55285         (check-localplt-CFLAGS): Variable removed.
55286         ($(all-built-dso:=.jmprel)): New static pattern rule.
55287         (generated): Add those targets.
55288         (localplt-built-dso): New variable.
55289         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
55291         * elf/check-localplt.c: File removed.
55293         * scripts/check-execstack.awk: New file.
55294         * elf/Makefile ($(objpfx)check-execstack): Target removed.
55295         (check-execstack-CFLAGS): Variable removed.
55296         ($(objpfx)check-execstack.h): Target removed.
55297         ($(objpfx)execstack-default): New target.
55298         (generated): Add that instead of check-execstack.h.
55299         ($(all-built-dso:=.phdr)): New static pattern rule.
55300         (generated): Add those targets.
55301         * elf/check-execstack.c: File removed.
55303         * scripts/check-textrel.awk: New file.
55304         * elf/Makefile ($(objpfx)check-textrel): Target removed.
55305         (check-textrel-CFLAGS): Variable removed.
55306         (all-built-dso): Use := to define.o
55307         ($(all-built-dso:=.dyn)): New static pattern rule.
55308         (generated): Add those targets.
55309         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
55310         * config.make.in (READELF): New substituted variable.
55311         * elf/check-textrel.c: File removed.
55313 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
55315         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55316         allow.
55317         * conform/data/ctype.h-data [C99-based standards] (isblank):
55318         Expect function.
55319         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
55320         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
55321         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55322         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
55323         Specify type.  Require positive value.
55324         (EILSEQ): Likewise.
55325         (ERANGE): Likewise.
55326         [ISO || POSIX] (EILSEQ): Do not expect.
55327         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
55328         Specify type.  Require positive value.
55329         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
55330         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
55331         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
55332         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
55333         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
55334         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
55335         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
55336         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
55337         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
55338         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
55339         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
55340         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
55341         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
55342         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
55343         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
55344         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
55345         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
55346         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
55347         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
55348         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
55349         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
55350         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
55351         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
55352         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
55353         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
55354         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
55355         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
55356         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
55357         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
55358         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
55359         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
55360         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
55361         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
55362         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
55363         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
55364         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
55365         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
55366         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
55367         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
55368         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
55369         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
55370         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
55371         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
55372         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
55373         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
55374         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
55375         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
55376         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
55377         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
55378         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
55379         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
55380         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
55381         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
55382         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
55383         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
55384         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
55385         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
55386         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
55387         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
55388         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
55389         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
55390         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
55391         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
55392         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
55393         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
55394         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
55395         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
55396         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
55397         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
55398         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
55399         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
55400         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
55401         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
55402         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
55403         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
55404         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
55405         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
55406         Require >= 2.
55407         (FLT_ROUNDS): Expect as macro, not constant.
55408         (FLT_MANT_DIG): Use macro-int-constant.
55409         (DBL_MANT_DIG): Likewise.
55410         (LDBL_MANT_DIG): Likewise.
55411         (FLT_DIG): Likewise.
55412         (DBL_DIG): Likewise.
55413         (LDBL_DIG): Likewise.
55414         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
55415         (DBL_MIN_EXP): Likewise.
55416         (LDBL_MIN_EXP): Likewise.
55417         (FLT_MAX_EXP): Use macro-int-constant.
55418         (DBL_MAX_EXP): Likewise.
55419         (LDBL_MAX_EXP): Likewise.
55420         (FLT_MAX_10_EXP): Likewise.
55421         (DBL_MAX_10_EXP): Likewise.
55422         (LDBL_MAX_10_EXP): Likewise.
55423         (FLT_MAX): Use macro-constant.
55424         (DBL_MAX): Likewise.
55425         (LDBL_MAX): Likewise.
55426         (FLT_EPSILON): Use macro-constant.  Give upper bound.
55427         (DBL_EPSILON): Likewise.
55428         (LDBL_EPSILON): Likewise.
55429         (FLT_MIN): Likewise.
55430         (DBL_MIN): Likewise.
55431         (LDBL_MIN): Likewise.
55432         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
55433         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
55434         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
55435         [ISO11] (FLT_HAS_SUBNORM): Likewise.
55436         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
55437         [ISO11] (DBL_DECIMAL_DIG): Likewise.
55438         [ISO11] (FLT_DECIMAL_DIG): Likewise.
55439         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
55440         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
55441         [ISO11] (FLT_TRUE_MIN): Likewise.
55442         [ISO11] (LDBL_TRUE_MIN): Likewise.
55443         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55444         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
55445         (SCHAR_MIN): Use macro-int-constant.  Specify type.
55446         (SCHAR_MAX): Likewise.
55447         (UCHAR_MAX): Likewise.
55448         (CHAR_MIN): Likewise.
55449         (CHAR_MAX): Likewise.
55450         (MB_LEN_MAX): Use macro-int-constant.
55451         (SHRT_MIN): Use macro-int-constant.  Specify type.
55452         (SHRT_MAX): Likewise.
55453         (USHRT_MAX): Likewise.
55454         (INT_MAX): Likewise.
55455         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
55456         bound negative.
55457         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
55458         bound with "U".
55459         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
55460         bound with "L".
55461         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
55462         bound negative.  Suffix upper bound with "L".
55463         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
55464         bound with "UL".
55465         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
55466         Specify type.
55467         [C99-based standards] (LLONG_MAX): Likewise.
55468         [C99-based standards] (ULLONG_MAX): Likewise.
55469         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
55470         == 0.
55471         [ISO11] (max_align_t): Require type.
55472         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55474         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
55475         from $CFLAGS, without defining away __attribute__ calls.
55476         (checknamespace): Use $CFLAGS_namespace.
55478         * conform/conformtest.pl (@keywords): Only include C99 keywords
55479         for standards based on C99 or C11.
55481         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
55482         Disable tests.
55483         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
55484         UNIX98]: Likewise.
55486         * conform/conformtest.pl: Handle "macro-int-constant" and test for
55487         usability of symbols in #if.
55489         * conform/conformtest.pl: If macro or constant types start
55490         "promoted:", expect the symbol to be of the following type
55491         promoted by the integer promotions.
55493         * conform/conformtest.pl: Parse all "constant" and "macro" lines
55494         in one place.  Also handle "macro-constant".
55496         * conform/conformtest.pl: Only accept expected macro values with
55497         "==".  Parse all "macro" lines in one place.
55498         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
55500         * conform/conformtest.pl: Handle braced types on "constant" lines
55501         instead of handling "typed-constant".
55502         * conform/data/signal.h-data: Use "constant" instead of
55503         "typed-constant".
55505         * conform/conformtest.pl: Handle "optional-" at start of lines in
55506         one place rather than duplicating several cases.  Handle each
55507         format of "macro" line with initial "optional-".
55509         * conform/conformtest.pl: Only accept expected constant or
55510         optional-constant values with "==".  Parse all "constant" lines in
55511         one place.  Parse all "optional-constant" lines in one place.
55512         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
55513         * conform/data/fmtmsg.h-data: Likewise.
55514         * conform/data/netinet/in.h-data: Likewise.
55515         * conform/data/tar.h-data: Likewise.
55516         * conform/data/limits.h-data: Use "==" form on "constant" and
55517         "optional-constant" lines.
55519         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
55520         Use -std=c99 for XOPEN2K.
55521         (@knownproblems): Remove.
55522         (newtoken): Don't check %isknown.
55524         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
55525         Do not expect macro.
55526         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
55527         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
55528         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
55529         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
55530         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
55531         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
55532         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
55533         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
55534         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
55535         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
55536         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
55537         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
55538         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
55539         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
55540         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
55541         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
55542         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
55543         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
55544         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
55545         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
55546         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
55547         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
55548         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
55549         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
55550         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
55551         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
55552         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
55553         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
55554         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
55555         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
55556         [XPG3] (acosh): Likewise.
55557         [XPG3] (asinh): Likewise.
55558         [XPG3] (atanh): Likewise.
55559         [XPG3] (cbrt): Likewise.
55560         [XPG3] (expm1): Likewise.
55561         [XPG3] (ilogb): Likewise.
55562         [XPG3] (log1p): Likewise.
55563         [XPG3] (logb): Likewise.
55564         [XPG3] (nextafter): Likewise.
55565         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
55566         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
55567         [XPG3] (remainder): Likewise.
55568         [XPG3] (rint): Likewise.
55569         [XPG3 || XPG4 || UNIX98] (round): Likewise.
55570         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
55571         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
55572         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
55573         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
55574         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
55575         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
55576         [UNIX98 || XOPEN2K] (scalb): Expect.
55577         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
55578         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
55579         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
55580         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
55581         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
55582         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
55583         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
55584         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
55585         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
55586         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
55587         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
55588         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
55589         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
55590         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
55591         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
55592         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
55593         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
55594         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
55595         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
55596         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
55597         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
55598         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
55599         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
55600         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
55601         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
55602         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
55603         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
55604         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
55605         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
55606         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
55607         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
55608         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
55609         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
55610         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
55611         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
55612         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
55613         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
55614         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
55615         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
55616         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
55617         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
55618         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
55619         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
55620         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
55621         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
55622         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
55623         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
55624         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
55625         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
55626         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
55627         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
55628         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
55629         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
55630         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
55631         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
55632         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
55633         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
55634         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
55635         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
55636         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
55637         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
55638         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
55639         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
55640         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
55641         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
55642         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
55643         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
55644         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
55645         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
55646         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
55647         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
55648         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
55649         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
55650         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
55651         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
55652         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
55653         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
55654         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
55655         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
55656         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
55657         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
55658         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
55659         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
55660         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
55661         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
55662         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
55663         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
55664         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
55665         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
55666         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
55667         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
55668         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
55669         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
55670         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
55671         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
55672         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
55673         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
55674         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
55675         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
55676         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
55677         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
55678         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
55679         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
55680         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
55681         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
55682         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
55683         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
55684         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
55685         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
55686         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
55687         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
55688         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
55689         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
55690         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
55691         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
55692         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
55693         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
55694         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
55695         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
55696         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
55697         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
55698         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
55699         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
55700         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
55701         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
55702         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
55703         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
55704         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
55705         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
55706         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
55707         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
55708         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
55709         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
55710         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
55711         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
55712         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
55713         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
55715         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
55716         _XOPEN_SOURCE_EXTENDED for XPG4.
55718         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
55720         * Makeconfig (localtime): Remove variable.
55721         (inst_localtime-file): Likewise.
55723 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
55725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
55726         Update.
55727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55728         Update.
55729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
55730         Update.
55731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
55732         Update.
55733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
55734         Update.
55735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
55736         Update.
55737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55738         Update.
55739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
55740         Update.
55741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
55742         Update.
55744 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
55746         [BZ #2550]
55747         [BZ #2570]
55748         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
55749         comparisons to determine direction to adjust input.
55750         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
55751         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
55752         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
55753         Likewise.
55754         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
55755         Likewise.
55756         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
55757         Likewise.
55758         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
55759         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
55760         Likewise.
55761         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
55762         Likewise.
55763         * math/libm-test.inc (nexttoward_test): Add more tests.
55765 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
55767         [BZ #14040]
55768         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
55769         in version GLIBC_2.1, not GLIBC_2.0.
55770         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
55771         Likewise.
55773 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
55775         [BZ #13942]
55776         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
55777         (1 - x) * (1 + x).
55778         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
55779         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
55780         * math/libm-test.inc (acos_test): Add more tests.
55781         (asin_test): Likewise.
55782         * sysdeps/i386/fpu/libm-test-ulps: Update.
55783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55785         [BZ #14034]
55786         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
55787         of square root.
55788         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
55789         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
55790         * math/libm-test.inc (acos_test_tonearest): New function.
55791         (acos_test_towardzero): Likewise.
55792         (acos_test_downward): Likewise.
55793         (acos_test_upward): Likewise.
55794         (asin_test_tonearest): Likewise.
55795         (asin_test_towardzero): Likewise.
55796         (asin_test_downward): Likewise.
55797         (asin_test_upward): Likewise.
55798         (main): Call the new functions.
55799         * sysdeps/i386/fpu/libm-test-ulps: Update.
55800         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55802         [BZ #13884]
55803         [BZ #13924]
55804         * math/e_exp10.c: Include <float.h>.
55805         (__ieee754_exp10): Handle underflow here rather than multiplying
55806         large negative argument by M_LN10.
55807         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
55808         of __ieee754_expf.
55809         * math/e_exp10l.c: Include <float.h>.
55810         (__ieee754_exp10l): Handle underflow here rather than multiplying
55811         large negative argument by M_LN10l.
55812         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
55813         spurious overflow exception on underflow.
55815 2012-04-29  Marek Polacek  <polacek@redhat.com>
55817         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
55818         (__fortify_function): New macro.
55819         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
55820         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
55821         __extern_always_inline.
55822         * libio/bits/stdio2.h: Likewise.
55823         * libio/bits/stdio.h: Likewise.
55824         * string/string.h: Likewise.
55825         * string/bits/string3.h: Likewise.
55826         * include/stdio.h: Likewise.
55827         * stdlib/bits/stdlib.h: Likewise.
55828         * stdlib/stdlib.h: Likewise.
55829         * rt/bits/mqueue2.h: Likewise.
55830         * rt/mqueue.h: Likewise.
55831         * posix/bits/unistd.h: Likewise.
55832         * posix/unistd.h: Likewise.
55833         * io/bits/poll2.h: Likewise.
55834         * io/bits/fcntl2.h: Likewise.
55835         * io/fcntl.h: Likewise.
55836         * io/sys/poll.h: Likewise.
55837         * misc/bits/syslog.h: Likewise.
55838         * misc/bits/syslog-ldbl.h: Likewise.
55839         * misc/sys/syslog.h: Likewise.
55840         * socket/bits/socket2.h: Likewise.
55841         * socket/sys/socket.h: Likewise.
55842         * debug/tst-chk1.c: Likewise.
55843         * wcsmbs/bits/wchar2.h: Likewise.
55844         * wcsmbs/bits/wchar-ldbl.h: Likewise.
55845         * wcsmbs/wchar.h: Likewise.
55847 2012-04-29  Andreas Jaeger  <aj@suse.de>
55849         * Makerules (tests): Remove enable-check-abi protection.
55850         (check-abi-warn): Remove.
55851         (check-abi-%): Remove check-abi-warn usage.
55853         * configure.in: Remove check-abi configure option.
55854         * configure: Regenerated.
55855         * config.make.in (enable-check-abi): Remove.
55857 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
55859         [BZ #14033]
55860         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
55861         double functions to double *_finite functions.
55863         [BZ #13941]
55864         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
55865         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
55866         LDBL_MIN_EXP.
55867         * stdio-common/Makefile (tests): Add tst-sprintf3.
55868         * stdio-common/tst-sprintf3.c: New file.
55870         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
55871         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
55873 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
55875         * conform/conformtest.pl: Remove duplicate typed-constant
55876         handling.
55878 2012-04-28  David S. Miller  <davem@davemloft.net>
55880         * Makerules (%.abilist): Add vpath on sysdep_dirs.
55881         (check-abi-%): Remove AWK script prerequisite and explicit
55882         abilist directory.
55883         (check-abi): Rewrite to just diff the symlist with the abilist.
55884         (config-tls, config-abi-config): Delete, no longer used.
55885         (update-abi-%): Remove AWK script and explicit abilist directory.
55886         (update-abi): Rewrite to simply compare and conditionally copy the
55887         symlist and the sysdep abilist file.  Remove update-abi-config
55888         checks.
55889         * abilist/ld.abilist: Remove.
55890         * abilist/libBrokenLocale.abilist: Remove.
55891         * abilist/libanl.abilist: Remove.
55892         * abilist/libcrypt.abilist: Remove.
55893         * abilist/libdl.abilist: Remove.
55894         * abilist/librt.abilist: Remove.
55895         * abilist/libthread_db.abilist: Remove.
55896         * abilist/libutil.abilist: Remove.
55897         * scripts/extract-abilist.awk: Remove.
55898         * scripts/merge-abilist.awk: Remove.
55899         * sysdeps/generic/libcidn.abilist: New file.
55900         * sysdeps/generic/libnss_compat.abilist: New file.
55901         * sysdeps/generic/libnss_db.abilist: New file.
55902         * sysdeps/generic/libnss_dns.abilist: New file.
55903         * sysdeps/generic/libnss_files.abilist: New file.
55904         * sysdeps/generic/libnss_hesiod.abilist: New file.
55905         * sysdeps/generic/libnss_nis.abilist: New file.
55906         * sysdeps/generic/libnss_nisplus.abilist: New file.
55907         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
55908         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
55909         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
55910         file.
55911         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
55912         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
55913         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
55914         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
55915         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
55916         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
55917         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
55918         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
55919         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
55920         file.
55921         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
55922         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
55923         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
55924         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
55925         file.
55926         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
55927         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
55928         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
55929         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
55930         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
55931         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
55932         file.
55933         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
55934         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
55935         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
55936         file.
55937         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
55938         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
55939         New file.
55940         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
55941         New file.
55942         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
55943         New file.
55944         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
55945         New file.
55946         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
55947         New file.
55948         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
55949         New file.
55950         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
55951         New file.
55952         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
55953         New file.
55954         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
55955         New file.
55956         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
55957         New file.
55958         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
55959         New file.
55960         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
55961         New file.
55962         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
55963         New file.
55964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
55965         file.
55966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
55967         New file.
55968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
55969         New file.
55970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
55971         file.
55972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
55973         New file.
55974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
55975         New file.
55976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
55977         file.
55978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
55979         New file.
55980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
55981         New file.
55982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
55983         New file.
55984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
55985         New file.
55986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
55987         New file.
55988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
55989         New file.
55990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
55991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
55992         file.
55993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
55994         New file.
55995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
55996         file.
55997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
55998         file.
55999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
56000         file.
56001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
56002         file.
56003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
56004         file.
56005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56006         New file.
56007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
56008         file.
56009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
56010         file.
56011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
56012         New file.
56013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
56014         file.
56015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
56016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
56017         file.
56018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
56019         New file.
56020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
56021         file.
56022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
56023         file.
56024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
56025         file.
56026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
56027         file.
56028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
56029         file.
56030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56031         New file.
56032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
56033         file.
56034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
56035         file.
56036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
56037         New file.
56038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
56039         file.
56040         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56041         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
56042         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
56043         file.
56044         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
56045         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
56046         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
56047         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
56048         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
56049         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
56050         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
56051         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
56052         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
56053         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
56054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
56055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
56056         file.
56057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
56058         New file.
56059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
56060         file.
56061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
56062         file.
56063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
56064         file.
56065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
56066         file.
56067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
56068         file.
56069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
56070         New file.
56071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
56072         New file.
56073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
56074         file.
56075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
56076         New file.
56077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
56078         file.
56079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
56080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
56081         file.
56082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
56083         New file.
56084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
56085         file.
56086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
56087         file.
56088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
56089         file.
56090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
56091         file.
56092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
56093         file.
56094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
56095         New file.
56096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
56097         New file.
56098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
56099         file.
56100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
56101         New file.
56102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
56103         file.
56105 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
56107         * conform/conformtest.pl: Fix typo in handling typed-constant from
56108         allow-header.
56110 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
56112         * README: Cut down references to pre-2.6 Linux kernels and
56113         Linuxthreads.  Update lists of configurations in libc and ports
56114         and sort alphabetically.  Say "or newer" with Linux kernel version
56115         requirements.
56117         * config.h.in [IS_IN_build]: Allow compiling without optimization.
56119 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56121         [BZ #887]
56122         * math/libm-test.inc (logb_test_downward): New test to expose
56123         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
56124         rounding mode.
56126 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
56128         [BZ #14027]
56129         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
56130         to be done.
56131         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
56132         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
56134 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
56136         * sysdeps/unix/i386/brk.S: Remove file.
56137         * sysdeps/unix/i386/dl-brk.S: Likewise.
56138         * sysdeps/unix/i386/pipe.S: Likewise.
56139         * sysdeps/unix/i386/sigreturn.S: Likewise.
56140         * sysdeps/unix/i386/syscall.S: Likewise.
56141         * sysdeps/unix/i386/vfork.S: Likewise.
56142         * sysdeps/unix/i386/wait.S: Likewise.
56144         * sysdeps/unix/common/tcsendbrk.c: Move to ...
56145         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
56147         * configure.in (arm*-none*): Do not allow without
56148         --enable-hacker-mode.
56149         (netbsd*): Remove case setting base_os.
56150         (386bsd*): Likewise.
56151         (freebsd*): Likewise.
56152         (bsdi*): Likewise.
56153         (osf*): Likewise.
56154         (sunos*): Likewise.
56155         (ultrix*): Likewise.
56156         (newsos*): Likewise.
56157         (dynix*): Likewise.
56158         (*bsd*): Likewise.
56159         (sysv*): Likewise.
56160         (isc*): Likewise.
56161         (esix*): Likewise.
56162         (sco*): Likewise.
56163         (minix*): Likewise.
56164         (irix4*): Likewise.
56165         (irix6*): Likewise.
56166         (solaris[2-9]*): Likewise.
56167         (none): Likewise.
56168         * configure: Regenerated.
56170 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56172         [BZ #11521]
56173         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
56174         overflow or cancellation in calculating denominator.
56175         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
56176         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
56177         down expression to avoid unexpected rounding in newer GCCs.
56178         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
56180 2012-04-26  David S. Miller  <davem@davemloft.net>
56182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
56183         long-double compat symbols.
56184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
56188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
56190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
56191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
56192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
56193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
56194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
56195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
56196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56198 2012-04-25  David S. Miller  <davem@davemloft.net>
56200         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
56201         HWCAP_* values only after the memory barriers have been defined.
56202         (atomic_full_barrier): Define.
56203         (atomic_read_barrier): Define.
56204         (atomic_write_barrier): Define.
56206 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56208         * shlib-versions: Add libgcc_s version information.
56209         * sysdeps/generic/libgcc_s.h: Remove.
56210         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
56211         libgcc_s.h.
56212         * sysdeps/gnu/unwind-resume.c: Likewise.
56213         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
56215 2012-04-25  David S. Miller  <davem@davemloft.net>
56217         * sysdeps/unix/sparc/brk.S: Delete.
56218         * sysdeps/unix/sparc/dl-brk.S: Delete.
56219         * sysdeps/unix/sparc/pipe.S: Delete.
56220         * sysdeps/unix/sparc/sysdep.S: Delete.
56221         * sysdeps/unix/sparc/sysdep.h: Delete.
56222         * sysdeps/unix/sparc/vfork.S: Delete.
56223         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
56224         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
56225         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
56226         (ret_ERRVAL, r0, r1, MOVE): Define.
56227         (JUMPTARGET): Remove.
56228         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
56229         sysdeps/unix/sparc/sysdep.h
56230         (ENTRY, END): Remove.
56231         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56233 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
56235         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
56236         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
56237         -DIS_IN_build.
56239         * timezone/README: Update upstream location and email address for
56240         tzcode and tzdata.
56241         * timezone/zdump.c: Update from tzcode 2012b.
56242         * timezone/zic.c: Likewise.
56244         * configure.in (libc_cv_as_needed): Remove test.
56245         * configure: Regenerated.
56246         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
56247         conditional definition.
56248         [$(have-as-needed) != yes] (no-as-needed): Likewise.
56249         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
56250         * config.make.in (have-as-needed): Remove variable.
56252 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56253             Paul Pluzhnikov  <ppluzhnikov@google.com>
56255         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
56256         strings correctly.
56258 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
56260         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
56261         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
56262         * sysdeps/sh/strlen.S: Likewise.
56264 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
56266         * sysdeps/unix/fork.S: Remove file.
56267         * sysdeps/unix/i386/fork.S: Likewise.
56268         * sysdeps/unix/sparc/fork.S: Likewise.
56270         * sysdeps/unix/system.c: Remove file.
56271         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
56273         * sysdeps/unix/getegid.S: Remove file.
56274         * sysdeps/unix/geteuid.S: Likewise.
56276 2012-04-24  Roland McGrath  <roland@hack.frob.com>
56278         * scripts/check-localplt.awk: New file.
56279         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
56280         of diff.
56281         * scripts/data/localplt-generic.data: Add a comment.
56283         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
56284         NODE when __dir_mkfile failed.
56285         * sysdeps/mach/hurd/symlinkat.c: Likewise.
56286         Reported by Ludovic Courtès <ludo@gnu.org>.
56288 2012-04-24  Andreas Jaeger  <aj@suse.de>
56290         * Makerules (common-clean): Also remove gen-as-const-headers
56291         files.
56293 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
56295         * Makerules (native-compile): Do not change working directory for
56296         build.  Use $(OUTPUT_OPTION) in command.
56297         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
56299 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56301         [BZ #13886]
56302         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
56303         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
56304         * math/libm-test.inc (floor_test): Add more tests.
56305         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
56307 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
56309         * sysdeps/unix/getdents.c: Remove file.
56310         * sysdeps/unix/sysv/getdents.c: Likewise.
56311         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
56313         * sysdeps/unix/syscalls.list (madvise): Add syscall from
56314         sysdeps/unix/mman/syscalls.list.
56315         (mmap): Likewise.
56316         (mprotect): Likewise.
56317         (msync): Likewise.
56318         (munmap): Likewise.
56319         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
56320         * sysdeps/unix/mman/syscalls.list: Remove.
56321         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
56323         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
56324         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
56325         * configure: Regenerated.
56326         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
56327         $(libgcc_s_suffix).
56328         * config.make.in (libgcc_s_suffix): Remove variable.
56330 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
56332         * sysdeps/unix/sysv/gethostname.c: Move to ...
56333         * sysdeps/posix/gethostname.c: ... here.
56335         * sysdeps/unix/execve.S: Remove file.
56337         * sysdeps/unix/_exit.S: Remove file.
56339 2012-04-23  Andreas Jaeger  <aj@suse.de>
56341         [BZ #13739]
56342         * manual/Makefile: Remove make dist support, there's no
56343         need for a stand-alone documentation tar ball.
56344         (TEXI2DVI): Define always, it's not in Makeconfig.
56345         (dist): Removed.
56346         (tar-it): Removed.
56347         (edition): Removed.
56348         (glibc-doc-$(edition).tar): Removed
56349         (%.Z): Removed.
56350         (%.gz): Removed.
56351         (%.uu): Removed.
56352         (ETAGS): Remove, it's in Makeconfig.
56353         (move-if-change): Remove, it's in Makeconfig.
56355 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
56357         [BZ #13970]
56358         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
56359         (strtod, strtof, strtold, strtol, strtoul, strtoq)
56360         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
56361         (strtod_l, strtof_l, strtold_l): Remove __wur.
56362         It is not necessarily an error to ignore strtol's return value.
56363         One can reliably look at the stored endptr to decide whether
56364         the number had valid syntax.
56366 2012-04-21  Andreas Jaeger  <aj@suse.de>
56368         [BZ #13739]
56369         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
56371 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
56373         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
56374         * sysdeps/unix/sysv/Versions: Remove file.
56376 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
56378         [BZ #13927]
56379         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56381 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
56383         [BZ #7064]
56384         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
56385         version from __vm86.
56387 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
56389         * sysdeps/unix/common/lxstat.c: Remove file.
56390         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
56392         * sysdeps/unix/sysv/Makefile: Remove file.
56394         * sysdeps/unix/sysv/direct.h: Remove file.
56396         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
56397         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
56398         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
56399         * sysdeps/unix/sysv/bits/signum.h: Likewise.
56400         * sysdeps/unix/sysv/bits/stat.h: Likewise.
56401         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
56402         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
56404         * sysdeps/unix/sysv/setrlimit.c: Remove file.
56406         * sysdeps/unix/xmknod.c: Remove file.
56407         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
56409         * sysdeps/unix/sysv/settimeofday.c: Remove file.
56411         * sysdeps/unix/sysv/i386/time.S: Remove file.
56413         * sysdeps/unix/fxstat.c: Remove file.
56414         * sysdeps/unix/xstat.c: Likewise.
56415         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
56417         * sysdeps/unix/sysv/sigaction.c: Remove file.
56419         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
56420         (sysdep_headers): Remove variable.
56421         [termio.h not in sysdep_headers] (generated): Likewise.
56422         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
56423         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
56424         * sysdeps/unix/sysv/tcdrain.c: Likewise.
56425         * sysdeps/unix/sysv/tcflow.c: Likewise.
56426         * sysdeps/unix/sysv/tcflush.c: Likewise.
56427         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
56428         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
56429         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
56430         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
56431         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
56433         * sysdeps/unix/siglist.c: Remove file.
56435         * sysdeps/unix/getppid.S: Remove file.
56437         * sysdeps/unix/mkdir.c: Remove file.
56438         * sysdeps/unix/rmdir.c: Likewise.
56440 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
56442         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
56443         ERR_MAX value.
56444         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
56445         errlist-compat value.
56447 2012-04-18  David S. Miller  <davem@davemloft.net>
56449         * sysdeps/generic/memcopy.h (reg_char): Delete.
56450         * debug/strcat_chk.c: Use char, not reg_char.
56451         * debug/strcpy_chk.c: Likewise.
56452         * debug/strncat_chk.c: Likewise.
56453         * debug/strncpy_chk.c: Likewise.
56454         * string/memchr.c: Likewise.
56455         * string/memrchr.c: Likewise.
56456         * string/rawmemchr.c: Likewise.
56457         * string/strcat.c: Likewise.
56458         * string/strchr.c: Likewise.
56459         * string/strchrnul.c: Likewise.
56460         * string/strcmp.c: Likewise.
56461         * string/strcpy.c: Likewise.
56462         * string/strncat.c: Likewise.
56463         * string/strncmp.c: Likewise.
56464         * string/strncpy.c: Likewise.
56466 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
56468         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
56469         __builtin_memcopy is called when src and dest ranges are known to not
56470         overlap.
56472 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
56474         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
56475         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
56476         fwd_align_merge macro call.
56477         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
56478         bwd_align_merge macro call.
56479         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
56481 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
56483         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
56484         bwd_align_merge macros.
56485         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
56486         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
56487         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
56489 2012-04-18  David S. Miller  <davem@davemloft.net>
56491         * sysdeps/sparc/sparc64/memcopy.h: Delete.
56493 2012-04-18  Andreas Jaeger  <aj@suse.de>
56495         [BZ# 6794]
56496         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
56497         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
56498         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
56500         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
56501         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
56502         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
56504         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
56505         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
56506         Adjust for changed ldbl-128 files.
56508         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
56509         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
56510         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
56512 2012-04-17  David S. Miller  <davem@davemloft.net>
56514         * sysdeps/sparc/sparc32/memcopy.h: Delete.
56516 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
56518         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
56519         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
56520         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
56521         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
56522         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
56523         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
56525 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56527         [BZ #6794]
56528         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
56529         * math/libm-test.inc: Add ilogb errno and exception tests.
56530         * math/w_ilogb.c: New file: ilogb wrapper.
56531         * math/w_ilogbf.c: New file: ilogbf wrapper.
56532         * math/w_ilogbl.c: New file: ilogbl wrapper.
56533         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
56534         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
56535         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
56536         exception being thrown with 0.0 as argument.
56537         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
56538         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
56539         exception being thrown with 0.0 as argument.
56540         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
56541         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
56542         exception being thrown with 0.0 as argument.
56543         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
56544         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
56545         exception being thrown with 0.0 as argument.
56546         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
56547         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
56548         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
56549         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
56550         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
56551         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
56552         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
56553         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
56554         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
56556 2012-04-17  Petr Baudis  <pasky@ucw.cz>
56558         * include/sys/uio.h: Change __vector to __iovec to avoid clash
56559         with altivec.
56561 2012-04-16  Marek Polacek  <polacek@redhat.com>
56563         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
56565 2012-04-16  Marek Polacek  <polacek@redhat.com>
56567         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
56568         operands of fdivp instruction.
56570 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
56572         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
56573         * elf/tst-auditmod3b.c: Likewise.
56574         * elf/tst-auditmod4b.c: Likewise.
56575         * elf/tst-auditmod5b.c: Likewise.
56576         * elf/tst-auditmod6b.c: Likewise.
56577         * elf/tst-auditmod6c.c: Likewise.
56578         * elf/tst-auditmod7b.c: Likewise.
56579         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
56580         * sysdeps/x86_64/preconfigure.in: Likewise.
56581         * sysdeps/x86_64/preconfigure: Regenerated.
56583 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
56585         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
56586         __ILP32__.
56588 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
56590         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56591         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
56593 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
56595         [BZ #13973]
56596         * locale/iso-639.def: Fix gl language name. Spotted by
56597         Yaron Shahrabani.
56599 2012-04-12  Roland McGrath  <roland@hack.frob.com>
56601         [BZ #2074]
56602         * libio/libio.h (__io_write_fn): Update comment.
56604 2012-04-12  Petr Baudis  <pasky@ucw.cz>
56606         [BZ #2074]
56607         * stdio.texi (Hook Functions): The user provided writer function
56608         is not allowed to return -1.
56610 2012-04-11  David S. Miller  <davem@davemloft.net>
56612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56614 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
56616         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
56617         Add a leading slash to rtkaio.
56619 2012-04-11  Jim Meyering  <meyering@redhat.com>
56621         [BZ #11959]
56622         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
56623         It is not necessarily an error to ignore fwrite's return
56624         value.  One can reliably use ferror to test for errors after
56625         the fact.
56627 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
56629         * bits/types.h (__snseconds_t): New type.
56630         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
56632         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
56633         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56634         (__SNSECONDS_T_TYPE): Likewise.
56635         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56636         (__SNSECONDS_T_TYPE): Likewise.
56637         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56638         (__SNSECONDS_T_TYPE): Likewise.
56640 2012-04-10  Andreas Jaeger  <aj@suse.de>
56642         [BZ #2636]
56643         * manual/time.texi (Processor Time): Return type of times is
56644         elapsed real time since an arbitrary point in the past.
56645         (CPU Time): Move CLK_TCK from here...
56646         (Processor Time): ...to here.  Correct description.
56647         * manual/conf.texi (Constants for Sysconf): Correct description of
56648         _SC_CLK_TCK.
56650 2012-04-10  David S. Miller  <davem@davemloft.net>
56652         [BZ #13967]
56653         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
56654         where the is a gap between DT_REL(A) and DT_JMPREL.
56656 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
56658         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
56659         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
56660         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
56662 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56664         * elf/dl-support.c (_dl_inhibit_cache): New variable.
56665         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
56666         (dl_main): Handle --inhibit-cache.
56667         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
56668         _dl_inhibit_cache.
56669         * elf/dl-load.c (_dl_map_object): Use it.
56670         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
56672 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
56674         [BZ #13872]
56675         * sysdeps/i386/fpu/e_powl.S (p78): New object.
56676         (__ieee754_powl): Saturate large exponents rather than testing for
56677         overflow of y*log2(x).
56678         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56679         * math/libm-test.inc (pow_test): Do not permit spurious overflow
56680         exceptions.
56682         [BZ #11521]
56683         * math/s_ctan.c: Include <float.h>.
56684         (__ctan): Avoid internal overflow or cancellation in calculating
56685         denominator.
56686         * math/s_ctanf.c: Likewise.
56687         * math/s_ctanl.c: Likewise.
56688         * math/s_ctanh.c: Likewise.
56689         * math/s_ctanhf.c: Likewise.
56690         * math/s_ctanhl.c: Likewise.
56691         * math/libm-test.inc (ctan_test): Add more tests.
56692         (ctanh_test): Likewise.
56693         * sysdeps/i386/fpu/libm-test-ulps: Update.
56694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56696 2012-04-09  Andreas Jaeger  <aj@suse.de>
56698         [BZ #6894]
56699         * manual/filesys.texi (Directory Entries): Mention that d_namlen
56700         is an optional BSD extension.
56702         [BZ #10254]
56703         * manual/stdio.texi (Opening Streams): Document additional fopen
56704         parameters.
56706 2012-04-09  Roland McGrath  <roland@hack.frob.com>
56708         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
56709         %eax without telling the compiler.
56711 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
56713         [BZ # 13963]
56714         * manual/install.texi: Use sourceware.org.
56716 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
56718         [BZ #13873]
56719         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
56720         (__ieee754_pow): Generate overflow and underflow using huge*huge
56721         and tiny*tiny rather than just returning constant infinity or zero
56722         for large exponents.
56723         * math/libm-test.inc (pow_test): Require overflow exceptions for
56724         applicable cases of large exponents.
56726         [BZ #706]
56727         * sysdeps/i386/fpu/e_pow.S (p10): New object.
56728         (__ieee754_pow): Use iterative multiplication algorithm only for
56729         integer exponents with absolute value below 1024.  Check for odd
56730         integer exponents when using algorithm for real exponents.
56731         * math/libm-test.inc (pow_test): Add more tests.
56732         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56734 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
56736         [BZ #13705]
56737         * math/libm-test.inc (exp_test): Do not allow overflow exception
56738         on underflow test.
56740 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
56742         [BZ #13705]
56743         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
56744         instead of __kernel_standard_f.
56746 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
56748         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
56749         * sysdeps/x86_64/memset_chk.S: Likewise.
56751 2012-04-08  Andreas Jaeger  <aj@suse.de>
56753         [BZ #10153]
56754         * manual/startup.texi (Environment Access): Describe return value
56755         for putenv and setenv.
56757         [BZ #6895]
56758         * manual/filesys.texi (Directory Entries): Add description for
56759         DT_LNK.
56761         [BZ #6890]
56762         * manual/filesys.texi (Directory Entries): Clarify that it's file
56763         system not operating system in the description of DT_UNKNOWN.
56765         [BZ #6578]
56766         * manual/syslog.texi (closelog): Fix reference, it's openlog.
56768 2012-04-08  Stephen Compall  <s11@member.fsf.org>
56770         [BZ #6649]
56771         * manual/llio.texi (Opening and Closing Files): Add cross
56772         reference to explain mode argument.
56774 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
56776         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
56777         * sysdeps/x86_64/memset_chk.S: Likewise.
56779 2012-04-07  David S. Miller  <davem@davemloft.net>
56781         * elf/elf.h (R_SPARC_WDISP10): Define.
56782         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
56783         R_SPARC_SIZE32.
56784         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
56785         R_SPARC_SIZE64 and R_SPARC_H34.
56787 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
56789         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
56790         conditions and remove no longer applicable assertion.
56792 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
56794         * bits/byteswap.h: Include <features.h>.
56795         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
56796         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
56798 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
56800         * bits/byteswap.h (__bswap_16): Removed.
56801         Include <bits/byteswap-16.h> to get __bswap_16.
56802         * sysdeps/i386/bits/byteswap.h: Likewise.
56803         * sysdeps/s390/bits/byteswap.h: Likewise.
56804         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56805         * bits/byteswap-16.h: New file.
56806         * sysdeps/i386/bits/byteswap-16.h: Likewise.
56807         * sysdeps/s390/bits/byteswap-16.h: Likewise.
56808         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
56809         * string/Makefile (headers): Add bits/byteswap-16.h.
56811 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56813         [BZ #13895]
56814         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
56815         extra indirection.
56816         * nss/Makefile (tests-static, tests): Add tst-nss-static.
56817         * nss/tst-nss-static.c: New.
56819 2012-04-06  Robert Millan  <rmh@gnu.org>
56821         [BZ #6486]
56822         * manual/llio.texi (File Position Primitive): lseek
56823         refers to WHENCE when it really means OFFSET.
56825 2012-04-06  Andreas Jaeger  <aj@suse.de>
56827         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
56828         strncmp declarations.
56830         * abilist/libc.abilist: Add __poll and __ppoll.
56832 2012-04-05  David S. Miller  <davem@davemloft.net>
56834         * scripts/check-local-headers.sh: Accept a host triplet in the
56835         path matched by the exclude regexp.
56837         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
56838         definition.
56839         * sysdeps/powerpc/powerpc32/dl-machine.h
56840         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
56841         * sysdeps/s390/s390-32/dl-machine.h
56842         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
56843         * sysdeps/sparc/sparc32/dl-machine.h
56844         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
56845         * sysdeps/sparc/sparc64/dl-machine.h
56846         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
56848         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
56849         lazy binding.
56850         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
56851         undefined symbol errors.
56853         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
56854         DT_NEEDED entries.
56856 2012-04-05  Michael Matz  <matz@suse.de>
56858         [BZ #13592]
56859         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
56861 2012-04-05  Andreas Jaeger  <aj@suse.de>
56863         [BZ #13908]
56864         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
56865         comment.
56867 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56869         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
56870         which ROUND is no valid rounding mode.
56872 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56874         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
56875         read again.
56876         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
56878 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56880         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
56881         an exception using FPU order intentionally.
56883 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56885         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
56886         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
56887         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
56888         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
56890 2012-04-05  Simon Josefsson  <simon@josefsson.org>
56892         [BZ #12340]
56893         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
56894         EINVAL when BUFLEN is too smal.
56896 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
56898         [BZ #13553]
56899         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
56900         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
56902 2012-04-03  Andreas Jaeger  <aj@suse.de>
56904         [BZ #13938]
56905         * manual/setjmp.texi (System V contexts): Fix sentence.
56907         [BZ #13926]
56908         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
56909         New macro for this case.
56910         [!__GNUC__] (__bswap_64): New inline function for this case.
56911         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56912         * bits/byteswap.h: Likewise.
56913         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
56914         ull, guard with __GLIBC_HAVE_LONG_LONG.
56916         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
56917         __GLIBC_HAVE_LONG_LONG.
56919         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
56920         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
56922 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56924         [BZ #13691]
56925         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
56926         inptr and inend, rather than using last_ch.
56928 2012-04-02  David S. Miller  <davem@davemloft.net>
56930         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
56931         * stdio-common/printf-parse.h (read_int): Change return type to
56932         'int', return -1 on INT_MAX overflow.
56933         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
56934         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
56935         overflows INT_MAX.  Check for overflow of in-format-string precision
56936         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
56937         SIZE_MAX not INT_MAX for integer overflow test.
56938         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
56939         skip the construct in the format string but do not record anything.
56940         * stdio-common/bug22.c: Adjust to test both width/prevision
56941         INT_MAX overflow as well as total length INT_MAX overflow.  Check
56942         explicitly for proper errno values.
56944 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
56946         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
56947         CHAR_MAX.
56948         * string/test-strcmp.c [! WIDE]: Likewise.
56949         * time/tst-mktime2.c: Likewise for INT_MAX.
56950         * string/test-string.h: #include <sys/param.h> for MIN.
56952         * csu/init-first.c (__libc_init_first): Call __ctype_init.
56953         * sysdeps/i386/init-first.c (init): Likewise.
56954         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
56955         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
56956         * sysdeps/sh/init-first.c (init): Likewise.
56958 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
56960         * po/ru.po: Update from translation team.
56961         * po/vi.po: Likewise.
56963 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56965         * resolv/nss_dns/dns-host.c: Merge copyright years.
56967 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56969         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56970         Optimize memcpy with prefetch if
56971         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
56972         src, dst pointers have unequal 16 byte alignments.
56974 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56976         [BZ #13928]
56977         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
56978         from a CNAME entry and return the minimum ttl for the query.
56979         (gaih_getanswer_slice): Likewise.
56981 2012-03-30  Jeff Law  <law@redhat.com>
56983         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
56984         due to long keys.
56985         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
56986         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
56988         * resolv/nss_dns/dns-host.c: Update copyright year.
56990 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
56992         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
56993         requests to save a system call.  Fix check that all bytes are sent.
56995         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
56996         comments for sendmmsg.
56998 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57000         [BZ #13691]
57001         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
57002         with only 1 character between 0x0041 and 0x01b0.
57003         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
57004         * wcsmbs/tst-mbsnrtowcs.c: New file.
57006 2012-03-29  David S. Miller  <davem@davemloft.net>
57008         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
57009         small copies by hand.
57011 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57013         [BZ #13761]
57014         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
57015         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
57016         group memberships.
57018 2012-03-28  David S. Miller  <davem@davemloft.net>
57020         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
57021         that branches into memcpy.
57022         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
57023         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
57024         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57025         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
57026         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
57027         bits.
57028         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
57029         implementation too.
57030         * sysdeps/sparc/mempcpy.S: New file.
57032         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
57033         the IFUNC routine in the libc case.
57034         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57036         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
57037         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
57038         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
57039         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
57040         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
57041         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
57042         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
57043         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
57045         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
57046         loop to 256 bytes instead of 64 bytes and fix test signedness.
57048         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
57049         * sysdeps/sparc/sparc32/Makefile: rather than here...
57050         * sysdeps/sparc/sparc64/Makefile: and here.
57052 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
57054         * malloc/mallocbug.c: Avoid warnings about unused variables.
57056 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57058         [BZ #13760]
57059         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
57060         in the right place. Discard and retry query if response is
57061         larger than input buffer size.
57063 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
57065         [BZ #369]
57066         [BZ #2678]
57067         [BZ #3866]
57068         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
57069         x for large integer exponent.
57070         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
57071         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
57072         sign of result as needed afterwards.
57073         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
57074         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
57075         result for underflowing pow the same as for overflow.
57076         (__kernel_standard_l): Handle powl overflow and underflow here
57077         rather than calling __kernel_standard.
57078         * math/libm-test.inc (pow_test): Add more tests.
57080         [BZ #3868]
57081         [BZ #13879]
57082         [BZ #13910]
57083         [BZ #13911]
57084         [BZ #13912]
57085         [BZ #13913]
57086         [BZ #13915]
57087         [BZ #13916]
57088         [BZ #13917]
57089         [BZ #13918]
57090         [BZ #13919]
57091         [BZ #13920]
57092         [BZ #13921]
57093         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
57094         * sysdeps/ieee754/k_standard.c: Include <float.h>.
57095         (__kernel_standard_l): New function.
57096         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
57097         __kernel_standard.
57098         * math/w_acosl.c (__acosl): Likewise.
57099         * math/w_asinl.c (__asinl): Likewise.
57100         * math/w_atan2l.c (__atan2l): Likewise.
57101         * math/w_atanhl.c (__atanhl): Likewise.
57102         * math/w_coshl.c (__coshl): Likewise.
57103         * math/w_exp10l.c (__exp10l): Likewise.
57104         * math/w_exp2l.c (__exp2l): Likewise.
57105         * math/w_fmodl.c (__fmodl): Likewise.
57106         * math/w_hypotl.c (__hypotl): Likewise.
57107         * math/w_j0l.c (__j0l, __y0l): Likewise.
57108         * math/w_j1l.c (__j1l, __y1l): Likewise.
57109         * math/w_jnl.c (__jnl, __ynl): Likewise.
57110         * math/w_lgammal.c (__lgammal): Likewise.
57111         * math/w_log10l.c (__log10l): Likewise.
57112         * math/w_log2l.c (__log2l): Likewise.
57113         * math/w_logl.c (__logl): Likewise.
57114         * math/w_powl.c (__powl): Likewise.
57115         * math/w_remainderl.c (__remainderl): Likewise.
57116         * math/w_scalbl.c (sysv_scalbl): Likewise.
57117         * math/w_sinhl.c (__sinhl): Likewise.
57118         * math/w_sqrtl.c (__sqrtl): Likewise.
57119         * math/w_tgammal.c (__tgammal): Likewise.
57120         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
57121         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
57122         * math/libm-test.inc (acos_test): Add more tests.
57123         (acosh_test): Likewise.
57124         (asin_test): Likewise.
57125         (atanh_test): Likewise.
57126         (exp_test): Likewise.
57127         (exp10_test): Likewise.
57128         (exp2_test): Likewise.
57129         (expm1_test): Likewise.
57130         (lgamma_test): Likewise.
57131         (log_test): Likewise.
57132         (log10_test): Likewise.
57133         (log1p_test): Likewise.
57134         (log2_test): Likewise.
57135         (pow_test): Do not allow some spurious overflow exceptions.
57136         (sqrt_test): Add more tests.
57137         (tgamma_test): Likewise.
57138         (y0_test): Likewise.
57139         (y1_test): Likewise.
57140         (yn_test): Likewise.
57142 2012-03-27  Anton Blanchard  <anton@samba.org>
57144         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
57145         MAP_HUGETLB.
57146         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57147         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
57148         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57150 2012-03-27  David S. Miller  <davem@davemloft.net>
57152         * conform/Makefile: Run run-conformtest.sh using $(BASH).
57154         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
57155         have-as-vis3 check.
57157 2012-03-27  Andreas Jaeger  <aj@suse.de>
57159         * sysdeps/x86_64/elf/configure.in: Moved to ...
57160         * sysdeps/x86_64/configure.in: ... here.
57161         * sysdeps/x86_64/elf/start.S: Moved to ...
57162         * sysdeps/x86_64/start.S: ... here.
57163         * sysdeps/x86_64/elf/configure: Delete.
57165         * sysdeps/x86_64/configure.in: Merge contents from
57166         sysdeps/i386/configure.in (without i686 check).
57168         * sysdeps/i386/elf/Versions: Merge into ...
57169         * sysdeps/i386/Versions: ... this.
57170         * sysdeps/i386/elf/Versions: Delete file.
57171         * sysdeps/i386/elf/start.S: Moved to ...
57172         * sysdeps/i386/start.S: ...here.
57173         * sysdeps/i386/elf/configure.in: Merge into...
57174         * sysdeps/i386/configure.in: ...here.
57175         * sysdeps/i386/elf/configure.in: Delete file.
57176         * sysdeps/i386/elf/configure: Delete file.
57178         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
57179         * debug/backtracesyms.c: ... here.
57180         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
57181         * debug/backtracesymsfd.c: ... here.
57182         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
57183         * sysdeps/generic/ifunc-sel.h: ... here.
57185         * sysdeps/unix/i386/start.c: Delete file.
57186         * sysdeps/unix/sparc/start.c: Delete file.
57187         * sysdeps/unix/start.c: Delete file.
57189         * sysdeps/sh/elf/configure.in: Moved to ...
57190         * sysdeps/sh/configure.in: ... here.
57191         * sysdeps/sh/elf/start.S: Moved to ...
57192         * sysdeps/sh/start.S: ... here.
57193         * sysdeps/sh/elf/configure: Delete file.
57195         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
57196         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
57197         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
57198         * sysdeps/powerpc/powerpc64/entry.h: ... here.
57199         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
57200         * sysdeps/powerpc/powerpc64/start.S: here.
57201         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
57202         * sysdeps/powerpc/powerpc64/Makefile: ... this.
57203         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
57204         * sysdeps/powerpc/powerpc64/configure.in: ... this.
57205         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
57207         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
57208         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
57209         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
57210         * sysdeps/powerpc/powerpc32/start.S: ... here.
57211         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
57212         * sysdeps/powerpc/powerpc32/configure.in: ... this.
57213         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
57215         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
57216         * sysdeps/powerpc/ifunc-sel.h: ... here.
57217         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
57218         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
57220         * sysdeps/sparc/elf/configure.in: Moved to ...
57221         * sysdeps/sparc/configure.in: ... here.
57222         * sysdeps/sparc/elf/configure: Delete file.
57223         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
57224         * sysdeps/sparc/sparc32/start.S: ... here.
57225         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
57226         * sysdeps/sparc/sparc64/start.S: ... here.
57227         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
57228         * sysdeps/sparc/sparc32/Makefile: ... this.
57229         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
57230         * sysdeps/sparc/sparc64/Makefile: ... this.
57232         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
57233         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
57234         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
57235         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
57236         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
57237         * sysdeps/s390/s390-32/setjmp.S: ... here.
57238         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
57239         * sysdeps/s390/s390-32/configure.in: ... here.
57240         * sysdeps/s390/s390-32/elf/configure: Delete file.
57241         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
57242         * sysdeps/s390/s390-32/start.S: ... here.
57244         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
57245         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
57246         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
57247         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
57248         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
57249         * sysdeps/s390/s390-64/setjmp.S: ... here.
57250         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
57251         * sysdeps/s390/s390-64/configure.in: ... here
57252         * sysdeps/s390/s390-64/elf/configure: Delete file.
57253         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
57254         * sysdeps/s390/s390-64/start.S: ... here.
57255         * sysdeps/s390/s390-64/elf/configure: Delete.
57257         * configure.in: Remove support for elf directories in sysdeps.
57259         * configure: Regenerated.
57260         * sysdeps/i386/configure: Regenerated.
57261         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57262         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57263         * sysdeps/s390/s390-32/configure: Regenerated.
57264         * sysdeps/s390/s390-64/configure: Regenerated.
57265         * sysdeps/sh/configure: Regenerated.
57266         * sysdeps/sparc/configure: Regenerated.
57267         * sysdeps/x86_64/configure: Regenerated.
57269 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
57271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57273         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
57274         denormal result into account.
57276 2012-03-25  Roland McGrath  <roland@hack.frob.com>
57278         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
57279         Reported by Allan McRae <allan@archlinux.org>.
57281 2012-03-23  Jeff Law  <law@redhat.com>
57283         * nss/getnssent.c (__nss_getent): Fix typo.
57285 2012-03-23  David S. Miller  <davem@davemloft.net>
57287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57289 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
57291         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
57292         to pad to uint64_t for each field.
57293         (dl_tls_index): Replace unsigned long with uint64_t.
57295 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
57296         Paul Pluzhnikov  <ppluzhnikov@google.com>
57298         [BZ #6528]
57299         * grp/Makefile (otherlibs): Don't set it.
57300         * inet/Makefile (otherlibs): Likewise.
57301         * login/Makefile (otherlibs): Likewise.
57302         * nscd/Makefile (otherlibs): Likewise.
57303         * posix/Makefile (otherlibs): Likewise.
57304         * pwd/Makefile (otherlibs): Likewise.
57305         * rt/Makefile (otherlibs): Likewise.
57306         * sunrpc/Makefile (otherlibs): Likewise.
57307         * nss/Makefile (otherlibs): Likewise.
57308         Add libnss_files to routines and static-only-routines.
57309         ($(objpfx)getent): Remove rule.
57310         * resolv/Makefile: Add libnss_dns and libresolv to routines and
57311         static-only-routines.
57313 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
57315         [BZ #13892]
57316         * math/s_cexp.c: Include <float.h>.
57317         (__cexp): Handle exp result overflowing not necessarily
57318         overflowing both real and imaginary parts of result.
57319         * math/s_cexpf.c: Likewise.
57320         * math/s_cexpl.c: Likewise.
57321         * math/libm-test.inc (cexp_test): Add more tests.
57322         * sysdeps/i386/fpu/libm-test-ulps: Update.
57323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57325 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
57327         * include/link.h (ELFW): New macro.
57328         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
57329         Replace ELF64_R_TYPE with ELFW(R_TYPE).
57331 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
57333         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
57334         with uint64_t.
57336 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
57338         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
57339         declaration.
57340         (struct La_x32_retval): Likewise.
57342 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
57344         * sysdeps/x86_64/preconfigure.in: New file.
57345         * sysdeps/x86_64/preconfigure: New generated file.
57347 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
57349         [BZ #13824]
57350         * math/e_exp2l.c: Include <float.h>.
57351         (__ieee754_exp2l): Handle overflow and underflow cases
57352         separately.  Only pass fractional part of argument to
57353         __ieee754_expl.
57354         * math/libm-test.inc (exp2_test): Add more tests.
57356         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
57357         negating x to take absolute value.
57358         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
57359         Likewise.
57360         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
57361         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
57362         Likewise.
57363         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
57364         computing low part if x was negated.
57365         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
57367 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
57369         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
57370         la_x32_gnu_pltexit.
57371         (pltexit): Cast int_retval to ptrdiff_t.
57372         * elf/tst-auditmod3b.c: Likewise.
57373         * elf/tst-auditmod4b.c: Likewise.
57374         * elf/tst-auditmod5b.c: Likewise.
57375         * elf/tst-auditmod6b.c: Likewise.
57376         * elf/tst-auditmod6c.c: Likewise.
57377         * elf/tst-auditmod7b.c: Likewise.
57379         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
57380         and x32_gnu_pltexit.
57382         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
57383         __ELF_NATIVE_CLASS.
57384         (La_x32_regs): New macro.
57385         (La_x32_retval): Likewise.
57386         (la_x32_gnu_pltenter): New function prototype.
57387         (la_x32_gnu_pltexit): Likewise.
57389 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
57391         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
57392         exponent.
57394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57396         * configure.in (libc_cv_cc_nofma): Check for option to disable
57397         generation of FMA instructions.
57398         * configure: Regenerate.
57399         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
57400         * sysdeps/ieee754/dbl-64/Makefile: New file.
57401         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
57402         Remove brandred-fma4.
57403         (CFLAGS-brandred-fma4.c): Remove.
57404         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
57405         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
57406         define.
57407         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
57408         define.
57410 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
57412         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57413         LLONG_MAX != LONG_MAX.
57414         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57415         (_fitoa_word): Likewise.
57416         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
57417         LLONG_MAX != LONG_MAX.
57418         * stdio-common/_itowa.h: Include <_itoa.h>.
57419         (_itowa_word): Use _ITOA_WORD_TYPE on value.
57420         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
57421         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
57422         only if not defined.
57423         (_ITOA_WORD_TYPE): Likewise.
57424         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57425         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
57427 2012-03-21  David S. Miller  <davem@davemloft.net>
57429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57431 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
57433         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
57434         of x86_64 when setting libc_cv_slibdir, libdir and
57435         libc_cv_localedir.
57436         * sysdeps/unix/sysv/linux/configure: Regenerated.
57438 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
57440         * manual/lang.texi (Old Varargs): Remove section.
57441         (How Variadic): Update menu.
57442         (va_start): Do not mention varargs.h.
57444 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
57445             Joseph Myers  <joseph@codesourcery.com>
57447         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
57448         link test.
57449         * configure: Regenerated.
57451 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
57453         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
57454         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
57455         conformtest.pl
57457 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
57459         * NOTES: Remove.
57460         * Makefile (files-for-dist): Remove NOTES.
57461         (NOTES): Remove rule.
57462         * README: Don't refer to NOTES.
57463         * manual/creature.texi: Don't include macros.texi.
57464         * manual/intro.texi (creature.texi): Remove comment referring to
57465         NOTES.
57467         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
57468         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
57469         * configure: Regenerated.
57470         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
57471         LIBC_TRY_CC_OPTION.
57472         (libc_cv_as_i686): Likewise.
57473         (libc_cv_cc_avx): Likewise.
57474         (libc_cv_cc_sse2avx): Likewise.
57475         (libc_cv_cc_fma4): Likewise.
57476         (libc_cv_cc_novzeroupper): Likewise.
57477         * sysdeps/i386/configure: Regenerated.
57479         [BZ #13883]
57480         * sysdeps/i386/fpu/s_cexp.S: Remove.
57481         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57482         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57483         * math/libm-test.inc (cexp_test): Add more tests.
57484         * sysdeps/i386/fpu/libm-test-ulps: Update.
57485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57487 2012-03-21  Allan McRae  <allan@archlinux.org>
57489         * timezone/Makefile: Do not install iso3166.tab and zone.tab
57491 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
57493         [BZ #13871]
57494         * math/w_exp2.c: Do not include <float.h>.
57495         (o_threshold, u_threshold): Remove.
57496         (__exp2): Calculate result before checking finiteness and calling
57497         __kernel_standard.
57498         * math/w_exp2f.c: Likewise.
57499         * math/w_exp2l.c: Likewise.
57500         * math/libm-test.inc (exp2_test): Require overflow exception for
57501         1e6 input.
57503         [BZ #3866]
57504         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
57505         range of signed 64-bit integers before using fistpll.  Remove
57506         checks for whether integers fit in mantissa bits.
57507         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
57508         the range of signed 32-bit integers before using fistpl.  Remove
57509         checks for whether integers fit in mantissa bits.
57510         * sysdeps/i386/fpu/e_powl.S (p64): New object.
57511         (__ieee754_powl): Test for y outside the range of signed 64-bit
57512         integers before using fistpll.  Reduce 64-bit values to 63-bit
57513         ones as needed.
57514         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
57515         divide-by-zero is raised for zero to large negative powers.
57516         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
57517         (__ieee754_powl): Test for y outside the range of signed 64-bit
57518         integers before using fistpll.  Reduce 64-bit values to 63-bit
57519         ones as needed.
57520         * math/libm-test.inc (pow_test): Add more tests.
57522 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
57524         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
57525         <stdio-common/_itoa.h>.
57526         * debug/segfault.c: Likewise.
57527         * elf/dl-cache.c: Likewise.
57528         * elf/dl-minimal.c: Likewise.
57529         * elf/dl-misc.c: Likewise.
57530         * elf/dl-sysdep.c: Likewise.
57531         * elf/dl-version.c: Likewise.
57532         * elf/rtld.c: Likewise.
57533         * hurd/hurdsock.c: Likewise.
57534         * hurd/lookup-retry.c: Likewise.
57535         * malloc/malloc.c: Likewise.
57536         * malloc/mtrace.c: Likewise.
57537         * nscd/nscd_getgr_r.c: Likewise.
57538         * nscd/nscd_getpw_r.c: Likewise.
57539         * nscd/nscd_getserv_r.c: Likewise.
57540         * posix/getopt_init.c: Likewise.
57541         * posix/wordexp.c: Likewise.
57542         * stdio-common/_itoa.c: Likewise.
57543         * stdio-common/printf_fphex.c: Likewise.
57544         * stdio-common/vfprintf.c: Likewise.
57545         * string/_strerror.c: Likewise.
57546         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
57547         * sysdeps/i386/i686/hp-timing.h: Likewise.
57548         * sysdeps/mach/_strerror.c: Likewise.
57549         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
57550         * sysdeps/mach/hurd/sethostid.c: Likewise.
57551         * sysdeps/mach/hurd/xmknodat.c: Likewise.
57552         * sysdeps/mach/xpg-strerror.c: Likewise.
57553         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57554         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57555         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
57556         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
57557         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
57558         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
57559         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
57560         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
57561         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
57562         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
57563         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
57564         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
57565         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
57566         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
57567         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
57568         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
57569         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
57570         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
57571         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
57572         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
57573         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
57575         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
57577         * stdio-common/_itoa.h: Moved to ...
57578         * sysdeps/generic/_itoa.h: Here.
57580         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
57582         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
57583         instead of "_itoa.h" and "_itowa.h".
57584         * stdio-common/vfprintf.: Likewise.
57586 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
57588         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
57589         <bits/wordsize.h>.
57590         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
57591         (__signbit): Likwise.
57592         (llrintf): Likwise.
57593         (llrint): Likwise.
57595 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
57597         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
57598         __WORDSIZE != 64.
57600 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
57602         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
57603         OVERFLOW_EXCEPTION_OK.
57604         * math/libm-test.inc ("Philosophy"): Update comment about
57605         exception testing.
57606         (OVERFLOW_EXCEPTION): Define.
57607         (OVERFLOW_EXCEPTION_OK): Likewise.
57608         (INVALID_EXCEPTION_OK): Renumber.
57609         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57610         (IGNORE_ZERO_INF_SIGN): Likewise.
57611         (test_exceptions): Handle FE_OVERFLOW.
57612         (exp10_test): Expect overflow exceptions.
57613         (exp2_test): Likewise.
57614         (expm1_test): Likewise.
57615         (nextafter_test): Likewise.
57616         (pow_test): Likewise.
57617         (scalbn_test): Likewise.
57618         (scalbln_test): Likewise.
57620 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
57622         * sysdeps/x86_64/bits/atomic.h
57623         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
57624         64bit integer.
57625         (atomic_exchange_acq): Likewise.
57626         (__arch_exchange_and_add_body): Likewise.
57627         (__arch_add_body): Likewise.
57628         (atomic_add_negative): Likewise.
57629         (atomic_add_zero): Likewise.
57631 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
57633         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
57634         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
57636 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
57638         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
57639         Check __x86_64__ instead of __WORDSIZE.
57641 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
57643         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
57645 2012-03-19  David S. Miller  <davem@davemloft.net>
57647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57649         * sysdeps/sparc/fpu/fenv_private.h: New file.
57650         * sysdeps/sparc/fpu/math_private.h: Use it.
57651         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
57652         Remove.
57653         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
57654         (libc_feholdexcept_setroundl): Remove.
57655         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
57656         Remove.
57657         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
57658         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
57660 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
57662         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
57663         int64_t instead of long int.
57664         (INSERT_WORDS64): Likwise.
57666 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
57668         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
57669         _Unwind_GetCFA return to _Unwind_Ptr first.
57671 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
57673         [BZ #13629]
57674         * math/s_clog.c: Include <float.h>.
57675         (__clog): Scale large or subnormal inputs.
57676         * math/s_clogf.c: Likewise.
57677         * math/s_clogl.c: Likewise.
57678         * math/s_clog10.c: Include <float.h>.
57679         (M_LOG10_2): Define.
57680         (__clog10): Scale large or subnormal inputs.
57681         * math/s_clog10f.c: Likewise.
57682         * math/s_clog10l.c: Likewise.
57683         * math/libm-test.inc (clog_test): Add more tests.
57684         (clog10_test): Likewise.
57685         * sysdeps/i386/fpu/libm-test-ulps: Update.
57686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57688         [BZ #11451]
57689         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
57690         x and y.
57691         * math/libm-test.inc (atan2_test): Add another test.
57693         * Makerules (common-objdir-compile): Remove.
57694         * sysdeps/unix/Makefile (config-generated): Do not add
57695         $(unix-generated) to variable.
57696         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
57697         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
57698         Remove rule.
57699         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
57700         Likewise.
57701         [generic bits/local_lim.h] (before-compile): Do not append to
57702         variable.
57703         [generic bits/local_lim.h] (common-generated): Likewise.
57704         [generic sys/param.h] (before-compile): Do not append to variable.
57705         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
57706         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
57707         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
57708         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
57709         include.
57710         [generic sys/param.h] (sys/param.h-includes): Remove variable.
57711         [generic sys/param.h] (sys/param.h-includes): Remove rule.
57712         [generic sys/param.h] ($(addprefix
57713         $(common-objpfx),$(sys/param.h-includes))): Likewise.
57714         [generic sys/param.h] (common-generated): Do not append to
57715         variable.
57716         [generic sys/param.h] (sysdep_headers): Likewise.
57717         [generic bits/errno.h] (before-compile): Do not append to
57718         variable.
57719         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
57720         rule.
57721         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
57722         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
57723         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
57724         [generic bits/errno.h] (common-generated): Do not append to
57725         variable.
57726         [generic bits/ioctls.h] (before-compile): Do not append to
57727         variable.
57728         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
57729         rule.
57730         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
57731         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
57732         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
57733         rule.
57734         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
57735         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
57736         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
57737         [generic bits/ioctls.h] (common-generated): Do not append to
57738         variable.
57739         [generic sys/syscall.h] (syscall.h): Remove variable.
57740         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
57741         rule.
57742         [generic sys/syscall.h] (before-compile): Do not append to
57743         variable.
57744         [generic sys/syscall.h] (common-generated): Likewise.
57745         * sysdeps/unix/errnos-tmpl.c: Remove file.
57746         * sysdeps/unix/errnos.awk: Likewise.
57747         * sysdeps/unix/ioctls-tmpl.c: Likewise.
57748         * sysdeps/unix/ioctls.awk: Likewise.
57749         * sysdeps/unix/mk-local_lim.c: Likewise.
57750         * sysdeps/unix/snarf-ioctls: Likewise.
57752 2012-03-19  Richard Henderson  <rth@twiddle.net>
57754         * sysdeps/i386/fpu/fenv_private.h: New file.
57755         * sysdeps/i386/fpu/math_private.h: Use it.
57756         (math_opt_barrier, math_force_eval): Remove.
57757         (libc_feholdexcept_setround_53bit): Remove.
57758         (libc_feupdateenv_53bit): Remove.
57759         * sysdeps/x86_64/fpu/math_private.h: Likewise.
57760         (math_opt_barrier, math_force_eval): Remove.
57761         (libc_feholdexcept): Remove.
57762         (libc_feholdexcept_setround): Remove.
57763         (libc_fetestexcept, libc_fesetenv): Remove.
57764         (libc_feupdateenv_test): Remove.
57765         (libc_feupdateenv, libc_feholdsetround): Remove.
57766         (libc_feresetround): Remove.
57768         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
57769         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
57771         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
57772         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
57773         (libc_feupdateenv_testl): New.
57774         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
57775         (libc_feupdateenv_testf): New.
57776         (libc_feupdateenv): Use libc_feupdateenv_test.
57777         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
57778         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
57780         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
57781         (libc_feholdsetroundf, libc_feholdsetroundl): New.
57782         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
57783         (libc_feresetround_noex): New.
57784         (libc_feresetround_noexf): New.
57785         (libc_feresetround_noexl): New.
57786         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
57787         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
57788         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
57789         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
57790         SET_RESTORE_ROUND.
57791         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
57792         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
57793         (__cos): Likewise.
57794         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
57795         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
57796         SET_RESTORE_ROUND_NOEX.
57797         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
57798         SET_RESTORE_ROUND_NOEXF.
57799         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
57800         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
57801         (libc_feholdsetroundf): New.
57802         (libc_feresetround, libc_feresetroundf): New.
57804         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
57805         (libc_feholdexcept_setround_53bit): Convert from macro to function.
57806         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
57808         * sysdeps/generic/math_private.h: Include <fenv.h>.
57809         (default_libc_feholdexcept): New.
57810         (default_libc_feholdexcept_setround): New.
57811         (default_libc_fesetenv, default_libc_feupdateenv): New.
57812         (libc_feholdexcept): Only define if undefined.
57813         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
57814         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
57815         (libc_feholdexcept_setroundl): Likewise.
57816         (libc_feholdexcept_setround_53bit): Likewise.
57817         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
57818         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
57819         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
57820         (libc_feupdateenv_53bit): Likewise.
57821         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
57822         (libc_feholdexcept): Convert from macro to inline function.
57823         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
57824         (libc_fesetenv, libc_feupdateenv): Likewise.
57826         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
57827         not previously defined.
57828         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
57829         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
57830         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
57831         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
57832         * sysdeps/ieee754/flt-32/math_private.h: New file.
57833         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
57834         math_private.h below SET_FLOAT_WORD.
57835         (__isnan, __isinf_ns, __finite): Remove.
57836         (__isnanf, __isinf_nsf, __finitef): Remove.
57838 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
57840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57842 2012-03-17  David S. Miller  <davem@davemloft.net>
57844         [BZ #6471]
57845         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
57846         for 2.16.
57848 2012-03-16  David S. Miller  <davem@davemloft.net>
57850         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
57851         warnings.
57853         [BZ #6471]
57854         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
57855         properly.
57856         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
57857         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
57858         sysdep_routines when subdir is sysvipc.
57859         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
57860         __getshmlba helper.
57862         * sysdeps/sparc/fpu/libm-test/ulps: Update.
57864 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
57866         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
57867         [__LP64__].
57869 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
57871         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
57872         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
57873         (__lround): Renamed to ...
57874         (__llround): This.  Replace long int with long long int.
57875         Define lround functions as aliases of llround functions.
57876         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
57878 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
57880         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
57881         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
57882         adresses to uintptr_t.  Replace "long int" and "unsigned long
57883         int" with "greg_t" on va_arg.
57885 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
57887         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
57888         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
57890         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
57891         Move e_machine check before EI_CLASS check.  Handle x32
57892         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
57893         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
57894         SKIP_EM_IA_64 and include
57895         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
57897         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
57898         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
57899         (add_system_dir): New macro.
57901         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
57902         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
57904 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
57906         [BZ #2551]
57907         [BZ #2552]
57908         [BZ #2553]
57909         [BZ #2554]
57910         [BZ #2562]
57911         [BZ #2563]
57912         [BZ #2565]
57913         [BZ #2566]
57914         [BZ #2576]
57915         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
57916         (y0): Likewise.
57917         * math/w_j0f.c (j0f): Likewise.
57918         (y0f): Likewise.
57919         * math/w_j0l.c (__j0l): Likewise.
57920         (__y0l): Likewise.
57921         * math/w_j1.c (j1): Likewise.
57922         (y1): Likewise.
57923         * math/w_j1f.c (j1f): Likewise.
57924         (y1f): Likewise.
57925         * math/w_j1l.c (__j1l): Likewise.
57926         (__y1l): Likewise.
57927         * math/w_jn.c (jn): Likewise.
57928         (yn): Likewise.
57929         * math/w_jnf.c (jnf): Likewise.
57930         (ynf): Likewise.
57931         * math/w_jnl.c (__jnl): Likewise.
57932         (__ynl): Likewise.
57933         * math/libm-test.inc (j0_test): Add more tests.
57934         (j1_test): Likewise.
57935         (jn_test): Likewise.  Add trailing semicolon to existing test.
57936         (y0_test): Likewise.
57937         (y1_test): Likewise.
57938         * sysdeps/i386/fpu/libm-test-ulps: Update.
57939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57941         [BZ #13851]
57942         [BZ #13854]
57943         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
57944         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
57945         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
57946         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
57947         (__tanl): Set errno for infinite argument.
57948         * sysdeps/i386/fpu/mptan.c: Remove.
57949         * sysdeps/i386/fpu/s_tan.S: Likewise.
57950         * sysdeps/i386/fpu/s_tanl.S: Likewise.
57951         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
57952         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
57953         * math/libm-test.inc (tan_test): Add more tests and enable more
57954         tests for double and long double.
57955         * sysdeps/i386/fpu/libm-test-ulps: Update.
57956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57958 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
57960         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
57961         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
57963 2012-03-16  Roland McGrath  <roland@hack.frob.com>
57965         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
57966         * configure.in: Use it for both main tree and add-ons.
57967         * configure: Regenerated.
57969 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
57971         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
57973 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
57975         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
57976         in comment.
57978         [BZ #13851]
57979         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
57980         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
57981         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
57982         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
57983         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
57984         infinite argument.
57985         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
57986         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
57987         != 0 for prec == 2.
57988         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
57989         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
57990         * sysdeps/i386/fpu/s_cosl.S: Likewise.
57991         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
57992         * sysdeps/i386/fpu/s_sinl.S: Likewise.
57993         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
57994         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
57995         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
57996         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
57997         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
57998         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
57999         * math/libm-test.inc (cos_test): Add more tests and enable more
58000         tests for long double.
58001         (sin_test): Likewise.
58002         (sincos_test): Likewise.
58003         * sysdeps/i386/fpu/libm-test-ulps: Update.
58004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58006 2012-03-16  David S. Miller  <davem@davemloft.net>
58008         * sysdeps/sparc/fpu/math_private.h: New file.
58010 2012-03-15  David S. Miller  <davem@davemloft.net>
58012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
58013         file.
58014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
58015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
58016         file.
58017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
58018         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
58019         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
58020         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
58021         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
58022         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
58023         sysdep routines.
58024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
58026         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
58027         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
58029         * sysdeps/sparc/sparc-ifunc.h: New file.
58030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
58031         sparc-ifunc.h
58032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
58033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
58034         Likewise.
58035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
58036         Likewise.
58037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
58038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
58039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
58041         Likewise.
58042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
58043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
58044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
58045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
58046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
58047         Likewise.
58048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
58049         Likewise.
58050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
58051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
58052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
58053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
58054         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
58055         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
58056         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
58057         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
58058         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
58059         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
58060         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
58061         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
58062         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
58063         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
58064         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
58065         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
58066         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
58067         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
58068         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
58069         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
58070         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
58071         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
58072         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
58073         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
58075 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
58077         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
58078         scaling.
58079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58081 2012-03-15  Andreas Jaeger  <aj@suse.de>
58083         [BZ #13852]
58084         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
58085         ieee754/flt-32 implementation for sin, cos and sincos.
58086         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
58087         * sysdeps/i386/fpu/s_cosf.S: Likewise.
58088         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
58089         * sysdeps/i386/fpu/s_sinf.S: Likewise.
58090         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
58091         ieee754/flt-32 implementation for tan.
58093         * math/libm-test.inc (cos_test): Enable some large input tests for
58094         float as well
58095         (sin_test): Likewise.
58096         (sincos_test): Likewise.
58097         (tan_test): Add tests for large input.
58099         * sysdeps/i386/fpu/libm-test-ulps: Update.
58101 2012-03-15  Andreas Jaeger  <aj@suse.de>
58103         [BZ #13658]
58104         * math/libm-test.inc (cos_test): Add more test cases.
58105         (sin_test): Likewise.
58106         (sincos_test): Likewise.
58108 2012-03-15  Andreas Jaeger  <aj@suse.de>
58110         [BZ #13837]
58111         * math/libm-test.inc (cos_test): Add a test case for large input
58112         value.
58113         (sin_test): Likewise.
58114         (sincos_test): Likewise.
58116 2012-03-15  Andreas Jaeger  <aj@suse.de>
58117             Joseph Myers  <joseph@codesourcery.com>
58119         [BZ #13658]
58120         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
58121         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
58122         * sysdeps/i386/fpu/branred.c: Likewise.
58123         * sysdeps/i386/fpu/dosincos.c: Likewise.
58124         * sysdeps/i386/fpu/mpa.c: Likewise.
58125         * sysdeps/i386/fpu/s_cos.S: Likewise.
58126         * sysdeps/i386/fpu/s_sin.S: Likewise.
58127         * sysdeps/i386/fpu/s_sincos.S: Likewise.
58128         * sysdeps/i386/fpu/sincos32.c: Likewise.
58130         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
58131         Define.
58132         (libc_feupdateenv_53bit): Define.
58133         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
58134         Define.
58135         (libc_feupdateenv_53bit): Define.
58137         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
58138         53 bit (without extend i386 double precision).
58140         * math/libm-test.inc (sincos_test): Add tests for large input.
58141         (sin): Likewise.
58142         (cos): Likewise.
58144         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
58146 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
58148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58150 2012-03-15  David S. Miller  <davem@davemloft.net>
58152         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
58153         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
58154         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
58155         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
58156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
58157         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
58158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
58159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
58160         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
58161         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
58162         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
58163         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
58164         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
58165         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
58166         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
58167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
58168         file.
58169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
58170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
58171         file.
58172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
58173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
58174         file.
58175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
58176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
58177         file.
58178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
58179         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
58180         fmin/fmax sysdep routines.
58181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
58183 2012-03-14  David S. Miller  <davem@davemloft.net>
58185         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
58186         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
58187         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
58188         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
58189         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
58190         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
58191         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
58192         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
58193         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
58194         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
58195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
58196         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
58197         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
58198         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
58199         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
58200         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
58201         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
58202         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
58203         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
58204         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
58205         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
58206         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
58207         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
58208         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
58209         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
58210         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
58211         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
58212         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
58213         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
58214         routines.
58215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
58216         file.
58217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
58218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
58219         file.
58220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
58221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
58222         file.
58223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
58224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
58225         file.
58226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
58227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
58228         file.
58229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
58230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
58231         file.
58232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
58233         file.
58234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
58235         file.
58236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
58237         file.
58238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
58239         New file.
58240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
58241         file.
58242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
58243         file.
58244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
58245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
58246         file.
58247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
58248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
58249         file.
58250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
58251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
58252         file.
58253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
58254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
58255         VIS3 routines.
58257         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
58258         New file.
58260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58262         * sysdeps/sparc/configure.in: New file.
58263         * sysdeps/sparc/configure: Generate.
58264         * configure.in (libc_cv_sparc_as_vis3): Substitute.
58265         * configure: Regenerate.
58266         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
58267         * config.make.in (have-as-vis3): New.
58268         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
58269         available use -Av9d instead of -Av9a.
58270         * sysdeps/sparc/sparc64/Makefile: Likewise.
58271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
58272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
58273         New file.
58274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
58275         file.
58276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
58277         New file.
58278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
58279         file.
58280         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
58281         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
58282         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
58283         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
58284         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
58286         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
58287         fzeros/fnegs to load 0x80000000 into a float register instead of
58288         using the stack.
58289         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
58291 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
58293         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58294         bits/syscall.h.
58295         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
58296         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
58297         ($(inst_includedir)/bits/syscall.h): Remove rule.
58298         ($(objpfx)bits/syscall.d): Include instead of
58299         $(objpfx)syscall-list.d.
58300         (generated): Change syscall-list.h and syscall-list.d to
58301         bits/syscall.h and bits/syscall.d.
58303 2012-03-14  Roland McGrath  <roland@hack.frob.com>
58305         [BZ #13846]
58306         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
58308 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
58310         [BZ #13841]
58311         * math/s_csqrt.c: Include <float.h>.
58312         (__csqrt): Scale large or subnormal inputs.
58313         * math/s_csqrtf.c: Likewise.
58314         * math/s_csqrtl.c: Likewise.
58315         * math/libm-test.inc (csqrt_test): Add more tests.
58316         * sysdeps/i386/fpu/libm-test-ulps: Update.
58317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58319         [BZ #13840]
58320         * math/libm-test.inc (hypot_test): Add more tests.
58322 2012-03-13  David S. Miller  <davem@davemloft.net>
58324         [BZ #13840]
58325         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
58326         double-precision for the calculation instead of scaling.
58328 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
58330         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
58331         manipulate bits before adding and subtracting TWO52[sx].
58332         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
58333         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
58334         Likewise.
58335         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
58337 2012-03-13  David S. Miller  <davem@davemloft.net>
58339         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
58340         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
58341         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
58342         rtld-global-offsets.h
58343         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58345         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
58346         large parameters.
58348         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
58350         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
58351         'err' in the ifdef scope in which it is actually used.
58353         * nss/nss_db/db-init.c: Include string.h
58355 2012-03-12  David S. Miller  <davem@davemloft.net>
58357         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58358         masking out of the most significant byte of random value used.
58359         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58360         Fix coding style in previous change.
58362         * sysdeps/unix/sysv/linux/kernel-features.h
58363         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
58364         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
58365         expression.
58366         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
58367         later.
58369 2012-03-11  David S. Miller  <davem@davemloft.net>
58371         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58372         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
58373         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
58374         for 'resultvar' otherwise things get truncated on 64-bit.
58376         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58377         Fix masking out of the most significant byte of random value used.
58379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58381 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
58383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58385 2012-03-09  David S. Miller  <davem@davemloft.net>
58387         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
58388         variables with appropriate CPP guards.
58389         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
58390         from the frame pointer, not the stack pointer.  Correct layout
58391         comments.  Fix test on resulting framesize and the management of
58392         the outregs buffer for pltexit.  Preserve floating point return
58393         values across _dl_call_pltexit call.
58394         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
58395         framesize and the management of the outregs buffer for pltexit.
58396         Preserve floating point return values across _dl_call_pltexit
58397         call.
58398         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
58399         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
58400         (la_sparc64_gnu_pltexit): New functions.
58401         (print_exit): Fix format string for return register value.
58403 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
58405         * sunrpc/Makefile (others): Add rpcgen.
58406         ($(objpfx)rpcgen): Remove special build rule and dependency on
58407         libc.
58408         * sunrpc/rpcgen.c: New file.
58410 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
58412         [BZ #13673]
58413         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
58414         * stdio-common/bug-vfprintf-nargs.c: Likewise.
58415         * sysdeps/i386/crti.S: Likewise.
58416         * sysdeps/i386/crtn.S: Likewise.
58417         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
58418         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
58419         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
58420         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
58421         * sysdeps/sh/crti.S: Likewise.
58422         * sysdeps/sh/crtn.S: Likewise.
58423         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
58425         [BZ #13673]
58426         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
58427         with URL.
58428         * locale/programs/locfile-kw.gperf: Likewise.
58429         * locale/programs/charmap-kw.h: Regenerated.
58430         * locale/programs/locfile-kw.h: Likewise.
58432         [BZ #13673]
58433         * intl/plural.y: Replace FSF snail mail address with URL.
58434         * intl/plural.c: Regenerated.
58436 2012-03-09  Richard Henderson  <rth@twiddle.net>
58438         * include/math_private.h: Remove file.
58439         * math/math_private.h: Move file ...
58440         * sysdeps/generic/math_private.h: ... here.
58442         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
58443         * sysdeps/powerpc/fpu/math_private.h: Likewise.
58444         * sysdeps/x86_64/fpu/math_private.h: Likewise.
58446         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
58447         and <math_private.h>.
58448         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58449         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58450         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58451         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58452         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58453         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
58454         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58455         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58456         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58457         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58458         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58459         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58460         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58461         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58462         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58463         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58464         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58465         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58466         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58467         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58468         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58469         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58470         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58471         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58472         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
58473         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58474         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58475         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58476         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58477         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58478         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58479         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58480         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
58481         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58482         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58483         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58484         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58485         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58486         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58487         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58488         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
58489         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58490         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58491         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
58492         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
58493         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58494         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
58495         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
58496         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58497         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58498         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
58499         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
58500         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
58501         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58502         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
58503         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58504         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58505         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
58506         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
58507         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
58508         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58509         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
58510         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58511         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58512         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
58513         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58514         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58515         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58516         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
58517         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
58518         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
58519         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58520         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
58521         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58522         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
58523         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
58524         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
58525         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58526         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
58527         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
58528         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
58529         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
58530         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
58531         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58532         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58533         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
58534         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
58535         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
58536         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58537         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58538         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58539         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58540         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58541         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58542         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58543         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58544         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58545         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58546         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58547         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58548         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58549         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58550         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58551         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58552         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58553         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58554         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58555         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58556         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58557         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58558         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58559         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58560         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58561         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58562         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
58563         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58564         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58565         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
58566         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58567         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58568         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58569         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
58570         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58571         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
58572         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58573         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
58574         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58575         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
58576         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
58577         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
58578         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
58579         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58580         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58581         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
58582         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
58583         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
58584         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58585         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
58586         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
58587         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58588         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58589         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
58590         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58591         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
58592         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
58593         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
58594         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
58595         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
58596         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
58597         * sysdeps/ieee754/k_standard.c: Likewise.
58598         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58599         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58600         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58601         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58602         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58603         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58604         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58605         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58606         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58607         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58608         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58609         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58610         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58611         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58612         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58613         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58614         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
58615         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58616         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58617         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
58618         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
58619         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
58620         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58621         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
58622         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
58623         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
58624         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
58625         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
58626         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
58627         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58628         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
58629         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58630         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
58631         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
58632         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
58633         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
58634         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
58635         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
58636         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
58637         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
58638         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
58639         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
58640         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
58641         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
58642         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
58643         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
58644         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
58645         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
58646         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
58647         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58648         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58649         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
58650         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
58651         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
58652         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58653         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58654         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
58655         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
58656         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
58657         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
58658         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58659         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
58660         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
58661         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58662         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58663         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58664         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58665         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58666         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58667         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58668         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58669         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58670         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58671         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58672         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58673         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58674         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
58675         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58676         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58677         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
58678         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
58679         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
58680         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
58681         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
58682         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
58683         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
58684         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
58685         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
58686         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
58687         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
58688         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
58689         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
58690         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
58691         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
58692         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
58693         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
58694         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
58695         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
58696         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
58697         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
58698         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
58699         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
58700         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58701         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
58702         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
58703         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58704         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58705         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
58706         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
58707         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
58708         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
58709         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
58710         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58711         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58712         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58713         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58714         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58715         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58716         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58717         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58718         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58719         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58720         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58721         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58722         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58723         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
58724         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58725         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
58726         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
58727         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58728         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58729         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58730         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58731         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
58732         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
58733         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
58734         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
58735         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
58736         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58737         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
58738         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
58739         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58740         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
58741         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
58742         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
58743         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58744         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58745         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
58746         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
58747         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
58748         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58749         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58750         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
58751         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58752         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
58753         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
58754         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
58755         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
58756         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
58757         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
58758         * sysdeps/ieee754/s_lib_version.c: Likewise.
58759         * sysdeps/ieee754/s_matherr.c: Likewise.
58760         * sysdeps/ieee754/s_signgam.c: Likewise.
58761         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58762         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58763         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
58764         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
58765         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
58766         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
58767         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
58768         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
58769         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
58770         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
58771         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
58772         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
58773         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
58774         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58775         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
58776         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
58777         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58778         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
58779         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58780         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58781         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58783 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
58785         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
58786         * sunrpc/rpc_main.c: Likewise.
58787         * sunrpc/rpc_svcout.c: Likewise.
58789 2012-03-09  David S. Miller  <davem@davemloft.net>
58791         * include/math_private.h: New file.
58793 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
58795         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
58796         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
58797         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
58798         from <bits/socket_type.h>.
58799         (enum __socket_type): Don't define here.
58800         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
58801         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58802         bits/socket_type.h.
58804         [BZ #13566]
58805         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
58806         checking __USE_GNU.
58808         * Makerules ($(inst_includedir)/%.h): New rule.
58809         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
58810         (install-others): Remove variable setting.
58811         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
58813 2012-03-08  Richard Henderson  <rth@twiddle.net>
58815         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
58816         from macro to inline function; merge with the
58817         !__LIBC_INTERNAL_MATH_INLINES version.
58818         (__ieee754_sqrtf): Likewise.
58820         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
58821         to inline function.
58822         (__rintf, __floor, __floorf): Likewise.
58824         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
58825         macro to inline function.
58826         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
58828         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
58829         not <math/math_private.h>.
58831 2012-03-08  David S. Miller  <davem@davemloft.net>
58833         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
58834         copyright year.
58835         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
58837 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
58839         * resolv/gai_misc.c (handle_requests): Fix struct timespec
58840         normalization.
58841         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
58842         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
58844 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
58846         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
58847         be defined individually, they must be defined as a block.  Define
58848         S for printing a string instead of hidint the different by using a
58849         macro for adding the 'l'.
58850         * stdio-common/tst-fphex-wide.c: Adjust.
58852 2012-03-07  Marek Polacek  <polacek@redhat.com>
58854         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
58856 2012-03-08  Marek Polacek  <polacek@redhat.com>
58858         [BZ #13806]
58859         * stdio-common/Makefile (tests): Add tst-fphex-wide.
58860         * stdio-common/tst-fphex.c: Define a few macros to make the
58861         test reusable.  Use them.
58862         * stdio-common/tst-fphex-wide.c: New file.
58864 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
58866         [BZ #6911]
58867         * manual/macros.texi (gnusystems): New macro.
58868         (nongnusystems): Likewise.
58869         (gnulinuxhurdsystems): Likewise.
58870         (gnuhurdsystems): Likewise..
58871         (gnulinuxsystems): Likewise.
58872         * manual/charset.texi: Use new macros or @theglibc{} to refer to
58873         variants of the GNU system, not "GNU system".
58874         * manual/conf.texi: Likewise.
58875         * manual/errno.texi: Likewise.  Update example of errno macro
58876         expansion.
58877         * manual/filesys.texi: Likewise.
58878         (getumask): Document as specific to GNU/Hurd.
58879         * manual/install.texi: Likewise.  Reword some references to
58880         GNU/Linux.
58881         * manual/intro.texi: Likewise.
58882         * manual/io.texi: Likewise.
58883         (File Name Portability): Detail which constraints are inapplicable
58884         to all GNU systems and which are only inapplicable to GNU/Hurd.
58885         * manual/job.texi: Likewise.
58886         * manual/llio.texi: Likewise.
58887         (O_NOCTTY): Document as present on GNU/Linux.
58888         * manual/maint.texi: Likewise.
58889         * manual/memory.texi: Likewise.
58890         * manual/pattern.texi: Likewise.
58891         * manual/pipe.texi: Likewise.
58892         * manual/process.texi: Likewise.
58893         * manual/resource.texi: Likewise.
58894         (RUSAGE_CHILDREN): Remove statement about specifying a particular
58895         child on GNU/Hurd.
58896         * manual/setjmp.texi: Likewise.
58897         * manual/signal.texi: Likewise.
58898         * manual/startup.texi: Likewise.
58899         * manual/stdio.texi: Likewise.
58900         * manual/terminal.texi: Likewise.
58901         (ONLCR): Document as POSIX.
58902         (OXTABS): Document availability on GNU/Linux as XTABS.
58903         (ONOEOT): Document availability separately from other bits.
58904         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
58905         * manual/time.texi: Likewise.
58906         * manual/users.texi: Likewise.
58907         * INSTALL: Regenerated.
58908         * sysdeps/gnu/errlist.c: Regenerated.
58910         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
58911         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
58912         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
58913         puts.
58914         * configure: Regenerated.
58916 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
58918         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
58919         default includes instead of AC_HEADER_CHECK.
58920         * sysdeps/i386/configure: Regenerated.
58922         [BZ #10716]
58923         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
58924         * math/s_cacoshf.c (__cacoshf): Likewise.
58925         * math/s_cacoshl.c (__cacoshl): Likewise.
58926         * math/s_casinh.c (__casinh): Set signs of result from argument.
58927         * math/s_casinhf.c (__casinhf): Likewise.
58928         * math/s_casinhl.c (__casinhl): Likewise.
58929         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
58930         (casinh_test): Add more tests.
58931         * sysdeps/i386/fpu/libm-test-ulps: Update.
58932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58934 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
58936         * po/zh_TW.po: Update from translation team.
58938         * login/Makefile (distribute): Remove variable.
58939         * catgets/Makefile: Likewise.
58940         * mach/Makefile: Likewise.
58941         * malloc/Makefile: Likewise.
58942         * misc/Makefile: Likewise.
58943         * iconv/Makefile: Likewise.
58944         * nscd/Makefile: Likewise.
58945         * hurd/Makefile: Likewise.
58946         * manual/Makefile: Likewise.
58947         * locale/Makefile: Likewise.
58948         * intl/Makefile: Likewise.
58949         * conform/Makefile: Likewise.
58950         * nss/Makefile: Likewise.
58951         * time/Makefile: Likewise.
58952         * soft-fp/Makefile: Likewise.
58953         * dirent/Makefile: Likewise.
58954         * gmon/Makefile: Likewise.
58955         * po/Makefile: Likewise.
58956         * rt/Makefile: Likewise.
58957         * socket/Makefile: Likewise.
58958         * math/Makefile: Likewise.
58959         * signal/Makefile: Likewise.
58960         * debug/Makefile: Likewise.
58961         * elf/Makefile: Likewise.
58962         * timezone/Makefile: Likewise.
58963         * stdlib/Makefile: Likewise.
58964         * iconvdata/Makefile: Likewise.
58965         * sunrpc/Makefile: Likewise.
58966         * io/Makefile: Likewise.
58967         * argp/Makefile: Likewise.
58968         * inet/Makefile: Likewise.
58969         * hesiod/Makefile: Likewise.
58970         * grp/Makefile: Likewise.
58971         * csu/Makefile: Likewise.
58972         * wctype/Makefile: Likewise.
58973         * crypt/Makefile: Likewise.
58974         * libio/Makefile: Likewise.
58975         * string/Makefile: Likewise.
58976         * nis/Makefile: Likewise.
58977         * resolv/Makefile: Likewise.
58978         * stdio-common/Makefile: Likewise.
58979         * wcsmbs/Makefile: Likewise.
58980         * dlfcn/Makefile: Likewise.
58981         * posix/Makefile: Likewise.
58983         [BZ #6959]
58984         * timezone/Makefile: Don't install timezone files, just the programs
58985         and scripts.
58987 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
58989         * nss/databases.def: Add missing gshadow entry.
58991         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
58993 2012-03-06  Marek Polacek  <polacek@redhat.com>
58995         [BZ #13726]
58996         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
58997         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
58998         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
58999         * stdio-common/tst-long-dbl-fphex.c: New file.
59001 2012-03-06  David S. Miller  <davem@davemloft.net>
59003         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59004         (set_obp_int): New function.
59005         (get_obp_int): New function.
59006         (__get_clockfreq_via_dev_openprom): Likewise.
59007         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
59008         Avoid unused variable warnings on 'val' and use builtin_expect.
59009         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
59010         __builtin_expect.
59011         (INLINE_CLONE_SYSCALL): Likewise.
59013 2012-03-05  David S. Miller  <davem@davemloft.net>
59015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59017 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
59019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59021         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
59022         only for |x| >= 40.
59023         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59025 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
59027         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
59028         Replace gettimeofday with __vdso_gettimeofday.
59030         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59031         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
59032         __vdso_clock_gettime and __vdso_getcpu.
59034         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
59035         time with __vdso_time.
59037 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
59039         * manual/lang.texi (size_t): Note types to which size_t may be
59040         equivalent with the GNU C Library, but do not describe when
59041         differences between them are significant.
59043 2012-03-05  Andreas Jaeger  <aj@suse.de>
59045         * sysdeps/i386/fpu/libm-test-ulps: Update.
59047 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
59049         [BZ #3976]
59050         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
59051         (__ieee754_pow): Save and restore rounding mode and use
59052         round-to-nearest for main computations.
59053         * math/libm-test.inc (pow_test_tonearest): New function.
59054         (pow_test_towardzero): Likewise.
59055         (pow_test_downward): Likewise.
59056         (pow_test_upward): Likewise.
59057         (main): Call the new functions.
59058         * sysdeps/i386/fpu/libm-test-ulps: Update.
59059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59061         [BZ #3976]
59062         * math/libm-test.inc (cosh_test_tonearest): New function.
59063         (cosh_test_towardzero): Likewise.
59064         (cosh_test_downward): Likewise.
59065         (cosh_test_upward): Likewise.
59066         (sinh_test_tonearest): Likewise.
59067         (sinh_test_towardzero): Likewise.
59068         (sinh_test_downward): Likewise.
59069         (sinh_test_upward): Likewise.
59070         (main): Call the new functions.
59071         * sysdeps/i386/fpu/libm-test-ulps: Update.
59072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59074 2012-03-05  Tom de Vries  <tom@codesourcery.com>
59076         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
59077         default stack guard is set in last bytes.
59078         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
59080 2012-03-05  Kees Cook  <keescook@chromium.org>
59082         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
59084         [BZ #13656]
59085         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
59086         possibly allocate from heap instead of stack.
59087         * stdio-common/bug-vfprintf-nargs.c: New file.
59088         * stdio-common/Makefile (tests): Add nargs overflow test.
59090 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
59092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59094 2012-03-03  Marek Polacek  <polacek@redhat.com>
59096         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
59097         * math/math_private.h: Likewise.
59098         * stdlib/tst-strtod.c: Likewise.
59099         * sysdeps/i386/i486/bits/atomic.h: Likewise.
59100         * sysdeps/x86_64/bits/atomic.h: Likewise.
59102 2012-03-02  David S. Miller  <davem@davemloft.net>
59104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
59105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
59106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
59107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
59108         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
59109         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
59110         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
59111         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
59113 2012-03-02  Roland McGrath  <roland@hack.frob.com>
59115         [BZ #13792]
59116         * manual/examples/README: New file, says the example source files
59117         can be used under GPL>=2.
59118         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
59119         line containing just "*/".
59120         * manual/examples/add.c: Add copyright header (GPL>=2).
59121         * manual/examples/argp-ex1.c: Likewise.
59122         * manual/examples/argp-ex2.c: Likewise.
59123         * manual/examples/argp-ex3.c: Likewise.
59124         * manual/examples/argp-ex4.c: Likewise.
59125         * manual/examples/atexit.c: Likewise.
59126         * manual/examples/db.c: Likewise.
59127         * manual/examples/dir.c: Likewise.
59128         * manual/examples/dir2.c: Likewise.
59129         * manual/examples/execinfo.c: Likewise.
59130         * manual/examples/filecli.c: Likewise.
59131         * manual/examples/filesrv.c: Likewise.
59132         * manual/examples/fmtmsgexpl.c: Likewise.
59133         * manual/examples/genpass.c: Likewise.
59134         * manual/examples/inetcli.c: Likewise.
59135         * manual/examples/inetsrv.c: Likewise.
59136         * manual/examples/isockad.c: Likewise.
59137         * manual/examples/longopt.c: Likewise.
59138         * manual/examples/memopen.c: Likewise.
59139         * manual/examples/memstrm.c: Likewise.
59140         * manual/examples/mkfsock.c: Likewise.
59141         * manual/examples/mkisock.c: Likewise.
59142         * manual/examples/mygetpass.c: Likewise.
59143         * manual/examples/pipe.c: Likewise.
59144         * manual/examples/popen.c: Likewise.
59145         * manual/examples/rprintf.c: Likewise.
59146         * manual/examples/search.c: Likewise.
59147         * manual/examples/select.c: Likewise.
59148         * manual/examples/setjmp.c: Likewise.
59149         * manual/examples/sigh1.c: Likewise.
59150         * manual/examples/sigusr.c: Likewise.
59151         * manual/examples/stpcpy.c: Likewise.
59152         * manual/examples/strdupa.c: Likewise.
59153         * manual/examples/strftim.c: Likewise.
59154         * manual/examples/strncat.c: Likewise.
59155         * manual/examples/subopt.c: Likewise.
59156         * manual/examples/swapcontext.c: Likewise.
59157         * manual/examples/termios.c: Likewise.
59158         * manual/examples/testopt.c: Likewise.
59159         * manual/examples/testpass.c: Likewise.
59160         * manual/examples/timeval_subtract.c: Likewise.
59162         [BZ #13792]
59163         * manual/time.texi (Elapsed Time): Move timeval_subtract example
59164         function to ...
59165         * manual/timeval_subtract.c.texi: ... here, new file.
59167 2012-03-02  David S. Miller  <davem@davemloft.net>
59169         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
59171 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
59173         [BZ #3976]
59174         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
59175         (__sin): Save and restore rounding mode and use round-to-nearest
59176         for all computations.
59177         (__cos): Save and restore rounding mode and use round-to-nearest
59178         for all computations.
59179         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
59180         <fenv.h>.
59181         (tan): Save and restore rounding mode and use round-to-nearest for
59182         all computations.
59183         * math/libm-test.inc (cos_test_tonearest): New function.
59184         (cos_test_towardzero): Likewise.
59185         (cos_test_downward): Likewise.
59186         (cos_test_upward): Likewise.
59187         (sin_test_tonearest): Likewise.
59188         (sin_test_towardzero): Likewise.
59189         (sin_test_downward): Likewise.
59190         (sin_test_upward): Likewise.
59191         (tan_test_tonearest): Likewise.
59192         (tan_test_towardzero): Likewise.
59193         (tan_test_downward): Likewise.
59194         (tan_test_upward): Likewise.
59195         (main): Call the new functions.
59196         * sysdeps/i386/fpu/libm-test-ulps: Update.
59197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59199         [BZ #10135]
59200         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
59201         small n, then large n, before computing and testing k+n.
59202         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
59203         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
59204         Likewise.
59205         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
59206         Likewise.
59207         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
59208         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
59209         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
59210         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
59211         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
59212         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
59213         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
59214         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
59215         * math/libm-test.inc (scalbn_test): Add more tests.
59216         (scalbln_test): Likewise.
59218         * manual/filesys.texi (mode_t): Describe constraints on size and
59219         signedness, not exact equivalence to a particular type.
59220         (ino_t): Likewise.
59221         (ino64_t): Likewise.
59222         (dev_t): Likewise.
59223         (nlink_t): Likewise.
59224         (blkcnt_t): Likewise.
59225         (blkcnt64_t): Likewise.
59226         * manual/llio.texi (off_t): Likewise.
59228         [BZ #3976]
59229         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
59230         (__ieee754_exp): Save and restore rounding mode and use
59231         round-to-nearest for all computations.
59232         * math/libm-test.inc (exp_test_tonearest): New function.
59233         (exp_test_towardzero): Likewise.
59234         (exp_test_downward): Likewise.
59235         (exp_test_upward): Likewise.
59236         (main): Call the new functions.
59237         * sysdeps/i386/fpu/libm-test-ulps: Update.
59238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59240 2012-03-01  Chris Demetriou  <cgd@google.com>
59242         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
59243         have predictable order.
59245 2012-03-01  David S. Miller  <davem@davemloft.net>
59247         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
59249         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
59250         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
59251         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
59252         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
59254         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
59255         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
59256         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
59257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
59258         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
59259         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
59260         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
59261         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
59262         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
59264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59266         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
59267         * sysdeps/sparc/fpu/libm-test-ulps: to here.
59268         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
59270         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
59271         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59272         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
59273         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
59274         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
59275         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
59276         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
59277         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59278         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
59279         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
59280         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
59281         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
59282         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59283         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
59284         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59285         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59286         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
59287         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
59288         * sysdeps/sparc/elf/configure: Regenerated.
59290 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
59292         * configure.in (AS, LD): Require binutils 2.20 or later.
59293         * configure: Regenerated.
59294         * manual/install.texi (Tools for Compilation): Give binutils 2.20
59295         as required minimum version.
59296         * INSTALL: Regenerated.
59298         [BZ #2541]
59299         [BZ #4108]
59300         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
59301         before squaring exponent.
59302         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
59303         bottom long double and 27 bits of top long double before squaring
59304         exponent.
59305         * math/libm-test.inc (erfc_test): Add more tests.
59306         * sysdeps/i386/fpu/libm-test-ulps: Update.
59307         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59310 2012-03-01  Kai Tietz  <ktietz@redhat.com>
59312         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
59313         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
59314         containing bit-fields.
59315         * soft-fp/extended.h (_FP_UNION_E): Likewise.
59316         * soft-fp/single.h (_FP_UNION_S): Likewise.
59317         * soft-fp/double.h (_FP_UNION_D): Likewise.
59319 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
59321         [BZ #13786]
59322         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
59323         not include ../strcmp.S.
59324         [USE_AS_STRNCASECMP_L]: Likewise.
59325         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
59326         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
59327         * sysdeps/i386/i686/multiarch/strncase_l-c.c
59328         (__strncasecmp_l_ia32): Define as alias to
59329         __strncasecmp_l_nonascii.
59331         [BZ #5794]
59332         * math/libm-test.inc (expm1_test): Add test for bug 5794.
59333         * sysdeps/i386/fpu/libm-test-ulps: Update.
59334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59336         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
59337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59339 2012-02-29  Jeff Law  <law@redhat.com>
59341         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
59342         out of bounds read.
59344 2012-02-29  Marek Polacek  <polacek@redhat.com>
59346         [BZ #13706]
59347         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
59348         * elf/Makefile: Add rules to run tst-unused-dep.out.
59350 2012-02-28  David S. Miller  <davem@davemloft.net>
59352         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
59353         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
59354         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
59355         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
59356         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
59357         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
59359 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
59361         * math/libm-test.inc (llround_test): Move one test from
59362         lround_test.  Use TEST_f_L in moved test.
59363         (lround_test): Move misplaced test to llround_test.  Add testcase
59364         from bug 2561.
59366 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
59368         * sysdeps/x86_64/fpu/e_expf.S: New file.
59369         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
59371 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
59373         [BZ #13637]
59374         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
59375         of remain_len that may cause incomplete multi-byte character and
59376         false match.
59377         * posix/bug-regex33.c: New file.
59378         * posix/Makefile (tests): Add bug-regex33.
59380 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
59382         * manual/macros.texi: New file.
59383         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
59384         * manual/libc.texinfo: Include macros.texi.
59385         * manual/creatute.texi: Likewise.
59386         * manual/install.texi: Likewise.
59387         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
59388         @glibcadj{} in references to the GNU C Library.
59389         * manual/charset.texi: Likewise.
59390         * manual/conf.texi: Likewise.
59391         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
59392         when not using those macros.
59393         * manual/creature.texi: Likewise.
59394         * manual/crypt.texi: Likewise.
59395         * manual/errno.texi: Likewise.
59396         * manual/filesys.texi: Likewise.
59397         * manual/header.texi: Likewise.
59398         * manual/install.texi: Likewise.
59399         * manual/intro.texi: Likewise.
59400         * manual/io.texi: Likewise.
59401         * manual/job.texi: Likewise.
59402         * manual/lang.texi: Likewise.
59403         * manual/libc.texiinfo: Likewise.
59404         * manual/llio.texi: Likewise.
59405         * manual/locale.texi: Likewise.
59406         * manual/maint.texi: Likewise.
59407         * manual/math.texi: Likewise.
59408         * manual/memory.texi: Likewise.
59409         * manual/message.texi: Likewise.
59410         * manual/nss.texi: Likewise.
59411         * manual/pattern.texi: Likewise.
59412         * manual/process.texi: Likewise.
59413         * manual/resource.texi: Likewise.
59414         * manual/search.texi: Likewise.
59415         * manual/setjmp.texi: Likewise.
59416         * manual/signal.texi: Likewise.
59417         * manual/socket.texi: Likewise.
59418         * manual/startup.texi: Likewise.
59419         * manual/stdio.texi: Likewise.
59420         * manual/string.texi: Likewise.
59421         * manual/sysinfo.texi: Likewise.
59422         * manual/syslog.texi: Likewise.
59423         * manual/terminal.texi: Likewise.
59424         * manual/time.texi: Likewise.
59425         * manual/users.texi: Likewise.
59426         * INSTALL: Regenerated.
59427         * NOTES: Regenerated.
59428         * sysdeps/gnu/errlist.c: Regenerated.
59430 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
59432         * include/dirent.h: Include <dirstream.h> before
59433         <dirent/dirent.h>.
59435 2012-02-28  David S. Miller  <davem@davemloft.net>
59437         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
59438         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
59439         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
59440         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
59442 2012-02-27  David S. Miller  <davem@davemloft.net>
59444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
59445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
59446         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
59447         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
59449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
59450         frame pointer instead of stack pointer relative arg slot.
59451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
59452         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
59453         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
59455 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
59457         [BZ #3992]
59458         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
59460 2012-02-27  David S. Miller  <davem@davemloft.net>
59462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
59463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
59464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
59465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
59466         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
59467         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
59468         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
59469         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
59471 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
59473         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
59474         later.  Allow versions 5-9.
59475         * configure: Regenerated.
59476         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
59477         required minimum version and 4.6 as recommended version.  Do not
59478         mention bugs in GCC 2.7 and 2.8.
59479         * INSTALL: Regenerated.
59481 2012-02-27  David S. Miller  <davem@davemloft.net>
59483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
59484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
59485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
59486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
59487         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
59488         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
59489         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
59490         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
59492         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
59493         manipulate bits before adding and subtracting TWO112[sx].
59494         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
59496 2012-02-27  Roland McGrath  <roland@hack.frob.com>
59498         [BZ #13775]
59499         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
59500         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
59501         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
59502         being in POSIX, because they are in 1003.1-2008.
59504         * rt/tst-aio.c: Include <fcntl.h>.
59505         * rt/tst-aio7.c: Likewise.
59506         * rt/tst-aio64.c: Likewise.
59508         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
59510 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
59512         * manual/install.texi (--with-headers): Describe headers as
59513         interface headers, not private headers.
59514         (Specific advice for GNU/Linux systems): Describe use of headers
59515         from "make headers_install", not private headers from older
59516         kernels.
59517         * INSTALL: Regenerated.
59518         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
59519         Change to 2.6.19.
59520         * sysdeps/unix/sysv/linux/configure: Regenerated.
59522         * manual/llio.texi (fclean): Remove documentation.
59524         * manual/Makefile (libc-texi-generated): New variable.  Include
59525         version.texi.
59526         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
59527         $(libc-texi-generated), not duplicated list of files.
59528         (version.texi, stamp-version): New rules.
59529         (realclean): Remove $(libc-texi-generated), not individual files
59530         from that list.  Do not remove dir-add.texinfo.
59531         * manual/libc.texinfo: Comment out uses of edition numbers and
59532         references to printed manual.  Remove last-updated dates.
59533         (EDITION): Comment out.
59534         (ISBN): Likewise.
59535         (VERSION, UPDATED): Remove.
59536         (version.texi): Include.
59538 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
59540         * sysdeps/posix/spawni.c: Include <signal.h>.
59541         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
59542         * sysdeps/pthread/aio_fsync.c: Likewise.
59544 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
59546         * conform/Makefile (tests): Run only when not cross-compiling and
59547         when fast-check is not defined.
59549         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
59550         * conform/data/limits.h-data: Fixes for POSIX2008.
59551         * conform/run-conformtest.sh: Run all tests.
59552         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
59553         headers.
59554         * include/bits/dlfcn.h: Likewise.
59555         * include/langinfo.h: Likewise.
59556         * include/monetary.h: Likewise.
59557         * include/sys/poll.h: Likewise.
59559         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
59560         for __USE_GNU.
59561         * posix/spawn.h: Define __need_sigset_t.
59562         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
59563         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
59564         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
59565         to get sigevent_t only.
59566         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
59567         only for __USE_GNU.
59568         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59569         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59570         process_vm_writev only for __USE_GNU.
59571         * termios/termios.h: Declare tcgetsid also for POSIX2008.
59573         * conform/Makefile: For now ignore errors from run-conformtest.
59574         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
59575         POSIX to avoid namespace pollution.  Don't prepend headers.
59576         * conform/data/aio.h-data: Fixes for POSIX testing.
59577         * conform/data/fcntl.h-data: Likewise.
59578         * conform/data/glob.h-data: Likewise.
59579         * conform/data/grp.h-data: Likewise.
59580         * conform/data/pthread.h-data: Likewise.
59581         * conform/data/pwd.h-data: Likewise.
59582         * conform/data/signal.h-data: Likewise.
59583         * conform/data/spawn.h-data: Likewise.
59584         * conform/data/stdio.h-data: Likewise.
59585         * conform/data/stdlib.h-data: Likewise.
59586         * conform/data/stropts.h-data: Likewise.
59587         * conform/data/sys/mman.h-data: Likewise.
59588         * conform/data/sys/stat.h-data: Likewise.
59589         * conform/data/sys/types.h-data: Likewise.
59590         * conform/data/sys/wait.h-data: Likewise.
59591         * conform/data/time.h-data: Likewise.
59592         * conform/data/unistd.h-data: Likewise.
59593         * conform/data/utime.h-data: Likewise.
59595         * io/sys/stat.h: fchmod was always in POSIX.
59596         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
59597         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
59598         * rt/aio.h: Define __need_timespec before including <time.h>.
59599         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
59600         struct.  Add forward declaration of pthread_attr_t and use it in
59601         sigevent.
59602         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59603         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59604         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
59605         always remove CLK_TCK definition.
59607 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
59609         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
59611 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
59613         * conform/run-conformtest.sh: New file.
59614         * conform/Makefile: Run run-conformtest for tests.
59615         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
59616         support.
59618         * conform/data/uchar.h-data: New file.
59619         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
59620         * conform/data/arpa/inet.h-data: Likewise.
59621         * conform/data/assert.h-data: Likewise.
59622         * conform/data/complex.h-data: Likewise.
59623         * conform/data/cpio.h-data: Likewise.
59624         * conform/data/ctype.h-data: Likewise.
59625         * conform/data/dirent.h-data: Likewise.
59626         * conform/data/dlfcn.h-data: Likewise.
59627         * conform/data/errno.h-data: Likewise.
59628         * conform/data/fcntl.h-data: Likewise.
59629         * conform/data/float.h-data: Likewise.
59630         * conform/data/fmtmsg.h-data: Likewise.
59631         * conform/data/fnmatch.h-data: Likewise.
59632         * conform/data/ftw.h-data: Likewise.
59633         * conform/data/glob.h-data: Likewise.
59634         * conform/data/grp.h-data: Likewise.
59635         * conform/data/iconv.h-data: Likewise.
59636         * conform/data/inttypes.h-data: Likewise.
59637         * conform/data/langinfo.h-data: Likewise.
59638         * conform/data/libgen.h-data: Likewise.
59639         * conform/data/limits.h-data: Likewise.
59640         * conform/data/locale.h-data: Likewise.
59641         * conform/data/math.h-data: Likewise.
59642         * conform/data/monetary.h-data: Likewise.
59643         * conform/data/mqueue.h-data: Likewise.
59644         * conform/data/ndbm.h-data: Likewise.
59645         * conform/data/net/if.h-data: Likewise.
59646         * conform/data/netdb.h-data: Likewise.
59647         * conform/data/netinet/in.h-data: Likewise.
59648         * conform/data/nl_types.h-data: Likewise.
59649         * conform/data/poll.h-data: Likewise.
59650         * conform/data/pthread.h-data: Likewise.
59651         * conform/data/pwd.h-data: Likewise.
59652         * conform/data/regex.h-data: Likewise.
59653         * conform/data/sched.h-data: Likewise.
59654         * conform/data/search.h-data: Likewise.
59655         * conform/data/semaphore.h-data: Likewise.
59656         * conform/data/setjmp.h-data: Likewise.
59657         * conform/data/signal.h-data: Likewise.
59658         * conform/data/spawn.h-data: Likewise.
59659         * conform/data/stdarg.h-data: Likewise.
59660         * conform/data/stdio.h-data: Likewise.
59661         * conform/data/stdlib.h-data: Likewise.
59662         * conform/data/string.h-data: Likewise.
59663         * conform/data/strings.h-data: Likewise.
59664         * conform/data/stropts.h-data: Likewise.
59665         * conform/data/sys/ipc.h-data: Likewise.
59666         * conform/data/sys/mman.h-data: Likewise.
59667         * conform/data/sys/msg.h-data: Likewise.
59668         * conform/data/sys/resource.h-data: Likewise.
59669         * conform/data/sys/select.h-data: Likewise.
59670         * conform/data/sys/sem.h-data: Likewise.
59671         * conform/data/sys/shm.h-data: Likewise.
59672         * conform/data/sys/socket.h-data: Likewise.
59673         * conform/data/sys/stat.h-data: Likewise.
59674         * conform/data/sys/statvfs.h-data: Likewise.
59675         * conform/data/sys/time.h-data: Likewise.
59676         * conform/data/sys/timeb.h-data: Likewise.
59677         * conform/data/sys/times.h-data: Likewise.
59678         * conform/data/sys/types.h-data: Likewise.
59679         * conform/data/sys/uio.h-data: Likewise.
59680         * conform/data/sys/un.h-data: Likewise.
59681         * conform/data/sys/utsname.h-data: Likewise.
59682         * conform/data/sys/wait.h-data: Likewise.
59683         * conform/data/syslog.h-data: Likewise.
59684         * conform/data/tar.h-data: Likewise.
59685         * conform/data/termios.h-data: Likewise.
59686         * conform/data/utime.h-data: Likewise.
59687         * conform/data/utmpx.h-data: Likewise.
59688         * conform/data/varargs.h-data: Likewise.
59689         * conform/data/wchar.h-data: Likewise.
59690         * conform/data/wctype.h-data: Likewise.
59691         * conform/data/wordexp.h-data: Likewise.
59693         * include/stropts.h: New file.
59694         * include/uchar.h: New file.
59695         * include/aio.h: Changes to allow conformtest.pl to use the headers.
59696         * include/assert.h: Likewise.
59697         * include/ctype.h: Likewise.
59698         * include/dirent.h: Likewise.
59699         * include/dlfcn.h: Likewise.
59700         * include/fcntl.h: Likewise.
59701         * include/fnmatch.h: Likewise.
59702         * include/glob.h: Likewise.
59703         * include/grp.h: Likewise.
59704         * include/libio.h: Likewise.
59705         * include/locale.h: Likewise.
59706         * include/math.h: Likewise.
59707         * include/net/if.h: Likewise.
59708         * include/netdb.h: Likewise.
59709         * include/netinet/in.h: Likewise.
59710         * include/pthread.h: Likewise.
59711         * include/pwd.h: Likewise.
59712         * include/regex.h: Likewise.
59713         * include/sched.h: Likewise.
59714         * include/search.h: Likewise.
59715         * include/setjmp.h: Likewise.
59716         * include/signal.h: Likewise.
59717         * include/stdio.h: Likewise.
59718         * include/stdlib.h: Likewise.
59719         * include/string.h: Likewise.
59720         * include/sys/cdefs.h: Likewise.
59721         * include/sys/mman.h: Likewise.
59722         * include/sys/msg.h: Likewise.
59723         * include/sys/resource.h: Likewise.
59724         * include/sys/select.h: Likewise.
59725         * include/sys/socket.h: Likewise.
59726         * include/sys/stat.h: Likewise.
59727         * include/sys/statvfs.h: Likewise.
59728         * include/sys/time.h: Likewise.
59729         * include/sys/times.h: Likewise.
59730         * include/sys/uio.h: Likewise.
59731         * include/sys/utsname.h: Likewise.
59732         * include/sys/wait.h: Likewise.
59733         * include/termios.h: Likewise.
59734         * include/time.h: Likewise.
59735         * include/ulimit.h: Likewise.
59736         * include/unistd.h: Likewise.
59737         * include/utime.h: Likewise.
59738         * include/wchar.h: Likewise.
59739         * include/wctype.h: Likewise.
59740         * include/wordexp.h: Likewise.
59742         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
59744         * time/time.h: TIME_UTC must be a macro.
59745         Make timespec_get available for ISO C11 only as well.
59747 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
59749         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
59750         Reported by Peng Haitao <penght@cn.fujitsu.com>.
59752 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
59754         * configure.in: Use -o not -a in test for unsupported multi-arch.
59756 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
59758         * manual/texinfo.tex: Update to version 2012-01-19.16.
59760 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
59762         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
59764 2012-02-24  Roland McGrath  <roland@hack.frob.com>
59766         [BZ #13738]
59767         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
59768         * manual/fdl-1.3.texi: New file.
59769         * manual/fdl-1.1.texi: File removed.
59771         [BZ #13738]
59772         * manual/libc.texinfo (FDL_VERSION): New @set.
59773         Use it for mention of FDL in cover text.
59774         (Documentation License): Use it in @include file name.
59776 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
59777             Roland McGrath  <roland@hack.frob.com>
59779         [BZ #5461]
59780         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
59781         (not LONG_LONG_MAX and LONG_LONG_MIN.
59782         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
59783         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
59784         name.
59785         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
59787 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
59789         [BZ #2547]
59790         [BZ #11365]
59791         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
59792         manipulate bits before adding and subtracting TWO23[sx].
59793         * math/libm-test.inc (nearbyint_test): Add more tests.
59795 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
59797         [BZ #2548]
59798         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
59799         bits before adding and subtracting TWO23[sx].
59800         * math/libm-test.inc (rint_test): Add more tests.
59801         (rint_test_tonearest): Likewise.
59802         (rint_test_towardzero): Likewise.
59803         (rint_test_downward): Likewise.
59804         (rint_test_upward: Likewise.
59806 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
59808         [BZ #10110]
59809         * include/stdc-predef.h: New file.  Extracted from features.h.
59810         * include/features.h: Include stdc-predef.h.
59811         * Makefile (headers): Add stdc-predef.h.
59812         * CONFORMANCE (Compiler limitations): Update.
59814 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
59816         * manual/libc.texinfo (VERSION, UPDATED): Revert.
59818 2012-02-21  David S. Miller  <davem@davemloft.net>
59820         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
59821         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
59823 2012-02-20  David S. Miller  <davem@davemloft.net>
59825         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
59826         using a normal save/restore sequence, rather than allocating a
59827         dummy stack frame just to store a frame pointer and restore.
59828         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
59830 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
59832         * manual/install.texi: Fix stray word in line-wrapped comment.
59834 2012-02-20  David S. Miller  <davem@davemloft.net>
59836         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
59837         both binutils and gcc support GOTDATA.
59839         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
59840         "rd %pc" in the PIC register setup sequences.
59842         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
59843         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
59844         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
59845         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
59846         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
59847         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
59848         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59849         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
59850         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
59851         (SYSCALL_ERROR_HANDLER): Likewise.
59852         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
59853         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59854         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
59855         (SYSCALL_ERROR_HANDLER): Likewise.
59857         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
59858         (HAVE_GCC_GOTDATA): New.
59859         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
59860         relocation support in both binutils and gcc.
59861         * sysdeps/sparc/elf/configure: Regenerate.
59863         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
59864         * sysdeps/sparc/sparc32/elf/configure: Delete.
59865         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
59866         * sysdeps/sparc/sparc64/elf/configure: Delete.
59867         * sysdeps/sparc/elf/configure.in: New file.
59868         * sysdeps/sparc/elf/configure: Generate.
59870         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
59871         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
59872         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59873         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
59874         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
59876 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
59878         * manual/install.texi: Do not mention specific glibc version
59879         numbers.
59880         * manual/libc.texinfo (VERSION, UPDATED): Update.
59881         (@copying): Use @copyright{} and range of years.
59883 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
59885         [BZ #13695]
59886         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
59887         [crti.S not in sysdirs] (generated): Do not append.
59888         [crti.S not in sysdirs] (omit-deps): Likewise.
59889         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
59890         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
59891         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
59892         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
59893         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
59894         Likewise.
59895         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
59896         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
59897         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
59898         * csu/defs.awk: Remove file.
59899         * sysdeps/generic/initfini.c: Likewise.
59900         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
59901         variable.
59902         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
59903         Likewise.
59905 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
59907         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
59908         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
59909         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
59910         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
59911         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59912         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
59913         <bits/epoll.h>.
59914         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
59915         (__EPOLL_PACKED): Define to empty if not defined by
59916         <bits/epoll.h>.
59917         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
59918         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59919         bits/epoll.h.
59921 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
59923         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
59924         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
59925         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
59926         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
59927         <bits/timerfd.h>.
59928         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
59929         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59930         bits/timerfd.h.
59932 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
59934         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
59935         in C locale.
59936         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59937         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59938         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
59939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59941 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
59943         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59944         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
59946 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
59948         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
59949         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
59950         defined.
59951         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
59952         Likewise.
59953         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
59954         entry for 2.16.
59956 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
59958         * math/w_acos.c: Use non-signaling floating-point comparisons.
59959         * math/w_acosf.c: Likewise.
59960         * math/w_acosh.c: Likewise.
59961         * math/w_acoshf.c: Likewise.
59962         * math/w_acoshl.c: Likewise.
59963         * math/w_acosl.c: Likewise.
59964         * math/w_asin.c: Likewise.
59965         * math/w_asinf.c: Likewise.
59966         * math/w_asinl.c: Likewise.
59967         * math/w_atanh.c: Likewise.
59968         * math/w_atanhf.c: Likewise.
59969         * math/w_atanhl.c: Likewise.
59970         * math/w_exp2.c: Likewise.
59971         * math/w_exp2f.c: Likewise.
59972         * math/w_exp2l.c: Likewise.
59973         * math/w_j0.c: Likewise.
59974         * math/w_j0f.c: Likewise.
59975         * math/w_j0l.c: Likewise.
59976         * math/w_j1.c: Likewise.
59977         * math/w_j1f.c: Likewise.
59978         * math/w_j1l.c: Likewise.
59979         * math/w_jn.c: Likewise.
59980         * math/w_jnf.c: Likewise.
59981         * math/w_log.c: Likewise.
59982         * math/w_log10.c: Likewise.
59983         * math/w_log10f.c: Likewise.
59984         * math/w_log10l.c: Likewise.
59985         * math/w_log2.c: Likewise.
59986         * math/w_log2f.c: Likewise.
59987         * math/w_log2l.c: Likewise.
59988         * math/w_logf.c: Likewise.
59989         * math/w_logl.c: Likewise.
59990         * math/w_sqrt.c: Likewise.
59991         * math/w_sqrtf.c: Likewise.
59992         * math/w_sqrtl.c: Likewise.
59993         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59994         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
59995         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59996         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59997         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59999 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
60001         [BZ #9739]
60002         * manual/string.texi (strnlen): Use correct parameter name in
60003         equivalent expression.
60005 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
60007         [BZ #11174]
60008         * manual/users.texi (seteuid): Consistently use neweuid for
60009         argument name.
60011 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
60013         [BZ #13704]
60014         * manual/nss.texi (Services in the NSS configuration): Correct
60015         list of services in example configuration file.
60017 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
60019         [BZ #11322]
60020         * manual/arith.texi: Remove statements about negative zero
60021         behaving identically to zero.
60023 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
60025         [BZ #5993]
60026         * manual/install.texi: Do not document upgrading from libc5.
60028 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
60030         [BZ #4596]
60031         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
60033 2012-02-18  David S. Miller  <davem@davemloft.net>
60035         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
60036         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
60037         %o7 across the call.
60038         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
60039         instead.
60040         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
60041         SETUP_PIC_REG_LEAF.
60042         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60043         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
60044         * sysdeps/sparc/crtn.S: Likewise.
60046 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
60048         * aout/Makefile: Remove.
60050 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
60052         [BZ #13058]
60053         * manual/examples/argp-ex1.c (main): Format definition in GNU
60054         style.
60055         * manual/examples/argp-ex2.c (main): Likewise.
60056         * manual/examples/argp-ex3.c (main): Likewise.
60057         * manual/examples/argp-ex4.c (main): Likewise.
60058         * manual/examples/longopt.c (main): Use new-style prototype
60059         definition.
60060         * manual/examples/strncat.c (main): Specify return type and use
60061         (void) for arguments.
60062         * manual/examples/subopt.c (main): Use char **argv argument.
60064 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60066         [BZ #5077]
60067         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
60068         rounding modes.
60070 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
60072         [BZ #6907]
60073         * manual/string.texi (strchr): Change when strchrnul is
60074         recommended.
60076 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
60078         [BZ #174]
60079         * manual/locale.texi (setlocale): Document LOCPATH.
60081 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60083         [BZ #10210]
60084         * manual/process.texi (execle): Move @dots{} before last argument.
60086 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
60088         [BZ #12047]
60089         * manual/charset.texi (Generic Charset Conversion): Fix typo
60090         (LC_TYPE -> LC_CTYPE).
60092 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
60094         [BZ #5805]
60095         * manual/arith.texi (scalbn): Use @var{} on parameter names.
60096         (scalbnf): Likewise.
60097         (scalbnl): Likewise.
60098         (scalbln): Likewise.
60099         (scalblnf): Likewise.
60100         (scalblnl): Likewise.
60101         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
60102         (vwarnx): Likewise.
60103         (verr): Likewise.
60104         (verrx): Likewise.
60105         * manual/filesys.texi (telldir): Use braces around return type.
60106         * manual/llio.texi (mmap): Add space after comma.
60107         (mmap64): Likewise.
60108         * manual/math.texi (jn): Use @var{} on parameter names.
60109         (jnf): Likewise.
60110         (jnl): Likewise.
60111         (yn): Likewise.
60112         (ynf): Likewise.
60113         (ynl): Likewise.
60114         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
60115         line.
60116         * manual/resource.texi (ulimit): Use @dots{} instead of literal
60117         "...".
60118         (sched_get_priority_min): Remove semicolon on @deftypefun line.
60119         (sched_get_priority_max): Likewise.
60120         * manual/signal.texi (sigvec): Add space after comma.
60121         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
60122         names.
60123         (if_indextoname): Likewise.
60124         (if_freenameindex): Likewise.
60125         (sendto): Use ',' instead of '.' in prototype.
60126         * manual/startup.texi (syscall): Use @dots{} instead of literal
60127         "...".
60128         * manual/stdio.texi (__fpending): Separate initial words of
60129         paragraph from @deftypefun line.
60130         * manual/syslog.texi (syslog): Use @dots{} instead of literal
60131         "...".
60132         (vsyslog): Use @var{} on parameter names.
60133         * manual/terminal.texi (stty): Use @var{} on parameter names.
60134         * manual/users.texi (getutmp): Use @var{} on parameter names.
60135         (getutmpx): Likewise.
60137 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60139         [BZ #6884]
60140         * manual/stdio.texi (fopen): Fix typos in description of
60141         ",ccs=STRING".
60143 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
60145         [BZ #4026]
60146         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
60147         get clock_id definition.
60149 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
60151         [BZ #4822]
60152         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
60153         (madvise): Cast every argument to void on its own.
60155 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60157         [BZ #9902]
60158         * manual/startup.texi (Exit Status): Fix typo.
60160 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60162         [BZ #10140]
60163         * manual/examples/argp-ex1.c: Include <stdlib.h>.
60164         * manual/examples/argp-ex2.c: Likewise.
60165         * manual/examples/argp-ex3.c: Likewise.
60167 2012-02-16  Richard Henderson  <rth@redhat.com>
60169         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
60170         * sysdeps/s390/s390-32/initfini.c: Remove.
60171         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
60172         * sysdeps/s390/s390-64/initfini.c: Remove.
60174 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60176         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
60177         compiler output for sysdeps/generic/initfini.c.
60178         * sysdeps/sh/elf/initfini.c: Remove file.
60180 2012-02-16  David S. Miller  <davem@davemloft.net>
60182         [BZ #11494]
60183         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
60185         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
60186         * sysdeps/sparc/crti.S: New file.
60187         * sysdeps/sparc/crtn.S: New file.
60188         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
60189         * sysdeps/sparc/sparc64/Makefile: Likewise.
60191 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
60193         [BZ #3335]
60194         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
60196 2012-02-15  Roland McGrath  <roland@hack.frob.com>
60198         [BZ #4822]
60199         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
60201         * mach/devstream.c (cookie_io_functions_t): Macro removed.
60202         (write, read, close): Likewise.
60203         Patch by Aurelien Jarno <aurelien@aurel32.net>.
60205 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
60207         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
60208         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
60209         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
60210         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
60211         <bits/signalfd.h>.
60212         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
60213         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60214         bits/signalfd.h.
60216 2012-02-14  Marek Polacek  <polacek@redhat.com>
60218         * sysdeps/x86_64/crti.S: New file.
60219         * sysdeps/x86_64/crtn.S: New file.
60220         * sysdeps/x86_64/elf/initfini.c: Remove file.
60222 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
60224         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
60225         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
60226         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
60227         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
60228         <bits/inotify.h>.
60229         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
60230         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60231         bits/inotify.h.
60233 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
60235         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
60236         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
60237         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
60238         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
60239         <bits/eventfd.h>.
60240         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
60241         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60242         bits/eventfd.h.
60244 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
60246         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
60247         __feraiseexcept instead of feraiseexcept.
60249         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
60250         nanosleep invocations.
60251         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
60252         strings, and add error checking for a nanosleep invocations.
60254 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
60256         Replace FSF snail mail address with URLs, as per GNU coding standards.
60257         Most of the snail mail addresses were wrong anyway, and omitting
60258         them makes the source code easier to maintain.  Almost all of the
60259         changes are to license notices and to locale LC_IDENTIFICATION
60260         addresses, except for this one:
60261         * manual/libc.texinfo: In "Published by", give the FSF's URL,
60262         not its snail mail address.
60264 2012-02-09  Richard Henderson  <rth@twiddle.net>
60266         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
60267         of kernel-features.h.
60269         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
60271 2012-02-08  Marek Polacek  <polacek@redhat.com>
60273         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
60274         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
60275         * sysdeps/gnu/_G_config.h: Likewise.
60276         * sysdeps/generic/_G_config.h: Likewise.
60278 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
60280         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
60281         tests.
60282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60284         * sysdeps/powerpc/powerpc32/crti.S: New file.
60285         * sysdeps/powerpc/powerpc32/crtn.S: New file.
60286         * sysdeps/powerpc/powerpc64/crti.S: New file.
60287         * sysdeps/powerpc/powerpc64/crtn.S: New file.
60289         * Makeconfig (have-initfini): Don't set.
60290         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
60291         * configure.in (nopic_initfini): Don't substitute.
60292         * config.h.in (HAVE_INITFINI): Don't #undef.
60293         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
60294         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
60296 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
60298         Support crti.S and crtn.S provided directly by architectures.
60299         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
60300         [crti.S in sysdirs] (omit-deps): Likewise.
60301         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
60302         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
60303         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
60304         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
60305         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
60306         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
60307         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
60308         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
60309         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
60310         compiler output for sysdeps/generic/initfini.c.
60311         * sysdeps/i386/elf/Makefile: Remove file.
60312         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
60314 2012-02-07  Marek Polacek  <polacek@redhat.com>
60316         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
60317         * sysdeps/gnu/_G_config.h: Likewise.
60318         * sysdeps/mach/hurd/_G_config.h: Likewise.
60320 2012-02-07  Marek Polacek  <polacek@redhat.com>
60322         * math/Makefile (tests): Add tst-CMPLX2.
60323         * math/tst-CMPLX2.c: New file.
60325 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
60327         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60329         * math/libm-test.inc (jn_test): Add missing L suffix.
60331 2012-02-06  Marek Polacek  <polacek@redhat.com>
60333         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
60334         * sysdeps/i386/fpu/e_powf.S: Likewise.
60335         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60336         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
60337         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60338         * sysdeps/i386/fpu/e_pow.S: Likewise.
60339         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60340         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60341         * sysdeps/i386/fpu/s_expm1.S: Likewise.
60342         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60343         * sysdeps/i386/fpu/e_log2.S: Likewise.
60344         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60345         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60346         * sysdeps/i386/fpu/e_powl.S: Likewise.
60347         * sysdeps/i386/fpu/s_log1p.S: Likewise.
60348         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60349         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60350         * sysdeps/i386/fpu/e_logl.S: Likewise.
60351         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60352         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
60353         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60354         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60355         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60356         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60357         * sysdeps/i386/fpu/e_log.S: Likewise.
60358         * sysdeps/i386/fpu/s_cexp.S: Likewise.
60359         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60360         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
60361         * sysdeps/i386/fpu/e_logf.S: Likewise.
60362         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60363         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60364         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
60365         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60366         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
60367         * sysdeps/i386/fpu/e_log10.S: Likewise.
60368         * sysdeps/i386/fpu/s_frexp.S: Likewise.
60369         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60370         * sysdeps/i386/fpu/s_asinh.S: Likewise.
60371         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60372         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60373         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60374         * sysdeps/i386/asm-syntax.h: Likewise.
60375         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60376         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60377         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60378         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
60379         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
60380         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60381         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60382         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60383         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60384         * sysdeps/powerpc/sysdep.h: Likewise.
60385         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
60386         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60388 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
60390         [BZ #411]
60391         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
60393 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
60395         * sysdeps/i386/sysdep.h: Include <features.h>.
60396         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
60397         version.
60399 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
60401         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
60402         Define.
60403         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
60404         LOAD_PIC_REG_STR.
60406 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
60408         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
60409         (SETUP_PIC_REG): Use GET_PC_THUNK.
60410         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
60411         macro.
60413 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
60415         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
60416         for non-PIC compilation.
60417         (SETUP_PIC_REG): Add .p2align directive.
60418         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
60419         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
60420         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60421         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60422         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
60423         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60424         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
60425         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60426         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60427         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60428         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60429         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60430         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60431         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60432         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60433         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
60434         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
60435         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60436         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60437         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60438         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60439         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
60440         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60441         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60442         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
60443         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
60444         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60445         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
60446         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60447         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60448         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60449         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60450         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60451         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60452         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60453         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60454         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60455         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60456         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60457         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60458         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60460 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
60462         * math/tst-CMPLX.c: Include <stdio.h>.
60464 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
60466         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
60467         float.
60468         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
60469         * sysdeps/sparc/bits/mathdef.h: Likewise.
60471 2012-01-31  Marek Polacek  <polacek@redhat.com>
60473         * libio/libio.h: Don't define _PARAMS.
60474         * locale/programs/config.h: Don't define PARAMS.
60475         * stdlib/strtol_l.c: Likewise.
60476         (__strtol_l): Remove PARAMS from the prototype.
60478 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
60480         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
60481         names.  Just use the correct names.  Remove unnecessary wrapper
60482         functions.
60483         * malloc/arena.c: Likewise.
60484         * malloc/hooks.c: Likewise.
60486         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
60487         ARENA_TEST says not to.  Simplify test for creation of a new arena.
60488         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
60490 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
60492         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
60493         into tail calls.
60494         (update_get_addr): New function.
60495         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
60496         GET_ADDR_MODULE parameter.
60498 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
60500         * crypt/cert.c: Remove __STDC__ conditionals.
60501         * crypt/crypt-entry.c: Likewise.
60502         * crypt/crypt_util.c: Likewise.
60503         * libio/filedoalloc.c: Likewise.
60504         * libio/fileops.c: Likewise.
60505         * libio/genops.c: Likewise.
60506         * libio/iofclose.c: Likewise.
60507         * libio/iofdopen.c: Likewise.
60508         * libio/iofopen.c: Likewise.
60509         * libio/iofopen64.c: Likewise.
60510         * libio/iogetdelim.c: Likewise.
60511         * libio/iopopen.c: Likewise.
60512         * libio/obprintf.c: Likewise.
60513         * libio/oldfileops.c: Likewise.
60514         * libio/oldiofclose.c: Likewise.
60515         * libio/oldiofdopen.c: Likewise.
60516         * libio/oldiofopen.c: Likewise.
60517         * libio/oldiopopen.c: Likewise.
60518         * libio/wfiledoalloc.c: Likewise.
60519         * libio/wgenops.c: Likewise.
60520         * locale/programs/xmalloc.c: Likewise.
60521         * misc/syslog.c: Likewise.
60522         * stdio-common/xbug.c: Likewise.
60523         * string/memchr.c: Likewise.
60524         * string/memcmp.c: Likewise.
60525         * string/memrchr.c: Likewise.
60526         * string/rawmemchr.c: Likewise.
60527         * sysdeps/posix/getcwd.c: Likewise.
60528         * time/strftime_l.c: Likewise.
60530 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
60532         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
60533         * config.make.in (config-cflags-sse2avx): Define.
60534         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
60535         Fix typo.
60537 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
60539         * scripts/config.guess: Update from upstream config git repository.
60540         * scripts/config.sub: Likewise.
60542 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
60544         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
60545         (EM_NUM): Update.
60546         (R_TILEPRO_*, R_TILEGX_*): New macros.
60548         * scripts/firstversions.awk: Fix bug in version range handling.
60550         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
60552         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
60554         * include/sys/epoll.h: New file.
60555         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
60556         libc_hidden_def.
60558 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
60560         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
60561         Avoid unnecessary __WORDSIZE == 64 test.
60562         (fmaxf): Use VEX format if possible.
60563         (fmax): Likewise.
60564         (fminf): Likewise.
60565         (fmin): Likewise.
60567         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
60568         * math/math_private.h: Remove libc_fegetround* and
60569         libc_fesetround*.
60570         * sysdeps/i386/configure.in: Check for -msse2avx.
60571         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
60572         also if SSE2AVX is defined.
60573         Remove libc_fegetround* and libc_fesetround*.
60574         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
60575         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
60576         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
60577         of HAS_YMM_USABLE.
60578         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60579         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60580         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60581         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60582         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60584         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
60586 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60588         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
60589         size is not set.
60590         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60592 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
60594         [BZ #13618]
60595         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
60596         relocation.
60597         * Makeconfig (libm): Define.
60598         * elf/Makefile: Add rules to build and run tst-relsort1.
60599         * elf/tst-relsort1.c: New file.
60600         * elf/tst-relsort1mod1.c: New file.
60601         * elf/tst-relsort1mod2.c: New file.
60603 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
60605         * math/s_ldexp.c: Remove __STDC__ conditionals.
60606         * math/s_ldexpf.c: Likewise.
60607         * math/s_ldexpl.c: Likewise.
60608         * math/s_nextafter.c: Likewise.
60609         * math/s_nexttowardf.c: Likewise.
60610         * math/s_significand.c: Likewise.
60611         * math/s_significandf.c: Likewise.
60612         * math/s_significandl.c: Likewise.
60613         * math/w_jnl.c: Likewise.
60614         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
60615         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
60616         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
60617         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
60618         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
60619         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60620         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
60621         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60622         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60623         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60624         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60625         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60626         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60627         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
60628         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60629         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60630         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60631         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60632         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60633         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60634         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60635         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60636         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60637         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60638         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60639         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60640         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60641         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60642         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
60643         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60644         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60645         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
60646         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60647         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
60648         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
60649         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60650         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
60651         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
60652         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
60653         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
60654         * sysdeps/ieee754/k_standard.c: Likewise.
60655         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60656         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
60657         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
60658         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
60659         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
60660         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
60661         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
60662         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
60663         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
60664         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
60665         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
60666         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
60667         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
60668         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
60669         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
60670         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
60671         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
60672         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
60673         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60674         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
60675         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
60676         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
60677         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
60678         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
60679         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
60680         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
60681         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60682         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60683         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60684         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
60685         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
60686         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
60687         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
60688         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
60689         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
60690         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
60691         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
60692         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
60693         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
60694         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
60695         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
60696         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
60697         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
60698         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
60699         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
60700         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
60701         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
60702         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
60703         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
60704         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
60705         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
60706         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
60707         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
60708         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
60709         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
60710         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
60711         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
60712         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60713         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60714         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60715         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60716         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
60717         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
60718         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
60719         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60720         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60721         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60722         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
60723         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
60724         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60725         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60726         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60727         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60728         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
60729         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
60730         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60731         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
60732         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
60733         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
60734         * sysdeps/ieee754/s_matherr.c: Likewise.
60735         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
60736         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
60737         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
60738         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
60740 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
60742         * crypt/md5.h: Remove __STDC__ conditionals.
60743         * libio/libioP.h: Likewise.
60744         * locale/programs/config.h: Likewise.
60745         * sysdeps/generic/sysdep.h: Likewise.
60746         * sysdeps/i386/asm-syntax.h: Likewise.
60747         * sysdeps/s390/asm-syntax.h: Likewise.
60748         * sysdeps/unix/sysdep.h: Likewise.
60749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
60750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60752 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
60754         * libio/libio.h: Remove __STDC__ conditionals.
60755         * malloc/obstack.h: Likewise.
60756         * math/complex.h: Likewise.
60757         * math/math.h: Likewise.
60758         * sysdeps/generic/_G_config.h: Likewise.
60759         * sysdeps/gnu/_G_config.h: Likewise.
60760         * sysdeps/mach/hurd/_G_config.h: Likewise.
60761         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60762         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
60763         * sysdeps/sparc/bits/mathdef.h: Likewise.
60765 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
60767         [BZ #13583]
60768         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
60769         Clean up HAS_* macros.
60770         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
60771         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
60772         possible.
60773         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
60774         HAS_AVX.
60775         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60776         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60777         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60778         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60779         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60781 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
60783         * elf/tst-unique3.cc (gets): Remove declaration.
60784         * elf/tst-unique3lib.cc (gets): Likewise.
60785         * elf/tst-unique3lib2.cc (gets): Likewise.
60786         * elf/tst-unique4.cc (gets): Likewise.
60788 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
60790         * include/stdio.h: Add C++ protection.  Add gets declarations and
60791         definitions.
60792         * debug/tst-chk1.c: Don't declare gets here.
60793         * stdio-common/tst-gets.c: Likewise.
60795 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
60797         * posix/glob: Remove directory.
60799 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
60801         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
60803 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
60805         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
60806         of the non-standard EPFNOSUPPORT.
60808 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60810         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
60811         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
60812         ANYWHERE set to 1 only on KERN_NO_SPACE error.
60814 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
60816         * wcsmbs/uchar.h: Test __STDC_VERSION__.
60818 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
60820         * nscd/aicache.c (addhstaiX): Do not cache negative results of
60821         transient errors.
60822         * nscd/grpcache.c (cache_addgr): Likewise.
60823         * nscd/hstcache.c (cache_addhst): Likewise.
60824         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60825         * nscd/pwdcache.c (cache_addpw): Likewise.
60826         * nscd/servicescache.c (cache_addserv): Likewise.
60828 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
60830         * malloc/malloc.c: Various cleanups.
60831         * malloc/hooks.c: Likewise.
60833         * stdlib/Makefile (tests): Add bug-fmtmsg1.
60834         * stdlib/bug-fmtmsg1.c: New file.
60836         * stdlib/fmtmsg.c (init): Add missing unlock.
60837         Patch by Peng Haitao <penght@cn.fujitsu.com>.
60839 2012-01-12  Marek Polacek  <polacek@redhat.com>
60841         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
60842         and _GNU_SOURCE.
60844 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
60846         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
60847         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
60848         macro to ensure uniqueness of label name.
60849         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
60850         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
60852 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
60854         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
60856         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
60857         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
60858         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
60859         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
60861 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
60863         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
60865         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
60866         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
60867         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
60869         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
60871         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
60872         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
60873         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60874         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
60876         * math/bits/math-finite.h: Add ldexp support.
60878 2012-01-10  Marek Polacek  <polacek@redhat.com>
60880         * locale/programs/localedef.h (show_archive_content): Add noreturn
60881         attribute.
60883 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
60885         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
60887 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
60889         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
60891         * io/Makefile (headers): Add bits/poll2.h.
60893 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
60895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
60896         typo #include statement.
60898 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
60900         * include/sys/cdefs.h: Define __attribute_alloc_size.
60901         * catgets/gencat.c: Add alloc_size attribute and apply consistently
60902         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
60903         * elf/pldd.c: Likewise.
60904         * iconv/iconv_charmap.c: Likewise.
60905         * iconv/iconvconfig.c: Likewise.
60906         * iconv/strtab.c: Likewise.
60907         * locale/programs/locale.c: Likewise.
60908         * locale/programs/localedef.h: Likewise.
60909         * locale/programs/simple-hash.c: Likewise.
60910         * nscd/nscd.h: Likewise.
60911         * nss/makedb.c: Likewise.
60912         * sysdeps/generic/ldconfig.h: Likewise.
60913         * locale/programs/localedef.c: Remove xmalloc prototype.
60914         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
60916 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60918         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
60919         appropriate.
60921 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
60923         * math/Makefile (tests): Add tst-CMPLX.
60924         * math/tst-CMPLX.c: New file.
60926         * math/complex.h (CMPLXL): Fix typo.
60928         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
60929         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
60930         GLIBC_2.16.
60931         * debug/tst-chk1.c: Add poll and ppoll tests.
60932         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
60933         * include/sys/poll.h: Add hidden proto for ppoll.
60934         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
60935         * sysdeps/mach/hurd/ppoll.c: Likewise.
60936         * io/ppoll.c: Likewise.
60937         * debug/poll_chk.c: New file.
60938         * debug/ppoll_chk.c: New file.
60939         * include/bits/poll2.h: New file.
60940         * io/bits/poll2.h: New file.
60942         [BZ #1350]
60943         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
60945         * configure.in: static is always set to yes.  Remove.
60946         * config.make.in: Don't set build-static.
60947         * Makeconfig: Remove use of build-static.
60948         * dlfcn/Makefile: Likewise.
60949         * elf/Makefile: Likewise.
60950         * math/Makefile: Likewise.
60951         * misc/Makefile: Likewise.
60952         * nptl/Makefile: Likewise.
60953         * sysdeps/mach/hurd/Makefile: Likewise.
60955         * configure.in: PWD_P is not used anymore.
60956         * config.make.in: Remove PWD_P entry.
60958         * configure.in: Remove last remnants of RANLIB.
60959         No need to check for signed size_t anymore.
60960         Don't set libc_commonpagesize and libc_relro_required here for Alpha
60961         and IA-64.
60962         Remove __builtin_expect test because we require at least gcc 3.4.
60963         * aclocal.m4: Likewise.
60965         * wcsmbs/mbrtoc16.c: Implement using towc function.
60966         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
60967         * wcsmbs/wcsmbsload.c: Likewise.
60968         * iconv/gconv_simple.c: Likewise.
60969         * iconv/gconv_int.h: Likewise.
60970         * iconv/gconv_builtin.h: Likewise.
60971         * iconv/iconv_prog.c: Remove CHAR16 handling.
60973         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
60975         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
60977         * configure.in: Remove --with-elf and --enable-bounded options.
60978         Dont set base_machine for ia64.  More non-ELF conditions removed.
60979         Remove testing and setting of leading underscore information.
60980         * config.make.in (build-bounded): Set to no.
60981         * config.h.in: Remove NO_UNDERSCORES entry.
60982         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
60983         them.
60984         * csu/start.c: Remove !NO_UNDERSCORE code.
60985         * locale/localeinfo.h: Likewise.
60986         * sysdeps/generic/machine-gmon.h: Likewise.
60987         * sysdeps/generic/sysdep.h: Likewise.
60988         * sysdeps/i386/sysdep.h: Likewise.
60989         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
60990         * sysdeps/mach/sysdep.h: Likewise.
60991         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60992         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60993         * sysdeps/sh/sysdep.h: Likewise.
60994         * sysdeps/sparc/sparc32/alloca.S: Likewise.
60995         * sysdeps/unix/i386/sysdep.S: Likewise.
60996         * sysdeps/unix/sparc/start.c: Likewise.
60997         * sysdeps/unix/sparc/sysdep.S: Likewise.
60998         * sysdeps/unix/sparc/sysdep.h: Likewise.
60999         * sysdeps/unix/start.c: Likewise.
61000         * sysdeps/unix/x86_64/sysdep.S: Likewise.
61001         * sysdeps/x86_64/sysdep.h: Likewise.
61003 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
61005         [BZ #13553]
61006         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
61007         for non-gcc.
61008         * argp/argp-fmtstream.h: Use const instead __const.
61009         * argp/argp.h: Likewise.
61010         * assert/assert.h: Likewise.
61011         * bits/fenv.h: Likewise.
61012         * bits/sched.h: Likewise.
61013         * bits/sigset.h: Likewise.
61014         * bits/sigthread.h: Likewise.
61015         * catgets/nl_types.h: Likewise.
61016         * conform/data/pthread.h-data: Likewise.
61017         * crypt/crypt-private.h: Likewise.
61018         * crypt/crypt.h: Likewise.
61019         * crypt/crypt_util.c: Likewise.
61020         * ctype/ctype.h: Likewise.
61021         * debug/execinfo.h: Likewise.
61022         * debug/mbsnrtowcs_chk.c: Likewise.
61023         * debug/mbsrtowcs_chk.c: Likewise.
61024         * debug/wcsnrtombs_chk.c: Likewise.
61025         * debug/wcsrtombs_chk.c: Likewise.
61026         * debug/wcstombs_chk.c: Likewise.
61027         * dirent/dirent.h: Likewise.
61028         * dlfcn/dlfcn.h: Likewise.
61029         * elf/neededtest4.c: Likewise.
61030         * grp/grp.h: Likewise.
61031         * gshadow/gshadow.h: Likewise.
61032         * iconv/gconv.h: Likewise.
61033         * iconv/gconv_int.h: Likewise.
61034         * iconv/gconv_simple.c: Likewise.
61035         * iconv/iconv.h: Likewise.
61036         * iconv/loop.c: Likewise.
61037         * iconv/skeleton.c: Likewise.
61038         * include/aio.h: Likewise.
61039         * include/aliases.h: Likewise.
61040         * include/argz.h: Likewise.
61041         * include/arpa/inet.h: Likewise.
61042         * include/assert.h: Likewise.
61043         * include/dirent.h: Likewise.
61044         * include/dlfcn.h: Likewise.
61045         * include/execinfo.h: Likewise.
61046         * include/fcntl.h: Likewise.
61047         * include/fenv.h: Likewise.
61048         * include/glob.h: Likewise.
61049         * include/grp.h: Likewise.
61050         * include/libintl.h: Likewise.
61051         * include/mntent.h: Likewise.
61052         * include/netdb.h: Likewise.
61053         * include/pwd.h: Likewise.
61054         * include/rpc/netdb.h: Likewise.
61055         * include/sched.h: Likewise.
61056         * include/search.h: Likewise.
61057         * include/shadow.h: Likewise.
61058         * include/signal.h: Likewise.
61059         * include/stdio.h: Likewise.
61060         * include/stdlib.h: Likewise.
61061         * include/string.h: Likewise.
61062         * include/sys/socket.h: Likewise.
61063         * include/sys/stat.h: Likewise.
61064         * include/sys/statfs.h: Likewise.
61065         * include/sys/statvfs.h: Likewise.
61066         * include/sys/syslog.h: Likewise.
61067         * include/sys/time.h: Likewise.
61068         * include/sys/uio.h: Likewise.
61069         * include/time.h: Likewise.
61070         * include/unistd.h: Likewise.
61071         * include/utmp.h: Likewise.
61072         * include/wchar.h: Likewise.
61073         * include/wctype.h: Likewise.
61074         * inet/aliases.h: Likewise.
61075         * inet/arpa/inet.h: Likewise.
61076         * inet/netinet/ether.h: Likewise.
61077         * inet/netinet/in.h: Likewise.
61078         * intl/libintl.h: Likewise.
61079         * io/bits/fcntl2.h: Likewise.
61080         * io/fcntl.h: Likewise.
61081         * io/ftw.h: Likewise.
61082         * io/sys/poll.h: Likewise.
61083         * io/sys/stat.h: Likewise.
61084         * io/sys/statfs.h: Likewise.
61085         * io/sys/statvfs.h: Likewise.
61086         * io/utime.h: Likewise.
61087         * libio/bits/stdio.h: Likewise.
61088         * libio/bits/stdio2.h: Likewise.
61089         * libio/libio.h: Likewise.
61090         * libio/libioP.h: Likewise.
61091         * libio/stdio.h: Likewise.
61092         * locale/lc-ctype.c: Likewise.
61093         * locale/locale.h: Likewise.
61094         * login/utmp.h: Likewise.
61095         * malloc/arena.c: Likewise.
61096         * malloc/malloc.c: Likewise.
61097         * malloc/malloc.h: Likewise.
61098         * malloc/mcheck.c: Likewise.
61099         * malloc/mtrace.c: Likewise.
61100         * math/bits/mathcalls.h: Likewise.
61101         * math/fenv.h: Likewise.
61102         * math/math_private.h: Likewise.
61103         * misc/bits/error.h: Likewise.
61104         * misc/bits/syslog.h: Likewise.
61105         * misc/err.h: Likewise.
61106         * misc/error.h: Likewise.
61107         * misc/fstab.h: Likewise.
61108         * misc/mntent.h: Likewise.
61109         * misc/regexp.h: Likewise.
61110         * misc/search.h: Likewise.
61111         * misc/sgtty.h: Likewise.
61112         * misc/sys/mman.h: Likewise.
61113         * misc/sys/syslog.h: Likewise.
61114         * misc/sys/uio.h: Likewise.
61115         * misc/sys/xattr.h: Likewise.
61116         * misc/ttyent.h: Likewise.
61117         * nis/rpcsvc/ypclnt.h: Likewise.
61118         * nss/nss.h: Likewise.
61119         * posix/bits/unistd.h: Likewise.
61120         * posix/fnmatch.h: Likewise.
61121         * posix/glob.h: Likewise.
61122         * posix/sched.h: Likewise.
61123         * posix/spawn.h: Likewise.
61124         * posix/sys/wait.h: Likewise.
61125         * posix/unistd.h: Likewise.
61126         * posix/wordexp.h: Likewise.
61127         * pwd/pwd.h: Likewise.
61128         * resolv/netdb.h: Likewise.
61129         * resource/sys/resource.h: Likewise.
61130         * rt/aio.h: Likewise.
61131         * rt/bits/mqueue2.h: Likewise.
61132         * rt/mqueue.h: Likewise.
61133         * shadow/shadow.h: Likewise.
61134         * signal/signal.h: Likewise.
61135         * socket/send.c: Likewise.
61136         * socket/sendto.c: Likewise.
61137         * socket/sys/socket.h: Likewise.
61138         * stdio-common/printf.h: Likewise.
61139         * stdlib/bits/stdlib.h: Likewise.
61140         * stdlib/fmtmsg.h: Likewise.
61141         * stdlib/monetary.h: Likewise.
61142         * stdlib/stdlib.h: Likewise.
61143         * stdlib/ucontext.h: Likewise.
61144         * streams/stropts.h: Likewise.
61145         * string/argz.h: Likewise.
61146         * string/bits/string2.h: Likewise.
61147         * string/string.h: Likewise.
61148         * string/strings.h: Likewise.
61149         * sunrpc/rpc/auth.h: Likewise.
61150         * sunrpc/rpc/auth_des.h: Likewise.
61151         * sunrpc/rpc/clnt.h: Likewise.
61152         * sunrpc/rpc/netdb.h: Likewise.
61153         * sunrpc/rpc/pmap_clnt.h: Likewise.
61154         * sunrpc/rpc/xdr.h: Likewise.
61155         * sysdeps/generic/inttypes.h: Likewise.
61156         * sysdeps/generic/net/if.h: Likewise.
61157         * sysdeps/generic/sys/swap.h: Likewise.
61158         * sysdeps/gnu/net/if.h: Likewise.
61159         * sysdeps/gnu/utmpx.h: Likewise.
61160         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
61161         * sysdeps/i386/i486/bits/string.h: Likewise.
61162         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
61163         * sysdeps/s390/bits/string.h: Likewise.
61164         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
61165         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
61166         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
61167         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
61168         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
61169         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
61170         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
61171         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
61172         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
61173         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
61174         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
61175         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61176         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
61177         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61178         * sysdeps/unix/sysv/linux/readv.c: Likewise.
61179         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
61180         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61181         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61182         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
61183         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
61184         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
61185         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
61186         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
61187         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
61188         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
61189         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
61190         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
61191         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
61192         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
61193         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
61194         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
61195         * sysvipc/sys/ipc.h: Likewise.
61196         * sysvipc/sys/msg.h: Likewise.
61197         * sysvipc/sys/sem.h: Likewise.
61198         * sysvipc/sys/shm.h: Likewise.
61199         * termios/termios.h: Likewise.
61200         * time/sys/time.h: Likewise.
61201         * time/time.h: Likewise.
61202         * wcsmbs/bits/wchar2.h: Likewise.
61203         * wcsmbs/uchar.h: Likewise.
61204         * wcsmbs/wchar.h: Likewise.
61205         * wctype/wctype.h: Likewise.
61207         [BZ #13551]
61208         * Makeconfig: Remove all but ELF support including AIX support.
61209         * Makerules: Likewise.
61210         * config.h.in: Likewise.
61211         * config.make.in: Likewise.
61212         * configure: Likewise.
61213         * configure.in: Likewise.
61214         * csu/Makefile: Likewise.
61215         * csu/version.c: Likewise.
61216         * debug/Makefile: Likewise.
61217         * dlfcn/Makefile: Likewise.
61218         * elf/Makefile: Likewise.
61219         * extra-lib.mk: Likewise.
61220         * iconv/Makefile: Likewise.
61221         * include/libc-symbols.h: Likewise.
61222         * include/shlib-compat.h: Likewise.
61223         * resolv/Makefile: Likewise.
61224         * resolv/res_libc.c: Likewise.
61225         * rt/Makefile: Likewise.
61226         * sysdeps/i386/asm-syntax.h: Likewise.
61227         * sysdeps/i386/sysdep.h: Likewise.
61228         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
61229         * sysdeps/mach/sysdep.h: Likewise.
61230         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
61231         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
61232         * sysdeps/s390/asm-syntax.h: Likewise.
61233         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61234         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61235         * sysdeps/sh/sysdep.h: Likewise.
61236         * sysdeps/unix/sparc/sysdep.h: Likewise.
61237         * sysdeps/wordsize-32/divdi3.c: Likewise.
61238         * sysdeps/x86_64/sysdep.h: Likewise.
61240         * argp/Versions: Remove _argp_unlock_xxx.
61242         [BZ #13559]
61243         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
61244         * abilist/libBrokenLocale.abilist: Likewise.
61245         * abilist/libanl.abilist: Likewise.
61246         * abilist/libc.abilist: Likewise.
61247         * abilist/libcrypt.abilist: Likewise.
61248         * abilist/libdl.abilist: Likewise.
61249         * abilist/libm.abilist: Likewise.
61250         * abilist/libnsl.abilist: Likewise.
61251         * abilist/libpthread.abilist: Likewise.
61252         * abilist/libresolv.abilist: Likewise.
61253         * abilist/librt.abilist: Likewise.
61254         * abilist/libthread_db.abilist: Likewise.
61255         * abilist/libutil.abilist: Likewise.
61256         * abilist/libnss_db.abilist: New file.
61258         * scripts/abilist.awk: Add support for indirect functions.
61260         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
61262         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
61264         * shlib-versions: Remove entries for ports architectures.
61266         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
61267         files in ports.
61268         * elf/stackguard-macros.h: Remove support for IA-64.
61269         * elf/tst-auditmod1.c: Likewise.
61270         * sysdeps/generic/ldsodefs.h: Likewise.
61272         * sysdeps/unix/sysv/linux/configure.in: Ports should define
61273         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
61274         configure files.
61276         [BZ #13552]
61277         * configure.in: Remove --enable-omitfp support.
61278         * FAQ.in: Adjust.
61279         * config.make.in: Likewise.
61280         * Makeconfig: Likewise.
61281         * manual/install.texi: Likewise.
61283         In case anyone cares, the IA-64 architecture could move to ports.
61284         * sysdeps/ia64/*: Removed.
61285         * sysdeps/unix/sysv/linux/ia64/*: Removed.
61286         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
61288         [BZ #13555]
61289         * configure.in: Remove entries for unsupported architectures.
61291         [BZ #13533]
61292         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
61293         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
61294         routines.
61295         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
61296         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
61297         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
61298         fall back to using wcrtomb.
61299         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
61300         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
61301         renaming.
61302         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
61303         * wcsmbs/tst-c16c32-1.c: New file.
61305         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
61306         local variable.
61308         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
61310         * elf/tst-unique3.cc: Add explicit declaration of gets.
61311         * elf/tst-unique3lib.cc: Likewise.
61312         * elf/tst-unique3lib2.cc: Likewise.
61313         * elf/tst-unique4.cc: Likewise.
61315         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
61317 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
61319         [BZ #13566]
61320         * assert/assert.h (static_assert): Don't define for C++.
61321         * libio/stdio.h (gets): Do declare for C++ <= C++11.
61322         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
61324 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
61326         * iconv/loop.c (single loop): Fix assertion in storing of
61327         remaining bytes.
61329         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
61331 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
61333         * posix/getconf.c: Update copyright year.
61334         * nss/getent.c: Likewise.
61335         * nss/makedb.c: Likewise.
61336         * iconv/iconvconfig.c: Likewise.
61337         * iconv/iconv_prog.c: Likewise.
61338         * elf/ldconfig.c: Likewise.
61339         * elf/pldd.c: Likewise.
61340         * elf/sotruss.ksh: Likewise.
61341         * catgets/gencat.c: Likewise.
61342         * csu/version.c: Likewise.
61343         * elf/ldd.bash.in: Likewise.
61344         * elf/sprof.c (print_version): Likewise.
61345         * locale/programs/locale.c: Likewise.
61346         * locale/programs/localedef.c: Likewise.
61347         * login/programs/pt_chown.c: Likewise.
61348         * nscd/nscd.c (print_version): Likewise.
61349         * debug/xtrace.sh: Likewise.
61350         * malloc/memusage.sh: Likewise.
61351         * malloc/mtrace.pl: Likewise.
61352         * debug/catchsegv.sh: Likewise.
61354 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
61356         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
61357         pure attribute.
61359 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
61361         [BZ #13533]
61362         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
61363         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
61364         transformations.
61365         * iconv/gconv_int.h: Likewise.
61366         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
61367         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
61368         from libc for GLIBC_2.16.
61369         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
61370         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
61371         * wcsmbs/uchar.h: Really define mbstate_t.
61372         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
61373         * wcsmbs/c16rtomb.c: New file.
61374         * wcsmbs/mbrtoc16.c: New file.
61375         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
61376         for C/POSIX locale.
61377         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
61378         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
61380         * wcsmbs/wchar.h: Add missing __restrict.
61382 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
61384         [BZ #13532]
61385         * time/Makefile (routines): Add timespec_get.
61386         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
61387         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
61388         timespec for ISO C11.
61389         * time/timespec_get.c: New file.
61390         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
61391         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
61393         [BZ #13531]
61394         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
61395         * stdlib/stdlib.h: Declare aligned_alloc.
61396         * Versions.def: Add GLIBC_2.16 for libc.
61397         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
61399         [BZ 13527]
61400         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
61401         ISO C11.
61403         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
61404         code.
61406         [BZ #13528]
61407         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
61409         [BZ #13529]
61410         * assert/assert.h (static_assert): Define.
61412         * version.h: Update for 2.16 development version.
61414         [BZ #13526]
61415         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
61416         _ISOC11_SOURCE.
61418         * version.h (RELEASE): Bump for 2.15 release.
61419         * include/features.h (__GLIBC_MINOR__): Bump to 15.
61421         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
61422         Patch by Marek Polacek <mpolacek@redhat.com>.
61424         * bits/byteswap.h: Protect long long constants with __extension__.
61425         * sysdeps/i386/bits/byteswap.h: Likewise.
61426         * sysdeps/ia64/bits/byteswap.h: Likewise.
61427         * sysdeps/s390/bits/byteswap.h: Likewise.
61428         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61430 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61432         [BZ #13540]
61433         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
61434         destination buffer.
61435         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
61437 2011-12-23  Marek Polacek  <polacek@redhat.com>
61439         * elf/dl-addr.c (determine_info): Add inline keyword.
61440         * elf/tst-auditmod4b.c (check_avx): Likewise.
61441         * elf/tst-auditmod6b.c (check_avx): Likewise.
61442         * elf/tst-auditmod6c.c (check_avx): Likewise.
61443         * elf/tst-auditmod7b.c (check_avx): Likewise.
61445 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
61447         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
61448         !__SSE_MATH__.
61450 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61452         [BZ #13540]
61453         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
61454         processing for last bytes.
61456 2011-08-06  Bruno Haible  <bruno@clisp.org>
61458         [BZ #13061]
61459         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
61460         U+0385, not to U+1FEE.
61462         [BZ #13062]
61463         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
61464         entry for U+00A5 U+0301.
61466 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
61468         [BZ #13166]
61469         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
61470         buffer for the output is too small.
61472         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
61473         optimization.
61475         [BZ #13185]
61476         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
61477         SSE flags if possible.
61479 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61481         [BZ #13540]
61482         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
61483         processing for last bytes.
61485 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
61487         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
61488         (syscall-list-default-options, syscall-list-default-condition)
61489         (syscall-list-includes): Define.
61490         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
61491         list of ABIs and options and #if conditions for each ABI.  Do not
61492         handle common syscalls between ABIs specially.
61493         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
61494         Remove.
61495         (syscall-list-variants, syscall-list-32bit-options)
61496         (syscall-list-32bit-condition, syscall-list-64bit-options)
61497         (syscall-list-64bit-condition): Define.
61498         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
61499         (syscall-list-variants, syscall-list-32bit-options)
61500         (syscall-list-32bit-condition, syscall-list-64bit-options)
61501         (syscall-list-64bit-condition): Define.
61502         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
61503         Remove.
61504         (syscall-list-variants, syscall-list-32bit-options)
61505         (syscall-list-32bit-condition, syscall-list-64bit-options)
61506         (syscall-list-64bit-condition): Define.
61507         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
61508         Remove.
61509         (syscall-list-variants, syscall-list-32bit-options)
61510         (syscall-list-32bit-condition, syscall-list-64bit-options)
61511         (syscall-list-64bit-condition): Define.
61513 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
61515         * locale/iso-639.def: Add brx entry.
61517         [BZ #13328]
61518         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
61519         Proposed by Mariusz_Cukr <marcukr@op.pl>.
61521         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
61522         __feraiseexcept_renamed.
61524 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
61526         [BZ #13538]
61527         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
61528         EPOLLET with unsigned values.
61529         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
61530         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
61532         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
61533         to large cancellation.
61534         * math/s_cacoshf.c: Likewise.
61535         * math/s_cacoshl.c: Likewise.
61537 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
61539         [BZ #13305]
61540         [BZ #12786]
61541         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
61542         * math/s_cacoshf.c: Likewise.
61543         * math/s_cacoshl.c: Likewise.
61545 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
61547         [BZ #13439]
61548         * iconv/gconv.h: Define __GCONV_SWAP.
61549         * iconvdata/unicode.c: The swap bit must be stored in __flags.
61550         * iconvdata/utf-16.c: Likewise.
61551         * iconvdata/utf-32.c: Likewise.
61553 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
61555         [BZ #13524]
61556         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
61557         numerator after shifting it by one limb.
61559 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
61561         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
61562         under [__USE_EXTERN_INLINES].
61564 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
61566         [BZ #13446]
61567         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
61569 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61571         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
61572         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
61573         optimized code.
61574         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
61575         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
61576         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
61577         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
61578         for strncasecmp/strncasecmp_l compilation.
61579         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
61580         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
61582 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
61584         [BZ #13484]
61585         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
61586         of __asm__.
61588 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
61590         [BZ #13506]
61591         * time/tzfile.c (__tzfile_read): Check values from file header.
61593 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
61595         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
61596         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
61597         * powerpc/powerpc32/dl-start.S: Likewise.
61598         * powerpc/powerpc32/elf/start.S: Likewise.
61599         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
61600         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
61601         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
61602         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
61603         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
61604         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
61605         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
61606         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
61607         * powerpc/powerpc32/fpu/s_round.S: Likewise.
61608         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
61609         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
61610         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
61611         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
61612         * powerpc/powerpc32/memset.S: Likewise.
61613         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
61614         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61615         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61616         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61617         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61618         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
61619         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
61620         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
61621         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
61622         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
61623         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
61624         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
61625         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
61627 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61629         * math/libm-test.inc: Added more nearbyint tests.
61630         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
61631         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
61632         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
61633         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
61635 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
61637         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
61638         FD_CLOEXEC.
61640 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61642         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
61643         Add wcscpy-ssse3 wcscpy-c.
61644         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
61645         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
61646         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
61647         * sysdeps/x86_64/wcschr.S: New file.
61648         * sysdeps/x86_64/wcsrchr.S: New file.
61649         * string/test-strcmp.c: Remove checking of wcscmp function for
61650         wrong alignments.
61651         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
61652         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
61653         wcsrchr-sse2 wcsrchr-c.
61654         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
61655         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
61656         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
61657         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
61658         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
61659         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
61660         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
61661         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
61662         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
61663         * wcsmbc/wcschr.c (WCSCHR): New macro.
61665 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61667         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
61668         * wcsmbs/test-wcsrchr.c: New file.
61669         * string/test-strrchr.c: Add wcsrchr support.
61670         (WIDE): New macro.
61671         * wcsmbs/test-wcscpy.c: New file.
61672         * string/test-strcpy.c: Add wcscpy support.
61673         (WIDE): New macro.
61675 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
61677         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
61678         the inner loop.
61680 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
61682         [BZ #13472]
61683         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
61685 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
61687         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
61688         Minor optimizations.
61690         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
61691         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
61692         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
61694 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
61696         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
61697         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
61698         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
61699         for gcc to avoid warnings.
61700         * inet/Makefile (tests): Add tst-checks.
61701         * inet/tst-checks.c: New file.
61703         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
61704         warning.
61706         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
61707         __wmemcmp_sse2.
61709         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
61710         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
61712         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
61714 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
61716         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
61717         problem.
61719         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
61721 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
61723         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
61724         conditional on GCC version.
61725         (__arch_compare_and_exchange_val_8_acq)
61726         (__arch_compare_and_exchange_val_16_acq)
61727         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
61728         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
61729         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
61731 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
61733         * sysdeps/sh/backtrace.c: New file.
61735 2011-12-02  Andreas Schwab  <schwab@redhat.com>
61737         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
61738         parenthesis.
61740 2011-12-01  Andreas Schwab  <schwab@redhat.com>
61742         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
61743         falling back to utime.
61745 2011-11-30  Andreas Schwab  <schwab@redhat.com>
61747         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
61748         expectations for float.
61750 2011-11-29  Andreas Schwab  <schwab@redhat.com>
61752         * locale/weight.h (findidx): Add parameter len.
61753         * locale/weightwc.h (findidx): Likewise.
61754         * posix/fnmatch_loop.c (FCT): Adjust caller.
61755         * posix/regcomp.c (build_equiv_class): Likewise.
61756         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
61757         * posix/regexec.c (check_node_accept_bytes): Likewise.
61758         * string/strcoll_l.c (STRCOLL): Likewise.
61759         * string/strxfrm_l.c (STRXFRM): Likewise.
61761 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
61763         * Makefile.in: Remove CVSOPT handling.
61764         * configure.in: Remove use of AC_REVISION.
61765         * iconvdata/Makefile (distribute): No need to filter out CVS.
61766         * scripts/list-sources.sh: Remove CVS, subversion and monotone
61767         handling.
61769 2011-11-16  Andreas Schwab  <schwab@redhat.com>
61771         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
61772         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
61773         [USE_AS_STRNCASECMP_L]: Likewise.
61774         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
61775         NO_TLS_DIRECT_SEG_REFS.
61776         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
61777         Fix argument offsets for non-PIC.
61778         [USE_AS_STRNCASECMP_L]: Likewise.
61779         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
61780         NO_TLS_DIRECT_SEG_REFS.
61782 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
61784         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
61785         O_CLOEXEC.
61786         * locale/loadlocale.c (_nl_load_locale): Likewise.
61788 2011-11-15  Andreas Schwab  <schwab@redhat.com>
61790         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
61791         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
61792         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
61793         (SYSCALL_GETTIME): Set errno on error.
61795         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
61796         count references to noai6ai_cached.
61798 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
61800         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
61802         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
61803         FD_CLOEXEC for /proc/self/maps.
61805         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
61806         FD_CLOEXEC for /proc/meminfo.
61808         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
61809         gai.conf.
61811         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
61812         FD_CLOEXEC for given file.
61814         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
61816         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
61817         FD_CLOEXEC for /etc/hosts.
61818         (_gethtent): Likewise.
61820         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
61822         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
61823         cancellation and set FD_CLOEXEC for /etc/netgroup.
61825         * nss/nss_files/files-key.c (search): Don't allow cancellation when
61826         reading /etc/publickey.
61828         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
61829         allow cancellation when reading /etc/group.
61831         * nss/nss_files/files-alias.c (internal_setent): Don't allow
61832         cancellation.
61833         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
61835         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
61836         when using data file.
61838         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
61840         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
61841         (write_nis_obj): Use "c" and "e" in fopen.
61843         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
61845         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
61847         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
61849         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
61851         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
61852         locale.alias.
61854         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
61856         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
61858         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
61860         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
61861         file parsing and set FD_CLOEXEC.
61863 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
61865         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
61867 2011-11-14  Andreas Schwab  <schwab@redhat.com>
61869         * malloc/arena.c (arena_get2): Don't call reused_arena when
61870         _int_new_arena failed.
61872 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
61874         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
61875         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
61876         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
61877         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61878         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61879         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
61880         to compile strcasecmp and strncasecmp.
61881         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
61882         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
61884         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
61886 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
61888         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
61889         locale-defines.sym to gen-as-const-headers.
61890         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
61891         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
61892         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
61893         to compile strcasecmp and strncasecmp.
61894         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
61895         strcasecmp_l and strncasecmp_l.
61896         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
61897         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
61898         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
61899         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
61900         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
61901         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
61902         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
61903         * sysdeps/i386/i686/multiarch/strncase.S: New file.
61904         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
61905         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
61906         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
61908 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
61910         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
61911         result of SYSDEP_GETTIME_CPU to retval.
61912         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
61913         parameter list to macro.  Remove trailing semicolon.  Adjust users.
61915         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
61916         variable.
61918         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
61919         mantissa words.
61920         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
61922         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
61923         from unused variable.
61925         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
61926         DWARF definitions.
61927         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
61928         for assembling.
61930         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
61931         over namespaces.
61933         * sunrpc/rpc_prot.c (rejected): Fix case value.
61935         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
61936         unsigned long long int to avoid warnings in shift.
61938         * posix/regex_internal.c (re_string_reconstruct): Actually use result
61939         of use of trans.
61940         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
61941         variable tmp.
61943         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
61944         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
61945         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
61947         * nis/nis_table.c (nis_list): Use variable of correct type for
61948         result of __follow_path call.
61950 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61952         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
61953         of math functions ceil, trunc, floor, round, and sqrt, when
61954         avaliable on the platform.
61955         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
61956         name clash.
61957         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61958         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
61959         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
61961 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
61963         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
61964         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
61966 2011-11-11  Roland McGrath  <roland@hack.frob.com>
61968         * include/unistd.h: Fix __readlink return type.
61969         Reported by Chris Metcalf <cmetcalf@tilera.com>.
61971 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
61973         * stdlib/ucontext.h: Undo last change for makecontext.
61975 2011-11-11  Andreas Schwab  <schwab@redhat.com>
61977         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
61979         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
61980         * setjmp/setjmp.h: Mark functions as non-leaf.
61981         * setjmp/bits/setjmp2.h: Likewise.
61982         * stdlib/ucontext.h: Likewise.
61984 2011-11-10  Andreas Schwab  <schwab@redhat.com>
61986         * malloc/arena.c (_int_new_arena): Don't increment narenas.
61987         (reused_arena): Don't check arena limit.
61988         (arena_get2): Atomically check arena limit.
61990 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
61992         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
61993         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
61995         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
61996         instructions.
61998 2011-11-07  Andreas Schwab  <schwab@redhat.com>
62000         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
62001         handler when locking.
62003         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
62004         Fix size of allocated buffer.
62006 2011-11-04  Andreas Schwab  <schwab@redhat.com>
62008         [BZ #10103]
62009         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
62010         declarations for long double functions.
62011         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
62013         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
62015 2011-11-03  Andreas Schwab  <schwab@redhat.com>
62017         * nscd/nscd.c (main): Don't start AVC thread until credentials are
62018         installed.
62020         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
62021         is disabled.
62023 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62025         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
62027 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62029         * include/alloca.h (stackinfo_alloca_round): Define.
62030         (extend_alloca): Use it.
62031         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
62032         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
62033         here.
62035         * scripts/check-local-headers.sh: Ignore libaudit.h.
62037         * nscd/Makefile (extra-objs): Make recursively expanded.
62039 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
62041         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
62042         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
62044         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
62045         * posix/tst-rfc3484-2.c: Likewise.
62046         * posix/tst-rfc3484-3.c: Likewise.
62048         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
62049         process_vm_writev.
62050         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
62051         process_vm_writev.
62052         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
62053         process_vm_writev from libc using GLIBC_2.15 version.
62055         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
62057 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
62059         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
62060         stack usage.
62062 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
62064         [BZ #13367]
62065         * nss/getent.c (initgroups_keys): Show error message in case no group
62066         names are given.
62068         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
62069         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
62070         __bump_nl_timestamp.
62071         * nscd/connections (nscd_init): When host database is served open
62072         netlink socket and request notification about configuration changes.
62073         (main_loop_poll): Track netlink file descriptor and bump timestamp
62074         in case data becomes available.
62075         (main_loop_epoll): Likewise.
62076         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
62077         (database_pers_head): Add extra_data fileds.
62078         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
62079         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
62080         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
62081         Adjust caller.
62082         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
62083         in6ai data, call __free_in6ai.
62084         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
62085         Add -DHAVE_NETLINK.
62086         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
62087         interface information.  Reuse previous data if netlink timestamp
62088         is not changed.
62089         (__bump_nl_timestamp): New function.
62090         (__free_in6ai): New function.
62092 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
62094         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
62095         close_not_cancel_no_status here.
62096         (__check_pf): Reorganize code a bit to not call close twice if OOM.
62098 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
62100         [BZ #13276]
62101         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
62102         return value.
62104         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
62105         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
62106         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
62108 2011-07-03  Andreas Jaeger  <aj@suse.de>
62110         [BZ #10709]
62111         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
62112         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
62113         * math/libm-test.inc (sin_test): Add test case.
62115 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
62117         [BZ #13337]
62118         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
62119         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
62121         * elf/chroot_canon.c (chroot_canon): Cleanups.
62123         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
62125         [BZ #13335]
62126         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
62127         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
62129         * string/test-strchr.c: Make usable for strchrnul testing.
62130         * string/test-strchrnul.c: New file.
62131         * string/Makefile (strop-tests): Add strchrnul.
62133         * po/it.po: Update from translation team.
62134         * po/es.po: Likewise.
62136 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
62138         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
62139         the three constants needed as parameters.  Drop the others.
62140         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
62141         __m128i_strloadu_tolower.
62142         Create and initialize variable zero and use it in all the places
62143         where _mm_setzero_si128 was used.
62145         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
62146         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
62147         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
62148         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
62149         anymore.
62150         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
62151         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
62152         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
62153         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
62154         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
62155         __mpranred, __mptan.
62156         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
62157         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
62158         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
62159         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
62160         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
62161         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
62162         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
62163         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
62164         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
62166 2011-10-28  Andreas Schwab  <schwab@redhat.com>
62168         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
62169         redefine if SHARED.
62170         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
62172         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
62173         wide char related routines to wcsmbs subdir.
62175 2011-10-27  Andreas Schwab  <schwab@redhat.com>
62177         [BZ #13344]
62178         * misc/sys/cdefs.h (__THROWNL): Define.
62179         * posix/unistd.h: Use __THREADNL instead of __THREAD
62180         for memory synchronization functions.
62182 2011-10-26  Roland McGrath  <roland@hack.frob.com>
62184         [BZ #13349]
62185         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
62186         doesn't exist.
62187         * manual/stdio.texi (Obstack Streams): Node removed.
62189 2011-10-26  Andreas Schwab  <schwab@redhat.com>
62191         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
62192         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62193         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62195         * math/math_private.h (math_force_eval): Allow non-addressable
62196         arguments.
62197         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
62199 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
62201         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
62202         file is not needed.
62204         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
62205         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
62206         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62207         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62208         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62209         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62210         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62211         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
62212         Add AVX variants.
62213         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
62214         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
62215         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
62216         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
62217         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
62218         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
62219         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
62220         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
62221         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
62222         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
62223         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
62224         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
62225         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
62226         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
62227         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
62228         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
62229         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
62230         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
62231         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
62233         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
62234         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
62236         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
62237         place.  Use VEX encoding when compiling for AVX.
62239 2011-10-25  Andreas Schwab  <schwab@redhat.com>
62241         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
62242         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
62244         * string/test-strchr.c (do_test): Don't generate NUL bytes.
62246 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
62248         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
62249         useless if() expression.
62250         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62251         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62252         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62253         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62254         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62255         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62256         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62257         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62258         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62259         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62260         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62261         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62262         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62263         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62264         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62265         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62266         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62267         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62268         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62270         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
62272 2011-10-25  Andreas Schwab  <schwab@redhat.com>
62274         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
62275         condition.
62276         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62278 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
62280         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
62281         .text section.  Avoid duplicate constants.
62282         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62283         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62284         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62285         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62286         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62287         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62288         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62289         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62290         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62291         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
62292         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62293         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62294         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62295         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62296         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62297         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62298         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62299         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62300         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62301         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62302         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62303         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62304         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62305         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
62306         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
62307         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
62308         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
62309         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
62310         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
62311         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
62312         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
62313         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
62314         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62315         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
62316         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
62317         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
62318         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
62319         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
62320         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
62321         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
62322         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
62323         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
62324         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
62325         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
62326         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
62328 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
62330         * sysdeps/x86_64/dla.h: Move to ...
62331         * sysdeps/x86_64/fpu/dla.h: ...here.
62332         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
62333         situations.  Use __builtin_fma only for gcc 4.6 and up.
62335         * config.make.in: Add have-mfma4 entry.
62336         * configure.in: Substitute libc_cv_cc_fma4.
62337         * math/Makefile (dbl-only-routines): Add sincostab.
62338         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
62339         Use __sincostab not sincos.
62340         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
62341         name is a macro.
62342         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62343         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62344         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62345         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
62346         using __copysign.
62347         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
62348         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
62349         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
62350         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
62351         and __inv.
62352         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
62353         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
62354         __copysign.
62355         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
62356         define aliases when function name is a macro.
62357         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
62358         sysdeps/ieee754/dbl-64/sincos.tbl.
62359         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
62360         fma4-enabled routines.
62361         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
62362         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
62363         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
62364         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
62365         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
62366         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
62367         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
62368         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
62369         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
62370         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
62371         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
62372         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
62373         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
62374         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
62375         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
62376         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
62377         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
62378         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
62379         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
62380         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
62381         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
62382         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
62383         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
62384         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
62385         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
62386         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
62387         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
62388         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
62389         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
62390         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
62392         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
62393         rename.
62394         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62395         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62396         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62397         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62398         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62399         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62400         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62401         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62403 2011-10-24  Andreas Schwab  <schwab@redhat.com>
62405         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
62407 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
62409         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
62411         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
62412         prediction.
62413         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
62415         * string/strnlen.c: Don't define STRNLEN, reverse logic.
62416         Remove unused variable magic_bits.
62417         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
62419         * string/strnlen.c: Define and use STRNLEN macro.
62420         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
62421         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
62422         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
62423         * wcsmbs/wcslen.c: Define and use WCSLEN.
62424         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
62425         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
62426         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
62427         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
62428         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
62429         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
62430         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
62432 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62434         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62435         strnlen-sse2-no-bsf.
62436         Rename strlen-no-bsf to strlen-sse2-no-bsf.
62437         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
62438         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
62439         Add strnlen support.
62440         (USE_AS_STRNLEN): New macro.
62441         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
62442         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
62443         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
62444         * sysdeps/x86_64/wcslen.S: New file.
62446 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
62448         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
62449         XMM-moves are used for copying on small sizes.
62451 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62453         * wcsmbs/Makefile (strop-tests): Add wcschr.
62454         * wcsmbs/test-wcschr.c: New file.
62455         * string/test-strchr.c: Update.
62456         Add wcschr support.
62457         (WIDE): New macro.
62459 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62461         * wcsmbs/Makefile (strop-tests): Add wcslen.
62462         * wcsmbs/test-wcslen.c: New file.
62463         * string/test-strlen.c: Update.
62464         Add wcslen support.
62465         (WIDE): New macro.
62467 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
62469         * po/it.po: Update from translation team.
62471 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62473         * sysdeps/x86_64/wcscmp.S: Update.
62474         Fix wrong comparison semantics.
62475         wcscmp shall use signed comparison not unsigned.
62476         Don't use substraction to avoid overflow bug.
62477         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
62478         * wcsmbc/wcscmp.c: Likewise.
62479         * string/test-strcmp.c: Likewise.
62480         Add new tests to check cases with negative values.
62482 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
62484         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
62485         * sysdeps/x86_64/dla.h: ...here.  New file.
62486         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
62487         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62488         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62489         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62490         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62491         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62492         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62493         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62494         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62496 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
62498         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
62499         __ynl_finite aliases.
62501 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
62503         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62505         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
62506         define DLA_FMA.
62507         [DLA_FMA] (EMULV): Use DLA_FMA.
62508         [DLA_FMA] (MUL12): Use EMULV.
62509         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
62510         that are not needed.
62511         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62512         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62513         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62514         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62515         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62516         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62517         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62519 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
62521         * math/s_nan.c: Undef __nan.
62522         * math/s_nanf.c: Undef __nanf.
62523         * math/s_nanl.c: Undef __nanl.
62524         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
62525         "math_private.h".
62527 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
62529         * math/s_catan.c: Add branch predictions.
62530         * math/s_catanf.c: Likewise.
62531         * math/s_catanh.c: Likewise.
62532         * math/s_catanhf.c: Likewise.
62533         * math/s_catanhl.c: Likewise.
62534         * math/s_catanl.c: Likewise.
62535         * math/s_cexp.c: Likewise.
62536         * math/s_cexpf.c: Likewise.
62537         * math/s_cexpl.c: Likewise.
62538         * math/s_clog.c: Likewise.
62539         * math/s_clog10.c: Likewise.
62540         * math/s_clog10f.c: Likewise.
62541         * math/s_clog10l.c: Likewise.
62542         * math/s_clogf.c: Likewise.
62543         * math/s_clogl.c: Likewise.
62544         * math/s_csqrt.c: Likewise.
62545         * math/s_csqrtf.c: Likewise.
62546         * math/s_csqrtl.c: Likewise.
62547         * math/s_ctanf.c: Likewise.
62548         * math/s_ctanh.c: Likewise.
62549         * math/s_ctanhf.c: Likewise.
62550         * math/s_ctanhl.c: Likewise.
62551         * math/s_ctanl.c: Likewise.
62553         * math/math_private.h: Define __nan, __nanf, __nanl.
62554         * math/s_cacosh.c: Include <math_private.h>.
62555         * math/s_cacoshl.c: Likewise.
62556         * math/s_casinh.c: Likewise.
62557         * math/s_casinhf.c: Likewise.
62558         * math/s_casinhl.c: Likewise.
62559         * math/s_ccos.c: Rely entire on ccosh.
62560         * math/s_ccosf.c: Rely entire on ccoshf.
62561         * math/s_ccosl.c: Rely entirely on ccoshl.
62562         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
62563         Remove tests for FE_INVALID.
62564         * math/s_ccoshf.c: Likewise.
62565         * math/s_ccoshl.c: Likewise.
62566         * math/s_csin.c: Likewise.
62567         * math/s_csinf.c: Likewise.
62568         * math/s_csinh.c Likewise.
62569         * math/s_csinhf.c: Likewise.
62570         * math/s_csinhl.c: Likewise.
62571         * math/s_csinl.c: Likewise.
62572         * math/s_ctan.c: Likewise.
62573         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
62574         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
62575         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
62577 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
62579         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
62580         compilation problems.
62582         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
62583         __builtin_expect.
62585 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
62587         * sysdeps/i386/configure.in: Test for -mfma4 option.
62588         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
62589         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
62590         COMMON_CPUID_INDEX_80000001.
62591         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
62592         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
62593         use it if FMA3 is not supported.
62594         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
62596         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
62597         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62599 2011-10-20  Andreas Schwab  <schwab@redhat.com>
62601         [BZ #12892]
62602         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
62603         it would create a cycle with a link time dependency.
62605 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
62607         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
62608         instruction.
62609         * string/Makefile (strop-tests): Add rawmemchr.
62610         * string/test-rawmemchr.c: New file.
62612         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
62613         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
62614         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
62615         when compiling str{,n}casecmp and when AVX is available.  Hook up
62616         new optimized code in initializers.
62618 2011-10-19  Andreas Schwab  <schwab@redhat.com>
62620         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
62621         __feraiseexcept instead of feraiseexcept.
62623 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
62625         * math/math_private.h: Define defaults for libc_fetestexcept and
62626         libc_feupdateenv.
62627         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
62628         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
62629         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
62630         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
62631         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
62632         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
62633         libc_fetestexcept and libc_feupdateenv.
62635         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
62636         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
62637         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
62638         * sysdeps/x86_64/fpu/math_private.h: Define special version of
62639         libc_feholdexcept_setround.
62641         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
62642         Add s_nearbyint-c and s_nearbyintf-c.
62643         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
62644         nearbyintf inlines.
62645         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
62646         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
62647         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
62648         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
62650         * math/math_private.h: Define defaults for libc_fegetround,
62651         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
62652         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
62653         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
62654         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
62655         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
62656         standard functions.
62657         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
62658         Remove comments and hacks for old compiler versions.
62659         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
62660         libc_fegetround, libc_fesetround, libc_feholdexcept, and
62661         libc_feholdexceptl.
62663 2011-10-18  Andreas Schwab  <schwab@redhat.com>
62665         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
62666         (__feraiseexcept_renamed): Add __NTH.
62667         (feraiseexcept): Add __NTH.  Rename local variables to fix
62668         namespace violations.
62670 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
62672         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
62674         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
62676         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
62677         recently added interfaces.
62678         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
62680         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
62681         about macro parameter expansion.
62683         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
62684         __NO_MATH_INLINES is defined.  Cleanups.
62686         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
62687         and __floorf is target has SSE4.1.
62688         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
62689         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
62690         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
62691         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
62693         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
62694         name.
62695         (floorf): Likewise.
62697         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
62699 2011-10-17  Andreas Schwab  <schwab@redhat.com>
62701         * misc/sys/cdefs.h: Fix last change.
62703         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
62704         database lookup.
62706 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
62708         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
62710         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
62711         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62712         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62713         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62714         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62715         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
62716         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62717         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62718         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
62719         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
62720         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
62721         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
62722         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
62723         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
62724         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
62725         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
62726         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
62727         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
62728         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
62729         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
62730         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
62731         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
62733         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
62734         ceil, ceilf, floor, floorf.
62736         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
62737         Perform IRELATIVE relocations last.
62739         * elf/do-rel.h: Add another parameter nrelative, replacing the
62740         local variable with the same name.  Change name of the function
62741         to end in Rel or Rela (uppercase).
62742         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
62743         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
62744         elf_dynamic_do_##reloc function.
62746 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
62748         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
62749         is sufficient, at least on modern CPUs.
62751         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
62753         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
62754         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
62756         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
62757         __expl_finite.
62758         * math/bits/math-finite.h: Add entries for exp.
62759         * math/e_expl.c: Add __*_finite alias.
62760         * sysdeps/i386/fpu/e_exp.S: Likewise.
62761         * sysdeps/i386/fpu/e_expf.S: Likewise.
62762         * sysdeps/i386/fpu/e_expl.c: Likewise.
62763         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62764         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
62765         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62766         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62767         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
62768         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
62769         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
62771         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
62772         is sufficient, at least on modern CPUs.
62774         * ctype/ctype-info.c (__ctype_init): Define.
62775         * include/ctype.h (__ctype_init): Declare.
62776         (__ctype_b_loc): The variable is always initialized.
62777         (__ctype_toupper_loc): Likewise.
62778         (__ctype_tolower_loc): Likewise.
62779         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
62780         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
62782 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
62784         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
62786         * configure.in: Also look in $cxxmachine/include for C++ system
62787         headers.
62789 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62791         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
62792         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
62793         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
62794         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
62795         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
62796         (USE_AS_WMEMCMP): New macro.
62797         Fixing indents.
62798         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
62799         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
62800         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
62801         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
62802         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62803         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
62804         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
62805         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
62806         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
62807         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
62808         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
62809         (USE_AS_WMEMCMP): New macro.
62810         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
62811         * sysdeps/string/test-memcmp.c: Update.
62812         Fix simple_wmemcmp.
62813         Add new tests.
62814         * wcsmbs/wmemcmp.c: Update.
62815         (WMEMCMP): New macro.
62816         Fix overflow bug.
62818 2011-10-12  Andreas Jaeger  <aj@suse.de>
62820         [BZ #13268]
62821         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
62823 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
62825         * libio/iofwide.c (do_length): Avoid warning.
62827         * ctype/ctype.h (__isctype_f): Add missing __THROW.
62829 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
62831         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
62833         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
62834         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
62835         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
62836         * sysdeps/i386/i686/fpu/e_log.S: New file.
62837         * sysdeps/i386/i686/fpu/e_logf.S: New file.
62838         * sysdeps/i386/i686/fpu/e_logl.S: New file.
62840         * ctype/ctype.h: Add support for inlined isXXX functions when
62841         compiling C++ code.
62843 2011-10-14  Andreas Schwab  <schwab@redhat.com>
62845         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62847         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
62849 2011-10-13  Roland McGrath  <roland@hack.frob.com>
62851         [BZ #13291]
62852         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
62854 2011-10-13  Andreas Schwab  <schwab@redhat.com>
62856         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
62857         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
62858         feraiseexcept.
62860         * sysdeps/x86_64/memrchr.S: Check for zero size.
62862         * string/stratcliff.c: Add memrchr tests.
62864 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62866         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62867         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
62868         rawmemchr-sse2 rawmemchr-sse2-bsf.
62869         * sysdeps/i386/i686/multiarch/memchr.S: New file.
62870         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
62871         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
62872         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
62873         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
62874         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
62875         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
62876         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
62877         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
62878         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
62879         * string/memrchr.c (MEMRCHR): New macro.
62881 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
62883         Add integration with gcc's -ffinite-math-only and optimize wrapper
62884         functions in libm.
62885         * Versions.def: Define GLIBC_2.15 version for libm.
62886         * math/Makefile (headers): Add bits/math-finite.h.
62887         * math/bits/math-finite.h: New file.
62888         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
62889         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
62890         * math/e_acoshl.c: Add __*_finite alias.
62891         * math/e_acosl.c: Likewise.
62892         * math/e_asinl.c: Likewise.
62893         * math/e_atan2l.c: Likewise.
62894         * math/e_atanhl.c: Likewise.
62895         * math/e_coshl.c: Likewise.
62896         * math/e_exp10.c: Likewise.
62897         * math/e_exp10f.c: Likewise.
62898         * math/e_exp10l.c: Likewise.
62899         * math/e_exp2l.c: Likewise.
62900         * math/e_fmodl.c: Likewise.
62901         * math/e_gammal_r.c: Likewise.
62902         * math/e_hypotl.c: Likewise.
62903         * math/e_j0l.c: Likewise.
62904         * math/e_j1l.c: Likewise.
62905         * math/e_jnl.c: Likewise.
62906         * math/e_lgammal_r.c: Likewise.
62907         * math/e_log10l.c: Likewise.
62908         * math/e_log2l.c: Likewise.
62909         * math/e_logl.c: Likewise.
62910         * math/e_powl.c: Likewise.
62911         * math/e_sinhl.c: Likewise.
62912         * math/e_sqrtl.c: Likewise.
62913         * math/e_scalb.c: Completely rewritten and optimized.
62914         * math/e_scalbf.c: Likewise.
62915         * math/e_scalbl.c: Likewise.
62916         * math/w_acos.c: Likewise.
62917         * math/w_acosf.c: Likewise.
62918         * math/w_acosl.c: Likewise.
62919         * math/w_acosh.c: Likewise.
62920         * math/w_acoshf.c: Likewise.
62921         * math/w_acoshl.c: Likewise.
62922         * math/w_asin.c: Likewise.
62923         * math/w_asinf.c: Likewise.
62924         * math/w_asinl.c: Likewise.
62925         * math/w_atan2.c: Likewise.
62926         * math/w_atan2f.c: Likewise.
62927         * math/w_atan2l.c: Likewise.
62928         * math/w_atanh.c: Likewise.
62929         * math/w_atanhf.c: Likewise.
62930         * math/w_atanhl.c: Likewise.
62931         * math/w_exp10.c: Likewise.
62932         * math/w_exp10f.c: Likewise.
62933         * math/w_exp10l.c: Likewise.
62934         * math/w_fmod.c: Likewise.
62935         * math/w_fmodf.c: Likewise.
62936         * math/w_fmodl.c: Likewise.
62937         * math/w_j0.c: Likewise.
62938         * math/w_j0f.c: Likewise.
62939         * math/w_j0l.c: Likewise.
62940         * math/w_j1.c: Likewise.
62941         * math/w_j1f.c: Likewise.
62942         * math/w_j1l.c: Likewise.
62943         * math/w_jn.c: Likewise.
62944         * math/w_jnf.c: Likewise.
62945         * math/w_log.c: Likewise.
62946         * math/w_logf.c: Likewise.
62947         * math/w_logl.c: Likewise.
62948         * math/w_log10.c: Likewise.
62949         * math/w_log10f.c: Likewise.
62950         * math/w_log10l.c: Likewise.
62951         * math/w_log2.c: Likewise.
62952         * math/w_log2f.c: Likewise.
62953         * math/w_log2l.c: Likewise.
62954         * math/w_pow.c: Likewise.
62955         * math/w_powf.c: Likewise.
62956         * math/w_powl.c: Likewise.
62957         * math/w_remainder.c: Likewise.
62958         * math/w_remainderf.c: Likewise.
62959         * math/w_remainderl.c: Likewise.
62960         * math/w_scalb.c: Likewise.
62961         * math/w_scalbf.c: Likewise.
62962         * math/w_scalbl.c: Likewise.
62963         * math/w_sqrt.c: Likewise.
62964         * math/w_sqrtf.c: Likewise.
62965         * math/w_sqrtl.c: Likewise.
62966         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
62967         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
62968         used.
62969         * math/math_private.h: Declare __kernel_standard_f.
62970         * math/w_cosh.c: Remove cruft and optimize a bit.
62971         * math/w_coshf.c: Likewise.
62972         * math/w_coshl.c: Likewise.
62973         * math/w_exp2.c: Likewise.
62974         * math/w_exp2f.c: Likewise.
62975         * math/w_exp2l.c: Likewise.
62976         * math/w_hypot.c: Likewise.
62977         * math/w_hypotf.c: Likewise.
62978         * math/w_hypotl.c: Likewise.
62979         * math/w_lgamma.c: Likewise.
62980         * math/w_lgamma_r.c: Likewise.
62981         * math/w_lgammaf.c: Likewise.
62982         * math/w_lgammaf_r.c: Likewise.
62983         * math/w_lgammal.c: Likewise.
62984         * math/w_lgammal_r.c: Likewise.
62985         * math/w_sinh.c: Likewise.
62986         * math/w_sinhf.c: Likewise.
62987         * math/w_sinhl.c: Likewise.
62988         * math/w_tgamma.c: Likewise.
62989         * math/w_tgammaf.c: Likewise.
62990         * math/w_tgammal.c: Likewise.
62991         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62992         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62993         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
62994         Minor optimizations.  Pretty printing.  Remove cruft.
62995         * sysdeps/i386/fpu/e_acosf.S: Likewise.
62996         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62997         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62998         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62999         * sysdeps/i386/fpu/e_acosl.c: Likewise.
63000         * sysdeps/i386/fpu/e_asin.S: Likewise.
63001         * sysdeps/i386/fpu/e_asinf.S: Likewise.
63002         * sysdeps/i386/fpu/e_atan2.S: Likewise.
63003         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
63004         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
63005         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63006         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63007         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63008         * sysdeps/i386/fpu/e_exp10.S: Likewise.
63009         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
63010         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
63011         * sysdeps/i386/fpu/e_exp2.S: Likewise.
63012         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
63013         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
63014         * sysdeps/i386/fpu/e_fmod.S: Likewise.
63015         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
63016         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
63017         * sysdeps/i386/fpu/e_hypot.S: Likewise.
63018         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
63019         * sysdeps/i386/fpu/e_log.S: Likewise.
63020         * sysdeps/i386/fpu/e_log10.S: Likewise.
63021         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63022         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63023         * sysdeps/i386/fpu/e_log2.S: Likewise.
63024         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63025         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63026         * sysdeps/i386/fpu/e_logf.S: Likewise.
63027         * sysdeps/i386/fpu/e_logl.S: Likewise.
63028         * sysdeps/i386/fpu/e_pow.S: Likewise.
63029         * sysdeps/i386/fpu/e_powf.S: Likewise.
63030         * sysdeps/i386/fpu/e_powl.S: Likewise.
63031         * sysdeps/i386/fpu/e_remainder.S: Likewise.
63032         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
63033         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
63034         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63035         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63036         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63037         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
63038         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
63039         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
63040         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63041         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63042         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63043         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63044         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
63045         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63046         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
63047         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63048         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63049         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63050         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63051         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63052         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63053         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63054         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63055         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63056         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63057         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63058         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63059         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63060         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63061         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63062         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63063         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63064         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63065         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63066         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
63067         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63068         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
63069         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63070         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63071         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63072         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63073         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63074         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63075         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63076         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63077         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63078         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63079         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63080         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63081         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63082         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63083         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63084         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63085         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63086         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63087         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63088         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63089         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
63090         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63091         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63092         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63093         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63094         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63095         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63096         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63097         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63098         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63099         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63100         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63101         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63102         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63103         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63104         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63105         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63106         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63107         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63108         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
63109         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63110         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63111         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63112         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63113         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63114         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63115         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63116         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
63117         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63118         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63119         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63120         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63121         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63122         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
63123         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63124         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63125         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63126         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63127         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63128         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63129         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63130         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63131         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63132         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63133         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
63134         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63135         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
63136         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
63137         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
63138         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
63139         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
63140         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
63141         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
63142         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
63143         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
63144         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63145         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63146         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63147         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63148         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
63149         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63150         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
63151         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
63152         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
63153         (__isnanf): Likewise.
63154         (__isinf_ns): Likewise.
63155         (__isinf_nsf): Likewise.
63156         (__finite): Likewise.
63157         (__finitef): Likewise.
63158         (__ieee754_sqrt): Define as macro.
63159         (__ieee754_sqrtf): Define as macro.
63160         (__ieee754_sqrtl): Define as macro.
63161         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
63162         inlined copy.
63163         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
63164         __FINITE_MATH_ONLY__ consistent.
63165         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
63167 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
63169         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
63170         of rawmemchr.
63172         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
63174 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
63176         * po/ja.po: Update from translation team.
63178 2011-10-08  Roland McGrath  <roland@hack.frob.com>
63180         * locale/programs/locarchive.c (prepare_address_space): New function.
63181         (create_archive, enlarge_archive, open_archive): Use it.
63183         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
63184         inside [SHARED], where it is used.
63186         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
63188         * nss/getent.c (netgroup_keys): Remove unused variable.
63189         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63191 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
63193         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
63194         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
63195         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
63196         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
63197         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
63198         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
63199         * math/Makefile (libm-calls): Add s_isinf_ns.
63200         * math/divtc3.c: Use __isinf_nsl instead of isinf.
63201         * math/multc3.c: Likewise.
63202         * math/s_casin.c: Likewise.
63203         * math/s_casinf.c: Likewise.
63204         * math/s_casinl.c: Likewise.
63205         * math/s_ccos.c: Likewise.
63206         * math/s_ccosf.c: Likewise.
63207         * math/s_ccosl.c: Likewise.
63208         * math/s_ctan.c: Likewise.
63209         * math/s_ctanf.c: Likewise.
63210         * math/s_ctanh.c: Likewise.
63211         * math/s_ctanhf.c: Likewise.
63212         * math/s_ctanhl.c: Likewise.
63213         * math/s_ctanl.c: Likewise.
63214         * math/w_fmod.c: Likewise.
63215         * math/w_fmodf.c: Likewise.
63216         * math/w_fmodl.c: Likewise.
63217         * math/w_remainder.c: Likewise.
63218         * math/w_remainderf.c: Likewise.
63219         * math/w_remainderl.c: Likewise.
63220         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
63221         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
63222         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
63223         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
63224         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
63225         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
63226         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
63227         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
63229         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
63230         of the number.
63231         * stdio-common/printf_fphex.c: Likewise.
63232         * stdio-common/printf_size.c: Likewise.
63234         * math/e_exp10.c: Include math_private.h using <...> not "...".
63235         * math/e_exp10f.c: Likewise.
63236         * math/e_exp10l.c: Likewise.
63237         * math/e_exp2l.c: Likewise.
63238         * math/e_j0l.c: Likewise.
63239         * math/e_j1l.c: Likewise.
63240         * math/e_jnl.c: Likewise.
63241         * math/e_lgammal_r.c: Likewise.
63242         * math/e_rem_pio2l.c: Likewise.
63243         * math/e_scalb.c: Likewise.
63244         * math/e_scalbf.c: Likewise.
63245         * math/e_scalbl.c: Likewise.
63246         * math/k_cosl.c: Likewise.
63247         * math/k_sinl.c: Likewise.
63248         * math/k_tanl.c: Likewise.
63249         * math/s_cacoshf.c: Likewise.
63250         * math/s_catan.c: Likewise.
63251         * math/s_catanf.c: Likewise.
63252         * math/s_catanh.c: Likewise.
63253         * math/s_catanhf.c: Likewise.
63254         * math/s_catanhl.c: Likewise.
63255         * math/s_catanl.c: Likewise.
63256         * math/s_ccosh.c: Likewise.
63257         * math/s_ccoshf.c: Likewise.
63258         * math/s_ccoshl.c: Likewise.
63259         * math/s_cexp.c: Likewise.
63260         * math/s_cexpf.c: Likewise.
63261         * math/s_cexpl.c: Likewise.
63262         * math/s_clog.c: Likewise.
63263         * math/s_clog10.c: Likewise.
63264         * math/s_clog10f.c: Likewise.
63265         * math/s_clog10l.c: Likewise.
63266         * math/s_clogf.c: Likewise.
63267         * math/s_clogl.c: Likewise.
63268         * math/s_csin.c: Likewise.
63269         * math/s_csinf.c: Likewise.
63270         * math/s_csinh.c: Likewise.
63271         * math/s_csinhf.c: Likewise.
63272         * math/s_csinhl.c: Likewise.
63273         * math/s_csinl.c: Likewise.
63274         * math/s_csqrt.c: Likewise.
63275         * math/s_csqrtf.c: Likewise.
63276         * math/s_csqrtl.c: Likewise.
63277         * math/s_ctan.c: Likewise.
63278         * math/s_ctanf.c: Likewise.
63279         * math/s_ctanh.c: Likewise.
63280         * math/s_ctanhf.c: Likewise.
63281         * math/s_ctanhl.c: Likewise.
63282         * math/s_ctanl.c: Likewise.
63283         * math/s_ldexp.c: Likewise.
63284         * math/s_ldexpf.c: Likewise.
63285         * math/s_ldexpl.c: Likewise.
63286         * math/s_significand.c: Likewise.
63287         * math/s_significandf.c: Likewise.
63288         * math/s_significandl.c: Likewise.
63289         * math/w_acos.c: Likewise.
63290         * math/w_acosf.c: Likewise.
63291         * math/w_acosh.c: Likewise.
63292         * math/w_acoshf.c: Likewise.
63293         * math/w_acoshl.c: Likewise.
63294         * math/w_acosl.c: Likewise.
63295         * math/w_asin.c: Likewise.
63296         * math/w_asinf.c: Likewise.
63297         * math/w_asinl.c: Likewise.
63298         * math/w_atan2.c: Likewise.
63299         * math/w_atan2f.c: Likewise.
63300         * math/w_atan2l.c: Likewise.
63301         * math/w_atanh.c: Likewise.
63302         * math/w_atanhf.c: Likewise.
63303         * math/w_atanhl.c: Likewise.
63304         * math/w_cosh.c: Likewise.
63305         * math/w_coshf.c: Likewise.
63306         * math/w_coshl.c: Likewise.
63307         * math/w_dremf.c: Likewise.
63308         * math/w_exp10.c: Likewise.
63309         * math/w_exp10f.c: Likewise.
63310         * math/w_exp10l.c: Likewise.
63311         * math/w_exp2.c: Likewise.
63312         * math/w_exp2f.c: Likewise.
63313         * math/w_fmod.c: Likewise.
63314         * math/w_fmodf.c: Likewise.
63315         * math/w_fmodl.c: Likewise.
63316         * math/w_hypot.c: Likewise.
63317         * math/w_hypotf.c: Likewise.
63318         * math/w_hypotl.c: Likewise.
63319         * math/w_j0.c: Likewise.
63320         * math/w_j0f.c: Likewise.
63321         * math/w_j0l.c: Likewise.
63322         * math/w_j1.c: Likewise.
63323         * math/w_j1f.c: Likewise.
63324         * math/w_j1l.c: Likewise.
63325         * math/w_jn.c: Likewise.
63326         * math/w_jnf.c: Likewise.
63327         * math/w_jnl.c: Likewise.
63328         * math/w_lgamma.c: Likewise.
63329         * math/w_lgamma_r.c: Likewise.
63330         * math/w_lgammaf.c: Likewise.
63331         * math/w_lgammaf_r.c: Likewise.
63332         * math/w_lgammal.c: Likewise.
63333         * math/w_lgammal_r.c: Likewise.
63334         * math/w_log.c: Likewise.
63335         * math/w_log10.c: Likewise.
63336         * math/w_log10f.c: Likewise.
63337         * math/w_log10l.c: Likewise.
63338         * math/w_log2.c: Likewise.
63339         * math/w_log2f.c: Likewise.
63340         * math/w_log2l.c: Likewise.
63341         * math/w_logf.c: Likewise.
63342         * math/w_logl.c: Likewise.
63343         * math/w_pow.c: Likewise.
63344         * math/w_powf.c: Likewise.
63345         * math/w_powl.c: Likewise.
63346         * math/w_remainder.c: Likewise.
63347         * math/w_remainderf.c: Likewise.
63348         * math/w_remainderl.c: Likewise.
63349         * math/w_scalb.c: Likewise.
63350         * math/w_scalbf.c: Likewise.
63351         * math/w_scalbl.c: Likewise.
63352         * math/w_sinh.c: Likewise.
63353         * math/w_sinhf.c: Likewise.
63354         * math/w_sinhl.c: Likewise.
63355         * math/w_sqrt.c: Likewise.
63356         * math/w_sqrtf.c: Likewise.
63357         * math/w_sqrtl.c: Likewise.
63358         * math/w_tgamma.c: Likewise.
63359         * math/w_tgammaf.c: Likewise.
63360         * math/w_tgammal.c: Likewise.
63362         * po/ja.po: Update from translation team.
63364 2011-09-29  Andreas Jaeger  <aj@suse.de>
63366         [BZ #13179]
63367         * sunrpc/netname.c (netname2host): Fix logic.
63369         [BZ #6779]
63370         [BZ #6783]
63371         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
63372         correctly.
63373         * math/w_remainder.c (__remainder): Likewise.
63374         * math/w_remainderf.c (__remainderf): Likewise.
63375         * math/libm-test.inc (remainder_test): Add test cases.
63377 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63379         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
63380         sdiv_qrnnd.
63382 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
63384         * string/test-memcmp.c: Avoid unncessary #defines.
63385         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
63387 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63389         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
63390         Use new sse2 version for core i3 - i7 as it's faster
63391         than sse42 version.
63392         (bit_Prefer_PMINUB_for_stringop): New.
63393         * sysdeps/x86_64/rawmemchr.S: Update.
63394         Replace with faster SSE2 version.
63395         * sysdeps/x86_64/memrchr.S: New file.
63396         * sysdeps/x86_64/memchr.S: Update.
63397         Replace with faster SSE2 version.
63399 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
63401         * elf/dl-load.c (lose): Add cast to avoid warning.
63403 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
63405         * po/ca.po: Update from translation team.
63407         * inet/getnetgrent_r.c: Hook up nscd.
63408         * nscd/Makefile (routines): Add nscd_netgroup.
63409         (nscd-modules): Add netgroupcache.
63410         (CFLAGS-netgroupcache.c): Define.
63411         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
63412         (cache_search): Add const to second parameter.
63413         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
63414         INNETGR.
63415         (dbs): Add netgrdb entry.
63416         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
63417         (verify_persistent_db): Handle netgrdb.
63418         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
63419         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
63420         GETFDNETGR.
63421         (netgroup_response_header): Define.
63422         (innetgroup_response_header): Define.
63423         (datahead): Add netgroup_response_header and innetgroup_response_header
63424         elements.
63425         * nscd/nscd.conf: Add entries for netgroup cache.
63426         * nscd/nscd.h (dbtype): Add netgrdb.
63427         (_PATH_NSCD_NETGROUP_DB): Define.
63428         (netgroup_iov_disabled): Declare.
63429         (xmalloc, xcalloc, xrealloc): Move declarations here.
63430         (cache_search): Adjust prototype.
63431         Add netgroup-related prototypes.
63432         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
63433         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
63434         (__nscd_innetgr): Declare.
63435         * nscd/selinux.c (perms): Use access_vector_t as element type and
63436         add netgroup-related initializers.
63437         * nscd/netgroupcache.c: New file.
63438         * nscd/nscd_netgroup.c: New file.
63439         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
63440         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
63441         For four parameters use innetgr.
63442         * nss/nss_files/files-init.c: Add definition and callback for netgr.
63443         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
63444         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
63445         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
63447         * nscd/connections.c (register_traced_file): Don't register file
63448         for disabled databases.
63450 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
63452         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
63454         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
63455         from tree and freeing node.
63457 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
63459         * nss/nsswitch.c (__nss_database_lookup): Handle
63460         nss_parse_service_list out of memory case.
63462 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
63464         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
63465         out of memory case.
63467 2011-10-04  Andreas Schwab  <schwab@redhat.com>
63469         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
63470         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
63471         pass it down.
63472         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
63473         elf_machine_rela, elf_machine_lazy_rel.
63474         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
63475         (ELF_DYNAMIC_DO_REL): Likewise.
63476         (ELF_DYNAMIC_DO_RELA): Likewise.
63477         (ELF_DYNAMIC_RELOCATE): Likewise.
63478         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
63479         to ELF_DYNAMIC_DO_REL.
63480         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
63481         (dl_main): In trace mode always set __RTLD_NOIFUNC.
63482         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
63483         elf_machine_rela.
63484         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
63485         skip_ifunc, don't call ifunc function if non-zero.
63486         (elf_machine_rela): Likewise.
63487         (elf_machine_lazy_rel): Likewise.
63488         (elf_machine_lazy_rela): Likewise.
63489         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
63490         (elf_machine_lazy_rel): Likewise.
63491         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
63492         Likewise.
63493         (elf_machine_lazy_rel): Likewise.
63494         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63495         Likewise.
63496         (elf_machine_lazy_rel): Likewise.
63497         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
63498         (elf_machine_lazy_rel): Likewise.
63499         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
63500         (elf_machine_lazy_rel): Likewise.
63501         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
63502         (elf_machine_lazy_rel): Likewise.
63503         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
63504         (elf_machine_lazy_rel): Likewise.
63505         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
63506         (elf_machine_lazy_rel): Likewise.
63507         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
63508         (elf_machine_lazy_rel): Likewise.
63510 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
63512         * nss/nss_files/files-init.c (_nss_files_init): Use static
63513         initialization for all the *_traced_file variables.
63515 2011-09-28  Andreas Schwab  <schwab@redhat.com>
63517         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63519 2011-09-27  Roland McGrath  <roland@hack.frob.com>
63521         [BZ #13226]
63522         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
63524 2011-09-27  Andreas Schwab  <schwab@redhat.com>
63526         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
63527         Reread the line before reparsing it.
63529 2011-09-26  Andreas Schwab  <schwab@redhat.com>
63531         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
63533 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
63534             Maxim Kuvyrkov  <maxim@codesourcery.com>
63535             Joseph Myers  <joseph@codesourcery.com>
63537         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
63538         if needed for __stack_chk_guard.
63540 2011-09-19  Roland McGrath  <roland@hack.frob.com>
63542         * sysdeps/posix/spawni.c (script_execute): Always define it.
63543         It will be optimized away if unused.
63544         (maybe_script_execute): New function.
63545         (__spawni): Call it.
63547         * Makerules: Don't include tls.make.
63548         (config-tls): Always set to thread.
63549         * tls.make.c: File removed.
63551 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
63553         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
63554         * config.make.in (CPPFLAGS-config): New substituted variable.
63556 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
63558         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
63560         [BZ #13192]
63561         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
63562         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
63564 2011-09-15  Roland McGrath  <roland@hack.frob.com>
63566         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
63567         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
63568         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63569         (CALL_FAIL): Likewise.
63570         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
63571         (CALL_FAIL): Macro removed.
63572         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
63574 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
63576         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
63577         for __FINITE_MATH_ONLY__ == 1.
63579 2011-09-15  Andreas Schwab  <schwab@redhat.com>
63581         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
63582         __ieee754_sqrt instead of sqrt.
63583         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
63584         __ieee754_sqrtf instead of sqrtf.
63585         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
63586         __floorf instead of floorf.
63587         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
63588         __floorf, __truncf instead of floorf, truncf.
63590 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
63592         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
63594         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
63595         __extern_always_inline.
63596         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
63597         32-bit.
63599 2011-09-14  Andreas Schwab  <schwab@redhat.com>
63601         * elf/rtld.c (dl_main): Also relocate in dependency order when
63602         doing symbol dependency testing.
63604 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
63606         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63607         Always define `refsym'.
63609 2011-09-13  Andreas Schwab  <schwab@redhat.com>
63611         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
63612         (__FD_ELT): Renamed from __FDELT.
63613         * misc/bits/select2.h (__FD_ELT): Likewise.
63614         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
63615         __FD_MASK instead of __FDELT, __FDMASK.
63616         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
63617         Likewise.
63618         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
63619         Likewise.
63621         * elf/Makefile (gen-ldd): Fix pattern.
63623         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
63624         (init_tls): Likewise.
63626 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
63628         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
63630 2011-09-12  Andreas Schwab  <schwab@redhat.com>
63632         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
63633         `struct cmsghdr *' instead of `void *'.
63634         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
63635         Likewise.
63637 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
63639         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
63640         if non-absolute.
63641         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
63642         ldd_rewrite_script.
63644 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
63646         * configure.in: Remove --with-tls option.
63647         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
63648         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
63649         out in case it is missing.
63650         * sysdeps/ia64/elf/configure.in: Likewise.
63651         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
63652         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
63653         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
63654         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
63655         * sysdeps/sh/elf/configure.in: Likewise.
63656         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
63657         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
63658         * sysdeps/x86_64/elf/configure.in: Likewise.
63659         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
63660         * sysdeps/mach/hurd/tls.h: Likewise.
63662         [BZ #13067]
63663         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
63665         [BZ #13090]
63666         * configure.in: Fix use of AC_INIT.
63668         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
63670 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
63672         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
63673         __set_errno.
63674         * malloc/hooks.c: Likewise.
63676         [BZ #11929]
63677         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
63678         variables statically.
63679         (narenas): Initialize.
63680         (list_lock): Initialize.
63681         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
63682         initializtion of main_arena and list_lock.  Small cleanups.
63683         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
63684         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
63685         Add initializers to main_arena and mp_.
63686         (malloc_state): Remove pagesize member.  Change all users to use
63687         GLRO(dl_pagesize).
63689         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
63690         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
63691         is always initialized.
63693         * malloc/malloc.c: Removed unused configurations and dead code.
63694         * malloc/arena.c: Likewise.
63695         * malloc/hooks.c: Likewise.
63696         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
63698         * include/tls.h: Removed.  USE___THREAD must always be defined.
63699         * bits/libc-tsd.h: Don't handle !USE___THREAD.
63700         * elf/dl-libc.c: Likewise.
63701         * elf/dl-tsd.c: Likewise.
63702         * include/errno.h: Likewise.
63703         * include/netdb.h: Likewise.
63704         * include/resolv.h: Likewise.
63705         * inet/herrno-loc.c: Likewise.
63706         * inet/herrno.c: Likewise.
63707         * malloc/arena.c: Likewise.
63708         * malloc/hooks.c: Likewise.
63709         * malloc/malloc.c: Likewise.
63710         * resolv/res-state.c: Likewise.
63711         * resolv/res_libc.c: Likewise.
63712         * sysdeps/i386/dl-machine.h: Likewise.
63713         * sysdeps/ia64/dl-machine.h: Likewise.
63714         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
63715         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
63716         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
63717         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
63718         * sysdeps/sh/dl-machine.h: Likewise.
63719         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
63720         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
63721         * sysdeps/unix/i386/sysdep.S: Likewise.
63722         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
63723         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
63724         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
63725         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
63726         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
63727         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
63728         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
63729         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
63730         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63731         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
63732         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63733         * sysdeps/x86_64/dl-machine.h: Likewise.
63734         * tls.make.c: Likewise.
63736         * configure.in: Remove --with-__thread option.  Make tests for
63737         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
63738         tls_model attribute fail if no support is available.  Remove
63739         USE_IN_LIBIO.
63740         * Makeconfig: Adjust for dropped configure option.  All features are
63741         now mandatory.
63742         * Makerules: Likewise.
63743         * Versions.def: Likewise.
63744         * argp/argp-fmtstream.c: Likewise.
63745         * argp/argp-fmtstream.h: Likewise.
63746         * argp/argp-help.c: Likewise.
63747         * assert/assert.c: Likewise.
63748         * config.h.in: Likewise.
63749         * config.make.in: Likewise.
63750         * configure: Likewise.
63751         * configure.in: Likewise.
63752         * csu/Versions: Likewise.
63753         * csu/init.c: Likewise.
63754         * elf/tst-audit2.c: Likewise.
63755         * elf/tst-tls10.c: Likewise.
63756         * elf/tst-tls10.h: Likewise.
63757         * elf/tst-tls11.c: Likewise.
63758         * elf/tst-tls12.c: Likewise.
63759         * elf/tst-tls14.c: Likewise.
63760         * elf/tst-tlsmod11.c: Likewise.
63761         * elf/tst-tlsmod12.c: Likewise.
63762         * elf/tst-tlsmod13.c: Likewise.
63763         * elf/tst-tlsmod13a.c: Likewise.
63764         * elf/tst-tlsmod14a.c: Likewise.
63765         * elf/tst-tlsmod15b.c: Likewise.
63766         * elf/tst-tlsmod16a.c: Likewise.
63767         * elf/tst-tlsmod16b.c: Likewise.
63768         * elf/tst-tlsmod7.c: Likewise.
63769         * elf/tst-tlsmod8.c: Likewise.
63770         * elf/tst-tlsmod9.c: Likewise.
63771         * gmon/gmon.c: Likewise.
63772         * grp/fgetgrent_r.c: Likewise.
63773         * grp/putgrent.c: Likewise.
63774         * hurd/fopenport.c: Likewise.
63775         * include/libc-symbols.h: Likewise.
63776         * include/tls.h: Likewise.
63777         * intl/gettextP.h: Likewise.
63778         * intl/loadinfo.h: Likewise.
63779         * locale/global-locale.c: Likewise.
63780         * locale/localeinfo.h: Likewise.
63781         * mach/devstream.c: Likewise.
63782         * malloc/arena.c: Likewise.
63783         * malloc/set-freeres.c: Likewise.
63784         * misc/err.c: Likewise.
63785         * misc/getttyent.c: Likewise.
63786         * misc/mntent_r.c: Likewise.
63787         * posix/getopt.c: Likewise.
63788         * posix/wordexp.c: Likewise.
63789         * pwd/fgetpwent_r.c: Likewise.
63790         * resolv/Versions: Likewise.
63791         * resolv/res_hconf.c: Likewise.
63792         * shadow/fgetspent_r.c: Likewise.
63793         * shadow/putspent.c: Likewise.
63794         * stdio-common/printf_fphex.c: Likewise.
63795         * stdio-common/tmpfile.c: Likewise.
63796         * stdlib/abort.c: Likewise.
63797         * stdlib/fmtmsg.c: Likewise.
63798         * sunrpc/auth_unix.c: Likewise.
63799         * sunrpc/clnt_perr.c: Likewise.
63800         * sunrpc/clnt_tcp.c: Likewise.
63801         * sunrpc/clnt_udp.c: Likewise.
63802         * sunrpc/clnt_unix.c: Likewise.
63803         * sunrpc/openchild.c: Likewise.
63804         * sunrpc/svc_simple.c: Likewise.
63805         * sunrpc/svc_tcp.c: Likewise.
63806         * sunrpc/svc_udp.c: Likewise.
63807         * sunrpc/svc_unix.c: Likewise.
63808         * sunrpc/xdr.c: Likewise.
63809         * sunrpc/xdr_array.c: Likewise.
63810         * sunrpc/xdr_rec.c: Likewise.
63811         * sunrpc/xdr_ref.c: Likewise.
63812         * sunrpc/xdr_stdio.c: Likewise.
63814 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
63816         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63818 2011-07-03  Andreas Jaeger  <aj@suse.de>
63820         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
63821         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
63822         regenerate with gen-libm-tests.pl.
63824 2010-05-12  Petr Baudis  <pasky@suse.cz>
63826         [BZ #11589]
63827         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
63828         around j0() zero points by switching to j1().
63829         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63830         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63831         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63832         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63834 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
63836         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
63837         instead of 0.
63838         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
63839         instead of 0.
63840         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63841         Patch in part by Pavel Roskin <proski@gnu.org>.
63843         [BZ #13138]
63844         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
63845         realloc.
63846         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
63847         Free memory block if necessary.
63849         [BZ #12847]
63850         * libio/genops.c (INTDEF): For string streams the _lock pointer can
63851         be NULL.  Don't lock in this case.
63853 2011-09-09  Roland McGrath  <roland@hack.frob.com>
63855         * elf/elf.h (ELFOSABI_GNU): New macro.
63856         (ELFOSABI_LINUX): Define to that.
63858 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
63860         * string/strncat.c (strncat): Undef the symbol in case it has been
63861         defined in bits/string.h.
63863 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
63865         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
63867         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
63868         link map.
63870 2011-08-17  Andreas Jaeger  <aj@suse.de>
63872         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
63874 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
63875             Ian Lance Taylor  <iant@google.com>
63877         * math/libm-test.inc (lround_test): New testcase.
63878         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
63880 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
63882         * Makefile: Remove support for automatic cvs check-ins.
63883         * Makerules: Likewise.
63884         * config.make.in: Likewise.
63885         * configure.in: Likewise.
63886         * intl/Makefile: Likewise.
63887         * locale/Makefile: Likewise.
63888         * po/Makefile: Likewise.
63889         * posix/Makefile: Likewise.
63890         * sysdeps/gnu/Makefile: Likewise.
63891         * sysdeps/mach/hurd/Makefile: Likewise.
63892         * sysdeps/sparc/sparc32/Makefile: Likewise.
63894         [BZ #13118]
63895         * posix/Makefile (bug-regex32-ENV): Define.
63896         Patch by John Stanley <jpsinthemix@verizon.net>.
63898         * misc/Makefile (headers): Add bits/select2.h.
63899         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
63900         * misc/bits/select2.h: New file.
63901         * include/bits/select2.h: New file.
63902         * debug/Makefile (routines): Add fdelt_chk.
63903         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
63904         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
63905         FD_ISSET.
63906         * debug/fdelt_chk.c: New file.
63908         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
63909         * wcsmbs/test-wmemcmp.c: Likewise.
63910         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
63911         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
63913 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63915         * string/Makefile (strop-tests): Add memcmp.
63916         * string/test-wmemcmp.c: New file.
63917         * string/test-memcmp.c: Add wmemcmp support.
63919 2011-09-08  Roland McGrath  <roland@hack.frob.com>
63921         [BZ #13153]
63922         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
63923         2011-07-19 change.
63925         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
63926         garbage value in a __mach_port_mod_refs call in the cases of the
63927         task-self and thread-self ports.
63929 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63931         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
63933 2011-09-08  Andreas Schwab  <schwab@redhat.com>
63935         * elf/dl-load.c (lose): Check for non-null L.
63937 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
63939         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
63941         * elf/dl-libc.c (dlerror_run): Pass back error code from
63942         dl_catch_error.
63944         [BZ #13123]
63945         * elf/dl-load.c (lose): Free l_origin if it is valid.
63947         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
63948         names.
63949         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
63950         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
63951         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
63952         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
63953         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
63954         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
63956 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63958         * sysdeps/powerpc/fpu/e_hypot.c: New file.
63959         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
63960         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
63961         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
63962         * sysdeps/powerpc/fpu/k_cosf.c: New file.
63963         * sysdeps/powerpc/fpu/k_sinf.c: New file.
63964         * sysdeps/powerpc/fpu/s_cosf.c: New file.
63965         * sysdeps/powerpc/fpu/s_sinf.c: New file.
63966         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
63967         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
63969 2011-08-15  Alan Modra  <amodra@gmail.com>
63971         [BZ #13092]
63972         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
63973         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
63974         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
63975         ppc_mcount to static-only-routines.
63976         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
63977         __mcount_internal.
63978         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
63979         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
63981 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
63983         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
63984         for finite and infinity parameters.
63986 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
63988         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
63989         and add nop instructions for throughput optimization.
63990         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63992 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
63994         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
63995         aligned copy for power7 with vector-scalar instructions.
63996         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
63998 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
64000         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
64001         AVX check.
64003 2011-09-07  Andreas Schwab  <schwab@redhat.com>
64005         [BZ #13144]
64006         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
64007         last change.
64009 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
64011         * sysdeps/unix/sysv/linux/x86_64/init-first.c
64012         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
64013         syscall wrapper around clock_gettime in __vdso_clock_gettime.
64014         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
64015         clock_gettime.
64017 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
64019         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
64020         Forgot to demangle the pointer.
64022         * sysdeps/i386/sysdep.h: Define atom_text_section.
64023         * sysdeps/x86_64/sysdep.h: Likewise.
64024         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
64025         section with atom_text_section.
64026         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
64027         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
64028         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
64029         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
64030         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
64032         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
64033         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
64034         already be defined.  Change to take two parameters and don't assign
64035         result to variable.  Adjust all users.
64036         Define INTERNAL_GETTIME if not already defined.
64037         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
64038         call.
64039         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
64040         HAVE_CLOCK_GETTIME_VSYSCALL.
64041         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
64043         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
64044         gettimeofday vsyscall, just use time.
64046 2011-09-06  Andreas Schwab  <schwab@redhat.com>
64048         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
64049         <errno.h>.
64051 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
64053         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
64054         syscall on x86-64.
64055         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
64056         syscall.
64057         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
64058         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
64059         syscall if possible.
64061 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
64063         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
64064         e_ident.  Don't pass to find_mapsXX.
64065         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
64067 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64069         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64070         strchr-sse2-no-bsf strrchr-sse2-no-bsf
64071         * sysdeps/x86_64/multiarch/strchr.S: Update.
64072         Check bit_slow_BSF bit.
64073         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64074         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
64075         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
64077 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
64079         [BZ #13134]
64080         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
64081         before glibc 2.15.
64082         (tryshell): Define.
64083         (__spawni): Change last parameter to be flag.  Test
64084         SPAWN_XFLAGS_USE_PATH flag to use path or not.
64085         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
64086         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
64087         * posix/spawni.c: Likewise.
64088         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
64089         * posix/spawnp.c: Likewise.  Change normal version to use
64090         SPAWN_XFLAGS_USE_PATH.
64091         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
64092         SPAWN_XFLAGS_TRY_SHELL.
64094         [BZ #13150]
64095         * posix/glob.h: Remove gcc 1.x support.
64097         [BZ #13068]
64098         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
64100 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64102         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64103         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
64104         strrchr-sse2-bsf
64105         * sysdeps/i386/i686/multiarch/strchr.S: New file.
64106         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
64107         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
64108         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
64109         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
64110         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
64112 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64114         * sysdeps/x86_64/wcscmp.S: New file.
64116         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
64117         wcscmp-c wcscmp-sse2
64118         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
64119         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
64120         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
64121         * wcsmbs/wcscmp.c: Allow renaming.
64123 2011-09-05  David S. Miller  <davem@davemloft.net>
64125         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
64126         stack slot, rather than the struct return pointer slot.
64127         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
64128         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
64129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
64130         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
64132 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
64134         * po/ja.po: Update from translation team.
64136         [BZ #13144]
64137         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
64138         kernel in 64-bit binaries.
64140 2011-09-01  David S. Miller  <davem@davemloft.net>
64142         * elf/elf.h (HWCAP_SPARC_*): Move to..
64143         * sysdeps/sparc/sysdep.h: this new file and add new values.
64144         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
64145         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
64146         _DL_HWCAP_COUNT to 24.
64147         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64148         entries.
64149         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
64150         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
64151         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
64152         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
64153         instead of magic constants.
64154         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64156 2011-08-31  David S. Miller  <davem@davemloft.net>
64158         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
64159         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
64160         Reimplement to do errno handling inline.
64161         (SYSCALL_ERROR_HANDLER): New macro.
64162         (__SYSCALL_STRING): Do not do errno handling in asm.
64163         (__CLONE_SYSCALL_STRING): Delete.
64164         (__INTERNAL_SYSCALL_STRING): Delete.
64165         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
64166         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
64167         (PSEUDO): Reimplement to do errno handling inline.
64168         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
64169         (SYSCALL_ERROR_HANDLER): New macro.
64170         (__SYSCALL_STRING): Do not do errno handling in asm.
64171         (__CLONE_SYSCALL_STRING): Delete.
64172         (__INTERNAL_SYSCALL_STRING): Delete.
64173         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
64174         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
64175         i386.
64176         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
64177         (inline_syscall*): Add 'err' argument.
64178         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
64179         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
64180         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
64181         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
64183         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
64184         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64186 2011-08-30  Andreas Schwab  <schwab@redhat.com>
64188         * elf/rtld.c (dl_main): Relocate objects in dependency order.
64190 2011-08-29  Jiri Olsa <jolsa@redhat.com>
64192         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
64193         directive.
64195 2011-08-24  David S. Miller  <davem@davemloft.net>
64197         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
64199 2011-08-24  Andreas Schwab  <schwab@redhat.com>
64201         * elf/Makefile: Add rules to build and run unload8 test.
64202         * elf/unload8.c: New file.
64203         * elf/unload8mod1.c: New file.
64204         * elf/unload8mod1x.c: New file.
64205         * elf/unload8mod2.c: New file.
64206         * elf/unload8mod3.c: New file.
64208         * elf/dl-close.c (_dl_close_worker): Reset private search list if
64209         it wasn't used.
64211 2011-08-23  David S. Miller  <davem@davemloft.net>
64213         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
64214         subtract stack bias.
64215         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
64216         %sp not %fp in calculations.
64217         (_JMPBUF_UNWINDS_ADJ): Likewise.
64219         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
64220         (aio_suspend): Call it to force an exception region around the
64221         AIO_MISC_WAIT() invocation.
64223 2011-08-23  Andreas Schwab  <schwab@redhat.com>
64225         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
64226         backslash.
64228 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
64230         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
64231         protection macro.
64232         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
64233         and <dl-machine.h>.
64234         (Elf64_FuncDesc): Remove.
64236 2011-08-22  David S. Miller  <davem@davemloft.net>
64238         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
64239         sigaltstack check, add missing cfi directives.
64240         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
64241         missing cfi directives, and sigaltstack handling.
64243 2011-08-16  Andreas Schwab  <schwab@redhat.com>
64245         [BZ #11724]
64246         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
64247         object is seen twice.
64248         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64250         * elf/Makefile (distribute): Add tst-initorder2.c.
64251         (tests): Add tst-initorder2.
64252         (modules-names): Add tst-initorder2a tst-initorder2b
64253         tst-initorder2c tst-initorder2d.  Add rules to build them.
64254         ($(objpfx)tst-initorder2.out): New rule.
64255         * elf/tst-initorder2.c: New file.
64256         * elf/tst-initorder2.exp: New file.
64258 2011-08-22  Andreas Schwab  <schwab@redhat.com>
64260         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
64262         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
64263         dependencies back to end of function.
64265         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64266         $(elfobjdir)/ld.so.
64268 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
64270         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
64271         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
64272         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
64273         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
64274         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
64275         of __vdso_gettimeofday.
64276         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
64277         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
64278         attribute_hidden.
64279         (_libc_vdso_platform_setup): Remove initialization of
64280         __vdso_gettimeofday and __vdso_time.
64282 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
64284         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
64285         and fgetc_unlocked.
64286         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
64287         getc_unlocked.
64289         * elf/dl-open.c (add_to_global): Report additions to the global scope
64290         for LD_DEBUG=scopes.
64291         (dl_open_worker): Also print scope of newly loaded dependencies.
64292         (_dl_show_scope): Indicate if there is no scope.
64294         [BZ #13114]
64295         * stdio-common/Makefile (tests): Add bug24.
64296         * stdio-common/bug24.c: New file.
64298 2011-08-19  Andreas Jaeger  <aj@suse.de>
64300         [BZ #13114]
64301         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
64302         non-existant file when using close-on-exec mode.
64304 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
64306         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
64307         the very first instruction.
64309         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
64310         the CFI state in the end.
64311         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
64312         inclusion of dl-trampoline.h.
64313         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
64315 2011-08-19  Andreas Schwab  <schwab@redhat.com>
64317         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
64318         expectations for long double.
64320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
64321         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
64323 2011-08-14  David S. Miller  <davem@davemloft.net>
64325         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
64326         artificual limit depends upon the system page size.
64328 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
64330         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
64331         * resolv/Makefile: Define CFLAGS-libresolv.
64333 2011-08-17  Andreas Schwab  <schwab@redhat.com>
64335         * nss/makedb.c (compute_tables): Make variables used in nested
64336         function static.
64338 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
64340         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
64341         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
64342         if buffer was too small.
64344         * elf/pldd.c (main): Attach to all threads in the process.
64345         Rewrite /proc handling to use *at functions.
64347 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
64349         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
64350         specifies first scope to show.
64351         (dl_open_worker): Update callers.  Move printing scope of new
64352         object to before the relocation.
64353         * elf/rtld.c (dl_main): Update _dl_show_scope call.
64354         * sysdeps/generic/ldsodefs.h: Update declaration.
64356         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
64357         string for the scope number.
64359 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
64361         * nscd/servicescache.c (cache_addserv): Make sure written is always
64362         initialized.
64364 2011-08-14  Roland McGrath  <roland@hack.frob.com>
64366         * sysdeps/i386/i486/bits/atomic.h
64367         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
64368         statement expression, so as to suppress "set but not used" warning.
64369         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
64371         * string/strncat.c (STRNCAT): Use prototype definition.
64373         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
64374         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
64375         -Iprograms here.
64376         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
64377         (localedef-modules): Add localedef.
64378         (locale-modules): Add locale.
64380         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
64381         * elf/rtld.c (dl_main): Invert order of assignment in last change,
64382         to avoid a warning.
64384 2011-08-14  David S. Miller  <davem@davemloft.net>
64386         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
64387         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
64389 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
64391         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
64392         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
64393         * elf/rtld.c (dl_main): Set l_name of vDSO.
64394         Call _dl_show_scope when DL_DEBUG_SCOPES.
64395         (process_dl_debug): Recognize scopes flag and also set it for all.
64396         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
64397         Declare _dl_show_scope.
64399         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
64400         (do_dlopen): Pass caller_dlopen to dl_open.
64401         (__libc_dlopen_mode): Initialize caller_dlopen.
64403         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
64404         of libc.  Make tolower call locale-independent.  Optimize a bit by
64405         using isdigit instead of isalnum.
64406         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
64408 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
64410         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
64411         was a dependency or dynamically loaded.
64413 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
64415         * intl/l10nflist.c: Allow architecture-specific pop function.
64416         * sysdeps/x86_64/l10nflist.c: New file.
64418         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
64419         classification.
64421 2011-08-10  Andreas Schwab  <schwab@redhat.com>
64423         * include/dirent.h: Add libc_hidden_proto for scandirat and
64424         scandirat64.  Don't declare __scandirat64.
64425         * dirent/scandirat.c: Add libc_hidden_def.
64426         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
64427         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
64429 2011-08-10  David S. Miller  <davem@davemloft.net>
64431         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
64432         enum.
64433         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64434         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64435         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64437 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
64439         * Versions.def [libc]: Add GLIBC_2.15.
64440         * dirent/Makefile (routines): Add scandirat and scandirat64.
64441         * dirent/Versions [libc]: Export scandirat and scandirat64 for
64442         GLIBC_2.15.
64443         * dirent/dirent.h: Declare scandirat and scandirat64.
64444         * dirent/scandirat.c: New file.
64445         * dirent/scandirat64.c: New file.
64446         * sysdeps/wordsize-64/scandirat.c: New file.
64447         * sysdeps/wordsize-64/scandirat64.c: New file.
64448         * dirent/opendir.c: Define opendirat.
64449         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
64450         using scandirat.
64451         * dirent/scandir64.c: Adjust for scandir.c change.
64452         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
64453         __scandirat64, and __scandir_cancel_handler.
64454         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
64455         additional parameter and use openat instead of open (outside of ld.so).
64456         Add new __opendir as wrapper around __opendirat.
64457         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
64458         here without requiring old scandirat implementation.
64460 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
64462         * dirent/scandir.c (cancel_handler): Renamed to
64463         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
64464         defined.  Adjust users.
64465         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
64466         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
64468 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
64470         * string/test-string.h (IMPL): Use __STRING to expand name and then
64471         stringify it.
64473         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
64474         of cleanups.
64476 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64478         * string/Makefile: Update.
64479         (strop-tests): Append strncat.
64480         * string/test-wcscmp.c: New file.
64481         New comprehensive test for wcscmp.
64482         * string/test-strcmp.c: Update.
64483         (WIDE): New define.
64485 2011-07-22  Andreas Schwab  <schwab@redhat.com>
64487         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
64488         line.
64490 2011-07-26  Andreas Schwab  <schwab@redhat.com>
64492         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64493         encoding to ACE if AI_IDN.
64495 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
64497         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
64498         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
64500 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64502         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
64503         Fix overflow bug in strncat.
64504         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
64506         * string/test-strncat.c: Update.
64507         Add new tests for checking overflow bugs.
64509 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64511         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64512         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
64513         * sysdeps/i386/i686/multiarch/strcat.S: New file.
64514         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
64515         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
64516         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
64517         * sysdeps/i386/i686/multiarch/strncat.S: New file.
64518         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
64519         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
64521         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
64522         (USE_AS_STRCAT): Define.
64523         Add strcat and strncat support.
64524         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
64526 2011-07-25  Andreas Schwab  <schwab@redhat.com>
64528         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
64529         __n bigger than INT_MAX+1.
64530         (__strncmp_g): Likewise.
64532 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
64534         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
64535         * libio/stido.h: Likewise.
64537         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
64538         (AF_NFC): Define.
64539         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
64540         (AF_NFC): Define.
64542         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
64543         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64544         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64545         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
64546         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64548         [BZ #13021]
64549         * scripts/test-installation.pl: Don't expect libnss_test1 to be
64550         installed.
64552         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
64553         typo.
64554         (_dl_x86_64_save_sse): Likewise.
64556 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
64558         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
64559         OSXSAVE.
64560         (_dl_x86_64_save_sse): Likewise.
64562         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
64564         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
64566 2011-07-21  Andreas Schwab  <schwab@redhat.com>
64568         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
64569         change.
64570         (_dl_x86_64_save_sse): Use correct AVX check.
64572 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64574         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
64575         bug in strncpy/strncat.
64576         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
64578 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
64580         * string/tester.c (test_strcat): Add tests for different alignments
64581         of source and destination.
64582         (test_strncat): Likewise.
64584 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
64586         [BZ #12852]
64587         * posix/glob.c (glob): Check passed in values before using them in
64588         expressions to avoid some overflows.
64589         (glob_in_dir): Likewise.
64591         [BZ #13007]
64592         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
64593         check for AVX enablement so that we don't crash with old kernels and
64594         new hardware.
64595         * elf/tst-audit4.c: Add same checks here.
64596         * elf/tst-audit6.c: Likewise.
64598         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
64600 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
64602         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
64604 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
64606         * po/cs.po: Update from translation team.
64607         * po/bg.po: Likewise.
64609 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
64611         * misc/sys/cdefs.h: Add support for const attribute.
64612         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
64613         to gnu_dev_{major,minor,makedev} functions.
64615 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
64617         * intl/dcigettext.c (get_output_charset): Add missing bracket.
64619 2011-07-20  Andreas Schwab  <schwab@redhat.com>
64621         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
64622         strlen results.
64624 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64626         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
64627         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
64628         register in order to avoid conflicts with the soft frame pointer
64629         being held in r11 when necessary.
64630         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
64631         (INTERNAL_VSYSCALL_NCS): Likewise.
64633 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
64635         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
64636         * elf/dl-fini.c (_dl_fini): Adjust caller.
64637         * elf/dl-close.c (_dl_close_worker): Likewise.
64638         * sysdeps/generic/ldsodefs.h: Adjust declaration.
64640 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
64642         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
64643         "aux_cache->nlibs < 0".
64645         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
64646         in the reload-count case.
64648 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64650         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64651         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
64652         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
64653         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
64654         * sysdeps/x86_64/multiarch/strcat.S: New file.
64655         * sysdeps/x86_64/multiarch/strncat.S: New file.
64656         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
64657         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
64658         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
64659         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
64660         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
64661         (USE_AS_STRCAT): Define.
64662         Add strcat and strncat support.
64663         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
64664         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64665         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
64666         * string/strncat.c: Update.
64667         (USE_AS_STRNCAT): Define.
64668         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64669         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
64670         and i7.
64671         * sysdeps/x86_64/multiarch/init-arch.h
64672         (bit_Prefer_PMINUB_for_stringop): New.
64673         (index_Prefer_PMINUB_for_stringop): Likewise.
64674         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
64675         bit_Prefer_PMINUB_for_stringop.
64677 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
64679         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
64680         buffer64.
64681         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
64682         of casting of buffer.
64683         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
64684         buffer32 and buffer64.
64685         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
64686         writes instead of casting of buffer.
64687         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
64688         buffer32.
64689         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
64690         casting of buffer.
64692 2011-07-19  Andreas Schwab  <schwab@redhat.com>
64694         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
64696 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
64698         * nscd/nscd.c (termination_handler): Don't do anything for a database
64699         if it has not yet been initialized.
64701 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
64703         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
64705 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
64707         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
64709 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
64711         * po/nl.po: Update from translation team.
64712         * po/sv.po: Likewise.
64714 2011-07-16  Roland McGrath  <roland@hack.frob.com>
64716         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
64717         now disallowed by GCC.
64719         * configure.in (use-default-link): Default to yes if a test -shared
64720         link meets our qualifications.
64721         * configure: Regenerated.
64723         * config.make.in (output-format): New variable.
64724         * configure.in: Check for ld --print-output-format support.
64725         * configure: Regenerated.
64726         * Makerules ($(common-objpfx)format.lds)
64727         [$(output-format) != unknown]: Just use $(output-format),
64728         instead of the linker-script munging.
64730 2011-07-14  Roland McGrath  <roland@hack.frob.com>
64732         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
64733         of $(common-objpfx)shlib.lds.
64734         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
64736         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
64737         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
64739         * configure.in (-z relro check): Adjust test code to add a large
64740         writable data section after it.
64741         * configure: Regenerated.
64743 2011-07-11  Roland McGrath  <roland@hack.frob.com>
64745         * configure.in (-z relro check): Fix test code to make the variable
64746         truly const.
64747         * configure: Regenerated.
64749 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
64751         * nscd/nscd.h (struct traced_file): Define.
64752         (struct database_dyn): Remove inotify_descr, reset_res, and filename
64753         elements.  Add traced_files.
64754         (inotify_fd): Declare.
64755         (register_traced_file): Declare.
64756         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
64757         (inotify_fd): Export.
64758         (resolv_conf_descr): Remove.
64759         (nscd_init): Move inotify descriptor creation to main.
64760         Don't register files for notification here.
64761         (register_traced_file): New function.
64762         (invalidate_cache): Don't use reset_res to determine whether to call
64763         res_init, go through the list of registered files.
64764         (main_loop_poll): The inotify descriptors are now stored in the
64765         structures for the traced files.
64766         (main_loop_epoll): Likewise
64767         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
64768         to __nss_disable_nscd.
64769         * nscd/cache.c (prune_cache): There is no single inotify descriptor
64770         for a database anymore.  Check the records for all the registered
64771         files instead.
64772         * nss/Makefile (libnss_files-routines): Add files-init.
64773         (libnss_db-routines): Add db-init.
64774         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
64775         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
64776         * nss/nss_db/db-init.c: New file.
64777         * nss/nss_files/files-init.c: New file.
64778         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
64779         __nss_lookup_function.
64780         (__nss_lookup_function): Call nss_load_library.
64781         (nss_load_all_libraries): New function.
64782         (__nss_disable_nscd): Take parameter with callback function for files
64783         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
64784         used for the cached services.
64785         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
64786         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
64787         options for features to all the files in nscd.
64789         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
64791 2011-07-10  Roland McGrath  <roland@hack.frob.com>
64793         * csu/elf-init.c (__libc_csu_init): Comment typo.
64795 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
64797         * po/pl.po: Update from translation team.
64798         * po/ja.po: Likewise.
64799         * po/ru.po: Likewise.
64800         * po/ko.po: Likewise.
64801         * po/fr.po: Likewise.
64803 2011-07-09  Roland McGrath  <roland@hack.frob.com>
64805         * configure.in (.ctors/.dtors header and trailer check):
64806         Use an empirical test on a built program.
64807         * configure: Regenerated.
64809         * configure.in (-z relro check): Use an empirical test on a built DSO.
64810         Detect, but do not require, on ia64.
64811         * configure: Regenerated.
64813         * configure.in (READELF): Find it with AC_CHECK_TOOL.
64814         Update tests that use readelf to use $READELF instead.
64815         * configure: Regenerated.
64817 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
64819         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
64820         if the result is not used.
64822 2011-07-05  Andreas Jaeger  <aj@suse.de>
64824         [BZ#9696]
64825         * stdlib/tst-strtod.c: Add testcase.
64827 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
64829         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
64830         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
64831         The latter has a higher limit.  Take additional parameter to pass to
64832         the new function.
64833         (__pathconf): Pass file to __statfs_link_max.
64834         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
64835         __statfs_link_max.
64836         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
64837         __statfs_link_max.
64839         [BZ #12868]
64840         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
64841         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64842         Handle Lustre.
64843         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
64844         (__statfs_filesize_max): Likewise.
64845         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
64847 2011-07-05  Andreas Jaeger  <aj@suse.de>
64849         * resolv/res_comp.c (dn_skipname): Remove unused variable.
64851 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
64853         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
64854         `status' variable.
64855         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
64856         Likewise.
64858 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
64860         * Makefile (strop-tests): Add strncat.
64861         * string/test-strncat.c: New file.
64863 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
64865         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
64867 2011-06-21  Andreas Jaeger  <aj@suse.de>
64869         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
64870         Copy rule from iconvdata/Makefile.
64872 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
64874         [BZ #12922]
64875         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
64876         but no long options are defined, just return 'W'.
64878 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
64880         [BZ #9696]
64881         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
64883 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
64885         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
64886         netgroups to read.
64887         (innetgr): Likewise.
64889 2011-07-05  Roland McGrath  <roland@hack.frob.com>
64891         * config.make.in (install_root): Default to $(DESTDIR).
64893 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
64895         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
64897 2011-07-02  Roland McGrath  <roland@hack.frob.com>
64899         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
64901         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
64902         containing directory rather than embedding absolute directory names.
64904         * scripts/check-local-headers.sh: Rewritten using awk.
64905         Match by word, not by line.  Print error messages for matches.
64906         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
64908         * Makerules [shlib-lds-flags empty]:
64909         ($(common-objpfx)libc_pic.opts): New target.
64910         ($(common-objpfx)libc_pic.os.clean): New target.
64911         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
64913         * config.make.in (OBJCOPY): New variable.
64914         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
64915         * configure: Regenerated.
64917         * config.make.in (use-default-link): New variable.
64918         * configure.in (use_default_link): Grok --with-default-link to set it.
64919         * configure: Regenerated.
64920         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
64921         (shlib-lds, shlib-lds-flags): Define to empty.
64923         * Makerules (shlib-lds): New variable.
64924         (shlib-lds-flags): New variable.
64925         (build-shlib, build-moduile, build-module-asneeded): Use it.
64926         ($(common-objpfx)libc.so): Use $(shlib-lds).
64927         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
64928         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
64930         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
64931         DT_FLAGS/DT_FLAGS_1 with zero flags.
64933         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
64934         linker script munging.
64936 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
64938         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
64939         as 128-bit value.
64940         * crypt/sha512.c (sha512_process_block): Perform total addition using
64941         128-bit if possible.
64942         (__sha512_finish_ctx): Likewise.
64943         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
64944         as 64-bit value.
64945         * crypt/sha256.c (SWAP64): Define.
64946         (sha256_process_block): Perform total addition using 64-bit if
64947         possible.
64948         (__sha256_finish_ctx): Likewise.
64950 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
64952         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
64953         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64954         * nscd/hstcache.c (cache_addhst): Likewise.
64955         * nscd/grpcache.c (cache_addgr): Likewise.
64956         * nscd/aicache.c (addhstaiX): Likewise
64957         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
64959 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
64961         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
64962         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64963         * nscd/hstcache.c (cache_addhst): Likewise.
64964         * nscd/grpcache.c (cache_addgr): Likewise.
64965         * nscd/aicache.c (addhstaiX): Likewise
64967 2011-07-01  Andreas Schwab  <schwab@redhat.com>
64969         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
64970         domain only when needed.
64972 2011-06-30  Andreas Schwab  <schwab@redhat.com>
64974         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
64975         is always restored.
64977 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
64979         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
64980         are re-adding the entry.
64981         * nscd/servicescache.c (cache_addserv): Likewise.
64983 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
64985         * sysdeps/generic/dl-irel.h: fix protection against multiple
64986         inclusions.
64987         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
64989 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
64991         [BZ #12935]
64992         * malloc/memusage.sh: Fix quoting in message.
64993         * debug/xtrace.sh: Likewise.
64995         * configure.in: Remove support for --experimental-malloc option, make
64996         it the default.
64997         * config.make.in: Likewise.
64998         * malloc/Makefile: Likewise.
65000 2011-06-27  Andreas Schwab  <schwab@redhat.com>
65002         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
65003         two-byte characters.
65005 2011-06-27  Roland McGrath  <roland@hack.frob.com>
65007         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
65008         AC_CACHE_CHECK invocation.
65009         * configure: Regenerated.
65011         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
65013 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
65015         [BZ #12350]
65016         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
65017         bit from old_res_options.
65019         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
65021         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
65022         value type for setfct.
65024 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
65026         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
65027         __gettimeofday instead of gettimeofday.
65029 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
65031         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
65033 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
65035         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
65037         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
65038         info.
65040 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
65042         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65043         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
65044         strcpy-sse2-unaligned strncpy-sse2-unaligned
65045         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
65046         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
65047         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
65048         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
65049         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
65050         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
65051         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
65052         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
65053         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
65054         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
65055         (STRCPY): Support SSE2 and SSSE3 versions.
65057 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
65059         [BZ #12874]
65060         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
65061         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
65062         kernels which artificially limit size of requests.
65064 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
65066         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65067         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
65068         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
65069         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
65070         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
65071         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
65072         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
65073         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
65074         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
65075         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
65076         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
65077         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
65078         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
65079         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
65080         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
65081         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65082         Enable unaligned load optimization for Intel Core i3, i5 and i7
65083         processors.
65084         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
65085         Define.
65086         (index_Fast_Unaligned_Load): Define.
65087         (HAS_FAST_UNALIGNED_LOAD): Define.
65089 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
65091         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
65093 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
65095         [BZ #12907]
65096         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
65097         until it is clear that the information is realy needed.
65098         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
65100 2011-06-22  Andreas Schwab  <schwab@redhat.com>
65102         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
65104 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
65106         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
65107         /sys/devices/system/cpu/online if it is usable.
65109         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
65110         reading the information from the /proc filesystem to once a second.
65112 2011-06-21  Andreas Jaeger  <aj@suse.de>
65114         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
65115         NULL after inclusion of kernel headers.
65117 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
65119         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
65120         calls to internal_setent.
65122         [BZ #12885]
65123         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
65124         addresses using gethostbyname4_r ignore IPv4 addresses.
65126         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
65127         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
65129         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
65131 2011-06-20  David S. Miller  <davem@davemloft.net>
65133         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
65134         inclusions.
65135         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
65137         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
65138         (elf_irel): Use it.
65139         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
65140         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
65141         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
65142         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
65143         * sysdeps/x86_64/dl-irel.h: Likewise.
65145         * elf/dl-runtime.c: Use elf_ifunc_invoke.
65146         * elf/dl-sym.c: Likewise.
65148 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
65150         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
65151         need to dereference resplen2.
65153 2011-06-14  Andreas Schwab  <schwab@redhat.com>
65155         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
65157 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
65159         * Makeconfig: Define vardbdir and inst_vardbdir.
65160         * nss/Makefile: Add rules to install db-Makefile.
65162         * nss/nss_db/db-XXX.c: Cleanup.
65164         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
65165         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
65166         GLIBC_PRIVATE.
65167         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
65168         * nss/makedb.c: Implement -g option to specify that value strings
65169         are generated and should not be added to table iterated over for
65170         get*ent calls.
65171         * nss/nss_db/db-initgroups.c: New file.
65173         * nss/getent.c: Add support for initgroups lookups through getgrouplist
65174         interface.
65176         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
65177         (internal_getgrouplist): Adjust to name change.
65178         Update use_initgroups_entry if this is not the first call.
65179         * nss/databases.def: Add initgroups entry.
65181         * nss/makedb.c (compute_tables): Check result of multiple hash table
65182         sizes to minimize maximum chain length.
65184 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
65186         * Versions.def: Add entry for libnss_db.
65187         * shlib-versions: Likewise.
65188         * nss/Makefile: Add rules to build libnss_db.
65189         * nss/Versions: Add libnss_db information.  Organize libnss_files
65190         entries better.
65191         * nss/db-Makefile: Add gshadow support.  Change rules for the new
65192         makedb progra.  Some minor improvements to generate smaller files.
65193         * nss/nss_db/nss_db.h: Move NSS database header data structures to
65194         here from...
65195         * nss/makedb.c: ...here.
65196         Improve database format to be smaller and require less memory at
65197         runtime.
65198         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
65199         db anymore.
65200         * nss/nss_db/db-netgrp.c: Likewise.
65201         * nss/nss_db/db-open.c: Likewise.
65202         * nss/nss_files/flies-XXX.x: Adjust comments.
65203         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
65204         * nss/nss_files/files-grp.c: Likewise.
65205         * nss/nss_files/files-hosts.c: Likewise.
65206         * nss/nss_files/files-network.c: Likewise.
65207         * nss/nss_files/files-proto.c: Likewise.
65208         * nss/nss_files/files-pwd.c: Likewise.
65209         * nss/nss_files/files-rpc.c: Likewise.
65210         * nss/nss_files/files-service.c: Likewise.
65211         * nss/nss_files/files-sgrp.c: Likewise.
65212         * nss/nss_files/files-spwd.c: Likewise.
65213         * nss/nss_db/db-alias.c: Removed.
65214         * nss/nss_db/dummy-db.h: Removed.
65216 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
65218         * nss/makedb.c: Rewritten to not use database library.
65219         * nss/Makefile: Update to build new makedb program.
65221 2011-06-14  Andreas Jaeger  <aj@suse.de>
65223         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
65224         memset declaration.
65226 2011-06-10  Andreas Schwab  <schwab@redhat.com>
65228         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
65229         tmpbuf.
65231 2011-06-10  Roland McGrath  <roland@hack.frob.com>
65233         * Makerules (shlib.lds): Fail if the linker script comes out empty.
65234         * elf/Makefile ($(objpfx)ld.so): Likewise.
65236         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
65237         Don't list ld.so twice in dependencies.
65239         * posix/bug-regex31.c: Include <stdlib.h>.
65241         * nscd/hstcache.c (cache_addhst): Remove unused variable.
65243         * nis/nss_compat/compat-spwd.c
65244         (getspent_next_nss_netgr): Remove unused variable.
65245         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
65247         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
65248         nonmembers" output to use the right array.
65250         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
65252         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
65254         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
65255         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
65256         * catgets/gencat.c (read_input_file): Likewise.
65257         * locale/programs/locarchive.c (enlarge_archive): Likewise.
65259         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
65260         variable definition inside #if's controlling its use.
65262         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
65264         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
65266         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
65268         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
65269         unreachable code.
65271         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
65273         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
65274         * configure: Regenerated.
65276         * Makerules: Revert last change.
65277         * elf/Makefile: Likewise.
65279 2011-06-09  Roland McGrath  <roland@hack.frob.com>
65281         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
65282         * elf/Makefile ($(objpfx)librtld.os): Likewise.
65283         (reloc-link): Likewise.
65285 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
65287         * elf/Makefile: Add rules to build pldd.
65288         * elf/pldd.c: New file.
65289         * elf/pldd-xx.c: New file.
65291 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
65293         * version.h: Update for 2.15 development version.
65295 2011-06-07  David S. Miller  <davem@davemloft.net>
65297         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
65298         ifuncs.
65299         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
65300         elf_machine_lazy_rel): Likewise.
65301         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
65302         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
65303         elf_machine_lazy_rel): Likewise.
65304         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
65305         dl_hwcap via passed in argument.
65306         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
65307         Likewise.
65309 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65311         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
65313 2011-06-06  Roland McGrath  <roland@hack.frob.com>
65315         [BZ #12849]
65316         * manual/fdl-1.1.texi: New file, verbatim from:
65317         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
65318         * manual/lgpl-2.1.texi: New file, verbatim from:
65319         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
65320         * manual/Makefile (licenses): New variable, list those new file names.
65321         (texis): Use it.
65322         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
65324         * manual/fdl.texi: File removed.
65325         * manual/lesser.texi: File removed.
65326         * manual/libc.texinfo (Copying, Documentation License):
65327         Use new @include file names, put @appendix directive before @include.
65329 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
65331         [BZ #12841]
65332         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
65333         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
65334         (mq_open): Add __NTH.
65336 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
65338         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65339         Assume Intel Core i3/i5/i7 processor if AVX is available.
65341 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
65343         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
65344         typo.
65346 2011-05-31  Andreas Schwab  <schwab@redhat.com>
65348         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
65349         memory.  Use alloca_account.  Fix memory leak when retrying.
65351 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
65353         * version.h (RELEASE): Bump for 2.14 release.
65354         * include/features.h (__GLIBC_MINOR__): Bump to 14.
65356         * config.make.in (RANLIB): Remove entry.
65358 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
65360         * po/Makefile (po-sed-cmd): Add ksh to extensions.
65361         (libc.pot): Work around missing support for .ksh extension in xgettext.
65363         [BZ #12684]
65364         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
65365         if both request failed.
65366         (send_dg): In case of server errors clear resplen or *resplen2.
65368         [BZ #12454]
65369         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
65370         when there are multiple maps.
65371         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
65372         (_dl_fini): Remove test here.
65374         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
65376 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
65378         [BZ #12350]
65379         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
65380         bit from old_res_options.
65381         (gaih_inet): Likewise.
65383         [BZ #11099]
65384         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
65385         as signed.
65387         * resolv/res_init.c (res_setoptions): Make the code more compact.
65389         [BZ #11558]
65390         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
65391         set RES_USEVC.
65393         [BZ #11634]
65394         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
65396         * malloc/malloc.h: Mark malloc hook variables as deprecated.
65398         [BZ #11781]
65399         * malloc/malloc.h: Declare malloc hook variables as volatile.
65401         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
65402         in last patch.
65404         [BZ #11799]
65405         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
65406         raise in the comment.
65407         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
65408         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65409         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
65411 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
65413         [BZ #12811]
65414         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
65415         grow the buffers more if it already has to be sufficient.
65416         (build_wcs_upper_buffer): Likewise.
65417         * posix/regexec.c (check_matching): Likewise.
65418         (clean_state_log_if_needed): Likewise.
65419         (extend_buffers): Don't enlarge buffers beyond size of the input
65420         buffer.
65421         Patches mostly by Emil Wojak <emil@wojak.eu>.
65422         * posix/bug-regex32.c: New file.
65423         * posix/Makefile (tests): Add bug-regex32.
65425         * locale/findlocale.c (_nl_find_locale): Return right away if
65426         _nl_explode_name failed.
65427         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
65429         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
65431         * debug/xtrace.sh: Unify messages.
65432         * malloc/memusage.sh: Likewise.
65434         [BZ #12813]
65435         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
65436         time symbol from vDSO.  Substitute with vsyscall if not available.
65437         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
65438         __vdso_time.
65440         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
65441         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
65442         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
65443         Add sendmmsg and internal_sendmmsg.
65444         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
65445         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
65446         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
65448         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
65449         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
65450         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
65452 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
65454         [BZ #12813]
65455         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
65456         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
65457         available.
65458         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
65459         __vdso_getcpu.
65461         [BZ #12814]
65462         * iconvdata/Makefile (tests): Add bug-iconv9.
65463         * iconvdata/bug-iconv9.c: New file.
65465 2011-05-27  Andreas Schwab  <schwab@redhat.com>
65467         [BZ #12814]
65468         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
65470 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
65472         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
65473         (struct user_regs_struct): Change intcs field back to cs.
65475 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
65477         * po/ja.po: Update from translation team.
65479 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
65481         [BZ #12795]
65482         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
65483         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
65485 2011-05-20  Andreas Schwab  <schwab@redhat.com>
65487         * stdlib/longlong.h: Update from GCC.
65489 2011-05-23  Andreas Schwab  <schwab@redhat.com>
65491         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
65492         parameter name.
65493         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
65494         Add parameter name.
65495         (__sysconf): Pass it down.
65497 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
65499         [BZ #12671]
65500         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
65501         some situations.
65502         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
65503         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
65504         add in in __libc_use_alloca calls.  Adjust callers.
65505         (glob): Use malloc in some situations.
65507         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
65508         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
65509         pltexit.
65511 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
65513         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
65514         and CLOCK_BOOTTIME_ALARM.
65516         [BZ #12782]
65517         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
65518         is returned.
65520         * string/_strerror.c (__strerror_r): Print negative errors as signed
65521         numbers.
65523         [BZ #12777]
65524         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
65525         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
65526         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
65528         * configure.in: Fix typo in redirection and correct removal of test
65529         files in two cases.
65531         [BZ #12788]
65532         * locale/setlocale.c (new_composite_name): Fix test to check for
65533         identical name of all categories.
65535         [BZ #12792]
65536         * libio/filedoalloc.c (local_isatty): New function.
65537         (_IO_file_doallocate): Use local_isatty.
65538         * stdio-common/perror.c (perror): In case a new stream is used
65539         forward the stream error.
65540         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
65541         error flag.
65543 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
65545         [BZ #11869]
65546         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
65547         alloca.
65548         * include/alloca.h (extend_alloca_account): Define.
65550         [BZ #11857]
65551         * posix/regex.h: Fix comments with documentation of user-accessible
65552         fields after compilation and describe correct free'ing of pattern
65553         after re_compile_pattern.
65554         Patch by Reuben Thomas <rrt@sc3d.org>.
65556 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
65558         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
65559         and -mno-altivec to prevent the compiler from using Altivec and/or
65560         VSX instructions when the corresponding registers are not available.
65562 2011-05-19  Andreas Schwab  <schwab@redhat.com>
65564         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
65566 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
65568         * libio/freopen.c (freopen): Use __dup2, not dup2.
65569         * libio/freopen64.c (freopen64): Likewise.
65571 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65573         [BZ #12775]
65574         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
65575         * math/Makefile (tests): Add test-powl.
65576         (CFLAGS-test-powl.c): Define.
65577         * math/test-powl.c: New file.
65579 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65581         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
65583 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
65585         [BZ #11837]
65586         * iconvdata/gb18030.c: Update to GB18020-2005.
65588 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
65590         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
65591         RE_SYNTAX_POSIX_AWK): Update to match recent development.
65592         Patch by Aharon Robbins <arnold@skeeve.com>.
65594         [BZ #11892]
65595         * stdlib/putenv.c (putenv): Don't always create copy of the variable
65596         on the stack.
65598         [BZ #11895]
65599         * misc/pselect.c (__pselect): Handle timeout value errors hidden
65600         through underflows.
65602         [BZ #12766]
65603         * misc/error.c (error_at_line): Ensure file_name and old_file_name
65604         point to strings before performing equality test for error_one_per_line
65605         mode.
65607         [BZ #11697]
65608         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
65610         [BZ #11820]
65611         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
65612         (struct user_fpregs_struct): Avoid __uint*_t types.
65614         [BZ #6420]
65615         * malloc/mtrace.c (tr_where): Add additional parameter to point to
65616         symbol info.  Use it instead of calling _dl_addr locally.
65617         (lock_and_info): New function.
65618         (tr_freehook): Call lock_and_info and pass symbol info as additional
65619         parameter to tr_where.
65620         (tr_mallochook): Likewise.
65621         (tr_reallochook): Likewise.
65622         (tr_memalignhook): Likewise.
65624         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
65625         used and couldn't be at all thread-safe.
65627 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
65629         * libio/freopen.c (freopen): Don't close old file descriptor
65630         before the new one is opened.  Instead dup the new file descriptor
65631         to the old one after the new stream is created.
65632         * libio/freopen64.c (freopen64): Likewise.
65633         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
65634         * libio/fileops.c (_IO_new_file_close_it): Handle new
65635         _IO_FLAGS2_NOCLOSE flag.
65636         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
65637         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
65638         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
65639         _IO_FLAGS2_NOCLOSE flag.
65640         * include/unistd.h: Add hidden_proto for dup3.
65641         Define __have_dup3.
65642         * io/dup3.c: Define hidden symbol.
65643         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
65645         [BZ #7101]
65646         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
65647         when an incomplete long option is used.
65648         * posix/tst-getopt_long1.c: New file.
65649         * posix/Makefile (tests): Add tst-getopt_long1.
65651         [BZ #10138]
65652         * scripts/config.guess: Update from autoconf-2.68.
65653         * scripts/config.sub: Likewise.
65655         [BZ #10157]
65656         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
65657         tests into ...
65658         (has_cpuclock): ...this.  New function.
65659         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
65660         macro here based on has_cpuclock code.
65662         [BZ #10149]
65663         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65664         First byte (not low byte) is now always NUL.
65665         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
65667         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65668         Use non-cancelable interfaces.
65670         [BZ #9809]
65671         * locale/iso-639.def: Add entry for Sorani.
65673         [BZ #11901]
65674         * include/stdlib.h: Move include protection to the right place.
65675         Define abort_msg_s.  Declare __abort_msg with it.
65676         * stdlib/abort.c (__abort_msg): Adjust type.
65677         * assert/assert.c (__assert_fail_base): New function.  Majority
65678         of code from __assert_fail.  Allocate memory for __abort_msg with
65679         mmap.
65680         (__assert_fail): Now call __assert_fail_base.
65681         * assert/assert-perr.c: Remove bulk of implementation.  Use
65682         __assert_fail_base.
65683         * include/assert.hL Declare __assert_fail_base.
65684         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
65685         mmap.
65686         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
65688 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
65690         [BZ #11952]
65691         [BZ #12453]
65692         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
65693         until all modules are registered in the DTV.
65694         * elf/Makefile: Add rules to build and run tst-tls19.
65695         * elf/tst-tls19.c: New file.
65696         * elf/tst-tls19mod1.c: New file.
65697         * elf/tst-tls19mod2.c: New file.
65698         * elf/tst-tls19mod3.c: New file.
65699         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
65701         [BZ #12083]
65702         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
65703         correctly.
65705         [BZ #12601]
65706         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
65707         two-byte sequence errors.
65708         * iconvdata/Makefile (tests): Add bug-iconv8.
65709         * iconvdata/bug-iconv8.c: New file.
65711         [BZ #12626]
65712         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
65713         buf2 definition.
65715         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
65717         [BZ #12432]
65718         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
65719         (dummy_getcfa): New function.
65720         (init): Get _Unwind_GetCFA address, use dummy if not found.
65721         (backtrace_helper): In recursion check, also check whether CFA changes.
65722         (__backtrace): Completely initialize arg.
65724         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
65725         storing incomplete byte sequence in state object.  Avoid testing for
65726         guaranteed too small input if we know there is enough data available.
65728 2011-05-11  Andreas Schwab  <schwab@redhat.com>
65730         * Makeconfig (+link-pie): Indent.
65731         * Rules (binaries-pie): Define if $(have-fpie) and
65732         $(build-shared).
65733         (binaries-shared): Also filter out $(binaries-pie).
65734         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
65735         * nscd/Makefile (others-pie): Add nscd.
65736         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
65737         ($(objpfx)nscd): Remove command override.
65738         * login/Makefile (others-pie): Add pt_chown.
65739         ($(objpfx)pt_chown): Remove command override.
65740         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
65741         remove command overrides.
65743 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
65745         * libio/tst_putwc.c: Fix error messages.
65747         [BZ #12724]
65748         * libio/fileops.c (_IO_new_file_close_it): Always flush when
65749         currently writing and seek to current position when not.
65750         * libio/Makefile (tests): Add bug-fclose1.
65751         * libio/bug-fclose1.c: New file.
65753 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
65755         [BZ #12511]
65756         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
65757         don't set DF_1_NODELETE here.
65758         (do_lookup_x): When entering new entry test for copy relocation
65759         and if necessary set DF_1_NODELETE flag.
65760         * elf/tst-unique4.cc: New file.
65761         * elf/tst-unique4.h: New file.
65762         * elf/tst-unique4lib.cc: New file.
65763         * elf/Makefile: Add rules to build and run tst-unique4.
65764         Patch by Piotr Bury <pbury@goahead.com>.
65766 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
65768         [BZ #12052]
65769         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
65771         [BZ #12625]
65772         * misc/mntent_r.c (addmntent): Flush the stream after the output
65774         [BZ #12393]
65775         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
65776         (is_trusted_path_normalize): Skip initial colon.  Append slash
65777         to empty buffer.  Duplicate is_trusted_path code but allow
65778         constructed patch to be prefix.
65779         (is_dst): Allow $ORIGIN followed by /.
65780         (_dl_dst_substitute): Correct clearing of check_for_trusted.
65781         Correct testing of result of is_trusted_path_normalize
65782         (decompose_rpath): Fix warning.
65784 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
65786         [BZ #11257]
65787         * grp/initgroups.c (internal_getgrouplist): When we found the service
65788         list through the initgroups entry in nsswitch.conf do not always
65789         continue on a successful lookup.  Don't always use the
65790         __nss_group_database value if it is set.
65791         * nss/nsswitch.conf (initgroups): Change action for successful db
65792         lookup to continue for compatibility.
65794 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
65796         [BZ #11532]
65797         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
65798         and CP774 modules.
65799         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
65800         and CP774 modules.
65801         * iconvdata/tst-tables.sh: Likewise.
65802         * iconvdata/cp770.c: New file.
65803         * iconvdata/cp771.c: New file.
65804         * iconvdata/cp772.c: New file.
65805         * iconvdata/cp773.c: New file.
65806         * iconvdata/cp774.c: New file.
65807         * iconvdata/testdata/CP770: New file.
65808         * iconvdata/testdata/CP770..UTF8: New file.
65809         * iconvdata/testdata/CP771: New file.
65810         * iconvdata/testdata/CP771..UTF8: New file.
65811         * iconvdata/testdata/CP772: New file.
65812         * iconvdata/testdata/CP772..UTF8: New file.
65813         * iconvdata/testdata/CP773: New file.
65814         * iconvdata/testdata/CP773..UTF8: New file.
65815         * iconvdata/testdata/CP774: New file.
65816         * iconvdata/testdata/CP774..UTF8: New file.
65818         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
65819         END CHARMAP line.
65820         * iconvdata/gen-8bit-gap.sh: Likewise.
65821         * iconvdata/gen-8bit.sh: Likewise.
65823         * locale/iso-639.def: Add ary entry.
65825         [BZ #11258]
65826         * locale/C-translit.h.in: Add U20A1 transliteration.
65828         [BZ #12178]
65829         * locale/iso-639.def: Add wae entry.
65830         Patch by Kevin Bortis <bortis@translate-wae.ch>.
65832         [BZ #12545]
65833         * locale/programs/localedef.c (construct_output_path): Use ssize_t
65834         for n.
65836         [BZ #12711]
65837         * locale/C-translit.h.in: Add entry for U20B9.
65838         Patch by pravin.d.s@gmail.com.
65840 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
65842         [BZ #12713]
65843         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
65844         ENAMETOOLONG use generic getcwd.
65845         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
65846         in rtld.  Use *stat64.
65847         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
65848         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
65849         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
65850         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
65851         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
65852         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
65853         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
65854         __fstatat64 macros.
65855         * include/dirent.h: Add libc_hidden_proto for rewinddir.
65856         * dirent/rewinddir.c: Add libc_hidden_def.
65857         * sysdeps/mach/hurd/rewinddir.c: Likewise.
65858         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
65860         * include/dirent.h (__alloc_dir): Add flags parameter.
65861         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
65862         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
65863         __alloc_dir.
65864         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
65865         from fdopendir if O_CLOEXEC is already set.
65867 2011-03-15  Alan Modra  <amodra@gmail.com>
65869         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
65870         l_tls_firstbyte_offset non-zero.  Save padding offset in
65871         l_tls_firstbyte_offset for later use.
65872         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
65873         freeing static tls block.
65875 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
65877         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
65878         where #ifdef was intended.  The intent is to prevent ARG_MAX from
65879         being defined by the kernel headers.
65881 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
65883         [BZ #12734]
65884         * resolv/resolv.h: Define RES_NOTLDQUERY.
65885         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
65886         no-tld-query and set RES_NOTLDQUERY.
65887         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
65888         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
65889         modern BIND to search name as TLD unless forbidden.
65891 2011-05-07  Petr Baudis  <pasky@suse.cz>
65892             Ulrich Drepper  <drepper@gmail.com>
65894         [BZ #12393]
65895         * elf/dl-load.c (fillin_rpath): Move trusted path check...
65896         (is_trusted_path): ...to here.
65897         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
65898         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
65899         using is_trusted_path_normalize() in setuid scripts.
65901 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65903         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
65904         __BEGIN/__END_DECLS.
65906 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
65908         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
65909         NSS_STATUS_NOTFOUND if no record was found.
65911 2011-05-05  Andreas Schwab  <schwab@redhat.com>
65913         * sunrpc/Makefile (headers): Add rpc/netdb.h.
65914         (headers-not-in-tirpc): Remove rpc/netdb.h
65915         * resolv/netdb.h: Revert last change.
65917 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65919         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
65920         circular dependency between libgcc.a and libc.a.
65922 2011-05-05  Andreas Schwab  <schwab@redhat.com>
65924         * resolv/netdb.h: Don't include <rpc/netdb.h>.
65925         * nis/Makefile: Don't install rpcsvc/*.
65926         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
65927         instead of <rpc/types.h>.
65928         (MAXHOSTNAMELEN): Define.
65930 2011-05-03  Andreas Schwab  <schwab@redhat.com>
65932         * elf/ldconfig.c (add_dir): Don't crash on empty path.
65934 2011-04-28  Maciej Babinski  <mbabinski@google.com>
65936         [BZ #12714]
65937         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
65938         gethostbyname4_r when IPv6 results are possible.
65940 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
65942         [BZ #12723]
65943         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
65944         _PC_PIPE_BUF handling.
65946 2011-04-30  Bruno Haible  <bruno@clisp.org>
65948         [BZ #12717]
65949         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
65950         * resolv/netdb.h (getnameinfo): Change type of flags parameter
65951         to 'int'.
65952         * inet/getnameinfo.c (getnameinfo): Likewise.
65954 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
65956         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
65957         to groups setting in database lookup.
65958         * nss/nsswitch.conf: Add initgroups entry.
65960 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
65962         [BZ #12685]
65963         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
65964         mode string.
65965         Patch by Eric Blake <eblake@redhat.com>.
65967 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
65969         * sunrpc/Makefile (need-export-routines): Add svc_run.
65970         (routines): Remove svc_run.
65971         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
65972         * sunrpc/clnt_perr.c (clnt_perrno): Export.
65973         * sunrpc/svc_run.c (svc_run): Likewise.
65974         * sunrpc/svc_udp.c (svcudp_create): Likewise.
65976 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
65978         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
65979         problem in reallocation in last patch.
65981 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
65983         * sunrpc/Makefile: Move inclusion of Rules.
65985 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
65987         * nss/nss_files/files-initgroups.c: New file.
65988         * nss/Makefile (libnss_files-routines): Add files-initgroups.
65989         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
65990         _nss_files_initgroups_dyn.
65992 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
65994         * elf/elf.h (R_ARM_IRELATIVE): Define.
65996 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
65998         * po/ru.po: Update from translation team.
66000 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
66002         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
66003         dependencies.
66005 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
66007         [BZ #12653]
66008         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
66009         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
66010         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
66011         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
66012         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66014 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
66016         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
66017         differing bytes.
66018         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
66019         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66020         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66022 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
66024         [BZ #12420]
66025         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
66026         storing it.
66027         * stdlib/bug-getcontext.c: New file.
66028         * stdlib/Makefile: Add rules to build and run bug-getcontext.
66030 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66032         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
66033         instructions into .machine "z9-109".
66034         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
66035         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
66037 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66039         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
66040         between environment variables and auxiliary vector.
66042 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
66044         * Makefile: Add rules to build linkobj/libc.so.
66045         * include/libc-symbols.h: Define libc_hidden_nolink.
66046         * include/rpc/auth.h: Mark functions which are to be hidden.
66047         * include/rpc/auth_des.h: Likewise.
66048         * include/rpc/auth_unix.h: Likewise.
66049         * include/rpc/clnt.h: Likewise.
66050         * include/rpc/des_crypt.h: Likewise.
66051         * include/rpc/key_prot.h: Likewise.
66052         * include/rpc/pmap_clnt.h: Likewise.
66053         * include/rpc/pmap_prot.h: Likewise.
66054         * include/rpc/pmap_rmt.h: Likewise.
66055         * include/rpc/rpc_msg.h: Likewise.
66056         * include/rpc/svc.h: Likewise.
66057         * include/rpc/svc_auth.h: Likewise.
66058         * include/rpc/xdr.h: Likewise.
66059         * nis/Makefile: Link all DSOs against linkobj/libc.so.
66060         * nss/Makefile: Likewise.
66061         * sunrpc/Makefile: Don't install headers.  Build library with normal
66062         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
66063         * sunrpc/auth_des.c: Hide exported symbols by default, export some
66064         for the compat linking library.  Remove use of INTDEF/INTUSE.
66065         * sunrpc/auth_none.c: Likewise.
66066         * sunrpc/auth_unix.c: Likewise.
66067         * sunrpc/authdes_prot.c: Likewise.
66068         * sunrpc/authuxprot.c: Likewise.
66069         * sunrpc/clnt_gen.c: Likewise.
66070         * sunrpc/clnt_perr.c: Likewise.
66071         * sunrpc/clnt_raw.c: Likewise.
66072         * sunrpc/clnt_simp.c: Likewise.
66073         * sunrpc/clnt_tcp.c: Likewise.
66074         * sunrpc/clnt_udp.c: Likewise.
66075         * sunrpc/clnt_unix.c: Likewise.
66076         * sunrpc/des_crypt.c: Likewise.
66077         * sunrpc/des_soft.c: Likewise.
66078         * sunrpc/get_myaddr.c: Likewise.
66079         * sunrpc/key_call.c: Likewise.
66080         * sunrpc/key_prot.c: Likewise.
66081         * sunrpc/netname.c: Likewise.
66082         * sunrpc/pm_getmaps.c: Likewise.
66083         * sunrpc/pm_getport.c: Likewise.
66084         * sunrpc/pmap_clnt.c: Likewise.
66085         * sunrpc/pmap_prot.c: Likewise.
66086         * sunrpc/pmap_prot2.c: Likewise.
66087         * sunrpc/pmap_rmt.c: Likewise.
66088         * sunrpc/publickey.c: Likewise.
66089         * sunrpc/rpc_cmsg.c: Likewise.
66090         * sunrpc/rpc_common.c: Likewise.
66091         * sunrpc/rpc_dtable.c: Likewise.
66092         * sunrpc/rpc_prot.c: Likewise.
66093         * sunrpc/rpc_thread.c: Likewise.
66094         * sunrpc/rtime.c: Likewise.
66095         * sunrpc/svc.c: Likewise.
66096         * sunrpc/svc_auth.c: Likewise.
66097         * sunrpc/svc_authux.c: Likewise.
66098         * sunrpc/svc_raw.c: Likewise.
66099         * sunrpc/svc_run.c: Likewise.
66100         * sunrpc/svc_simple.c: Likewise.
66101         * sunrpc/svc_tcp.c: Likewise.
66102         * sunrpc/svc_udp.c: Likewise.
66103         * sunrpc/svc_unix.c: Likewise.
66104         * sunrpc/svcauth_des.c: Likewise.
66105         * sunrpc/xcrypt.c: Likewise.
66106         * sunrpc/xdr.c: Likewise.
66107         * sunrpc/xdr_array.c: Likewise.
66108         * sunrpc/xdr_float.c: Likewise.
66109         * sunrpc/xdr_intXX_t.c: Likewise.
66110         * sunrpc/xdr_mem.c: Likewise.
66111         * sunrpc/xdr_rec.c: Likewise.
66112         * sunrpc/xdr_ref.c: Likewise.
66113         * sunrpc/xdr_sizeof.c: Likewise.
66114         * sunrpc/xdr_stdio.c: Likewise.
66116 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
66118         [BZ #12650]
66119         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
66120         * sysdeps/ia64/dl-tls.h: Likewise.
66121         * sysdeps/powerpc/dl-tls.h: Likewise.
66122         * sysdeps/s390/dl-tls.h: Likewise.
66123         * sysdeps/sh/dl-tls.h: Likewise.
66124         * sysdeps/sparc/dl-tls.h: Likewise.
66125         * sysdeps/x86_64/dl-tls.h: Likewise.
66126         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
66128 2011-03-14  Andreas Schwab  <schwab@redhat.com>
66130         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
66131         rpath element also skip the following colon.
66132         (expand_dynamic_string_token): Add is_path parameter and pass
66133         down to DL_DST_REQUIRED and _dl_dst_substitute.
66134         (decompose_rpath): Call expand_dynamic_string_token with
66135         non-zero is_path.  Ignore empty rpaths.
66136         (_dl_map_object_from_fd): Call expand_dynamic_string_token
66137         with zero is_path.
66139 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
66141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
66142         Make cancelable.
66144 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
66146         [BZ #12655]
66147         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
66148         Patch by Filipe David Manana <fdmanana@apache.org>.
66150 2011-04-07  Andreas Schwab  <schwab@redhat.com>
66152         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
66153         Maintain aligned stack.
66154         (CHECK_RSP): Remove unused macro.
66156 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
66158         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
66159         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
66161 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
66163         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
66165         * include/features.h: Mention __USE_XOPEN2K8 in comment.
66167 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
66169         [BZ #12518]
66170         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
66171         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
66172         * sysdeps/x86_64/memmove.c: New file.
66173         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
66174         (memcpy): Renamed to ...
66175         (__new_memcpy): This.
66176         (memcpy): Provide GLIBC_2_14 memcpy.
66177         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
66178         (memcpy): Provide GLIBC_2_2_5 memcpy.
66180 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
66182         [BZ #12631]
66183         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
66185 2011-03-30  Andreas Schwab  <schwab@redhat.com>
66187         * misc/syncfs.c: New file.
66188         * misc/Makefile (routines): Add syncfs.
66189         * posix/unistd.h: Declare syncfs.
66190         * sysdeps/unix/syscalls.list: Add syncfs.
66192 2011-04-01  Andreas Schwab  <schwab@redhat.com>
66194         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
66195         open_by_handle_at.
66196         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66197         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66198         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66199         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66200         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66201         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
66202         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66204 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
66206         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
66207         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66208         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
66209         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66210         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66211         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66212         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66214         * io/Makefile: Compile fallocate.c, fallocate64.c, and
66215         sync_file_range.c with -fexceptions.
66216         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
66217         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
66218         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
66219         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
66220         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
66221         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
66222         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
66223         sync_file_range as cancellation point
66224         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
66225         now a wrapper around __call_sync_file_range with cancellation handling.
66226         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
66227         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
66228         function name to __call_sync_file_range.
66229         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
66230         Add call_sync_file_range.
66232 2011-04-01  Andreas Schwab  <schwab@redhat.com>
66234         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66235         bits/timex.h.
66237 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
66239         * iconv/iconv.h: Fix typo in comment.
66240         * io/fcntl.h: Likewise.
66241         * libio/stdio.h: Likewise.
66242         * posix/spawn.h: Likewise.
66243         * posix/unistd.h: Likewise.
66244         * stdlib/stdlib.h: Likewise.
66245         * time/time.h: Likewise.
66246         * wcsmbs/wchar.h: Likewise.
66248         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
66249         open_by_handle): Add.
66250         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
66251         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
66252         Augment a few comments.
66253         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66254         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66255         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66256         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66257         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66258         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
66259         open_by_handle.
66261         * io/fcntl.h (AT_EMPTY_PATH): Define.
66263 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
66265         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
66266         * sysdeps/unix/sysv/linux/bits/time.h: New file.
66267         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
66268         to...
66269         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
66270         * Versions.def: Add GLIBC_2.14.
66271         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
66272         Export.
66274 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
66276         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
66277         round counter.
66278         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
66280 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66282         [BZ #12597]
66283         * string/test-strncmp.c (do_page_test): New function.
66284         (check2): Likewise.
66285         (test_main): Call check2.
66286         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
66288 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
66290         [BZ #12587]
66291         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
66292         Handle cache information in CPU leaf 4.
66293         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
66295 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
66297         [BZ #12583]
66298         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
66299         character representation.
66300         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
66302 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
66304         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
66305         END(__isnan) to END(__isnanf) to match function entry point/label
66306         EALIGN(__isnanf,...).
66308 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
66310         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
66312 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
66314         [BZ #12510]
66315         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
66316         copy from the symbol referenced in the relocation to initialize the
66317         used variable.
66318         Patch by Piotr Bury <pbury@goahead.com>.
66319         * elf/Makefile: Add rules to build and tst-unique3.
66320         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
66321         * elf/tst-unique3.cc: New file.
66322         * elf/tst-unique3.h: New file.
66323         * elf/tst-unique3lib.cc: New file.
66324         * elf/tst-unique3lib2.cc: New file.
66326         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
66328 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
66330         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
66331         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
66332         to _start.
66334 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
66336         * elf/dl-load.c (_dl_map_object): If we are looking for the first
66337         to-be-loaded object along a path to loader is ld.so.
66339 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
66340             Ulrich Drepper  <drepper@gmail.com>
66342         * sysdeps/x86_64/memset.S: After aligning destination, code
66343         branches to different locations depending on the value of
66344         misalignment, when multiarch is enabled. Fix this.
66346 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
66348         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
66349         Set _x86_64_preferred_memory_instruction for AMD processsors.
66350         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66351         Set bit_Prefer_SSE_for_memop for AMD processors.
66353 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
66355         * libio/fmemopen.c (fmemopen): Optimize a bit.
66357 2011-03-03  Andreas Schwab  <schwab@redhat.com>
66359         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
66361 2011-03-03  Roland McGrath  <roland@redhat.com>
66363         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
66365 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
66367         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
66368         __bzero_ultra1 instead of __memset_ultra1.
66370 2011-02-23  Andreas Schwab  <schwab@redhat.com>
66371             Ulrich Drepper  <drepper@gmail.com>
66373         [BZ #12509]
66374         * include/link.h (struct link_map): Add l_orig_initfini.
66375         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
66376         returning unsuccessfully.
66377         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
66378         close of a file loaded at startup, restore the original l_initfini
66379         list.
66380         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
66381         list, store the pointer.
66382         * elf/Makefile ($(objpfx)noload-mem): New rule.
66383         (noload-ENV): Define.
66384         (tests): Add $(objpfx)noload-mem.
66385         * elf/noload.c: Include <memcheck.h>.
66386         (main): Call mtrace.  Close all opened handles.
66388 2011-02-17  Andreas Schwab  <schwab@redhat.com>
66390         [BZ #12454]
66391         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
66392         dependencies are missing.
66394 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66396         Fix __if_freereq crash: Unlike the generic version which uses free,
66397         Hurd needs munmap.
66398         * sysdeps/mach/hurd/ifreq.h: New file.
66400 2011-01-27  Petr Baudis  <pasky@suse.cz>
66401             Ulrich Drepper  <drepper@gmail.com>
66403         [BZ 12445]#
66404         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
66405         to extend_alloca().
66406         * stdio-common/bug23.c: New file.
66407         * stdio-common/Makefile (tests): Add bug23.
66409 2010-09-28  Andreas Schwab  <schwab@redhat.com>
66410             Ulrich Drepper  <drepper@gmail.com>
66412         [BZ #12489]
66413         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
66414         before performing relro protection.  At old place add assertion
66415         to make sure nothing changed.
66417 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
66418             Glauber de Oliveira Costa  <glommer@gmail.com>
66420         * elf/elf.h: Add new ARM TLS relocs.
66422 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
66424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
66425         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
66426         cast from r3.
66427         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
66428         'tests' variable.
66429         * sysdeps/wordsize-64/tst-writev.c: New file.
66431 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
66433         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
66434         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
66435         insns in _dl_start to prevent a TOC reference before relocs are
66436         resolved.
66438 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
66440         [BZ #12469]
66441         * Makeconfig: Remove RANLIB definition.
66442         * Makerules: Don't use RANLIB.
66443         * aclocal.m4: Remove ranlib test.
66444         * configure.in: No need to check for ranlib.
66445         * elf/rtld-Rules: Don't use RANLIB.
66447 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66449         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
66450         protection macro.
66451         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
66452         inclusion protection macro.
66454         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
66455         SIGRTMIN and SIGRTMAX and print information in that case only when
66456         SIGRTMIN is defined.
66458 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
66460         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
66461         arginfo fn returning -1.
66463         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
66464         and thousands string is zero terminated.
66466 2011-02-03  Andreas Schwab  <schwab@redhat.com>
66468         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
66469         sysdeps/unix/sysv/linux/bits/socket.h.
66471 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66473         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
66474         (__CPU_COUNT): Remove old macros.
66475         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
66476         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
66477         (__CPU_ALLOC, __CPU_FREE): Add macros.
66478         (__sched_cpualloc, __sched_cpufree): Add declarations.
66480 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
66482         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
66483         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
66484         * nscd/aicache.c (addhstaiX): Return timeout of added value.
66485         (readdhstai): Return value of addhstaiX call.
66486         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
66487         (addgrbyX): Return value returned by cache_addgr.
66488         (readdgrbyname): Return value returned by addgrbyX.
66489         (readdgrbygid): Likewise.
66490         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
66491         (addpwbyX): Return value returned by cache_addpw.
66492         (readdpwbyname): Return value returned by addhstbyX.
66493         (readdpwbyuid): Likewise.
66494         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
66495         (addservbyX): Return value returned by cache_addserv.
66496         (readdservbyname): Return value returned by addservbyX:
66497         (readdservbyport): Likewise.
66498         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
66499         (addhstbyX): Return value returned by cache_addhst.
66500         (readdhstbyname): Return value returned by addhstbyX.
66501         (readdhstbyaddr): Likewise.
66502         (readdhstbynamev6): Likewise.
66503         (readdhstbyaddrv6): Likewise.
66504         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
66505         (readdinitgroups): Return value returned by addinitgroupsX.
66506         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
66507         (prune_cache): Keep track of timeout value of re-added entries.
66508         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
66509         * nscd/nscd.h: Adjust prototypes of readd* functions.
66511 2011-02-04  Roland McGrath  <roland@redhat.com>
66513         * nis/nis_server.c (nis_servstate): Use the right name for 0.
66514         (nis_stats): Likewise.
66515         * nis/nis_modify.c (nis_modify): Likewise.
66516         * nis/nis_remove.c (nis_remove): Likewise.
66517         * nis/nis_add.c (nis_add): Likewise.
66519         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
66521         * posix/fnmatch_loop.c: Add some consts.
66523         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
66525 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
66527         [BZ #12460]
66528         * config.make.in (config-cflags-novzeroupper): Define.
66529         * configure.in: Substitute libc_cv_cc_novzeroupper.
66530         * elf/Makefile (AVX-CFLAGS): Define.
66531         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
66532         (CFLAGS-tst-auditmod4a.c): Likewise.
66533         (CFLAGS-tst-auditmod4b.c): Likewise.
66534         (CFLAGS-tst-auditmod6b.c): Likewise.
66535         (CFLAGS-tst-auditmod6c.c): Likewise.
66536         (CFLAGS-tst-auditmod7b.c): Likewise.
66537         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
66539 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
66541         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
66542         function to the callback.
66543         Patch partly by Jiri Olsa <jolsa@redhat.com>.
66545 2011-02-02  Andreas Schwab  <schwab@redhat.com>
66547         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
66548         of errno.
66550 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
66552         [BZ #11724]
66553         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
66554         of constructors.
66555         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
66556         of destructors.
66557         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
66559         [BZ #11724]
66560         * elf/Makefile: Add rules to build and run new test.
66561         * elf/tst-initorder.c: New file.
66562         * elf/tst-initorder.exp: New file.
66563         * elf/tst-initordera1.c: New file.
66564         * elf/tst-initordera2.c: New file.
66565         * elf/tst-initordera3.c: New file.
66566         * elf/tst-initordera4.c: New file.
66567         * elf/tst-initorderb1.c: New file.
66568         * elf/tst-initorderb2.c: New file.
66569         * elf/tst-order-a1.c: New file.
66570         * elf/tst-order-a2.c: New file.
66571         * elf/tst-order-a3.c: New file.
66572         * elf/tst-order-a4.c: New file.
66573         * elf/tst-order-b1.c: New file.
66574         * elf/tst-order-b2.c: New file.
66575         * elf/tst-order-main.c: New file.
66576         New test case by George Gensure <werkt0@gmail.com>.
66578 2010-10-01  Andreas Schwab  <schwab@redhat.com>
66580         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
66581         decoding ACE if AI_CANONIDN.
66583 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
66585         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
66587 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
66589         * version.h (RELEASE): Bump for 2.13 release.
66590         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
66592         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
66594         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
66595         MADV_NOHUGEPAGE.
66596         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
66597         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
66598         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66599         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66600         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66601         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
66603         * posix/getconf.c: Update copyright year.
66604         * catgets/gencat.c: Likewise.
66605         * csu/version.c: Likewise.
66606         * debug/catchsegv.sh: Likewise.
66607         * debug/xtrace.sh: Likewise.
66608         * elf/ldconfig.c: Likewise.
66609         * elf/ldd.bash.in: Likewise.
66610         * elf/sprof.c (print_version): Likewise.
66611         * iconv/iconv_prog.c: Likewise.
66612         * iconv/iconvconfig.c: Likewise.
66613         * locale/programs/locale.c: Likewise.
66614         * locale/programs/localedef.c: Likewise.
66615         * malloc/memusage.sh: Likewise.
66616         * malloc/mtrace.pl: Likewise.
66617         * nscd/nscd.c (print_version): Likewise.
66618         * nss/getent.c: Likewise.
66620         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
66621         PF_CAIF, and PF_ALG.
66622         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66624 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
66626         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
66627         (modules-names): Use them.
66628         (ifunc-test-modules, ifunc-pie-tests): Define.
66629         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
66630         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
66631         (test-extras): Likewise.
66632         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
66633         $(compile-command.c).
66634         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
66635         (all-built-dso): Define.
66636         (check-textrel.out, check-execstack.out): Depend on it.
66638         * configure.in: Don't override --enable-multi-arch.
66640 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
66642         [BZ #6812]
66643         * nscd/hstcache.c (tryagain): Define.
66644         (cache_addhst): Return tryagain not notfound for temporary errors.
66645         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
66646         failed.
66648 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
66650         [BZ #10563]
66651         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
66652         to make the syscall.
66653         * sysdeps/unix/sysv/linux/setgroups.c: New file.
66655         [BZ #12378]
66656         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
66657         and fall back to matching as normal character if the string ends before
66658         the matching ']' is found.  This is what POSIX requires.
66659         * posix/testfnm.c: Adjust test result.
66660         * posix/globtest.sh: Adjust test result.  Add new test.
66661         * posix/tst-fnmatch.input: Likewise.
66662         * posix/tst-fnmatch2.c: Add new test.
66664 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
66666         * elf/Makefile (check-execstack): Revert last change.  Depend on
66667         check-execstack.h.
66668         (check-execstack.h): New target.
66669         (generated): Add check-execstack.h.
66670         * elf/check-execstack.c: Include "check-execstack.h".
66671         (main): Revert last change.
66672         (handle_file): Return zero if GNU_STACK is absent and
66673         DEFAULT_STACK_PERMS doesn't include PF_X.
66675 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
66677         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
66678         in child fails because the descriptor is already closed.
66679         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
66680         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
66681         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
66683         [BZ #12397]
66684         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
66685         syscall.
66687         [BZ #10484]
66688         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
66689         temporary buffer used to handle multi lookups locally.
66690         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
66692 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
66694         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
66695         loader is ld.so.
66697 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
66699         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
66700         alignment for SSE2.
66702 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
66704         [BZ #12394]
66705         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
66706         characters.  When rounding increased number of integer digits recompute
66707         number of groups.
66708         * stdio-common/tst-grouping.c: New file.
66709         * stdio-common/Makefile: Add rules to build and run tst-grouping.
66711 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
66713         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
66714         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
66716         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
66717         void.
66718         * bits/select.h: Likewise.
66720 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
66722         * po/ja.po: Update from translation team.
66724 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
66726         [BZ #11155]
66727         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
66728         implementation just like for lxstat, fxstatat, et al.
66730 2010-12-27  Jim Meyering  <meyering@redhat.com>
66732         [BZ #12348]
66733         * posix/regexec.c (build_trtable): Return failure indication upon
66734         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
66736 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
66738         [BZ #12201]
66739         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
66740         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
66741         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
66742         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
66744         [BZ #12207]
66745         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
66747         [BZ #12204]
66748         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
66749         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
66751 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
66753         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
66754         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
66755         script has SORT_BY_INIT_PRIORITY.
66756         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
66757         NO_CTORS_DTORS_SECTIONS is defined.
66758         * elf/soinit.c: Likewise.
66759         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
66760         NO_CTORS_DTORS_SECTIONS is defined.
66761         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
66762         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
66763         * sysdeps/sh/init-first.c: Likewise.
66764         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
66766 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
66768         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
66769         always use the slow path.
66771 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
66773         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
66774         similar rule which adds the sysdep directories to the header search in
66775         order to pick up the correct platform stackinfo.h.
66776         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
66777         perform test if it is, otherwise return successfully without testing.
66778         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
66779         DEFAULT_STACK_PERMS define in stackinfo.h.
66780         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
66781         defined in stackinfo.h.
66782         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
66783         DEFAULT_STACK_PERMS defined in stackinfo.h.
66784         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
66785         * sysdeps/ia64/stackinfo.h: Likewise.
66786         * sysdeps/s390/stackinfo.h: Likewise.
66787         * sysdeps/sh/stackinfo.h: Likewise.
66788         * sysdeps/sparc/stackinfo.h: Likewise.
66789         * sysdeps/x86_64/stackinfo.h: Likewise.
66790         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
66791         PF_X for powerpc64.  Retain PF_X for powerpc32.
66793 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
66795         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
66796         accurately.
66797         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
66798         GETDENTS_64BIT_ALIGNED.
66800 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
66802         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
66804 2010-12-10  Andreas Schwab  <schwab@redhat.com>
66806         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
66807         _GNU_SOURCE.
66809         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
66810         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
66811         Remove __restrict.
66812         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
66813         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
66815 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
66817         [BZ #11655]
66818         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
66819         are initialized.
66821 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
66823         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
66825 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
66827         * po/it.po: Update from translation team.
66829 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
66831         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
66832         unused codes.
66834 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
66836         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
66838 2010-11-24  Andreas Schwab  <schwab@redhat.com>
66840         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
66841         specially.
66842         (gaih_getanswer_slice): Likewise.
66844 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
66846         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
66848 2010-05-31  Petr Baudis  <pasky@suse.cz>
66850         [BZ #11149]
66851         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
66852         silently even in the chroot mode.
66854 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
66856         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
66857         last patch a bit.  Pretty printing
66859 2010-05-31  Petr Baudis <pasky@suse.cz>
66861         [BZ #10085]
66862         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
66863         initialization of skip_initgroups_dyn.
66865 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
66867         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
66868         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
66870 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
66872         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
66874 2010-11-11  Andreas Schwab  <schwab@redhat.com>
66876         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
66877         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
66878         (tst-fnmatch-ENV): Set MALLOC_TRACE.
66879         ($(objpfx)tst-fnmatch-mem): New rule.
66880         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
66881         * posix/tst-fnmatch.c (main): Call mtrace.
66883 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
66885         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66886         Support Intel processor model 6 and model 0x2c.
66888 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
66890         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
66891           signed comparison.
66893 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
66895         [BZ #12205]
66896         * string/test-strncasecmp.c (check_result): New function.
66897         (do_one_test): Use it.
66898         (check1): New function.
66899         (test_main): Use it.
66900         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
66901         Support strcasecmp and strncasecmp.
66903 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
66905         [BZ #12194]
66906         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
66907         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66909 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
66911         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
66912         IFUNC support.
66913         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66914         memset-x86-64.
66915         * sysdeps/x86_64/multiarch/bzero.S: New file.
66916         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
66917         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
66918         * sysdeps/x86_64/multiarch/memset.S: New file.
66919         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
66920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66921         Set bit_Prefer_SSE_for_memop for Intel processors.
66922         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
66923         Define.
66924         (index_Prefer_SSE_for_memop): Define.
66925         (HAS_PREFER_SSE_FOR_MEMOP): Define.
66927 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
66929         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
66930         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
66932 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
66934         [BZ #12191]
66935         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
66936         (__x86_64_raw_data_cache_size_half): Likewise.
66937         (__x86_64_raw_shared_cache_size): Likewise.
66938         (__x86_64_raw_shared_cache_size_half): Likewise.
66940         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
66941         (__x86_64_raw_data_cache_size_half): Likewise.
66942         (__x86_64_raw_shared_cache_size): Likewise.
66943         (__x86_64_raw_shared_cache_size_half): Likewise.
66944         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
66945         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
66946         and __x86_64_raw_shared_cache_size_half.  Round
66947         __x86_64_data_cache_size_half, __x86_64_data_cache_size
66948         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
66949         to multiple of 256 bytes.
66951 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
66953         [BZ #12167]
66954         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
66955         of inacessible symlinks.  Verify result of symlink before returning it.
66956         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
66957         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
66959 2010-10-28  Erich Ritz  <erichritz@gmail.com>
66961         * math/math.h (isinf): Fix typo in comment.
66963 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
66965         * po/da.po: Update from translation team.
66967 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
66969         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
66970         is added to the list.
66972 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66973             Ulrich Drepper  <drepper@gmail.com>
66975         * elf/dl-object.c (_dl_new_object): Don't append the new object to
66976         the global list here.  Move code to...
66977         (_dl_add_to_namespace_list): ...here.  New function.
66978         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
66979         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
66980         * elf/dl-load.c (lose): Don't remove the element from the list.
66981         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
66982         (_dl_map_object): Likewise.
66984 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
66986         [BZ #12159]
66987         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
66988         into all bytes of SSE register.
66989         Patch by Richard Li <richardpku@gmail.com>.
66991 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
66993         [BZ #12140]
66994         * malloc/malloc.c (_int_free): Fill correct number of bytes when
66995         perturbing.
66997 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
66999         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
67000         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
67001         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
67002         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
67003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
67004         submachine.
67005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
67007 2010-10-22  Andreas Schwab  <schwab@redhat.com>
67009         * include/dlfcn.h (__RTLD_SECURE): Define.
67010         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
67011         mode & __RTLD_SECURE instead.
67012         (open_path): Rename preloaded parameter to secure.
67013         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
67014         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
67015         * elf/dl-deps.c (openaux): Likewise.
67016         * elf/rtld.c (struct map_args): Remove is_preloaded.
67017         (map_doit): Don't use it.
67018         (dl_main): Likewise.
67019         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
67020         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
67022 2010-09-09  Andreas Schwab  <schwab@redhat.com>
67024         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
67025         (sysd-rules-targets): Remove duplicates.
67026         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
67027         rtld-%.$o dependency.
67029 2010-10-18  Andreas Schwab  <schwab@redhat.com>
67031         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
67032         _dl_map_object do it.
67034 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
67036         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
67037         fast fma builtins, define the macros in the C99 standard.
67038         (FP_FAST_FMAF): Likewise.
67039         (FP_FAST_FMAL): Likewise.
67040         * sysdeps/x86_64/bits/mathdef.h: Likewise.
67042         * bits/mathdef.h: Update copyright year.
67043         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67045 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
67047         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
67048         builtins, define the macros in the C99 standard.
67049         (FP_FAST_FMAF): Likewise.
67050         (FP_FAST_FMAL): Likewise.
67051         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
67052         multiply/add.
67053         (FP_FAST_FMAF): Likewise.
67055 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
67057         [BZ #3268]
67058         * math/libm-test.inc (fma_test): Some new testcases.
67059         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
67060         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
67061         y and infinite z.  Do multiplication by C already in long double.
67062         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
67063         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
67064         y and infinite z.  Do bitwise or of inexact bit into u.d.
67065         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
67066         * sysdeps/i386/fpu/s_fmaf.S: Removed.
67067         * sysdeps/i386/fpu/s_fma.S: Removed.
67068         * sysdeps/i386/fpu/s_fmal.S: Removed.
67070 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
67072         [BZ #3268]
67073         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
67074         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
67075         computation is not scheduled after fetestexcept.  Fix value
67076         of minimum denormal long double.
67078 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
67080         [BZ #3268]
67081         * math/libm-test.inc (fma_test): Add some more tests.
67082         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
67083         correctly.
67085 2010-10-15  Andreas Schwab  <schwab@redhat.com>
67087         * scripts/data/localplt-s390-linux-gnu.data: New file.
67088         * scripts/data/localplt-s390x-linux-gnu.data: New file.
67090 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
67092         [BZ #3268]
67093         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
67094         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
67095         instead of dbl-64.
67096         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
67097         inlines.
67098         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
67099         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
67100         if one of x and y is very large and the other is subnormal.
67101         * sysdeps/s390/fpu/s_fmaf.c: New file.
67102         * sysdeps/s390/fpu/s_fma.c: New file.
67103         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
67104         * sysdeps/powerpc/fpu/s_fma.S: New file.
67105         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
67106         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
67107         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
67109 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
67111         [BZ #3268]
67112         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
67113         fma tests.
67114         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
67115         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
67116         * sysdeps/i386/i686/multiarch/s_fma.c: Include
67117         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
67118         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
67119         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
67120         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
67122 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
67124         [BZ #12078]
67125         * posix/regcomp.c (parse_branch): One more memory leak plugged.
67126         * posix/bug-regex31.input: Add test case.
67128 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
67130         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
67131         * posix/bug-regex31.input: New file.
67133         [BZ #12078]
67134         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
67135         (parse_sub_exp): Fix last change, use postorder.
67137         * posix/bug-regex31.c: New file.
67138         * posix/Makefile: Add rules to build and run bug-regex31.
67140         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
67142         [BZ #12078]
67143         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
67145         [BZ #12108]
67146         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
67147         to have entries in sys_siglist.
67149         [BZ #12093]
67150         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
67151         be NULL.
67153 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
67155         [BZ #3268]
67156         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
67157         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
67158         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
67159         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
67160         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67161         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
67162         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
67163         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
67164         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
67165         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
67166         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
67167         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
67168         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
67169         * math/ftestexcept.c (fetestexcept): Likewise.
67170         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
67171         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
67172         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
67173         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
67174         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
67175         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
67176         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67178 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
67180         [BZ #12107]
67181         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
67182         newline.
67184 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
67186         * string/bug-strstr1.c: New file.
67187         * string/Makefile: Add rules to build and run bug-strstr1.
67189 2010-10-05  Eric Blake  <eblake@redhat.com>
67191         [BZ #12092]
67192         * string/str-two-way.h (two_way_long_needle): Always clear memory
67193         when skipping input due to the shift table.
67195 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
67197         [BZ #12005]
67198         * malloc/mcheck.c: Handle large requests.
67200         [BZ #12077]
67201         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
67202         for strncmp and strncasecmp.
67203         * string/stratcliff.c: Add tests for strcmp and strncmp.
67204         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
67206 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67208         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
67209         __set_fpscr.
67211 2010-09-30  Andreas Jaeger  <aj@suse.de>
67213         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
67214         (CGROUP_SUPER_MAGIC): Define.
67215         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67216         Handle btrfs and cgroup file systems.
67217         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
67218         Likewise.
67220 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
67222         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
67223         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
67225 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67227         [BZ #12067]
67228         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
67229         trying to locate the ELF header.
67231 2010-09-27  Andreas Schwab  <schwab@redhat.com>
67233         [BZ #11611]
67234         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
67235         Mask out sign-bit copies when constructing f_fsid.
67237 2010-09-24  Petr Baudis <pasky@suse.cz>
67239         * debug/stack_chk_fail_local.c: Add missing licence exception.
67240         * debug/warning-nop.c: Likewise.
67242 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
67244         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
67245         implementing getdents64 using getdents syscall, set d_type if
67246         __ASSUME_GETDENTS32_D_TYPE.
67248 2010-09-16  Andreas Schwab  <schwab@redhat.com>
67250         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
67251         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
67253 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
67255         [BZ #12037]
67256         * posix/unistd.h: Undo change of feature selection for ftruncate from
67257         2010-01-11.
67259 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
67261         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
67262         detection.
67264 2010-09-20  Andreas Schwab  <schwab@redhat.com>
67266         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
67267         fanotify_mark.
67268         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
67270 2010-09-14  Andreas Schwab  <schwab@redhat.com>
67272         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
67273         variables after CHECK_SP call.
67274         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
67276 2010-09-13  Andreas Schwab  <schwab@redhat.com>
67277             Ulrich Drepper  <drepper@redhat.com>
67279         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
67280         re-relocationg ld.so.
67281         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
67282         _dl_init_paths call.
67283         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
67284         here anymore.
67286 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
67288         * resolv/res_init.c (__res_vinit): Count the default server we added.
67290 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
67291             Ulrich Drepper  <drepper@redhat.com>
67293         [BZ #11968]
67294         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
67295         (____longjmp_chk): Use %ebx for saving value across system call.
67296         Add unwind info.
67298 2010-09-06  Andreas Schwab  <schwab@redhat.com>
67300         * manual/Makefile: Don't mix pattern rules with normal rules.
67302 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
67304         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
67305         operation.
67306         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
67307         * libio/iofopncook.c (_IO_cookie_init): Likewise.
67308         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
67309         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
67310         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67311         Likewise.
67313 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
67315         [BZ #11979]
67316         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
67317         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
67319 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
67321         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
67322         * sysdeps/x86_64/addmul_1.S: Likewise.
67323         * sysdeps/x86_64/lshift.S: Likewise.
67324         * sysdeps/x86_64/mul_1.S: Likewise.
67325         * sysdeps/x86_64/rshift.S: Likewise.
67326         * sysdeps/x86_64/sub_n.S: Likewise.
67327         * sysdeps/x86_64/submul_1.S: Likewise.
67329 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67331         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
67332         Define __sched_param instead of SCHED_* and sched_param when
67333         <bits/sched.h> is included with __need_schedparam defined.
67334         * bits/sched.h [__need_schedparam]
67335         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
67336         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
67337         (__defined_schedparam): Define to 1.
67338         (__sched_param): New structure, identical to sched_param.
67339         (__need_schedparam): Undefine.
67341 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
67343         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
67344         (epoll_create1): Declare.
67346         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
67348 2010-08-31  Andreas Schwab  <schwab@redhat.com>
67350         [BZ #7066]
67351         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
67352         shifting retval into place.
67354 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
67356         * nis/rpcsvc/nis.h: Update copyright notice.
67357         * nis/rpcsvc/nis.x: Likewise.
67358         * nis/rpcsvc/nis_callback.h: Likewise.
67359         * nis/rpcsvc/nis_callback.x: Likewise.
67360         * nis/rpcsvc/nis_object.x: Likewise.
67361         * nis/rpcsvc/nis_tags.h: Likewise.
67362         * nis/rpcsvc/yp.h: Likewise.
67363         * nis/rpcsvc/yp.x: Likewise.
67364         * nis/rpcsvc/ypupd.h: Likewise.
67365         * nis/yp_xdr.c: Likewise.
67366         * nis/ypupdate_xdr.c: Likewise.
67368         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
67369         mainly the body of pmap_getport.  Add parameters to specify timeouts.
67370         (pmap_getport): Use __libc_rpc_getport.
67371         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
67372         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
67373         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
67375 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
67377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
67378         fanotify_mark.
67380 2010-08-27  Roland McGrath  <roland@redhat.com>
67382         * sysdeps/i386/i686/multiarch/Makefile
67383         (CFLAGS-varshift.c): New variable.
67385 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
67387         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
67388         * sysdeps/i386/i686/multiarch/varshift.c: New file.
67390         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
67392         * sysdeps/x86_64/strlen.S: Minimal code improvement.
67394 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
67396         * sysdeps/x86_64/strlen.S: Unroll the loop.
67397         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67398         strlen-sse2 strlen-sse2-bsf.
67399         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
67400         __strlen_no_bsf if bit_Slow_BSF is set.
67401         (__strlen_sse42): Removed.
67402         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
67403         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
67405 2010-08-25  Roland McGrath  <roland@redhat.com>
67407         * sysdeps/x86_64/multiarch/varshift.S: File removed.
67408         * sysdeps/x86_64/multiarch/varshift.c: New file.
67409         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
67410         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
67411         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
67412         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
67414 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
67416         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67417         strlen-sse2 strlen-sse2-bsf.
67418         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
67419         __strlen_sse2_bsf if bit_Slow_BSF is unset.
67420         (__strlen_sse2): Removed.
67421         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
67422         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
67423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
67424         bit_Slow_BSF for Atom.
67425         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
67426         (index_Slow_BSF): Define.
67427         (HAS_SLOW_BSF): Define.
67429 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
67431         [BZ #10851]
67432         * resolv/res_init.c (__res_vinit): When no server address at all
67433         is given default to loopback.
67435 2010-08-24  Roland McGrath  <roland@redhat.com>
67437         * configure.in: Remove config-name.h generation.
67438         * configure: Regenerated.
67439         * config-name.in: File removed.
67440         * scripts/config-uname.sh: New file.
67441         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
67442         ($(objdir)config-name.h): New target.
67444         * sunrpc/rpc_parse.h: Avoid nested comment.
67446 2010-08-24  Richard Henderson  <rth@redhat.com>
67447             Ulrich Drepper  <drepper@redhat.com>
67448             H.J. Lu  <hongjiu.lu@intel.com>
67450         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
67451         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
67452         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
67453         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
67454         _mm_alignr_epi8 with _mm_loadu_si128.
67455         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
67456         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
67457         (__m128i_shift_right): Removed.
67458         * sysdeps/i386/i686/multiarch/varshift.h: New file.
67459         * sysdeps/i386/i686/multiarch/varshift.S: New file.
67460         * sysdeps/x86_64/multiarch/varshift.h: New file.
67461         * sysdeps/x86_64/multiarch/varshift.S: New file.
67463 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
67465         * configure.in: Move assembler checks to before sysdep dir checking.
67467 2010-08-20  Petr Baudis  <pasky@suse.cz>
67469         * LICENSES: Sync the sunrpc license.
67471 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
67473         * sunrpc/auth_des.c: Update copyright notice once again.
67474         * sunrpc/auth_none.c: Likewise.
67475         * sunrpc/auth_unix.c: Likewise.
67476         * sunrpc/authdes_prot.c: Likewise.
67477         * sunrpc/authuxprot.c: Likewise.
67478         * sunrpc/bindrsvprt.c: Likewise.
67479         * sunrpc/clnt_gen.c: Likewise.
67480         * sunrpc/clnt_perr.c: Likewise.
67481         * sunrpc/clnt_raw.c: Likewise.
67482         * sunrpc/clnt_simp.c: Likewise.
67483         * sunrpc/clnt_tcp.c: Likewise.
67484         * sunrpc/clnt_udp.c: Likewise.
67485         * sunrpc/clnt_unix.c: Likewise.
67486         * sunrpc/des_crypt.c: Likewise.
67487         * sunrpc/des_soft.c: Likewise.
67488         * sunrpc/get_myaddr.c: Likewise.
67489         * sunrpc/getrpcport.c: Likewise.
67490         * sunrpc/key_call.c: Likewise.
67491         * sunrpc/key_prot.c: Likewise.
67492         * sunrpc/openchild.c: Likewise.
67493         * sunrpc/pm_getmaps.c: Likewise.
67494         * sunrpc/pm_getport.c: Likewise.
67495         * sunrpc/pmap_clnt.c: Likewise.
67496         * sunrpc/pmap_prot.c: Likewise.
67497         * sunrpc/pmap_prot2.c: Likewise.
67498         * sunrpc/pmap_rmt.c: Likewise.
67499         * sunrpc/rpc/auth.h: Likewise.
67500         * sunrpc/rpc/auth_unix.h: Likewise.
67501         * sunrpc/rpc/clnt.h: Likewise.
67502         * sunrpc/rpc/des_crypt.h: Likewise.
67503         * sunrpc/rpc/key_prot.h: Likewise.
67504         * sunrpc/rpc/netdb.h: Likewise.
67505         * sunrpc/rpc/pmap_clnt.h: Likewise.
67506         * sunrpc/rpc/pmap_prot.h: Likewise.
67507         * sunrpc/rpc/pmap_rmt.h: Likewise.
67508         * sunrpc/rpc/rpc.h: Likewise.
67509         * sunrpc/rpc/rpc_des.h: Likewise.
67510         * sunrpc/rpc/rpc_msg.h: Likewise.
67511         * sunrpc/rpc/svc.h: Likewise.
67512         * sunrpc/rpc/svc_auth.h: Likewise.
67513         * sunrpc/rpc/types.h: Likewise.
67514         * sunrpc/rpc/xdr.h: Likewise.
67515         * sunrpc/rpc_clntout.c: Likewise.
67516         * sunrpc/rpc_cmsg.c: Likewise.
67517         * sunrpc/rpc_common.c: Likewise.
67518         * sunrpc/rpc_cout.c: Likewise.
67519         * sunrpc/rpc_dtable.c: Likewise.
67520         * sunrpc/rpc_hout.c: Likewise.
67521         * sunrpc/rpc_main.c: Likewise.
67522         * sunrpc/rpc_parse.c: Likewise.
67523         * sunrpc/rpc_parse.h: Likewise.
67524         * sunrpc/rpc_prot.c: Likewise.
67525         * sunrpc/rpc_sample.c: Likewise.
67526         * sunrpc/rpc_scan.c: Likewise.
67527         * sunrpc/rpc_scan.h: Likewise.
67528         * sunrpc/rpc_svcout.c: Likewise.
67529         * sunrpc/rpc_tblout.c: Likewise.
67530         * sunrpc/rpc_util.c: Likewise.
67531         * sunrpc/rpc_util.h: Likewise.
67532         * sunrpc/rpcinfo.c: Likewise.
67533         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
67534         * sunrpc/rpcsvc/key_prot.x: Likewise.
67535         * sunrpc/rpcsvc/klm_prot.x: Likewise.
67536         * sunrpc/rpcsvc/mount.x: Likewise.
67537         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
67538         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
67539         * sunrpc/rpcsvc/rex.x: Likewise.
67540         * sunrpc/rpcsvc/rstat.x: Likewise.
67541         * sunrpc/rpcsvc/rusers.x: Likewise.
67542         * sunrpc/rpcsvc/sm_inter.x: Likewise.
67543         * sunrpc/rpcsvc/spray.x: Likewise.
67544         * sunrpc/rpcsvc/yppasswd.x: Likewise.
67545         * sunrpc/rtime.c: Likewise.
67546         * sunrpc/svc.c: Likewise.
67547         * sunrpc/svc_auth.c: Likewise.
67548         * sunrpc/svc_authux.c: Likewise.
67549         * sunrpc/svc_raw.c: Likewise.
67550         * sunrpc/svc_run.c: Likewise.
67551         * sunrpc/svc_simple.c: Likewise.
67552         * sunrpc/svc_tcp.c: Likewise.
67553         * sunrpc/svc_udp.c: Likewise.
67554         * sunrpc/svc_unix.c: Likewise.
67555         * sunrpc/svcauth_des.c: Likewise.
67556         * sunrpc/xcrypt.c: Likewise.
67557         * sunrpc/xdr.c: Likewise.
67558         * sunrpc/xdr_array.c: Likewise.
67559         * sunrpc/xdr_float.c: Likewise.
67560         * sunrpc/xdr_mem.c: Likewise.
67561         * sunrpc/xdr_rec.c: Likewise.
67562         * sunrpc/xdr_ref.c: Likewise.
67563         * sunrpc/xdr_sizeof.c: Likewise.
67564         * sunrpc/xdr_stdio.c: Likewise.
67566         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
67567         handling.
67569 2010-08-19  Andreas Schwab  <schwab@redhat.com>
67571         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
67573 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
67575         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
67576         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
67577         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
67578         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
67579         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
67580         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
67581         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
67582         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
67583         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
67584         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
67585         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
67586         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
67587         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
67588         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
67590 2010-07-26  Anton Blanchard  <anton@samba.org>
67592         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
67593         * malloc/arena.c (heap_trim): Likewise.
67595 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
67597         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
67598         here.  Not...
67599         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
67600         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
67602 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
67604         * sysdeps/i386/elf/Makefile: New file.
67606 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
67608         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
67609         from fanotify_init.
67610         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
67611         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
67613 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
67615         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
67616         of strncasecmp_l.
67617         * sysdeps/multiarch/strcmp.S: Likewise.
67619 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
67621         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
67622         strncase_l-nonascii.
67623         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
67624         Add strncase_l-ssse3.
67625         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
67626         * sysdeps/x86_64/strcmp.S: Likewise.
67627         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
67628         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
67629         * sysdeps/x86_64/strncase.S: New file.
67630         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
67631         * sysdeps/x86_64/strncase_l.S: New file.
67632         * string/Makefile (strop-tests): Add strncasecmp.
67633         * string/test-strncasecmp.c: New file.
67635         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
67636         warning.
67638         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
67639         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
67641 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
67643         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
67645 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
67647         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
67648         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
67649         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
67651 2010-05-01  Alan Modra  <amodra@gmail.com>
67653         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
67654         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
67655         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
67656         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
67657         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
67658         tidying.  Don't tail-call __sigjmp_save for static lib.
67659         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
67660         save location.
67661         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
67662         (CALL_MCOUNT): Add eh info, and nop after bl.
67663         (TAIL_CALL_SYSCALL_ERROR): New macro.
67664         (PSEUDO_RET): Use it.
67665         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
67666         Correct save location of integer regs and cr.
67667         (_dl_profile_resolve): Correct cr save location.  Delete nops
67668         after bl when SHARED.  Reduce cfi size a little by better
67669         placement of cfi directives.
67670         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
67671         make a stack frame.  Instead use parm save area as a temp.
67672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
67673         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
67674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
67675         Don't make a stack frame for parent, use parm save area.
67676         Increase child stack frame to 112 bytes.  Don't save unused reg,
67677         and adjust reg usage.  Set up cfi on error recovery and
67678         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
67679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
67680         (__makecontext): Add dummy nop after jump to exit.
67681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
67682         Use correct parm save area and cr save, reduce stack frame.
67683         Correct cfi for possible PSEUDO_RET frame setup.
67684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
67685         Branch to local label emitted by PSEUDO_RET rather than
67686         __syscall_error.
67688 2010-08-12  Andreas Schwab  <schwab@redhat.com>
67690         [BZ #11904]
67691         * locale/programs/locale.c (print_assignment): New function.
67692         (show_locale_vars): Use it.
67694 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
67696         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
67697         field.
67698         (struct statfs64): Likewise.
67699         (_STATFS_F_FLAGS): Define.
67700         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
67701         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67702         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
67703         (ST_VALID): Define locally.
67704         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
67705         __statvfs_getflags, use the provided value.
67706         * sysdeps/unix/sysv/linux/kernel-features.h: Define
67707         __ASSUME_STATFS_F_FLAGS.
67709         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
67711         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
67712         Add sys/fanotify.h.
67713         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
67714         fanotify_mask for GLIBC_2.13.
67715         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
67716         fanotify_init and fanotify_mark.
67717         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
67718         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
67720         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
67721         Add prlimit.
67722         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
67723         prlimit64 for GLIBC_2.13.
67724         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
67725         prlimit64.
67726         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
67727         syscall.
67728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
67729         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
67730         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
67731         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
67732         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
67733         add prlimit alias.
67734         * sysdeps/unix/sysv/linux/prlimit.c: New file.
67736         [BZ #11903]
67737         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
67738         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
67740         * nss/Makefile: Add rules to build and run tst-nss-test1.
67741         * shlib-versions: Add entry for libnss_test1.
67742         * nss/nss_test1.c: New file.
67743         * nss/tst-nss-test1.c: New file.
67745         * nss/nsswitch.c (__nss_database_custom): Define new variable.
67746         (__nss_configure_lookup): Set appropriate entry in
67747         __nss_configure_lookup to true.
67748         * nss/nsswitch.h: Define enum with indeces of databases in
67749         databases and __nss_database_custom arrays.  Declare
67750         __nss_database_custom.
67751         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
67752         to avoid using nscd when custom rules are installed.
67753         * nss/getXXbyYY_r.c: Likewise.
67754         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
67756         * nss/nss_files/files-parse.c: Whitespace fixes.
67758 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
67760         [BZ #11883]
67761         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
67762         * posix/fnmatch_loop.c: Likewise.
67764 2010-07-17  Andi Kleen  <ak@linux.intel.com>
67766         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
67767         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
67768         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
67769         * Versions.def [GLIBC_2.13]: Add.
67771 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
67773         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
67774         Also fail if tpwd after pwuid call is NULL.
67776 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67778         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
67779         when converting to ms.
67781 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67783         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
67784         EOPNOTSUPP errors with ENOTTY.
67785         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
67786         EOPNOTSUPP errors with ENOTTY.
67788 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
67790         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
67791         Add strcasecmp_l-ssse3.
67792         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
67793         strcasecmp.
67794         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
67795         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
67796         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
67798 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
67800         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
67802         * string/Makefile (strop-tests): Add strcasecmp.
67803         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
67804         strcasecmp_l-nonascii.
67805         (gen-as-const-headers): Add locale-defines.sym.
67806         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
67807         * sysdeps/x86_64/strcasecmp.S: New file.
67808         * sysdeps/x86_64/strcasecmp_l.S: New file.
67809         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
67810         * sysdeps/x86_64/locale-defines.sym: New file.
67811         * string/test-strcasecmp.c: New file.
67813         * string/test-strcasestr.c: Test both ends of the range of characters.
67814         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
67816 2010-07-29  Roland McGrath  <roland@redhat.com>
67818         [BZ #11856]
67819         * manual/locale.texi (Yes-or-No Questions): Fix example code.
67821 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
67823         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
67824         for ld.so.
67826 2010-07-27  Andreas Schwab  <schwab@redhat.com>
67828         * manual/memory.texi (Malloc Tunable Parameters): Document
67829         M_PERTURB.
67831 2010-07-26  Roland McGrath  <roland@redhat.com>
67833         [BZ #11840]
67834         * configure.in (-fgnu89-inline check): Set and substitute
67835         gnu89_inline, not libc_cv_gnu89_inline.
67836         * configure: Regenerated.
67837         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
67839 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
67841         * string/test-strnlen.c: New file.
67842         * string/Makefile (strop-tests): Add strnlen.
67843         * string/tester.c (test_strnlen): Add a few more test cases.
67844         * string/tst-strlen.c: Better error reporting.
67846         * sysdeps/x86_64/strnlen.S: New file.
67848 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
67850         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
67851         lower-latency instructions.
67853 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
67855         * string/test-strcasestr.c: New file.
67856         * string/test-strstr.c: New file.
67857         * string/Makefile (strop-tests): Add strstr and strcasestr.
67858         * string/str-two-way.h: Don't undefine MAX.
67859         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
67861 2010-07-21  Andreas Schwab  <schwab@redhat.com>
67863         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67864         strcasestr-nonascii.
67865         (CFLAGS-strcasestr-nonascii.c): Define.
67866         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
67867         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
67868         Remove unused attribute.
67870 2010-07-20  Roland McGrath  <roland@redhat.com>
67872         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
67873         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
67874         ld.so.cache was broken.  With it, there is no way to disable dsocaps
67875         like LD_HWCAP_MASK can disable hwcaps.
67877 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
67879         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
67881 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
67883         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
67884         call in strcasestr.
67885         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
67886         __strcasestr_sse42_nonascii.
67887         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
67888         strcasestr-nonascii.c.
67889         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
67891 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
67893         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
67894         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
67895         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
67896         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
67898 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
67900         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
67901         fcntl.
67903 2010-07-06  Andreas Schwab  <schwab@redhat.com>
67905         [BZ #11577]
67906         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
67907         dl_signal_cerror.
67909 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
67911         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
67912         _PC_PIPE_BUF using F_GETPIPE_SZ.
67914 2010-07-05  Roland McGrath  <roland@redhat.com>
67916         * manual/arith.texi (Rounding Functions): Fix rint description
67917         implicit in round description.
67919 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
67921         * elf/Makefile: Fix linking for a few tests to make recent linker
67922         happy.
67924 2010-06-30  Andreas Schwab  <schwab@redhat.com>
67926         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
67927         $(common-objpfx)libc_nonshared.a.
67929 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
67931         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
67932         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
67933         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
67934         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
67935         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
67936         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
67937         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
67938         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
67939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
67940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
67941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
67942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
67943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
67944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
67945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
67946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
67947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
67948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
67949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
67950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
67951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
67952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
67953         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
67954         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
67955         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
67956         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
67957         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
67958         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
67959         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
67960         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
67961         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
67962         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
67963         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
67964         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
67965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
67966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
67967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
67968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
67969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
67970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
67971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
67972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
67973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
67974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
67975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
67976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
67977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
67978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
67980 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
67982         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
67983         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
67984         * string/memmove.c (memmove): Renamed to ...
67985         (MEMMOVE): ...this.  Default to memmove.
67986         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
67987         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
67988         (END_CHK): Define.
67989         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67990         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
67991         mempcpy-ssse3-back memmove-ssse3-back.
67992         * sysdeps/x86_64/multiarch/bcopy.S: New file .
67993         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
67994         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
67995         * sysdeps/x86_64/multiarch/memcpy.S: New file.
67996         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
67997         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
67998         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
67999         * sysdeps/x86_64/multiarch/memmove.c: New file.
68000         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
68001         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
68002         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
68003         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
68004         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
68005         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
68006         Define.
68007         (index_Fast_Copy_Backward): Define.
68008         (HAS_ARCH_FEATURE): Define.
68009         (HAS_FAST_REP_STRING): Define.
68010         (HAS_FAST_COPY_BACKWARD): Define.
68012 2010-06-21  Andreas Schwab  <schwab@redhat.com>
68014         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
68015         Restore proper fallback handling.
68017 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
68019         [BZ #11701]
68020         * posix/group_member.c (__group_member): Correct checking loop.
68022         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
68023         OOM in getpwuid_r correctly.  Return error number when the caller
68024         should return, otherwise -1.
68025         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
68026         call returning > 0 value.
68027         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
68029 2010-06-07  Andreas Schwab  <schwab@redhat.com>
68031         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
68032         libc_nonshared.a from targets in modules-names.
68034 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
68036         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
68037         requires it.
68039 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
68041         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
68042         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
68043         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
68044         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
68046 2010-06-02  Andreas Schwab  <schwab@redhat.com>
68048         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
68050 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
68052         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
68053         and F_GETPIPE_SZ.
68054         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
68055         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68056         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68057         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68058         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68059         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
68061 2010-06-14  Roland McGrath  <roland@redhat.com>
68063         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
68065 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
68067         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
68068         __REDIRECT followed by __THROW.
68069         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
68070         * posix/getopt.h (getopt): Likewise.
68072 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
68074         * hurd/lookup-at.c (__file_name_lookup_at): Accept
68075         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
68076         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
68077         in AT_FLAGS.
68078         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
68079         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
68081 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
68083         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
68085 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
68087         [BZ #11640]
68088         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68089         Properly check family and model.
68091 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
68093         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
68095 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
68097         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
68099 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
68101         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
68102         symbol reference.
68104 2010-05-19  Andreas Schwab  <schwab@redhat.com>
68106         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
68107         symbol reference.
68109 2010-05-21  Andreas Schwab  <schwab@redhat.com>
68111         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
68112         and internal_recvmmsg.
68113         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
68114         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
68115         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
68116         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
68118         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
68119         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68120         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68122 2010-05-20  Andreas Schwab  <schwab@redhat.com>
68124         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
68126 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
68128         POWER7 optimizations.
68129         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
68130         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
68132 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
68134         * version.h: Update for 2.13 development version.
68136 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
68138         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
68139         exceptions.  Return 0.
68141 2010-05-07  Roland McGrath  <roland@redhat.com>
68143         * elf/ldconfig.c (main): Add a const.
68145 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
68147         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
68148         (args_options): Add no-idn option.
68149         (ahosts_keys_int): Add idn_flags to ai_flags.
68150         (parse_option): Handle 'i' option to clear idn_flags.
68152         * malloc/malloc.c (_int_free): Possible race in the most recently
68153         added check.  Only act on the data if no current modification
68154         happened.
68156 See ChangeLog.17 for earlier changes.