]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Convert 703 function definitions to prototype style.
[thirdparty/glibc.git] / ChangeLog
1 2015-10-16 Joseph Myers <joseph@codesourcery.com>
2
3 * crypt/cert.c (good_bye): Convert to prototype-style function
4 definition.
5 (get8): Likewise.
6 (put8): Likewise.
7 * crypt/crypt-entry.c (crypt): Likewise.
8 (__fcrypt): Likewise.
9 * crypt/crypt_util.c (_ufc_prbits): Likewise.
10 (_ufc_set_bits): Likewise.
11 (_ufc_clearmem): Likewise.
12 (__init_des_r): Likewise.
13 (shuffle_sb): Likewise.
14 (shuffle_sb): Likewise.
15 (_ufc_setup_salt_r): Likewise.
16 (_ufc_mk_keytab_r): Likewise.
17 (_ufc_dofinalperm_r): Likewise.
18 (encrypt): Likewise.
19 (__setkey_r): Likewise.
20 (setkey): Likewise.
21 * crypt/md5.c (md5_init_ctx): Likewise.
22 (md5_read_ctx): Likewise.
23 (md5_finish_ctx): Likewise.
24 (md5_stream): Likewise.
25 (md5_buffer): Likewise.
26 (md5_process_bytes): Likewise.
27 * crypt/sha256.c (__sha256_init_ctx): Likewise.
28 (__sha256_finish_ctx): Likewise.
29 (__sha256_process_bytes): Likewise.
30 * crypt/sha512.c (__sha512_init_ctx): Likewise.
31 (__sha512_finish_ctx): Likewise.
32 (__sha512_process_bytes): Likewise.
33 * ctype/isctype.c (__isctype): Likewise.
34 * debug/backtrace.c (__backtrace): Likewise.
35 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
36 * debug/fgets_chk.c (__fgets_chk): Likewise.
37 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
38 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
39 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
40 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41 * debug/memset_chk.c (__memset_chk): Likewise.
42 * debug/strcat_chk.c (__strcat_chk): Likewise.
43 * debug/strncat_chk.c (__strncat_chk): Likewise.
44 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
45 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
46 * dirent/dirfd.c (dirfd): Likewise.
47 * dirent/getdents.c (__getdirentries): Likewise.
48 * dirent/getdents64.c (getdirentries64): Likewise.
49 * dirent/rewinddir.c (__rewinddir): Likewise.
50 * dirent/seekdir.c (seekdir): Likewise.
51 * dirent/telldir.c (telldir): Likewise.
52 * elf/sln.c (makesymlinks): Likewise.
53 (makesymlink): Likewise.
54 * gmon/gmon.c (__moncontrol): Likewise.
55 (__monstartup): Likewise.
56 (write_hist): Likewise.
57 (write_call_graph): Likewise.
58 (write_bb_counts): Likewise.
59 * grp/setgroups.c (setgroups): Likewise.
60 * inet/inet_lnaof.c (inet_lnaof): Likewise.
61 * inet/inet_net.c (inet_network): Likewise.
62 * inet/inet_netof.c (inet_netof): Likewise.
63 * inet/rcmd.c (rresvport_af): Likewise.
64 (rresvport): Likewise.
65 * io/access.c (__access): Likewise.
66 * io/chdir.c (__chdir): Likewise.
67 * io/chmod.c (__chmod): Likewise.
68 * io/chown.c (__chown): Likewise.
69 * io/close.c (__close): Likewise.
70 * io/creat.c (creat): Likewise.
71 * io/creat64.c (creat64): Likewise.
72 * io/dup.c (__dup): Likewise.
73 * io/dup2.c (__dup2): Likewise.
74 * io/dup3.c (__dup3): Likewise.
75 * io/euidaccess.c (__euidaccess): Likewise.
76 * io/faccessat.c (faccessat): Likewise.
77 * io/fchmod.c (__fchmod): Likewise.
78 * io/fchmodat.c (fchmodat): Likewise.
79 * io/fchown.c (__fchown): Likewise.
80 * io/fchownat.c (fchownat): Likewise.
81 * io/fcntl.c (__fcntl): Likewise.
82 * io/flock.c (__flock): Likewise.
83 * io/fts.c (fts_load): Likewise.
84 (fts_close): Likewise.
85 (fts_read): Likewise.
86 (fts_set): Likewise.
87 (fts_children): Likewise.
88 (fts_build): Likewise.
89 (fts_stat): Likewise.
90 (fts_sort): Likewise.
91 (fts_alloc): Likewise.
92 (fts_lfree): Likewise.
93 (fts_palloc): Likewise.
94 (fts_padjust): Likewise.
95 (fts_maxarglen): Likewise.
96 (fts_safe_changedir): Likewise.
97 * io/getwd.c (getwd): Likewise.
98 * io/isatty.c (__isatty): Likewise.
99 * io/lchown.c (__lchown): Likewise.
100 * io/link.c (__link): Likewise.
101 * io/linkat.c (linkat): Likewise.
102 * io/lseek.c (__libc_lseek): Likewise.
103 * io/mkdir.c (__mkdir): Likewise.
104 * io/mkdirat.c (mkdirat): Likewise.
105 * io/mkfifo.c (mkfifo): Likewise.
106 * io/mkfifoat.c (mkfifoat): Likewise.
107 * io/open.c (__libc_open): Likewise.
108 * io/open64.c (__libc_open64): Likewise.
109 * io/readlink.c (__readlink): Likewise.
110 * io/readlinkat.c (readlinkat): Likewise.
111 * io/rmdir.c (__rmdir): Likewise.
112 * io/symlink.c (__symlink): Likewise.
113 * io/symlinkat.c (symlinkat): Likewise.
114 * io/ttyname.c (ttyname): Likewise.
115 * io/ttyname_r.c (__ttyname_r): Likewise.
116 * io/umask.c (__umask): Likewise.
117 * io/unlink.c (__unlink): Likewise.
118 * io/unlinkat.c (unlinkat): Likewise.
119 * io/utime.c (utime): Likewise.
120 * libio/clearerr.c (clearerr): Likewise.
121 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
122 * libio/feof.c (_IO_feof): Likewise.
123 * libio/feof_u.c (feof_unlocked): Likewise.
124 * libio/ferror.c (_IO_ferror): Likewise.
125 * libio/ferror_u.c (ferror_unlocked): Likewise.
126 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
127 * libio/fileno.c (__fileno): Likewise.
128 * libio/fputc.c (fputc): Likewise.
129 * libio/fputc_u.c (fputc_unlocked): Likewise.
130 * libio/fputwc.c (fputwc): Likewise.
131 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
132 * libio/freopen.c (freopen): Likewise.
133 * libio/freopen64.c (freopen64): Likewise.
134 * libio/fseek.c (fseek): Likewise.
135 * libio/fseeko.c (fseeko): Likewise.
136 * libio/fseeko64.c (fseeko64): Likewise.
137 * libio/ftello.c (__ftello): Likewise.
138 * libio/ftello64.c (ftello64): Likewise.
139 * libio/fwide.c (fwide): Likewise.
140 * libio/genops.c (_IO_un_link): Likewise.
141 (_IO_link_in): Likewise.
142 (_IO_least_marker): Likewise.
143 (_IO_switch_to_main_get_area): Likewise.
144 (_IO_switch_to_backup_area): Likewise.
145 (_IO_switch_to_get_mode): Likewise.
146 (_IO_free_backup_area): Likewise.
147 (_IO_switch_to_put_mode): Likewise.
148 (__overflow): Likewise.
149 (__underflow): Likewise.
150 (__uflow): Likewise.
151 (_IO_setb): Likewise.
152 (_IO_doallocbuf): Likewise.
153 (_IO_default_underflow): Likewise.
154 (_IO_default_uflow): Likewise.
155 (_IO_default_xsputn): Likewise.
156 (_IO_sgetn): Likewise.
157 (_IO_default_xsgetn): Likewise.
158 (_IO_sync): Likewise.
159 (_IO_default_setbuf): Likewise.
160 (_IO_default_seekpos): Likewise.
161 (_IO_default_doallocate): Likewise.
162 (_IO_init): Likewise.
163 (_IO_old_init): Likewise.
164 (_IO_default_sync): Likewise.
165 (_IO_default_finish): Likewise.
166 (_IO_default_seekoff): Likewise.
167 (_IO_sputbackc): Likewise.
168 (_IO_sungetc): Likewise.
169 (_IO_set_column): Likewise.
170 (_IO_set_column): Likewise.
171 (_IO_adjust_column): Likewise.
172 (_IO_get_column): Likewise.
173 (_IO_init_marker): Likewise.
174 (_IO_remove_marker): Likewise.
175 (_IO_marker_difference): Likewise.
176 (_IO_marker_delta): Likewise.
177 (_IO_seekmark): Likewise.
178 (_IO_unsave_markers): Likewise.
179 (_IO_nobackup_pbackfail): Likewise.
180 (_IO_default_pbackfail): Likewise.
181 (_IO_default_seek): Likewise.
182 (_IO_default_stat): Likewise.
183 (_IO_default_read): Likewise.
184 (_IO_default_write): Likewise.
185 (_IO_default_showmanyc): Likewise.
186 (_IO_default_imbue): Likewise.
187 (_IO_iter_next): Likewise.
188 (_IO_iter_file): Likewise.
189 * libio/getc.c (_IO_getc): Likewise.
190 * libio/getwc.c (_IO_getwc): Likewise.
191 * libio/iofclose.c (_IO_new_fclose): Likewise.
192 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
193 * libio/iofflush.c (_IO_fflush): Likewise.
194 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
195 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
196 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
197 * libio/iofgets.c (_IO_fgets): Likewise.
198 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
199 * libio/iofgetws.c (fgetws): Likewise.
200 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
201 * libio/iofopen64.c (_IO_fopen64): Likewise.
202 * libio/iofopncook.c (_IO_cookie_read): Likewise.
203 (_IO_cookie_write): Likewise.
204 (_IO_cookie_seek): Likewise.
205 (_IO_cookie_close): Likewise.
206 (_IO_cookie_seekoff): Likewise.
207 (_IO_old_cookie_seek): Likewise.
208 * libio/iofputs.c (_IO_fputs): Likewise.
209 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
210 * libio/iofputws.c (fputws): Likewise.
211 * libio/iofputws_u.c (fputws_unlocked): Likewise.
212 * libio/iofread.c (_IO_fread): Likewise.
213 * libio/iofread_u.c (__fread_unlocked): Likewise.
214 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
215 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
216 * libio/ioftell.c (_IO_ftell): Likewise.
217 * libio/iofwrite.c (_IO_fwrite): Likewise.
218 * libio/iogetdelim.c (_IO_getdelim): Likewise.
219 * libio/iogets.c (_IO_gets): Likewise.
220 * libio/iopadn.c (_IO_padn): Likewise.
221 * libio/iopopen.c (_IO_new_proc_open): Likewise.
222 (_IO_new_popen): Likewise.
223 (_IO_new_proc_close): Likewise.
224 * libio/ioputs.c (_IO_puts): Likewise.
225 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
226 (_IO_seekoff): Likewise.
227 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
228 (_IO_seekpos): Likewise.
229 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
230 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
231 * libio/ioungetc.c (_IO_ungetc): Likewise.
232 * libio/ioungetwc.c (ungetwc): Likewise.
233 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
234 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
235 * libio/iowpadn.c (_IO_wpadn): Likewise.
236 * libio/libc_fatal.c (__libc_fatal): Likewise.
237 * libio/memstream.c (__open_memstream): Likewise.
238 (_IO_mem_sync): Likewise.
239 (_IO_mem_finish): Likewise.
240 * libio/oldfileops.c (_IO_old_file_init): Likewise.
241 (_IO_old_file_close_it): Likewise.
242 (_IO_old_file_finish): Likewise.
243 (_IO_old_file_fopen): Likewise.
244 (_IO_old_file_attach): Likewise.
245 (_IO_old_file_setbuf): Likewise.
246 (_IO_old_do_write): Likewise.
247 (old_do_write): Likewise.
248 (_IO_old_file_underflow): Likewise.
249 (_IO_old_file_overflow): Likewise.
250 (_IO_old_file_sync): Likewise.
251 (_IO_old_file_seekoff): Likewise.
252 (_IO_old_file_write): Likewise.
253 (_IO_old_file_xsputn): Likewise.
254 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
255 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
256 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
257 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
258 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
259 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
260 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
261 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
262 (_IO_old_popen): Likewise.
263 (_IO_old_proc_close): Likewise.
264 * libio/oldpclose.c (__old_pclose): Likewise.
265 * libio/pclose.c (__new_pclose): Likewise.
266 * libio/peekc.c (_IO_peekc_locked): Likewise.
267 * libio/putc.c (_IO_putc): Likewise.
268 * libio/putc_u.c (putc_unlocked): Likewise.
269 * libio/putchar.c (putchar): Likewise.
270 * libio/putchar_u.c (putchar_unlocked): Likewise.
271 * libio/putwc.c (putwc): Likewise.
272 * libio/putwc_u.c (putwc_unlocked): Likewise.
273 * libio/putwchar.c (putwchar): Likewise.
274 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
275 * libio/rewind.c (rewind): Likewise.
276 * libio/setbuf.c (setbuf): Likewise.
277 * libio/setlinebuf.c (setlinebuf): Likewise.
278 * libio/vasprintf.c (_IO_vasprintf): Likewise.
279 * libio/vscanf.c (_IO_vscanf): Likewise.
280 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
281 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
282 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
283 * libio/wgenops.c (_IO_least_wmarker): Likewise.
284 (_IO_switch_to_main_wget_area): Likewise.
285 (_IO_switch_to_wbackup_area): Likewise.
286 (_IO_wsetb): Likewise.
287 (_IO_wdefault_pbackfail): Likewise.
288 (_IO_wdefault_finish): Likewise.
289 (_IO_wdefault_uflow): Likewise.
290 (__woverflow): Likewise.
291 (__wuflow): Likewise.
292 (__wunderflow): Likewise.
293 (_IO_wdefault_xsputn): Likewise.
294 (_IO_wdefault_xsgetn): Likewise.
295 (_IO_wdoallocbuf): Likewise.
296 (_IO_wdefault_doallocate): Likewise.
297 (_IO_switch_to_wget_mode): Likewise.
298 (_IO_free_wbackup_area): Likewise.
299 (_IO_switch_to_wput_mode): Likewise.
300 (_IO_sputbackwc): Likewise.
301 (_IO_sungetwc): Likewise.
302 (_IO_adjust_wcolumn): Likewise.
303 (_IO_init_wmarker): Likewise.
304 (_IO_wmarker_delta): Likewise.
305 (_IO_seekwmark): Likewise.
306 (_IO_unsave_wmarkers): Likewise.
307 * libio/wmemstream.c (open_wmemstream): Likewise.
308 (_IO_wmem_sync): Likewise.
309 (_IO_wmem_finish): Likewise.
310 * locale/nl_langinfo.c (nl_langinfo): Likewise.
311 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
312 * locale/programs/simple-hash.c (init_hash): Likewise.
313 (delete_hash): Likewise.
314 (insert_entry): Likewise.
315 (set_entry): Likewise.
316 (next_prime): Likewise.
317 (is_prime): Likewise.
318 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
319 (xmalloc): Likewise.
320 (xrealloc): Likewise.
321 * locale/programs/xstrdup.c (xstrdup): Likewise.
322 * localedata/collate-test.c (xstrcoll): Likewise.
323 * localedata/xfrm-test.c (xstrcmp): Likewise.
324 * login/getlogin_r.c (__getlogin_r): Likewise.
325 * login/getpt.c (__posix_openpt): Likewise.
326 * login/login_tty.c (login_tty): Likewise.
327 * login/setlogin.c (setlogin): Likewise.
328 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
329 (mach_msg_destroy_port): Likewise.
330 (mach_msg_destroy_memory): Likewise.
331 * malloc/mcheck.c (flood): Likewise.
332 * misc/acct.c (acct): Likewise.
333 * misc/brk.c (__brk): Likewise.
334 * misc/chflags.c (chflags): Likewise.
335 * misc/chroot.c (chroot): Likewise.
336 * misc/fchflags.c (fchflags): Likewise.
337 * misc/fstab.c (getfsspec): Likewise.
338 (getfsfile): Likewise.
339 * misc/fsync.c (fsync): Likewise.
340 * misc/ftruncate.c (__ftruncate): Likewise.
341 * misc/ftruncate64.c (__ftruncate64): Likewise.
342 * misc/getdomain.c (getdomainname): Likewise.
343 (getdomainname): Likewise.
344 * misc/gethostname.c (__gethostname): Likewise.
345 * misc/getpass.c (getpass): Likewise.
346 * misc/getttyent.c (skip): Likewise.
347 (value): Likewise.
348 * misc/gtty.c (gtty): Likewise.
349 * misc/hsearch.c (hsearch): Likewise.
350 (hcreate): Likewise.
351 * misc/hsearch_r.c (__hcreate_r): Likewise.
352 (__hdestroy_r): Likewise.
353 * misc/ioctl.c (__ioctl): Likewise.
354 * misc/mkdtemp.c (mkdtemp): Likewise.
355 * misc/mkostemp.c (mkostemp): Likewise.
356 * misc/mkostemp64.c (mkostemp64): Likewise.
357 * misc/mkostemps.c (mkostemps): Likewise.
358 * misc/mkostemps64.c (mkostemps64): Likewise.
359 * misc/mkstemp.c (mkstemp): Likewise.
360 * misc/mkstemp64.c (mkstemp64): Likewise.
361 * misc/mkstemps.c (mkstemps): Likewise.
362 * misc/mkstemps64.c (mkstemps64): Likewise.
363 * misc/mktemp.c (__mktemp): Likewise.
364 * misc/preadv.c (preadv): Likewise.
365 * misc/preadv64.c (preadv64): Likewise.
366 * misc/pwritev.c (pwritev): Likewise.
367 * misc/pwritev64.c (pwritev64): Likewise.
368 * misc/readv.c (__readv): Likewise.
369 * misc/revoke.c (revoke): Likewise.
370 * misc/setdomain.c (setdomainname): Likewise.
371 * misc/setegid.c (setegid): Likewise.
372 * misc/seteuid.c (seteuid): Likewise.
373 * misc/sethostid.c (sethostid): Likewise.
374 * misc/sethostname.c (sethostname): Likewise.
375 * misc/setregid.c (__setregid): Likewise.
376 * misc/setreuid.c (__setreuid): Likewise.
377 * misc/sstk.c (sstk): Likewise.
378 * misc/stty.c (stty): Likewise.
379 * misc/syscall.c (syscall): Likewise.
380 * misc/syslog.c (setlogmask): Likewise.
381 * misc/truncate.c (__truncate): Likewise.
382 * misc/truncate64.c (truncate64): Likewise.
383 * misc/ualarm.c (ualarm): Likewise.
384 * misc/usleep.c (usleep): Likewise.
385 * misc/ustat.c (ustat): Likewise.
386 * misc/writev.c (__writev): Likewise.
387 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
388 * nptl/old_pthread_cond_broadcast.c
389 (__pthread_cond_broadcast_2_0): Likewise.
390 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
391 Likewise.
392 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
393 Likewise.
394 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
395 Likewise.
396 * nptl/pt-raise.c (raise): Likewise.
397 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
398 Likewise.
399 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
400 * nptl/pthread_barrierattr_destroy.c
401 (pthread_barrierattr_destroy): Likewise.
402 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
403 Likewise.
404 * nptl/pthread_barrierattr_setpshared.c
405 (pthread_barrierattr_setpshared): Likewise.
406 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
407 Likewise.
408 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
409 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
410 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
411 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
412 Likewise.
413 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
414 Likewise.
415 * nptl/pthread_condattr_getpshared.c
416 (pthread_condattr_getpshared): Likewise.
417 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
418 Likewise.
419 * nptl/pthread_condattr_setpshared.c
420 (pthread_condattr_setpshared): Likewise.
421 * nptl/pthread_detach.c (pthread_detach): Likewise.
422 * nptl/pthread_equal.c (__pthread_equal): Likewise.
423 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
424 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
425 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
426 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
427 Likewise.
428 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
429 Likewise.
430 * nptl/pthread_mutex_getprioceiling.c
431 (pthread_mutex_getprioceiling): Likewise.
432 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
433 Likewise.
434 * nptl/pthread_mutexattr_getprotocol.c
435 (pthread_mutexattr_getprotocol): Likewise.
436 * nptl/pthread_mutexattr_getpshared.c
437 (pthread_mutexattr_getpshared): Likewise.
438 * nptl/pthread_mutexattr_getrobust.c
439 (pthread_mutexattr_getrobust): Likewise.
440 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
441 Likewise.
442 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
443 Likewise.
444 * nptl/pthread_mutexattr_setprioceiling.c
445 (pthread_mutexattr_setprioceiling): Likewise.
446 * nptl/pthread_mutexattr_setprotocol.c
447 (pthread_mutexattr_setprotocol): Likewise.
448 * nptl/pthread_mutexattr_setpshared.c
449 (pthread_mutexattr_setpshared): Likewise.
450 * nptl/pthread_mutexattr_setrobust.c
451 (pthread_mutexattr_setrobust): Likewise.
452 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
453 Likewise.
454 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
455 Likewise.
456 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
457 Likewise.
458 * nptl/pthread_rwlockattr_getkind_np.c
459 (pthread_rwlockattr_getkind_np): Likewise.
460 * nptl/pthread_rwlockattr_getpshared.c
461 (pthread_rwlockattr_getpshared): Likewise.
462 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
463 Likewise.
464 * nptl/pthread_rwlockattr_setkind_np.c
465 (pthread_rwlockattr_setkind_np): Likewise.
466 * nptl/pthread_rwlockattr_setpshared.c
467 (pthread_rwlockattr_setpshared): Likewise.
468 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
469 Likewise.
470 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
471 Likewise.
472 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
473 Likewise.
474 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
475 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
476 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
477 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
478 * nptl/sem_close.c (sem_close): Likewise.
479 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
480 * nptl/sem_init.c (__old_sem_init): Likewise.
481 * nptl/sigaction.c (__sigaction): Likewise.
482 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
483 * posix/_exit.c (_exit): Likewise.
484 * posix/alarm.c (alarm): Likewise.
485 * posix/confstr.c (confstr): Likewise.
486 * posix/fpathconf.c (__fpathconf): Likewise.
487 * posix/getgroups.c (__getgroups): Likewise.
488 * posix/getpgid.c (__getpgid): Likewise.
489 * posix/group_member.c (__group_member): Likewise.
490 * posix/pathconf.c (__pathconf): Likewise.
491 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
492 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
493 * posix/setgid.c (__setgid): Likewise.
494 * posix/setpgid.c (__setpgid): Likewise.
495 * posix/setuid.c (__setuid): Likewise.
496 * posix/sleep.c (__sleep): Likewise.
497 * posix/sysconf.c (__sysconf): Likewise.
498 * posix/times.c (__times): Likewise.
499 * posix/uname.c (__uname): Likewise.
500 * posix/waitid.c (__waitid): Likewise.
501 * pwd/getpw.c (__getpw): Likewise.
502 * resolv/base64.c (b64_pton): Likewise.
503 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
504 * resolv/gethnamaddr.c (Dprintf): Likewise.
505 (gethostbyname): Likewise.
506 (gethostbyname2): Likewise.
507 (gethostbyaddr): Likewise.
508 (_sethtent): Likewise.
509 (_gethtbyname): Likewise.
510 (_gethtbyname2): Likewise.
511 (_gethtbyaddr): Likewise.
512 (map_v4v6_address): Likewise.
513 (map_v4v6_hostent): Likewise.
514 (addrsort): Likewise.
515 (ht_sethostent): Likewise.
516 (ht_gethostbyname): Likewise.
517 (ht_gethostbyaddr): Likewise.
518 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
519 (inet_net_ntop_ipv4): Likewise.
520 * resolv/inet_neta.c (inet_neta): Likewise.
521 * resolv/inet_ntop.c (inet_ntop): Likewise.
522 (inet_ntop4): Likewise.
523 (inet_ntop6): Likewise.
524 * resolv/inet_pton.c (__inet_pton): Likewise.
525 (inet_pton4): Likewise.
526 (inet_pton6): Likewise.
527 * resolv/res_debug.c (loc_aton): Likewise.
528 (loc_ntoa): Likewise.
529 * resource/getpriority.c (__getpriority): Likewise.
530 * resource/getrusage.c (__getrusage): Likewise.
531 * resource/nice.c (nice): Likewise.
532 * resource/setpriority.c (__setpriority): Likewise.
533 * resource/setrlimit64.c (setrlimit64): Likewise.
534 * resource/vlimit.c (vlimit): Likewise.
535 * resource/vtimes.c (vtimes): Likewise.
536 * rt/aio_error.c (aio_error): Likewise.
537 * rt/aio_return.c (aio_return): Likewise.
538 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
539 * signal/kill.c (__kill): Likewise.
540 * signal/killpg.c (killpg): Likewise.
541 * signal/raise.c (raise): Likewise.
542 * signal/sigaction.c (__sigaction): Likewise.
543 * signal/sigaddset.c (sigaddset): Likewise.
544 * signal/sigaltstack.c (sigaltstack): Likewise.
545 * signal/sigandset.c (sigandset): Likewise.
546 * signal/sigblock.c (__sigblock): Likewise.
547 * signal/sigdelset.c (sigdelset): Likewise.
548 * signal/sigempty.c (sigemptyset): Likewise.
549 * signal/sigfillset.c (sigfillset): Likewise.
550 * signal/sighold.c (sighold): Likewise.
551 * signal/sigignore.c (sigignore): Likewise.
552 * signal/sigintr.c (siginterrupt): Likewise.
553 * signal/sigisempty.c (sigisemptyset): Likewise.
554 * signal/sigismem.c (sigismember): Likewise.
555 * signal/signal.c (signal): Likewise.
556 * signal/sigorset.c (sigorset): Likewise.
557 * signal/sigpause.c (__sigpause): Likewise.
558 * signal/sigpending.c (sigpending): Likewise.
559 * signal/sigprocmask.c (__sigprocmask): Likewise.
560 * signal/sigrelse.c (sigrelse): Likewise.
561 * signal/sigreturn.c (__sigreturn): Likewise.
562 * signal/sigset.c (sigset): Likewise.
563 * signal/sigsetmask.c (__sigsetmask): Likewise.
564 * signal/sigstack.c (sigstack): Likewise.
565 * signal/sigsuspend.c (__sigsuspend): Likewise.
566 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
567 * signal/sysv_signal.c (__sysv_signal): Likewise.
568 * socket/accept.c (accept): Likewise.
569 * socket/accept4.c (__libc_accept4): Likewise.
570 * socket/bind.c (__bind): Likewise.
571 * socket/connect.c (__connect): Likewise.
572 * socket/getpeername.c (getpeername): Likewise.
573 * socket/getsockname.c (__getsockname): Likewise.
574 * socket/getsockopt.c (getsockopt): Likewise.
575 * socket/listen.c (__listen): Likewise.
576 * socket/recv.c (__recv): Likewise.
577 * socket/recvmsg.c (__recvmsg): Likewise.
578 * socket/send.c (__send): Likewise.
579 * socket/sendmsg.c (__sendmsg): Likewise.
580 * socket/shutdown.c (shutdown): Likewise.
581 * socket/sockatmark.c (sockatmark): Likewise.
582 * socket/socket.c (__socket): Likewise.
583 * stdio-common/ctermid.c (ctermid): Likewise.
584 * stdio-common/cuserid.c (cuserid): Likewise.
585 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
586 * stdio-common/remove.c (remove): Likewise.
587 * stdio-common/rename.c (rename): Likewise.
588 * stdio-common/renameat.c (renameat): Likewise.
589 * stdio-common/tempname.c (__gen_tempname): Likewise.
590 * stdio-common/xbug.c (InitBuffer): Likewise.
591 (AppendToBuffer): Likewise.
592 (ReadFile): Likewise.
593 * stdlib/a64l.c (a64l): Likewise.
594 * stdlib/drand48_r.c (drand48_r): Likewise.
595 * stdlib/getcontext.c (getcontext): Likewise.
596 * stdlib/getenv.c (getenv): Likewise.
597 * stdlib/l64a.c (l64a): Likewise.
598 * stdlib/llabs.c (llabs): Likewise.
599 * stdlib/lldiv.c (lldiv): Likewise.
600 * stdlib/lrand48_r.c (lrand48_r): Likewise.
601 * stdlib/mrand48_r.c (mrand48_r): Likewise.
602 * stdlib/putenv.c (putenv): Likewise.
603 * stdlib/random.c (__srandom): Likewise.
604 (__initstate): Likewise.
605 (__setstate): Likewise.
606 * stdlib/random_r.c (__srandom_r): Likewise.
607 (__setstate_r): Likewise.
608 (__random_r): Likewise.
609 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
610 * stdlib/setcontext.c (setcontext): Likewise.
611 * stdlib/setenv.c (setenv): Likewise.
612 (unsetenv): Likewise.
613 * stdlib/srand48.c (srand48): Likewise.
614 * stdlib/srand48_r.c (__srand48_r): Likewise.
615 * stdlib/swapcontext.c (swapcontext): Likewise.
616 * stdlib/system.c (__libc_system): Likewise.
617 * stdlib/tst-strtod.c (expand): Likewise.
618 * stdlib/tst-strtol.c (expand): Likewise.
619 * stdlib/tst-strtoll.c (expand): Likewise.
620 * streams/fattach.c (fattach): Likewise.
621 * streams/fdetach.c (fdetach): Likewise.
622 * streams/getmsg.c (getmsg): Likewise.
623 * streams/isastream.c (isastream): Likewise.
624 * string/ffs.c (__ffs): Likewise.
625 * string/ffsll.c (ffsll): Likewise.
626 * string/memcmp.c (memcmp_common_alignment): Likewise.
627 (memcmp_not_common_alignment): Likewise.
628 (MEMCMP): Likewise.
629 * string/memcpy.c (memcpy): Likewise.
630 * string/memmove.c (MEMMOVE): Likewise.
631 * string/memset.c (memset): Likewise.
632 * string/rawmemchr.c (RAWMEMCHR): Likewise.
633 * string/strchrnul.c (STRCHRNUL): Likewise.
634 * string/strerror.c (strerror): Likewise.
635 * string/strndup.c (__strndup): Likewise.
636 * string/strverscmp.c (__strverscmp): Likewise.
637 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
638 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
639 (clnttcp_freeres): Likewise.
640 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
641 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
642 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
643 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
644 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
645 (xdr_callhdr): Likewise.
646 * sunrpc/rpcinfo.c (udpping): Likewise.
647 (tcpping): Likewise.
648 (pstatus): Likewise.
649 (pmapdump): Likewise.
650 (brdcst): Likewise.
651 (deletereg): Likewise.
652 (getprognum): Likewise.
653 (getvers): Likewise.
654 (get_inet_address): Likewise.
655 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
656 * sunrpc/svc_udp.c (svcudp_create): Likewise.
657 (svcudp_stat): Likewise.
658 (svcudp_recv): Likewise.
659 (svcudp_reply): Likewise.
660 (svcudp_getargs): Likewise.
661 (svcudp_freeargs): Likewise.
662 (svcudp_destroy): Likewise.
663 * sunrpc/xdr.c (xdr_bytes): Likewise.
664 (xdr_netobj): Likewise.
665 (xdr_string): Likewise.
666 (xdr_wrapstring): Likewise.
667 * sunrpc/xdr_float.c (xdr_float): Likewise.
668 (xdr_double): Likewise.
669 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
670 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
671 * sysvipc/ftok.c (ftok): Likewise.
672 * sysvipc/msgctl.c (msgctl): Likewise.
673 * sysvipc/msgget.c (msgget): Likewise.
674 * sysvipc/msgrcv.c (msgrcv): Likewise.
675 * sysvipc/msgsnd.c (msgsnd): Likewise.
676 * sysvipc/semget.c (semget): Likewise.
677 * sysvipc/semop.c (semop): Likewise.
678 * sysvipc/shmat.c (shmat): Likewise.
679 * sysvipc/shmctl.c (shmctl): Likewise.
680 * sysvipc/shmdt.c (shmdt): Likewise.
681 * sysvipc/shmget.c (shmget): Likewise.
682 * termios/cfmakeraw.c (cfmakeraw): Likewise.
683 * termios/speed.c (cfgetospeed): Likewise.
684 (cfgetispeed): Likewise.
685 (cfsetospeed): Likewise.
686 (cfsetispeed): Likewise.
687 * termios/tcflow.c (tcflow): Likewise.
688 * termios/tcflush.c (tcflush): Likewise.
689 * termios/tcgetattr.c (__tcgetattr): Likewise.
690 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
691 * termios/tcgetsid.c (tcgetsid): Likewise.
692 * termios/tcsendbrk.c (tcsendbreak): Likewise.
693 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
694 * time/adjtime.c (__adjtime): Likewise.
695 * time/dysize.c (dysize): Likewise.
696 * time/ftime.c (ftime): Likewise.
697 * time/getitimer.c (__getitimer): Likewise.
698 * time/gettimeofday.c (__gettimeofday): Likewise.
699 * time/gmtime.c (__gmtime_r): Likewise.
700 (gmtime): Likewise.
701 * time/localtime.c (__localtime_r): Likewise.
702 (localtime): Likewise.
703 * time/offtime.c (__offtime): Likewise.
704 * time/settimeofday.c (__settimeofday): Likewise.
705 * time/stime.c (stime): Likewise.
706 * time/strftime_l.c (tm_diff): Likewise.
707 (iso_week_days): Likewise.
708 * time/strptime.c (strptime): Likewise.
709 * time/time.c (time): Likewise.
710 * time/timespec_get.c (timespec_get): Likewise.
711 * time/tzset.c (tzset_internal): Likewise.
712 (compute_change): Likewise.
713 (__tz_compute): Likewise.
714 * wcsmbs/btowc.c (__btowc): Likewise.
715 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
716 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
717 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
718 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
719 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
720 * wcsmbs/wcscat.c (__wcscat): Likewise.
721 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
722 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
723 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
724 * wcsmbs/wcscspn.c (wcscspn): Likewise.
725 * wcsmbs/wcsdup.c (wcsdup): Likewise.
726 * wcsmbs/wcslen.c (__wcslen): Likewise.
727 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
728 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
729 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
730 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
731 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
732 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
733 * wcsmbs/wcsspn.c (wcsspn): Likewise.
734 * wcsmbs/wcsstr.c (wcsstr): Likewise.
735 * wcsmbs/wcstok.c (wcstok): Likewise.
736 * wcsmbs/wctob.c (wctob): Likewise.
737 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
738 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
739 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
740 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
741 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
742 * wcsmbs/wmemset.c (__wmemset): Likewise.
743 * wctype/wcfuncs.c (__towlower): Likewise.
744 (__towupper): Likewise.
745
746 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
747 (lll_unlock_elision): Add adapt_count parameter.
748
749 2015-10-15 Joseph Myers <joseph@codesourcery.com>
750
751 * sysdeps/nptl/configure.ac: Do not give errors based on the
752 results of top-level configure tests.
753 * sysdeps/nptl/configure: Regenerated.
754
755 * configure.ac (libc_cv_Bgroup): Remove configure test.
756 * configure: Regenerated.
757 * config.make.in (have-Bgroup): Remove variable.
758
759 * configure.ac (sizeof_long_double): Remove configure test.
760 * configure: Regenerated.
761 * config.make.in (sizeof-long-double): Remove variable.
762
763 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
764 * configure: Regenerated.
765 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
766 variable.
767 (exceptions): Likewise.
768 * sysdeps/arm/configure: Regenerated.
769 * config.make.in (exceptions): Remove variable.
770 * Makeconfig (uses-callbacks): Use -fexceptions instead of
771 $(exceptions).
772 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
773 (CFLAGS-vdprintf_chk.c): Likewise.
774 (CFLAGS-printf_chk.c): Likewise.
775 (CFLAGS-fprintf_chk.c): Likewise.
776 (CFLAGS-vprintf_chk.c): Likewise.
777 (CFLAGS-vfprintf_chk.c): Likewise.
778 (CFLAGS-gets_chk.c): Likewise.
779 (CFLAGS-fgets_chk.c): Likewise.
780 (CFLAGS-fgets_u_chk.c): Likewise.
781 (CFLAGS-fread_chk.c): Likewise.
782 (CFLAGS-fread_u_chk.c): Likewise.
783 (CFLAGS-wprintf_chk.c): Likewise.
784 (CFLAGS-fwprintf_chk.c): Likewise.
785 (CFLAGS-vwprintf_chk.c): Likewise.
786 (CFLAGS-vfwprintf_chk.c): Likewise.
787 (CFLAGS-fgetws_chk.c): Likewise.
788 (CFLAGS-fgetws_u_chk.c): Likewise.
789 * libio/Makefile (CFLAGS-fileops.c): Likewise.
790 (CFLAGS-fputc.c): Likewise.
791 (CFLAGS-fputwc.c): Likewise.
792 (CFLAGS-freopen64.c): Likewise.
793 (CFLAGS-freopen.c): Likewise.
794 (CFLAGS-fseek.c): Likewise.
795 (CFLAGS-fseeko64.c): Likewise.
796 (CFLAGS-fseeko.c): Likewise.
797 (CFLAGS-ftello64.c): Likewise.
798 (CFLAGS-ftello.c): Likewise.
799 (CFLAGS-fwide.c): Likewise.
800 (CFLAGS-genops.c): Likewise.
801 (CFLAGS-getc.c): Likewise.
802 (CFLAGS-getchar.c): Likewise.
803 (CFLAGS-getwc.c): Likewise.
804 (CFLAGS-getwchar.c): Likewise.
805 (CFLAGS-iofclose.c): Likewise.
806 (CFLAGS-iofflush.c): Likewise.
807 (CFLAGS-iofgetpos64.c): Likewise.
808 (CFLAGS-iofgetpos.c): Likewise.
809 (CFLAGS-iofgets.c): Likewise.
810 (CFLAGS-iofgetws.c): Likewise.
811 (CFLAGS-iofputs.c): Likewise.
812 (CFLAGS-iofputws.c): Likewise.
813 (CFLAGS-iofread.c): Likewise.
814 (CFLAGS-iofsetpos64.c): Likewise.
815 (CFLAGS-iofsetpos.c): Likewise.
816 (CFLAGS-ioftell.c): Likewise.
817 (CFLAGS-iofwrite.c): Likewise.
818 (CFLAGS-iogetdelim.c): Likewise.
819 (CFLAGS-iogetline.c): Likewise.
820 (CFLAGS-iogets.c): Likewise.
821 (CFLAGS-iogetwline.c): Likewise.
822 (CFLAGS-ioputs.c): Likewise.
823 (CFLAGS-ioseekoff.c): Likewise.
824 (CFLAGS-ioseekpos.c): Likewise.
825 (CFLAGS-iosetbuffer.c): Likewise.
826 (CFLAGS-iosetvbuf.c): Likewise.
827 (CFLAGS-ioungetc.c): Likewise.
828 (CFLAGS-ioungetwc.c): Likewise.
829 (CFLAGS-oldfileops.c): Likewise.
830 (CFLAGS-oldiofclose.c): Likewise.
831 (CFLAGS-oldiofgetpos64.c): Likewise.
832 (CFLAGS-oldiofgetpos.c): Likewise.
833 (CFLAGS-oldiofsetpos64.c): Likewise.
834 (CFLAGS-oldiofsetpos.c): Likewise.
835 (CFLAGS-peekc.c): Likewise.
836 (CFLAGS-putc.c): Likewise.
837 (CFLAGS-putchar.c): Likewise.
838 (CFLAGS-putwc.c): Likewise.
839 (CFLAGS-putwchar.c): Likewise.
840 (CFLAGS-rewind.c): Likewise.
841 (CFLAGS-wfileops.c): Likewise.
842 (CFLAGS-wgenops.c): Likewise.
843 (CFLAGS-oldiofopen.c): Likewise.
844 (CFLAGS-iofopen.c): Likewise.
845 (CFLAGS-iofopen64.c): Likewise.
846 (CFLAGS-oldtmpfile.c): Likewise.
847 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
848 (CFLAGS-fprintf.c): Likewise.
849 (CFLAGS-printf.c): Likewise.
850 (CFLAGS-vfwprintf.c): Likewise.
851 (CFLAGS-vfscanf.c): Likewise.
852 (CFLAGS-vfwscanf.c): Likewise.
853 (CFLAGS-fscanf.c): Likewise.
854 (CFLAGS-scanf.c): Likewise.
855 (CFLAGS-isoc99_vfscanf.c): Likewise.
856 (CFLAGS-isoc99_vscanf.c): Likewise.
857 (CFLAGS-isoc99_fscanf.c): Likewise.
858 (CFLAGS-isoc99_scanf.c): Likewise.
859 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
860 (CFLAGS-isoc99_fwscanf.c): Likewise.
861 (CFLAGS-isoc99_vwscanf.c): Likewise.
862 (CFLAGS-isoc99_vfwscanf.c): Likewise.
863
864 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
865 after mkstemp64.
866 * login/tst-utmp.c (do_prepare): Likewise.
867 * rt/tst-aio.c (do_prepare): Likewise.
868 * rt/tst-aio64.c (do_prepare): Likewise.
869
870 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
871
872 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
873 (__lll_lock_elision): Remove adapt_count decrement...
874 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
875 (__lll_trylock_elision): Likewise.
876 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
877 (__lll_unlock_elision): ... to here. And utilize
878 new adapt_count parameter.
879 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
880 (__lll_unlock_elision): Update to include adapt_count
881 parameter.
882 (lll_unlock_elision): Pass pointer to adapt_count
883 variable.
884
885 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
886
887 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
888 Add elision adapt_count parameter to list of arguments.
889 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
890 (lll_unlock_elision): Update with new parameter list
891 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
892 (lll_unlock_elision): Likewise
893 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
894 (lll_unlock_elision): Likewise
895
896 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
897
898 [BZ #19122]
899 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
900 attribute_hidden.
901
902 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
903 attribute_hidden.
904 [IS_IN (rtld)] (__strdup): Likewise.
905 [IS_IN (rtld)] (__strerror_r): Likewise.
906 [IS_IN (rtld)] (__strsep_g): Likewise.
907 [IS_IN (rtld)] (memchr): Likewise.
908 [IS_IN (rtld)] (memcmp): Likewise.
909 [IS_IN (rtld)] (memcpy): Likewise.
910 [IS_IN (rtld)] (memmove): Likewise.
911 [IS_IN (rtld)] (memset): Likewise.
912 [IS_IN (rtld)] (rawmemchr): Likewise.
913 [IS_IN (rtld)] (stpcpy): Likewise.
914 [IS_IN (rtld)] (strchr): Likewise.
915 [IS_IN (rtld)] (strcmp): Likewise.
916 [IS_IN (rtld)] (strlen): Likewise.
917 [IS_IN (rtld)] (strnlen): Likewise.
918 [IS_IN (rtld)] (strsep): Likewise.
919
920 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
921 attribute_hidden.
922 [IS_IN (rtld)] (__strtoul_internal): Likewise.
923
924 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
925 attribute_hidden.
926 [IS_IN (rtld)] (__libc_sigaction): Likewise.
927
928 * include/setjmp.h (__longjmp): Add attribute_hidden.
929 [IS_IN (rtld)] (__sigsetjmp): Likewise.
930
931 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
932 Add attribute_hidden.
933
934 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
935 [IS_IN (rtld)] (__open): Likewise.
936 [IS_IN (rtld)] (__fcntl): Likewise.
937
938 * include/dirent.h (__opendirat): Add attribute_hidden.
939 (__getdents): Likewise.
940 (__getdents64): Likewise.
941 (__alloc_dir): Likewise.
942 [IS_IN (rtld)] (__closedir): Likewise.
943 [IS_IN (rtld)] (__fdopendir): Likewise.
944 [IS_IN (rtld)] (__readdir): Likewise.
945 [IS_IN (rtld)] (__readdir64): Likewise.
946 [IS_IN (rtld)] (__rewinddir): Likewise.
947
948 * include/dlfcn.h (_dl_catch_error): Moved to ...
949 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
950 attribute_hidden.
951
952 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
953 (_itoa_word): Likewise.
954
955 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
956 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
957 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
958 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
959 (_dl_higher_prime_number): Likewise.
960 (_dl_debug_printf_c): Likewise.
961 (_dl_signal_cerror): Likewise.
962 (_dl_receive_error): Likewise.
963 (_dl_reloc_bad_type): Likewise.
964 (_dl_resolve_conflicts): Likewise.
965 (_dl_check_all_versions): Likewise.
966 (_dl_check_map_versions): Likewise.
967 (_dl_sort_fini): Likewise.
968 (_dl_debug_initialize): Likewise.
969 (_dl_init_paths): Likewise.
970 (_dl_show_auxv): Likewise.
971 (_dl_next_ld_env_entry): Likewise.
972 (_dl_important_hwcaps): Likewise.
973 (_dl_load_cache_lookup): Likewise.
974 (_dl_update_slotinfo): Likewise.
975 (_dl_show_scope): Likewise.
976
977 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
978 attribute_hidden.
979 (_wordcopy_fwd_dest_aligned): Likewise.
980 (_wordcopy_bwd_aligned): Likewise.
981 (_wordcopy_bwd_dest_aligned): Likewise.
982
983 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
984 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
985 Likewise.
986 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
987 Likewise.
988 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
989
990 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
991
992 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
993 GCC 5 requirement.
994
995 2015-10-15 Joseph Myers <joseph@codesourcery.com>
996
997 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
998 test.
999 * sysdeps/i386/configure: Regenerated.
1000 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
1001 code unconditional.
1002
1003 * configure.ac (libc_cv_asm_previous_directive): Remove configure
1004 test.
1005 (libc_cv_asm_popsection_directive): Likewise.
1006 * configure: Regenerated.
1007 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
1008 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
1009 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
1010 (__make_section_unallocated): Make definition unconditional.
1011 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
1012 Remove conditional definition.
1013 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
1014 (__make_section_unallocated): Likewise.
1015
1016 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
1017 * configure: Regenerated.
1018 * config.make.in (static-libgcc): Remove variable.
1019 * Makerules (build-shlib-helper): Use -static-libgcc instead of
1020 $(static-libgcc).
1021 (build-module-helper): Likewise.
1022
1023 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
1024 * configure: Regenerated.
1025
1026 2015-10-15 Florian Weimer <fweimer@redhat.com>
1027
1028 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
1029 (struct char_buffer): New type.
1030 (char_buffer_start, char_buffer_size, char_buffer_error)
1031 (char_buffer_rewind, char_buffer_add): New functions.
1032 (ADDW): Remove macro, replaced by the char_buffer_add function.
1033 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
1034 of extend_alloca. Make control flow more explicit.
1035
1036 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
1037
1038 [BZ #19137]
1039 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
1040 Add -fomit-frame-pointer.
1041 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
1042
1043 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
1044
1045 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
1046 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
1047 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
1048 only if !__GNUC_PREREQ (5,0).
1049 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
1050 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
1051 (INTERNAL_SYSCALL_NCS): Likewise.
1052 (LOADREGS_0): New macro for GCC 5.
1053 (ASMARGS_0): Likewise.
1054 (LOADREGS_1): Likewise.
1055 (ASMARGS_1): Likewise.
1056 (LOADREGS_2): Likewise.
1057 (ASMARGS_2): Likewise.
1058 (LOADREGS_3): Likewise.
1059 (ASMARGS_3): Likewise.
1060 (LOADREGS_4): Likewise.
1061 (ASMARGS_4): Likewise.
1062 (LOADREGS_5): Likewise.
1063 (ASMARGS_5): Likewise.
1064 (LOADREGS_6): Likewise.
1065 (ASMARGS_6): Likewise.
1066
1067 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
1068
1069 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
1070 -fomit-frame-pointer.
1071 (CFLAGS-mmap64.c): Likewise.
1072 (CFLAGS-semtimedop.c): Likewise.
1073 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
1074 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
1075 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1076 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1077
1078 2015-10-15 Florian Weimer <fweimer@redhat.com>
1079
1080 [BZ #18928]
1081 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
1082 _dl_pointer_guard member.
1083 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
1084 initializer.
1085 (security_init): Always set up pointer guard.
1086 (process_envvars): Do not process LD_POINTER_GUARD.
1087
1088 2015-10-14 Joseph Myers <joseph@codesourcery.com>
1089
1090 [BZ #19134]
1091 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
1092 (.LC2): Likewise.
1093 (.LC3): Likewise.
1094 (__lround): Do not add 0.5 to integer or out-of-range arguments.
1095
1096 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
1097
1098 [BZ #19129]
1099 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
1100 r0 and r1.
1101
1102 2015-10-14 Namhyung Kim <namhyung@gmail.com>
1103
1104 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
1105
1106 2015-10-14 Carlos O'Donell <carlos@redhat.com>
1107
1108 * include/stap-probe.h: Fix macro definition formatting.
1109
1110 2015-10-14 Florian Weimer <fweimer@redhat.com>
1111
1112 [BZ #19074]
1113 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
1114 load and store num_ifs.
1115
1116 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
1117
1118 [BZ #18822]
1119 * sysdeps/unix/sysv/linux/sched_getaffinity.c
1120 (__sched_getaffinity_new): Add libc_hidden_proto and
1121 libc_hidden_def.
1122
1123 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
1124
1125 [BZ #19007]
1126 * scripts/localplt.awk: Also allow GOT references.
1127 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
1128 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
1129 with "+ REL R_386_GLOB_DAT".
1130 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
1131 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
1132
1133 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
1134
1135 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
1136 INLINE_SYSCALL_ERROR_RETURN_VALUE.
1137 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
1138 Likewise.
1139 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
1140 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
1141 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
1142 INTERNAL_SYSCALLINTERNAL_SYSCALL and
1143 INLINE_SYSCALL_ERROR_RETURN_VALUE.
1144 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
1145 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1146 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
1147 Likewise.
1148 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1149
1150 2015-10-13 Joseph Myers <joseph@codesourcery.com>
1151
1152 [BZ #19125]
1153 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
1154 <math_private.h> and <stdint.h>.
1155 (__llround): Avoid conversions to and from long long int, and
1156 subtractions, where those might raise spurious exceptions.
1157 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
1158 <math_private.h> and <stdint.h>.
1159 (__llroundf): Avoid conversions to and from long long int, and
1160 subtractions, where those might raise spurious exceptions.
1161
1162 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
1163
1164 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
1165 INLINE_SYSCALL_ERROR_RETURN_VALUE.
1166 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1167 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
1168 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1169 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1170 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
1171 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
1172 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
1173 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1174 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1175 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1176 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
1177 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1178 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1179 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
1180 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
1181 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1182 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
1183 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
1184 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1185 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
1186 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
1187 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1188 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
1189 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1190 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
1191 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1192 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1193 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
1194 (__xstat64_conv): Likewise.
1195 (__xstat32_conv): Likewise.
1196
1197 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
1198
1199 * sysdeps/unix/sysv/linux/sysdep.h: New file.
1200 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
1201 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
1202 <sysdeps/unix/sysv/linux/sysdep.h>.
1203 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1204 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
1205 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
1206 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1207 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1208 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
1209 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
1210 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1211 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1214 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1215 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1216 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1217 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1218 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1219 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
1220 (sysdep-dl-routines): Add sysdep.
1221 [$(subdir) == nptl] (libpthread-routines): Likewise.
1222 [$(subdir) == rt] (librt-routines): Likewise.
1223 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
1224 PIC when branching to SYSCALL_ERROR_LABEL.
1225 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
1226 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
1227 <sysdeps/unix/sysv/linux/sysdep.h>.
1228 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
1229 (SYSCALL_ERROR_ERRNO): Removed.
1230 (SYSCALL_ERROR_HANDLER): Changed to empty.
1231 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
1232 (__syscall_error): New prototype.
1233 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
1234 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
1235
1236 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
1237
1238 [BZ #19124]
1239 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
1240 (_dl_runtime_resolve_avx512): Make it a hidden alias of
1241 _dl_runtime_resolve_avx.
1242 (_dl_runtime_profile_avx512): Make it a hidden alias of
1243 _dl_runtime_profile_avx.
1244
1245 2015-10-13 Joseph Myers <joseph@codesourcery.com>
1246
1247 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
1248 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
1249 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
1250 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
1251
1252 [BZ #16422]
1253 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
1254 New configure test.
1255 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
1256 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
1257 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
1258 <math_private.h> and <stdint.h>.
1259 (__llrint): Avoid conversions to long long int where those might
1260 raise spurious exceptions.
1261 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
1262 <math_private.h> and <stdint.h>.
1263 (__llrintf): Avoid conversions to long long int where those might
1264 raise spurious exceptions.
1265
1266 2015-10-12 Andreas Schwab <schwab@suse.de>
1267
1268 [BZ #18969]
1269 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
1270 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
1271 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
1272 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
1273 $(gen-locales).
1274 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
1275 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
1276 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
1277 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
1278 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
1279 $(gen-locales).
1280 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
1281 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
1282 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
1283 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
1284 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
1285 ($(objpfx)tst-ftell-active-handler.out)
1286 ($(objpfx)tst-ftell-append.out)
1287 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
1288 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
1289 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
1290 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
1291 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
1292 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
1293 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
1294 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
1295 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
1296 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
1297 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
1298 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
1299 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
1300 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
1301 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
1302 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
1303 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
1304 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
1305 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
1306 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
1307 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
1308 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
1309 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
1310 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
1311 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
1312 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
1313 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
1314 $(gen-locales).
1315 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
1316 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
1317 $(gen-locales).
1318 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
1319 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
1320 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
1321 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
1322 $(gen-locales).
1323 * libio/tst_wprintf2.c (main): Use explicit locale.
1324 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
1325
1326 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1327
1328 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
1329 __msg_sig_post.
1330 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
1331
1332 2015-10-09 Joseph Myers <joseph@codesourcery.com>
1333
1334 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1335 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1336
1337 * sysdeps/arm/libm-test-ulps: Regenerated.
1338
1339 [BZ #15470]
1340 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
1341
1342 [BZ #16399]
1343 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
1344 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
1345 and <fix-fp-int-convert-overflow.h>.
1346 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
1347 FIX_DBL_LLONG_CONVERT_OVERFLOW.
1348 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
1349 and <fix-fp-int-convert-overflow.h>.
1350 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
1351 FIX_DBL_LLONG_CONVERT_OVERFLOW.
1352 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
1353 <fix-fp-int-convert-overflow.h>.
1354 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
1355 FIX_DBL_LLONG_CONVERT_OVERFLOW.
1356 * sysdeps/ieee754/dbl-64/s_lround.c: Include
1357 <fix-fp-int-convert-overflow.h>.
1358 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
1359 FIX_DBL_LLONG_CONVERT_OVERFLOW.
1360 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
1361 and <fix-fp-int-convert-overflow.h>.
1362 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
1363 FIX_DBL_LLONG_CONVERT_OVERFLOW.
1364 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
1365 <limits.h> and <fix-fp-int-convert-overflow.h>.
1366 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
1367 FIX_DBL_LLONG_CONVERT_OVERFLOW.
1368 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
1369 and <fix-fp-int-convert-overflow.h>.
1370 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
1371 FIX_DBL_LLONG_CONVERT_OVERFLOW.
1372 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
1373 and <fix-fp-int-convert-overflow.h>.
1374 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
1375 FIX_DBL_LLONG_CONVERT_OVERFLOW.
1376 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
1377
1378 2015-10-09 Carlos O'Donell <carlos@redhat.com>
1379
1380 [BZ #18589]
1381 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
1382 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
1383 $(gen-locales).
1384
1385 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1386 Phil Blundell <pb@pbcl.net>
1387
1388 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
1389 * nptl/tst-cancel26.c: New file.
1390 * nptl/tst-cancel27.c: Likewise.
1391
1392 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
1393
1394 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
1395 __ILP32__ isn't defined.
1396 (lrint): Likewise.
1397 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
1398 (lrintf): Likewise.
1399 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
1400 (lrintl): Likewise.
1401 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
1402 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
1403 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
1404
1405 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1406
1407 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1408 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1409
1410 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
1411 file.
1412 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
1413 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
1414
1415 2015-10-09 Joseph Myers <joseph@codesourcery.com>
1416
1417 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
1418 configure test.
1419 * sysdeps/i386/configure: Regenerated.
1420 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
1421 configure test.
1422 * sysdeps/x86_64/configure: Regenerated.
1423 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
1424 Make code unconditional.
1425
1426 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
1427 test.
1428 * sysdeps/i386/configure: Regenerated.
1429 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
1430 test.
1431 * sysdeps/x86_64/configure: Regenerated.
1432 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
1433 Make code unconditional.
1434 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1435 Likewise.
1436 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
1437 Likewise.
1438 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1439 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
1440 code unconditional.
1441 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1442 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
1443 code unconditional.
1444 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1445 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
1446 code unconditional.
1447 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
1448 code unconditional.
1449 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1450 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
1451 code unconditional.
1452 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1453 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
1454 code unconditional.
1455 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1456 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
1457 code unconditional.
1458 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1459 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
1460 code unconditional.
1461 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1462 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
1463
1464 [BZ #19095]
1465 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
1466 mantissa to long int before shifting left.
1467
1468 2015-10-08 Joseph Myers <joseph@codesourcery.com>
1469
1470 [BZ #19094]
1471 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
1472 <limits.h>.
1473 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
1474 when result overflows but exception would not result from cast.
1475 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
1476 <limits.h>.
1477 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
1478 when result overflows but exception would not result from cast.
1479 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
1480 <limits.h>.
1481 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
1482 when result overflows but exception would not result from cast.
1483 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
1484 <limits.h>.
1485 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
1486 when result overflows but exception would not result from cast.
1487 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
1488 <limits.h>.
1489 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
1490 when result overflows but exception would not result from cast.
1491 * math/libm-test.inc (lrint_test_data): Add more tests.
1492 (llrint_test_data): Likewise.
1493
1494 2015-10-08 Roland McGrath <roland@hack.frob.com>
1495
1496 [BZ #18872]
1497 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
1498 Move out from under [$(run-built-tests) = yes] conditional.
1499 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
1500 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
1501
1502 2015-10-08 Carlos O'Donell <carlos@redhat.com>
1503
1504 [BZ #18589]
1505 * string/Makefile (tests): Add bug-strcoll2.
1506 (LOCALES): Add cs_CZ.UTF-8.
1507 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
1508
1509 [BZ #18589]
1510 * string/bug-strcoll2.c: New file.
1511 * locale/categories.def: Revert commit
1512 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
1513 * locale/langinfo.h: Likewise.
1514 * locale/localeinfo.h: Likewise.
1515 * locale/C-collate.c: Likewise.
1516 * locale/programs/ld-collate.c (collate_output): Likewise.
1517 * string/strcoll_l.c (STRDIFF): Likewise.
1518 (STRCOLL): Likewise.
1519 * wcsmbs/wcscoll_l.c: Likewise.
1520
1521 2015-10-08 Joseph Myers <joseph@codesourcery.com>
1522
1523 * math/libm-test.inc (lround_test_data): Do not expect the absence
1524 of "inexact" for some tests with non-integer arguments.
1525 (llround_test_data): Likewise.
1526
1527 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
1528 test.
1529 (libc_cv_cc_sse2avx): Likewise.
1530 * sysdeps/i386/configure: Regenerated.
1531 * sysdeps/i386/i686/multiarch/Makefile
1532 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
1533 [$(subdir) = math].
1534 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
1535 code unconditional.
1536 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
1537 Likewise.
1538 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
1539 Likewise.
1540 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
1541 Likewise.
1542 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
1543 test.
1544 (libc_cv_cc_sse2avx): Likewise.
1545 * sysdeps/x86_64/configure: Regenerated.
1546 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
1547 unconditional.
1548 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
1549 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
1550 unconditional.
1551 (_dl_runtime_profile)
1552 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
1553 conditional code.
1554 * sysdeps/x86_64/fpu/multiarch/Makefile
1555 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
1556 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1557 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1558 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1559 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1560 * sysdeps/x86_64/fpu/multiarch/e_log.c
1561 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1562 * sysdeps/x86_64/fpu/multiarch/s_atan.c
1563 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1564 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
1565 Likewise.
1566 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
1567 Likewise.
1568 * sysdeps/x86_64/fpu/multiarch/s_sin.c
1569 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1570 * sysdeps/x86_64/fpu/multiarch/s_tan.c
1571 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1572 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
1573 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
1574 (HAVE_SSE2AVX_SUPPORT): Likewise.
1575
1576 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1577
1578 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
1579 instead of #pragma optimize.
1580
1581 2015-10-07 Carlos O'Donell <carlos@redhat.com>
1582
1583 [BZ #17195]
1584 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
1585 as is similarly done in systrim and _int_free already.
1586
1587 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1588
1589 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
1590
1591 2015-10-07 Joseph Myers <joseph@codesourcery.com>
1592
1593 [BZ #19088]
1594 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
1595 <limits.h>.
1596 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
1597 overflows but exception would not result from cast.
1598 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
1599 and <limits.h>.
1600 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
1601 overflows but exception would not result from cast.
1602 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
1603 <limits.h>.
1604 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
1605 overflows but exception would not result from cast.
1606 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
1607 <limits.h>.
1608 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
1609 overflows but exception would not result from cast.
1610 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
1611 <limits.h>.
1612 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
1613 overflows but exception would not result from cast.
1614 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
1615 <limits.h>.
1616 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
1617 overflows but exception would not result from cast.
1618 * math/libm-test.inc (lround_test_data): Add more tests.
1619 (llround_test_data): Likewise.
1620
1621 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
1622
1623 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
1624 (CFLAGS-ialloc.c): Ditto.
1625 (CFLAGS-scheck.c): Ditto.
1626
1627 2015-10-07 Carlos O'Donell <carlos@redhat.com>
1628
1629 [BZ #19086]
1630 * manual/filesys.texi (Storage Allocation): Fix argument order for
1631 posix_fallocate64.
1632
1633 2015-10-07 Joseph Myers <joseph@codesourcery.com>
1634
1635 [BZ #19085]
1636 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
1637 exponent below 48 inside case for non-overflowing exponent.
1638 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
1639
1640 2015-10-07 Florian Weimer <fweimer@redhat.com>
1641
1642 * iconvdata/cp737.h (from_idx): Add const.
1643 * iconvdata/cp775.h (from_idx): Likewise.
1644
1645 2015-10-07 Joseph Myers <joseph@codesourcery.com>
1646
1647 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
1648 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
1649 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
1650
1651 [BZ #19079]
1652 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
1653 file, conditioned on [!_LP64].
1654 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
1655 [!_LP64] (__lround): Do not define as function or alias.
1656 [!_LP64] (lround): Likewise.
1657 [!_LP64] (__lroundl): Likewise.
1658 [!_LP64] (lroundl): Likewise.
1659 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
1660 macro.
1661 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1662 Likewise.
1663
1664 2015-10-06 Joseph Myers <joseph@codesourcery.com>
1665
1666 * math/libm-test.inc (lrint_test_data): Add more tests.
1667 (llrint_test_data): Likewise.
1668 (lround_test_data): Likewise.
1669 (llround_test_data): Likewise.
1670
1671 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
1672 (llrint_test_data): Add tests used for lrint.
1673
1674 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
1675 test.
1676 * sysdeps/i386/configure: Regenerated.
1677 * sysdeps/i386/i686/multiarch/Makefile
1678 [$(config-cflags-sse4) = yes]: Make code unconditional.
1679 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
1680 Likewise.
1681 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
1682 Likewise.
1683 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
1684 test.
1685 * sysdeps/x86_64/configure: Regenerated.
1686 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
1687 Make code unconditional.
1688 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
1689 Likewise.
1690 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
1691 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
1692
1693 * scripts/rpm2dynsym.sh: Remove file.
1694
1695 2015-10-06 Florian Weimer <fweimer@redhat.com>
1696
1697 * configure.ac (libc_cv_cxx_thread_local): Define.
1698 * configure: Regenerate.
1699 * config.make.in (have-cxx-thread_local): Define.
1700 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
1701 (LDLIBS-tst-thread_local1): Define.
1702 (tests): Add tst-thread_local1.
1703 [have-cxx-thread_local != yes] (tests-unsupported): Add
1704 tst-thread_local1.
1705 * nptl/tst-thread_local1.cc: New file.
1706
1707 2015-10-06 Joseph Myers <joseph@codesourcery.com>
1708
1709 [BZ #19078]
1710 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
1711 (u_thres): Likewise.
1712 (__expl): Determine whether to call __kernel_standard_l based on
1713 value of result, not argument.
1714
1715 * math/libm-test.inc (scalb_test_data): Add more expectations for
1716 the "inexact" exception.
1717
1718 [BZ #19077]
1719 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
1720 0.0L for argument 1.0L.
1721
1722 [BZ #19076]
1723 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
1724 constant 0.0L when computing infinite result.
1725
1726 2015-10-06 Florian Weimer <fweimer@redhat.com>
1727
1728 [BZ #10432]
1729 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
1730 malloc_usable_size.
1731
1732 2015-10-06 Florian Weimer <fweimer@redhat.com>
1733
1734 [BZ #19018]
1735 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1736 Mangle function pointer before storing it.
1737 (__call_tls_dtors): Demangle function pointer before calling it.
1738
1739 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1740
1741 [BZ #19012]
1742 * iconv/gconv_db.c (gen_steps): Check for additional errors.
1743 Clean up on failure.
1744
1745 2015-10-05 Joseph Myers <joseph@codesourcery.com>
1746
1747 [BZ #19071]
1748 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
1749 long int variable to store possibly incremented high part of
1750 mantissa.
1751 * math/libm-test.inc (lround_test_data): Add tests used for
1752 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
1753 for tests requiring 64-bit long. Do not condition tests on
1754 [TEST_FLOAT] unnecessarily.
1755 (llround_test_data): Add tests used for lround. Add another
1756 expectation for the "inexact" exception. Do not condition tests
1757 on [TEST_FLOAT] unnecessarily.
1758
1759 [BZ #887]
1760 [BZ #19049]
1761 [BZ #19050]
1762 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
1763 * sysdeps/ieee754/dbl-64/e_log10.c: Include
1764 <fix-int-fp-convert-zero.h>.
1765 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1766 * sysdeps/ieee754/dbl-64/e_log2.c: Include
1767 <fix-int-fp-convert-zero.h>.
1768 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1769 * sysdeps/ieee754/dbl-64/s_erf.c: Include
1770 <fix-int-fp-convert-zero.h>.
1771 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1772 * sysdeps/ieee754/dbl-64/s_logb.c: Include
1773 <fix-int-fp-convert-zero.h>.
1774 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1775 * sysdeps/ieee754/flt-32/e_log10f.c: Include
1776 <fix-int-fp-convert-zero.h>.
1777 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1778 * sysdeps/ieee754/flt-32/e_log2f.c: Include
1779 <fix-int-fp-convert-zero.h>.
1780 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1781 * sysdeps/ieee754/flt-32/s_erff.c: Include
1782 <fix-int-fp-convert-zero.h>.
1783 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1784 * sysdeps/ieee754/flt-32/s_logbf.c: Include
1785 <fix-int-fp-convert-zero.h>.
1786 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1787 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
1788 <fix-int-fp-convert-zero.h>.
1789 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1790 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
1791 <fix-int-fp-convert-zero.h>.
1792 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
1793 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
1794 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
1795 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
1796 file.
1797 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
1798
1799 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
1800
1801 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1802
1803 2015-10-02 Joseph Myers <joseph@codesourcery.com>
1804
1805 [BZ #19059]
1806 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
1807 overflowing computation.
1808 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1809 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
1810 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1811 Likewise.
1812 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1813 Likewise.
1814 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
1815 Likewise.
1816 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1817 Likewise.
1818 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1819 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1820 Likewise.
1821 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1822 Likewise.
1823 * math/libm-test.inc (nexttoward_test_data): Add more tests.
1824
1825 * nss/rewrite_field.c (__nss_rewrite_field): Use
1826 internal_function.
1827 * nss/valid_field.c (__nss_valid_field): Likewise.
1828 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
1829
1830 2015-10-02 Florian Weimer <fweimer@redhat.com>
1831
1832 [BZ #18724]
1833 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
1834 (__nss_invalid_field_characters, __nss_valid_field)
1835 (__nss_valid_list_field, __nss_rewrite_field): Declare.
1836 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
1837 tst-field.c: New file.
1838 * nss/Makefile (routines): Add valid_field, rewrite_field.
1839 (tests-static): Define unconditionally.
1840 (tests): Include tests-static.
1841 [build-static-nss] (tests-static): Use append.
1842 [build-static-nss] (tests): Remove modification.
1843 * nss/getent.c (print_group): Call putgrent. Report error.
1844 (print_gshadow): Call putsgent. Report error.
1845 (print_passwd): Call putpwent. Report error.
1846 (print_shadow): Call putspent. Report error.
1847 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
1848 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
1849 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
1850 name, password, directory, shell fields for valid syntax. Rewrite
1851 GECOS field to match syntax.
1852 * pwd/Makefile (tests): Add tst-putpwent.
1853 * pwd/tst-putpwent.c: New file.
1854 * grp/putgrent.c (putgrent): Convert to ISO function definition.
1855 Check grName, grpasswd, gr_mem fields for valid syntax.
1856 Change loop variable i to size_t.
1857 * grp/Makefile (tests): Add tst-putgrent.
1858 * grp/tst-putgrent.c: New file.
1859 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
1860 valid syntax.
1861 * shadow/Makefile (tests): Add tst-putspent.
1862 * shadow/tst-putspent.c: New file.
1863 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
1864 sg_mem fields for valid syntax.
1865 * gshadow/Makefile (tests): Add tst-putsgent.
1866 * gshadow/tst-putsgent.c: New file.
1867
1868 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1869
1870 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
1871 assembly instructions.
1872
1873 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1874
1875 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
1876 prefix from operands.
1877
1878 2015-10-01 Joseph Myers <joseph@codesourcery.com>
1879
1880 [BZ #16347]
1881 [BZ #19046]
1882 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
1883 <libc-internal.h>.
1884 (MAXLGM): Do not use diagnostic control macros.
1885 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
1886 threshold for ldbl-128ibm.
1887 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
1888 instead of multiplying by log then subtracting.
1889 * math/auto-libm-test-in: Add more tests of lgamma.
1890 * math/auto-libm-test-out: Regenerated.
1891
1892 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
1893 (TYPE_HEX_DIG): Likewise.
1894 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
1895 precisions when printing floating-point numbers.
1896 (check_float_internal): Likewise.
1897
1898 2015-09-30 Joseph Myers <joseph@codesourcery.com>
1899
1900 [BZ #16620]
1901 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
1902 of log (10) rounded downward to 48 bits.
1903 (log10_low): Use corresponding low part of log (10).
1904
1905 [BZ #19032]
1906 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
1907 compute result as (x - x) / (x - x) not as 0 / 0.
1908 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1909 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
1910
1911 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1912 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
1913 and expm1.
1914 * math/auto-libm-test-out: Regenerated.
1915 * math/libm-test.inc (acos_test_data): Add more tests.
1916 (asin_test_data): Likewise.
1917 (asinh_test_data): Likewise.
1918 (atan_test_data): Likewise.
1919 (atanh_test_data): Likewise.
1920 (atan2_test_data): Likewise.
1921 (cbrt_test_data): Likewise.
1922 (ceil_test_data): Likewise.
1923 (copysign_test_data): Likewise.
1924 (cos_test_data): Likewise.
1925 (cosh_test_data): Likewise.
1926 (erf_test_data): Likewise.
1927 (erfc_test_data): Likewise.
1928 (exp_test_data): Likewise.
1929 (exp10_test_data): Likewise.
1930 (exp2_test_data): Likewise.
1931 (expm1_test_data): Likewise.
1932 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1933
1934 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
1935
1936 [BZ #19006]
1937 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
1938 to ...
1939 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
1940 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
1941 to ...
1942 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
1943 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
1944 to ...
1945 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
1946 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
1947 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
1948 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
1949 to ...
1950 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
1951 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1952 Moved to ...
1953 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
1954 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1955 Moved to ...
1956 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
1957 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
1958 to ...
1959 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
1960 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1961 Moved to ...
1962 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
1963 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
1964 to ...
1965 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
1966 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
1967 Removed.
1968 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
1969 Likewise.
1970 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
1971 Likewise.
1972 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
1973 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
1974 Likewise.
1975 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1976 Likewise.
1977 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1978 Likewise.
1979 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1980 Likewise.
1981 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1982 Likewise.
1983 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
1984 Likewise.
1985 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
1986 Likewise.
1987 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
1988 Likewise.
1989 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
1990 Likewise.
1991 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
1992 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
1993 Likewise.
1994 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1995 Likewise.
1996 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1997 Likewise.
1998 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1999 Likewise.
2000 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
2001 Likewise.
2002 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2003 Replace ../i486/pthread_cond_timedwait.S with
2004 ../pthread_cond_timedwait.S.
2005
2006 2015-09-30 Joseph Myers <joseph@codesourcery.com>
2007
2008 * math/libm-test.inc (acos_test_data): Refine expectations for
2009 errno and "inexact" exceptions.
2010 (acosh_test_data): Likewise.
2011 (asin_test_data): Likewise.
2012 (asinh_test_data): Likewise.
2013 (atan_test_data): Likewise.
2014 (atanh_test_data): Likewise.
2015 (atan2_test_data): Likewise.
2016 (cbrt_test_data): Likewise.
2017 (ceil_test_data): Likewise.
2018 (copysign_test_data): Likewise.
2019 (cosh_test_data): Likewise.
2020 (erf_test_data): Likewise.
2021 (erfc_test_data): Likewise.
2022 (exp_test_data): Likewise.
2023 (exp10_test_data): Likewise.
2024 (exp2_test_data): Likewise.
2025 (expm1_test_data): Likewise.
2026 (fabs_test_data): Likewise.
2027 (floor_test_data): Likewise.
2028 (fma_test_data): Likewise.
2029 (fmax_test_data): Likewise.
2030 (fmin_test_data): Likewise.
2031 (fmod_test_data): Likewise.
2032 (fpclassify_test_data): Likewise.
2033 (frexp_test_data): Likewise.
2034 (hypot_test_data): Likewise.
2035 (ilogb_test_data): Likewise.
2036 (isgreater_test_data): Likewise.
2037 (isgreaterequal_test_data): Likewise.
2038 (isinf_test_data): Likewise.
2039 (isless_test_data): Likewise.
2040 (islessequal_test_data): Likewise.
2041 (islessgreater_test_data): Likewise.
2042 (isnan_test_data): Likewise.
2043 (isnormal_test_data): Likewise.
2044 (issignaling_test_data): Likewise.
2045 (isunordered_test_data): Likewise.
2046 (j0_test_data): Likewise.
2047 (j1_test_data): Likewise.
2048 (jn_test_data): Likewise.
2049 (lgamma_test_data): Likewise.
2050 (lrint_test_data): Likewise.
2051 (llrint_test_data): Likewise.
2052 (log_test_data): Likewise.
2053 (log10_test_data): Likewise.
2054 (log1p_test_data): Likewise.
2055 (log2_test_data): Likewise.
2056 (logb_test_data): Likewise.
2057 (lround_test_data): Likewise.
2058 (llround_test_data): Likewise.
2059 (modf_test_data): Likewise.
2060 (nearbyint_test_data): Likewise.
2061 (nextafter_test_data): Likewise.
2062 (nexttoward_test_data): Likewise.
2063 (pow_test_data): Likewise.
2064 (remainder_test_data): Likewise.
2065 (remquo_test_data): Likewise.
2066 (rint_test_data): Likewise.
2067 (round_test_data): Likewise.
2068 (signbit_test_data): Likewise.
2069 (sinh_test_data): Likewise.
2070 (sqrt_test_data): Likewise.
2071 (tanh_test_data): Likewise.
2072 (tgamma_test_data): Likewise.
2073 (trunc_test_data): Likewise.
2074 (y0_test_data): Likewise.
2075 (y1_test_data): Likewise.
2076 (yn_test_data): Likewise.
2077 (significand_test_data): Likewise.
2078
2079 2015-09-29 Carlos O'Donell <carlos@redhat.com>
2080
2081 * manual/filesys.texi (Storage Allocation): Document that
2082 posix_fallocate emulation fails when fd is open with O_WRONLY.
2083
2084 2015-09-28 Joseph Myers <joseph@codesourcery.com>
2085
2086 [BZ #19016]
2087 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
2088 allow more cases with X^2 + Y^2 >= 0.5.
2089 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
2090 normal element in sum instead of special-casing based on values of
2091 arguments.
2092 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
2093 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
2094 -1 as normal element in sum instead of special-casing based on
2095 values of arguments.
2096 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
2097 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
2098 (__x2y2m1): Update comment.
2099 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
2100 as normal element in sum instead of special-casing based on values
2101 of arguments.
2102 * math/s_clog.c (__clog): Handle more cases using log1p without
2103 hypot.
2104 * math/s_clog10.c (__clog10): Likewise.
2105 * math/s_clog10f.c (__clog10f): Likewise.
2106 * math/s_clog10l.c (__clog10l): Likewise.
2107 * math/s_clogf.c (__clogf): Likewise.
2108 * math/s_clogl.c (__clogl): Likewise.
2109 * math/auto-libm-test-in: Add more tests of clog and clog10.
2110 * math/auto-libm-test-out: Regenerated.
2111 * sysdeps/i386/fpu/libm-test-ulps: Update.
2112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2113
2114 2015-09-28 Martin Sebor <msebor@redhat.com>
2115
2116 [BZ #18969]
2117 * string/Makefile (LOCALES): Define.
2118 (gen-locales.mk): Include.
2119 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
2120 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
2121 * string/tst-strxfrm2.c (do_test): Print the name of the locale
2122 on setlocale failure.
2123
2124 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2125
2126 [BZ #18985]
2127 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
2128 (__strftime_internal): Likewise.
2129 * time/tst-strftime.c (do_bz18985): New test.
2130 (do_test): Call it.
2131
2132 2015-09-26 Joseph Myers <joseph@codesourcery.com>
2133
2134 [BZ #18956]
2135 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
2136 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
2137 extracting high part.
2138 * math/auto-libm-test-in: Add another test of pow.
2139 * math/auto-libm-test-out: Regenerated.
2140 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2141
2142 2015-09-25 Joseph Myers <joseph@codesourcery.com>
2143
2144 [BZ #18825]
2145 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
2146 New macro.
2147 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
2148 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2149 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
2150 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
2151 DBL_NARROW_EVAL, reloading the PIC register as needed.
2152 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
2153 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
2154 FLT_NARROW_EVAL. Use separate return path for case when first
2155 argument is NaN.
2156 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
2157 DEFINE_LDBL_MIN.
2158 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
2159 PIC register.
2160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
2161 math_check_force_underflow_nonneg.
2162 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
2163 underflow for subnormal result.
2164 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2165 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
2166 math_check_force_underflow_nonneg.
2167 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
2168 math_check_force_underflow.
2169 * sysdeps/x86_64/fpu/x86_64-math-asm.h
2170 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
2171 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
2172 DEFINE_LDBL_MIN.
2173 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
2174 * math/auto-libm-test-in: Add more tests of pow.
2175 * math/auto-libm-test-out: Regenerated.
2176
2177 2015-09-25 Florian Weimer <fweimer@redhat.com>
2178
2179 * nss/bug17079.c (init_test_items): Add diagnostic for
2180 inconsistent entries.
2181 (test_buffer_size): Skip inconsistent entries.
2182
2183 2015-09-25 Joseph Myers <joseph@codesourcery.com>
2184
2185 [BZ #13304]
2186 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
2187 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
2188 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
2189
2190 [BZ #13304]
2191 * sysdeps/microblaze/s_fma.c: New file.
2192 * sysdeps/microblaze/s_fmaf.c: Likewise.
2193 * sysdeps/microblaze/sfp-machine.h: Likewise.
2194
2195 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
2196
2197 [BZ #17250]
2198 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
2199 member.
2200
2201 2015-09-24 Joseph Myers <joseph@codesourcery.com>
2202
2203 [BZ #18803]
2204 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
2205 (MO): New macro.
2206 (__ieee754_hypot) [PIC]: Load PIC register.
2207 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
2208 DBL_NARROW_EVAL.
2209 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
2210 math_check_force_underflow_nonneg in case where result might be
2211 tiny.
2212 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2213 Likewise.
2214 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2215 Likewise.
2216 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2217 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
2218 * math/auto-libm-test-in: Add more tests of hypot.
2219 * math/auto-libm-test-out: Regenerated.
2220
2221 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
2222
2223 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
2224
2225 2015-09-24 Joseph Myers <joseph@codesourcery.com>
2226
2227 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
2228 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
2229 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
2230 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
2231 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
2232 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
2233 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
2234
2235 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
2236 LOAD_PIC_REG.
2237
2238 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
2239 (FLT_CHECK_FORCE_UFLOW): Likewise.
2240 (DBL_CHECK_FORCE_UFLOW): Likewise.
2241 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
2242 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
2243 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
2244 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2245 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2246 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
2247 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
2248 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
2249 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
2250 (dbl_min): Replace with use of DEFINE_DBL_MIN.
2251 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
2252 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
2253 (flt_min): Replace with use of DEFINE_FLT_MIN.
2254 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
2255 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
2256 (dbl_min): Replace with use of DEFINE_DBL_MIN.
2257 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
2258 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
2259 (flt_min): Replace with use of DEFINE_FLT_MIN.
2260 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
2261 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
2262 (dbl_min): Replace with use of DEFINE_DBL_MIN.
2263 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
2264 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
2265 (flt_min): Replace with use of DEFINE_FLT_MIN.
2266 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
2267 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
2268 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
2269 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
2270 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
2271 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
2272 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
2273 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
2274 (dbl_min): Replace with use of DEFINE_DBL_MIN.
2275 (__atan): Use DBL_CHECK_FORCE_UFLOW.
2276 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
2277 (flt_min): Replace with use of DEFINE_FLT_MIN.
2278 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
2279 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
2280 (dbl_min): Replace with use of DEFINE_DBL_MIN.
2281 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
2282 main computation.
2283 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
2284 (flt_min): Replace with use of DEFINE_FLT_MIN.
2285 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
2286 main computation.
2287 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
2288 (dbl_min): Replace with use of DEFINE_DBL_MIN.
2289 (MO): New macro.
2290 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
2291 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
2292 (flt_min): Replace with use of DEFINE_FLT_MIN.
2293 (MO): New macro.
2294 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
2295 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
2296 (__log1pl): Use MO.
2297
2298 [BZ #19003]
2299 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
2300 $(config-cflags-nofma).
2301
2302 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2303
2304 * sysdeps/aarch64/libm-test-ulps: Regenerated.
2305
2306 2015-09-23 Joseph Myers <joseph@codesourcery.com>
2307
2308 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
2309 (TWO127): Likewise.
2310
2311 * sysdeps/generic/math_private.h (fabs_tg): New macro.
2312 (min_of_type): Likewise.
2313 (math_check_force_underflow): Likewise.
2314 (math_check_force_underflow_nonneg): Likewise.
2315 (math_check_force_underflow_complex): Likewise.
2316 * math/e_exp2l.c (__ieee754_exp2l): Use
2317 math_check_force_underflow_nonneg.
2318 * math/k_casinh.c (__kernel_casinh): Likewise.
2319 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2320 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2321 * math/s_catan.c (__catan): Use
2322 math_check_force_underflow_complex.
2323 * math/s_catanf.c (__catanf): Likewise.
2324 * math/s_catanh.c (__catanh): Likewise.
2325 * math/s_catanhf.c (__catanhf): Likewise.
2326 * math/s_catanhl.c (__catanhl): Likewise.
2327 * math/s_catanl.c (__catanl): Likewise.
2328 * math/s_ccosh.c (__ccosh): Likewise.
2329 * math/s_ccoshf.c (__ccoshf): Likewise.
2330 * math/s_ccoshl.c (__ccoshl): Likewise.
2331 * math/s_cexp.c (__cexp): Likewise.
2332 * math/s_cexpf.c (__cexpf): Likewise.
2333 * math/s_cexpl.c (__cexpl): Likewise.
2334 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
2335 * math/s_clog10.c (__clog10): Likewise.
2336 * math/s_clog10f.c (__clog10f): Likewise.
2337 * math/s_clog10l.c (__clog10l): Likewise.
2338 * math/s_clogf.c (__clogf): Likewise.
2339 * math/s_clogl.c (__clogl): Likewise.
2340 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
2341 * math/s_csinf.c (__csinf): Likewise.
2342 * math/s_csinh.c (__csinh): Likewise.
2343 * math/s_csinhf.c (__csinhf): Likewise.
2344 * math/s_csinhl.c (__csinhl): Likewise.
2345 * math/s_csinl.c (__csinl): Likewise.
2346 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
2347 * math/s_csqrtf.c (__csqrtf): Likewise.
2348 * math/s_csqrtl.c (__csqrtl): Likewise.
2349 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
2350 * math/s_ctanf.c (__ctanf): Likewise.
2351 * math/s_ctanh.c (__ctanh): Likewise.
2352 * math/s_ctanhf.c (__ctanhf): Likewise.
2353 * math/s_ctanhl.c (__ctanhl): Likewise.
2354 * math/s_ctanl.c (__ctanl): Likewise.
2355 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
2356 instead of volatile.
2357 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
2358 math_check_force_underflow.
2359 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2360 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
2361 volatile when forcing underflow.
2362 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2363 math_check_force_underflow_nonneg.
2364 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
2365 Likewise.
2366 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
2367 math_check_force_underflow.
2368 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2369 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2370 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2371 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
2372 math_check_force_underflow_nonneg.
2373 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
2374 math_check_force_underflow.
2375 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
2376 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
2377 instead of volatile.
2378 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
2379 math_check_force_underflow.
2380 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
2381 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2382 math_check_force_underflow_nonneg.
2383 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
2384 math_check_force_underflow.
2385 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
2386 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2387 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
2388 math_check_force_underflow_nonneg.
2389 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
2390 Likewise.
2391 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
2392 math_check_force_underflow.
2393 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2394 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
2395 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
2396 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
2397 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
2398 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
2399 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
2400 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
2401 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2402 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
2403 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
2404 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
2405 Likewise.
2406 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
2407 math_check_force_underflow_nonneg.
2408 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
2409 Likewise.
2410 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
2411 math_check_force_underflow.
2412 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2413 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
2414 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2415 Likewise.
2416 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
2417 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
2418 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
2419 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
2420 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
2421 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
2422 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
2423 instead of volatile.
2424 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
2425 math_check_force_underflow.
2426 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
2427 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
2428 math_check_force_underflow.
2429 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
2430 Likewise.
2431 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2432 Use math_check_force_underflow_nonneg.
2433 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
2434 math_check_force_underflow.
2435 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2436 Likewise.
2437 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2438 Likewise.
2439 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2440 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2441 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2442 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2443 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
2444 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2445 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
2446 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
2447 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
2448 math_check_force_underflow_nonneg.
2449 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
2450 math_check_force_underflow.
2451 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2452 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
2453 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
2454 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
2455 math_check_force_underflow_nonneg.
2456 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
2457 math_check_force_underflow.
2458 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
2459 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
2460 instead of volatile.
2461 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
2462 math_check_force_underflow.
2463
2464 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
2465 * stdlib/strtod_l.c: Include <math_private.h>.
2466 (overflow_value): Use math_narrow_eval.
2467 (underflow_value): Likewise.
2468 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2469 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
2470 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
2471 (__ieee754_gamma_r): Likewise.
2472 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
2473 Likewise.
2474 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2475 Likewise.
2476 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
2477 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
2478 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
2479 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
2480 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
2481 (__ieee754_gammaf_r): Likewise.
2482 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2483 Likewise.
2484 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
2485 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
2486 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
2487 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
2488 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
2489 volatile.
2490 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
2491 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
2492 math_narrow_eval.
2493 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
2494 Likewise.
2495 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2496 Likewise.
2497 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
2498 Likewise.
2499 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
2500 volatile.
2501 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
2502 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
2503 math_narrow_eval.
2504 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2505 Likewise.
2506 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2507 Likewise.
2508
2509 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
2510
2511 * nptl/Versions: Remove ignored symbols.
2512
2513 2015-09-22 Florian Weimer <fweimer@redhat.com>
2514
2515 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
2516 * nss/Makefile (tests): Update.
2517
2518 2015-09-22 Florian Weimer <fweimer@redhat.com>
2519
2520 * nss/bug18287.c: New file.
2521 * nss/Makefile (tests): Add bug18287.
2522
2523 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2524
2525 * mach/Versions (__mach_host_self_): Add symbol.
2526
2527 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
2528
2529 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
2530 vm_page_size.
2531
2532 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
2533
2534 Really fix sysdeps/i386/fpu/s_scalbn.S build
2535
2536 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
2537 (libc: GLIBC_2_22): Remove unused version set.
2538
2539 2015-09-18 Mike Frysinger <vapier@gentoo.org>
2540
2541 * config.make.in (enable-timezone-tools): New variable.
2542 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
2543 (enable_timezone_tools): Export to generated files.
2544 * configure: Regenerate.
2545 * INSTALL: Regenerate.
2546 * manual/install.texi (--disable-timezone-tools): Document new flag.
2547 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
2548 ifeq ($(enable-timezone-tools),yes) check.
2549
2550 2015-09-18 Joseph Myers <joseph@codesourcery.com>
2551
2552 * timezone/Makefile: Revert previous change.
2553
2554 [BZ #18980]
2555 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
2556 (DEFINE_DBL_MIN): Likewise.
2557 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
2558 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
2559 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
2560 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
2561 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
2562 (dbl_min): Replace with use of DEFINE_DBL_MIN.
2563 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
2564 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
2565 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
2566 (dbl_min): Replace with use of DEFINE_DBL_MIN.
2567 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
2568 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
2569 (flt_min): Replace with use of DEFINE_FLT_MIN.
2570 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
2571 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
2572 (dbl_min): Replace with use of DEFINE_DBL_MIN.
2573 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
2574 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
2575 (flt_min): Replace with use of DEFINE_FLT_MIN.
2576 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
2577 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
2578 (flt_min): Replace with use of DEFINE_FLT_MIN.
2579 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
2580 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
2581 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
2582 (__ieee754_hypot): Use DBL_NARROW_EVAL.
2583 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
2584 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
2585 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
2586 (__ieee754_pow): Use DBL_NARROW_EVAL.
2587 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
2588 (__ieee754_powf): Use FLT_NARROW_EVAL.
2589 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
2590 (__ieee754_expf_sse2): Convert double-precision result to single
2591 precision.
2592 * sysdeps/i386/fpu/libm-test-ulps: Update.
2593
2594 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
2595
2596 * timezone/Makefile: Ignore unused variable errors due to private.h
2597 (time_t_min) and (time_t_max).
2598 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
2599 Likewise.
2600
2601 2015-09-18 Joseph Myers <joseph@codesourcery.com>
2602
2603 [BZ #18981]
2604 * sysdeps/i386/fpu/i386-math-asm.h: New file.
2605 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
2606 (__ieee754_scalb): Use DBL_NARROW_EVAL.
2607 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
2608 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
2609 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
2610 (__scalbn): Use DBL_NARROW_EVAL.
2611 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
2612 (__scalbnf): Use FLT_NARROW_EVAL.
2613
2614 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
2615
2616 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
2617 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
2618 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
2619 * stdio-common/printf_fp.c (___printf_fp):
2620 Use signbit to get the sign. Use isinf macro to allow inlining.
2621 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
2622 * stdio-common/printf_size.c (__printf_size): Likewise.
2623
2624 2015-09-18 Mike Frysinger <vapier@gentoo.org>
2625
2626 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
2627
2628 2015-09-18 Joseph Myers <joseph@codesourcery.com>
2629
2630 [BZ #18980]
2631 * sysdeps/generic/math_private.h: Include <float.h>.
2632 (math_narrow_eval): New macro.
2633 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
2634 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
2635 math_narrow_eval on overflowing return value.
2636 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
2637 Likewise.
2638 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2639 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
2640 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
2641 Likewise.
2642 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
2643
2644 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
2645
2646 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
2647 * math/Makefile: Remove isinf_ns.c.
2648 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
2649 * math/multc3.c (__multc3): Likewise.
2650 * math/s_casin.c (__casin): Likewise.
2651 * math/s_casinf.c (__casinf): Likewise.
2652 * math/s_casinl.c (__casinl): Likewise.
2653 * math/s_cproj.c (__cproj): Likewise.
2654 * math/s_cprojf.c (__cprojf): Likewise.
2655 * math/s_cprojl.c (__cprofl): Likewise.
2656 * math/s_ctan.c (__ctan): Likewise.
2657 * math/s_ctanf.c (__ctanf): Likewise.
2658 * math/s_ctanh.c (__ctanh): Likewise.
2659 * math/s_ctanhf.c (__ctanhf): Likewise.
2660 * math/s_ctanhl.c (__ctanhl): Likewise.
2661 * math/s_ctanl.c (__ctanl): Likewise.
2662 * math/w_fmod.c (__fmod): Likewise.
2663 * math/w_fmodf.c (__fmodf): Likewise.
2664 * math/w_fmodl.c (_fmodl): Likewise.
2665 * math/w_remainder.c (__remainder): Likewise.
2666 * math/w_remainderf.c (__remainderf): Likewise.
2667 * math/w_remainderl.c (__remainderl): Likewise.
2668 * math/w_scalb.c (__scalb): Likewise.
2669 * math/w_scalbf.c (__scalbf): Likewise.
2670 * math/w_scalbl.c (__scalbl): Likewise.
2671 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
2672 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
2673 with isinf.
2674 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
2675 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
2676 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
2677 __isinf_nsf with isinf.
2678 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
2679 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
2680 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
2681 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
2682 with isinf.
2683 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
2684 __isinf_nsl with isinf.
2685 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
2686 with isinf.
2687 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
2688 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
2689 __isinf_nsl with isinf.
2690 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
2691 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
2692 with isinf.
2693
2694 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
2695
2696 * resolv/base64.c (rcsid): Remove unused static.
2697 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
2698 static. (tqpi1): Likewise.
2699 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
2700 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
2701 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
2702 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
2703 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
2704 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
2705 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
2706 * timezone/private.h (time_t_min): Likewise. (time_t_max):
2707 Likewise.
2708
2709 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
2710
2711 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
2712 <nptl/pthreadP.h>.
2713 (_longjmp_unwind): Use __libc_ptf_call.
2714 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
2715
2716 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
2717
2718 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
2719 * sysdeps/arm/__longjmp.S: Likewise
2720
2721 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
2722
2723 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
2724 Use __builtin_signbit.
2725 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
2726 Use __builtin_signbitf.
2727 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
2728 Use __builtin_signbitl.
2729 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2730 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
2731
2732 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
2733
2734 [BZ #15367]
2735 [BZ #17441]
2736
2737 * math/Makefile: Build test-snan.c with -fsignaling-nans.
2738 * math/math.h (fpclassify): Use __builtin_fpclassify when
2739 available. (signbit): Use __builtin_signbit(f/l).
2740 (isfinite): Use__builtin_isfinite. (isnormal): Use
2741 __builtin_isnormal. (isnan): Use __builtin_isnan.
2742 (isinf): Use __builtin_isinf_sign.
2743
2744 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
2745
2746 * benchtests/Makefile: Add bench-math-inlines, link with libm.
2747 * benchtests/bench-math-inlines.c: New benchmark.
2748 * benchtests/bench-util.h: New file.
2749 * benchtests/bench-util.c: New file.
2750 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
2751
2752 2015-09-18 Carlos O'Donell <carlos@redhat.com>
2753
2754 * elf/tst-dlmopen1.c: Define TEST_SO.
2755 (do_test): Use TEST_SO.
2756
2757 * elf/dl-load.c: Include libc-internal.h.
2758 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
2759
2760 2015-09-18 Vincent Bernat <vincent@bernat.im>
2761
2762 [BZ #17887]
2763 * time/strptime_l.c (__strptime_internal): Make %z accept
2764 [+-]HH:MM time zones.
2765
2766 2015-09-18 Vincent Bernat <vincent@bernat.im>
2767
2768 [BZ #17886]
2769 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
2770 valid time zone.
2771
2772 2015-09-17 Mike Frysinger <vapier@gentoo.org>
2773
2774 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
2775 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
2776 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2777 (__ASSUME_FDATASYNC): Delete.
2778
2779 2015-09-17 Joseph Myers <joseph@codesourcery.com>
2780
2781 * conform/linknamespace.pl: Require weak undefined symbols to be
2782 in the standard namespace.
2783 (%strong_syms): Rename to %seen_syms.
2784 (%strong_seen): Rename to %seen_where.
2785
2786 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
2787
2788 [BZ #18970]
2789 * misc/error.c (error): Replace pthread_setcancelstate with
2790 __pthread_setcancelstate.
2791 (error_at_line): Likewise.
2792 * posix/wordexp.c (parse_comm): Likewise.
2793 * stdlib/fmtmsg.c (fmtmsg): Likewise.
2794 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
2795 (__pthread_setcancelstate): This.
2796 (pthread_setcancelstate): Add an alias.
2797 * nptl/nptl-init.c (pthread_functions): Replace
2798 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
2799 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
2800 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
2801 hidden_proto.
2802 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
2803 it with hidden_def.
2804 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
2805 (pthread_setcancelstate): Renamed to ...
2806 (__pthread_setcancelstate): This.
2807 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
2808 __libc_ptf_call with __pthread_setcancelstate.
2809
2810 2015-09-17 Joseph Myers <joseph@codesourcery.com>
2811 Andreas Schwab <schwab@suse.de>
2812
2813 [BZ #17118]
2814 * math/s_ctan.c (__ctan): Determine sign of zero real part of
2815 result when imaginary part of argument is infinite using sine and
2816 cosine.
2817 * math/s_ctanf.c (__ctanf): Likewise.
2818 * math/s_ctanl.c (__ctanl): Likewise.
2819 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
2820 of result when real part of argument is infinite using sine and
2821 cosine.
2822 * math/s_ctanhf.c (__ctanhf): Likewise.
2823 * math/s_ctanhl.c (__ctanhl): Likewise.
2824 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
2825 (ctanh_test_data): Add more tests of ctanh.
2826
2827 2015-09-17 Joseph Myers <joseph@codesourcery.com>
2828
2829 [BZ #15384]
2830 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
2831 bit-mask as in subtraction.
2832 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
2833 Likewise.
2834 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
2835 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
2836 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
2837
2838 [BZ #18951]
2839 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
2840 underflow exception for small results.
2841 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
2842 Likewise.
2843 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
2844 Likewise.
2845 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2846 Likewise.
2847 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2848 Likewise.
2849 * math/auto-libm-test-in: Add more tests of tgamma.
2850 * math/auto-libm-test-out: Regenerated.
2851
2852 2015-09-17 Andreas Schwab <schwab@suse.de>
2853
2854 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
2855
2856 2015-09-16 Joseph Myers <joseph@codesourcery.com>
2857
2858 [BZ #18977]
2859 * math/bits/mathcalls.h
2860 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
2861 not declare.
2862 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
2863 Likewise.
2864 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
2865 Likewise.
2866 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
2867 Likewise.
2868 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
2869 Likewise.
2870 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
2871 Likewise.
2872 * conform/data/math.h-data
2873 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
2874 function.
2875 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
2876 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
2877 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
2878 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
2879 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
2880 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
2881 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
2882 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
2883 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
2884 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
2885 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
2886
2887 [BZ #6803]
2888 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
2889 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
2890 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
2891 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
2892 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
2893 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
2894 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
2895 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
2896 [NO_LONG_DOUBLE] (scalbnl): Likewise.
2897 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
2898 Likewise.
2899 [NO_LONG_DOUBLE] (scalbnl): Likewise.
2900 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
2901 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
2902 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
2903 long_double_symbol calls.
2904 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
2905 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
2906 strong alias of __ldexpl.
2907 (scalbnl): Define using long_double_symbol.
2908 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
2909 Remove alias.
2910 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
2911 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
2912 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
2913 (scalbln_test_data): Add more errno expectations.
2914
2915 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
2916
2917 Cache the host port like we cache the task port. This way we do not
2918 need to call the kernel just to get the port. Furthermore, we no
2919 longer increase the reference count on every invocation of
2920 `mach_host_self'.
2921
2922 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
2923 Protect declarations against the macro expansion.
2924 * mach/mach_init.c (__mach_host_self_): New variable.
2925 (mach_init): Initialize `__mach_host_self_'.
2926 * mach/mach_init.h (__mach_host_self_): New declaration.
2927 (__mach_host_self, mach_host_self): New macros.
2928 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
2929 Release reference.
2930
2931 2015-09-16 Joseph Myers <joseph@codesourcery.com>
2932
2933 [BZ #4404]
2934 * po/de.po: Update from Translation Project.
2935
2936 [BZ #16415]
2937 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
2938 (__expm1l): Remove code to handle positive infinity and overflow.
2939 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
2940 variable.
2941 (__expm1l): Remove code to handle positive infinity and overflow.
2942
2943 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
2944 Paul Pluzhnikov <ppluzhnikov@google.com>
2945
2946 [BZ #18872]
2947 * stdio-common/Makefile (tst-printf-bz18872): New test.
2948 (tst-printf-bz18872-mem.out): Likewise.
2949 * stdio-common/tst-printf-bz18872.sh: Generate new test.
2950 * stdio-common/vfprintf.c: Fix memory leaks.
2951
2952 2015-09-16 Andreas Schwab <schwab@suse.de>
2953
2954 [BZ #17244]
2955 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
2956 Remove extra va_start/va_end calls.
2957
2958 [BZ #17243]
2959 * posix/execl.c (execl): Add missing va_end.
2960 * posix/execle.c (execle): Likewise.
2961 * posix/execlp.c (execlp): Likewise.
2962
2963 2015-09-15 Roland McGrath <roland@hack.frob.com>
2964
2965 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
2966 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
2967
2968 2015-09-15 Joseph Myers <joseph@codesourcery.com>
2969
2970 [BZ #18967]
2971 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
2972 undefine around includes of <bits/mathcalls.h>.
2973 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
2974 not declare function.
2975 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
2976 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
2977 (scalb): Likewise.
2978 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
2979 not define macro.
2980 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
2981 variable.
2982 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2983 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2984 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2985
2986 [BZ #18857]
2987 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
2988 return non-finite argument without doing ordered comparisons on
2989 it.
2990
2991 [BZ #16296]
2992 * math/fenv.h (fegetround): Use __attribute_pure__.
2993 * include/fenv.h (__fegetround): Likewise.
2994
2995 [BZ #18595]
2996 * math/s_ctan.c (__ctan): Force underflow exception for results
2997 whose real or imaginary part has small absolute value.
2998 * math/s_ctanf.c (__ctanf): Likewise.
2999 * math/s_ctanh.c (__ctanh): Likewise.
3000 * math/s_ctanhf.c (__ctanhf): Likewise.
3001 * math/s_ctanhl.c (__ctanhl): Likewise.
3002 * math/s_ctanl.c (__ctanl): Likewise.
3003 * math/auto-libm-test-in: Do not allow missing underflow for ctan
3004 and ctanh. Add more tests of ctan and ctanh.
3005
3006 [BZ #15918]
3007 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
3008 handling of cases where one argument is an infinity.
3009
3010 [BZ #18875]
3011 [BZ #18966]
3012 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
3013 (MO): New macro.
3014 (__ieee754_exp10): For small results, force underflow exception
3015 and remove excess range and precision from return value.
3016 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
3017 (MO): New macro.
3018 (__ieee754_exp10f): For small results, force underflow exception
3019 and remove excess range and precision from return value.
3020 * math/auto-libm-test-in: Add more tests of exp10.
3021 * math/auto-libm-test-out: Regenerated.
3022
3023 2015-09-14 Joseph Myers <joseph@codesourcery.com>
3024
3025 [BZ #18875]
3026 [BZ #18961]
3027 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
3028 (MO): New macro.
3029 (__ieee754_exp): For small results, force underflow exception and
3030 remove excess range and precision from return value.
3031 (__exp_finite): Likewise.
3032 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
3033 (MO): New macro.
3034 (__ieee754_expf): For small results, force underflow exception and
3035 remove excess range and precision from return value.
3036 (__expf_finite): Likewise.
3037 * math/auto-libm-test-in: Add more tests of exp.
3038 * math/auto-libm-test-out: Regenerated.
3039
3040 [BZ #16521]
3041 [BZ #18875]
3042 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
3043 small results.
3044 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
3045 (MO): New macro.
3046 (__ieee754_exp2): For small results, force underflow exception and
3047 remove excess range and precision from return value.
3048 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
3049 (MO): New macro.
3050 (__ieee754_exp2f): For small results, force underflow exception
3051 and remove excess range and precision from return value.
3052 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
3053 (MO): New macro.
3054 (__ieee754_exp2l): Force underflow exception for small results.
3055 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3056 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3057 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
3058 (MO): New macro.
3059 (__ieee754_exp2l): Force underflow exception for small results.
3060 * math/auto-libm-test-in: Add more tests or exp2.
3061 * math/auto-libm-test-out: Regenerated.
3062
3063 2015-09-14 Carlos O'Donell <carlos@redhat.com>
3064
3065 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
3066
3067 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
3068 /dev/null.
3069
3070 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
3071
3072 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
3073 io fs process)): Drop spurious backslash.
3074
3075 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3076
3077 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
3078 Use sysinfo system call instead of parsing /proc/meminfo.
3079 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
3080 Likewise.
3081
3082 2015-09-11 Mike Frysinger <vapier@gentoo.org>
3083
3084 [BZ #16985]
3085 * programs/localedef.c (main): Display argv[remaining] when
3086 output_path is NULL.
3087
3088 2015-09-11 Joseph Myers <joseph@codesourcery.com>
3089
3090 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3091 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
3092 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
3093 tanh.
3094 * math/auto-libm-test-out: Regenerated.
3095 * sysdeps/i386/fpu/libm-test-ulps: Update.
3096 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3097 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3099
3100 2015-09-11 Roland McGrath <roland@hack.frob.com>
3101
3102 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
3103 Use 'override' keyword to freeze the value here, preventing
3104 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
3105
3106 2015-09-11 Joseph Myers <joseph@codesourcery.com>
3107
3108 [BZ #14912]
3109 * sysdeps/aarch64/bits/atomic.h: Move to ...
3110 * sysdeps/aarch64/atomic-machine.h: ...here.
3111 (_AARCH64_BITS_ATOMIC_H): Rename macro to
3112 _AARCH64_ATOMIC_MACHINE_H.
3113 * sysdeps/alpha/bits/atomic.h: Move to ...
3114 * sysdeps/alpha/atomic-machine.h: ...here.
3115 * sysdeps/arm/bits/atomic.h: Move to ...
3116 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
3117 * bits/atomic.h: Move to ...
3118 * sysdeps/generic/atomic-machine.h: ...here.
3119 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3120 * sysdeps/i386/bits/atomic.h: Move to ...
3121 * sysdeps/i386/atomic-machine.h: ...here.
3122 * sysdeps/ia64/bits/atomic.h: Move to ...
3123 * sysdeps/ia64/atomic-machine.h: ...here.
3124 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
3125 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
3126 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3127 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
3128 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
3129 * sysdeps/microblaze/bits/atomic.h: Move to ...
3130 * sysdeps/microblaze/atomic-machine.h: ...here.
3131 * sysdeps/mips/bits/atomic.h: Move to ...
3132 * sysdeps/mips/atomic-machine.h: ...here.
3133 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
3134 * sysdeps/powerpc/bits/atomic.h: Move to ...
3135 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
3136 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
3137 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
3138 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
3139 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
3140 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
3141 <atomic-machine.h> instead of <bits/atomic.h>.
3142 * sysdeps/s390/bits/atomic.h: Move to ...
3143 * sysdeps/s390/atomic-machine.h: ...here.
3144 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
3145 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
3146 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3147 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
3148 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
3149 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
3150 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
3151 * sysdeps/tile/bits/atomic.h: Move to ...
3152 * sysdeps/tile/atomic-machine.h: ...here.
3153 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
3154 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
3155 <sysdeps/tile/atomic-machine.h> instead of
3156 <sysdeps/tile/bits/atomic.h>.
3157 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3158 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
3159 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
3160 <sysdeps/tile/atomic-machine.h> instead of
3161 <sysdeps/tile/bits/atomic.h>.
3162 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3163 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
3164 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
3165 <sysdeps/arm/atomic-machine.h> instead of
3166 <sysdeps/arm/bits/atomic.h>.
3167 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
3168 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
3169 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3170 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
3171 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
3172 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3173 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
3174 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
3175 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
3176 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
3177 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
3178 * sysdeps/x86_64/bits/atomic.h: Move to ...
3179 * sysdeps/x86_64/atomic-machine.h: ...here.
3180 * include/atomic.h: Include <atomic-machine.h> instead of
3181 <bits/atomic.h>.
3182
3183 * sysdeps/mips/mips32/libm-test-ulps: Update.
3184 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3185
3186 [BZ #18952]
3187 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
3188 not convert non-integer negative arguments to int to determine the
3189 value of signgam.
3190 * math/auto-libm-test-in: Add more tests of lgamma.
3191 * math/auto-libm-test-out: Regenerated.
3192
3193 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
3194 cosh, csqrt, erfc, expm1 and lgamma.
3195 * math/auto-libm-test-out: Regenerated.
3196 * sysdeps/i386/fpu/libm-test-ulps: Update.
3197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3198
3199 2015-09-10 Joseph Myers <joseph@codesourcery.com>
3200
3201 [BZ #2542]
3202 [BZ #2543]
3203 [BZ #2558]
3204 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
3205 __lgamma_neg for arguments from -28.0 to -2.0.
3206 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
3207 __lgamma_negf for arguments from -15.0 to -2.0.
3208 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3209 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
3210 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
3211 Call __lgamma_negl for arguments from -33.0 to -2.0.
3212 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
3213 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
3214 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
3215 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
3216 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3217 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3218 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
3219 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
3220 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
3221 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
3222 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
3223 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
3224 (__lgamma_neg): Likewise.
3225 (__lgamma_negl): Likewise.
3226 (__lgamma_product): Likewise.
3227 (__lgamma_productl): Likewise.
3228 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
3229 * math/auto-libm-test-in: Add more tests of lgamma.
3230 * math/auto-libm-test-out: Regenerated.
3231 * sysdeps/i386/fpu/libm-test-ulps: Update.
3232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3233
3234 2015-09-09 Justin Maggard <jmaggard@netgear.com>
3235
3236 [BZ #18675]
3237 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
3238
3239 2015-09-08 Joseph Myers <joseph@codesourcery.com>
3240
3241 [BZ #14912]
3242 * bits/libc-lock.h: Move to ...
3243 * sysdeps/generic/libc-lock.h: ...here.
3244 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3245 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
3246 * sysdeps/mach/hurd/libc-lock.h: ...here.
3247 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3248 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
3249 * sysdeps/mach/bits/libc-lock.h: Move to ...
3250 * sysdeps/mach/libc-lock.h: ...here.
3251 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3252 * sysdeps/nptl/bits/libc-lock.h: Move to ...
3253 * sysdeps/nptl/libc-lock.h: ...here.
3254 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3255 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
3256 * sysdeps/nptl/libc-lockP.h: ...here.
3257 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
3258 * crypt/crypt_util.c: Include <libc-lock.h> instead of
3259 <bits/libc-lock.h>.
3260 * dirent/scandir-tail.c: Likewise.
3261 * dlfcn/dlerror.c: Likewise.
3262 * elf/dl-close.c: Likewise.
3263 * elf/dl-iteratephdr.c: Likewise.
3264 * elf/dl-lookup.c: Likewise.
3265 * elf/dl-open.c: Likewise.
3266 * elf/dl-support.c: Likewise.
3267 * elf/dl-writev.h: Likewise.
3268 * elf/rtld.c: Likewise.
3269 * grp/fgetgrent.c: Likewise.
3270 * gshadow/fgetsgent.c: Likewise.
3271 * gshadow/sgetsgent.c: Likewise.
3272 * iconv/gconv_conf.c: Likewise.
3273 * iconv/gconv_db.c: Likewise.
3274 * iconv/gconv_dl.c: Likewise.
3275 * iconv/gconv_int.h: Likewise.
3276 * iconv/gconv_trans.c: Likewise.
3277 * include/link.h: Likewise.
3278 * inet/getnameinfo.c: Likewise.
3279 * inet/getnetgrent.c: Likewise.
3280 * inet/getnetgrent_r.c: Likewise.
3281 * intl/bindtextdom.c: Likewise.
3282 * intl/dcigettext.c: Likewise.
3283 * intl/finddomain.c: Likewise.
3284 * intl/gettextP.h: Likewise.
3285 * intl/loadmsgcat.c: Likewise.
3286 * intl/localealias.c: Likewise.
3287 * intl/textdomain.c: Likewise.
3288 * libidn/idn-stub.c: Likewise.
3289 * libio/libioP.h: Likewise.
3290 * locale/duplocale.c: Likewise.
3291 * locale/freelocale.c: Likewise.
3292 * locale/newlocale.c: Likewise.
3293 * locale/setlocale.c: Likewise.
3294 * login/getutent_r.c: Likewise.
3295 * login/getutid_r.c: Likewise.
3296 * login/getutline_r.c: Likewise.
3297 * login/utmp-private.h: Likewise.
3298 * login/utmpname.c: Likewise.
3299 * malloc/mtrace.c: Likewise.
3300 * misc/efgcvt.c: Likewise.
3301 * misc/error.c: Likewise.
3302 * misc/fstab.c: Likewise.
3303 * misc/getpass.c: Likewise.
3304 * misc/mntent.c: Likewise.
3305 * misc/syslog.c: Likewise.
3306 * nis/nis_call.c: Likewise.
3307 * nis/nis_callback.c: Likewise.
3308 * nis/nss-default.c: Likewise.
3309 * nis/nss_compat/compat-grp.c: Likewise.
3310 * nis/nss_compat/compat-initgroups.c: Likewise.
3311 * nis/nss_compat/compat-pwd.c: Likewise.
3312 * nis/nss_compat/compat-spwd.c: Likewise.
3313 * nis/nss_nis/nis-alias.c: Likewise.
3314 * nis/nss_nis/nis-ethers.c: Likewise.
3315 * nis/nss_nis/nis-grp.c: Likewise.
3316 * nis/nss_nis/nis-hosts.c: Likewise.
3317 * nis/nss_nis/nis-network.c: Likewise.
3318 * nis/nss_nis/nis-proto.c: Likewise.
3319 * nis/nss_nis/nis-pwd.c: Likewise.
3320 * nis/nss_nis/nis-rpc.c: Likewise.
3321 * nis/nss_nis/nis-service.c: Likewise.
3322 * nis/nss_nis/nis-spwd.c: Likewise.
3323 * nis/nss_nisplus/nisplus-alias.c: Likewise.
3324 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
3325 * nis/nss_nisplus/nisplus-grp.c: Likewise.
3326 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
3327 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
3328 * nis/nss_nisplus/nisplus-network.c: Likewise.
3329 * nis/nss_nisplus/nisplus-proto.c: Likewise.
3330 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
3331 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
3332 * nis/nss_nisplus/nisplus-service.c: Likewise.
3333 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
3334 * nis/ypclnt.c: Likewise.
3335 * nptl/libc_pthread_init.c: Likewise.
3336 * nss/getXXbyYY.c: Likewise.
3337 * nss/getXXent.c: Likewise.
3338 * nss/getXXent_r.c: Likewise.
3339 * nss/nss_db/db-XXX.c: Likewise.
3340 * nss/nss_db/db-netgrp.c: Likewise.
3341 * nss/nss_db/nss_db.h: Likewise.
3342 * nss/nss_files/files-XXX.c: Likewise.
3343 * nss/nss_files/files-alias.c: Likewise.
3344 * nss/nsswitch.c: Likewise.
3345 * posix/regex_internal.h: Likewise.
3346 * posix/wordexp.c: Likewise.
3347 * pwd/fgetpwent.c: Likewise.
3348 * resolv/res_hconf.c: Likewise.
3349 * resolv/res_libc.c: Likewise.
3350 * shadow/fgetspent.c: Likewise.
3351 * shadow/lckpwdf.c: Likewise.
3352 * shadow/sgetspent.c: Likewise.
3353 * socket/opensock.c: Likewise.
3354 * stdio-common/reg-modifier.c: Likewise.
3355 * stdio-common/reg-printf.c: Likewise.
3356 * stdio-common/reg-type.c: Likewise.
3357 * stdio-common/vfprintf.c: Likewise.
3358 * stdio-common/vfscanf.c: Likewise.
3359 * stdlib/abort.c: Likewise.
3360 * stdlib/cxa_atexit.c: Likewise.
3361 * stdlib/fmtmsg.c: Likewise.
3362 * stdlib/random.c: Likewise.
3363 * stdlib/setenv.c: Likewise.
3364 * string/strsignal.c: Likewise.
3365 * sunrpc/auth_none.c: Likewise.
3366 * sunrpc/bindrsvprt.c: Likewise.
3367 * sunrpc/create_xid.c: Likewise.
3368 * sunrpc/key_call.c: Likewise.
3369 * sunrpc/rpc_thread.c: Likewise.
3370 * sysdeps/arm/backtrace.c: Likewise.
3371 * sysdeps/generic/ldsodefs.h: Likewise.
3372 * sysdeps/generic/stdio-lock.h: Likewise.
3373 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
3374 * sysdeps/i386/backtrace.c: Likewise.
3375 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3376 * sysdeps/m68k/backtrace.c: Likewise.
3377 * sysdeps/mach/hurd/cthreads.c: Likewise.
3378 * sysdeps/mach/hurd/dirstream.h: Likewise.
3379 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
3380 * sysdeps/nptl/malloc-machine.h: Likewise.
3381 * sysdeps/nptl/stdio-lock.h: Likewise.
3382 * sysdeps/posix/dirstream.h: Likewise.
3383 * sysdeps/posix/getaddrinfo.c: Likewise.
3384 * sysdeps/posix/system.c: Likewise.
3385 * sysdeps/pthread/aio_suspend.c: Likewise.
3386 * sysdeps/s390/s390-32/backtrace.c: Likewise.
3387 * sysdeps/s390/s390-64/backtrace.c: Likewise.
3388 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3389 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3390 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
3391 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
3392 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
3393 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3394 * sysdeps/unix/sysv/linux/system.c: Likewise.
3395 * sysdeps/x86_64/backtrace.c: Likewise.
3396 * time/alt_digit.c: Likewise.
3397 * time/era.c: Likewise.
3398 * time/tzset.c: Likewise.
3399 * wcsmbs/wcsmbsload.c: Likewise.
3400 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
3401 instead of <bits/libc-lock.h> in comment.
3402
3403 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
3404
3405 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
3406 Only use .set mips2 if the current ISA is below mips2.
3407 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
3408 Likewise.
3409 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
3410 mips32r2 if the current ISA is below mips32r2.
3411 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
3412 (TLS_IE): Updated to use the TLD_RDHWR macro.
3413 (TLS_LE): Likewise.
3414 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
3415 __ASSEMBLER__ condition.
3416
3417 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3418
3419 Fix parallel build of before-compile targets.
3420
3421 * sysdeps/mach/Makefile ($(patsubst
3422 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
3423 mach-before-compile target.
3424 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
3425 io fs process)): Move rule to dedicated hurd-before-compile target.
3426
3427 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3428
3429 Fix rules generating headers in hurd/ and mach/ when initial make call
3430 has subdir= explicitly set.
3431
3432 * sysdeps/mach/Makefile ($(patsubst
3433 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
3434 calling $(MAKE).
3435 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
3436 io fs process)): Force subdir to hurd when calling $(MAKE).
3437 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
3438 subdir to mach when calling $(MAKE).
3439
3440 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
3441
3442 Check sysheaders when looking for Mach and Hurd headers
3443
3444 * sysdeps/mach/configure.ac: Add sysheaders check.
3445 * sysdeps/mach/configure: Regenerate.
3446 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
3447 * sysdeps/mach/hurd/configure: Regenerate.
3448
3449 2015-09-04 Roland McGrath <roland@hack.frob.com>
3450
3451 [BZ #18921]
3452 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
3453 Fix inverted sense of test of 'o_directory_works' value.
3454 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
3455 Bernhard Voelker <mail@bernhard-voelker.de>.
3456
3457 2015-09-04 Joseph Myers <joseph@codesourcery.com>
3458
3459 [BZ #14912]
3460 * bits/linkmap.h: Move to ...
3461 * sysdeps/generic/linkmap.h: ...here.
3462 * sysdeps/aarch64/bits/linkmap.h: Move to ...
3463 * sysdeps/aarch64/linkmap.h: ...here.
3464 * sysdeps/arm/bits/linkmap.h: Move to ...
3465 * sysdeps/arm/linkmap.h: ...here.
3466 * sysdeps/hppa/bits/linkmap.h: Move to ...
3467 * sysdeps/hppa/linkmap.h: ...here.
3468 * sysdeps/ia64/bits/linkmap.h: Move to ...
3469 * sysdeps/ia64/linkmap.h: ...here.
3470 * sysdeps/mips/bits/linkmap.h: Move to ...
3471 * sysdeps/mips/linkmap.h: ...here.
3472 * sysdeps/s390/bits/linkmap.h: Move to ...
3473 * sysdeps/s390/linkmap.h: ...here.
3474 * sysdeps/sh/bits/linkmap.h: Move to ...
3475 * sysdeps/sh/linkmap.h: ...here.
3476 * sysdeps/x86/bits/linkmap.h: Move to ...
3477 * sysdeps/x86/linkmap.h: ...here.
3478 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
3479
3480 2015-09-04 Andreas Schwab <schwab@suse.de>
3481
3482 [BZ #18635]
3483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
3484 (__makecontext): Terminate FDE before return label.
3485 (__novec_makecontext): Likewise.
3486
3487 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
3488
3489 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
3490 first member of struct sv in syscall macro.
3491
3492 2015-09-04 Joseph Myers <joseph@codesourcery.com>
3493
3494 [BZ #14912]
3495 * bits/stdio-lock.h: Move to ...
3496 * sysdeps/generic/stdio-lock.h: ...here.
3497 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
3498 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
3499 * sysdeps/nptl/stdio-lock.h: ...here.
3500 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
3501 * include/libio.h: Include <stdio-lock.h> instead of
3502 <bits/stdio-lock.h>.
3503 * sysdeps/nptl/fork.c: Likewise.
3504 * sysdeps/pthread/flockfile.c: Likewise.
3505 * sysdeps/pthread/ftrylockfile.c: Likewise.
3506 * sysdeps/pthread/funlockfile.c: Likewise.
3507
3508 [BZ #14912]
3509 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
3510 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
3511 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
3512 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
3513 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
3514 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3515 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3516
3517 2015-09-03 Roland McGrath <roland@hack.frob.com>
3518
3519 * elf/Makefile (test-xfail-tst-protected1a): New variable.
3520 (test-xfail-tst-protected1b): New variable.
3521
3522 2015-09-03 Joseph Myers <joseph@codesourcery.com>
3523
3524 [BZ #14912]
3525 * bits/libc-tsd.h: Move to ...
3526 * sysdeps/generic/libc-tsd.h: ...here.
3527 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
3528 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
3529 * sysdeps/mach/hurd/libc-tsd.h: ...here.
3530 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
3531 * include/ctype.h: Include <libc-tsd.h> instead of
3532 <bits/libc-tsd.h>.
3533 * include/rpc/rpc.h: Likewise.
3534 * locale/localeinfo.h: Likewise.
3535 * sunrpc/rpc_thread.c: Likewise.
3536 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
3537 * sysdeps/nptl/malloc-machine.h: Likewise.
3538
3539 * Makefile (headers): Remove bits/libc-lock.h.
3540 * libio/Makefile (headers): Remove bits/stdio-lock.h.
3541
3542 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
3543 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
3544 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
3545 <bits/stdio-lock.h>.
3546 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
3547 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
3548
3549 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3550
3551 [BZ #18757]
3552 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
3553 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
3554 BZ #18757.
3555
3556 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3557
3558 * malloc/mtrace.pl: Filter out NULL entries.
3559
3560 2015-09-01 Joseph Myers <joseph@codesourcery.com>
3561
3562 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
3563 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
3564 macro.
3565
3566 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
3567 (TCP_CC_INFO): Likewise.
3568 (TCP_SAVE_SYN): Likewise.
3569 (TCP_SAVED_SYN): Likewise.
3570
3571 2015-08-31 Brett Neumeier <brett@neumeier.us>
3572
3573 [BZ #18870]
3574 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
3575
3576 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
3577
3578 [BZ #18873]
3579 Fix broken overflow check in posix_fallocate
3580 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
3581 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3582 Fix parenthesization typo.
3583
3584 2015-08-28 Mike Frysinger <vapier@gentoo.org>
3585
3586 [BZ #18887]
3587 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
3588 tst-mntent-blank-passno.
3589 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
3590 * misc/tst-mntent-blank-corrupt.c: New test.
3591 * misc/tst-mntent-blank-passno.c: New test ripped from ...
3592 * misc/tst-mntent.c (do_test): ... here.
3593
3594 2015-08-29 Mike Frysinger <vapier@gentoo.org>
3595
3596 [BZ #4404]
3597 * po/de.po: Fix SIGALRM typo.
3598
3599 2015-08-28 James Perkins <james@loowit.net>
3600
3601 * time/tst-strptime2.c (tests): Replace short list of test
3602 strings for strptime %z specifier with code which exhaustively
3603 tests every combination of sign and 0 to 5 digits. Tests for
3604 rejection of invalid strings.
3605
3606 2015-08-28 James Perkins <james@loowit.net>
3607
3608 [BZ #16141]
3609 * time/strptime_l.c (__strptime_internal): Fix %z minutes
3610 calculation, removing incorrect decimal time rounding, so that
3611 all minute values result in a valid seconds value.
3612 * time/strptime_l.c (__strptime_internal): Extend %z time zone
3613 offset range limits to UTC-99:59 through UTC+99:59 to parse
3614 current and historical use cases.
3615 * time/tst-strptime2.c (tests): Modify and add tests for the
3616 strptime %z input field descriptor, specifically conversion of
3617 minutes to seconds and validating an offset range of -9959 to
3618 +9959.
3619
3620 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3621 Dmitry V. Levin <ldv@altlinux.org>
3622
3623 [BZ #18877]
3624 * posix/Makefile (tests): Add tst-mmap-offset.
3625 * posix/tst-mmap.c: New file.
3626 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
3627 offset calculation for negative values.
3628
3629 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
3630
3631 * sysdeps/i386/init-arch.h: New file.
3632 * sysdeps/i386/i586/init-arch.h: Likewise.
3633 * sysdeps/i386/i686/init-arch.h: Likewise.
3634 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
3635 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
3636 * sysdeps/x86/cpu-features.h (bit_I586): New.
3637 (bit_I686): Likewise.
3638 (bit_CX8): Likewise.
3639 (bit_CMOV): Likewise.
3640 (index_CX8): Likewise.
3641 (index_CMOV): Likewise.
3642 (index_I586): Likewise.
3643 (index_I686): Likewise.
3644 (reg_CX8): Likewise.
3645 (reg_CMOV): Likewise.
3646 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
3647 available at compile-time.
3648 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
3649 available at compile-time.
3650 * sysdeps/x86/init-arch.h (USE_I586): New macro.
3651 (USE_I686): Likewise.
3652
3653 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
3654
3655 * sysdeps/i386/bcopy.S: New file.
3656 * sysdeps/i386/bzero.S: Likewise.
3657 * sysdeps/i386/memcpy.S: Likewise.
3658 * sysdeps/i386/memmove.S: Likewise.
3659 * sysdeps/i386/mempcpy.S: Likewise.
3660 * sysdeps/i386/memset.S: Likewise.
3661 * sysdeps/i386/bzero.c: Removed.
3662 * sysdeps/i386/memset.c: Likewise.
3663 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
3664 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
3665 * sysdeps/i386/i586/memset_chk.S: Likewise.
3666 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
3667 * sysdeps/i386/memcpy_chk.S: Here.
3668 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
3669 * sysdeps/i386/memmove_chk.S: Here.
3670 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
3671 * sysdeps/i386/mempcpy_chk.S: Likewise.
3672 * sysdeps/i386/i686/memset_chk.S: Moved to ...
3673 * sysdeps/i386/memset_chk.S: Likewise.
3674
3675 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
3676
3677 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
3678 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
3679 file, move DIAG_POP_NEEDS_COMMENT to end of file.
3680 * soft-fp/fmadf4.c: Ditto.
3681 * soft-fp/fmatf4.c: Ditto.
3682
3683 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
3684
3685 * sysdeps/i386/i586/Implies: Removed.
3686 * sysdeps/i386/i686/Implies: Likewise.
3687
3688 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
3689
3690 * sysdeps/i386/i486/strlen.S: Moved to ...
3691 * sysdeps/i386/strlen.S: Here.
3692
3693 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
3694
3695 * sysdeps/i386/i486/strcat.S: Moved to ...
3696 * sysdeps/i386/strcat.S: Here.
3697
3698 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
3699
3700 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
3701 * sysdeps/i386/pthread_spin_trylock.S: Here.
3702 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
3703 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
3704
3705 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
3706
3707 * sysdeps/i386/i486/string-inlines.c: Moved to ...
3708 * sysdeps/i386/string-inlines.c: Here.
3709
3710 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
3711
3712 * sysdeps/i386/i486/htonl.S: Moved ...
3713 * sysdeps/i386/htonl.S: here.
3714
3715 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
3716
3717 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
3718 * sysdeps/i386/bits/atomic.h: Here.
3719
3720 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
3721
3722 * sysdeps/i386/i486/Versions: Removed.
3723
3724 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
3725
3726 [BZ #2898]
3727 * misc/mktemp.c: Add mkdtemp to the link_warning message.
3728 Based on patch by Aurelien Jarno.
3729
3730 2015-08-26 Stan Shebs <stanshebs@google.com>
3731
3732 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
3733 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3734
3735 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
3736
3737 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
3738 * sysdeps/powerpc/dl-procinfo.c:
3739 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
3740 feature so it shows when LD_SHOW_AUXV=1.
3741
3742 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3743
3744 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3745 (__arch_compare_and_exchange_val_32_acq): Remove and use common
3746 definition. ISA 2.07B no longer requires full sync.
3747
3748 2015-08-26 Mike Frysinger <vapier@gentoo.org>
3749
3750 [BZ #18863]
3751 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
3752 (si_call_addr): Define.
3753 (si_syscall): Define.
3754 (si_arch): Define.
3755
3756 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
3757
3758 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
3759 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
3760 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
3761 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
3762 (__memset_zero_constant_len_parameter): New.
3763 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
3764 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
3765 (__memset_zero_constant_len_parameter): Don't define if
3766 __memset_chk or USE_AS_BZERO are defined.
3767
3768 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
3769 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
3770 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
3771
3772 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
3773 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
3774 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
3775 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
3776 comments.
3777 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
3778 -mno-mmx for $(all-rtld-routines).
3779 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
3780 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
3781 i386.
3782
3783 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3784
3785 * sysdeps/generic/unwind.h
3786 (_Unwind_Word): Use __mode__(__unwind_word__)
3787 instead of __mode__(__word__).
3788 (_Unwind_Sword): Likewise.
3789
3790 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3791 (MAX_NEEDED_INPUT): New define.
3792 (MAX_NEEDED_OUTPUT): New define.
3793
3794 * NEWS: New item for IBM z13 string optimizations.
3795
3796 * sysdeps/s390/multiarch/memrchr-c.c: New File.
3797 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
3798 * sysdeps/s390/multiarch/memrchr.c: Likewise.
3799 * sysdeps/s390/multiarch/Makefile
3800 (sysdep_routines): Add memrchr functions.
3801 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
3802 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
3803
3804 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
3805 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
3806 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
3807 * sysdeps/s390/multiarch/Makefile
3808 (sysdep_routines): Add wmemcmp functions.
3809 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
3810 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
3811 * benchtests/bench-wmemcmp.c: New File.
3812 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
3813
3814 * sysdeps/s390/multiarch/wmemset-c.c: New File.
3815 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
3816 * sysdeps/s390/multiarch/wmemset.c: Likewise.
3817 * sysdeps/s390/multiarch/Makefile
3818 (sysdep_routines): Add wmemset functions.
3819 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
3820 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
3821 * wcsmbs/wmemset.c: Use WMEMSET if defined.
3822 * string/test-memset.c: Add wmemset support.
3823 * wcsmbs/test-wmemset.c: New File.
3824 * wcsmbs/Makefile (strop-tests): Add wmemset.
3825 * benchtests/bench-memset.c: Add wmemset support.
3826 * benchtests/bench-wmemset.c: New File.
3827 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
3828
3829 * sysdeps/s390/multiarch/memccpy-c.c: New File.
3830 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
3831 * sysdeps/s390/multiarch/memccpy.c: Likewise.
3832 * sysdeps/s390/multiarch/Makefile
3833 (sysdep_routines): Add memccpy functions.
3834 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
3835 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
3836 * string/memccpy.c: Use MEMCCPY if defined.
3837
3838 * sysdeps/s390/multiarch/memchr-vx.S: New File.
3839 * sysdeps/s390/multiarch/memchr.c: Likewise.
3840 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
3841 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
3842 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
3843 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
3844 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
3845 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
3846 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
3847 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3848 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
3849 and rawmemchr functions.
3850 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
3851 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
3852 and wmemchr.
3853 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
3854 * string/test-memchr.c: Add wmemchr support.
3855 * wcsmbs/test-wmemchr.c: New File.
3856 * wcsmbs/Makefile (strop-tests): Add wmemchr.
3857 * benchtests/bench-memchr.c: Add wmemchr support.
3858 * benchtests/bench-wmemchr.c: New File.
3859 * benchtests/Makefile (wcsmbs-bench): wmemchr.
3860
3861 * sysdeps/s390/multiarch/strcspn-c.c: New File.
3862 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
3863 * sysdeps/s390/multiarch/strcspn.c: Likewise.
3864 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
3865 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
3866 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
3867 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
3868 wcscspn functions.
3869 * sysdeps/s390/multiarch/ifunc-impl-list.c
3870 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
3871 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
3872 * string/test-strcspn.c: Add wcscspn support.
3873 * wcsmbs/test-wcscspn.c: New File.
3874 * wcsmbs/Makefile (strop-tests): Add wcscspn.
3875 * benchtests/bench-strcspn.c: Add wcscspn support.
3876 * benchtests/bench-wcscspn.c: New File.
3877 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
3878
3879 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
3880 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
3881 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
3882 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
3883 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
3884 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
3885 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
3886 wcspbrk functions.
3887 * sysdeps/s390/multiarch/ifunc-impl-list.c
3888 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
3889 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
3890 * string/test-strpbrk.c: Add wcspbrk support.
3891 * wcsmbs/test-wcspbrk.c: New File.
3892 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
3893 * benchtests/bench-strpbrk.c: Add wcspbrk support.
3894 * benchtests/bench-wcspbrk.c: New File.
3895 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
3896
3897 * sysdeps/s390/multiarch/strspn-c.c: New File.
3898 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
3899 * sysdeps/s390/multiarch/strspn.c: Likewise.
3900 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
3901 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
3902 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
3903 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
3904 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
3905 wcsspn functions.
3906 * sysdeps/s390/multiarch/ifunc-impl-list.c
3907 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
3908 * string/test-strspn.c: Add wcsspn support.
3909 * wcsmbs/test-wcsspn.c: New File.
3910 * wcsmbs/Makefile (strop-tests): Add wcsspn.
3911 * benchtests/bench-strspn.c: Add wcsspn support.
3912 * benchtests/bench-wcsspn.c: New File.
3913 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
3914
3915 * sysdeps/s390/multiarch/strrchr-c.c: New File.
3916 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
3917 * sysdeps/s390/multiarch/strrchr.c: Likewise.
3918 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
3919 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
3920 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
3921 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
3922 wcsrchr functions.
3923 * sysdeps/s390/multiarch/ifunc-impl-list.c
3924 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
3925 * benchtests/bench-wcsrchr.c: New File.
3926 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
3927
3928 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
3929 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
3930 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
3931 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
3932 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
3933 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
3934 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
3935 wcschrnul functions.
3936 * sysdeps/s390/multiarch/ifunc-impl-list.c
3937 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
3938 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
3939 * string/test-strchr.c: Add wcschrnul support.
3940 * wcsmbs/test-wcschrnul.c: New File.
3941 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
3942 * benchtests/bench-strchr.c: Add wcschrnul support.
3943 * benchtests/bench-wcschrnul.c: New File.
3944 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
3945
3946 * sysdeps/s390/multiarch/strchr-c.c: New File.
3947 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
3948 * sysdeps/s390/multiarch/strchr.c: Likewise.
3949 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
3950 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
3951 * sysdeps/s390/multiarch/wcschr.c: Likewise.
3952 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
3953 wcschr functions.
3954 * sysdeps/s390/multiarch/ifunc-impl-list.c
3955 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
3956 * string/strchr.c (STRCHR): Define and use macro.
3957 * benchtests/bench-wcschr.c: New File.
3958 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
3959
3960 * sysdeps/s390/multiarch/strncmp-c.c: New File.
3961 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
3962 * sysdeps/s390/multiarch/strncmp.c: Likewise.
3963 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
3964 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
3965 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
3966 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
3967 wcsncmp functions.
3968 * sysdeps/s390/multiarch/ifunc-impl-list.c
3969 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
3970 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
3971 * benchtests/bench-strncmp.c: Add wcsncmp support.
3972 * benchtests/bench-wcsncmp.c: New File.
3973 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
3974
3975 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
3976 * sysdeps/s390/multiarch/strcmp.c: Likewise.
3977 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
3978 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
3979 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
3980 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
3981 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3982 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
3983 wcscmp functions.
3984 * sysdeps/s390/multiarch/ifunc-impl-list.c
3985 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
3986 * string/strcmp.c (STRCMP): Define and use macro.
3987 * benchtests/bench-wcscmp.c: New File.
3988 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
3989 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
3990 instead of _HAVE_STRING_ARCH_memchr.
3991
3992 * sysdeps/s390/multiarch/strncat-c.c: New File.
3993 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
3994 * sysdeps/s390/multiarch/strncat.c: Likewise.
3995 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
3996 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
3997 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
3998 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
3999 wcsncat functions.
4000 * sysdeps/s390/multiarch/ifunc-impl-list.c
4001 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
4002 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
4003 * string/test-strncat.c: Add wcsncat support.
4004 * wcsmbs/test-wcsncat.c: New File.
4005 * wcsmbs/Makefile (strop-tests): Add wcsncat.
4006 * benchtests/bench-strncat.c: Add wcsncat support.
4007 * benchtests/bench-wcsncat.c: New File.
4008 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
4009
4010 * sysdeps/s390/multiarch/strcat-c.c: New File.
4011 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
4012 * sysdeps/s390/multiarch/strcat.c: Likewise.
4013 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
4014 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
4015 * sysdeps/s390/multiarch/wcscat.c: Likewise.
4016 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
4017 wcscat functions.
4018 * sysdeps/s390/multiarch/ifunc-impl-list.c
4019 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
4020 * string/strcat.c (STRCAT): Define and use macro.
4021 * wcsmbs/wcscat.c: Use WCSCAT if defined.
4022 * string/test-strcat.c: Add wcscat support.
4023 * wcsmbs/test-wcscat.c: New File.
4024 * wcsmbs/Makefile (strop-tests): Add wcscat.
4025 * benchtests/bench-strcat.c: Add wcscat support.
4026 * benchtests/bench-wcscat.c: New File.
4027 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
4028
4029 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
4030 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
4031 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
4032 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
4033 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
4034 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
4035 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
4036 wcpncpy functions.
4037 * sysdeps/s390/multiarch/ifunc-impl-list.c
4038 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
4039 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
4040 * string/test-stpncpy.c: Add wcpncpy support.
4041 * wcsmbs/test-wcpncpy.c: New File.
4042 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
4043 * benchtests/bench-stpncpy.c: Add wcpncpy support.
4044 * benchtests/bench-wcpncpy.c: New File.
4045 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
4046
4047 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
4048 * sysdeps/s390/multiarch/strncpy.c: Likewise.
4049 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
4050 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
4051 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
4052 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
4053 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4054 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
4055 wcsncpy functions.
4056 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
4057 * sysdeps/s390/multiarch/ifunc-impl-list.c
4058 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
4059 * string/test-strncpy.c: Add wcsncpy support.
4060 * wcsmbs/test-wcsncpy.c: New File.
4061 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
4062 * benchtests/bench-strncpy.c: Add wcsncpy support.
4063 * benchtests/bench-wcsncpy.c: New File.
4064 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
4065
4066 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
4067 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
4068 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
4069 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
4070 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
4071 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
4072 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
4073 wcpcpy functions.
4074 * string/stpcpy.c: Use STPCPY if defined.
4075 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
4076 * sysdeps/s390/multiarch/ifunc-impl-list.c
4077 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
4078 * string/test-stpcpy.c: Add wcpcpy support.
4079 * wcsmbs/test-wcpcpy.c: New File.
4080 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
4081 * benchtests/bench-stpcpy.c: Add wcpcpy support.
4082 * benchtests/bench-wcpcpy.c: New File.
4083 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
4084
4085 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
4086 * sysdeps/s390/multiarch/strcpy.c: Likewise.
4087 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
4088 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
4089 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
4090 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
4091 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4092 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
4093 wcscpy functions.
4094 * sysdeps/s390/multiarch/ifunc-impl-list.c
4095 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
4096 * benchtests/bench-wcscpy.c: New File.
4097 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
4098
4099 * sysdeps/s390/multiarch/strnlen-c.c: New File.
4100 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
4101 * sysdeps/s390/multiarch/strnlen.c: Likewise.
4102 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
4103 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
4104 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
4105 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
4106 wcsnlen functions.
4107 * sysdeps/s390/multiarch/ifunc-impl-list.c
4108 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
4109 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
4110 * string/test-strnlen.c: Add wcsnlen support.
4111 * wcsmbs/test-wcsnlen.c: New File.
4112 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
4113 * benchtests/bench-strnlen.c: Add wcsnlen support.
4114 * benchtests/bench-wcsnlen.c: New File.
4115 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
4116
4117 * sysdeps/s390/multiarch/Makefile: New File.
4118 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
4119 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
4120 * sysdeps/s390/multiarch/strlen.c: Likewise.
4121 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
4122 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
4123 * sysdeps/s390/multiarch/wcslen.c: Likewise.
4124 * string/strlen.c (STRLEN): Define and use macro.
4125 * sysdeps/s390/multiarch/ifunc-impl-list.c
4126 (IFUNC_VX_IMPL): New macro function.
4127 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
4128 * benchtests/Makefile (wcsmbs-bench): New variable.
4129 (string-bench-all): Added wcsmbs-bench.
4130 * benchtests/bench-wcslen.c: New File.
4131
4132 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
4133 s390_vx_libc_ifunc2): New macro function.
4134
4135 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
4136 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
4137 assembler support.
4138 * sysdeps/s390/configure: Regenerated.
4139
4140 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
4141 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
4142
4143 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
4144 * sysdeps/s390/dl-procinfo.h: Add vector capability.
4145 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
4146
4147 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4148 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
4149 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
4150 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
4151 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
4152 (memcmp, bcmp): Use __memcmp_default as alias source.
4153 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
4154 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
4155 Rename to __memcmp_default.
4156 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
4157 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
4158 (memcpy): Use __memcpy_default as alias source.
4159 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
4160 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
4161 Rename to __memcpy_default.
4162 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
4163 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
4164 (memset): Use __memset_default as alias source.
4165 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
4166 * sysdeps/s390/s390-32/memset.S (__memset_g5):
4167 Rename to __memset_default.
4168 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
4169 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
4170 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
4171 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
4172 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
4173 (memcmp, bcmp): Use __memcmp_default as alias source.
4174 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
4175 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
4176 Rename to __memcmp_default.
4177 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
4178 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
4179 (memcpy): Use __memcpy_default as alias source.
4180 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
4181 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
4182 Rename to __memcpy_default.
4183 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
4184 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
4185 (memset): Use __memset_default as alias source.
4186 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
4187 * sysdeps/s390/s390-64/memset.S (__memset_z900):
4188 Rename to __memset_default.
4189 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
4190 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
4191
4192 [BZ #18610]
4193 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
4194 __ieee_instruction_pointer to __unused.
4195 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
4196 __ieee_instruction_pointer.
4197 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
4198 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
4199 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4200 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
4201 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
4202 Mark dxc-field as reserved.
4203
4204 2015-08-25 Roland McGrath <roland@hack.frob.com>
4205
4206 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
4207 if the weak reference is not null.
4208
4209 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
4210
4211 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
4212
4213 [BZ #11214]
4214 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
4215
4216 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4217
4218 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
4219 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
4220 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
4221 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
4222 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
4223 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
4224 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
4225 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
4226 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
4227 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
4228 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
4229 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
4230 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
4231 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
4232 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
4233 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
4234 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
4235 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
4236
4237 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4238
4239 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
4240 register other than r0 for tabort, it has special meaning.
4241 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
4242 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
4243 transaction before starting syscall.
4244
4245 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4246
4247 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
4248
4249 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
4250
4251 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
4252
4253 * sysdeps/x86_64/rtld-memcmp.c: Removed.
4254 * sysdeps/x86_64/rtld-memset.S: Likewise.
4255 * sysdeps/x86_64/rtld-strchr.S: Likewise.
4256 * sysdeps/x86_64/rtld-strlen.S: Likewise.
4257 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
4258 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4259
4260 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
4261
4262 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
4263
4264 * debug/strcpy_chk.c: Improve performance.
4265 * debug/stpcpy_chk.c: Likewise.
4266 * sysdeps/x86_64/strcpy_chk.S: Remove.
4267 * sysdeps/x86_64/stpcpy_chk.S: Remove.
4268
4269 [BZ #18240]
4270 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
4271
4272 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
4273
4274 [BZ #15128]
4275 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
4276 ifuncmain8.
4277 (modules-names): Add ifuncmod8.
4278 ($(objpfx)ifuncmain8): New rule.
4279 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
4280 <cpuid.h>.
4281 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
4282 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
4283 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
4284 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
4285 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
4286 * sysdeps/x86_64/dl-trampoline.h: Likewise.
4287 * sysdeps/x86_64/ifuncmain8.c: New file.
4288 * sysdeps/x86_64/ifuncmod8.c: Likewise.
4289 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
4290 Removed.
4291 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
4292 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
4293 Change rtld_savespace_sse to __glibc_unused2.
4294 (RTLD_CHECK_FOREIGN_CALL): Removed.
4295 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
4296 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
4297 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
4298
4299 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
4300
4301 * sysdeps/aarch64/bzero.S (__bzero): Remove.
4302
4303 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
4304
4305 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
4306 Unconditionally set __fpcr to avoid uninialized warning.
4307 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
4308
4309 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4310
4311 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
4312 is corrupt.
4313
4314 * malloc/arena.c (arena_get2): Drop unused argument.
4315 (arena_lock): Adjust.
4316 (arena_get_retry): Likewise.
4317
4318 2015-08-24 Andreas Schwab <schwab@suse.de>
4319
4320 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
4321 Don't define.
4322 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4323 (__ASSUME_IPC64): Don't undef.
4324 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
4325 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4326 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4327 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
4328 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
4329 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
4330 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
4331 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
4332 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
4333 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
4334 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
4335 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
4336 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
4337 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
4338 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
4339 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
4340 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
4341 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
4342 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
4343 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
4344 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
4345
4346 2015-08-21 Mike Frysinger <vapier@gentoo.org>
4347
4348 * manual/Makefile (install): Only build manual when perl is available.
4349
4350 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
4351
4352 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
4353 '#undef memcpy' by '#undef memchr'.
4354
4355 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
4356
4357 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
4358 memchr not point to the internal __GI_memchr implementation.
4359
4360 2015-08-20 Joseph Myers <joseph@codesourcery.com>
4361
4362 * timezone/Makefile (CFLAGS-zdump.c): Remove
4363 -Wno-strict-prototypes.
4364 (CFLAGS-zic.c): Likewise.
4365 (CFLAGS-ialloc.c): Likewise.
4366 (CFLAGS-scheck.c): Likewise.
4367
4368 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
4369 -Wno-error=undef.
4370
4371 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
4372
4373 * i386/i686/multiarch/strcasestr-c.c: Removed.
4374 * x86_64/multiarch/strcasestr.c: Likewise.
4375 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4376 Remove strcasestr.
4377
4378 2015-08-20 Joseph Myers <joseph@codesourcery.com>
4379
4380 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
4381
4382 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
4383 variables for high and low parts before possibly modifying them.
4384
4385 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
4386
4387 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
4388 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
4389 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
4390 of "multiarch/init-arch.h".
4391 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
4392 * sysdeps/x86/init-arch.h: This.
4393
4394 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
4395
4396 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
4397 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
4398
4399 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
4400
4401 [BZ #17787]
4402 * manual/macros.texi: Add twoexp macro.
4403 * manual/filesys.texi: Fix exponents.
4404 * manual/llio.texi: Likewise.
4405 * manual/stdio.texi: Likewise.
4406
4407 2015-08-20 Florian Weimer <fweimer@redhat.com>
4408
4409 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
4410 incorrect use.
4411
4412 2015-08-19 Joseph Myers <joseph@codesourcery.com>
4413
4414 [BZ #18370]
4415 * math/s_csqrt.c (__csqrt): Force underflow exception for results
4416 whose real or imaginary part has small absolute value.
4417 * math/s_csqrtf.c (__csqrtf): Likewise.
4418 * math/s_csqrtl.c (__csqrtl): Likewise.
4419 * math/auto-libm-test-in: Add more tests of csqrt.
4420 * math/auto-libm-test-out: Regenerated.
4421 * sysdeps/i386/fpu/libm-test-ulps: Update.
4422
4423 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4424
4425 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
4426 __ppc_set_ppr_very_low): New functions.
4427 * manual/platform.texi: Add documentation about
4428 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
4429
4430 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
4431
4432 * string/stpncpy.c (stpncpy): Improve performance using
4433 __strnlen/memcpy/memset.
4434
4435 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
4436
4437 [BZ #18796]
4438 * scripts/test-installation.pl: Don't add -lmvec to build options if
4439 libmvec wasn't built.
4440
4441 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4442
4443 [BZ #14341]
4444 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
4445 case when there is a gap between DT_REL and DT_JMPREL sections.
4446 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
4447 (LDFLAGS-tst-split-dynreloc): New.
4448 (tst-split-dynreloc-ENV): Likewise.
4449 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
4450 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
4451
4452 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
4453
4454 [BZ #18822]
4455 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
4456 attribute_hidden.
4457 (__xstat64_conv): Likewise.
4458 (__xstat32_conv): Likewise.
4459
4460 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
4461
4462 [BZ #18822]
4463 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
4464 Don't load %ebx when calling __setcontext. Call __setcontext
4465 with HIDDEN_JUMPTARGET.
4466 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
4467 libc_hidden_def.
4468
4469 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
4470
4471 * sysdeps/i386/i686/Makefile
4472 [$(subdir) == string] (sysdep_routines): Moved to ...
4473 * sysdeps/i386/Makefile: Here.
4474 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
4475 * sysdeps/i386/cacheinfo.c: Here.
4476 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
4477 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
4478 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
4479 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
4480
4481 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
4482
4483 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
4484 __i586__ is defined.
4485 (HAS_I686): Defined to 1 if __i686__ is defined.
4486
4487 2015-08-19 Joseph Myers <joseph@codesourcery.com>
4488
4489 * elf/Makefile [$(have-z-execstack) = yes]
4490 (CPPFLAGS-tst-execstack.c): New variable.
4491
4492 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
4493 conditional to [defined UTMPX || _HAVE_UT_TYPE].
4494 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
4495 UTMPX || _HAVE_UT_TV].
4496 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
4497 UTMPX || _HAVE_UT_TV - 0].
4498
4499 2015-08-18 Joseph Myers <joseph@codesourcery.com>
4500
4501 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
4502 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
4503 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
4504
4505 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
4506
4507 * sysdeps/powerpc/dl-procinfo.c:
4508 (_dl_powerpc_cap_flags): Added missing strings for some
4509 hwcap features.
4510 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
4511
4512 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
4513
4514 Port the 0x7efe...feff pattern to GCC 6.
4515 See Steve Ellcey's bug report in:
4516 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
4517 * string/memrchr.c (MEMRCHR):
4518 * string/rawmemchr.c (RAWMEMCHR):
4519 * string/strchr.c (strchr):
4520 * string/strchrnul.c (STRCHRNUL):
4521 Rewrite code to avoid issues with signed shift overflow.
4522
4523 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
4524
4525 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
4526 whether cpuid is available only if HAS_CPUID is 0.
4527 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
4528 (HAS_I586): Likewise.
4529 (HAS_I686): Likewise.
4530
4531 2015-08-18 Zack Weinberg <zackw@panix.com>
4532
4533 * misc/Versions (libc): Add GLIBC_2.23.
4534
4535 2015-08-18 Alan Modra <amodra@gmail.com>
4536
4537 [BZ #18421]
4538 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
4539 .Lp__global.
4540 (_start): Load %dp via .Lp__global.
4541 [!SHARED]: Use .section .rodata.
4542
4543 2015-08-18 Mike Frysinger <vapier@gentoo.org>
4544
4545 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
4546 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
4547
4548 2015-08-18 Mike Frysinger <vapier@gentoo.org>
4549
4550 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
4551 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
4552
4553 2015-08-18 Mike Frysinger <vapier@gentoo.org>
4554
4555 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
4556 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
4557
4558 2015-08-18 Mike Frysinger <vapier@gentoo.org>
4559
4560 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
4561 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
4562
4563 2015-08-18 Mike Frysinger <vapier@gentoo.org>
4564
4565 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
4566 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
4567
4568 2015-08-18 Mike Frysinger <vapier@gentoo.org>
4569
4570 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
4571 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
4572
4573 2015-08-18 Mike Frysinger <vapier@gentoo.org>
4574
4575 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
4576
4577 2015-08-18 Mike Frysinger <vapier@gentoo.org>
4578
4579 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
4580 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
4581 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4582 (__ASSUME_LWS_CAS): Delete.
4583
4584 2015-08-18 Mike Frysinger <vapier@gentoo.org>
4585
4586 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
4587 * sysdeps/hppa/configure: Regenerated.
4588 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
4589 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
4590 * sysdeps/hppa/nptl/tls.h: Likewise.
4591
4592 2015-08-17 Joseph Myers <joseph@codesourcery.com>
4593
4594 [BZ #18823]
4595 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
4596 for scaling up small arguments.
4597 * math/s_csqrtf.c (__csqrtf): Likewise.
4598 * math/s_csqrtl.c (__csqrtl): Likewise.
4599 * math/auto-libm-test-in: Add more tests of csqrt.
4600 * math/auto-libm-test-out: Regenerated.
4601
4602 2015-08-17 Andreas Schwab <schwab@suse.de>
4603
4604 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
4605 version set GLIBC_2.19.
4606
4607 2015-08-16 Zack Weinberg <zackw@panix.com>
4608
4609 [BZ #18681]
4610 * misc/regexp.h: This interface is no longer supported.
4611 Remove all contents, leaving only an #error directive.
4612 * misc/regexp.c (loc1, loc2, locs, step, advance):
4613 Demote to compatibility symbols.
4614
4615 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
4616
4617 [BZ #18084]
4618 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
4619 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
4620 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
4621 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
4622 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
4623 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
4624 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
4625 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
4626 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
4627
4628 2015-08-15 Zack Weinberg <zackw@panix.com>
4629
4630 [BZ #18795]
4631 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
4632 buffer length is known to be too large, not if it's known to be
4633 small enough.
4634 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
4635 overflow at runtime, involving a length parameter, twice: once
4636 with a compile-time constant length parameter, once without.
4637
4638 2015-08-14 Joseph Myers <joseph@codesourcery.com>
4639
4640 [BZ #18824]
4641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
4642 scaling x * y up instead of down.
4643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4644 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4645 * math/auto-libm-test-in: Add more tests of fma.
4646 * math/auto-libm-test-out: Regenerated.
4647
4648 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4649
4650 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4651
4652 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4653
4654 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
4655 unnecessary movq.
4656 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
4657 Likewise.
4658
4659 2015-08-13 Joseph Myers <joseph@codesourcery.com>
4660
4661 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4662 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
4663 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
4664 and tgamma.
4665 * math/auto-libm-test-out: Regenerated.
4666 * sysdeps/i386/fpu/libm-test-ulps: Update.
4667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4668
4669 [BZ #16520]
4670 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
4671 (__tanh): Force underflow exception for arguments with small
4672 absolute value.
4673 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
4674 (__tanhf): Force underflow exception for arguments with small
4675 absolute value.
4676 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
4677 (__tanhl): Force underflow exception for arguments with small
4678 absolute value.
4679 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
4680 (__tanhl): Force underflow exception for arguments with small
4681 absolute value.
4682 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
4683 (__tanhl): Force underflow exception for arguments with small
4684 absolute value.
4685 * math/auto-libm-test-in: Add more tests of tanh.
4686 * math/auto-libm-test-out: Regenerated.
4687 * sysdeps/i386/fpu/libm-test-ulps: Update.
4688
4689 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
4690
4691 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
4692 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
4693
4694 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
4695
4696 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
4697 <cpuid.h>.
4698
4699 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
4700
4701 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
4702 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
4703
4704 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
4705
4706 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
4707 Remove $(objpfx)init-arch.o.
4708 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
4709 init-arch.
4710 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
4711 (INIT_ARCH_EXT): Defined as empty.
4712 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
4713 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
4714 __init_cpu_features call. Replace HAS_XXX with
4715 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
4716 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
4717 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
4718 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
4719 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
4720 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
4721 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
4722 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
4723 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
4724 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
4725 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
4726 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
4727 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
4728 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
4729 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
4730 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
4731 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
4732 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
4733 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
4734 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
4735 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
4736 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
4737 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
4738 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
4739 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
4740 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
4741 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
4742 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
4743 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
4744 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
4745 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
4746 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
4747 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
4748 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
4749 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
4750 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
4751
4752 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
4753
4754 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
4755 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
4756 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
4757 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
4758 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
4759 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
4760 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
4761 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
4762 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
4763 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
4764 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
4765 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
4766 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
4767 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4768 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4769 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4770 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4771 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4772 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4773 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4774 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4775 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4776 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4777 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4778 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4779 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4780 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4781 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4782 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4783 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4784 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4785 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4786 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4787 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4788 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4789 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4790 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4791 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4792 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4793 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4794 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4795 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4796 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4797
4798 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
4799
4800 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
4801 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
4802 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4803 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4804 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4805 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
4806 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4807 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
4808 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4809 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4810 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4811 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
4812 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
4813 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
4814 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
4815 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
4816 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
4817 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
4818 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
4819 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
4820 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
4821 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
4822 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
4823 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4824 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4825 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
4826 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
4827 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
4828 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
4829 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4830 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4831 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4832 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4833 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4834 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4835 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4836 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4837 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4838 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4839 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4840 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4841 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4842 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4843
4844 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
4845
4846 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
4847 (dl_platform_init): Call init_cpu_features.
4848 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
4849 * sysdeps/i386/i686/cacheinfo.c
4850 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
4851 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
4852 * sysdeps/i386/i686/multiarch/Versions: Removed.
4853 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
4854 Removed.
4855 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
4856 * sysdeps/unix/sysv/linux/x86/Makefile
4857 (libpthread-sysdep_routines): Remove init-arch.
4858 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
4859 <sysdeps/x86_64/dl-procinfo.c> instead of
4860 sysdeps/generic/dl-procinfo.c>.
4861 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
4862 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
4863 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
4864 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
4865 [$(subdir) == elf] (tests-static): Add
4866 tst-get-cpu-features-static.
4867 * sysdeps/x86/Versions: New file.
4868 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
4869 * sysdeps/x86/cpu-features.c: Likewise.
4870 * sysdeps/x86/cpu-features.h: Likewise.
4871 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
4872 * sysdeps/x86/libc-start.c: Likewise.
4873 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
4874 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
4875 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
4876 * sysdeps/x86_64/dl-procinfo.c: Likewise.
4877 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
4878 Assume USE_MULTIARCH is defined and don't check it.
4879 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
4880 (is_amd): Likewise.
4881 (max_cpuid): Likewise.
4882 (intel_check_word): Likewise.
4883 (__cache_sysconf): Don't call __init_cpu_features.
4884 (__x86_preferred_memory_instruction): Removed.
4885 (init_cacheinfo): Don't call __init_cpu_features. Replace
4886 __cpu_features with GLRO(dl_x86_cpu_features).
4887 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
4888 (dl_platform_init): Call init_cpu_features.
4889 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
4890 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
4891 * sysdeps/x86_64/multiarch/Versions: Removed.
4892 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
4893 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
4894 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
4895 Removed.
4896 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
4897
4898 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4899
4900 [BZ #18820]
4901 * libio/Makefile (test-fmemopen-mem): New test.
4902 * libio/test-fmemopen.c (do_bz18820): New test.
4903 * libio/fmemopen.c (__fmemopen): Fix memory leak.
4904 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
4905
4906 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4907
4908 [BZ #16734]
4909 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
4910 (FREE_BUF): Delete.
4911 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
4912 * libio/genops.c (_IO_setb): Use malloc and free directly.
4913 (_IO_default_doallocate, _IO_default_finish): Likewise.
4914 ( _IO_unbuffer_all): Likewise.
4915 ( libc_freeres_fn): Likewise.
4916 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4917 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
4918 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
4919 (_IO_wdefault_doallocate): Likewise.
4920
4921 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4922
4923 [BZ #18086]
4924 * sysdeps/posix/nice.c (nice): Restore old errno.
4925 * posix/tst-nice.c (do_test): Add test for BZ #18086.
4926
4927 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
4928
4929 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
4930
4931 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4932
4933 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
4934 __bcopy and add a weak_alias to bcopy.
4935 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
4936 for static build.
4937
4938 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
4939 cleanup macro usage.
4940 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
4941 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
4942 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4943 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
4944 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4945 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
4946 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
4947 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
4948 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4949 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
4950 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4951 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
4952 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4953 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
4954 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4955 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
4956 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
4957 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
4958 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
4959
4960 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
4961 libc_hidden_def.
4962 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
4963
4964 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
4965 (sysdep_routines): Add strstr-ppc64.
4966 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
4967
4968 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
4969
4970 [BZ #18778]
4971 * elf/Makefile (tests): Add Add tst-nodelete2.
4972 (modules-names): Add tst-nodelete2mod.
4973 (tst-nodelete2mod.so-no-z-defs): New.
4974 ($(objpfx)tst-nodelete2): Likewise.
4975 ($(objpfx)tst-nodelete2.out): Likewise.
4976 (LDFLAGS-tst-nodelete2): Likewise.
4977 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
4978 out of loop through all loaded libraries.
4979 * elf/tst-nodelete2.c: New file.
4980 * elf/tst-nodelete2mod.c: Likewise.
4981 * elf/tst-znodelete-zlib.cc: Delete.
4982
4983 2015-08-11 Andreas Schwab <schwab@suse.de>
4984
4985 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
4986 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
4987 (__openat64_nocancel): Likewise.
4988
4989 2015-08-11 Joseph Myers <joseph@codesourcery.com>
4990
4991 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
4992 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
4993 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
4994 * math/auto-libm-test-out: Regenerated.
4995 * sysdeps/i386/fpu/libm-test-ulps: Update.
4996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4997
4998 2015-08-10 Joseph Myers <joseph@codesourcery.com>
4999
5000 [BZ #18790]
5001 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
5002 threshold for returning +/- 1.
5003 * math/auto-libm-test-in: Add more tests of tanh.
5004 * math/auto-libm-test-out: Regenerated.
5005 * sysdeps/i386/fpu/libm-test-ulps: Update.
5006
5007 2015-08-10 Andreas Schwab <schwab@suse.de>
5008
5009 [BZ #18781]
5010 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
5011 MORE_OFLAGS to oflag.
5012 * io/test-lfs.c (do_test): Test openat64.
5013
5014 2015-08-10 Joseph Myers <joseph@codesourcery.com>
5015
5016 [BZ #18789]
5017 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
5018 smaller threshold for returning the argument.
5019 * math/auto-libm-test-in: Add more tests of sinh.
5020 * math/auto-libm-test-out: Regenerated.
5021 * sysdeps/i386/fpu/libm-test-ulps: Update.
5022
5023 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
5024
5025 [BZ #18674]
5026 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
5027 break.
5028
5029 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
5030
5031 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
5032 (generated): Don't add $(addprefix z.,$(tzfiles)).
5033
5034 2015-08-09 Mike Frysinger <vapier@gentoo.org>
5035
5036 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
5037 * scripts/sysd-rules.awk: Likewise.
5038
5039 2015-08-09 Mike Frysinger <vapier@gentoo.org>
5040
5041 * iconvdata/tst-tables.sh: Change echo -n to printf.
5042 * nss/db-Makefile: Likewise.
5043 * posix/tst-getconf.sh: Likewise.
5044 * stdio-common/tst-unbputc.sh: Likewise.
5045
5046 2015-08-09 Mike Frysinger <vapier@gentoo.org>
5047
5048 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
5049 MADV_*_PAGES defines behind this feature check.
5050
5051 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
5052
5053 [BZ #18480]
5054 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
5055 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
5056 Define.
5057 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
5058 LOAD_REGS_5, LOAD_REGS_6): Update.
5059 (INTERNAL_SYSCALL): Update using new LOAD defines.
5060 (INTERNAL_SYSCALL_NCS): Likewise.
5061 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
5062
5063 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5064
5065 [BZ #16734]
5066 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
5067
5068 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5069
5070 [BZ #17905]
5071 * catgets/Makefile (tst-catgets-mem): New test.
5072 * catgets/catgets.c (catopen): Don't use unbounded alloca.
5073 * catgets/open_catalog.c (__open_catalog): Likewise.
5074 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
5075
5076 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
5077
5078 [BZ #18787]
5079 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
5080 clobber registers.
5081 (atomic_compare_and_exchange_val_acq): Use register asms to assign
5082 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
5083 Cast return to __typeof (oldval).
5084
5085 2015-08-08 Mike Frysinger <vapier@gentoo.org>
5086
5087 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
5088 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
5089 and delete sys/syscall.h include.
5090
5091 2015-08-07 Joseph Myers <joseph@codesourcery.com>
5092
5093 [BZ #16517]
5094 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
5095 (tan): Force underflow exception for arguments with small absolute
5096 value.
5097 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
5098 (__kernel_tanf): Force underflow exception for arguments with
5099 small absolute value.
5100 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
5101 (__kernel_tanl): Force underflow exception for arguments with
5102 small absolute value.
5103 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
5104 (__kernel_tanl): Force underflow exception for arguments with
5105 small absolute value.
5106 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
5107 (__kernel_tanl): Force underflow exception for arguments with
5108 small absolute value.
5109 * math/auto-libm-test-in: Add more tests of tan.
5110 * math/auto-libm-test-out: Regenerated.
5111
5112 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5113
5114 Fix sysdeps/i386/fpu/s_scalbn.S build
5115
5116 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
5117
5118 2015-08-07 Mike Frysinger <vapier@gentoo.org>
5119
5120 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
5121
5122 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5123
5124 Fix gcrt0.o compilation
5125
5126 When static-start-installed-name is different from
5127 start-installed-name, we must not use the shared objects.
5128
5129 * csu/Makefile
5130 (extra-objs): Add gmon-start.o when building shared library and
5131 $(static-start-installed-name) is different from
5132 $(start-installed-name).
5133 $(objpfx)g$(static-start-installed-name): When building shared
5134 library and $(static-start-installed-name) is different from
5135 $(static-start-installed-name), revert to non-shared rule,
5136 i.e. using $(objpfx)% and gmon-start.o.
5137
5138 2015-08-06 Joseph Myers <joseph@codesourcery.com>
5139
5140 [BZ #16519]
5141 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
5142 (__ieee754_sinh): Force underflow exception for arguments with
5143 small absolute value.
5144 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
5145 (__ieee754_sinhf): Force underflow exception for arguments with
5146 small absolute value.
5147 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
5148 (__ieee754_sinhl): Force underflow exception for arguments with
5149 small absolute value.
5150 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
5151 (__ieee754_sinhl): Force underflow exception for arguments with
5152 small absolute value.
5153 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
5154 (__ieee754_sinhl): Force underflow exception for arguments with
5155 small absolute value.
5156 * math/auto-libm-test-in: Add more tests of sinh.
5157 * math/auto-libm-test-out: Regenerated.
5158 * sysdeps/i386/fpu/libm-test-ulps: Update.
5159
5160 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5161
5162 * libio/oldfileops.c: Include unistd.h.
5163
5164 2015-08-06 Mike Frysinger <vapier@gentoo.org>
5165
5166 * stdlib/isomac.c: Include ctype.h.
5167
5168 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
5169
5170 * dirent/tst-seekdir.c (main): Converted to ...
5171 (do_test): ... this.
5172 (TEST_FUNCTION): New macro.
5173 Include test-skeleton.c.
5174 * elf/tst-dlmodcount.c (main): Converted to ...
5175 (do_test): ... this.
5176 (TEST_FUNCTION): New macro.
5177 Include test-skeleton.c.
5178 * elf/tst-order-main.c (main): Converted to ...
5179 (do_test): ... this.
5180 (TEST_FUNCTION): New macro.
5181 Include test-skeleton.c.
5182 * elf/tst-pie2.c (main): Converted to ...
5183 (do_test): ... this.
5184 (TEST_FUNCTION): New macro.
5185 Include test-skeleton.c.
5186 * inet/tst-ether_aton.c (main): Converted to ...
5187 (do_test): ... this.
5188 (TEST_FUNCTION): New macro.
5189 Include test-skeleton.c.
5190 * misc/tst-mntent.c (main): Converted to ...
5191 (do_test): ... this.
5192 (TEST_FUNCTION): New macro.
5193 Include test-skeleton.c.
5194 * misc/tst-tsearch.c (main): Converted to ...
5195 (do_test): ... this.
5196 (TEST_FUNCTION): New macro.
5197 Include test-skeleton.c.
5198 * posix/tst-regexloc.c (main): Converted to ...
5199 (do_test): ... this.
5200 (TEST_FUNCTION): New macro.
5201 Include test-skeleton.c.
5202 * resolv/tst-aton.c (main): Converted to ...
5203 (do_test): ... this.
5204 (TEST_FUNCTION): New macro.
5205 Include test-skeleton.c.
5206 * stdio-common/test-fwrite.c (main): Converted to ...
5207 (do_test): ... this.
5208 (TEST_FUNCTION): New macro.
5209 Include test-skeleton.c.
5210 * stdio-common/tst-ferror.c (main): Converted to ...
5211 (do_test): ... this.
5212 (TEST_FUNCTION): New macro.
5213 Include test-skeleton.c.
5214 * stdio-common/tst-printf.c (main): Converted to ...
5215 (do_test): ... this.
5216 (TEST_FUNCTION): New macro.
5217 Include test-skeleton.c.
5218 * stdio-common/tst-printfsz.c (main): Converted to ...
5219 (do_test): ... this.
5220 (TEST_FUNCTION): New macro.
5221 Include test-skeleton.c.
5222 * stdlib/tst-strtod.c (main): Converted to ...
5223 (do_test): ... this.
5224 (TEST_FUNCTION): New macro.
5225 Include test-skeleton.c.
5226 * string/tst-strlen.c (main): Converted to ...
5227 (do_test): ... this.
5228 (TEST_FUNCTION): New macro.
5229 Include test-skeleton.c.
5230 * string/tst-svc.c (main): Converted to ...
5231 (do_test): ... this.
5232 (TEST_FUNCTION): New macro.
5233 Include test-skeleton.c.
5234 * time/tst-strptime.c (main): Converted to ...
5235 (do_test): ... this.
5236 (TEST_FUNCTION): New macro.
5237 Include test-skeleton.c.
5238 * timezone/tst-timezone.c (main): Converted to ...
5239 (do_test): ... this.
5240 (TEST_FUNCTION): New macro.
5241 Include test-skeleton.c.
5242
5243 2015-08-05 Zack Weinberg <zackw@panix.com>
5244
5245 * misc/regexp.h: Update comments.
5246
5247 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
5248
5249 [BZ #18635]
5250 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
5251 before return label.
5252
5253 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
5254
5255 [BZ #18661]
5256 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
5257 when calling __errno_location.
5258 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
5259 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
5260
5261 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
5262
5263 [BZ #18661]
5264 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
5265 (__lll_timedwait_tid): Align stack to 16 bytes when calling
5266 __gettimeofday.
5267
5268 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
5269
5270 [BZ #18661]
5271 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5272 (__start_context): Don't use pop to restore %rdi so that stack
5273 is aligned to 16 bytes when calling __setcontext.
5274
5275 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
5276
5277 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
5278 only for libc.
5279 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5280
5281 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
5282
5283 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
5284 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
5285 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
5286
5287 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
5288
5289 * string/memccpy.c (memccpy):
5290 Improve performance by using memchr/memcpy/__mempcpy.
5291
5292 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
5293
5294 * string/strncpy.c (strncpy):
5295 Improve performance by using __strnlen/memcpy.
5296
5297 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
5298
5299 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5300 Optimize to avoid an unnecessary FPCR read.
5301
5302 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
5303
5304 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5305 Optimize to reduce FPCR/FPSR accesses.
5306
5307 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
5308
5309 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
5310 dead->data[category] != NULL.
5311
5312 2015-08-05 Joseph Myers <joseph@codesourcery.com>
5313
5314 [BZ #18647]
5315 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
5316 and |x| close to 1, use absolute value of x when computing log.
5317 * math/auto-libm-test-in: Add more tests of pow.
5318 * math/auto-libm-test-out: Regenerated.
5319
5320 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5321
5322 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
5323 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
5324 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
5325
5326 2015-08-05 Marko Myllynen <myllynen@redhat.com>
5327
5328 [BZ #18525]
5329 * locales/km_KH: Remove timezone definition.
5330 * locales/lo_LA: Likewise.
5331 * locales/my_MM: Likewise.
5332 * locales/nan_TW@latin: Likewise.
5333 * locales/th_TH: Likewise.
5334 * locales/uk_UA: Likewise.
5335
5336 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
5337
5338 [BZ #18265]
5339 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
5340 (wcsncat): Likewise.
5341 (wcscmp): Likewise.
5342 (wcsncmp): Likewise.
5343
5344 2015-08-05 Mike Frysinger <vapier@gentoo.org>
5345
5346 * test-skeleton.c (usage): New function.
5347 (main): Call usage when opt is '?'.
5348
5349 2015-08-05 Mike Frysinger <vapier@gentoo.org>
5350
5351 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
5352 before first use.
5353
5354 2015-08-05 Mike Frysinger <vapier@gentoo.org>
5355
5356 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
5357 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
5358 in there too.
5359
5360 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
5361
5362 * version.h (RELEASE): Set to "development".
5363 (VERSION): Set to "2.22.90"
5364
5365 * version.h (RELEASE): Set to "stable".
5366 (VERSION): Set to "2.22"
5367 * include/features.h (__GLIBC_MINOR__): Set to 22.
5368
5369 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
5370
5371 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
5372 Restructure macro to avoid "value computed is not used" warning.
5373 (atomic_compare_and_exchange_val_acq): Likewise.
5374
5375 2015-08-04 Andreas Schwab <schwab@suse.de>
5376
5377 [BZ #18635]
5378 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
5379 ret.
5380 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
5381
5382 2015-08-01 Carlos O'Donell <carlos@redhat.com>
5383
5384 * po/pl.po: Updated translation.
5385 * po/uk.po: Likewise.
5386 * po/fi.po: Likewise.
5387 * po/ko.po: Likewise.
5388 * po/ru.po: Likewise.
5389 * po/vi.po: Likewise.
5390
5391 2015-07-31 Zack Weinberg <zackw@panix.com>
5392
5393 [BZ #18681]
5394 * regexp.h: Add unconditional #warning stating that this header
5395 will be removed soon. Revise banner comment to match.
5396 (compile): Consistently use ERROR instead of RETURN to report
5397 errors (partial fix for bz#18681).
5398 * regexp.c: Don't include regexp.h. Remove some unnecessary
5399 declarations.
5400
5401 2015-07-31 Carlos O'Donell <carlos@redhat.com>
5402
5403 * po/libc.pot: Regenerated.
5404
5405 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
5406
5407 [BZ #18740]
5408 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
5409 float-vlen4-arch-ext-cflags): Removed.
5410 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
5411 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
5412
5413 2015-07-30 Mike Frysinger <vapier@gentoo.org>
5414
5415 [BZ #14113]
5416 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
5417 aligned to __aligned__.
5418 (pthread_cond_t, pthread_rwlock_t): Likewise.
5419
5420 2015-07-30 Torvald Riegel <triegel@redhat.com>
5421
5422 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
5423
5424 2015-07-30 Mike Frysinger <vapier@gentoo.org>
5425
5426 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
5427 (struct sigaction): Change sa_flags from a long to an int, and add
5428 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
5429
5430 2015-07-30 Mike Frysinger <vapier@gentoo.org>
5431
5432 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
5433 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
5434 sysdeps/generic/sysdep.h include.
5435 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
5436 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
5437 sysdeps/hppa/sysdep.h.
5438 (ENTRY, PSEUDO): Undefine before defining.
5439
5440 2015-07-30 Mike Frysinger <vapier@gentoo.org>
5441
5442 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
5443 from scratch to use INTERNAL_SYSCALL.
5444
5445 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
5446
5447 [BZ #18078]
5448 * scripts/check-localplt.awk: Support alternate relocations.
5449 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
5450 sections.
5451 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
5452 malloc entries with + REL R_386_GLOB_DAT.
5453 * sysdeps/x86_64/localplt.data: New file.
5454
5455 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
5456
5457 [BZ #18731]
5458 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
5459 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5460 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5461
5462 2015-07-27 Mike Frysinger <vapier@gentoo.org>
5463
5464 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
5465
5466 2015-07-27 Mike Frysinger <vapier@gentoo.org>
5467
5468 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
5469 directly in terms of __sync_fetch_and_add and delete (int) cast.
5470
5471 2015-07-27 Mike Frysinger <vapier@gentoo.org>
5472
5473 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
5474 the -D_ASM_IA64_CURRENT_H flag.
5475
5476 2015-07-27 Mike Frysinger <vapier@gentoo.org>
5477
5478 [BZ #18641]
5479 * pwd/pwd.h (putpwent): Delete __nonnull markings.
5480
5481 2015-07-27 Andreas Schwab <schwab@suse.de>
5482
5483 * conform/conformtest.pl (checknamespace): Filter out string
5484 literals while tokenizing.
5485
5486 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
5487
5488 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
5489 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
5490 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
5491
5492 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
5493
5494 * nptl/tst-join7mod.c: Add #include <string.h>.
5495
5496 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
5497
5498 * sysdeps/nios2/libm-test-ulps: Update.
5499
5500 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
5501
5502 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
5503 Fix order of arguments to the rt_sigprocmask syscall.
5504 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
5505 Likewise.
5506
5507 2015-07-24 Roland McGrath <roland@hack.frob.com>
5508
5509 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
5510
5511 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5512
5513 [BZ #18457]
5514 * nptl/Makefile (tests): New test case tst-join7.
5515 (modules-names): New test case module tst-join7mod.
5516 * nptl/tst-join7.c: New file.
5517 * nptl/tst-join7mod.c: New file.
5518 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
5519 all translation units in libc.so, libpthread.so and rtld.
5520
5521 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5522
5523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5524
5525 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
5526
5527 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
5528 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
5529 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
5530 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
5531 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
5532 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
5533 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
5534 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
5535 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
5536 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
5537 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
5538 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
5539 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
5540 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
5541 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
5542 implementation.
5543
5544 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
5545
5546 [BZ #17711]
5547 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
5548 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
5549 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
5550 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
5551 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
5552 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
5553
5554 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5555
5556 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
5557 instead of just saying load lock in the comments.
5558
5559 2015-07-23 Roland McGrath <roland@hack.frob.com>
5560
5561 * sysdeps/unix/Subdirs: Moved ...
5562 * sysdeps/posix/Subdirs: ... here.
5563 * login/pty.h (struct termios, struct winsize): Add forward decls.
5564 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
5565 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
5566 * sysdeps/arm/nacl/libc.abilist: Updated.
5567 * sysdeps/nacl/libutil.abilist: New file.
5568
5569 * bits/signum.h: Update comments to mention 1003.1-2013 too.
5570 (SIGWINCH): New macro.
5571
5572 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
5573 * sysdeps/arm/nacl/libc.abilist: Add it.
5574
5575 2015-07-23 Mike Frysinger <vapier@gentoo.org>
5576
5577 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
5578
5579 2015-07-23 Mike Frysinger <vapier@gentoo.org>
5580
5581 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
5582 Swap __glibc_reserved0 and sa_flags order.
5583
5584 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5585
5586 [BZ #18657]
5587 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
5588 are pending TLS destructor calls.
5589 * include/link.h (struct link_map): Add concurrency note for
5590 L_TLS_DTOR_COUNT.
5591 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5592 Don't touch the link map flag. Atomically increment
5593 l_tls_dtor_count.
5594 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
5595 Avoid taking the load lock and don't touch the link map flag.
5596 * stdlib/tst-tls-atexit-nodelete.c: New test case.
5597 * stdlib/Makefile (tests): Use it.
5598 * stdlib/tst-tls-atexit.c (do_test): dlopen
5599 tst-tls-atexit-lib.so again before dlclose. Add conditionals
5600 to allow tst-tls-atexit-nodelete test case to use it.
5601
5602 2015-07-22 Mike Frysinger <vapier@gentoo.org>
5603
5604 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
5605 to bits/types.h.
5606 (msgqnum_t): New typedef.
5607 (msglen_t): Likewise.
5608 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
5609 and msg_qbytes type to msglen_t.
5610
5611 2015-07-22 Mike Frysinger <vapier@gentoo.org>
5612
5613 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
5614 pad0 to __glibc_reserved0.
5615 (struct stat64): Likewise.
5616
5617 2015-07-22 Mike Frysinger <vapier@gentoo.org>
5618
5619 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
5620 Change sa_flags from a long to an int and add __glibc_reserved0 before
5621 it for padding.
5622
5623 2015-07-22 Mike Frysinger <vapier@gentoo.org>
5624
5625 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
5626 anonymous by deleting "siginfo" name.
5627
5628 2015-07-21 Roland McGrath <roland@hack.frob.com>
5629
5630 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
5631 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
5632 rather than __nacl_irt_filename.
5633 * sysdeps/nacl/xstat.c (__xstat): Likewise.
5634
5635 * NEWS: New item for arm-nacl port.
5636 * sysdeps/arm/nacl/libc.abilist: New file.
5637 * sysdeps/nacl/ld.abilist: New file.
5638 * sysdeps/nacl/libBrokenLocale.abilist: New file.
5639 * sysdeps/nacl/libanl.abilist: New file.
5640 * sysdeps/nacl/libcrypt.abilist: New file.
5641 * sysdeps/nacl/libdl.abilist: New file.
5642 * sysdeps/nacl/libm.abilist: New file.
5643 * sysdeps/nacl/libpthread.abilist: New file.
5644 * sysdeps/nacl/libresolv.abilist: New file.
5645 * sysdeps/nacl/librt.abilist: New file.
5646
5647 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
5648
5649 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
5650 __startcontext to initialize the new context.
5651 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
5652 up CFI directive to forbid further backtracing.
5653
5654 2015-07-21 Marko Myllynen <myllynen@redhat.com>
5655
5656 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
5657 reference.
5658 * charmaps/ANSI_X3.4-1968: Likewise.
5659 * charmaps/BS_4730: Likewise.
5660 * charmaps/BS_VIEWDATA: Likewise.
5661 * charmaps/CP1250: Likewise.
5662 * charmaps/CP1251: Likewise.
5663 * charmaps/CP1252: Likewise.
5664 * charmaps/CP1253: Likewise.
5665 * charmaps/CP1254: Likewise.
5666 * charmaps/CP1255: Likewise.
5667 * charmaps/CP1256: Likewise.
5668 * charmaps/CSN_369103: Likewise.
5669 * charmaps/EBCDIC-DK-NO: Likewise.
5670 * charmaps/GB_1988-80: Likewise.
5671 * charmaps/GREEK-CCITT: Likewise.
5672 * charmaps/GREEK7: Likewise.
5673 * charmaps/INIS-8: Likewise.
5674 * charmaps/ISIRI-3342: Likewise.
5675 * charmaps/ISO_2033-1983: Likewise.
5676 * charmaps/ISO_5427-EXT: Likewise.
5677 * locales/POSIX: Likewise.
5678 * locales/ar_SA: Likewise.
5679 * locales/be_BY: Likewise.
5680 * locales/be_BY@latin: Likewise.
5681 * locales/ca_ES: Likewise.
5682 * locales/cs_CZ: Likewise.
5683 * locales/da_DK: Likewise.
5684 * locales/de_BE: Likewise.
5685 * locales/de_CH: Likewise.
5686 * locales/de_LU: Likewise.
5687 * locales/en_AU: Likewise.
5688 * locales/en_BW: Likewise.
5689 * locales/en_CA: Likewise.
5690 * locales/en_DK: Likewise.
5691 * locales/en_GB: Likewise.
5692 * locales/en_IE: Likewise.
5693 * locales/en_NZ: Likewise.
5694 * locales/en_ZA: Likewise.
5695 * locales/en_ZW: Likewise.
5696 * locales/es_AR: Likewise.
5697 * locales/es_BO: Likewise.
5698 * locales/es_CL: Likewise.
5699 * locales/es_CO: Likewise.
5700 * locales/es_DO: Likewise.
5701 * locales/es_EC: Likewise.
5702 * locales/es_ES: Likewise.
5703 * locales/es_HN: Likewise.
5704 * locales/es_MX: Likewise.
5705 * locales/es_PA: Likewise.
5706 * locales/es_PE: Likewise.
5707 * locales/es_PY: Likewise.
5708 * locales/es_SV: Likewise.
5709 * locales/es_US: Likewise.
5710 * locales/es_UY: Likewise.
5711 * locales/es_VE: Likewise.
5712 * locales/et_EE: Likewise.
5713 * locales/fa_IR: Likewise.
5714 * locales/fo_FO: Likewise.
5715 * locales/fr_CA: Likewise.
5716 * locales/fr_CH: Likewise.
5717 * locales/gv_GB: Likewise.
5718 * locales/he_IL: Likewise.
5719 * locales/hr_HR: Likewise.
5720 * locales/id_ID: Likewise.
5721 * locales/is_IS: Likewise.
5722 * locales/it_CH: Likewise.
5723 * locales/iw_IL: Likewise.
5724 * locales/kl_GL: Likewise.
5725 * locales/ko_KR: Likewise.
5726 * locales/kw_GB: Likewise.
5727 * locales/lg_UG: Likewise.
5728 * locales/lt_LT: Likewise.
5729 * locales/lv_LV: Likewise.
5730 * locales/mi_NZ: Likewise.
5731 * locales/nhn_MX: Likewise.
5732 * locales/nl_BE: Likewise.
5733 * locales/pl_PL: Likewise.
5734 * locales/sk_SK: Likewise.
5735 * locales/sl_SI: Likewise.
5736 * locales/sv_FI: Likewise.
5737 * locales/tl_PH: Likewise.
5738 * locales/tr_TR: Likewise.
5739 * locales/vi_VN: Likewise.
5740
5741 2015-07-21 Khem Raj <raj.khem@gmail.com>
5742
5743 [BZ #17475]
5744 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
5745 of tu_IN and bh_IN.
5746
5747 2015-07-21 Mike Frysinger <vapier@gentoo.org>
5748
5749 [BZ #18694]
5750 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
5751 bits/wordsize.h.
5752 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
5753
5754 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5755
5756 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
5757 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
5758 (spawn_thread): New function.
5759 (load): Rename to reg_dtor_and_close. Move dlopen to...
5760 (do_test): ... here. Use IS_LOADED to test for its
5761 availability.
5762
5763 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
5764
5765 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5766
5767 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
5768
5769 [BZ #18696]
5770 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
5771 si_addr_bnd.
5772 (si_lower): New.
5773 (si_upper): Likewise.
5774
5775 2015-07-16 David S. Miller <davem@davemloft.net>
5776
5777 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5778
5779 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5780
5781 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
5782 buffer.
5783 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
5784 fail output information.
5785
5786 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5787
5788 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
5789 and strstr-ppc64..
5790 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5791 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
5792 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
5793 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
5794 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
5795
5796 2015-07-16 Mike Frysinger <vapier@gentoo.org>
5797
5798 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
5799 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
5800 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
5801 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
5802
5803 2015-07-16 Mike Frysinger <vapier@gentoo.org>
5804
5805 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
5806 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
5807 rtld_hidden_proto.
5808 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
5809
5810 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5811
5812 * tst-nodelete-opened.c (do_test): Add comment to clarify how
5813 the test can fail.
5814
5815 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
5816
5817 [BZ #18676]
5818 * elf/tst-nodelete-opened.c: New test case.
5819 * elf/tst-nodelete-opened-lib.c: New test case module.
5820 * elf/Makefile (tests, modules-names): Use them.
5821 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
5822 early.
5823
5824 2015-07-15 David S. Miller <davem@davemloft.net>
5825
5826 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
5827 futex-intenal.h
5828 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
5829 * sysdeps/sparc/sparc64/Makefile: Likewise.
5830 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
5831 Remove space from macro define.
5832 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
5833
5834 2015-07-15 Pravin Satpute <psatpute@redhat.com>
5835
5836 [BZ #17475]
5837 * locale/iso-639.def: Update Bhili and Tulu language codes as
5838 per iso639-3.
5839
5840 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
5841
5842 * elf/tst-leaks1.c (main): Converted to ...
5843 (do_test): ... this.
5844 (TEST_FUNCTION): New macro.
5845 Include test-skeleton.c.
5846 * localedata/tst-langinfo.c (main): Converted to ...
5847 (do_test): ... this.
5848 (TEST_FUNCTION): New macro.
5849 Include test-skeleton.c.
5850 * math/test-fpucw.c (main): Converted to ...
5851 (do_test): ... this.
5852 (TEST_FUNCTION): New macro.
5853 Include test-skeleton.c.
5854 * math/test-tgmath.c (main): Converted to ...
5855 (do_test): ... this.
5856 (TEST_FUNCTION): New macro.
5857 Include test-skeleton.c.
5858 * math/test-tgmath2.c (main): Converted to ...
5859 (do_test): ... this.
5860 (TEST_FUNCTION): New macro.
5861 Include test-skeleton.c.
5862 * setjmp/tst-setjmp.c (main): Converted to ...
5863 (do_test): ... this.
5864 (TEST_FUNCTION): New macro.
5865 Include test-skeleton.c.
5866 * stdio-common/tst-sscanf.c (main): Converted to ...
5867 (do_test): ... this.
5868 (TEST_FUNCTION): New macro.
5869 Include test-skeleton.c.
5870 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
5871 (do_test): ... this.
5872 (TEST_FUNCTION): New macro.
5873 Include test-skeleton.c.
5874
5875 * elf/tst-audit9.c (main): Converted to ...
5876 (do_test): ... this.
5877 (TEST_FUNCTION): New macro.
5878 Include test-skeleton.c.
5879
5880 2015-07-15 Mike Frysinger <vapier@gentoo.org>
5881
5882 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
5883
5884 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
5885
5886 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
5887 New variable.
5888
5889 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
5890
5891 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5892
5893 2015-07-14 Roland McGrath <roland@hack.frob.com>
5894
5895 * sysdeps/generic/dl-fileid.h: New file.
5896 * sysdeps/posix/dl-fileid.h: New file.
5897 * sysdeps/nacl/dl-fileid.h: New file.
5898 * include/link.h: Include <dl-fileid.h>.
5899 (struct link_map): Replace l_dev and l_ino with l_file_id.
5900 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
5901 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
5902 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
5903
5904 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5905
5906 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
5907
5908 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5909
5910 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
5911 Add iff $CXX is set.
5912 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
5913 Likewise.
5914 (tst-nodelete-zmodiff): Likewise.
5915 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
5916
5917 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5918
5919 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
5920
5921 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
5922
5923 * sysdeps/aarch64/fpu/math_private.h
5924 (define math_opt_barrier): Add AArch64 version.
5925 (math_force_eval): Likewise.
5926
5927 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
5928
5929 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
5930
5931 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
5932
5933 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
5934 %ld with %jd and cast to intmax_t.
5935 (do_test_length_zero): Likewise.
5936
5937 2015-07-10 Roland McGrath <roland@hack.frob.com>
5938
5939 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
5940
5941 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
5942
5943 * sysdeps/tile/libm-test-ulps: Regenerated.
5944
5945 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
5946 Comment out the whole function, not just its body.
5947
5948 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5949
5950 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
5951 locks.
5952
5953 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
5954
5955 2015-07-10 Torvald Riegel <triegel@redhat.com>
5956
5957 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
5958 (sem_assume_only_signals_cause_futex_EINTR): Remove.
5959
5960 2015-07-10 Torvald Riegel <triegel@redhat.com>
5961
5962 * sysdeps/nptl/futex-internal.h: New file.
5963 * sysdeps/nacl/futex-internal.h: New file.
5964 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
5965 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
5966 error checking.
5967 (setxid_unmark_thread): Likewise.
5968 (__nptl_setxid): Likewise.
5969 (__wait_lookup_done): Likewise.
5970 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
5971 * nptl/nptl-init.c (sighandler_setxid): Likewise.
5972 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5973 * nptl/pthread_once.c (clear_once_control): Likewise.
5974 (__pthread_once_slow): Likewise.
5975 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5976 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
5977 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
5978 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5979 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
5980 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
5981 Likewise.
5982 (__pthread_rwlock_rdlock): Likewise.
5983 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5984 Likewise.
5985 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5986 Likewise.
5987 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5988 Likewise.
5989 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
5990 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
5991 Likewise.
5992 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
5993 __ASSUME_PRIVATE_FUTEX check.
5994 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
5995 Check that shared futexes are supported.
5996 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
5997 wrappers with error checking.
5998 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
5999 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
6000 * nptl/pthread_barrierattr_setpshared.c
6001 (pthread_barrierattr_setpshared): Check that shared futexes are
6002 supported.
6003 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
6004 Likewise.
6005 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
6006 Likewise.
6007 * nptl/sem_init.c (futex_private_if_supported): Remove.
6008 (__new_sem_init): Adapt and check that shared futexes are supported.
6009 * nptl/sem_open.c (sem_open): Likewise.
6010 * nptl/sem_post.c (futex_wake): Remove.
6011 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
6012 (do_futex_wait): Use futex wrappers with error checking.
6013 * nptl/sem_wait.c: Include lowlevellock.h.
6014 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
6015 Use futex_supports_pshared.
6016 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
6017 Use futex wrappers with error checking.
6018 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
6019 Likewise.
6020 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
6021 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
6022 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
6023 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
6024 (futex_wake): Likewise.
6025 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
6026 (do_futex_wait): Use futex wrappers with error checking.
6027 (__new_sem_wait_slow): Update EINTR handling.
6028 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
6029
6030 2015-07-09 Martin Sebor <msebor@redhat.com>
6031
6032 [BZ #18435]
6033 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
6034 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
6035 * nptl/Makefile (test-xfail-tst-once5): Define.
6036
6037 2015-07-09 Roland McGrath <roland@hack.frob.com>
6038
6039 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
6040 * elf/dl-minimal.c: For readability, reorder some definitions and
6041 introduce more page breaks. Include <stdio.h>.
6042 (__libc_fatal): New function.
6043
6044 * include/unistd.h: Add rtld_hidden_proto for _exit.
6045 * posix/_exit.c: Add rtld_hidden_def.
6046 * sysdeps/mach/hurd/_exit.c: Likewise.
6047 * sysdeps/nacl/_exit.c: Likewise.
6048 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
6049 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
6050
6051 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
6052
6053 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
6054 bndmov encoding with zero displacement.
6055
6056 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
6057 H.J. Lu <hongjiu.lu@intel.com>
6058
6059 [BZ #18134]
6060 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
6061 * sysdeps/i386/configure: Regenerated.
6062 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6063 (_dl_runtime_profile): Save and restore Intel MPX return bound
6064 registers when calling _dl_call_pltexit. Add
6065 PRESERVE_BND_REGS_PREFIX before return.
6066 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
6067 (LRV_BND1_OFFSET): Likewise.
6068 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
6069 lrv_bnd1.
6070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
6071 typo in bndmov encoding.
6072 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
6073 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
6074 branch instructions to preserve bounds.
6075
6076 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6077
6078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6079 [GLIBC_2.22]: Add fmemopen.
6080
6081 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
6082
6083 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
6084 returns an error, also try to use host port from __mach_host_self for
6085 the __vm_wire call.
6086 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
6087
6088 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6089
6090 [BZ #18400]
6091 [BZ #18648]
6092 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
6093 Fix pr_uid and pr_gid members.
6094 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
6095 definition to elf_greg_t.
6096
6097 2015-07-08 Roland McGrath <roland@hack.frob.com>
6098
6099 [BZ #18383]
6100 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
6101 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
6102 * sysdeps/arm/configure: Regenerated.
6103 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
6104 (test-xfail-tst-tlsalign-static): Variable removed.
6105
6106 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
6107 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
6108 rather than explicit 'ln -s'.
6109
6110 * resolv/rpc/netdb.h: New file.
6111 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
6112
6113 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6114
6115 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
6116 length buffers.
6117 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6118 test-skeleton.c.
6119
6120 [BZ #6544]
6121 [BZ #11216]
6122 [BZ #12836]
6123 [BZ #13151]
6124 [BZ #13152]
6125 [BZ #14292]
6126 * include/stdio.h (fmemopen): Remove hidden prototype.
6127 (__fmemopen): Add new hidden prototype.
6128 * libio/Makefile: Add oldfmemopen object.
6129 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
6130 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
6131 compliance.
6132 * libio/oldfmemopen.c: New file: old fmemopen implementation for
6133 symbol compatibility.
6134 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
6135 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
6136 fmemopen.
6137 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
6138 on append and read mode.
6139 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
6140 fmemopen.
6141 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
6142 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
6143 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
6144 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
6145 Likewise.
6146 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6147 [GLIBC_2.22]: Likewise.
6148 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
6149 Likewise.
6150 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
6151 Likewise.
6152 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6153 [GLIBC_2.22]: Likewise.
6154 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6155 [GLIBC_2.22]: Likewise.
6156 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6157 [GLIBC_2.22]: Likewise.
6158 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6159 [GLIBC_2.22]: Likewise.
6160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6161 [GLIBC_2.22]: Likewise.
6162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6163 [GLIBC_2.22]: Likewise.
6164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6165 [GLIBC_2.22]: Likewise.
6166 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
6167 Likewise.
6168 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
6169 Likewise.
6170 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
6171 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6172 [GLIBC_2.22]: Likewise.
6173 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6174 [GLIBC_2.22]: Likewise.
6175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6176 [GLIBC_2.22]: Likewise.
6177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6178 [GLIBC_2.22]: Likewise.
6179 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
6180 Likewise.
6181 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
6182 Likewise.
6183 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
6184 Likewise.
6185 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
6186 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
6187
6188 2015-07-08 Carlos O'Donell <carlos@redhat.com>
6189
6190 [BZ #18643]
6191 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
6192 IPV6_PATHMTU, and IPV6_DONTFRAG.
6193
6194 2015-07-08 Feng Gao <gfree.wind@gmail.com>
6195
6196 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
6197 and _IO_UNBUFFERED.
6198 * libio/oldfileops.c: Likewise.
6199 * libio/wfileops.c: Likewise.
6200
6201 2015-07-08 Mike Frysinger <vapier@gentoo.org>
6202
6203 * nscd/selinux.c: Delete selinux/flask.h include.
6204
6205 2015-07-08 Mike Frysinger <vapier@gentoo.org>
6206
6207 [BZ #18641]
6208 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
6209 (putpwent): Likewise.
6210 (getpwnam): Likewise.
6211 (getpwent_r): Likewise.
6212 (getpwuid_r): Likewise.
6213 (getpwnam_r): Likewise.
6214 (fgetpwent_r): Likewise.
6215
6216 2015-07-08 Carlos O'Donell <carlos@redhat.com>
6217
6218 [BZ #18557]
6219 * inet/rcmd.c (__validuser2_sa): Check user first to
6220 short-circuit host check.
6221
6222 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
6223 Mikhail Ilin <m.ilin@samsung.com>
6224
6225 [BZ #17833]
6226 * elf/Makefile (tests): Add tst-nodelete.
6227 (modules-names): Add tst-nodelete-uniquemod.
6228 (tst-nodelete-uniquemod.so-no-z-defs): New.
6229 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
6230 (tst-nodelete-zmod.so-no-z-defs): Likewise.
6231 ($(objpfx)tst-nodelete): Likewise.
6232 ($(objpfx)tst-nodelete.out): Likewise.
6233 (LDFLAGS-tst-nodelete): Likewise.
6234 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
6235 * elf/dl-close.c (_dl_close_worker): Add a parameter to
6236 implement forced object deletion.
6237 (_dl_close): Pass false to _dl_close_worker.
6238 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
6239 * elf/tst-nodelete.cc: New file.
6240 * elf/tst-nodeletelib.cc: Likewise.
6241 * elf/tst-znodeletelib.cc: Likewise.
6242 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
6243
6244 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
6245
6246 [BZ #18508]
6247 * stdlib/Makefile ($(objpfx)tst-makecontext3):
6248 Depend on $(libdl).
6249 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
6250 is not called infinitely times.
6251 (backtrace_helper): New function.
6252 (trace_arg): New struct.
6253 (st1): Enlarge stack size.
6254 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6255 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
6256 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6257 Likewise.
6258
6259 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
6260
6261 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6262
6263 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
6264
6265 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
6266 Include sys/types.h instead of bits/types.h.
6267 Remove inclusion of bits/wordsize.h.
6268
6269 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
6270
6271 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
6272 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
6273 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
6274 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
6275 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
6276 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
6277
6278 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
6279
6280 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
6281 link-defines.sym.
6282 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
6283 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
6284 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
6285 and LR_SIZE.
6286 * sysdeps/i386/link-defines.sym: New file.
6287
6288 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
6289
6290 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
6291 (modules-names): Add tst-auditmod3a tst-auditmod3b.
6292 ($(objpfx)tst-audit3): New rule.
6293 ($(objpfx)tst-audit3.out): Likewise.
6294 * sysdeps/i386/tst-audit3.c: New file.
6295 * sysdeps/i386/tst-audit3.h: Likewise.
6296 * sysdeps/i386/tst-auditmod3a.c: Likewise.
6297 * sysdeps/i386/tst-auditmod3b.c: Likewise.
6298
6299 2015-07-07 Torvald Riegel <triegel@redhat.com>
6300
6301 [BZ #18633]
6302 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
6303 pointer in C code.
6304 (__strcat_c): Likewise.
6305 (__strcat_g): Likewise.
6306
6307 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
6308
6309 [BZ #18592]
6310 * misc/sbrk.c: Set errno to ENOMEM on overflow.
6311
6312 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
6313
6314 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
6315 New function. (__ieee754_sqrtf): New function.
6316 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
6317 New function.
6318 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
6319 New function.
6320
6321 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
6322
6323 * sysdeps/ieee754/support.c: Remove unused file.
6324
6325 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6326
6327 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
6328 registers instead of d ones so the layout is kernel abi compatible.
6329 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
6330 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
6331 Likewise.
6332
6333 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6334
6335 * sysdeps/aarch64/libm-test-ulps: Regenerated.
6336
6337 2015-07-01 Joseph Myers <joseph@codesourcery.com>
6338
6339 [BZ #18619]
6340 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
6341 and return argument in case of subnormal argument.
6342
6343 2015-07-01 Martin Sebor <msebor@redhat.com>
6344
6345 [BZ #18435]
6346 * nptl/Makefile: Add tst-once5.cc.
6347 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
6348 Remove macro redefinitions.
6349 * nptl/tst-once5.cc: New test.
6350
6351 2015-07-01 Joseph Myers <joseph@codesourcery.com>
6352
6353 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6354
6355 * sysdeps/arm/libm-test-ulps: Regenerated.
6356
6357 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6358 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6359
6360 2015-06-30 Torvald Riegel <triegel@redhat.com>
6361
6362 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
6363 lll_lock_wait_private and lll_futex_wake probes.
6364
6365 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
6366 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
6367 Likewise.
6368 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
6369 atomic_spin_nop.
6370 * sysdeps/x86_64/bits/atomic.h: Likewise.
6371 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
6372 to atomic_spin_nop and move ...
6373 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
6374 ... here and ...
6375 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
6376 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6377 atomic_spin_nop instead of BUSY_WAIT_NOP.
6378 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
6379 Likewise.
6380 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
6381 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
6382 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
6383 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
6384 instead of atomic_delay.
6385
6386 2015-06-29 Joseph Myers <joseph@codesourcery.com>
6387
6388 [BZ #18613]
6389 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
6390 X_ADJ not X when adjusting exponent.
6391 (__ieee754_gamma_r): Do intermediate computations in
6392 round-to-nearest then adjust overflowing and underflowing results
6393 as needed.
6394 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
6395 of X_ADJ not X when adjusting exponent.
6396 (__ieee754_gammaf_r): Do intermediate computations in
6397 round-to-nearest then adjust overflowing and underflowing results
6398 as needed.
6399 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
6400 log of X_ADJ not X when adjusting exponent.
6401 (__ieee754_gammal_r): Do intermediate computations in
6402 round-to-nearest then adjust overflowing and underflowing results
6403 as needed. Use 1.0L not 1.0f as numerator of division.
6404 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
6405 log of X_ADJ not X when adjusting exponent.
6406 (__ieee754_gammal_r): Do intermediate computations in
6407 round-to-nearest then adjust overflowing and underflowing results
6408 as needed. Use 1.0L not 1.0f as numerator of division.
6409 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
6410 of X_ADJ not X when adjusting exponent.
6411 (__ieee754_gammal_r): Do intermediate computations in
6412 round-to-nearest then adjust overflowing and underflowing results
6413 as needed. Use 1.0L not 1.0f as numerator of division.
6414 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
6415 to auto-libm-test-in.
6416 (tgamma_test): Use ALL_RM_TEST.
6417 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
6418 tests of tgamma with spurious-overflow.
6419 * math/auto-libm-test-out: Regenerated.
6420 * math/gen-libm-have-vector-test.sh: Do not check for START.
6421 * sysdeps/i386/fpu/libm-test-ulps: Update.
6422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6423
6424 [BZ #18612]
6425 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
6426 arguments, just return 0.5 times the argument, with underflow
6427 forced as needed.
6428 * math/auto-libm-test-in: Add more tests of j1.
6429 * math/auto-libm-test-out: Regenerated.
6430
6431 [BZ #16559]
6432 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
6433 (__ieee754_j1): Force underflow exception for small results.
6434 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6435 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
6436 (__ieee754_j1f): Force underflow exception for small results.
6437 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6438 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6439 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6440 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
6441 (__ieee754_j1l): Force underflow exception for small results.
6442 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6443 * math/auto-libm-test-in: Add more tests of j1 and jn.
6444 * math/auto-libm-test-out: Regenerated.
6445
6446 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
6447 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
6448 (PF_MPLS): Likewise.
6449 (AF_IB): Likewise.
6450 (AF_MPLS): Likewise.
6451 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
6452 value and macro.
6453 (MS_RMT_MASK): Include MS_LAZYTIME.
6454
6455 2015-06-26 Mel Gorman <mgorman@suse.de>
6456
6457 [BZ #18502]
6458 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
6459 already minimal.
6460
6461 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
6462
6463 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
6464 (DT_MIPS_NUM): Update.
6465 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
6466 DT_MIPS_RLD_MAP_REL.
6467
6468 2015-06-25 Joseph Myers <joseph@codesourcery.com>
6469
6470 [BZ #16559]
6471 [BZ #18602]
6472 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
6473 round-to-nearest internally then recompute results that
6474 underflowed to zero in the original rounding mode.
6475 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6476 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6477 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6478 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
6479 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
6480 * sysdeps/i386/fpu/libm-test-ulps: Update.
6481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6482
6483 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
6484
6485 * NEWS: Fixed description of link with vector math library.
6486
6487 2015-06-25 Andreas Schwab <schwab@suse.de>
6488
6489 [BZ #18549]
6490 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
6491 * libio/test-fmemopen.c (do_test): Add test for it.
6492
6493 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
6494
6495 [BZ #17841]
6496 * Makeconfig (no-pie-ldflag): New.
6497 (+link): Set to $(+link-pie) if default to PIE.
6498 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
6499 * config.make.in (build-pie-default): New.
6500 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
6501 is default. AC_SUBST.
6502 * configure: Regenerated.
6503 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
6504
6505 2015-06-24 Roland McGrath <roland@hack.frob.com>
6506
6507 * nptl/descr.h (struct pthread): Change type of field setxid_futex
6508 to 'unsigned int'.
6509
6510 * resolv/gai_misc.h (struct waitlist): Change type of field
6511 counterp to 'volatile unsigned int *'.
6512 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
6513 FUTEXADDR and OLDVAL.
6514 * resolv/getaddrinfo_a.c (getaddrinfo_a):
6515 Give local variable TOTAL type 'volatile unsigned int'.
6516 (struct async_waitlist): Change type of field counter to 'unsigned int'.
6517 * resolv/gai_suspend.c (gai_suspend):
6518 Give local variable CNTR type 'unsigned int'.
6519
6520 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
6521 counterp to 'volatile unsigned int *'.
6522 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
6523 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
6524 (aio_suspend): Give local variable CNTR type 'unsigned int'.
6525 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
6526 Give local variable TOTAL type 'volatile unsigned int'.
6527 (struct async_waitlist): Change type of field counter to 'unsigned int'.
6528
6529 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
6530
6531 [BZ #18383]
6532 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
6533 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
6534 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
6535 comment for i386/x86-64.
6536 (test-xfail-tst-tlsalign-extern-static): Removed.
6537
6538 2015-06-24 Joseph Myers <joseph@codesourcery.com>
6539
6540 * math/test-double.h: New file.
6541 * math/test-float.h: Likewise.
6542 * math/test-ldouble.h: Likewise.
6543 * math/test-math-inline.h: Likewise.
6544 * math/test-math-no-inline.h: Likewise.
6545 * math/test-math-scalar.h: Likewise.
6546 * math/test-math-vector.h: Likewise.
6547 * math/test-vec-loop.h: Remove file. Contents moved into
6548 test-math-vector.h.
6549 * math/libm-test.inc (MATHCONST): Do not document macro.
6550 * math/test-double.c: Include test-double.h, test-math-no-inline.h
6551 and test-math-scalar.h.
6552 (FUNC): Remove macro.
6553 (FUNC_TEST): Likewise.
6554 (FLOAT): Likewise.
6555 (MATHCONST): Likewise.
6556 (PRINTF_EXPR): Likewise.
6557 (PRINTF_XEXPR): Likewise.
6558 (PRINTF_NEXPR): Likewise.
6559 (TEST_DOUBLE): Likewise.
6560 (TEST_MATHVEC): Likewise.
6561 (__NO_MATH_INLINES): Likewise.
6562 * math/test-float.c: Include test-float.h, test-math-no-inline.h
6563 and test-math-scalar.h.
6564 (FUNC): Remove macro.
6565 (FUNC_TEST): Likewise.
6566 (FLOAT): Likewise.
6567 (MATHCONST): Likewise.
6568 (PRINTF_EXPR): Likewise.
6569 (PRINTF_XEXPR): Likewise.
6570 (PRINTF_NEXPR): Likewise.
6571 (TEST_FLOAT): Likewise.
6572 (TEST_MATHVEC): Likewise.
6573 (__NO_MATH_INLINES): Likewise.
6574 * math/test-idouble.c: Include test-double.h, test-math-inline.h
6575 and test-math-scalar.h.
6576 (FUNC): Remove macro.
6577 (FUNC_TEST): Likewise.
6578 (FLOAT): Likewise.
6579 (MATHCONST): Likewise.
6580 (PRINTF_EXPR): Likewise.
6581 (PRINTF_XEXPR): Likewise.
6582 (PRINTF_NEXPR): Likewise.
6583 (TEST_DOUBLE): Likewise.
6584 (TEST_MATHVEC): Likewise.
6585 (TEST_INLINE): Likewise.
6586 (__NO_MATH_INLINES): Likewise.
6587 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
6588 test-math-scalar.h.
6589 (FUNC): Remove macro.
6590 (FUNC_TEST): Likewise.
6591 (FLOAT): Likewise.
6592 (MATHCONST): Likewise.
6593 (PRINTF_EXPR): Likewise.
6594 (PRINTF_XEXPR): Likewise.
6595 (PRINTF_NEXPR): Likewise.
6596 (TEST_FLOAT): Likewise.
6597 (TEST_MATHVEC): Likewise.
6598 (TEST_INLINE): Likewise.
6599 (__NO_MATH_INLINES): Likewise.
6600 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
6601 and test-math-scalar.h.
6602 (FUNC): Remove macro.
6603 (FUNC_TEST): Likewise.
6604 (FLOAT): Likewise.
6605 (MATHCONST): Likewise.
6606 (PRINTF_EXPR): Likewise.
6607 (PRINTF_XEXPR): Likewise.
6608 (PRINTF_NEXPR): Likewise.
6609 (TEST_LDOUBLE): Likewise.
6610 (TEST_MATHVEC): Likewise.
6611 (TEST_INLINE): Likewise.
6612 (__NO_MATH_INLINES): Likewise.
6613 * math/test-ldouble.c: Include test-ldouble.h,
6614 test-math-no-inline.h and test-math-scalar.h.
6615 (FUNC): Remove macro.
6616 (FUNC_TEST): Likewise.
6617 (FLOAT): Likewise.
6618 (MATHCONST): Likewise.
6619 (PRINTF_EXPR): Likewise.
6620 (PRINTF_XEXPR): Likewise.
6621 (PRINTF_NEXPR): Likewise.
6622 (TEST_LDOUBLE): Likewise.
6623 (TEST_MATHVEC): Likewise.
6624 (__NO_MATH_INLINES): Likewise.
6625 * math/test-double-vlen2.h: Include test-double.h,
6626 test-math-no-inline.h and test-math-vector.h.
6627 (FLOAT): Remove macro.
6628 (FUNC): Likewise.
6629 (MATHCONST): Likewise.
6630 (PRINTF_EXPR): Likewise.
6631 (PRINTF_XEXPR): Likewise.
6632 (PRINTF_NEXPR): Likewise.
6633 (TEST_DOUBLE): Likewise.
6634 (TEST_MATHVEC): Likewise.
6635 (__NO_MATH_INLINES): Likewise.
6636 (CNCT): Likewise.
6637 (CONCAT): Likewise.
6638 (WRAPPER_NAME): Likewise.
6639 (WRAPPER_DECL): Likewise.
6640 (WRAPPER_DECL_ff): Likewise.
6641 (WRAPPER_DECL_fFF): Likewise.
6642 (VECTOR_WRAPPER): Likewise.
6643 (VECTOR_WRAPPER_ff): Likewise.
6644 (VECTOR_WRAPPER_fFF): Likewise.
6645 (VEC_LEN): New macro.
6646 * math/test-double-vlen4.h: Include test-double.h,
6647 test-math-no-inline.h and test-math-vector.h.
6648 (FLOAT): Remove macro.
6649 (FUNC): Likewise.
6650 (MATHCONST): Likewise.
6651 (PRINTF_EXPR): Likewise.
6652 (PRINTF_XEXPR): Likewise.
6653 (PRINTF_NEXPR): Likewise.
6654 (TEST_DOUBLE): Likewise.
6655 (TEST_MATHVEC): Likewise.
6656 (__NO_MATH_INLINES): Likewise.
6657 (CNCT): Likewise.
6658 (CONCAT): Likewise.
6659 (WRAPPER_NAME): Likewise.
6660 (WRAPPER_DECL): Likewise.
6661 (WRAPPER_DECL_ff): Likewise.
6662 (WRAPPER_DECL_fFF): Likewise.
6663 (VECTOR_WRAPPER): Likewise.
6664 (VECTOR_WRAPPER_ff): Likewise.
6665 (VECTOR_WRAPPER_fFF): Likewise.
6666 (VEC_LEN): New macro.
6667 * math/test-double-vlen8.h: Include test-double.h,
6668 test-math-no-inline.h and test-math-vector.h.
6669 (FLOAT): Remove macro.
6670 (FUNC): Likewise.
6671 (MATHCONST): Likewise.
6672 (PRINTF_EXPR): Likewise.
6673 (PRINTF_XEXPR): Likewise.
6674 (PRINTF_NEXPR): Likewise.
6675 (TEST_DOUBLE): Likewise.
6676 (TEST_MATHVEC): Likewise.
6677 (__NO_MATH_INLINES): Likewise.
6678 (CNCT): Likewise.
6679 (CONCAT): Likewise.
6680 (WRAPPER_NAME): Likewise.
6681 (WRAPPER_DECL): Likewise.
6682 (WRAPPER_DECL_ff): Likewise.
6683 (WRAPPER_DECL_fFF): Likewise.
6684 (VECTOR_WRAPPER): Likewise.
6685 (VECTOR_WRAPPER_ff): Likewise.
6686 (VECTOR_WRAPPER_fFF): Likewise.
6687 (VEC_LEN): New macro.
6688 * math/test-float-vlen4.h: Include test-float.h,
6689 test-math-no-inline.h and test-math-vector.h.
6690 (FLOAT): Remove macro.
6691 (FUNC): Likewise.
6692 (MATHCONST): Likewise.
6693 (PRINTF_EXPR): Likewise.
6694 (PRINTF_XEXPR): Likewise.
6695 (PRINTF_NEXPR): Likewise.
6696 (TEST_FLOAT): Likewise.
6697 (TEST_MATHVEC): Likewise.
6698 (__NO_MATH_INLINES): Likewise.
6699 (CNCT): Likewise.
6700 (CONCAT): Likewise.
6701 (WRAPPER_NAME): Likewise.
6702 (WRAPPER_DECL): Likewise.
6703 (WRAPPER_DECL_ff): Likewise.
6704 (WRAPPER_DECL_fFF): Likewise.
6705 (VECTOR_WRAPPER): Likewise.
6706 (VECTOR_WRAPPER_ff): Likewise.
6707 (VECTOR_WRAPPER_fFF): Likewise.
6708 (VEC_LEN): New macro.
6709 * math/test-float-vlen8.h: Include test-float.h,
6710 test-math-no-inline.h and test-math-vector.h.
6711 (FLOAT): Remove macro.
6712 (FUNC): Likewise.
6713 (MATHCONST): Likewise.
6714 (PRINTF_EXPR): Likewise.
6715 (PRINTF_XEXPR): Likewise.
6716 (PRINTF_NEXPR): Likewise.
6717 (TEST_FLOAT): Likewise.
6718 (TEST_MATHVEC): Likewise.
6719 (__NO_MATH_INLINES): Likewise.
6720 (CNCT): Likewise.
6721 (CONCAT): Likewise.
6722 (WRAPPER_NAME): Likewise.
6723 (WRAPPER_DECL): Likewise.
6724 (WRAPPER_DECL_ff): Likewise.
6725 (WRAPPER_DECL_fFF): Likewise.
6726 (VECTOR_WRAPPER): Likewise.
6727 (VECTOR_WRAPPER_ff): Likewise.
6728 (VECTOR_WRAPPER_fFF): Likewise.
6729 (VEC_LEN): New macro.
6730 * math/test-float-vlen16.h: Include test-float.h,
6731 test-math-no-inline.h and test-math-vector.h.
6732 (FLOAT): Remove macro.
6733 (FUNC): Likewise.
6734 (MATHCONST): Likewise.
6735 (PRINTF_EXPR): Likewise.
6736 (PRINTF_XEXPR): Likewise.
6737 (PRINTF_NEXPR): Likewise.
6738 (TEST_FLOAT): Likewise.
6739 (TEST_MATHVEC): Likewise.
6740 (__NO_MATH_INLINES): Likewise.
6741 (CNCT): Likewise.
6742 (CONCAT): Likewise.
6743 (WRAPPER_NAME): Likewise.
6744 (WRAPPER_DECL): Likewise.
6745 (WRAPPER_DECL_ff): Likewise.
6746 (WRAPPER_DECL_fFF): Likewise.
6747 (VECTOR_WRAPPER): Likewise.
6748 (VECTOR_WRAPPER_ff): Likewise.
6749 (VECTOR_WRAPPER_fFF): Likewise.
6750 (VEC_LEN): New macro.
6751 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
6752 test-vec-loop.h.
6753 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6754 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6755 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6756 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6757 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6758 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6759 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6760
6761 2015-06-24 Roland McGrath <roland@hack.frob.com>
6762
6763 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
6764 (__getlogin_r): ... this.
6765
6766 2015-06-24 Joseph Myers <joseph@codesourcery.com>
6767
6768 [BZ #18594]
6769 * math/s_ccosh.c (__ccosh): Compare with least normal value
6770 instead of comparing class with FP_SUBNORMAL.
6771 * math/s_ccoshf.c (__ccoshf): Likewise.
6772 * math/s_ccoshl.c (__ccoshl): Likewise.
6773 * math/s_cexp.c (__cexp): Likewise.
6774 * math/s_cexpf.c (__cexpf): Likewise.
6775 * math/s_cexpl.c (__cexpl): Likewise.
6776 * math/s_csin.c (__csin): Likewise.
6777 * math/s_csinf.c (__csinf): Likewise.
6778 * math/s_csinh.c (__csinh): Likewise.
6779 * math/s_csinhf.c (__csinhf): Likewise.
6780 * math/s_csinhl.c (__csinhl): Likewise.
6781 * math/s_csinl.c (__csinl): Likewise.
6782 * math/s_ctan.c (__ctan): Likewise.
6783 * math/s_ctanf.c (__ctanf): Likewise.
6784 * math/s_ctanh.c (__ctanh): Likewise.
6785 * math/s_ctanhf.c (__ctanhf): Likewise.
6786 * math/s_ctanhl.c (__ctanhl): Likewise.
6787 * math/s_ctanl.c (__ctanl): Likewise.
6788 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
6789 csin, csinh, ctan and ctanh.
6790 * math/auto-libm-test-out: Regenerated.
6791 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
6792 * sysdeps/i386/fpu/libm-test-ulps: Update.
6793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6794
6795 2015-06-24 Roland McGrath <roland@hack.frob.com>
6796
6797 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
6798 return value is wrong, print the expected value too.
6799
6800 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
6801
6802 [BZ #18585]
6803 * elf/readlib.c (is_gdb_python_file): New.
6804 (process_file): Don't issue errors on filenames with -gdb.py
6805 suffix.
6806
6807 2015-06-24 Joseph Myers <joseph@codesourcery.com>
6808
6809 * math/auto-libm-test-in: Add more tests of csin and csinh.
6810 * math/auto-libm-test-out: Regenerated.
6811 * math/libm-test.inc (csin_test_data): Remove tests moved to
6812 auto-libm-test-in.
6813 (csinh_test_data): Likewise.
6814
6815 [BZ #18593]
6816 * math/s_csin.c (__csin): Negate before rather than after possibly
6817 overflowing multiplication.
6818 * math/s_csinf.c (__csinf): Likewise.
6819 * math/s_csinh.c (__csinh): Likewise.
6820 * math/s_csinhf.c (__csinhf): Likewise.
6821 * math/s_csinhl.c (__csinhl): Likewise.
6822 * math/s_csinl.c (__csinl): Likewise.
6823 * math/auto-libm-test-in: Add some tests of csin and csinh.
6824 * math/auto-libm-test-out: Regenerated.
6825 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
6826 (csinh_test_data): Likewise.
6827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6828
6829 [BZ #18586]
6830 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
6831 underflow exception for small results.
6832
6833 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
6834
6835 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
6836 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
6837 variable and included header.
6838 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
6839 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
6840 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
6841 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
6842 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
6843 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
6844 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
6845 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
6846 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
6847 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
6848 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
6849 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
6850 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
6851 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
6852 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
6853 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
6854
6855 2015-06-23 Joseph Myers <joseph@codesourcery.com>
6856
6857 [BZ #16526]
6858 [BZ #16538]
6859 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
6860 (__sin): Force underflow exception for arguments with small
6861 absolute value.
6862 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
6863 (__kernel_sinf): Force underflow exception for arguments with
6864 small absolute value.
6865 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
6866 (__kernel_sincosl): Force underflow exception for arguments with
6867 small absolute value.
6868 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
6869 (__kernel_sinl): Force underflow exception for arguments with
6870 small absolute value.
6871 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
6872 (__kernel_sincosl): Force underflow exception for arguments with
6873 small absolute value.
6874 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
6875 (__kernel_sinl): Force underflow exception for arguments with
6876 small absolute value.
6877 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
6878 (__kernel_sinl): Force underflow exception for arguments with
6879 small absolute value.
6880 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
6881 (__kernel_sinf): Force underflow exception for arguments with
6882 small absolute value.
6883 * math/auto-libm-test-in: Add more tests of sin and sincos.
6884 * math/auto-libm-test-out: Regenerated.
6885
6886 [BZ #18245]
6887 [BZ #18583]
6888 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
6889 (__kernel_standard_l): Use feholdexcept and fesetenv around
6890 conversion to double instead of special-casing overflow and
6891 underflow.
6892 * math/libm-test.inc (fmod_test_data): Add more tests.
6893 (remainder_test_data): Likewise.
6894 (sqrt_test_data): Likewise.
6895
6896 2015-06-23 Torvald Riegel <triegel@redhat.com>
6897
6898 [BZ #17403]
6899 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
6900 atomic_read_barrier, atomic_write_barrier): Define.
6901 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
6902 atomic_read_barrier, atomic_write_barrier): Define.
6903
6904 2015-06-23 Joseph Myers <joseph@codesourcery.com>
6905
6906 * math/Makefile [$(PERL) != no]
6907 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
6908 dependency on libm-test.stmp below the inclusion of Rules.
6909
6910 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
6911
6912 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
6913 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
6914 and included header.
6915 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
6916 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
6917 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
6918 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
6919 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
6920 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
6921 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
6922 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
6923 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
6924 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
6925 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
6926 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
6927 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
6928 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
6929 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
6930 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
6931 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
6932 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
6933 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
6934
6935 2015-06-23 Joseph Myers <joseph@codesourcery.com>
6936
6937 [BZ #18371]
6938 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
6939 intermediate but not final result might underflow.
6940 * math/s_csqrtf.c (__csqrtf): Likewise.
6941 * math/s_csqrtl.c (__csqrtl): Likewise.
6942 * math/auto-libm-test-in: Add more tests of csqrt.
6943 * math/auto-libm-test-out: Regenerated.
6944 * sysdeps/i386/fpu/libm-test-ulps: Update.
6945
6946 [BZ #18219]
6947 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
6948 threshold on absolute value of exponent for which scaling is used.
6949 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6950 * math/auto-libm-test-in: Add more tests of exp2.
6951 * math/auto-libm-test-out: Regenerated.
6952
6953 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
6954
6955 [BZ #17977]
6956 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
6957 when initializing interface list, based on the bug analysis
6958 and the patch proposed by Eric Newton.
6959 * resolv/tst-res_hconf_reorder.c: New test.
6960 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
6961 tst-res_hconf_reorder.
6962 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
6963 and $(shared-thread-library).
6964 (tst-res_hconf_reorder-ENV): New variable.
6965
6966 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
6967 in comment.
6968
6969 2015-06-22 Joseph Myers <joseph@codesourcery.com>
6970
6971 [BZ #16353]
6972 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
6973 (__expm1): Force underflow exception for arguments with small
6974 absolute value.
6975 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
6976 (__expm1f): Force underflow exception for arguments with small
6977 absolute value.
6978 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
6979 (__expm1): Force underflow exception for arguments with small
6980 absolute value.
6981 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
6982 (__expm1f): Force underflow exception for arguments with small
6983 absolute value.
6984 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6985 Check for small arguments before calling __expm1.
6986 * math/auto-libm-test-in: Do not mark underflow exceptions as
6987 possibly missing for bug 16353.
6988 * math/auto-libm-test-out: Regenerated.
6989
6990 2015-06-22 Andreas Schwab <schwab@suse.de>
6991
6992 [BZ #18513]
6993 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
6994 PTR queries.
6995
6996 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
6997
6998 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
6999
7000 * string/strcoll_l.c: Remove unused struct element idxnow.
7001
7002 2015-06-21 Joseph Myers <joseph@codesourcery.com>
7003
7004 [BZ #18569]
7005 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
7006 underflow and return argument in case of subnormal argument.
7007 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7008 Likewise.
7009 * math/auto-libm-test-in: Add more tests of expm1.
7010 * math/auto-libm-test-out: Regenerated.
7011
7012 [BZ #16361]
7013 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
7014 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7015 tiny results.
7016 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
7017 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7018 tiny results.
7019 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
7020 mark underflow exceptions as possibly missing for bug 16361.
7021 * math/auto-libm-test-out: Regenerated.
7022
7023 2015-06-19 Joseph Myers <joseph@codesourcery.com>
7024
7025 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
7026 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
7027 Remove variable.
7028 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7029 (test-xfail-XOPEN2K8/utmpx.h/conform).
7030
7031 * conform/conformtest.pl ($xerrors): New variable.
7032 (note_error): New function.
7033 (compiletest): New argument $xfail. Use not_error.
7034 (runtest): Likewise.
7035 (top level): Handle xfail- lines. Update calls to compiletest and
7036 runtest. Handle xfail- and optional- in headers listed with
7037 allow-header.
7038 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
7039 (O_EXEC): Likewise.
7040 (O_SEARCH): Likewise.
7041 * conform/data/stropts.h-data (ioctl): Likewise.
7042 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
7043 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
7044 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
7045 (msghdr.msg_controllen): Likewise.
7046 (cmsghdr.cmsg_len): Likewise.
7047 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
7048 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
7049 variable.
7050 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7051 (test-xfail-XPG4/stropts.h/conform): Likewise.
7052 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7053 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7054 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7055 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7056 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7057 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7058 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7059 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7060 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7061 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7062 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7063 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7064 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7065 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7066 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7067 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7068 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7069 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7070 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7071
7072 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
7073
7074 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
7075 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
7076 definitions for proper unfolding of __MATHDECL_VEC.
7077
7078 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
7079
7080 * benchtests/bench-strcoll.c:
7081 Include string.h.
7082 (main): Remove unused variable res.
7083
7084 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
7085
7086 * timezone/Makefile (%/UTC %/Universal):
7087 Generate test-result files for UTC and Universal.
7088
7089 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
7090
7091 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7092
7093 2015-06-18 Joseph Myers <joseph@codesourcery.com>
7094
7095 [BZ #16350]
7096 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
7097 for arguments with small absolute value.
7098 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
7099 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
7100 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
7101 (__asinh): Force underflow exception for arguments with small
7102 absolute value.
7103 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
7104 (__asinhf): Force underflow exception for arguments with small
7105 absolute value.
7106 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
7107 (__asinhl): Force underflow exception for arguments with small
7108 absolute value.
7109 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
7110 (__asinhl): Force underflow exception for arguments with small
7111 absolute value.
7112 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
7113 (__asinhl): Force underflow exception for arguments with small
7114 absolute value.
7115 * math/auto-libm-test-in: Do not mark underflow exceptions as
7116 possibly missing for bug 16350.
7117 * math/auto-libm-test-out: Regenerated.
7118
7119 * include/bits/ipc.h: Remove file.
7120 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
7121 variable.
7122 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7123 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7124 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7125 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7126 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7127 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7128 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7129 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7130 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7131
7132 * math/auto-libm-test-in: Remove spurious underflow allowance for
7133 tests of cexp.
7134 * math/auto-libm-test-out: Regenerated.
7135
7136 [BZ #18558]
7137 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
7138 unconditional definition.
7139 (MCAST_BLOCK_SOURCE): Likewise.
7140 (MCAST_UNBLOCK_SOURCE): Likewise.
7141 (MCAST_LEAVE_GROUP): Likewise.
7142 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7143 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7144 (MCAST_MSFILTER): Likewise.
7145 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
7146 Remove variable.
7147 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7148 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7149 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7150 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7151 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7152
7153 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
7154
7155 * NEWS: Mention addition of x86_64 vector sincosf.
7156 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
7157 * math/test-float-vlen4.h: Likewise.
7158 * math/test-float-vlen8.h: Likewise.
7159 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7160 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
7161 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7162 * sysdeps/x86_64/fpu/Versions: New versions added.
7163 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7164 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7165 Added build of SSE, AVX2 and AVX512 IFUNC versions.
7166 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
7167 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7168 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
7169 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7170 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
7171 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7172 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
7173 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
7174 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
7175 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
7176 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
7177 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
7178 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
7179 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
7180 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7181 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7182 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7183 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7184 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7185 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7186 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7187
7188 * NEWS: Mention addition of x86_64 vector sincos.
7189 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
7190 * math/math.h (__MATHDECL_VEC): New macro.
7191 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
7192 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
7193 declaration under condition.
7194 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
7195 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
7196 TEST_VEC_LOOP change.
7197 * math/test-double-vlen4.h: Likewise.
7198 * math/test-double-vlen8.h: Likewise.
7199 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
7200 * math/test-float-vlen4.h: Likewise.
7201 * math/test-float-vlen8.h: Likewise.
7202 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7203 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
7204 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7205 * sysdeps/x86_64/fpu/Versions: New versions added.
7206 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7207 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7208 Added build of SSE, AVX2 and AVX512 IFUNC versions.
7209 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
7210 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
7211 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
7212 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
7213 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
7214 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
7215 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
7216 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
7217 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
7218 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
7219 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
7220 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
7221 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
7222 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
7223 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7224 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7225 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7226 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7227 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7228 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7229 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7230
7231 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7232 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
7233 redirections for powf.
7234 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7235 * sysdeps/x86_64/fpu/Versions: New versions added.
7236 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7237 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7238 Added build of SSE, AVX2 and AVX512 IFUNC versions.
7239 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
7240 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
7241 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
7242 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
7243 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
7244 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
7245 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
7246 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
7247 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
7248 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
7249 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
7250 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
7251 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
7252 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
7253 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7254 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7255 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7256 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7257 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7258 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7259 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7260 * math/test-float-vlen16.h: Fixed 2 argument macro.
7261 * math/test-float-vlen4.h: Likewise.
7262 * math/test-float-vlen8.h: Likewise.
7263 * NEWS: Mention addition of x86_64 vector powf.
7264
7265 2015-06-17 Joseph Myers <joseph@codesourcery.com>
7266
7267 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7268 and redefine.
7269 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7270 and redefine.
7271 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
7272 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7274
7275 [BZ #18553]
7276 * resource/getpriority.c (getpriority): Rename to __getpriority
7277 and define as weak alias of __getpriority.
7278 * resource/setpriority.c (setpriority): Rename to __setpriority
7279 and define as weak alias of __setpriority.
7280 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
7281 __getpriority and define as weak alias of __getpriority.
7282 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
7283 __setpriority and define as weak alias of __setpriority.
7284 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
7285 strong name.
7286 (setpriority): Use __setpriority as strong name.
7287 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
7288 __getpriority and define as weak alias of __getpriority.
7289 * include/sys/resource.h (__getpriority): Declare. Use
7290 libc_hidden_proto.
7291 (__setpriority): Likewise.
7292 (getpriority): Don't use libc_hidden_proto.
7293 (setpriority): Likewise.
7294 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
7295 getpriority. Call __setpriority instead of setpriority.
7296 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
7297 Remove variable.
7298
7299 [BZ #18547]
7300 * misc/getttyent.c (getttynam): Rename to __getttynam and define
7301 as weak alias of __getttynam. Use prototype function definition.
7302 Call __setttyent, __getttyent and __endttyent instead of
7303 setttyent, getttyent and endttyent.
7304 (getttyent): Rename to __getttyent and define as weak alias of
7305 __getttyent. Call __setttyent instead of setttyent. Call
7306 __fgets_unlocked instead of fgets_unlocked.
7307 (setttyent): Rename to __setttyent and define as weak alias of
7308 __setttyent.
7309 (endttyent): Rename to __endttyent and define as weak alias of
7310 __endttyent.
7311 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
7312 (__setttyent): Likewise.
7313 (__endttyent): Likewise.
7314 (getttyent): Don't use libc_hidden_proto.
7315 (setttyent): Likewise.
7316 (endttyent): Likewise.
7317 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
7318 __endttyent instead of setttyent, getttyent and endttyent.
7319 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
7320 Remove variable.
7321
7322 [BZ #18546]
7323 * socket/recv.c (__recv): Use libc_hidden_def.
7324 * socket/socket.c (__socket): Likewise.
7325 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7326 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7327 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
7328 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
7329 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
7330 libc_hidden_def.
7331 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
7332 libc_hidden_weak.
7333 * include/sys/socket.h (__socket): Do not use attribute_hidden.
7334 Use libc_hidden_proto.
7335 (__recv): Likewise.
7336 * socket/Versions (libc): Export __recv and __socket at version
7337 GLIBC_PRIVATE.
7338 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
7339 instead of recv.
7340 (init_mq_netlink): Call __socket instead of socket.
7341 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
7342 Remove variable.
7343
7344 [BZ #18545]
7345 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
7346 __mq_timedreceive and define as alias of __mq_timedreceive. Use
7347 hidden_weak.
7348 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
7349 define as alias of __mq_timedsend. Use hidden_weak.
7350 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
7351 __mq_timedsend as strong name.
7352 (mq_timedreceive): Use __mq_timedreceive as strong name.
7353 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
7354 (__mq_timedreceive): Likewise.
7355 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
7356 __mq_timedreceive instead of mq_timedreceive.
7357 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
7358 instead of mq_timedsend.
7359 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
7360 Remove variable.
7361
7362 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
7363 hidden_def and hidden_weak instead of libc_hidden_def and
7364 libc_hidden_weak.
7365 (top level): Refer to hidden_def in comment.
7366 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
7367 macro. Use it instead of libc_hidden_def.
7368 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
7369 specify __GI_* name explicitly.
7370 (mq_timedreceive): Likewise.
7371 (mq_setattr): Likewise.
7372
7373 [BZ #18544]
7374 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
7375 __pthread_barrier_init and define as weak alias of
7376 __pthread_barrier_init.
7377 * sysdeps/sparc/nptl/pthread_barrier_init.c
7378 (pthread_barrier_init): Likewise.
7379 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
7380 __pthread_barrier_wait and define as weak alias of
7381 __pthread_barrier_wait.
7382 * sysdeps/sparc/nptl/pthread_barrier_wait.c
7383 (pthread_barrier_wait): Likewise.
7384 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
7385 (pthread_barrier_wait): Likewise.
7386 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
7387 (pthread_barrier_wait): Likewise.
7388 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
7389 (pthread_barrier_wait): Likewise.
7390 * nptl/Versions (libpthread): Export __pthread_barrier_init and
7391 __pthread_barrier_wait at version GLIBC_PRIVATE.
7392 * include/pthread.h (__pthread_barrier_init): Declare.
7393 (__pthread_barrier_wait): Likewise.
7394 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
7395 Call __pthread_barrier_wait instead of pthread_barrier_wait.
7396 (helper_thread): Likewise.
7397 (init_mq_netlink): Call __pthread_barrier_init instead of
7398 pthread_barrier_init.
7399
7400 [BZ #18542]
7401 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
7402 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
7403 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
7404 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
7405 vswscanf.
7406 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
7407 Remove variable.
7408
7409 [BZ #18540]
7410 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
7411 strong alias of _IO_fflush. Use libc_hidden_def.
7412 * libio/iofflush_u.c (fflush_unlocked): Rename to
7413 __fflush_unlocked and define as weak alias of __fflush_unlocked.
7414 Use libc_hidden_weak.
7415 * include/stdio.h (__fflush_unlocked): Declare. Use
7416 libc_hidden_proto.
7417 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
7418 fflush_unlocked.
7419 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
7420 Remove variable.
7421
7422 [BZ #18539]
7423 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
7424 define as weak alias of __addseverity.
7425 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
7426 Remove variable.
7427 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7428 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7429 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
7430
7431 [BZ #18536]
7432 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
7433 (__tfind): Likewise.
7434 (__tdelete): Likewise.
7435 (__twalk): Likewise.
7436 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
7437 __twalk to GLIBC_PRIVATE.
7438 * include/search.h (__tsearch): Use libc_hidden_proto.
7439 (__tfind): Likewise.
7440 (__tdelete): Likewise.
7441 (__twalk): Likewise.
7442 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
7443 Call __tdelete instead of tdelete.
7444 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
7445 tfind. Call __tsearch instead of tsearch.
7446 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
7447 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
7448 Remove variable.
7449 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
7450
7451 [BZ #18534]
7452 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
7453 (dprintf): Define as a weak alias of __dprintf, not a strong
7454 alias.
7455 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
7456 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
7457 dprintf.
7458 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
7459 Remove variable.
7460 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
7461 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
7462
7463 [BZ #18533]
7464 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
7465 not a strong alias.
7466 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
7467 Remove variable.
7468
7469 [BZ #18532]
7470 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
7471 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
7472 (in6addr_loopback): Rename to __in6addr_loopback and define as
7473 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
7474 * include/netinet/in.h (__in6addr_loopback): Declare. Use
7475 libc_hidden_proto.
7476 (__in6addr_any): Likewise.
7477 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
7478 in6addr_any.
7479 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
7480 variable.
7481 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
7482
7483 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
7484
7485 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
7486 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
7487 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
7488 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
7489 redirections for pow.
7490 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7491 * sysdeps/x86_64/fpu/Versions: New versions added.
7492 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7493 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
7494 build of SSE, AVX2 and AVX512 IFUNC versions.
7495 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
7496 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
7497 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
7498 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
7499 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
7500 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
7501 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
7502 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
7503 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
7504 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
7505 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
7506 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
7507 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
7508 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
7509 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7510 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7511 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7512 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7513 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7514 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7515 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7516 * NEWS: Mention addition of x86_64 vector pow.
7517
7518 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7519 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
7520 redirections for expf.
7521 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7522 * sysdeps/x86_64/fpu/Versions: New versions added.
7523 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7524 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
7525 build of SSE, AVX2 and AVX512 IFUNC versions.
7526 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
7527 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
7528 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
7529 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
7530 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
7531 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
7532 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
7533 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
7534 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
7535 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
7536 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
7537 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
7538 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
7539 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7540 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7541 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7542 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7543 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7544 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7545 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7546 * NEWS: Mention addition of x86_64 vector expf.
7547
7548 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
7549 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
7550 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
7551 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
7552 redirections for exp.
7553 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7554 * sysdeps/x86_64/fpu/Versions: New versions added.
7555 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7556 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
7557 build of SSE, AVX2 and AVX512 IFUNC versions.
7558 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
7559 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
7560 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
7561 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
7562 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
7563 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
7564 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
7565 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
7566 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
7567 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
7568 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
7569 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
7570 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
7571 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7572 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7573 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7574 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7575 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7576 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7577 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7578 * NEWS: Mention addition of x86_64 vector exp.
7579
7580 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7581 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
7582 redirections for logf.
7583 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7584 * sysdeps/x86_64/fpu/Versions: New versions added.
7585 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7586 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
7587 build of SSE, AVX2 and AVX512 IFUNC versions.
7588 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
7589 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
7590 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
7591 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
7592 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
7593 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
7594 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
7595 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
7596 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
7597 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
7598 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
7599 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
7600 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
7601 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7602 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7603 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7604 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7605 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7606 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7607 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7608 * NEWS: Mention addition of x86_64 vector logf.
7609
7610 * bits/libm-simd-decl-stubs.h: Added stubs for log.
7611 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
7612 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
7613 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
7614 redirections for log.
7615 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7616 * sysdeps/x86_64/fpu/Versions: New versions added.
7617 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7618 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
7619 build of SSE, AVX2 and AVX512 IFUNC versions.
7620 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
7621 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
7622 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
7623 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
7624 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
7625 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
7626 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
7627 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
7628 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
7629 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
7630 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
7631 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
7632 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
7633 test.
7634 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7635 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7636 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7637 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7638 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7639 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7640 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7641 * NEWS: Mention addition of x86_64 vector log.
7642
7643 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
7644
7645 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
7646 cfi_adjust_cfa_offset argument.
7647 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
7648 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
7649
7650 [BZ #18034]
7651 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
7652 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
7653 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
7654 ordering using ldar.
7655 (_dl_tlsdesc_dynamic): Likewise.
7656 (_dl_tlsdesc_return_lazy): Likewise.
7657 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
7658 relaxed atomics instead of volatile and synchronize with release store.
7659 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
7660 volatile.
7661 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7662
7663 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
7664
7665 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7666 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
7667 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7668 * sysdeps/x86_64/fpu/Versions: New versions added.
7669 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7670 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
7671 build of SSE, AVX2 and AVX512 IFUNC versions.
7672 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
7673 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
7674 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
7675 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
7676 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
7677 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
7678 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
7679 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
7680 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
7681 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
7682 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
7683 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
7684 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
7685 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7686 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7687 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7688 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7689 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7690 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7691 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7692 * NEWS: Mention addition of x86_64 vector sinf.
7693
7694 2015-06-14 Joseph Myers <joseph@codesourcery.com>
7695
7696 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
7697 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
7698 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
7699 Remove variable.
7700 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
7701 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
7702
7703 2015-06-12 Joseph Myers <joseph@codesourcery.com>
7704
7705 [BZ #18530]
7706 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
7707 strong alias of _IO_fputs. Use libc_hidden_def.
7708 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
7709 and define as weak alias of __fputs_unlocked. Use
7710 libc_hidden_weak.
7711 * include/stdio.h (__fputs_unlocked): Declare. Use
7712 libc_hidden_proto.
7713 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
7714 fputs_unlocked.
7715
7716 [BZ #18529]
7717 * resolv/netdb.h [__USE_POSIX]: Change condition to
7718 [__USE_XOPEN2K].
7719 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
7720 not expect.
7721 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
7722 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
7723 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
7724 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
7725 [XPG4 || UNIX98] (AI_ALL): Likewise.
7726 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
7727 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
7728 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
7729 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
7730 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
7731 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
7732 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
7733 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
7734 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
7735 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
7736 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
7737 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
7738 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
7739 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
7740 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
7741 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
7742 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
7743 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
7744 [XPG4 || UNIX98] (gai_strerror): Likewise.
7745 [XPG4 || UNIX98] (getaddrinfo): Likewise.
7746 [XPG4 || UNIX98] (getnameinfo): Likewise.
7747
7748 [BZ #18528]
7749 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
7750 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
7751 __USE_XOPEN2K8].
7752 (getgrent): Likewise.
7753 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
7754 expect.
7755 [XPG3 || POSIX2008] (endgrent): Likewise.
7756 [XPG3] (setgrent): Likewise.
7757 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
7758 variable.
7759 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
7760
7761 [BZ #18527]
7762 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
7763 define as weak alias of __getlogin_r. Use libc_hidden_weak.
7764 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
7765 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
7766 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
7767 * include/unistd.h (__getlogin_r): Declare. Use
7768 libc_hidden_proto.
7769 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
7770 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
7771 variable.
7772 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
7773 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
7774 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
7775
7776 2015-06-12 Martin Sebor <msebor@redhat.com>
7777
7778 [BZ #18512]
7779 * Makerules (check-install-supported): New target.
7780 (install): Add check-install-supported as a dependency.
7781 * manual/install.texi (Installing the C Library): Document
7782 that overriding prefix and exec_prefix is not supported.
7783 Mention DESTDIR.
7784 * INSTALL: Regenerate from the above.
7785
7786 2015-06-12 Joseph Myers <joseph@codesourcery.com>
7787
7788 [BZ #18519]
7789 * posix/Versions (libc): Export __libc_pread at version
7790 GLIBC_PRIVATE.
7791 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
7792 instead of pread.
7793 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
7794 variable.
7795
7796 [BZ #18522]
7797 * misc/efgcvt_r.c
7798 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
7799 (cvt_symbol): Use weak_alias instead of strong_alias.
7800 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
7801 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
7802 Remove variable.
7803 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
7804 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
7805
7806 [BZ #18520]
7807 * inet/herrno.c (h_errno): Rename to __h_errno.
7808 (__libc_h_errno): Define as alias of __h_errno not h_errno.
7809 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
7810 to __h_errno instead of h_errno.
7811 * nptl/herrno.c (h_errno): Rename to __h_errno.
7812 (__h_errno_location): Refer to __h_errno not h_errno.
7813 * resolv/Versions (h_errno): Rename to __h_errno.
7814 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
7815 Remove variable.
7816 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
7817
7818 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
7819
7820 * configure.ac: More strict check for AVX512 assembler support.
7821 * configure: Regenerated.
7822
7823 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
7824 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
7825 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
7826 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
7827 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7828 * sysdeps/x86_64/fpu/Versions: New versions added.
7829 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7830 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7831 Added build of SSE, AVX2 and AVX512 IFUNC versions.
7832 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
7833 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
7834 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
7835 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
7836 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
7837 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
7838 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
7839 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
7840 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
7841 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
7842 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
7843 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
7844 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
7845 test.
7846 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7847 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7848 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7849 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7850 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7851 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7852 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7853 * NEWS: Mention addition of x86_64 vector sin.
7854
7855 2015-06-11 Florian Weimer <fweimer@redhat.com>
7856
7857 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
7858 comment.
7859
7860 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
7861
7862 [BZ #18479]
7863 * nptl/pt-interp.c: New file.
7864 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
7865 Add pt-interp.
7866 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
7867 $(common-objpfx)runtime-linker.h.
7868
7869 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
7870
7871 * Makeconfig (+interp): Remove unused variable.
7872 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
7873 only. Depend on $(common-objpfx)runtime-linker.h instead of
7874 $(elf-objpfx)runtime-linker.h.
7875 ($(elf-objpfx)runtime-linker.h): Rename to
7876 $(common-objpfx)runtime-linker.h and move ...
7877 * Makerules [$(build-shared) = yes]: ... here.
7878 * elf/interp.c: Include <runtime-linker.h> instead of
7879 <elf/runtime-linker.h>.
7880
7881 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7882
7883 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
7884 (__gettimeofday_syscall): Remove vsyscall fallback.
7885 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
7886 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
7887 Add syscall fallback function.
7888 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
7889 if vDSO is not present.
7890 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
7891 fallback function.
7892 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
7893 present.
7894 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
7895 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7896
7897 2015-06-09 Joseph Myers <joseph@codesourcery.com>
7898
7899 [BZ #18497]
7900 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
7901 of wcscmp.
7902 (wcscmp): Define as weak alias of WCSCMP.
7903 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
7904 wcscoll.
7905 (USE_HIDDEN_DEF): Define.
7906 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
7907 __wcscoll. Don't use libc_hidden_weak.
7908 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
7909 wcscmp.
7910 * sysdeps/i386/i686/multiarch/wcscmp-c.c
7911 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
7912 __GI_wcscmp.
7913 (weak_alias): Undefine and redefine.
7914 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
7915 __wcscmp and define as weak alias of __wcscmp.
7916 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
7917 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
7918 (__wcscoll): Likewise.
7919 (wcscmp): Don't use libc_hidden_proto.
7920 (wcscoll): Likewise.
7921 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
7922 wcscoll.
7923 * posix/regexec.c (check_node_accept_bytes): Likewise.
7924 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
7925 variable.
7926 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
7927 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
7928
7929 [BZ #18507]
7930 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
7931 __fstatvfs and define as weak alias of __fstatvfs. Use
7932 libc_hidden_weak.
7933 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
7934 and define as weak alias of __statvfs. Use libc_hidden_weak.
7935 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
7936 Define as alias of __fstatvfs, not fstatvfs.
7937 (fstatvfs64): Likewise.
7938 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
7939 Define as alias of __statvfs, not statvfs.
7940 (statvfs64): Likewise.
7941 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
7942 Remove variable.
7943
7944 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7945
7946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7947 (HAVE_GETCPU_VSYSCALL): Define.
7948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7949 (HAVE_GETCPU_VSYSCALL): Likewise.
7950 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
7951 * sysdeps/unix/sysv/linux/sched_getcpu.c
7952 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
7953 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
7954 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
7955 prototype.
7956 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7957 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
7958 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
7959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
7960 Define.
7961 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
7962 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7963 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
7964 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7965
7966 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
7967
7968 * sysdeps/x86_64/fpu/Makefile: New file.
7969 * sysdeps/x86_64/fpu/Versions: New file.
7970 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
7971 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
7972 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
7973 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
7974 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
7975 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
7976 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
7977 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
7978 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
7979 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
7980 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
7981 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
7982 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
7983 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7984 Added build of SSE, AVX2 and AVX512 IFUNC versions.
7985 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
7986 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
7987 * sysdeps/x86_64/configure.ac: Options for libmvec build.
7988 * sysdeps/x86_64/configure: Regenerated.
7989 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
7990 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
7991 * manual/install.texi (Configuring and compiling): Document
7992 --disable-mathvec.
7993 * INSTALL: Regenerated.
7994 * NEWS: Mention addition of libmvec and x86_64 vector cos.
7995
7996 * math/Makefile: Added rules for vector tests.
7997 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
7998 declaration under condition.
7999 * math/test-double-vlen2.h: New file.
8000 * math/test-double-vlen4.h: New file.
8001 * math/test-double-vlen8.h: New file.
8002 * math/test-vec-loop.h: Added initialization macro.
8003 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
8004 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
8005 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
8006 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
8007 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
8008 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
8009 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
8010 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
8011 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
8012 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
8013 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
8014
8015 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8016 * sysdeps/x86_64/fpu/Versions: New versions added.
8017 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
8018 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
8019 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
8020 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
8021 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
8022 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
8023 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
8024 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
8025 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
8026 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
8027 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
8028 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
8029 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
8030 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8031 Added build of SSE, AVX2 and AVX512 IFUNC versions.
8032 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8033 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
8034 * NEWS: Mention addition of x86_64 vector cosf.
8035
8036 * math/Makefile: Added CFLAGS for new tests.
8037 * math/test-float-vlen16.h: New file.
8038 * math/test-float-vlen4.h: New file.
8039 * math/test-float-vlen8.h: New file.
8040 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
8041 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
8042 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8043 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
8044 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
8045 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
8046 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
8047 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
8048 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
8049 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
8050 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
8051
8052 2015-06-09 Marko Myllynen <myllynen@redhat.com>
8053
8054 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
8055 * locale/programs/ld-ctype.c: Likewise.
8056
8057 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
8058
8059 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
8060 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
8061 bit_ZMM16_31_state): New macro.
8062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8063 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
8064
8065 2015-06-08 Joseph Myers <joseph@codesourcery.com>
8066
8067 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
8068
8069 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
8070
8071 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
8072
8073 2015-06-05 Joseph Myers <joseph@codesourcery.com>
8074
8075 [BZ #18498]
8076 * libio/memstream.c (open_memstream): Rename to __open_memstream
8077 and define as weak alias of __open_memstream.
8078 * include/stdio.h (__open_memstream): Declare. Use
8079 libc_hidden_proto.
8080 (open_memstream): Don't use libc_hidden_proto.
8081 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
8082 open_memstream.
8083 * posix/getopt.c (_getopt_internal_r): Likewise.
8084 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
8085 variable.
8086 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8087 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8088 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8089
8090 [BZ #18496]
8091 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
8092 instead of wcrtomb.
8093
8094 [BZ #18483]
8095 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
8096 [__USE_XOPEN2K8]. Remove redundant #endif.
8097 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
8098 Remove redundant #if.
8099 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
8100 Remove variable.
8101 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8102 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8103
8104 [BZ #18495]
8105 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
8106 (__iswlower): Likewise.
8107 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
8108 (__iswlower): Likewise.
8109 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
8110 instead of towlower.
8111 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
8112 instead of iswlower. Call __towupper instead of towupper.
8113 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
8114 instead of iswalnum.
8115
8116 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8117
8118 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
8119 errors to stderr.
8120
8121 2015-06-05 Florian Weimer <fweimer@redhat.com>
8122
8123 [BZ #15661]
8124 [BZ #17322]
8125 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8126 Check for overflow properly. Check for O_APPEND. Ignore large
8127 file system block sizes. Add comments about problems.
8128 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
8129 * manual/filesys.texi (Storage Allocation): New node.
8130
8131 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8132
8133 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
8134 cancellable syscalls.
8135 (SYS_ify): Add guard to no redefine it.
8136 (INLINE_SYSCALL): Likewise.
8137 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
8138 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
8139 SYSCALL_CANCEL instead.
8140 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
8141 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8142 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8143 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8144 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8145 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
8146 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
8147 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
8148 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8149 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8150 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
8151 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
8152 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
8153 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
8154 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
8155 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8156 Likewise.
8157 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8158 (__libc_pread64): Likewise.
8159 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
8160 (__libc_preadv): Likewise.
8161 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
8162 (__libc_readv64): Likewise.
8163 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8164 (__libc_pwrite): Likewise.
8165 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8166 (__libc_pwrite64): Likewise.
8167 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
8168 (__libc_pwritev): Likewise.
8169 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
8170 (__libc_pwritev64): Likewise.
8171 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
8172 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8173 (sync_file_range): Likewise.
8174 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
8175 Likewise.
8176 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
8177 Likewise.
8178 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8179 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8180 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8181 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8182 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8183 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8184 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8185 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
8186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8187 Likewise.
8188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8189 (__libc_read64): Likewise.
8190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
8191 Likewise.
8192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
8193 Likewise.
8194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
8195 Likewise.
8196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
8197 Likewise.
8198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8199 (__libc_pread64): Likewise.
8200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
8201 Likewise.
8202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8203 (__libc_pwrite64): Likewise.
8204 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
8205 (sync_file_range): Likewise.
8206 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
8207 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8208 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8209 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
8210 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
8211 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8212 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8213 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
8214 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
8215 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8216 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8217 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8218 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8219 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8220 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
8221 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8222 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8223 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8224 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8225 Likewise.
8226 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
8227 Likewise.
8228 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
8229 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
8230 Likewise.
8231 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
8232 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
8233 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
8234 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
8235 Likewise.
8236 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
8237 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
8238 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
8239 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
8240 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
8241
8242 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
8243
8244 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
8245 Include dl-vdso.
8246 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
8247 Use VDSO routines for gettimeofday, clock_gettime if
8248 available.
8249 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
8250 Declare VDSO symbols.
8251 * sysdeps/unix/sysv/linux/arm/sysdep.h:
8252 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
8253 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
8254 * sysdeps/unix/sysv/linux/arm/Versions: Add
8255 __vdso_clock_gettime.
8256
8257 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8258
8259 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
8260 be an inline implementation regardless of library is built within.
8261 (open_not_cancel_2): Likewise.
8262 (__read_nocancel): Likewise.
8263 (__write_nocancel): Likewise.
8264 (openat_not_cancel): Likewise.
8265 (openat_not_cancel_3): Likewise.
8266 (openat64_not_cancel): Likewise.
8267 (openat64_not_cancel_3): Likewise.
8268 (__close_nocancel): Likewise.
8269 (pause_not_cancel): Likewise.
8270 (nanosleep_not_cancel): Likewise.
8271 (sigsuspend_not_cancel): Likewise.
8272
8273 2015-06-04 Torvald Riegel <triegel@redhat.com>
8274
8275 [BZ #14958]
8276 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
8277 wake-up.
8278 (__pthread_rwlock_rdlock_slow): Likewise.
8279 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8280 Likewise.
8281 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
8282 Likewise.
8283 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
8284 * nptl/tst-rwlock16.c: New file.
8285 * nptl/Makefile (tests): Add new test.
8286
8287 2015-06-04 Torvald Riegel <triegel@redhat.com>
8288
8289 [BZ #18324]
8290 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
8291 missing wake-up of readers.
8292 * nptl/tst-rwlock15.c: New file.
8293 * nptl/Makefile (tests): Add new test.
8294
8295 2015-06-03 Roland McGrath <roland@hack.frob.com>
8296
8297 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
8298 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
8299 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
8300 and __nacl_supply_interface_rtld.
8301 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
8302 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
8303 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
8304 Add __nacl_supply_interface_rtld.
8305 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
8306
8307 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
8308
8309 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
8310 isfinite.
8311 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8312 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
8313
8314 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
8315
8316 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
8317 __signbit* with standard C99 macros.
8318 * math/e_exp10l.c: Likewise.
8319 * math/e_exp2l.c: Likewise.
8320 * math/e_scalb.c: Likewise.
8321 * math/e_scalbf.c: Likewise.
8322 * math/e_scalbl.c: Likewise.
8323 * math/s_ldexp.c: Likewise.
8324 * math/s_ldexpf.c: Likewise.
8325 * math/s_ldexpl.c: Likewise.
8326 * math/w_atan2.c: Likewise.
8327 * math/w_atan2f.c: Likewise.
8328 * math/w_atan2l.c: Likewise.
8329 * math/w_cosh.c: Likewise.
8330 * math/w_coshf.c: Likewise.
8331 * math/w_coshl.c: Likewise.
8332 * math/w_exp10.c: Likewise.
8333 * math/w_exp10f.c: Likewise.
8334 * math/w_exp10l.c: Likewise.
8335 * math/w_exp2.c: Likewise.
8336 * math/w_exp2f.c: Likewise.
8337 * math/w_exp2l.c: Likewise.
8338 * math/w_fmod.c: Likewise.
8339 * math/w_fmodf.c: Likewise.
8340 * math/w_fmodl.c: Likewise.
8341 * math/w_hypot.c: Likewise.
8342 * math/w_hypotf.c: Likewise.
8343 * math/w_hypotl.c: Likewise.
8344 * math/w_jnl.c: Likewise.
8345 * math/w_lgamma.c: Likewise.
8346 * math/w_lgamma_r.c: Likewise.
8347 * math/w_lgammaf.c: Likewise.
8348 * math/w_lgammaf_r.c: Likewise.
8349 * math/w_lgammal.c: Likewise.
8350 * math/w_lgammal_r.c: Likewise.
8351 * math/w_pow.c: Likewise.
8352 * math/w_powf.c: Likewise.
8353 * math/w_powl.c: Likewise.
8354 * math/w_remainder.c: Likewise.
8355 * math/w_remainderf.c: Likewise.
8356 * math/w_remainderl.c: Likewise.
8357 * math/w_scalb.c: Likewise.
8358 * math/w_scalbf.c: Likewise.
8359 * math/w_scalbl.c: Likewise.
8360 * math/w_scalbln.c: Likewise.
8361 * math/w_scalblnf.c: Likewise.
8362 * math/w_scalblnl.c: Likewise.
8363 * math/w_sinh.c: Likewise.
8364 * math/w_sinhf.c: Likewise.
8365 * math/w_sinhl.c: Likewise.
8366 * math/w_tgamma.c: Likewise.
8367 * math/w_tgammaf.c: Likewise.
8368 * math/w_tgammal.c: Likewise.
8369 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8370 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
8371 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8372 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8373 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8374 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8375 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8376 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8377 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8378 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8379 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8380 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8381 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8382 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8383 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8384 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8385 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8386 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8387 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8388 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8389 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8390 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8391 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8392 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8393 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8394 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8395 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
8396 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8397 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8398 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8399 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
8400 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
8401 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
8402 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
8403 * stdio-common/printf_fp.c: Likewise.
8404 * stdio-common/printf_fphex.c: Likewise.
8405 * stdio-common/printf_size.c: Likewise.
8406
8407 2015-06-03 Joseph Myers <joseph@codesourcery.com>
8408
8409 [BZ #18470]
8410 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
8411 strnlen.
8412 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
8413 Remove variable.
8414 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8415 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8416 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8417 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8418 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8419 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8420 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8421 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8422 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8423 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8424
8425 [BZ #18468]
8426 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
8427 weak alias of __wmemchr. Use libc_hidden_weak.
8428 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
8429 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
8430 instead of wmemchr.
8431
8432 2015-06-02 Roland McGrath <roland@hack.frob.com>
8433
8434 [BZ #18383]
8435 * elf/tst-tlsalign-extern.c: New file.
8436 * elf/tst-tlsalign-extern-static.c: New file.
8437 * elf/tst-tlsalign-vars.c: New file.
8438 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
8439 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
8440 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
8441 ($(objpfx)tst-tlsalign-extern-static): Likewise.
8442 (test-xfail-tst-tlsalign-extern-static): New variable.
8443
8444 2015-06-02 Joseph Myers <joseph@codesourcery.com>
8445
8446 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
8447 Use variable name _sc_err instead of err.
8448 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
8449 instead of ret.
8450 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
8451 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
8452 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
8453 (INLINE_SYSCALL): Likewise.
8454
8455 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
8456 * include/string.h (__strnlen): Use libc_hidden_proto.
8457 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
8458 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
8459 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
8460 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
8461 (libc_hidden_def): Undefine and redefine.
8462 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
8463 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
8464 __GI_strnlen.
8465 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
8466 libc_hidden_def.
8467 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
8468
8469 [BZ #18469]
8470 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
8471 weak alias of __towlower. Use libc_hidden_weak.
8472 (towupper): Rename to __towupper and define as weak alias of
8473 __towupper. Use libc_hidden_weak.
8474 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
8475 (__towupper): Likewise.
8476 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
8477 __towlower instead of towlower.
8478
8479 2015-06-02 Roland McGrath <roland@hack.frob.com>
8480
8481 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
8482 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
8483
8484 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8485
8486 * sysdeps/aarch64/libm-test-ulps: Update.
8487
8488 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8489
8490 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
8491 Define.
8492 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
8493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8494 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
8495 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
8496 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
8497 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
8498 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
8499
8500 2015-06-01 Martin Sebor <msebor@redhat.com>
8501
8502 [BZ #18116]
8503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8504 (__setcontext): Use extended four-operand version of mtsf whenever
8505 possible.
8506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8507 (__novec_swapcontext): Likewise.
8508
8509 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8510
8511 * benchtests/scripts/compare_bench.py: New file.
8512 * benchtests/scripts/import_bench.py (mean): New function.
8513 (split_list): Likewise.
8514 (do_for_all_timings): Likewise.
8515 (compress_timings): Likewise.
8516
8517 * benchtests/scripts/import_bench.py: New file.
8518 * benchtests/scripts/validate_benchout.py: Import import_bench
8519 instead of jsonschema.
8520 (validate_bench): Remove function.
8521 (main): Use import_bench.
8522
8523 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
8524
8525 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
8526 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
8527
8528 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8529
8530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8531
8532 2015-05-28 Roland McGrath <roland@hack.frob.com>
8533
8534 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
8535 set THREAD_SELF->tid to a magic value and futex-wake it.
8536 Pass its address to the thread_exit system call.
8537 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
8538 bit is clear.
8539 * sysdeps/nacl/lowlevellock.h: New file.
8540 * sysdeps/nacl/lll_timedwait_tid.c: New file.
8541
8542 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
8543 Add TIMEOUT to current time, don't subtract it.
8544
8545 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
8546
8547 [BZ #2981]
8548 [BZ #18422]
8549 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
8550 ($(objpfx)tst-audit2.out): Also depend on
8551 $(objpfx)tst-auditmod9b.so.
8552 * elf/tst-audit2.c: Include <dlfcn.h>.
8553 (calloc_called): New.
8554 (calloc): Allow to be called more than once.
8555 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
8556
8557 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
8558
8559 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
8560 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
8561
8562 2015-05-27 Marko Myllynen <myllynen@redhat.com>
8563
8564 * stdlib/monetary.h: Fix comment.
8565
8566 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
8567
8568 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
8569 Avoid using variables in #defines that might cause shadowing.
8570 (INTERNAL_VSYSCALL_CALL): Likewise.
8571
8572 2015-05-26 Roland McGrath <roland@hack.frob.com>
8573
8574 * sysdeps/nacl/lll_timedlock_wait.c: New file.
8575
8576 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
8577 * nptl/lll_timedlock_wait.c: ... to this new file.
8578 * nptl/Makefile (libpthread-routines): Add it.
8579 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
8580 * nptl/lll_timedwait_tid.c: ... to this new file.
8581 * nptl/Makefile (libpthread-routines): Add it.
8582 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
8583 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
8584 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
8585 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
8586 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
8587 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
8588 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
8589 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
8590 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
8591 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
8592
8593 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8594
8595 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
8596 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8597 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
8598 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
8599 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8600 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8601 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
8602 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8603 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
8604 * sysdeps/unix/sysv/linux/tile/sysdep.h
8605 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
8606 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
8607 using vDSO syscall macro.
8608
8609 2015-05-26 Andriy Rysin <arysin@gmail.com>
8610
8611 [BZ #17293]
8612 * uk_UA: Fix sorting order for Ukrainian locale
8613
8614 2015-05-26 Marko Myllynen <myllynen@redhat.com>
8615
8616 * stdlib/monetary.h: Fix comment.
8617
8618 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8619
8620 [BZ #18234]
8621 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
8622 st_mtim and st_ctim members.
8623 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
8624 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
8625 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
8626 (struct stat64): Likewise.
8627 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
8628 (struct stat64): Likewise.
8629 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
8630 (struct stat64): Likewise.
8631
8632 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8633
8634 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
8635 Define and include sysdep-vdso.h.
8636 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
8637 Likewise.
8638 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
8639 Likewise.
8640 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
8641 Define with VDSO_SYMBOL and use PTR_MANGLE.
8642 (__vdso_clock_gettime): Likewise.
8643 (__vdso_clock_getres): Likewise.
8644 (_libc_vdso_platform_setup): Likewise.
8645 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8646 Likewise.
8647 (_libc_vdso_platform_setup): Likewise.
8648 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
8649 Likewise.
8650 (__vdso_clock_gettime): Likewise.
8651 (__vdso_clock_getres): Likewise.
8652 (__vdso_get_tbfreq): Likewise.
8653 (__vdso_getcpu): Likewise.
8654 (__vdso_time): Likewise.
8655 (__vdso_sigtramp_rt64): Likewise.
8656 (__vdso_signtramp32): Likewise.
8657 (__vdso_sigtramp_rt32): Likewise.
8658 (_libc_vdso_platform_setup): Likewise.
8659 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
8660 Likewise.
8661 (__vdso_clock_gettime): Likewise.
8662 (__vdso_clock_getres): Likewise.
8663 (_libc_vdso_platform_setup): Likewise.
8664 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
8665 Likewise.
8666 (__vdso_clock_gettime): Likewise.
8667 (_libc_vdso_platform_setup): Likewise.
8668 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8669 Likewise.
8670 (__vdso_getcpu): Likewise.
8671 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
8672 Use VDSO_SYMBOL macro to define.
8673 (__vdso_clock_gettime): Likewise.
8674 (__vdso_clock_getres): Likewise.
8675 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
8676 Likewise.
8677 (__vdso_clock_gettime): Likewise.
8678 (__vdso_clock_getres): Likewise.
8679 (__vdso_get_tbfreq): Likewise.
8680 (__vdso_getcpu): Likewise.
8681 (__vdso_time): Likewise.
8682 (__vdso_sigtramp_rt64): Likewise.
8683 (__vdso_signtramp32): Likewise.
8684 (__vdso_sigtramp_rt32): Likewise.
8685 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
8686 Likewise.
8687 (__vdso_clock_gettime): Likewise.
8688 (__vdso_clock_getres): Likewise.
8689 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
8690 Likewise.
8691 (__vdso_clock_gettime): Likewise.
8692 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8693 Likewise.
8694 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
8695 macro.
8696 (INTERNAL_VSYSCALL): Likewise.
8697 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
8698 Remove macro.
8699 (INTERNAL_VSYSCALL): Likewise.
8700 (INTERNAL_VSYSCALL_NCS): Likewise.
8701 (INTERNAL_VSYSCALL_CALL): New macro.
8702 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
8703 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
8704 Likewise.
8705 (INTERNAL_VSYSCALL): Likewise.
8706 (INTERNAL_VSYSCALL_NCS): Likewise.
8707 (INTERNAL_VSYSCALL_CALL): New macro.
8708 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
8709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8710 (INLINE_VSYSCALL): Remove macro.
8711 (INTERNAL_VSYSCALL): Remove macro.
8712 (INTERNAL_VSYSCALL_NCS): Remove macro.
8713 (INTERNAL_VSYSCALL_CALL): New macro.
8714 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
8715 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
8716 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
8717 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
8718 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
8719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8720 (INLINE_VSYSCALL): Remove macro.
8721 (INTERNAL_VSYSCALL): Likewise.
8722 (INTERNAL_VSYSCALL_NCS): Likewise.
8723 (INTERNAL_VSYSCALL_CALL): New macro.
8724 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
8725 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
8726 PTR_DEMANGLE on vDSO pointer.
8727 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
8728 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
8729 macro.
8730 (INTERNAL_SYSCALL): Likewise.
8731 (INTERNAL_VSYSCALL_NCS): Remove macro.
8732 (INTERNAL_VSYSCALL_CALL): New macro.
8733 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
8734 Remove macro.
8735 (INTERNAL_VSYSCALL): Likewise.
8736 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
8737 sysdep-vdso.h instead of libc-vdso.h.
8738 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
8739 definition.
8740 (INLINE_VSYSCALL): Likewise.
8741 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
8742 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
8743 definition.
8744 (INLINE_VSYSCALL): Likewise.
8745 (INTERNAL_VSYSCALL): Likewise.
8746 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
8747 * sysdeps/unix/sysv/linux/timespec_get.c
8748 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
8749 (timespec_get): Use ANSI prototype.
8750 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
8751 and definition for Linux.
8752
8753 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
8754
8755 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
8756 * include/libc-symbols.h: libmvec_hidden_* macro series added.
8757
8758 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
8759
8760 [BZ #2981]
8761 [BZ #18410]
8762 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
8763 for missing DT_PLTRELSZ.
8764
8765 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
8766
8767 Remove obsolete aliases that broke 'locale -a'
8768 [BZ #18412]
8769 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
8770 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
8771 breaking some applications that use 'locale -a' output.
8772 Change the encoding of this file from Latin-1 to ASCII to avoid
8773 other potential problems with people grepping this file.
8774
8775 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8776
8777 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
8778 -fasynchronous-unwind-tables.
8779 (CFLAGS-sendto.c): Likewise.
8780 (CFLAGS-sendmsg.c): Likewise.
8781 (CFLAGS-connect.c): Likewise.
8782 (CFLAGS-recvmsg.c): Likewise.
8783 (CFLAGS-recvfrom.c): Likewise.
8784 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
8785 (SOCKETCALL): New macro: non-cancellable socketcall.
8786 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
8787 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
8788 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
8789 * sysdeps/unix/sysv/linux/accept.c: New file.
8790 * sysdeps/unix/sysv/linux/bind.c: Likewise.
8791 * sysdeps/unix/sysv/linux/connect.c: Likewise.
8792 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
8793 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
8794 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
8795 * sysdeps/unix/sysv/linux/listen.c: Likewise.
8796 * sysdeps/unix/sysv/linux/recv.c: Likewise.
8797 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
8798 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
8799 * sysdeps/unix/sysv/linux/send.c: Likewise.
8800 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
8801 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
8802 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
8803 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
8804 * sysdeps/unix/sysv/linux/socket.c: Likewise.
8805 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
8806 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
8807 prototype.
8808 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
8809 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
8810 instead of __internal_xxx function.
8811 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
8812 prototype.
8813 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
8814 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
8815 instead of __internal_xxx function.
8816 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
8817 prototype.
8818 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
8819 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
8820 instead of __internal_xxx function.
8821 * sysdeps/unix/sysv/linux/accept.S: Remove file.
8822 * sysdeps/unix/sysv/linux/bind.S: Likewise.
8823 * sysdeps/unix/sysv/linux/connect.S: Likewise.
8824 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
8825 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
8826 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
8827 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
8828 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
8829 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
8830 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
8831 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
8832 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8833 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
8834 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
8835 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
8836 * sysdeps/unix/sysv/linux/listen.S: Likewise.
8837 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
8838 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
8839 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
8840 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
8841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
8842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
8843 * sysdeps/unix/sysv/linux/recv.S: Likewise.
8844 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
8845 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
8846 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
8847 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8848 * sysdeps/unix/sysv/linux/send.S: Likewise.
8849 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
8850 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
8851 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
8852 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
8853 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
8854 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
8855 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
8856 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
8857 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
8858 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
8859 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
8860 socketcall is implemented in GLIBC.
8861
8862 2015-05-22 Joseph Myers <joseph@codesourcery.com>
8863
8864 * soft-fp/fmadf4.c: Include <libc-internal.h>.
8865 (__fma): Ignore uninitialized warnings around packing.
8866 * soft-fp/fmasf4.c: Include <libc-internal.h>.
8867 (__fmaf): Ignore uninitialized warnings around packing.
8868 * soft-fp/fmatf4.c: Include <libc-internal.h>.
8869 (__fmal): Ignore uninitialized warnings around packing.
8870
8871 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
8872 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
8873 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
8874 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
8875
8876 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
8877 switch statement into default case.
8878 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
8879
8880 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
8881 a conditional in forcing "inexact".
8882 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8883 Likewise.
8884
8885 2015-05-22 Roland McGrath <roland@hack.frob.com>
8886
8887 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8888 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
8889 for each INTERNAL_SYSCALL use.
8890
8891 2015-05-22 Joseph Myers <joseph@codesourcery.com>
8892
8893 [BZ #438]
8894 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
8895 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
8896 variable.
8897
8898 [BZ #18444]
8899 * string/basename.c (basename): Rename to __basename and define as
8900 weak alias of __basename. Use libc_hidden_weak.
8901 * include/string.h (__basename): Declare. Use libc_hidden_proto.
8902 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
8903 __basename instead of basename.
8904 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
8905 Remove variable.
8906 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8907
8908 2015-05-18 Florian Weimer <fweimer@redhat.com>
8909
8910 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
8911 (_IO_JUMPS_FILE_plus): New.
8912 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
8913 _IO_CAST_FIELD_ACCESS.
8914 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
8915 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
8916 * libio/freopen.c (freopen): Likewise.
8917 * libio/freopen64.c (freopen64): Likewise.
8918 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
8919 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
8920 * libio/iofwide.c (_IO_fwide): Likewise.
8921 * libio/memstream.c (open_memstream): Likewise.
8922 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8923 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8924 * libio/oldiopopen.c (_IO_old_popen): Likewise.
8925
8926 2015-05-21 Joseph Myers <joseph@codesourcery.com>
8927
8928 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
8929 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
8930 NADJ.
8931 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
8932 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
8933 NADJ.
8934 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
8935 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
8936 NADJ.
8937
8938 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
8939 (p == 4) case.
8940
8941 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
8942 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
8943 Remove variable.
8944 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8945 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8946 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8947
8948 2015-05-21 Florian Weimer <fweimer@redhat.com>
8949
8950 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
8951 Adjust jump table label generation macros.
8952
8953 2015-05-21 Florian Weimer <fweimer@redhat.com>
8954
8955 * stdio-common/vfprintf.c (vfprintf): Move local variables
8956 args_malloced, specs, specs_malloced, and the code after
8957 do_positional to the printf_positional function.
8958 (printf_positional): New function.
8959
8960 2015-05-21 Florian Weimer <fweimer@redhat.com>
8961
8962 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
8963 function.
8964 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
8965 STEP4_TABLE, process_arg): Move macro definitions
8966 out of the vfprintf function. (Cosmetic change only.)
8967
8968 2015-05-21 Carlos O'Donell <carlos@redhat.com>
8969
8970 * benchtests/Makefile (stdio-common-bench): Define.
8971 (benchset): Add stdio-common-bench.
8972 * sprintf-inputs: New file.
8973 * sprintf-source.c: New file.
8974
8975 2015-05-21 Andreas Schwab <schwab@suse.de>
8976
8977 [BZ #13028]
8978 [BZ #17053]
8979 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
8980 of struct __res_state.
8981 * resolv/res_send.c (__libc_res_nsend): Likewise.
8982 (get_nsaddr): New function.
8983 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
8984 statp directly.
8985
8986 2015-05-20 Joseph Myers <joseph@codesourcery.com>
8987
8988 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
8989 -D_POSIX_C_SOURCE=199506L.
8990
8991 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
8992
8993 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
8994 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
8995 Do not mention otherwise.
8996 [POSIX] (_XOPEN_VERSION): Do not expect.
8997 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
8998 [POSIX] (_POSIX2_C_BIND): Likewise.
8999 [POSIX] (_POSIX2_VERSION): Likewise.
9000 [POSIX] (_XOPEN_XPG2): Likewise.
9001 [POSIX] (_XOPEN_XPG3): Likewise.
9002 [POSIX] (_XOPEN_XPG4): Likewise.
9003 [POSIX] (_XOPEN_UNIX): Likewise.
9004 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
9005 [POSIX] (_POSIX_BARRIERS): Likewise.
9006 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
9007 [POSIX] (_POSIX_CPUTIME): Likewise.
9008 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
9009 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
9010 [POSIX] (_POSIX_SHELL): Likewise.
9011 [POSIX] (_POSIX_SPAWN): Likewise.
9012 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
9013 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
9014 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
9015 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
9016 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
9017 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
9018 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
9019 [POSIX] (_XBS5_LP64_OFF64): Likewise.
9020 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
9021 [POSIX] (_POSIX_TIMEOUTS): Likewise.
9022 [POSIX] (_POSIX2_PBS): Likewise.
9023 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
9024 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
9025 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
9026 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
9027 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
9028 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
9029 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
9030 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
9031 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
9032 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
9033 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
9034 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
9035 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
9036 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
9037 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
9038 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
9039 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
9040 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
9041 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
9042 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
9043 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
9044 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
9045 [POSIX] (_SC_2_C_BIND): Likewise.
9046 [POSIX] (_SC_2_C_VERSION): Likewise.
9047 [POSIX] (_SC_2_PBS): Likewise.
9048 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
9049 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
9050 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
9051 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
9052 [POSIX] (_SC_2_PBS_TRACK): Likewise.
9053 [POSIX] (_SC_ATEXIT_MAX): Likewise.
9054 [POSIX] (_SC_BARRIERS): Likewise.
9055 [POSIX] (_SC_BASE): Likewise.
9056 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
9057 [POSIX] (_SC_DEVICE_IO): Likewise.
9058 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
9059 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
9060 [POSIX] (_SC_FD_MGMT): Likewise.
9061 [POSIX] (_SC_FIFO): Likewise.
9062 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
9063 [POSIX] (_SC_FILE_LOCKING): Likewise.
9064 [POSIX] (_SC_FILE_SYSTEM): Likewise.
9065 [POSIX] (_SC_IOV_MAX): Likewise.
9066 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
9067 [POSIX] (_SC_NETWORKING): Likewise.
9068 [POSIX] (_SC_PAGE_SIZE): Likewise.
9069 [POSIX] (_SC_PASS_MAX): Likewise.
9070 [POSIX] (_SC_PIPE): Likewise.
9071 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
9072 [POSIX] (_SC_REGEXP): Likewise.
9073 [POSIX] (_SC_SHELL): Likewise.
9074 [POSIX] (_SC_SIGNALS): Likewise.
9075 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
9076 [POSIX] (_SC_SPIN_LOCKS): Likewise.
9077 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
9078 [POSIX] (_SC_USER_GROUPS): Likewise.
9079 [POSIX] (_SC_USER_GROUPS_R): Likewise.
9080 [POSIX] (_SC_STREAMS): Likewise.
9081 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
9082 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
9083 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
9084 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
9085 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
9086 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
9087 [POSIX] (_PC_FILESIZEBITS): Likewise.
9088 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
9089 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
9090 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
9091 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
9092 [POSIX] (uid_t): Likewise.
9093 [POSIX] (gid_t): Likewise.
9094 [POSIX] (off_t): Likewise.
9095 [POSIX] (pid_t): Likewise.
9096 [POSIX] (cuserid): Allow.
9097 (_SC_2_CHAR_TERM): Require constant.
9098 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
9099 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
9100 variable.
9101
9102 2015-05-20 Roland McGrath <roland@hack.frob.com>
9103
9104 * sysdeps/nacl/pthread-pids.h: New file.
9105 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
9106 (create_thread): Use __nacl_get_tid to initialize PD->tid.
9107
9108 * nptl/pthread-pids.h: New file.
9109 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
9110 * nptl/nptl-init.c: Include <pthread-pids.h>.
9111 (__pthread_initialize_minimal_internal):
9112 Call __pthread_initialize_pids instead of set_tid_address syscall.
9113
9114 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
9115 * sysdeps/posix/usleep.c: ... here.
9116
9117 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9118
9119 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
9120 call_pselect6 object.
9121 [$(subdir) = io]: Remove call_sync_file_range object.
9122 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
9123 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
9124 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
9125 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
9126
9127 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
9128
9129 * math/s_cproj.c: Add include "math_private.h".
9130 * math/s_cprojf.c: Likewise.
9131 * math/s_cprojl.c: Likewise.
9132
9133 2015-05-19 Joseph Myers <joseph@codesourcery.com>
9134
9135 [BZ #18244]
9136 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
9137 high mantissa bit when testing whether P is a NaN.
9138 * math/libm-test.inc (remainder_test_data): Add more tests.
9139 (remquo_test_data): Likewise.
9140
9141 [BZ #18049]
9142 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
9143 below -32, return the argument, with underflow if subnormal.
9144 * math/auto-libm-test-in: Add more tests of atanh.
9145 * math/auto-libm-test-out: Regenerated.
9146
9147 2015-05-19 Roland McGrath <roland@hack.frob.com>
9148
9149 [BZ #18434]
9150 * nptl/tst-sem15.c: New file.
9151 * nptl/Makefile (tests): Add it.
9152 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
9153 s/<</>>/ to fix typo in EOVERFLOW check.
9154 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
9155
9156 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9157
9158 * manual/strings.texi (envz_remove): Fix typo in safety
9159 annotations.
9160
9161 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
9162 Steve Ellcey <sellcey@imgtec.com>
9163
9164 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
9165 in order to avoid strict alias warnings.
9166 (iruserok_af): Ditto for ra.
9167
9168 2015-05-19 James Lemke <jwlemke@codesourcery.com>
9169
9170 [BZ #17581]
9171 * malloc/hooks.c
9172 (magicbyte): Convert to a function and avoid returning 0x01.
9173 (mem2mem_check): Avoid using a length byte equal to the magic byte.
9174 (mem2chunk_check): Fix unsigned comparisons to zero.
9175 Hoist defs of sz and magic.
9176
9177 2015-05-19 Richard Henderson <rth@redhat.com>
9178
9179 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
9180
9181 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9182
9183 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9184
9185 [BZ #16159]
9186 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
9187 * malloc/arena.c (arena_lock): Check if arena is corrupt.
9188 (reused_arena): Find a non-corrupt arena.
9189 (heap_trim): Pass arena to unlink.
9190 * malloc/hooks.c (malloc_check_get_size): Pass arena to
9191 malloc_printerr.
9192 (top_check): Likewise.
9193 (free_check): Likewise.
9194 (realloc_check): Likewise.
9195 * malloc/malloc.c (malloc_printerr): Add arena argument.
9196 (unlink): Likewise.
9197 (munmap_chunk): Adjust.
9198 (ARENA_CORRUPTION_BIT): New macro.
9199 (arena_is_corrupt): Likewise.
9200 (set_arena_corrupt): Likewise.
9201 (sysmalloc): Use mmap if there are no usable arenas.
9202 (_int_malloc): Likewise.
9203 (__libc_malloc): Don't fail if arena_get returns NULL.
9204 (_mid_memalign): Likewise.
9205 (__libc_calloc): Likewise.
9206 (__libc_realloc): Adjust for additional argument to
9207 malloc_printerr.
9208 (_int_free): Likewise.
9209 (malloc_consolidate): Likewise.
9210 (_int_realloc): Likewise.
9211 (_int_memalign): Don't touch corrupt arenas.
9212 * malloc/tst-malloc-backtrace.c: New test case.
9213
9214 * Makefile (summarize-tests): Fix return value on success.
9215
9216 * manual/string.texi (Envz Functions): Add envz_remove.
9217
9218 2015-05-18 Roland McGrath <roland@hack.frob.com>
9219
9220 * sysdeps/posix/opendir.c: Include <stdbool.h>.
9221 (invalid_name): New function, broken out of ...
9222 (__opendirat): ... here. Call it.
9223 (need_isdir_precheck): New function, broken out of ...
9224 (__opendirat): ... here. Call it.
9225 Use __fxstatat64, not __xstatat64.
9226 (opendir_oflags): New function, broken out of ...
9227 (__opendirat): ... here. Call it.
9228 (opendir_tail): New function, broken out of ...
9229 (__opendirat): ... here. Call it.
9230 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
9231 opendir_tail, rather than punting to __opendirat.
9232 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
9233
9234 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9235
9236 * .gitignore: Ignore generated *.pyc.
9237
9238 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
9239
9240 * include/stdio.h: Define __need_wint_t.
9241 * test-skeleton.c: Avoid `for' loop initial declaration.
9242 * nptl/tst-initializers1.c: Use test-skeleton.c.
9243
9244 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9245
9246 [BZ #18418]
9247 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
9248
9249 2015-05-15 Joseph Myers <joseph@codesourcery.com>
9250
9251 [BZ #16352]
9252 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
9253 (__ieee754_atanh): Force underflow exception for results with
9254 small absolute value.
9255 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
9256 (__ieee754_atanhf): Force underflow exception for results with
9257 small absolute value.
9258 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
9259 (__ieee754_atanh): Force underflow exception for results with
9260 small absolute value.
9261 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
9262 (__ieee754_atanhf): Force underflow exception for results with
9263 small absolute value.
9264 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
9265 (__ieee754_atanhl): Force underflow exception for results with
9266 small absolute value.
9267 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
9268 (__ieee754_atanhl): Force underflow exception for results with
9269 small absolute value.
9270 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
9271 (__ieee754_atanhl): Force underflow exception for results with
9272 small absolute value.
9273 * math/auto-libm-test-in: Do not allow missing underflow
9274 exceptions from atanh.
9275 * math/auto-libm-test-out: Regenerated.
9276
9277 [BZ #18221]
9278 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
9279 2**-28 as threshold for returning x or +/- 1/x.
9280 * math/auto-libm-test-in: Add more tests of tan.
9281 * math/auto-libm-test-out: Regenerated.
9282
9283 [BZ #18220]
9284 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9285 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
9286 * math/auto-libm-test-in: Add another test of lgamma.
9287 * math/auto-libm-test-out: Regenerated.
9288
9289 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
9290
9291 * stdio-common/printf_fp.c (___printf_fp): Use abs.
9292 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
9293 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
9294 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
9295 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
9296 (ADD2A): Use fabs. (SUB2A): Use fabs.
9297 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
9298 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
9299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
9300 (log1): Use fabs. (my_log2): Use fabs.
9301 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
9302 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
9303 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
9304 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
9305 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
9306 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
9307 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
9308 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
9309 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
9310 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
9311 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
9312
9313 2015-05-15 Joseph Myers <joseph@codesourcery.com>
9314
9315 [BZ #18217]
9316 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
9317 as threshold for returning 1 - x.
9318 * math/auto-libm-test-in: Add more tests of erfc.
9319 * math/auto-libm-test-out: Regenerated.
9320
9321 2015-05-14 Joseph Myers <joseph@codesourcery.com>
9322
9323 [BZ #18196]
9324 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
9325 threshold for large arguments.
9326 * math/auto-libm-test-in: Add another test of atan.
9327 * math/auto-libm-test-out: Regenerated.
9328
9329 [BZ #16339]
9330 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
9331 (__log1p): Force underflow exception for results with small
9332 absolute value.
9333 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
9334 (__log1pf): Force underflow exception for results with small
9335 absolute value.
9336 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
9337 (__log1p): Force underflow exception for results with small
9338 absolute value.
9339 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
9340 (__log1pf): Force underflow exception for results with small
9341 absolute value.
9342 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
9343 (__log1pl): Force underflow exception for results with small
9344 absolute value.
9345 * math/auto-libm-test-in: Do not allow missing underflow
9346 exceptions from log1p.
9347 * math/auto-libm-test-out: Regenerated.
9348
9349 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
9350 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9351
9352 [BZ #16704]
9353 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
9354
9355 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
9356
9357 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
9358 (libmvec): New variable.
9359 * configure.ac: Added option for mathvec build.
9360 * configure: Regenerated.
9361 * mathvec/Depend: New file.
9362 * mathvec/Makefile: New file.
9363 * shlib-versions: Added libmvec.
9364 * math/Makefile: Added rule for libm.so installation.
9365
9366 * bits/math-vector.h: New file.
9367 * bits/libm-simd-decl-stubs.h: New header.
9368 * math/Makefile (headers): Added new header
9369 libm-simd-decl-stubs.h.
9370 * math/math.h (__MATHCALL_VEC): New macro.
9371
9372 * math/gen-libm-have-vector-test.sh: Script generates series of macros
9373 for conditions in testing functions.
9374 * math/Makefile: Added call of libm-have-vector-test.sh.
9375 * math/libm-test.inc (HAVE_VECTOR): New macros.
9376
9377 * math/libm-test.inc: START refactored.
9378 * math/test-double.c (TEST_MATHVEC): Add define.
9379 * math/test-float.c: Likewise.
9380 * math/test-idouble.c: Likewise.
9381 * math/test-ifloat.c: Likewise.
9382 * math/test-ildoubl.c: Likewise.
9383 * math/test-ldouble.c: Likewise.
9384 * sysdeps/generic/math-tests-arch.h
9385 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
9386 architecture check.
9387
9388 * math/test-double.c (FUNC_TEST): New macro.
9389 * math/test-float.c: Likewise.
9390 * math/test-idouble.c: Likewise.
9391 * math/test-ifloat.c: Likewise.
9392 * math/test-ildoubl.c: Likewise.
9393 * math/test-ldouble.c: Likewise.
9394 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
9395
9396 2015-05-13 Roland McGrath <roland@hack.frob.com>
9397
9398 * sysdeps/nacl/fdopendir.c: New file.
9399
9400 * dirent/scandir-tail.c: New file.
9401 * dirent/scandir64-tail.c: New file.
9402 * dirent/Makefile (routines): Add them.
9403 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
9404 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
9405 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
9406 [!SCANDIR] (SCANDIR_TAIL): New macro.
9407 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
9408 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
9409 (SCANDIRAT): Macro removed.
9410 (SCANDIR_TAIL): New macro.
9411 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
9412 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
9413 (SCANDIRAT): Just call __opendirat and __scandir_tail.
9414 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
9415 (READDIR): Macro removed.
9416 (SCANDIR_TAIL): New macro.
9417 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
9418 (SCANDIR_TAIL): New macro.
9419
9420 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
9421 * dirent/scandir-cancel.c: ... to this new file.
9422 * dirent/Makefile (routines): Add it.
9423 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
9424 * sysdeps/unix/sysv/linux/i386/scandir64.c
9425 (SKIP_SCANDIR_CANCEL): Macro removed.
9426 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
9427
9428 * dirent/tst-scandir.c: New file.
9429 * dirent/tst-scandir64.c: New file.
9430 * dirent/Makefile (tests): Add them.
9431
9432 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
9433
9434 [BZ #18409]
9435 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
9436
9437 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
9438
9439 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
9440 list.
9441
9442 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
9443
9444 * benchtests/bench-strcoll.c: New benchmark.
9445 * benchtests/Makefile: Generate locales and run benchmark.
9446 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
9447 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
9448 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
9449 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
9450 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
9451 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
9452 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
9453 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
9454 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
9455 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
9456 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
9457 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
9458 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
9459 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
9460 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
9461 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
9462 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
9463 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
9464 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
9465 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
9466 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
9467 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
9468 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
9469 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
9470
9471 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
9472
9473 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
9474 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9475
9476 2015-05-12 Roland McGrath <roland@hack.frob.com>
9477
9478 * posix/uname-values.h: New file.
9479 * posix/uname.c: Include that instead of <config-name.h>.
9480 * sysdeps/nacl/uname-values.h: New file.
9481 * sysdeps/arm/nacl/uname-values.h: New file.
9482
9483 2015-05-12 Joseph Myers <joseph@codesourcery.com>
9484
9485 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
9486 splitting into fields.
9487
9488 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
9489
9490 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
9491 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
9492 * locale/localeinfo.h: Add enum collation_encoding_type.
9493 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
9494 * programs/ld-collate.c (collate_output): Add encoding type info.
9495 * string/strcoll_l.c (STRDIFF): New function.
9496 * (STRCOLL): Use STRDIFF to skip over equal prefix.
9497 * wcsmbs/wcscoll_l.c: Define STRDIFF.
9498
9499 2015-05-11 Joseph Myers <joseph@codesourcery.com>
9500
9501 [BZ #18397]
9502 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
9503 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
9504 <fpu_control.h> instead of <math/fpu_control.c>.
9505 * sysdeps/mips/mips32/fpu/Makefile: New file.
9506
9507 2015-05-11 Andreas Schwab <schwab@suse.de>
9508
9509 [BZ #18007]
9510 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
9511 nss_endgrent.
9512 (_nss_compat_endgrent): Call nss_endgrent.
9513 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
9514 nss_endpwent.
9515 (_nss_compat_endpwent): Call nss_endpwent.
9516 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
9517 needent, call nss_setspent only if non-zero.
9518 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
9519 (internal_endspent): Don't call nss_endspent.
9520 (_nss_compat_endspent): Call nss_endspent.
9521 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
9522 Remove. All uses removed.
9523 (internal_setent): Remove parameter stayopen, add parameter
9524 stream. Use it instead of global variable.
9525 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
9526 (internal_endent, internal_getent): Add parameter stream. Use it
9527 instead of global variable.
9528 (CONCAT(_nss_files_end,ENTNAME))
9529 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
9530 (_nss_files_get##name##_r): Pass local stream. Remove locking.
9531 * nss/nss_files/files-alias.c (position, last_use): Remove. All
9532 uses removed.
9533 (internal_setent, internal_endent): Add parameter stream. Use it
9534 instead of global variable.
9535 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
9536 stream.
9537 (get_next_alias): Add parameter stream.
9538 (_nss_files_getaliasent_r): Pass global stream.
9539 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
9540 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
9541 (_nss_files_gethostbyname4_r): Pass local stream to
9542 internal_setent, internal_getent and internal_endent. Remove
9543 locking.
9544
9545 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9546
9547 * tst-strfmon1.c (tests): Update expected currency symbol.
9548
9549 2015-05-08 Roland McGrath <roland@hack.frob.com>
9550
9551 * sysdeps/nacl/gethostname.c: New file.
9552
9553 2015-05-08 Joseph Myers <joseph@codesourcery.com>
9554
9555 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
9556 and sinh.
9557 * math/auto-libm-test-out: Regenerated.
9558 * sysdeps/i386/fpu/libm-test-ulps: Update.
9559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9560
9561 2015-05-08 Carlos O'Donell <carlos@redhat.com>
9562
9563 [BZ #18125]
9564 * stdlib/tst-setcontext3.c: New file.
9565 * stdlib/tst-setcontext3.sh: New file.
9566 * stdlib/Makefile (tests): Add tst-setcontext3.
9567 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
9568 to verify test program created output file.
9569 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
9570 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
9571 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
9572 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
9573
9574 2015-05-06 Roland McGrath <roland@hack.frob.com>
9575
9576 [BZ #18383]
9577 * elf/tst-tlsalign.c: New file.
9578 * elf/tst-tlsalign-static.c: New file.
9579 * elf/tst-tlsalign-lib.c: New file.
9580 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
9581 (tests-static): Add tst-tlsalign-static.
9582 (modules-names): Add tst-tlsalign-lib.
9583 (test-xfail-tst-tlsalign): New variable.
9584 (test-xfail-tst-tlsalign-static): New variable.
9585
9586 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
9587 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
9588
9589 2015-05-06 Joseph Myers <joseph@codesourcery.com>
9590
9591 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
9592 csqrt, erfc, sin and sincos.
9593 * math/auto-libm-test-out: Regenerated.
9594 * sysdeps/i386/fpu/libm-test-ulps: Update.
9595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9596
9597 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9598
9599 * sysdeps/aarch64/libm-test-ulps: Update.
9600
9601 2015-05-05 Joseph Myers <joseph@codesourcery.com>
9602
9603 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
9604 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
9605 * math/auto-libm-test-out: Regenerated.
9606 * sysdeps/i386/fpu/libm-test-ulps: Update.
9607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9608
9609 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
9610
9611 [BZ #18265]
9612 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
9613 (wcsncpy): Likewise.
9614
9615 2015-05-05 Florian Weimer <fweimer@redhat.com>
9616
9617 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9618 Assume __ASSUME_FALLOCATE is always true.
9619 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9620 (__posix_fallocate64_l64): Likweise.
9621 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
9622 (posix_fallocate): Likewise.
9623 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
9624 (__posix_fallocate64_l64): Likewise.
9625 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9626 [!__ASSUME_FALLOCATE]: Add comment.
9627
9628 2015-05-05 Florian Weimer <fweimer@redhat.com>
9629
9630 * sysdeps/unix/sysv/linux/i386/Makefile
9631 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
9632 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
9633 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
9634 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9635 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9636 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
9637 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
9638
9639 2015-05-02 Joseph Myers <joseph@codesourcery.com>
9640
9641 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
9642 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
9643 tgamma.
9644 * math/auto-libm-test-out: Regenerated.
9645 * sysdeps/i386/fpu/libm-test-ulps: Update.
9646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9647
9648 2015-05-01 Joseph Myers <joseph@codesourcery.com>
9649
9650 * math/auto-libm-test-in: Add more tests of tgamma.
9651 * math/auto-libm-test-out: Regenerated.
9652 * sysdeps/i386/fpu/libm-test-ulps: Update.
9653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9654
9655 * math/auto-libm-test-in: Add more tests of tanh.
9656 * math/auto-libm-test-out: Regenerated.
9657 * sysdeps/i386/fpu/libm-test-ulps: Update.
9658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9659
9660 * math/auto-libm-test-in: Add more tests of tan.
9661 * math/auto-libm-test-out: Regenerated.
9662 * sysdeps/i386/fpu/libm-test-ulps: Update.
9663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9664
9665 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
9666 * math/auto-libm-test-out: Regenerated.
9667 * sysdeps/i386/fpu/libm-test-ulps: Update.
9668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9669
9670 * math/auto-libm-test-in: Add another test of pow.
9671 * math/auto-libm-test-out: Regenerated.
9672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9673
9674 * math/auto-libm-test-in: Add more tests of lgamma.
9675 * math/auto-libm-test-out: Regenerated.
9676 * sysdeps/i386/fpu/libm-test-ulps: Update.
9677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9678
9679 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
9680 log1p.
9681 * math/auto-libm-test-out: Regenerated.
9682 * sysdeps/i386/fpu/libm-test-ulps: Update.
9683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9684
9685 2015-05-01 Mark Wielaard <mjw@redhat.com>
9686
9687 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
9688 Elf64_Chdr structs and ELFCOMPRESS constants.
9689
9690 2015-05-01 Joseph Myers <joseph@codesourcery.com>
9691
9692 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
9693 expm1.
9694 * math/auto-libm-test-out: Regenerated.
9695 * sysdeps/i386/fpu/libm-test-ulps: Update.
9696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9697
9698 * math/auto-libm-test-in: Add more tests of erf and erfc.
9699 * math/auto-libm-test-out: Regenerated.
9700 * sysdeps/i386/fpu/libm-test-ulps: Update.
9701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9702
9703 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
9704
9705 * config.h.in (HAVE_AARCH64_BE): Add.
9706
9707 2015-04-30 Joseph Myers <joseph@codesourcery.com>
9708
9709 * math/auto-libm-test-in: Add more tests of csqrt.
9710 * math/auto-libm-test-out: Regenerated.
9711 * sysdeps/i386/fpu/libm-test-ulps: Update.
9712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9713
9714 * math/auto-libm-test-in: Add more tests of cosh and sinh.
9715 * math/auto-libm-test-out: Regenerated.
9716 * sysdeps/i386/fpu/libm-test-ulps: Update.
9717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9718
9719 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
9720
9721 2015-04-29 Roland McGrath <roland@hack.frob.com>
9722
9723 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
9724 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
9725
9726 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
9727 (euidaccess, eaccess): Define as weak aliases.
9728
9729 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
9730 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
9731 but __suseconds_t is often 'long int' so some sources assume that
9732 type is being used (e.g. they use %ld to print tv_usec).
9733
9734 2015-04-29 Florian Weimer <fweimer@redhat.com>
9735
9736 [BZ #18007]
9737 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
9738 (CVE-2014-8121)
9739 * nss/tst-nss-getpwent.c: New file.
9740 * nss/Makefile (tests): Add new test.
9741
9742 2015-04-28 Joseph Myers <joseph@codesourcery.com>
9743
9744 [BZ #18346]
9745 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
9746 exponents less than 48 as cases where high part of mantissa needs
9747 examining to determine whether argument is integral.
9748 * math/libm-test.inc (round_test_data): Add more tests.
9749
9750 2015-04-28 Mark Wielaard <mjw@redhat.com>
9751
9752 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
9753
9754 2015-04-27 David S. Miller <davem@davemloft.net>
9755
9756 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
9757 __tls_get_addr.
9758 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9759
9760 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
9761
9762 [BZ#18333]
9763 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
9764
9765 2015-04-27 Florian Weimer <fweimer@redhat.com>
9766
9767 [BZ#18333]
9768 * time/tzset.c (parse_tzname): Return error on memory allocation
9769 failure.
9770 * test-skeleton.c (struct temp_name_list): Change type of name
9771 member to non-const.
9772 (add_temp_file): Create a copy of the file name.
9773 (delete_temp_files): Deallocate memory.
9774 (create_temp_file): Add comment.
9775
9776 2015-04-24 Florian Weimer <fweimer@redhat.com>
9777
9778 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
9779 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
9780
9781 2015-04-24 Roland McGrath <roland@hack.frob.com>
9782
9783 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
9784 * sysdeps/arm/configure: Regenerated.
9785
9786 2015-04-24 Florian Weimer <fweimer@redhat.com>
9787
9788 [BZ #17715]
9789 * time/tzfile.c (__tzfile_read): Check for large values of
9790 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
9791 * time/tzset.c (__tzstring_len): New function, based on the old
9792 __tzstring function.
9793 (__tzstring): Call __tzstring_len.
9794 (parse_tzname): New helper function extracted from
9795 __tzset_parse_tz. Call __tzstring_len, without making a copy of
9796 the input string.
9797 (parse_offset): New helper function extracted from
9798 __tzset_parse_tz. Replace switch with fallthrough with
9799 initialization before sscanf.
9800 (parse_rule): Likewise.
9801 (__tzset_parse_tz): Rewrite using the new helper functions. Use
9802 new-style function definition.
9803 * timezone/Makefile (tests): Add tst-tzset.
9804 (tst-tzset.out): Dependencies on time zone files.
9805 (tst-tzset-ENV): Set TZDIR.
9806 (testdata/XT%): Copy crafted time zone files.
9807 * timezone/README: Mention crafted time zone files.
9808 * timezone/testdata/XT1, timezone/testdata/XT2,
9809 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
9810 files.
9811 * timezone/tst-tzset.c: New test.
9812
9813 2015-04-24 Florian Weimer <fweimer@redhat.com>
9814
9815 * Makeconfig (+gccwarn): Remove -Winline.
9816
9817 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9818
9819 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
9820
9821 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9822
9823 * NEWS: Mention sysconf() cache information support for s390.
9824 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
9825
9826 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
9827
9828 * math/k_casinh.c (__kernel_casinh): Use __copysign.
9829 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
9830 (__nearbyint): Likewise.
9831 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
9832 (copysignl): Likewise.
9833
9834 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
9835
9836 [BZ #18287]
9837 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
9838 based on padding. (CVE-2015-1781)
9839
9840 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9841
9842 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
9843 libc-vdso.h.
9844 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
9845 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
9846 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
9847 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9848 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9849 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
9850 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
9851 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9852 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9853 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
9854 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9855 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9856 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
9857 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
9858 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9859 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
9860 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
9861 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
9862 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
9863 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
9864 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
9865 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
9866 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
9867
9868 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
9869
9870 * stdlib/setenv.c (__add_to_environ):
9871 Dump core quickly if setenv (..., NULL, ...) is called.
9872 This time, do it the right way, and pacify GCC with a pragma.
9873
9874 2015-04-17 Roland McGrath <roland@hack.frob.com>
9875
9876 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
9877 IMAP->l_prev cannot be null, and #if out the code for the contrary
9878 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
9879 believe that NS (&_dl_ns[NSID]) could point outside the array.
9880
9881 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
9882 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
9883 before using NSID as an index.
9884
9885 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
9886
9887 [BZ #17825]
9888 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
9889 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
9890 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9891
9892 2015-04-17 Roland McGrath <roland@hack.frob.com>
9893
9894 Add preliminary port to Google Native Client on ARM.
9895 * abi-tags (.*-.*-nacl.*): New entry.
9896 * sysdeps/arm/nacl: New directory.
9897 * sysdeps/nacl: New directory.
9898
9899 2015-04-16 David S. Miller <davem@davemloft.net>
9900
9901 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
9902 lowlevellock-futex.h
9903
9904 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
9905
9906 * sysdeps/tile/configure.ac: New file.
9907 * sysdeps/tile/configure: Regenerated.
9908
9909 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9910
9911 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
9912 conditionals for weak_alias and libc_hidden_weak.
9913 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
9914 libc_hidden_weak and weak_alias.
9915 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
9916 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
9917 and weak_alias for static one.
9918
9919 2015-04-15 David S. Miller <davem@davemloft.net>
9920
9921 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
9922
9923 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9924
9925 [BZ #18206]
9926 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
9927 Use signed comparision instead of substraction to avoid
9928 overflow bug.
9929 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
9930 Take the sign of ret.
9931 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
9932 Do not expect precise return values. Only the sign matters.
9933 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
9934 * wcsmbs/test-wcsncmp.c: New File.
9935 * string/test-strncmp.c: Add wcsncmp support.
9936
9937 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9938
9939 [BZ #6792]
9940 * math/w_log1p.c: New file.
9941 * math/w_log1pf.c: Likewise.
9942 * math/w_log1pl.c: Likewise.
9943 * math/Makefile (libm-calls): Add w_log1p.
9944 * math/s_log1pl.c (log1pl): Remove weak_alias.
9945 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
9946 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
9947 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
9948 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
9949 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
9950 [NO_LONG_DOUBLE] (log1pl): Likewise.
9951 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
9952 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
9953 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
9954 (log1p): Remove long_double_symbol.
9955 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
9956 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
9957 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
9958 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
9959 remove weak_alias for corresponding log1p function.
9960 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
9961 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9962 * sysdeps/ia64/fpu/w_log1p.c: New file.
9963 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
9964 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
9965 * math/libm-test.inc (log1p_test_data): Add errno expectations.
9966
9967 2015-04-10 Joseph Myers <joseph@codesourcery.com>
9968
9969 [BZ #18247]
9970 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
9971 decimal exponent by 1.
9972 * stdlib/tst-strtod-round-data: Add more tests.
9973 * stdlib/tst-strtod-round.c (tests): Regenerated.
9974
9975 2015-04-09 Joseph Myers <joseph@codesourcery.com>
9976
9977 * math/auto-libm-test-in: Add more tests of clog and clog10.
9978 * math/auto-libm-test-out: Regenerated.
9979 * sysdeps/i386/fpu/libm-test-ulps: Update.
9980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9981
9982 2015-04-09 Roland McGrath <roland@hack.frob.com>
9983
9984 * Makeconfig (module-cppflags): Exclude all .v.i files.
9985 (skip-module-cppflags): Variable removed.
9986
9987 * configure.ac (libc_config_ok): Initialize before reading
9988 preconfigure scripts, not after.
9989 * configure: Regenerated.
9990
9991 * test-skeleton.c (TIMEOUT): Move #define to top level.
9992 (main): Grok environment variable TEST_DIRECT. If set, print
9993 test expectation details into that file and then behave as if
9994 given --direct.
9995
9996 2015-04-09 Florian Weimer <fweimer@redhat.com>
9997
9998 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
9999 warning on 32-bit.
10000
10001 2015-04-08 David S. Miller <davem@davemloft.net>
10002
10003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10004
10005 2015-04-08 Joseph Myers <joseph@codesourcery.com>
10006
10007 * math/auto-libm-test-in: Add more tests of atanh.
10008 * math/auto-libm-test-out: Regenerated.
10009 * sysdeps/i386/fpu/libm-test-ulps: Update.
10010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10011
10012 * math/auto-libm-test-in: Add more tests of atan.
10013 * math/auto-libm-test-out: Regenerated.
10014 * sysdeps/i386/fpu/libm-test-ulps: Update.
10015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10016
10017 2015-04-08 Florian Weimer <fweimer@redhat.com>
10018
10019 * elf/pldd.c (main): Rewrite to use struct
10020 scratch_buffer instead of extend_alloca.
10021 * elf/pldd-xx.c (find_maps): Likewise.
10022 * grp/initgroups.c: Include <scratch_buffer.h> instead of
10023 <alloca.h>.
10024 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
10025 scratch_buffer instead of extend_alloca.
10026 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
10027 grp/compat-initgroups.c.
10028 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
10029 Rewrite to use struct scratch_buffer instead of extend_alloca.
10030 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
10031 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10032
10033 2015-04-08 Joseph Myers <joseph@codesourcery.com>
10034
10035 * math/auto-libm-test-in: Add more tests of cbrt.
10036 * math/auto-libm-test-out: Regenerated.
10037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10038
10039 * math/auto-libm-test-in: Add more tests of cabs.
10040 * math/auto-libm-test-out: Regenerated.
10041 * sysdeps/i386/fpu/libm-test-ulps: Update.
10042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10043
10044 [BZ #18210]
10045 [BZ #18211]
10046 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
10047 (__ieee754_atan2): Set FE_TONEAREST mode for internal
10048 computations.
10049 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
10050 clog10.
10051 * math/auto-libm-test-out: Regenerated.
10052 * sysdeps/i386/fpu/libm-test-ulps: Update.
10053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10054
10055 [BZ #18197]
10056 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
10057 (atan): Set FE_TONEAREST mode for internal computations.
10058 * math/auto-libm-test-in: Add more tests of atan.
10059 * math/auto-libm-test-out: Regenerated.
10060
10061 2015-04-07 James Cowgill <james410@cowgill.org.uk>
10062
10063 [BZ #17930]
10064 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
10065
10066 2015-04-07 Florian Weimer <fweimer@redhat.com>
10067
10068 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
10069
10070 2015-04-07 Florian Weimer <fweimer@redhat.com>
10071
10072 * include/scratch_buffer.h: New file.
10073 * malloc/scratch_buffer_grow.c: Likewise.
10074 * malloc/scratch_buffer_grow_preserve.c: Likewise.
10075 * malloc/scratch_buffer_set_array_size.c: Likewise.
10076 * malloc/tst-scratch_buffer.c: Likewise.
10077 * malloc/Makefile (routines): Add scratch_buffer_grow.
10078 (tests): Add test case.
10079 * malloc/Versions (GLIBC_PRIVATE): Export
10080 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
10081 __libc_scratch_buffer_set_array_size.
10082
10083 2015-04-06 Richard Henderson <rth@redhat.com>
10084
10085 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
10086 * sysdeps/alpha/fpu/libm-test-ulps: Update.
10087
10088 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
10089 unsigned int before printing.
10090
10091 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10092
10093 [BZ #17596]
10094 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
10095 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10096
10097 2015-04-02 Florian Weimer <fweimer@redhat.com>
10098
10099 * include/libc-internal.h (libc_max_align_t): Define.
10100
10101 2015-04-02 Andreas Schwab <schwab@suse.de>
10102
10103 [BZ #16850]
10104 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
10105
10106 2015-04-02 Mel Gorman <mgorman@suse.de>
10107
10108 [BZ #17195]
10109 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
10110 as well as the main arena.
10111
10112 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
10113
10114 [BZ #18185]
10115 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
10116 sharing L2 cache to 2 for Silvermont/Knights Landing.
10117
10118 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
10119
10120 [BZ #17711]
10121 * config.make.in (have-protected-data): New.
10122 * configure.ac: Check linker support for protected data symbol.
10123 * configure: Regenerated.
10124 * elf/Makefile (modules-names): Add tst-protected1moda and
10125 tst-protected1modb if $(have-protected-data) is yes.
10126 (tests): Add tst-protected1a and tst-protected1b if
10127 $(have-protected-data) is yes.
10128 ($(objpfx)tst-protected1a): New.
10129 ($(objpfx)tst-protected1b): Likewise.
10130 (tst-protected1modb.so-no-z-defs): Likewise.
10131 * elf/tst-protected1a.c: New file.
10132 * elf/tst-protected1b.c: Likewise.
10133 * elf/tst-protected1mod.h: Likewise.
10134 * elf/tst-protected1moda.c: Likewise.
10135 * elf/tst-protected1modb.c: Likewise.
10136
10137 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
10138
10139 [BZ #17711]
10140 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
10141 indicates it is called from do_lookup_x on relocation against
10142 protected data, skip the data definion in the executable from
10143 copy reloc.
10144 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
10145 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
10146 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
10147 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
10148 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
10149 otherwise to 0.
10150 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
10151 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
10152 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
10153 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
10154 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
10155 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
10156
10157 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
10158
10159 * sysdeps/nptl/pthread.h: Remove duplicate definition of
10160 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
10161
10162 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
10163
10164 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
10165 THREAD_SETMEM_NC.
10166 * sysdeps/x86_64/nptl/tls.h: Ditto.
10167
10168 2015-03-27 Roland McGrath <roland@hack.frob.com>
10169
10170 * dlfcn/tststatic.c (main): Converted to ...
10171 (do_test): ... this.
10172 (TEST_FUNCTION): New macro.
10173 Include test-skeleton.c.
10174
10175 2015-03-26 Alan Modra <amodra@gmail.com>
10176
10177 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
10178 Don't segfault if ifunc resolver returns a NULL. Do set plt to
10179 zero for undefined weak.
10180 (elf_machine_plt_conflict): Similarly.
10181
10182 2015-03-25 Joseph Myers <joseph@codesourcery.com>
10183
10184 * math/auto-libm-test-in: Add more tests of acosh, asinh and
10185 atanh.
10186 * math/auto-libm-test-out: Regenerated.
10187 * sysdeps/i386/fpu/libm-test-ulps: Update.
10188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10189
10190 * math/auto-libm-test-in: Add another test of asin.
10191 * math/auto-libm-test-out: Regenerated.
10192 * sysdeps/i386/fpu/libm-test-ulps: Update.
10193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10194
10195 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
10196 Remove macro.
10197 (LLL_EBX_REG): Likewise.
10198 (LLL_ENTER_KERNEL): Likewise.
10199
10200 * math/auto-libm-test-in: Add more tests of asin.
10201 * math/auto-libm-test-out: Regenerated.
10202 * sysdeps/i386/fpu/libm-test-ulps: Update.
10203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10204
10205 [BZ #18138]
10206 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
10207 libc_do_syscall_args): New structure.
10208 (INTERNAL_SYSCALL_MAIN_0): New macro.
10209 (INTERNAL_SYSCALL_MAIN_1): Likewise.
10210 (INTERNAL_SYSCALL_MAIN_2): Likewise.
10211 (INTERNAL_SYSCALL_MAIN_3): Likewise.
10212 (INTERNAL_SYSCALL_MAIN_4): Likewise.
10213 (INTERNAL_SYSCALL_MAIN_5): Likewise.
10214 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
10215 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
10216 Replace conditional definitions by conditional definitions of ....
10217 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
10218 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
10219 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
10220 (libpthread-sysdep_routines): Add libc-do-syscall.
10221 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
10222 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
10223 to __NR_futex not 240.
10224
10225 2015-03-25 Alan Modra <amodra@gmail.com>
10226
10227 * NEWS: Advertise TLS optimization.
10228 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
10229 (DT_PPC_NUM): Increment.
10230 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
10231 (CHECK_STATIC_TLS): Use here.
10232 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
10233 TLS descriptors.
10234 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10235 * sysdeps/powerpc/dl-tls.c: New file.
10236 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
10237 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
10238 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
10239 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
10240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
10241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10243
10244 2015-03-25 Alan Modra <amodra@gmail.com>
10245
10246 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
10247 for overlapping .opd entries" to "support...".
10248 * sysdeps/powerpc/powerpc64/configure: Regenerate
10249
10250 2015-03-25 Joseph Myers <joseph@codesourcery.com>
10251
10252 * math/auto-libm-test-in: Add more tests of acos.
10253 * math/auto-libm-test-out: Regenerated.
10254 * sysdeps/i386/fpu/libm-test-ulps: Update.
10255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10256
10257 * math/auto-libm-test-in: Add more tests of expm1.
10258 * math/auto-libm-test-out: Regenerated.
10259 * sysdeps/i386/fpu/libm-test-ulps: Update.
10260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10261
10262 2015-03-24 Joseph Myers <joseph@codesourcery.com>
10263
10264 * math/auto-libm-test-in: Add more tests of cosh and sinh.
10265 * math/auto-libm-test-out: Regenerated.
10266 * sysdeps/i386/fpu/libm-test-ulps: Update.
10267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10268
10269 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10271
10272 * math/auto-libm-test-in: Add more tests of log2.
10273 * math/auto-libm-test-out: Regenerated.
10274 * sysdeps/i386/fpu/libm-test-ulps: Update.
10275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10276
10277 2015-03-23 Roland McGrath <roland@hack.frob.com>
10278
10279 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
10280 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
10281 _IO_IS_APPENDING bit in READ_WRITE instead.
10282
10283 2015-03-23 Florian Weimer <fweimer@redhat.com>
10284
10285 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10286 (__determine_cpumask_size): Replace extend_alloca with a
10287 variable-length array. Do not treat res == 0 as an error.
10288
10289 2015-03-23 Florian Weimer <fweimer@redhat.com>
10290
10291 [BZ #18100]
10292 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
10293 and integer overflow.
10294 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
10295 (main): Add integer overflow tests.
10296 * manual/pattern.texi (Calling Wordexp): Document additional use
10297 for WRDE_SYNTAX.
10298
10299 2015-03-23 Alan Modra <amodra@gmail.com>
10300
10301 * config.h.in: Remove HAVE_ASM_PPC_REL16.
10302 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
10303 and false branch of conditional.
10304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10305 Likewise.
10306
10307 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
10308
10309 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
10310 libc-modules.h
10311 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
10312 unused declaration of _hurd_intr_rpc_msg_in_trap.
10313 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
10314 defined instead of whether it is non-zero.
10315 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
10316 input constraint instead of both input and output constraint. Use ecx
10317 clobber instead of %ecx.
10318 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
10319 mutex_unlock): Use a statement expression instead of an expression list.
10320 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
10321 type to vm_size_t instead of vm_address_t.
10322 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
10323 defined instead of whether it is non-zero.
10324 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
10325 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
10326 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
10327 comparisons with mapaddr.
10328 * nscd/nscd-client.h: Include <time.h>.
10329 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
10330 9th parameter to __vm_region instead of int.
10331 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
10332 * scripts/check-local-headers.sh (exclude): Add device/,
10333 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
10334 cthreads.h.
10335
10336 2015-03-19 Roland McGrath <roland@hack.frob.com>
10337
10338 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
10339 to account for alignment padding.
10340 * sysdeps/arm/memmove.S: Likewise.
10341
10342 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
10343
10344 * sysdeps/unix/sysv/linux/generic/README: New file.
10345
10346 2015-03-18 Joseph Myers <joseph@codesourcery.com>
10347
10348 [BZ #18138]
10349 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
10350 (futex_abstimed_wait)
10351 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
10352 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
10353 of lll_futex_timed_wait.
10354
10355 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
10356
10357 [BZ #17542]
10358 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
10359
10360 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
10361
10362 [BZ #17090]
10363 [BZ #17620]
10364 [BZ #17621]
10365 [BZ #17628]
10366 * NEWS: Update.
10367 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
10368 entries with Static TLS too. Skip entries past the end of the
10369 allocated DTV, from Alan Modra.
10370 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
10371 Static TLS DTV entry set up from...
10372 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
10373 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
10374 * nptl/allocatestack.c (init_one_static_tls): ... and here...
10375 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
10376 for Static TLS.
10377 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
10378 that the slot we find is associated with the given map before
10379 using its generation count.
10380 * nptl_db/db_info.c: Include ldsodefs.h.
10381 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
10382 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
10383 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
10384 (link_map::l_tls_offset): New struct field.
10385 (dtv_t::counter): Likewise.
10386 (rtld_global): New struct.
10387 (_rtld_global): New rtld variable.
10388 (dl_tls_dtv_slotinfo_list): New rtld global field.
10389 (dtv_slotinfo_list): New struct.
10390 (dtv_slotinfo): Likewise.
10391 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
10392 (td_lookup): Rename to...
10393 (td_mod_lookup): ... this. Use new mod parameter instead of
10394 LIBPTHREAD_SO.
10395 * nptl_db/td_thr_tlsbase.c: Include link.h.
10396 (dtv_slotinfo_list, dtv_slotinfo): New functions.
10397 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
10398 addresses even if the DTV is out of date or missing them.
10399 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
10400 index zero-length arrays.
10401 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
10402 (td_lookup): Make it a macro implemented in terms of...
10403 (td_mod_lookup): ... this declaration.
10404 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
10405 (DB_MAIN_VARIABLE): Likewise.
10406
10407 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
10408
10409 [BZ #18134]
10410 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
10411
10412 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
10413
10414 * stdlib/setenv.c (__add_to_environ): Revert previous change.
10415
10416 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
10417
10418 [BZ #18128]
10419 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
10420 (atomic_add, atomic_increment_and_test)
10421 (atomic_decrement_and_test): Fix 64-bit arithmetic.
10422
10423 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
10424
10425 * stdlib/setenv.c (__add_to_environ):
10426 Dump core quickly if setenv (..., NULL, ...) is called.
10427
10428 2015-03-13 Roland McGrath <roland@hack.frob.com>
10429
10430 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
10431 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
10432 all the necessary asm magic in one place.
10433 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
10434 using those.
10435
10436 2015-03-13 Carlos O'Donell <carlos@redhat.com>
10437
10438 [BZ #14906]
10439 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
10440 traced file mtime. Use consistent log message.
10441 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
10442 (register_traced_file): Call install_watches. Always set mtime.
10443 (invalidate_cache): Iterate over all trace files. Call install_watches.
10444 (inotify_check_files): Don't inline. Handle watching parent
10445 directories and configuration file movement in and out.
10446 (handle_inotify_events): New function.
10447 (main_loop_poll): Call handle_inotify_events.
10448 (main_loop_epoll): Likewise.
10449 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
10450 (struct traced_file): Use array of inotify fds. Add parent directory,
10451 and basename.
10452 (struct database_dyn): Remove unused file_mtime.
10453 (init_traced_file): New inline function.
10454 (define_traced_file): New macro.
10455 * nss/nss_db/db-init.c: Use define_traced_file.
10456 (_nss_db_init): Use init_traced_file.
10457 * nss/nss_files/files-init.c: Use define_traced_file.
10458 (_nss_files_init): Use init_traced_file.
10459
10460 2015-03-12 Joseph Myers <joseph@codesourcery.com>
10461
10462 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
10463 [_LIBC]: Do not include <stdlib.h>.
10464 [!_LIBC] (abort): Remove declaration.
10465 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
10466 _FP_STATIC_ASSERT instead of conditionally calling abort.
10467 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
10468 (_FP_EXTEND_CNAN): Likewise.
10469 (FP_TRUNC): Likewise.
10470 (__FP_CLZ): Likewise.
10471 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
10472
10473 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
10474
10475 * manual/string.texi (XPG basename): Fix prototype.
10476
10477 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10478
10479 [BZ #18080]
10480 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
10481 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
10482 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
10483 (__setcontext): Likewise.
10484 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
10485 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
10486 Call rt_sigprocmask syscall one time to set new signal mask
10487 and retrieve the current signal mask instead of two calls.
10488 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
10489 (__swapcontext): Likewise.
10490 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
10491 * stdlib/tst-setcontext2.c: New file.
10492
10493 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10494
10495 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10496
10497 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
10498
10499 [BZ #18093]
10500 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
10501 the wrong size.
10502
10503 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10504
10505 [BZ #18043]
10506 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
10507
10508 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10509
10510 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
10511 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
10512 Remove define.
10513 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
10514 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
10515 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
10516 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
10517 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
10518 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
10519 define.
10520 * nptl_db/td_symbol_list.c (td_lookup): Remove
10521 HAVE_ASM_GLOBAL_DOT_NAME code.
10522 * sysdeps/powerpc/powerpc64/configure.ac: Remove
10523 HAVE_ASM_GLOBAL_DOT_NAME check.
10524 * sysdeps/powerpc/powerpc64/configure: Regenerate.
10525 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
10526 (DOT_LABEL): Remove define.
10527 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
10528 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
10529 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
10530 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
10531 (__TLS_GET_ADDR): Likewise.
10532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
10533 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
10534
10535 2015-03-11 Carlos O'Donell <carlos@redhat.com>
10536
10537 [BZ #18111]
10538 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
10539 (_FPU_SETCW): Initialize cw from fpsr before storing.
10540 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
10541 (fesetexceptflag): Rewrite using fpu_control.h.
10542 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
10543
10544 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
10545
10546 [BZ #18110]
10547 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
10548 asms.
10549 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
10550
10551 2015-03-11 Joseph Myers <joseph@codesourcery.com>
10552
10553 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
10554 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
10555 abort.
10556 (_FP_FMA): Likewise.
10557 (_FP_DIV): Likewise.
10558
10559 2015-03-10 Roland McGrath <roland@hack.frob.com>
10560
10561 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
10562 with 0 in that case.
10563 * Makefile (summarize-tests): New canned sequence, factored out of
10564 commands for targets tests and xtests. Display summary lines that
10565 don't start with PASS: or XFAIL: rather than ones that do start with
10566 ERROR: or FAIL:. Make the commands fail if any summary lines fail
10567 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
10568 do start with ERROR: or FAIL:.
10569 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
10570 (except for [$(build-shared) = yes]).
10571 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
10572 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
10573 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
10574 * nptl/Makefile: Revert 2015-03-04 changes.
10575 [$(CXX) empty] (tests-unsupported): New variable.
10576 * debug/Makefile: Likewise.
10577
10578 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
10579 gnulib file. Replace __attribute with __attribute__ throughout.
10580
10581 2015-03-10 Carlos O'Donell <carlos@redhat.com>
10582
10583 * sysdeps/hppa/fpu/libm-test-ulps: Update.
10584
10585 2015-03-10 Joseph Myers <joseph@codesourcery.com>
10586
10587 [BZ #18104]
10588 * math/auto-libm-test-in: Add another test of pow.
10589 * math/auto-libm-test-out: Regenerated.
10590
10591 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10592
10593 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
10594 $(config-cflags-nofma).
10595
10596 2015-03-10 Joseph Myers <joseph@codesourcery.com>
10597
10598 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
10599 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
10600 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
10601 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
10602 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
10603 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
10604 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
10605 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
10606 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
10607 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
10608 Add comment on closing #endif.
10609
10610 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
10611
10612 * posix/wordexp.c (CHAR_IN_SET): New macro.
10613 (parse_param): Use it.
10614
10615 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10616
10617 * sysdeps/powerpc/fpu/libm-test-ulps: update.
10618
10619 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
10620
10621 [BZ #18043]
10622 * posix/wordexp.c (parse_param): Fix buffer overflow.
10623 * posix/wordexp-test.c (test_case): Add test case.
10624
10625 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
10626
10627 [BZ #18042]
10628 * posix/wordexp.c (parse_backtick): Fix off-by-one.
10629 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
10630
10631 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
10632
10633 [BZ #18043]
10634 * posix/wordexp-test.c (test_case): Add test for BZ #18043
10635 (do_bz18043): Delete.
10636 (at_page_end): New.
10637 (testit): Refactor to have words at the edge of unreadable page.
10638
10639 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10640
10641 [BZ #16734]
10642 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
10643 Cleanup read-only streams as well.
10644 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
10645
10646 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10647
10648 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
10649 <bits/libc-lockP.h>
10650
10651 2015-03-07 Joseph Myers <joseph@codesourcery.com>
10652
10653 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
10654 on [__KERNEL__].
10655 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
10656 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
10657 * soft-fp/op-common.h (_FP_DECL): Likewise.
10658
10659 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
10660
10661 * elf/ifuncdep2.c (global): Replace
10662 __attribute__((visibility("protected"))) with
10663 asm (".protected global").
10664 * elf/ifuncmod1.c (global): Likewise.
10665 * elf/ifuncmod5.c (global): Likewise.
10666
10667 2015-03-06 Joseph Myers <joseph@codesourcery.com>
10668
10669 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
10670 <asm/sfp-machine.h> instead of <sfp-machine.h>.
10671
10672 2015-03-06 Roland McGrath <roland@hack.frob.com>
10673
10674 * manual/install.texi (Configuring and compiling):
10675 Document test-wrapper-env-only.
10676 * INSTALL: Regenerated.
10677
10678 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10679
10680 [BZ #18043]
10681 * posix/wordexp.c (parse_param): Fix buffer overflow.
10682 * posix/wordexp-test.c (do_bz18043): Add test case.
10683
10684 2015-03-06 Vincent Bernat <vincent@bernat.im>
10685
10686 * time/tst-strptime2.c (do_test): Ensure failing tests are
10687 reported correctly.
10688 * time/tst-strptime3.c (do_test): Likewise.
10689
10690 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
10691
10692 Fix aio_error thread-safety.
10693 * sysdeps/pthread/aio_error.c: New file
10694 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
10695 synchronization.
10696
10697 2015-03-06 Florian Weimer <fweimer@redhat.com>
10698
10699 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
10700 (group_number, vfprintf): Use it.
10701 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
10702 (JUMP, REF): Use it.
10703 (WORK_BUFFER_SIZE): New enum constant.
10704 (process_arg, vfprintf): Use it.
10705
10706 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
10707
10708 * manual/errno.texi (Error Messages): Complete example function
10709 by adding missing #define.
10710 (program_invocation_name): Add statement indicating GNU
10711 extension and reference which header file declares the variable.
10712 (program_invocation_short_name): Likewise.
10713
10714 2015-03-06 Mike Frysinger <vapier@gentoo.org>
10715
10716 * manual/errno.texi (Error Messages): Delete strerror ISO C89
10717 compatibility note.
10718
10719 2015-03-05 Roland McGrath <roland@hack.frob.com>
10720
10721 * Makeconfig (test-wrapper-env-only): New variable.
10722 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
10723 then use that with $(test-wrapper-env-only) rather than using
10724 $(test-wrapper-env) $(run-program-env) $($*-ENV).
10725
10726 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
10727
10728 [BZ #18082]
10729 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
10730 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
10731 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
10732 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
10733 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
10734 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
10735 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
10736 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
10737 Likewise.
10738 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
10739 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
10740 Likewise.
10741 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
10742 Likewise.
10743 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
10744 Likewise.
10745 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
10746 Likewise.
10747 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
10748 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
10749 Likewise.
10750 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
10751 Likewise.
10752 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
10753 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
10754
10755 2015-03-04 Roland McGrath <roland@hack.frob.com>
10756
10757 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
10758 (ETH_ALEN): New macro.
10759 (struct ether_addr): Use it for length of ether_addr_octet.
10760
10761 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
10762 (setdb): Don't call __nss_configure_lookup for "rpc".
10763 (do_test): Don't call test_rpc.
10764 (output_rpcent, test_rpc): Functions moved ...
10765 * sunrpc/test-rpcent.c: ... to this new file.
10766 * sunrpc/Makefile (tests): Add it.
10767
10768 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
10769 __xpg_sigpause.
10770 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
10771 * nptl/tst-signal6.c: Likewise.
10772 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
10773 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
10774
10775 * configure.ac (libc_cv_cxx_link_ok): New check.
10776 Reset CXX to empty if it fails to link.
10777 * configure: Regenerated.
10778 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
10779 bug-atexit3-lib only if $(CXX) is nonempty.
10780 * nptl/Makefile (tests): Likewise for tst-cancel24.
10781 (tests, tests-static): Likewise for tst-cancel24-static.
10782 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
10783 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
10784 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
10785 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
10786
10787 2015-03-04 Andreas Schwab <schwab@suse.de>
10788
10789 [BZ #17631]
10790 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
10791 for non-GCC compilers.
10792 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10793 Likewise.
10794
10795 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10796
10797 [BZ #17776]
10798 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
10799 integer before bitwise and assembly operations.
10800 (feclearexcept): Likewise.
10801 * math/test-fenvinline.c: New file.
10802 * math/Makefile: Add test-fenvinline test.
10803
10804 2015-03-03 Alan Modra <amodra@gmail.com>
10805
10806 [BZ #16512]
10807 * scripts/localplt.awk: Strip off symbol version.
10808 * NEWS: Mention bug fix.
10809
10810 2015-03-02 Roland McGrath <roland@hack.frob.com>
10811
10812 * sysdeps/pthread/timer_routines.c
10813 (timer_free_list, thread_free_list, thread_active_list): Make static.
10814
10815 2015-03-02 Joseph Myers <joseph@codesourcery.com>
10816
10817 [BZ #17779]
10818 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10819 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
10820 Undefine.
10821 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10822 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
10823 Likewise.
10824 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10825 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
10826 Likewise.
10827
10828 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10829
10830 [BZ #18036]
10831 * posix/fnmatch_loop.c (END): Detect invalid pattern.
10832 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
10833
10834 2015-03-02 Andreas Schwab <schwab@suse.de>
10835
10836 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
10837 variable name.
10838
10839 2015-03-02 Florian Weimer <fweimer@redhat.com>
10840
10841 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
10842 Return error status.
10843
10844 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
10845
10846 [BZ #15969]
10847 * locale/findlocale.c (_nl_find_locale): Introduce const
10848 version of loc_name and drop unsafe type casts.
10849
10850 2015-02-27 Roland McGrath <roland@hack.frob.com>
10851
10852 * dlfcn/tststatic2.c (main): Converted to ...
10853 (do_test): ... this.
10854 (TEST_FUNCTION): New macro.
10855 Include test-skeleton.c.
10856
10857 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
10858
10859 [BZ #17711]
10860 * elf/Makefile (tests): Add vismain only if PIE is enabled.
10861 (tests-pie): Add vismain.
10862 (CFLAGS-vismain.c): New.
10863 * elf/vismain.c: Add comments for PIE requirement.
10864
10865 2015-02-27 Joseph Myers <joseph@codesourcery.com>
10866
10867 [BZ #18046]
10868 [BZ #18047]
10869 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
10870 0x1p-56L as threshold for just returning the argument.
10871 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
10872 0x1p-32L as threshold for just returning the argument.
10873 * math/auto-libm-test-in: Add more tests of atanh.
10874 * math/auto-libm-test-out: Regenerated.
10875 * sysdeps/i386/fpu/libm-test-ulps: Update.
10876 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
10877
10878 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
10879
10880 * string/bcopy.c (bcopy): Call memmove for performance.
10881
10882 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
10883
10884 * string/bzero.c (__bzero): Call memset for performance.
10885
10886 2015-02-27 John David Anglin <dave.anglin@bell.net>
10887
10888 [BZ #18068]
10889 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
10890 to 00100000.
10891
10892 2015-02-27 Joseph Myers <joseph@codesourcery.com>
10893
10894 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
10895
10896 2015-02-26 Joseph Myers <joseph@codesourcery.com>
10897
10898 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
10899 (__kernel_standard): Use CSTR macro when setting exc.name.
10900 * sysdeps/ieee754/Makefile [$(subdir) = math]
10901 (CFLAGS-k_standard.c): Remove variable.
10902
10903 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
10904 setting p and q from "else if" to "else".
10905 (qzero): Likewise.
10906 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
10907 (qone): Likewise.
10908 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
10909 (qzerof): Likewise.
10910 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
10911 (qonef): Likewise.
10912 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
10913 (qzero): Likewise.
10914 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
10915 (qone): Likewise.
10916
10917 [BZ #18038]
10918 [BZ #18039]
10919 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
10920 return pi/2 for arguments below 0x1p-113L.
10921 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
10922 return pi/2 for arguments below 0x1p-106L.
10923 * math/auto-libm-test-in: Add more tests of acos.
10924 * math/auto-libm-test-out: Regenerated.
10925
10926 [BZ #16351]
10927 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
10928 (MO): New macro.
10929 (__ieee754_asin): Force underflow exception for results with small
10930 absolute value.
10931 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
10932 (MO): New macro.
10933 (__ieee754_asinf): Force underflow exception for results with
10934 small absolute value.
10935 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
10936 (__ieee754_asin): Force underflow exception for results with small
10937 absolute value.
10938 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
10939 (__ieee754_asinf): Force underflow exception for results with
10940 small absolute value.
10941 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
10942 (__ieee754_asinl): Force underflow exception for results with
10943 small absolute value.
10944 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
10945 (__ieee754_asinl): Force underflow exception for results with
10946 small absolute value.
10947 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
10948 (__ieee754_asinl): Force underflow exception for results with
10949 small absolute value.
10950 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10951 Include <math.h>.
10952 * math/auto-libm-test-in: Do not mark underflow exceptions as
10953 possibly missing for bug 16351.
10954 * math/auto-libm-test-out: Regenerated.
10955
10956 [BZ #18030]
10957 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
10958 of power of 2 down when low part has opposite sign.
10959 * math/libm-test.inc (logb_test_data): Add more tests.
10960
10961 2015-02-26 Andreas Schwab <schwab@suse.de>
10962
10963 [BZ #18032]
10964 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
10965 over collating symbol inside a bracket expression. Minor cleanup.
10966 * posix/tst-fnmatch3.c (do_test): Add test case.
10967
10968 2015-02-26 Joseph Myers <joseph@codesourcery.com>
10969
10970 [BZ #18029]
10971 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
10972 Adjust exponent of power of 2 down when low part has opposite
10973 sign.
10974 * math/libm-test.inc (ilogb_test_data): Add more tests.
10975
10976 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
10977
10978 [BZ #15969]
10979 * locale/findlocale.c (_nl_find_locale): Fix constness error in
10980 the previous change.
10981
10982 [BZ #15969]
10983 * locale/findlocale.c (_nl_find_locale): Retry archive search
10984 after alias expansion.
10985
10986 2015-02-25 Roland McGrath <roland@hack.frob.com>
10987
10988 * iconv/tst-iconv3.c (main): Converted to ...
10989 (do_test): ... this.
10990 (TEST_FUNCTION): New macro.
10991 Include test-skeleton.c.
10992
10993 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
10994 (convert): Make function static.
10995 (test_unalign): Likewise. Add const to argument pointee types.
10996 (main): Replace with static function do_test.
10997 Print "Succeeded." only if RET is zero.
10998 (TEST_FUNCTION): New macro.
10999 Include test-skeleton.c.
11000
11001 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
11002 returns a null pointer.
11003
11004 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11005
11006 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
11007 to __memcpy_ppc only for static builds.
11008
11009 2015-02-25 Joseph Myers <joseph@codesourcery.com>
11010
11011 [BZ #18020]
11012 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
11013 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
11014 * math/auto-libm-test-in: Add more tests of asinh.
11015 * math/auto-libm-test-out: Regenerated.
11016 * sysdeps/i386/fpu/libm-test-ulps: Update.
11017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11018
11019 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
11020
11021 [BZ #15850]
11022 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
11023 and ip6_mtuinfo definitions here.
11024 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
11025 in this define too. Update comment.
11026
11027 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
11028
11029 * elf/sprof.c (load_shobj): Tweak error message to match others.
11030
11031 2015-02-24 Kevin Easton <kevin@guarana.org>
11032
11033 [BZ #16145] (partial fix)
11034 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
11035 to reduce lock contention.
11036
11037 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
11038
11039 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
11040 (struct timex): Update time comment.
11041 (ADJ_SETOFFSET): Define.
11042
11043 2015-02-24 Joseph Myers <joseph@codesourcery.com>
11044
11045 [BZ #18019]
11046 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11047 2**56 not 2**28 as threshold for log (2x) formula.
11048 * math/auto-libm-test-in: Add more tests of acosh.
11049 * math/auto-libm-test-out: Regenerated.
11050 * sysdeps/i386/fpu/libm-test-ulps: Update.
11051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11052
11053 2015-02-24 Mike Frysinger <vapier@gentoo.org>
11054
11055 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
11056 parenthesis around the buf assignment.
11057 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
11058
11059 2015-02-24 Joseph Myers <joseph@codesourcery.com>
11060
11061 [BZ #16783]
11062 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
11063 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
11064 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
11065 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11066 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11067 * math/libm-test.inc (scalb_test_data): Add more tests.
11068
11069 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11070
11071 [BZ #17916]
11072 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
11073 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
11074
11075 2015-02-24 Eric Rannaud <e@nanocritical.com>
11076
11077 [BZ #17523]
11078 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
11079 * io/bits/fcntl2.h (open): Use it.
11080 (openat): Likewise.
11081 * io/open.c (__libc_open): Likewise.
11082 * io/open64.c (__libc_open64): Likewise.
11083 * io/open64_2.c (__open64_2): Likewise.
11084 * io/open_2.c (__open_2): Likewise.
11085 * io/openat.c (__openat): Likewise.
11086 * io/openat64.c (__openat64): Likewise.
11087 * io/openat64_2.c (__openat64_2): Likewise.
11088 * io/openat_2.c (__openat_2): Likewise.
11089 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
11090 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11091 * sysdeps/posix/open64.c (__libc_open64): Likewise.
11092 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11093 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
11094 (__open_nocancel): Likewise.
11095 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
11096 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
11097 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
11098
11099 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11100
11101 [BZ #14841]
11102 * resolv/gethnamaddr.c (getanswer): Skip logging if
11103 RES_USE_DNSSEC is set.
11104 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11105
11106 2015-02-24 Mike Frysinger <vapier@gentoo.org>
11107
11108 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
11109
11110 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
11111
11112 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
11113 201304L, for Unicode 7.
11114
11115 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
11116
11117 [BZ #17836]
11118 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
11119 shared library. Add gmon-start.os otherwise.
11120 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
11121 $(objpfx)gmon-start.os if builing shared library.
11122 ($(objpfx)g$(static-start-installed-name)): Likewise.
11123
11124 2015-02-23 Andreas Schwab <schwab@suse.de>
11125
11126 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
11127
11128 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11129
11130 [BZ #17269]
11131 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
11132 (enlarge_userbuf): Likewise.
11133
11134 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
11135
11136 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
11137 * math/atest-exp.c (TIMEOUT): Adjust to 200.
11138 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
11139 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
11140
11141 2015-02-20 Joseph Myers <joseph@codesourcery.com>
11142
11143 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
11144 expression inside statement expression.
11145
11146 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11147
11148 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
11149 <sysdeps/nptl/lowlevellock.h> and remove macros and
11150 functions that are now defined there.
11151 (SYS_futex): Remove.
11152 (lll_compare_and_swap): Remove.
11153 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
11154
11155 2015-02-19 Joseph Myers <joseph@codesourcery.com>
11156
11157 [BZ #17999]
11158 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
11159 instead of scandirat.
11160 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
11161 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
11162 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
11163 __scandirat.
11164 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
11165 (__scandirat): Declare. Use libc_hidden_proto.
11166 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
11167 Remove variable.
11168 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11169
11170 2015-02-18 Joseph Myers <joseph@codesourcery.com>
11171
11172 [BZ #15319]
11173 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
11174 (MO): New macro.
11175 (__ieee754_atan2): For results with small absolute value, force
11176 underflow exception and remove excess range and precision from
11177 return value.
11178 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
11179 (MO): New macro.
11180 (__ieee754_atan2f): For results with small absolute value, force
11181 underflow exception and remove excess range and precision from
11182 return value.
11183 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
11184 (MO): New macro.
11185 (__atan): For results with small absolute value, force underflow
11186 exception and remove excess range and precision from return value.
11187 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
11188 (MO): New macro.
11189 (__atanf): For results with small absolute value, force underflow
11190 exception and remove excess range and precision from return value.
11191 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
11192 <math.h>.
11193 (__ieee754_atan2): Force underflow exception for results with
11194 small absolute value.
11195 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
11196 <math_private.h>.
11197 (atan): Force underflow exception for results with small absolute
11198 value.
11199 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
11200 (__atanf): Force underflow exception for results with small
11201 absolute value.
11202 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
11203 <math.h>.
11204 (__atanl): Force underflow exception for results with small
11205 absolute value.
11206 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
11207 (__atanl): Force underflow exception for results with small
11208 absolute value.
11209 * sysdeps/x86/fpu/bits/mathinline.h
11210 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
11211 (__ieee754_atan2): Only define inline for long double.
11212 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11213 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
11214 * math/auto-libm-test-in: Do not mark underflow exceptions as
11215 possibly missing for bug 15319. Add more tests of atan2.
11216 * math/auto-libm-test-out: Regenerated.
11217 * math/libm-test.inc (casin_test_data): Do not mark underflow
11218 exceptions as possibly missing for bug 15319.
11219 (casinh_test_data): Likewise.
11220 * sysdeps/i386/fpu/libm-test-ulps: Update.
11221
11222 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
11223
11224 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
11225 * sysdeps/mips/bits/endian.h: Fix comments.
11226
11227 2015-02-18 Joseph Myers <joseph@codesourcery.com>
11228
11229 [BZ #17996]
11230 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
11231 (hdestroy_r): Likewise.
11232 (hsearch_r): Likewise.
11233 (__hcreate_r): Declare and use libc_hidden_proto.
11234 (__hdestroy_r): Likewise.
11235 (__hsearch_r): Likewise.
11236 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
11237 (hcreate): Call __hcreate_r instead of hcreate_r.
11238 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
11239 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
11240 as weak alias of __hcreate_r.
11241 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
11242 __hdestroy_r.
11243 (hsearch_r): Rename to __hsearch_r and define as weak alias of
11244 __hsearch_r.
11245 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
11246 Remove variable.
11247 (test-xfail-XPG4/search.h/linknamespace): Likewise.
11248 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11249 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11250 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11251
11252 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11253
11254 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
11255 arena_lock into a single arena_get.
11256
11257 2015-02-17 Carlos O'Donell <carlos@redhat.com>
11258
11259 * dl-reloc.c: Inlucde libc-internal.h.
11260 (_dl_try_allocate_static_tls): Call ALIGN_UP.
11261 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
11262 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
11263 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
11264 (grow_heap): Likewise.
11265 * malloc/malloc.c: Include libc-internal.h.
11266 (do_check_malloc): Call powerof2.
11267 (sysmalloc): Use pagesize. Call ALIGN_UP.
11268 (systrim): Use pagesize.
11269 (mremap_chunk): Use pagesize. Call ALIGN_UP.
11270 (__libc_valloc): Use pagesize.
11271 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
11272
11273 2015-02-17 Joseph Myers <joseph@codesourcery.com>
11274
11275 [BZ #17991]
11276 * include/sys/resource.h (__getrlimit64): Declare. Use
11277 libc_hidden_proto.
11278 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
11279 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
11280 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
11281 getrlimit64.
11282 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
11283 __getrlimit64.
11284 [!getrlimit64] (getrlimit64): Define as weak alias of
11285 __getrlimit64. Use libc_hidden_weak.
11286 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
11287 using __getrlimit64 not __new_getrlimit64.
11288 (__GI_getrlimit64): Likewise.
11289 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
11290 Likewise.
11291 (__GI_getrlimit64): Likewise.
11292 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
11293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
11294 (getrlimit): Add __getrlimit64 alias.
11295 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
11296 Likewise.
11297 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
11298 Remove variable.
11299 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11300 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11301
11302 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
11303
11304 * libio/fileops.c: Add missing sys/mman.h
11305 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
11306
11307 2015-02-17 Joseph Myers <joseph@codesourcery.com>
11308
11309 * manual/math.texi (Errors in Math Functions): Clarify goals
11310 regarding inexact and underflow exceptions.
11311
11312 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
11313
11314 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
11315 * sysdeps/mips/memset.S: Ditto.
11316
11317 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
11318
11319 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
11320
11321 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11322
11323 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
11324 (__v1longjmp): Remove versioned symbol.
11325 (__v1siglongjmp): Remove alias and versioned symbol.
11326 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
11327 (__v2siglongjmp): Likewise.
11328
11329 2015-02-16 Torvald Riegel <triegel@redhat.com>
11330
11331 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
11332
11333 2015-02-16 Mike Frysinger <vapier@gentoo.org>
11334
11335 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
11336
11337 2015-02-16 Joseph Myers <joseph@codesourcery.com>
11338
11339 [BZ #17987]
11340 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
11341 zero result does not depend on the sign resulting from
11342 subtraction.
11343 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
11344 Likewise.
11345 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
11346 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
11347 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11348 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
11349 * math/libm-test.inc (remquo_test_data): Add more tests.
11350
11351 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
11352
11353 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
11354 Problem reported by J William Piggott.
11355
11356 2015-02-16 Joseph Myers <joseph@codesourcery.com>
11357
11358 [BZ #17978]
11359 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
11360 products 4 * y and 2 * y where those would overflow.
11361 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
11362 Likewise.
11363 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
11364 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
11365 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11366 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
11367 * math/libm-test.inc (remquo_test_data): Add more tests.
11368
11369 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
11370
11371 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
11372 [defined _COMPILING_NEWLIB].
11373 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
11374 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
11375
11376 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
11377 [!defined __mips_isa_rev || __mips_isa_rev < 6].
11378
11379 2015-02-16 Torvald Riegel <triegel@redhat.com>
11380
11381 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
11382 acquired.
11383
11384 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
11385
11386 [BZ #17792]
11387 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
11388 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
11389 HOST_STACK_END_ADDR): Likewise.
11390
11391 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
11392
11393 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
11394 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
11395 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
11396
11397 2015-02-13 Roland McGrath <roland@hack.frob.com>
11398
11399 * sysdeps/generic/c++-types.data: New file.
11400 * sysdeps/generic/ld.abilist: New file.
11401 * sysdeps/generic/libBrokenLocale.abilist: New file.
11402 * sysdeps/generic/libanl.abilist: New file.
11403 * sysdeps/generic/libc.abilist: New file.
11404 * sysdeps/generic/libcrypt.abilist: New file.
11405 * sysdeps/generic/libdl.abilist: New file.
11406 * sysdeps/generic/libm.abilist: New file.
11407 * sysdeps/generic/libpthread.abilist: New file.
11408 * sysdeps/generic/libresolv.abilist: New file.
11409 * sysdeps/generic/librt.abilist: New file.
11410
11411 2015-02-13 Joseph Myers <joseph@codesourcery.com>
11412
11413 [BZ #17569]
11414 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
11415 Compute absolute value of x as modified by fmod, not original
11416 value of x.
11417 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
11418 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
11419 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
11420 RUN_TEST_ffI_f1_mod8.
11421 (remquo_test_data): Add more tests.
11422
11423 2015-02-13 Roland McGrath <roland@hack.frob.com>
11424
11425 * sysdeps/init_array/pt-crti.S: New file.
11426
11427 2015-02-13 Joseph Myers <joseph@codesourcery.com>
11428
11429 [BZ #17967]
11430 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
11431 __builtin_fmaf instead of relying on contraction of a * b + c.
11432
11433 2015-02-12 J William Piggott <elseifthen@gmx.com>
11434
11435 [BZ #17969]
11436 * manual/time.texi: correct the zoneinfo path in the TZ Variable
11437 node.
11438
11439 2015-02-12 Joseph Myers <joseph@codesourcery.com>
11440
11441 [BZ #17964]
11442 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
11443 __builtin_fma instead of relying on contraction of a * b + c.
11444
11445 2015-02-12 Roland McGrath <roland@hack.frob.com>
11446
11447 * Makeconfig (ASFLAGS): Add -Werror=undef.
11448 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
11449 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
11450 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
11451
11452 * Makeconfig (after-link): New variable.
11453 (+link-pie, +link-pie-tests): Use it.
11454 (+link-static, +link-static-tests): Likewise.
11455 (+link, +link-tests): Likewise.
11456 * Makerules (build-module, build-module-asneeded): Likewise.
11457 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
11458 Likewise.
11459 * elf/Makefile ($(objpfx)ld.so): Likewise.
11460
11461 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
11462
11463 [BZ #17965]
11464 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
11465 both struct timeval and struct timespec.
11466
11467 2015-02-12 Joseph Myers <joseph@codesourcery.com>
11468
11469 [BZ #16560]
11470 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11471 and redefine.
11472 (__ieee754_exp2l): Do not multiply small fractional parts by
11473 M_LN2l.
11474 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
11475 small argument.
11476 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11477 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11478 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
11479 * math/auto-libm-test-in: Add more tests of exp2.
11480 * math/auto-libm-test-out: Regenerated.
11481
11482 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11483
11484 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
11485 unaligned path.
11486
11487 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11488
11489 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
11490 little endian.
11491
11492 2015-02-12 Andreas Schwab <schwab@suse.de>
11493
11494 [BZ #15790]
11495 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
11496 Filter out elision flags from value returned in kind.
11497 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
11498 * nptl/tst-pthread-mutexattr.c: New file.
11499
11500 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
11501
11502 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
11503 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
11504 into gnu-gnu, and update comment to refer to abi-tags.
11505
11506 2015-02-11 Joseph Myers <joseph@codesourcery.com>
11507
11508 [BZ #15467]
11509 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
11510 (__sincos): Set errno to EDOM for infinite argument.
11511 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
11512 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
11513 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
11514 (__sincosl): Set errno to EDOM for infinite argument.
11515 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
11516 (__sincosl): Set errno to EDOM for infinite argument.
11517 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
11518 (__sincosl): Set errno to EDOM for infinite argument.
11519 * math/libm-test.inc (sincos_test_data): Test errno setting.
11520
11521 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
11522
11523 * string/strxfrm_l.c: Remove #define STRCMP.
11524 * string/strcoll_l.c: Remove #define STRLEN.
11525 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
11526 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
11527
11528 2015-02-10 Joseph Myers <joseph@codesourcery.com>
11529
11530 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
11531 * sysdeps/mips/mips32/sfp-machine.h: ... here.
11532 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
11533 * sysdeps/mips/mips64/Makefile: ... here.
11534 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
11535 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
11536 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
11537 * sysdeps/mips/mips64/sfp-machine.h: ... here.
11538 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
11539 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
11540 * sysdeps/mips/mips64/n64/Implies: Likewise.
11541
11542 2015-02-10 Roland McGrath <roland@hack.frob.com>
11543
11544 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
11545 <sys/time.h>, <string.h>, and <errno.h>.
11546 (dest_offset, dest_address, value, zero): Remove unused variables.
11547 (ldouble): Remove typedef.
11548 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
11549 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
11550 1). Fix code style.
11551 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
11552 (check): Function removed.
11553 (CHECK): New macro.
11554 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
11555 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
11556 Don't call set_sigaction_FP and remove_sigaction_FP here.
11557 (ldouble_test): Just use 'long double' as macro argument, no need for
11558 the 'ldouble' typedef.
11559 (do_test): Set up SIGFPE handler at start, using plain signal rather
11560 than sigaction. Fix code style.
11561
11562 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
11563
11564 [BZ #17949]
11565 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
11566 jump label.
11567
11568 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
11569
11570 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
11571 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11572
11573 * sysdeps/powerpc/configure.ac: Remove file.
11574 * sysdeps/powerpc/configure: Likewise.
11575
11576 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
11577 [sysdep_routines]: Remove wordcopy-power6 object.
11578 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11579 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
11580 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
11581 (__memmove_ppc32): Likewise.
11582 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
11583 file.
11584 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
11585 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
11586 Remove preprocessor.
11587
11588 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
11589 [sysdep_routines]: Remove wide chars objects.
11590 [wcsmbs]: New rule for wide char objects.
11591
11592 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11593 Remove wordcopy-power6 obejct.
11594 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
11595 Use local call for wordcopy and memcpy symbols.
11596 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
11597 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
11598 implementation for loader.
11599 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
11600
11601 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11602 Remove wordcopy-power7 object.
11603 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
11604 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
11605 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
11606 (_wordcopy_fwd_dest_aligned): Likewise.
11607 (_wordcopy_bwd_aligned): Likewise.
11608 (_wordcopy_bwd_dest_aligned): Likewise.
11609
11610 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
11611 Rewrite to call __memmove_ppc instead of include default
11612 implementation.
11613
11614 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11615 Remove wide chars objects.
11616 [wcsmbs]: New rule for wide char objects.
11617
11618 2015-02-09 Andreas Schwab <schwab@suse.de>
11619
11620 [BZ #17912]
11621 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11622 in terms of __O_DIRECTORY.
11623
11624 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11625
11626 * time/getdate.c: Include <stdbool.h>.
11627 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
11628 call PTR_MANGLE.
11629 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
11630 PTR_DEMANGLE.
11631
11632 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
11633
11634 Add ersatz _Static_assert on older C hosts
11635 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
11636 pre-C11 C platform that is not known to support _Static_assert.
11637
11638 2015-02-07 Richard Braun <rbraun@sceen.net>
11639
11640 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
11641 sigstate.
11642 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
11643
11644 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
11645
11646 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
11647 priority against unexistent AIO_PRIO_DELTA_MAX.
11648 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
11649 instead of int.
11650 * misc/fchflags.c (fchflags): Likewise.
11651 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
11652 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
11653 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
11654 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
11655 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
11656 Declare macros.
11657 [__USE_MISC] (chflags, fchflags): Declare functions.
11658 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
11659 EINVAL when nfds is greater than FD_SETSIZE.
11660 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
11661 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
11662 45.
11663 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
11664 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
11665 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
11666 MACH_RCV_TIMED_OUT.
11667 * hurd/hurd/signal.h (_hurd_self_sigstate,
11668 _hurd_critical_section_lock, _hurd_critical_section_unlock):
11669 Explicit casts from void *.
11670 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
11671 * abi-tags: Rename gnu-gnu os into gnu.
11672
11673 [BZ #4719]
11674 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
11675 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
11676 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
11677 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
11678 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
11679 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
11680
11681 [BZ #17944]
11682 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
11683 duplicates ADDR->sun_path with sockaddr LEN limitation.
11684 * sysdeps/mach/hurd/connect.c: Include <string.h>
11685 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
11686 * sysdeps/mach/hurd/sendmsg.c: Likewise.
11687 * sysdeps/mach/hurd/sendto.c: Likewise.
11688 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
11689 implementing it by hand.
11690
11691 2015-02-06 Roland McGrath <roland@hack.frob.com>
11692
11693 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
11694 Use sfi_breg on ldr.
11695 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
11696 Likewise.
11697
11698 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
11699 it's defined.
11700 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
11701 Test SIGSETXID only if it's defined.
11702
11703 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
11704
11705 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
11706 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
11707
11708 * nptl/tst-align2.c: Moved ...
11709 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
11710 * nptl/Makefile (tests): Remove tst-align2.
11711 * sysdeps/unix/sysv/linux/Makefile
11712 [$(subdir) = nptl] (tests): Add tst-align-clone.
11713 * nptl/tst-getpid1.c: Moved ...
11714 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
11715 * nptl/tst-getpid2.c: Moved ...
11716 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
11717 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
11718 * sysdeps/unix/sysv/linux/Makefile
11719 [$(subdir) = nptl] (tests): ... here.
11720 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
11721 * sysdeps/unix/sysv/linux/Makefile
11722 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
11723
11724 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
11725 Drop trailing \n from perror argument. Use return rather than exit.
11726
11727 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
11728 on [SA_SIGINFO].
11729 * nptl/tst-cancel21.c (do_test): Likewise.
11730 * debug/tst-backtrace6.c: Include <signal.h> first thing.
11731 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
11732 [!SA_SIGINFO]: Make it a stub test.
11733
11734 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
11735 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
11736
11737 * posix/tst-getlogin.c: Move to ...
11738 * login/tst-getlogin.c: ... here.
11739 * posix/Makefile (tests): Move tst-getlogin to ...
11740 * login/Makefile (tests): ... here.
11741
11742 * libio/tst-atime.c (do_test): Move local variables SV and E
11743 inside [ST_NOATIME] conditional.
11744
11745 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
11746
11747 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
11748
11749 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
11750 (wait_code): New function replaces macro.
11751 Call nanosleep rather than syscall.
11752
11753 * nptl/pt-system.c: Rewritten. Put everything under
11754 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
11755 Use IFUNC to redirect when possible.
11756
11757 * nptl/pt-longjmp.c: Rewritten. Put everything under
11758 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
11759 Use IFUNC to redirect when possible.
11760
11761 * nptl/pt-fork.c: Rewritten. Put everything under
11762 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
11763 Use IFUNC to redirect when possible.
11764 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
11765
11766 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
11767 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
11768 unconditionally nowadays. This included the only reference to
11769 __vdso_clock_gettime that appears outside libc proper.
11770 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
11771 Remove version set (containing only __vdso_clock_gettime).
11772 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
11773 Add attribute_hidden.
11774 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
11775 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
11776 libc_hidden_data_def.
11777 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11778 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11779
11780 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
11781 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
11782 setrpcent, and getrpcport to ...
11783 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
11784 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
11785 getrpcbynumber_r, and getrpcent_r to ...
11786 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
11787 * inet/getrpcbyname.c: Moved ...
11788 * sunrpc/getrpcbyname.c: ... here.
11789 * inet/getrpcbyname_r.c: Moved ...
11790 * sunrpc/getrpcbyname_r.c: ... here.
11791 * inet/getrpcbynumber.c: Moved ...
11792 * sunrpc/getrpcbynumber.c: ... here.
11793 * inet/getrpcbynumber_r.c: Moved ...
11794 * sunrpc/getrpcbynumber_r.c: ... here.
11795 * inet/getrpcent.c: Moved ...
11796 * sunrpc/getrpcent.c: ... here.
11797 * inet/getrpcent_r.c: Moved ...
11798 * sunrpc/getrpcent_r.c: ... here.
11799 * inet/Makefile (routines): Move those to ...
11800 * sunrpc/Makefile (routines): ... here.
11801 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
11802 the $(subdirs) list.
11803 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
11804 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
11805 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
11806 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
11807
11808 * elf/Makefile (routines): Include $(all-dl-routines), not just
11809 $(dl-routines).
11810 (rtld-routines): Likewise. Use = rather than :=.
11811 * sysdeps/aarch64/Makefile [$(subdir) = elf]
11812 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
11813 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
11814 * sysdeps/arm/Makefile: Likewise.
11815 * sysdeps/i386/Makefile: Likewise.
11816 * sysdeps/x86_64/Makefile: Likewise.
11817 * sysdeps/hppa/Makefile [$(subdir) = elf]
11818 (sysdep_routines, sysdep-rtld-routines): Don't add
11819 $(sysdep-dl-routines) to these.
11820 * sysdeps/ia64/Makefile: Likewise.
11821 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
11822 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
11823 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
11824 Don't add dl-static to these; sysdep-dl-routines alone is enough.
11825 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
11826 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
11827 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
11828 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
11829 * sysdeps/powerpc/Makefile [$(subdir) = elf]
11830 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
11831 these; sysdep-dl-routines alone is enough.
11832
11833 2015-02-06 Joseph Myers <joseph@codesourcery.com>
11834
11835 [BZ #17932]
11836 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
11837 where multiplication results in zero and third argument is finite
11838 and nonzero.
11839 * math/auto-libm-test-in: Add more tests of fma.
11840 * math/auto-libm-test-out: Regenerated.
11841
11842 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
11843 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
11844 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
11845 (_FP_CMP_EQ): Likewise.
11846 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
11847
11848 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
11849 extra argument CHECK_NAN. Redefine as wrapper around
11850 _FP_EXTEND_CNAN.
11851
11852 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
11853
11854 * version.h (RELEASE): Set to "stable".
11855 (VERSION): Set to "2.21"
11856 * include/features.h (__GLIBC_MINOR__): Set to 21.
11857
11858 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
11859
11860 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11861 Paul Eggert <eggert@cs.ucla.edu>
11862
11863 [BZ #16618]
11864 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
11865 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
11866 size in bytes. Store needed elements in wpmax. Use needed size
11867 in bytes for extend_alloca.
11868
11869 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
11870
11871 * manual/install.texi: Latest tested versions are GCC 4.9.2,
11872 binutls 2.25, and texinfo 5.2.
11873 * INSTALL: Regenerate.
11874 * sysdeps/nios2/configure: Regenerate.
11875 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
11876 * manual/contrib.texi: Update.
11877 * po/be.po: Update.
11878 * po/bg.po: Update.
11879 * po/ca.po: Update.
11880 * po/cs.po: Update.
11881 * po/da.po: Update.
11882 * po/de.po: Update.
11883 * po/el.po: Update.
11884 * po/eo.po: Update.
11885 * po/es.po: Update.
11886 * po/fi.po: Update.
11887 * po/fr.po: Update.
11888 * po/gl.po: Update.
11889 * po/hr.po: Update.
11890 * po/hu.po: Update.
11891 * po/ia.po: Update.
11892 * po/id.po: Update.
11893 * po/it.po: Update.
11894 * po/ja.po: Update.
11895 * po/ko.po: Update.
11896 * po/lt.po: Update.
11897 * po/nb.po: Update.
11898 * po/nl.po: Update.
11899 * po/pl.po: Update.
11900 * po/pt_BR.po: Update.
11901 * po/ru.po: Update.
11902 * po/rw.po: Update.
11903 * po/sk.po: Update.
11904 * po/sl.po: Update.
11905 * po/sv.po: Update.
11906 * po/tr.po: Update.
11907 * po/uk.po: Update.
11908 * po/vi.po: Update.
11909 * po/zh_CN.po: Update.
11910 * po/zh_TW.po: Update.
11911
11912 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
11913 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
11914 * sysdeps/hppa/dl-irel.h: Remove #warning.
11915 * sysdeps/hppa/entry.h: Provide prototype for
11916 __canonicalize_funcptr_for_compare and cast argument.
11917 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
11918 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
11919 * sysdeps/hppa/sotruss-lib.c: New file.
11920 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
11921 (atomic_compare_and_exchange_val_acq): Use __typeof__.
11922 (atomic_compare_and_exchange_bool_acq): Likewise.
11923 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
11924 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
11925
11926 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
11927 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
11928 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
11929
11930 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
11931
11932 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
11933 called function in non-PIC case.
11934
11935 2015-01-31 David S. Miller <davem@davemloft.net>
11936
11937 * sysdeps/sparc/sparc32/bits/atomic.h
11938 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
11939 unlock not after it.
11940 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
11941 volatile register usage warnings from the compiler.
11942
11943 * sysdeps/sparc/nptl/sem_init.c: Delete.
11944 * sysdeps/sparc/nptl/sem_post.c: Delete.
11945 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
11946 * sysdeps/sparc/nptl/sem_wait.c: Delete.
11947 * sysdeps/sparc/sparc32/sem_init.c: New file.
11948 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
11949 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
11950 padding explicitly initialized.
11951 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
11952 padding for in-semaphore spinlock.
11953 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
11954 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
11955 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
11956 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
11957 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
11958 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
11959 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
11960 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
11961 version.
11962 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
11963 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
11964
11965 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
11966
11967 [BZ #17801]
11968 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11969 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
11970 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
11971 New.
11972 (index_AVX_Fast_Unaligned_Load): Likewise.
11973 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
11974 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
11975 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
11976 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
11977 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
11978 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
11979 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
11980 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
11981 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
11982
11983 2015-01-29 Andreas Schwab <schwab@suse.de>
11984
11985 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
11986
11987 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11988
11989 [BZ #17892]
11990 * nscd/nscd_stat.c (send_stats): Initialize DATA.
11991
11992 2015-01-28 Martin Sebor <msebor@redhat.com>
11993
11994 * math/README.libm-test: Clarify. Add "How to read the test output."
11995
11996 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
11997
11998 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
11999 Define to 0.
12000
12001 2015-01-28 Joseph Myers <joseph@codesourcery.com>
12002
12003 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
12004 (__HAVE_64B_ATOMICS): Define to 0.
12005
12006 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
12007
12008 [BZ #17885]
12009 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
12010 value to set as new flag.
12011
12012 [BZ #16576]
12013 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
12014 and use _ARCH_PPCSQ instead.
12015 (__ieee754_sqrt): Likewise.
12016 (__ieee754_sqrtf): Likewise.
12017 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
12018 _ARCH_PPCSQ is defined.
12019 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
12020 fsqrt instruction.
12021 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
12022 _ARCH_PPCSQ is defined.
12023 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
12024 fsqrts instruction.
12025 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
12026
12027 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12028
12029 * iconv/loop.c: Suppress array out of bound warning caused by GCC
12030 bug (GCC BZ #64739).
12031
12032 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
12033
12034 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
12035 Mark _retval as used.
12036 (lll_futex_wake_unlock): Likewise.
12037 (lll_futex_timed_wait_requeue_pi): Likewise.
12038
12039 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12040 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
12041 register variables.
12042
12043 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
12044 libm_hidden_def.
12045
12046 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
12047 (__bswap_64): Mark as __always_inline.
12048
12049 2015-01-25 Bram <bug_rh@spam.wizbit.be>
12050
12051 [BZ #15378]
12052 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
12053 when none of the search directories exist.
12054
12055 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
12056
12057 [BZ #17869]
12058 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
12059 power8 in .machine directive.
12060
12061 [BZ #17868]
12062 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
12063 set dependency from opd value.
12064
12065 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
12066
12067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12068 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
12069 architecture.
12070
12071 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
12072
12073 [BZ #17870]
12074 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
12075 with uint64_t.
12076 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
12077 (uint64_t) 1.
12078 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
12079 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
12080 Replace 1UL with (uint64_t) 1.
12081 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
12082 int with uint64_t.
12083
12084 2015-01-23 Roland McGrath <roland@hack.frob.com>
12085
12086 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
12087 (if_freenameindex): Likewise.
12088
12089 * resource/getrlimit64.c: Add missing libc_hidden_def.
12090
12091 2015-01-22 Joseph Myers <joseph@codesourcery.com>
12092
12093 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
12094 __label__.
12095 (_FP_FMA): Likewise.
12096 (_FP_TO_INT_ROUND): Likewise.
12097 (_FP_FROM_INT): Likewise.
12098
12099 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12100
12101 [BZ #16418]
12102 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
12103 Make code racy and cancel safe.
12104
12105 2015-01-21 Carlos O'Donell <carlos@redhat.com>
12106
12107 * sysdeps/arm/unwind-resume.h: Fix copyright year.
12108 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
12109 attribution.
12110
12111 * pwd/tst-getpw.c: Rewrite.
12112
12113 [BZ #17702]
12114 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
12115 (modules-names): Add moddummy1 and moddummy2.
12116 ($(objpfx)tst-rec-dlopen): Define.
12117 * dlfcn/moddummy1.c: New file.
12118 * dlfcn/moddummy2.c: New file.
12119 * dlfcn/tst-rec-dlopen.c: New file.
12120 * elf/dl-cache.c (_dl_load_cache_lookup):
12121 Return char*. Copy result with alloca/strcpy/strdup.
12122 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
12123 returns char*. Free cached. If not saving realname
12124 free cached.
12125 * elf/dl-open.c (dl_open_worker): Do not assert that
12126 _r_debug->r_state is RT_CONSISTENT.
12127 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
12128 returns char*.
12129
12130 2015-01-21 Torvald Riegel <triegel@redhat.com>
12131 Carlos O'Donell <carlos@redhat.com>
12132
12133 [BZ #12674]
12134 * nptl/sem_waitcommon.c: New file.
12135 * nptl/sem_wait.c: Include sem_waitcommon.c.
12136 (__sem_wait_cleanup, do_futex_wait): Remove.
12137 (__new_sem_wait): Adapt.
12138 (__new_sem_trywait): New function.
12139 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
12140 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
12141 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
12142 (sem_timedwait): Adapt.
12143 * nptl/sem_post.c (__new_sem_post): Adapt.
12144 (futex_wake): New function.
12145 (__old_sem_post): Add release MO fence.
12146 * nptl/sem_open.c (sem_open): Adapt.
12147 * nptl/sem_init.c (__new_sem_init): Adapt.
12148 (futex_private_if_supported): New function.
12149 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
12150 (__old_sem_getvalue): Add using previous code.
12151 * sysdeps/nptl/internaltypes.h: Adapt.
12152 * nptl/tst-sem13.c (do_test): Adapt.
12153 * nptl/tst-sem11.c (main): Adapt.
12154 * nptl/sem_trywait.c: Remove.
12155 * nptl/DESIGN-sem.txt: Remove.
12156 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
12157 (gen-as-const-headers): Remove structsem.sym.
12158 * nptl/structsem.sym: Remove.
12159 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
12160 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
12161 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
12162 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
12163 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
12164 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
12165 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
12166 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
12167 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
12168 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
12169 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
12170 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
12171 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
12172 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
12173 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
12174 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
12175 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
12176 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
12177 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
12178 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
12179 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
12180 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
12181
12182 2015-01-20 Carlos O'Donell <carlos@redhat.com>
12183
12184 * INSTALL: Regenerated.
12185
12186 * po/libc.pot: Regenerated.
12187
12188 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
12189 Sandra Loosemore <sandra@codesourcery.com>
12190 Andrew Jenner <andrew@codesourcery.com>
12191 Joseph Myers <joseph@codesourcery.com>
12192 Nathan Sidwell <nathan@codesourcery.com>
12193
12194 * NEWS: Mention new Nios II port.
12195 * sysdeps/nios2/Implies: New file.
12196 * sysdeps/nios2/Makefile: New file.
12197 * sysdeps/nios2/Subdirs: New file.
12198 * sysdeps/nios2/Versions: New file.
12199 * sysdeps/nios2/__longjmp.S: New file.
12200 * sysdeps/nios2/abort-instr.h: New file.
12201 * sysdeps/nios2/backtrace.c: New file.
12202 * sysdeps/nios2/bits/endian.h: New file.
12203 * sysdeps/nios2/bits/fenv.h: New file.
12204 * sysdeps/nios2/bits/link.h: New file.
12205 * sysdeps/nios2/bits/setjmp.h: New file.
12206 * sysdeps/nios2/bsd-_setjmp.S: New file.
12207 * sysdeps/nios2/bsd-setjmp.S: New file.
12208 * sysdeps/nios2/configure: New generated file.
12209 * sysdeps/nios2/configure.ac: New file.
12210 * sysdeps/nios2/crti.S: New file.
12211 * sysdeps/nios2/crtn.S: New file.
12212 * sysdeps/nios2/dl-init.c: New file.
12213 * sysdeps/nios2/dl-machine.h: New file.
12214 * sysdeps/nios2/dl-sysdep.h: New file.
12215 * sysdeps/nios2/dl-tls.h: New file.
12216 * sysdeps/nios2/dl-trampoline.S: New file.
12217 * sysdeps/nios2/gccframe.h: New file.
12218 * sysdeps/nios2/gmp-mparam.h: New file.
12219 * sysdeps/nios2/jmpbuf-offsets.h: New file.
12220 * sysdeps/nios2/jmpbuf-unwind.h: New file.
12221 * sysdeps/nios2/ldsodefs.h: New file.
12222 * sysdeps/nios2/libc-tls.c: New file.
12223 * sysdeps/nios2/libm-test-ulps: New file.
12224 * sysdeps/nios2/machine-gmon.h: New file.
12225 * sysdeps/nios2/math-tests.h: New file.
12226 * sysdeps/nios2/math_private.h: New file.
12227 * sysdeps/nios2/memusage.h: New file.
12228 * sysdeps/nios2/nptl/Makefile: New file.
12229 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
12230 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
12231 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
12232 * sysdeps/nios2/nptl/pthreaddef.h: New file.
12233 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
12234 * sysdeps/nios2/nptl/tls.h: New file.
12235 * sysdeps/nios2/preconfigure: New file.
12236 * sysdeps/nios2/s_fma.c: New file.
12237 * sysdeps/nios2/s_fmaf.c: New file.
12238 * sysdeps/nios2/setjmp.S: New file.
12239 * sysdeps/nios2/sfp-machine.h: New file.
12240 * sysdeps/nios2/sotruss-lib.c: New file.
12241 * sysdeps/nios2/stackguard-macros.h: New file.
12242 * sysdeps/nios2/stackinfo.h: New file.
12243 * sysdeps/nios2/start.S: New file.
12244 * sysdeps/nios2/sysdep.h: New file.
12245 * sysdeps/nios2/tls-macros.h: New file.
12246 * sysdeps/nios2/tst-audit.h: New file.
12247 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
12248 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
12249 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
12250 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
12251 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
12252 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
12253 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
12254 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
12255 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
12256 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
12257 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
12258 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
12259 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
12260 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
12261 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
12262 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
12263 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
12264 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
12265 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
12266 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
12267 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
12268 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
12269 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
12270 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
12271 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
12272 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
12273 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
12274 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
12275 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
12276 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
12277 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
12278 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
12279 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
12280 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
12281 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
12282 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
12283 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
12284 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
12285 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
12286 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
12287 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
12288 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
12289 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
12290 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
12291
12292 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12293
12294 [BZ #17844]
12295 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
12296 (getutent): Use weak_alias in non SHARED case
12297 and default_symbol_version in SHARED case.
12298 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
12299 (getutent_r, pututline): Likewise.
12300 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
12301 (getutid): Likewise.
12302 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
12303 (getutid_r): Likewise.
12304 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
12305 (getutline): Likewise.
12306 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
12307 (getutline_r): Likewise.
12308 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
12309 (updwtmp): Likewise.
12310
12311 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12312
12313 [BZ #17848]
12314 * sysdeps/s390/s390-32/memcmp.S
12315 (memcmp_g5): Rename to __memcmp_g5.
12316 * sysdeps/s390/s390-32/memcpy.S
12317 (memcpy_g5): Rename to __memcpy_g5.
12318 Jump to __memcpy_mvcle instead of memcpy_mvcle.
12319 (memcpy_mvcle) Rename to __memcpy_mvcle.
12320 * sysdeps/s390/s390-32/memset.S
12321 (memset_g5): Rename to __memset_g5.
12322 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12323 (IFUNC_RESOLVE): Prefix ifunc-resolve function
12324 and use prefixed functions.
12325 * sysdeps/s390/s390-32/multiarch/memcmp.S
12326 (memcmp_z196): Rename to __memcmp_z196.
12327 (memcmp_z10): Rename to __memcmp_z10.
12328 (memcmp): Set alias to __memcmp_g5.
12329 (bcmp): Set alias to __memcmp_g5.
12330 * sysdeps/s390/s390-32/multiarch/memcpy.S
12331 (memcpy_z196): Rename to __memcpy_z196.
12332 Jump to __memcpy_mvcle instead of memcpy_mvcle.
12333 (memcpy_z10): Rename to __memcpy_z10.
12334 Jump to __memcpy_mvcle instead of memcpy_mvcle.
12335 (memcpy): Set alias to __memcpy_g5.
12336 * sysdeps/s390/s390-32/multiarch/memset.S
12337 (memset_z196): Rename to __memset_z196.
12338 Jump to __memset_mvcle instead of memset_mvcle.
12339 (memset_z10): Rename to __memset_z10.
12340 Jump to __memset_mvcle instead of memset_mvcle.
12341 (memset_mvcle) Rename to __memset_mvcle.
12342 (memset): Set alias to __memset_g5.
12343 * sysdeps/s390/s390-64/memcmp.S
12344 (memcmp_z900): Rename to __memcmp_z900.
12345 * sysdeps/s390/s390-64/memcpy.S
12346 (memcpy_z900): Rename to __memcpy_z900.
12347 Jump to __memcpy_mvcle instead of memcpy_mvcle.
12348 (memcpy_mvcle) Rename to __memcpy_mvcle.
12349 * sysdeps/s390/s390-64/memset.S
12350 (memset_z900): Rename to __memset_z900.
12351 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
12352 (IFUNC_RESOLVE): Prefix ifunc-resolve function
12353 and use prefixed functions.
12354 * sysdeps/s390/s390-64/multiarch/memcmp.S
12355 (memcmp_z196): Rename to __memcmp_z196.
12356 (memcmp_z10): Rename to __memcmp_z10.
12357 (memcmp): Set alias to __memcmp_z900.
12358 (bcmp): Set alias to __memcmp_z900.
12359 * sysdeps/s390/s390-64/multiarch/memcpy.S
12360 (memcpy_z196): Rename to __memcpy_z196.
12361 Jump to __memcpy_mvcle instead of memcpy_mvcle.
12362 (memcpy_z10): Rename to __memcpy_z10.
12363 Jump to __memcpy_mvcle instead of memcpy_mvcle.
12364 (memcpy): Set alias to __memcpy_z900.
12365 * sysdeps/s390/s390-64/multiarch/memset.S
12366 (memset_z196): Rename to __memset_z196.
12367 Jump to __memset_mvcle instead of memset_mvcle.
12368 (memset_z10): Rename to __memset_z10.
12369 Jump to __memset_mvcle instead of memset_mvcle.
12370 (memset_mvcle) Rename to __memset_mvcle.
12371 (memset): Set alias to __memset_z900.
12372
12373 2015-01-14 Joseph Myers <joseph@codesourcery.com>
12374
12375 [BZ #17748]
12376 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
12377 __fesetenv instead of fesetenv.
12378
12379 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12380
12381 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
12382 macro.
12383
12384 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12385
12386 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
12387 regression on LE.
12388
12389 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
12390 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
12391 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
12392 strncmp-power8 object.
12393 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12394 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
12395 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
12396 * NEWS: Update.
12397
12398 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12399 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12400
12401 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
12402 trailing byte check.
12403
12404 2015-01-13 David S. Miller <davem@davemloft.net>
12405
12406 * include/signal.h (__sigreturn): Guard with __USE_MISC.
12407
12408 2015-01-13 Roland McGrath <roland@hack.frob.com>
12409
12410 * login/logout.c (logout): Use memset rather than bzero.
12411 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
12412 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
12413 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
12414 (_gethtbyaddr): Likewise.
12415 * locale/programs/simple-hash.c (bcopy): Macro removed.
12416
12417 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12418
12419 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12420 Add strcmp-power8 object.
12421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12422 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
12423 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
12424 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
12425 __strcmp_power8 implementation.
12426 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
12427 * NEWS: Update.
12428
12429 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12430 Add strncpy-power8 and stpncpy-power8 objects.
12431 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12432 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
12433 implementations.
12434 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
12435 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
12436 __stpncpy_power8 implementation.
12437 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
12438 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
12439 __strncpy_power8 implementation.
12440 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
12441 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
12442 * NEWS: Update.
12443
12444 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
12445 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
12446 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
12447
12448 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
12449 strncat-power8 object.
12450 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
12451 __strcat_power8 implementation.
12452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12453 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
12454 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
12455 optimized strcat for power8.
12456
12457 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
12458 strcpy-power8 and stpcpy-power8 objects.
12459 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12460 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
12461 implementations.
12462 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
12463 multiarch stpcpy implementation for POWER8.
12464 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
12465 multiarch strcpy implementation for POWER8.
12466 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
12467 __strcpy_power8 function.
12468 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
12469 stpcpy for POWER8.
12470 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
12471 strcpy for POWER8.
12472 * NEWS: Update.
12473
12474 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
12475
12476 [BZ #16009]
12477 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
12478 weights and rules. Use do_xfrm_cached if data fits in cache,
12479 do_xfrm otherwise. Moved former main loop to...
12480 * (do_xfrm_cached): New function.
12481 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
12482 find_idx, find_position and stack_push.
12483 * (find_idx): New function.
12484 * (find_position): Likewise.
12485 * localedata/sort-test.sh: Added test run for do_xfrm.
12486 * localedata/xfrm-test.c (main): Added command line option
12487 -nocache to run the test with strings that are too large for
12488 the STRXFRM cache.
12489
12490 2015-01-13 Torvald Riegel <triegel@redhat.com>
12491
12492 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
12493 variable to lll_futex_wake call, not the value itself.
12494
12495 2015-01-12 Joseph Myers <joseph@codesourcery.com>
12496
12497 [BZ #17803]
12498 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
12499 twom64. Adjust value to 0x1p-64L.
12500 (__scalblnl): Only return standard underflowing result for K <=
12501 -64 not K <= -63; adjust exponent for underflowing result by 64
12502 not 63.
12503 * math/libm-test.inc (scalbn_test_data): Add more tests.
12504 (scalbln_test_data): Likewise.
12505
12506 [BZ #17834]
12507 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
12508 0x1p63L.
12509 (__scalblnl): Get new exponent of adjusted subnormal value from ES
12510 not HX.
12511 * math/libm-test.inc (scalbn_test_data): Add more tests.
12512 (scalbln_test_data): Likewise.
12513
12514 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12515 Stefani Seibold <stefani@seibold.net>
12516
12517 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
12518 (sysdep_routines): Add dl-vdso here, ...
12519 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
12520 (sysdep_routines): ... not here.
12521 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
12522 fallback when vDSO is not presented.
12523 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
12524 Define with libc_hidden_proto/libc_hidden_data_def definitions.
12525 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
12526 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
12527 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
12528 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
12529 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
12530 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
12531 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
12532 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
12533 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
12534 fallback configurable symbol when vDSO is not available.
12535 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
12536 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
12537 be able to redefine fallback symbol when vDSO is not available.
12538 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
12539 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
12540
12541 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12542
12543 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
12544 (TLS_INIT_TP): Add tm_capable initialization.
12545 (TLS_DEFINE_INIT_TP): Likewise.
12546 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
12547 TCB.
12548 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
12549 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
12550 calculation.
12551 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
12552 transactoion is lock elision is built and TCB tm_capable is set.
12553 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
12554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12555 (INTERNAL_SYSCALL_NCS): Likewise.
12556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12557 (INTERNAL_SYSCALL_NCS): Likewise.
12558 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
12559
12560 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
12561 for powerpc.
12562 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12563 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
12564 and remove it for 32 bits case.
12565 [pthread_rwlock_t] (__rwelision): New field for lock elision.
12566 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
12567 initialization.
12568 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
12569 Disable lock elision with rdlocks if elision is not available.
12570
12571 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
12572 (sysdep_routines): Add lock elision objects.
12573 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12574 [pthread_mutex_t] (__spins): Rework to add lock elision field.
12575 [pthread_mutex_t] (__elision): Add field.
12576 [__PTHREAD_SPINS]: Adjust to init lock elision field.
12577 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
12578 elision definitions for powerpc.
12579 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
12580 implementation of lock elision for powerpc.
12581 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
12582 implementation of timed lock elision for powerpc.
12583 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
12584 implementation of trylock with lock elision for powerpc.
12585 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
12586 implementaion of unlock for lock elision for powerpc.
12587 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
12588 automatic enable lock elision for mutexes.
12589 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
12590 transaction execution definitions for powerpc.
12591 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
12592 definitions.
12593 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
12594 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
12595 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
12596 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
12597 * NEWS: Update.
12598
12599 2015-01-09 Roland McGrath <roland@hack.frob.com>
12600
12601 * sysdeps/posix/shm-directory.c: Use <> rather than ""
12602 for #include of <shm-directory.h>.
12603
12604 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
12605
12606 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
12607 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
12608
12609 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
12610
12611 [BZ #17791]
12612 * NEWS: Mention bug fix.
12613 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
12614 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
12615 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
12616
12617 2015-01-09 Torvald Riegel <triegel@redhat.com>
12618
12619 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
12620
12621 2015-01-09 Torvald Riegel <triegel@redhat.com>
12622
12623 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
12624
12625 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
12626
12627 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
12628 pointer and cast to uintptr_t.
12629
12630 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
12631
12632 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
12633 removed.
12634 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
12635
12636 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
12637
12638 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
12639 of 0.
12640
12641 2015-01-08 Roland McGrath <roland@hack.frob.com>
12642
12643 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
12644 <nptl/pthreadP.h> instead.
12645 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
12646
12647 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
12648 already defined.
12649 [__SIGRTMIN] (init): Function removed.
12650 [__SIGRTMIN] (initialized): Variable removed.
12651 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
12652 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
12653 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
12654 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
12655 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
12656 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
12657 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
12658 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
12659 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
12660 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
12661 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
12662 * sysdeps/nptl/allocrtsig.c: New file.
12663 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
12664 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
12665 * sysdeps/generic/testrtsig.h: File removed.
12666
12667 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
12668 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
12669
12670 * nptl/nptl-init.c (pthread_functions): Conditionalize
12671 .ptr__nptl_setxid initialization on [SIGSETXID].
12672
12673 * sysdeps/nptl/sys/procfs.h: New file.
12674 * nptl_db/Makefile (headers): Add it.
12675 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
12676
12677 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
12678 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
12679 * nptl/pthread_attr_setaffinity.c: Include it.
12680 * nptl/pthread_setattr_default_np.c: Likewise.
12681 * nptl/check-cpuset.h: New file.
12682
12683 2015-01-08 Richard Henderson <rth@redhat.com>
12684
12685 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
12686 (CFLAGS-tst-execstack-prog.c): Likewise.
12687 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
12688
12689 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
12690 Sandra Loosemore <sandra@codesourcery.com>
12691 Andrew Jenner <andrew@codesourcery.com>
12692 Joseph Myers <joseph@codesourcery.com>
12693 Nathan Sidwell <nathan@codesourcery.com>
12694
12695 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
12696 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
12697 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
12698 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
12699 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
12700 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
12701 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
12702 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
12703 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
12704 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
12705 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
12706 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
12707 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
12708 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
12709 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
12710 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
12711 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
12712
12713 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12714
12715 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
12716 timespec struct member in syscall macro.
12717 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
12718 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
12719 first timeval struct member in syscall macro.
12720 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
12721
12722 2015-01-07 Joseph Myers <joseph@codesourcery.com>
12723
12724 [BZ #17748]
12725 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
12726 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
12727 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
12728 __feupdateenv and define as weak alias of __feupdateenv. Use
12729 libm_hidden_weak.
12730 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
12731 libm_hidden_def.
12732 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
12733 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
12734 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
12735 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
12736 libm_hidden_def.
12737 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
12738 __feupdateenv and define as weak alias of __feupdateenv. Use
12739 libm_hidden_weak.
12740 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
12741 libm_hidden_def.
12742 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
12743 __feupdateenv and define as weak alias of __feupdateenv. Use
12744 libm_hidden_weak.
12745 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
12746 libm_hidden_def.
12747 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12748 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
12749 (__feupdateenv): Likewise.
12750 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
12751 __feupdateenv and define as weak alias of __feupdateenv. Use
12752 libm_hidden_weak.
12753 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12754 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
12755 libm_hidden_def.
12756 * sysdeps/tile/math_private.h (__feupdateenv): New inline
12757 function.
12758 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
12759 libm_hidden_def.
12760 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
12761 __feupdateenv instead of feupdateenv.
12762 (default_libc_feupdateenv_test): Likewise.
12763 (libc_feresetround_ctx): Likewise.
12764
12765 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12766
12767 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
12768 prototype.
12769
12770 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
12771
12772 * posix/regcomp.c (parse_bracket_exp): Initialize type to
12773 COLL_SYM in a couple of places to avoid uninitialized variable
12774 wanings on tilegx gcc 4.8.2.
12775
12776 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
12777
12778 * sysdeps/aarch64/strcpy.S: New file.
12779 * sysdeps/aarch64/stpcpy.S: New file.
12780 * NEWS: Updated.
12781
12782 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
12783
12784 * sysdeps/aarch64/strrchr.S: New file.
12785 * NEWS: Updated.
12786
12787 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
12788
12789 [BZ #17658]
12790 * stdlib/setenv.c: Fix memory leak when setting large,
12791 duplicate string.
12792
12793 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
12794
12795 [BZ #17273]
12796 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
12797 and tabs from buffer before parsing fstab entry.
12798 * misc/tst-mntent.c (main): Add test for mount entry with
12799 trailing spaces and tabs.
12800
12801 2015-01-06 Joseph Myers <joseph@codesourcery.com>
12802
12803 [BZ #17748]
12804 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
12805 * math/fesetround.c (fesetround): Rename to __fesetround and
12806 define as weak alias of __fesetround. Use libm_hidden_weak.
12807 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
12808 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
12809 * sysdeps/arm/fesetround.c (fesetround): Likewise.
12810 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
12811 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
12812 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
12813 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
12814 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
12815 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
12816 __fesetround_inline.
12817 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
12818 __fesetround_inline instead of __fesetround.
12819 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
12820 __fesetround and define as weak alias of __fesetround. Use
12821 libm_hidden_weak. Call __fesetround_inline instead of
12822 __fesetround.
12823 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
12824 __fesetround and define as weak alias of __fesetround. Use
12825 libm_hidden_weak.
12826 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
12827 Likewise.
12828 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
12829 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12830 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
12831 * sysdeps/tile/math_private.h (__fesetround): New inline function.
12832 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
12833 __fesetround and define as weak alias of __fesetround. Use
12834 libm_hidden_weak.
12835 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
12836 __fesetround instead of fesetround.
12837 (default_libc_feholdexcept_setround): Likewise.
12838 (libc_feholdsetround_ctx): Likewise.
12839 (libc_feholdsetround_noex_ctx): Likewise.
12840
12841 [BZ #17748]
12842 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
12843 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
12844 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
12845 and define as weak alias of __fesetenv. Use libm_hidden_weak.
12846 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
12847 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
12848 define as weak alias of __fesetenv. Use libm_hidden_weak.
12849 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
12850 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
12851 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
12852 define as weak alias of __fesetenv. Use libm_hidden_weak.
12853 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
12854 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
12855 define as weak alias of __fesetenv. Use libm_hidden_weak.
12856 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
12857 libm_hidden_def.
12858 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
12859 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
12860 Likewise.
12861 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
12862 define as weak alias of __fesetenv. Use libm_hidden_weak.
12863 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12864 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
12865 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
12866 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
12867 and define as weak alias of __fesetenv. Use libm_hidden_weak.
12868 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
12869 __fesetenv instead of fesetenv.
12870 (libc_feresetround_noex_ctx): Likewise.
12871 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
12872 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
12873 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
12874 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
12875 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
12876 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
12877 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12878 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
12879 (__feupdateenv): Likewise.
12880 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12881 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12882 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12883 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
12884
12885 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
12886
12887 [BZ #17806]
12888 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
12889 addresses have been freed.
12890
12891 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
12892
12893 * resolv/res_init.c (__res_vinit): Improve comments about nserv
12894 and nservall.
12895
12896 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
12897
12898 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
12899 Clean up check_pf allocation pattern. addresses
12900
12901 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12902
12903 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
12904 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
12905 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
12906 * nptl/pthread_exit.c (__pthread_exit): Likewise.
12907 * nptl/pthread_join.c (pthread_join): Likewise.
12908 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
12909 * sysdeps/posix/waitid.c (__waitid): Likewise.
12910 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
12911 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
12912 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
12913 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
12914 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
12915 Likewise.
12916 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
12917 (__libc_pread64): Likewise.
12918 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
12919 (__libc_pwrite): Likewise.
12920 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
12921 (__libc_pwrite64): Likewsie.
12922 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
12923 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
12924 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
12925 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
12926 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
12927 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
12928 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
12930 Likewise.
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12932 (__libc_pread64): Likewise.
12933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
12934 Likewise.
12935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12936 (__libc_pwrite64): Likewise.
12937 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
12938 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
12939 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
12940 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
12941 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12942 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12943 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
12944 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
12945 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
12946 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
12947 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
12948 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
12949 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
12950 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
12951 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
12952 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
12953 Likewise.
12954
12955 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
12956
12957 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
12958 (CFLAGS-test-double.c): Likewise.
12959 (CFLAGS-test-ldouble.c): Likewise.
12960 (CPPFLAGS-test-ifloat.c): Likewise.
12961 (CPPFLAGS-test-idouble.c): Likewise.
12962 (CPPFLAGS-test-ildoubl.c): Likewise.
12963 (CFLAGS-test-test-fenv.c): Remove variable.
12964 (CFLAGS-test-misc.c): Likewise.
12965
12966 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
12967
12968 [BZ #17797]
12969 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
12970 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
12971 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
12972 CLOCKS_PER_SEC == 1000000.
12973 * time/clocktest.c (main): Replace %ld with %jd and cast to
12974 intmax_t.
12975
12976 2015-01-05 Roland McGrath <roland@hack.frob.com>
12977
12978 * sysdeps/generic/unwind-resume.h: New file.
12979 * sysdeps/gnu/unwind-resume.c: Include it.
12980 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
12981 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
12982 argument list.
12983 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
12984 global rather than static.
12985 (_Unwind_Resume): Update user.
12986 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
12987 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
12988 rather than static. Add __attribute__ ((cold)).
12989 (_Unwind_Resume, __gcc_personality_v0): Update callers.
12990 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12991 * sysdeps/arm/arm-unwind-resume.S: New file.
12992 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
12993 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
12994 * sysdeps/arm/Makefile [$(subdir) = csu]
12995 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
12996 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12997 Add rt-arm-unwind-resume.
12998 [$(subdir) = nptl]
12999 (libpthread-sysdep_routines, libpthread-shared-only-routines):
13000 Add pt-arm-unwind-resume.
13001 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
13002 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
13003
13004 2015-01-05 Joseph Myers <joseph@codesourcery.com>
13005
13006 [BZ #17748]
13007 * include/fenv.h (__feholdexcept): Declare. Use
13008 libm_hidden_proto.
13009 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
13010 define as weak alias of __feholdexcept. Use libm_hidden_weak.
13011 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13012 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
13013 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
13014 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
13015 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
13016 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13017 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
13018 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
13019 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13020 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
13021 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
13022 (feholdexcept): Likewise.
13023 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13024 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13025 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13026 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13027 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
13028 __feholdexcept instead of feholdexcept.
13029 (default_libc_feholdexcept_setround): Likewise.
13030
13031 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
13032
13033 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
13034 to avoid using stl/str to align destination.
13035
13036 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
13037
13038 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
13039
13040 2015-01-05 Joseph Myers <joseph@codesourcery.com>
13041
13042 [BZ #17796]
13043 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
13044 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
13045 Define as weak alias not strong alias.
13046
13047 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
13048
13049 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
13050 bltzal with addiupc.
13051 (RTLD_START): Ditto.
13052
13053 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
13054
13055 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
13056 for __vdso_* functions in declarations.
13057 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
13058 definitions.
13059 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
13060 INTERNAL_VSYSCALL): Use struct return types to check for error.
13061
13062 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
13063 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
13064 function with cast from llround().
13065 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
13066 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13067 Define.
13068
13069 2015-01-05 Joseph Myers <joseph@codesourcery.com>
13070
13071 [BZ #17793]
13072 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
13073 Define as weak alias not strong alias.
13074
13075 [BZ #17635]
13076 * ctype/ctype-c99.c: New file. isblank implementation moved from
13077 ...
13078 * ctype/ctype-extn.c: ... here.
13079 (__isblank_l): Move to ...
13080 * ctype/ctype-c99_l.c: ... here. New file.
13081 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
13082 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
13083 Remove variable.
13084 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13085 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13086 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13087 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13088 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13089
13090 [BZ #17777]
13091 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
13092 (posix_fadvise64): Define as weak alias not strong alias.
13093 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13094 (posix_fallocate64): Likewise.
13095 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
13096 Remove variable.
13097 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13098 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13099 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13100 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13101 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13102
13103 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
13104
13105 [BZ #16191]
13106 * NEWS: Mention bug fix.
13107 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
13108 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
13109 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
13110 (HOST_STACK_END_ADDR): Likewise.
13111
13112 2015-01-02 Joseph Myers <joseph@codesourcery.com>
13113
13114 [BZ #17748]
13115 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
13116 * math/fegetround.c (fegetround): Rename to __fegetround and
13117 define as weak alias of __fegetround. Use libm_hidden_weak.
13118 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
13119 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
13120 * sysdeps/arm/fegetround.c (fegetround): Likewise.
13121 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
13122 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13123 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
13124 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
13125 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
13126 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13127 Undefine after rather than before function definition; use
13128 parentheses around function name in definition.
13129 (__fegetround): Also undefine macro after function definition.
13130 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
13131 __fegetround and define as weak alias of __fegetround. Use
13132 libm_hidden_weak. Do not undefine as macro.
13133 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13134 Likewise.
13135 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
13136 __fegetround and define as weak alias of __fegetround. Use
13137 libm_hidden_weak.
13138 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13139 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13140 * sysdeps/tile/math_private.h (__fegetround): New inline function.
13141 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
13142 __fegetround and define as weak alias of __fegetround. Use
13143 libm_hidden_weak.
13144 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
13145 __fegetround instead of fegetround.
13146
13147 [BZ #17782]
13148 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
13149 Condition macro definition on [__USE_MISC].
13150
13151 [BZ #17781]
13152 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
13153 (struct sigaction): Change type of sa_flags field to int.
13154
13155 [BZ #17780]
13156 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
13157 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
13158 __glibc_reserved0.
13159
13160 * nptl/version.c (banner): Use single year in copyright notice.
13161
13162 * NEWS: Update copyright dates.
13163 * catgets/gencat.c (print_version): Likewise.
13164 * csu/version.c (banner): Likewise.
13165 * debug/catchsegv.sh: Likewise.
13166 * debug/pcprofiledump.c (print_version): Likewise.
13167 * debug/xtrace.sh (do_version): Likewise.
13168 * elf/ldconfig.c (print_version): Likewise.
13169 * elf/ldd.bash.in: Likewise.
13170 * elf/pldd.c (print_version): Likewise.
13171 * elf/sotruss.sh: Likewise.
13172 * elf/sprof.c (print_version): Likewise.
13173 * iconv/iconv_prog.c (print_version): Likewise.
13174 * iconv/iconvconfig.c (print_version): Likewise.
13175 * locale/programs/locale.c (print_version): Likewise.
13176 * locale/programs/localedef.c (print_version): Likewise.
13177 * login/programs/pt_chown.c (print_version): Likewise.
13178 * malloc/memusage.sh (do_version): Likewise.
13179 * malloc/memusagestat.c (print_version): Likewise.
13180 * malloc/mtrace.pl: Likewise.
13181 * manual/libc.texinfo: Likewise.
13182 * nptl/version.c (banner): Likewise.
13183 * nscd/nscd.c (print_version): Likewise.
13184 * nss/getent.c (print_version): Likewise.
13185 * nss/makedb.c (print_version): Likewise.
13186 * posix/getconf.c (main): Likewise.
13187 * scripts/test-installation.pl: Likewise.
13188 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13189
13190 2015-01-02 Will Newton <will.newton@linaro.org>
13191
13192 * sysdeps/arm/armv7/configure: Removed.
13193 * sysdeps/arm/armv7/configure.ac: Likewise.
13194
13195 2015-01-02 Joseph Myers <joseph@codesourcery.com>
13196
13197 * All files with FSF copyright notices: Update copyright dates
13198 using scripts/update-copyrights.
13199 * intl/plural.c: Regenerated.
13200 * locale/programs/charmap-kw.h: Likewise.
13201 * locale/programs/locfile-kw.h: Likewise.
13202
13203 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13204
13205 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
13206
13207 2014-12-31 Joseph Myers <joseph@codesourcery.com>
13208
13209 [BZ #17748]
13210 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
13211 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
13212 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
13213 and define as weak alias of __fegetenv. Use libm_hidden_weak.
13214 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13215 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
13216 define as weak alias of __fegetenv. Use libm_hidden_weak.
13217 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
13218 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13219 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
13220 define as weak alias of __fegetenv. Use libm_hidden_weak.
13221 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13222 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
13223 define as weak alias of __fegetenv. Use libm_hidden_weak.
13224 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
13225 libm_hidden_def.
13226 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
13227 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
13228 Likewise.
13229 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
13230 define as weak alias of __fegetenv. Use libm_hidden_weak.
13231 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13232 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13233 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
13234 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
13235 and define as weak alias of __fegetenv. Use libm_hidden_weak.
13236 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
13237 __fegetenv instead of fegetenv.
13238 (libc_feholdsetround_noex_ctx): Likewise.
13239
13240 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
13241
13242 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
13243 (Elf_MIPS_ABIFlags_v0): New structure.
13244 (EF_MIPS_FP64): Define.
13245 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
13246 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
13247 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
13248 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
13249 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
13250 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
13251 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
13252 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
13253 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
13254 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
13255 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
13256 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
13257 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
13258 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
13259 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
13260 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
13261 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
13262 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
13263 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
13264 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
13265 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
13266 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
13267 field.
13268 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
13269 EF_MIPS_FP64.
13270 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
13271 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
13272 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
13273 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
13274 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
13275 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
13276 * sysdeps/mips/tst-abi-interlink.c: Likewise.
13277 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
13278 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
13279 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
13280 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
13281 record the current FP ABI extension.
13282 (mips-mode-switch): Define to show if kernel headers support mode
13283 switching.
13284 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13285 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
13286 supported SYSV ABI version to 3.
13287 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
13288 feature.
13289
13290 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13291 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13292
13293 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
13294 path.
13295 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
13296
13297 2014-12-31 Joseph Myers <joseph@codesourcery.com>
13298
13299 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
13300 __fegetround and redefine to call __fegetround. Remove condition
13301 on [!__NO_MATH_INLINES].
13302 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
13303 function.
13304 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
13305 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13306 Remove macro.
13307 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
13308 instead of <fenv_libc.h>.
13309 (__llrintl): Call fegetround instead of __fegetround.
13310 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
13311 instead of <fenv_libc.h>.
13312 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13313 (__lrintl): Call fegetround instead of __fegetround.
13314 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
13315 instead of <fenv_libc.h>.
13316 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13317 (__rintl): Call fegetround instead of __fegetround.
13318
13319 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13320
13321 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
13322 arrays.
13323
13324 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
13325
13326 [BZ #17775]
13327 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
13328 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
13329 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
13330
13331 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
13332
13333 * sysdeps/i386/tls-macros.h: Include <features.h>.
13334 (TLS_LE): Use non-PIC version for GCC >= 5.0.
13335 (TLS_IE): Likewise.
13336 (TLS_LD): Likewise.
13337 (TLS_GD): Likewise.
13338 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
13339 define for GCC >= 5.0.
13340
13341 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
13342
13343 * math/test-fenv.c (test_single_exception, set_single_exc,
13344 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
13345 feexcp_mask_test, feenable_test, fe_single_test): Add
13346 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
13347 case where they are not used.
13348 * math/libm-test.inc: Likewise.
13349 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
13350 unused in the absence of FP rounding/exception support.
13351 * stdio-common/tst-printf-round.c: Likewise.
13352 * stdlib/tst-strtod-round.c: Likewise.
13353 * stdlib/tst-strtod-underflow.c: Likewise.
13354
13355 2014-12-30 Joseph Myers <joseph@codesourcery.com>
13356
13357 [BZ #17723]
13358 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
13359 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
13360 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13361 __feraiseexcept and define as weak alias of __feraiseexcept. Use
13362 libm_hidden_weak.
13363 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
13364 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
13365 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
13366 libm_hidden_def.
13367 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13368 __feraiseexcept and define as weak alias of __feraiseexcept. Use
13369 libm_hidden_weak.
13370 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
13371 Likewise.
13372 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
13373 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13374 __feraiseexcept and define as weak alias of __feraiseexcept. Use
13375 libm_hidden_weak.
13376 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
13377 libm_hidden_def.
13378 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13379 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
13380 (__feraiseexcept): Likewise.
13381 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13382 __feraiseexcept and define as weak alias of __feraiseexcept. Use
13383 libm_hidden_weak.
13384 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
13385 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
13386 libm_hidden_def.
13387 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
13388 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
13389 Use libm_hidden_def.
13390 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
13391 libm_hidden_def.
13392 (feraiseexcept): Define as weak not strong alias. Use
13393 libm_hidden_weak.
13394 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
13395 New inline function. Factored out of ...
13396 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
13397 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
13398 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
13399 feraiseexcept.
13400 * math/w_acos.c (__acos): Likewise.
13401 * math/w_asin.c (__asin): Likewise.
13402 * math/w_ilogb.c (__ilogb): Likewise.
13403 * math/w_j0.c (y0): Likewise.
13404 * math/w_j1.c (y1): Likewise.
13405 * math/w_jn.c (yn): Likewise.
13406 * math/w_log.c (__log): Likewise.
13407 * math/w_log10.c (__log10): Likewise.
13408 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
13409 * sysdeps/aarch64/fpu/math_private.h
13410 (libc_feupdateenv_test_aarch64): Likewise.
13411 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
13412 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
13413 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
13414 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
13415 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
13416 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
13417 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
13418 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13419 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13420 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13421
13422 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
13423
13424 [BZ #17732]
13425 * io/test-utime.c (main): Replace %ld with %jd and cast to
13426 intmax_t.
13427 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
13428 * nptl/tst-mutex5.c: Include <stdint.h>.
13429 (do_test): Replace %ld with %jd and cast to intmax_t.
13430 * posix/tst-regex.c (run_test): Likewise.
13431 (run_test_backwards): Likewise.
13432 * rt/tst-clock.c: Include <stdint.h>.
13433 (clock_test): Replace %ld with %jd and cast to intmax_t.
13434 * rt/tst-cpuclock1.c: Include <stdint.h>.
13435 (do_test): Replace %lu with %ju and cast to uintmax_t.
13436 * rt/tst-cpuclock2.c: Include <stdint.h>.
13437 (do_test): Replace %lu with %ju and cast to uintmax_t.
13438 * rt/tst-mqueue1.c: Include <stdint.h>.
13439 (check_attrs): Replace %ld with %jd and cast to intmax_t.
13440 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
13441 intmax_t.
13442 * rt/tst-mqueue4.c (do_test): Likewise.
13443 * rt/tst-timer4.c: Include <stdint.h>.
13444 (check_ts): Replace %ld with %jd and cast to intmax_t.
13445 (do_test): Likewise.
13446 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
13447 and cast to intmax_t.
13448 * sysdeps/pthread/tst-timer.c (main): Likewise.
13449 * time/clocktest.c (main): Likewise.
13450 * time/tst-posixtz.c (do_test): Likewise.
13451 * timezone/tst-timezone.c (main): Likewise.
13452
13453 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
13454 H.J. Lu <hongjiu.lu@intel.com>
13455
13456 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
13457 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
13458 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
13459 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
13460 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
13461 version if bit_Fast_Unaligned_Load is set.
13462 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13463 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13464 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13465 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13466 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13467 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13468 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13469 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
13470 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
13471 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
13472 to 4.
13473 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
13474 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
13475 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
13476 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
13477
13478 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
13479
13480 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
13481 instead of #if to avoid a Wundef warning.
13482 * stdlib/tst-limits.c (do_test): Likewise.
13483
13484 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
13485 parallel other exception macros.
13486 (fegetenv): Convert from macro to extern inline so that it applies
13487 retroactively to inline functions already seen by the compiler.
13488 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
13489
13490 * posix/Makefile (before-compile): Use $(objpfx) for
13491 posix-conf-vars-def.h.
13492
13493 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13494
13495 * posix/getconf.c (main): Use size_t for type of I.
13496 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
13497 NSPEC.
13498
13499 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
13500 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
13501 * posix/posix-envs.def: Likewise.
13502 * sysdeps/posix/sysconf.c: Likewise.
13503 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
13504 (specs): Remove array.
13505 * scripts/gen-posix-conf-vars.awk: Support generation of specs
13506 array.
13507
13508 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
13509 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
13510 (__sysconf): Use CONF_IS_* macros.
13511
13512 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
13513 ($(objpfx)posix-conf-vars-def.h): New target.
13514 * posix/posix-conf-vars.list: New file.
13515 * posix/posix-conf-vars.h: New file.
13516 * posix/confstr.c: Include posix-conf-vars.h.
13517 (confstr): Use CONF_IS_* macros.
13518 * posix/posix-envs.def: Include posix-conf-vars.h. Use
13519 CONF_IS_* macros.
13520 * scripts/gen-posix-conf-vars.awk: New file.
13521
13522 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
13523
13524 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
13525 fegetround): Add no-op macros to avoid linknamespace issues.
13526
13527 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
13528 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
13529
13530 * sysdeps/unix/sysv/linux/tile/sysdep.h
13531 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
13532 assembly-specific section to avoid a redefinition warning.
13533
13534 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
13535 long before casting to pointer to avoid a cast warning.
13536
13537 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
13538
13539 * sysdeps/tile/tilegx/Implies: New file.
13540
13541 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
13542
13543 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
13544
13545 2014-12-23 Florian Weimer <fweimer@redhat.com>
13546
13547 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
13548
13549 2014-12-22 Joseph Myers <joseph@codesourcery.com>
13550
13551 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
13552 not define.
13553 * sysdeps/unix/sysv/linux/utimes.c: Do not include
13554 <kernel-features.h>.
13555 (__utimes) [__NR_utimes]: Make code unconditional.
13556 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
13557 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13558 (__ASSUME_UTIMES): Do not undefine.
13559 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13560 (__ASSUME_UTIMES): Likewise.
13561 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13562 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
13563 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
13564 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
13565
13566 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
13567
13568 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
13569
13570 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
13571
13572 [BZ #17747]
13573 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
13574 alias to weak alias for j0l, y0l.
13575 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
13576 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
13577
13578 [BZ #17746]
13579 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
13580 conversion.
13581
13582 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
13583
13584 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
13585 to zero if not already defined.
13586
13587 2014-12-22 Joseph Myers <joseph@codesourcery.com>
13588
13589 [BZ #17724]
13590 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
13591 (__kernel_standard_f): Remove. Moved to k_standardf.c.
13592 (__kernel_standard_l): Remove. Moved to k_standardl.c with
13593 (char *) casts added.
13594 * sysdeps/ieee754/k_standardf.c: New file.
13595 * sysdeps/ieee754/k_standardl.c: Likewise.
13596 * math/Makefile (libm-support): Remove k_standard.
13597 (libm-calls): Add k_standard.
13598
13599 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
13600
13601 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13602 Optimize to avoid an unnecessary FPCR read.
13603
13604 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
13605
13606 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
13607 Optimize to reduce FPCR/FPSR accesses.
13608
13609 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
13610
13611 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
13612 Call libc_fetestexcept_aarch64.
13613
13614 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
13615
13616 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
13617 Call libc_fesetround_aarch64.
13618
13619 2014-12-22 Joseph Myers <joseph@codesourcery.com>
13620
13621 [BZ #17733]
13622 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
13623 (__bind): Do not define as weak alias.
13624 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
13625 define.
13626 (__getsockname): Do not define as weak alias.
13627
13628 2014-12-22 Will Newton <will.newton@linaro.org>
13629
13630 * manual/install.texi: Document that we require bison 2.7
13631 or above.
13632 * INSTALL: Regenerate.
13633 * configure.ac: Use AC_CHECK_PROG_VER instead of
13634 AC_PATH_PROG when checking for bison and check for
13635 version 2.7 or above.
13636 * configure: Regenerate.
13637
13638 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
13639
13640 [BZ #17745]
13641 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
13642 * sysdeps/tile/ffsll.c (ffsll): To here.
13643
13644 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
13645
13646 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
13647
13648 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
13649 if not defined.
13650 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
13651 definition.
13652 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
13653 hidden ___tls_get_addr.
13654 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
13655 hidden __tls_get_addr.
13656 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
13657 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
13658 Likewise.
13659
13660 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
13661
13662 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
13663 _dl_init call.
13664
13665 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
13666
13667 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
13668 from "call _dl_init@PLT".
13669 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
13670
13671 2014-12-21 Anders Kaseorg <andersk@mit.edu>
13672
13673 * manual/search.texi: (Array Sort Function): Clarify stable sorting
13674 guarantees.
13675
13676 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
13677
13678 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
13679
13680 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
13681
13682 [BZ #17744]
13683 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
13684 strnlen.
13685
13686 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
13687
13688 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
13689 of multu on MIPSr6.
13690 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
13691 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
13692 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
13693 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
13694 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
13695
13696 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
13697
13698 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
13699 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
13700 (PTR_SUBU): Use subu for mips32r6/mips64r6.
13701 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
13702 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
13703 mips32r6/mips64r6.
13704 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
13705
13706 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
13707
13708 * string/strncat.c (STRNCAT): Simplify implementation.
13709
13710 2014-12-19 David S. Miller <davem@davemloft.net>
13711
13712 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
13713 access the quad as both a long double and as a series of 4 words.
13714
13715 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
13716 link_map->l_info array access.
13717
13718 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
13719
13720 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
13721
13722 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
13723 * math/atest-exp2.c (TIMEOUT): Likewise.
13724 * math/atest-sincos.c (TIMEOUT): Likewise.
13725
13726 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
13727
13728 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
13729 -Wno-error with -fno-builtin-lround.
13730
13731 2014-12-19 Torvald Riegel <triegel@redhat.com>
13732
13733 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
13734 Contains futex constants and functions moved over from ...
13735 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
13736 <lowlevellock-futex.h>.
13737 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
13738 (lll_timedwait_tid): Add comments and parentheses around macro
13739 arguments.
13740
13741 2014-12-19 Torvald Riegel <triegel@redhat.com>
13742
13743 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
13744 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
13745 (__lll_private_flag): Remove.
13746 (lll_futex_wait): Likewise.
13747 (lll_futex_timed_wait): Likewise.
13748 (lll_futex_wake): Likewise.
13749 (lll_futex_requeue): Likewise.
13750 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
13751 (__lll_timedwait_tid): Spell out argument names.
13752 (lll_timedwait_tid): Add comments and parentheses around macro
13753 arguments.
13754 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
13755 LLL_SHARED and LLL_PRIVATE usable from assembly code.
13756
13757 2014-12-19 Torvald Riegel <triegel@redhat.com>
13758
13759 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
13760 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
13761 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13762 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
13763 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
13764 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
13765 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
13766 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
13767 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
13768 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
13769 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
13770 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
13771 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
13772 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
13773 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
13774 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
13775 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
13776 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
13777 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
13778
13779 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
13780
13781 * sysdeps/x86_64/x32/Makefile: New file.
13782
13783 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
13784
13785 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
13786 1L with (mp_limb_t) 1.
13787
13788 2014-12-17 Roland McGrath <roland@hack.frob.com>
13789
13790 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
13791 * nptl/libc_pthread_init.c: ... here.
13792 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
13793 * nptl/register-atfork.c: ... here.
13794
13795 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
13796 Use pthread_sigmask rather than INTERNAL_SYSCALL.
13797 Use assert_perror to check its return value.
13798 (__gai_create_helper_thread): Likewise.
13799
13800 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
13801
13802 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
13803
13804 2014-12-17 Joseph Myers <joseph@codesourcery.com>
13805
13806 [BZ #17725]
13807 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
13808 __profil_counter.
13809 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
13810 Likewise.
13811 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
13812 Likewise.
13813 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
13814 Likewise.
13815 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
13816 (profil_counter): Likewise.
13817 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
13818 (profil_counter): Likewise.
13819 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
13820 Likewise.
13821 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
13822 Likewise.
13823 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
13824 (profil_counter): Likewise.
13825 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
13826 Likewise.
13827 [!__profil_counter] (profil_counter): Define as weak alias of
13828 __profil_counter.
13829 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
13830 (profil_counter): Rename to __profil_counter.
13831 [!__profil_counter] (profil_counter): Define as weak alias of
13832 __profil_counter.
13833 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
13834 (profil_counter): Rename to __profil_counter.
13835 [!__profil_counter] (profil_counter): Define as weak alias of
13836 __profil_counter.
13837 * sysdeps/posix/profil.c: Update comment referring to
13838 profil_counter.
13839 (__profil): Use __profil_counter instead of profil_counter.
13840 * sysdeps/posix/sprofil.c (profil_counter): Rename to
13841 __profil_counter. Use __profil_counter_ushort and
13842 __profil_counter_uint in definitions.
13843 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
13844 instead of profil_counter_uint and profil_counter_ushort.
13845
13846 [BZ #17722]
13847 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
13848 define as weak alias of __inet_makeaddr.
13849 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
13850 as weak alias of __inet_addr.
13851 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
13852 as weak alias of __inet_pton. Use libc_hidden_weak.
13853 * include/arpa/inet.h (__inet_pton): Declare. Use
13854 libc_hidden_proto.
13855 (inet_makeaddr): Don't use libc_hidden_proto.
13856 (__inet_makeaddr): Declare. Use libc_hidden_proto.
13857 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
13858 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
13859 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
13860 Remove variable.
13861 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13862 (test-xfail-POSIX/time.h/linknamespace): Likewise.
13863
13864 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
13865
13866 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
13867
13868 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
13869
13870 * stdio-common/bug-vfprintf-nargs.c (do_test):
13871 Cast value to intptr_t to avoid format warning
13872 for usage with PRIdPTR printing macro.
13873
13874 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
13875
13876 * libio/tst-widetext.c (do_test):
13877 Use format type %td instead of %Zd for ptrdiff_t
13878 in order to avoid format warning.
13879
13880 2014-12-17 Andreas Schwab <schwab@suse.de>
13881
13882 * nscd/mem.c (gc): Add size_t cast to match printf format.
13883
13884 2014-12-16 Roland McGrath <roland@hack.frob.com>
13885
13886 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
13887 (init): Apply PTR_MANGLE to pointers before storing them.
13888 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
13889 before using them.
13890
13891 2014-12-16 Joseph Myers <joseph@codesourcery.com>
13892
13893 [BZ #17719]
13894 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
13895 define as weak alias of __memrchr.
13896 (__memrchr): Do not define as strong alias of memrchr.
13897 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
13898 Remove variable.
13899 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13900 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13901 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13902
13903 [BZ #17717]
13904 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
13905 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
13906 (if_indextoname): Rename to __if_indextoname and define as weak
13907 alias of __if_indextoname. Use libc_hidden_weak.
13908 (if_freenameindex): Rename to __if_freenameindex and define as
13909 weak alias of __if_freenameindex.
13910 (if_nameindex): Rename to __if_nameindex and define as weak alias
13911 of __if_nameindex.
13912 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
13913 __if_nametoindex and define as weak alias of __if_nametoindex.
13914 Use libc_hidden_weak.
13915 (if_freenameindex): Rename to __if_freenameindex and define as
13916 weak alias of __if_freenameindex.
13917 (if_nameindex): Rename to __if_nameindex and define as weak alias
13918 of __if_nameindex.
13919 (if_indextoname): Rename to __if_indextoname and define as weak
13920 alias of __if_indextoname. Use libc_hidden_weak.
13921 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
13922 __if_nametoindex and define as weak alias of __if_nametoindex.
13923 Use libc_hidden_weak.
13924 (if_freenameindex): Rename to __if_freenameindex and define as
13925 weak alias of __if_freenameindex. Use libc_hidden_weak.
13926 (if_nameindex_netlink): Use __if_freenameindex instead of
13927 if_freenameindex.
13928 (if_nameindex): Rename to __if_nameindex and define as weak alias
13929 of __if_nameindex. Use libc_hidden_weak.
13930 (if_indextoname): Rename to __if_indextoname and define as weak
13931 alias of __if_indextoname. Use libc_hidden_weak.
13932 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
13933 libc_hidden_proto.
13934 [!_ISOMAC] (__if_freenameindex): Likewise.
13935 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
13936 if_nametoindex.
13937 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
13938 variable.
13939 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13940 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13941 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13942 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13943 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13944 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13945 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13946
13947 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
13948 Remove variable.
13949 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13950 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13951
13952 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13953
13954 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
13955 subscript above bounds'
13956
13957 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
13958 bounds.
13959
13960 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
13961
13962 * libio/tst-fopenloc.c: Use test-skeleton.c.
13963
13964 * stdlib/tst-bsearch.c: Use test-skeleton.c.
13965 (entry): Rename to ITEM.
13966 (do_test, comp): Adjust.
13967
13968 * stdio-common/tst-fseek.c: Use test-skeleton.c.
13969
13970 2014-12-16 Torvald Riegel <triegel@redhat.com>
13971
13972 * string/tester.c: Include <libc-internal.h>.
13973 (test_memset): Ignore -Wmemset-transposed-args.
13974
13975 2014-12-16 Torvald Riegel <triegel@redhat.com>
13976
13977 * misc/tst-mntent2.c (do_test): Fix warning.
13978
13979 2014-12-16 Torvald Riegel <triegel@redhat.com>
13980
13981 * elf/tst-unique4lib.cc(a): Mark as used.
13982
13983 2014-12-16 Florian Weimer <fweimer@redhat.com>
13984
13985 [BZ #17630]
13986 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
13987 names.
13988
13989 2014-12-16 Allan McRae <allan@archlinux.org>
13990
13991 * stdio-common/Makefile (tests): Re-add bug26.
13992
13993 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
13994
13995 [BZ #17657]
13996 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
13997 static array.
13998
13999 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
14000
14001 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
14002 (__lll_lock_wait): Likewise.
14003 (__lll_timedlock_wait): Likewise.
14004 (__lll_timedwait_tid): Likewise.
14005 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
14006 (__lll_robust_timedlock_wait): Likewise.
14007 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
14008 (lll_cond_trylock): Likewise.
14009 (__lll_lock): Likewise.
14010 (__lll_robust_lock): Likewise.
14011 (__lll_cond_lock): Likewise.
14012 (lll_robust_cond_lock): Likewise.
14013 (__lll_timedlock): Likewise.
14014 (__lll_robust_timedlock): Likewise.
14015 (__lll_unlock): Likewise.
14016 (__lll_robust_unlock): Likewise.
14017 (lll_wait_tid): Likewise.
14018 (lll_timedwait_tid): Likewise.
14019
14020 2014-12-15 Torvald Riegel <triegel@redhat.com>
14021
14022 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
14023
14024 2014-12-15 Torvald Riegel <triegel@redhat.com>
14025
14026 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
14027
14028 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
14029
14030 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
14031 * stdio-common/tst-sprintf.c: Likewise.
14032
14033 2014-12-15 Torvald Riegel <triegel@redhat.com>
14034
14035 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
14036
14037 2014-12-15 Jeff Law <law@redhat.com>
14038
14039 [BZ #16617]
14040 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
14041 on the heap. (CVE-2012-3406)
14042 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
14043 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
14044 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
14045
14046 2014-12-15 Will Newton <will.newton@linaro.org>
14047
14048 * manual/install.texi: Bump required version of texinfo
14049 to 4.7 from 4.5.
14050 * INSTALL: Regenerated.
14051 * configure.ac: Check for makeinfo version 4.7 and above.
14052 * configure: Regenerated.
14053
14054 2014-12-12 Roland McGrath <roland@hack.frob.com>
14055
14056 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
14057 PREFIX, string constant to insert between directory and name.
14058 * sysdeps/posix/shm_open.c: Update caller.
14059 * sysdeps/posix/shm_unlink.c: Likewise.
14060 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
14061 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
14062 (SEM_SHM_PREFIX): New macro.
14063 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
14064 [$(have-thread-library) = no].
14065 * nptl/Makefile (libpthread-routines): Add shm-directory.
14066 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
14067 * sysdeps/nptl/shm-directory.h: New file.
14068 * sysdeps/posix/shm-directory.c
14069 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
14070 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14071 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
14072 INTERNAL_SYSCALL.
14073 (__where_is_shmfs): Function removed.
14074 (mountpoint, defaultmount, defaultdir, __namedsem_once):
14075 Variables removed.
14076 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
14077 Use SHM_GET_NAME.
14078 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
14079
14080 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
14081 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
14082 unconditional for use inside libpthread.
14083 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
14084
14085 2014-12-12 Roland McGrath <roland@hack.frob.com>
14086
14087 * nptl/pthread_getaffinity.c: New file.
14088 * nptl/pthread_setaffinity.c: New file.
14089 * nptl/pthread_getname.c: New file.
14090 * nptl/pthread_setname.c: New file.
14091
14092 * nptl/pthread_create.c (START_THREAD_DEFN)
14093 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
14094
14095 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14096 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14097
14098 * resolv/res_send.c (send_vc): Disable warning resplen may
14099 be used uninitialized.
14100
14101 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14102
14103 * nptl/tst-mutex6.c
14104 (ATTR_NULL): New define checks ATTR against NULL.
14105 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
14106 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
14107
14108 2014-12-11 James Lemke <jwlemke@codesourcery.com>
14109
14110 [BZ #17581]
14111 * malloc/hooks.c
14112 (mem2mem_check): Revert my previous change.
14113 (malloc_check_get_size): Revert my previous change.
14114 (mem2chunk_check): Revert my previous change.
14115
14116 2014-12-11 Roland McGrath <roland@hack.frob.com>
14117
14118 * sysdeps/posix/shm-directory.c: New file.
14119 * sysdeps/posix/shm-directory.h: New file.
14120 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
14121 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
14122 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
14123 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
14124 Transmute EPERM to EACCES.
14125 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
14126 from ...
14127 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
14128 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
14129
14130 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14131
14132 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
14133 pointer and cast to uintptr_t.
14134 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
14135 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
14136 Add cast to avoid warning.
14137 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
14138
14139 2014-12-11 Joseph Myers <joseph@codesourcery.com>
14140
14141 * nptl/semaphore.h: Move to ...
14142 * sysdeps/pthread/semaphore.h: ... here.
14143 * Makefile (installed-headers): Change nptl/semaphore.h to
14144 sysdeps/pthread/semaphore.h.
14145
14146 2014-12-11 Roland McGrath <roland@hack.frob.com>
14147
14148 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
14149 generated error format strings.
14150
14151 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
14152 -Wformat-extra-args warnings for scanf formats.
14153 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
14154 test of zero-length format (duh).
14155 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
14156 corner-case scanf format test.
14157 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
14158 generated fprintf format string.
14159 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
14160 corner-case sprintf format tests.
14161 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
14162 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
14163 -Wformat-extra-args warnings throughout.
14164 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
14165 (CFLAGS-scanf4.c): Likewise.
14166 (CFLAGS-scanf7.c): Likewise.
14167 (CFLAGS-tst-sprintf.c): Likewise.
14168 (CFLAGS-tst-printf.c): Likewise.
14169 (CFLAGS-tst-printfsz.c): Likewise.
14170
14171 2014-12-11 Joseph Myers <joseph@codesourcery.com>
14172
14173 * include/cpio.h: New file.
14174 * include/fmtmsg.h: Likewise.
14175
14176 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
14177 corresponding format argument to size_t.
14178 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
14179 arguments.
14180 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
14181 corresponding format argument to size_t.
14182 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
14183 arguments.
14184 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
14185 corresponding format argument to size_t.
14186 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
14187 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
14188 (CFLAGS-tst-mbswcs2.c): Likewise.
14189 (CFLAGS-tst-mbswcs3.c): Likewise.
14190 (CFLAGS-tst-mbswcs4.c): Likewise.
14191 (CFLAGS-tst-mbswcs5.c): Likewise.
14192 (CFLAGS-tst-trans.c): Likewise
14193
14194 2014-12-11 Roland McGrath <roland@hack.frob.com>
14195
14196 * posix/regexbug1.c (main): Use "%s" format with regerror results,
14197 rather than assuming they won't contain any '%'s.
14198
14199 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
14200
14201 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
14202 inhibit_loop_to_libcall to avoid recursive calls.
14203 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
14204 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
14205
14206 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
14207
14208 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
14209 prototype.
14210
14211 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
14212
14213 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
14214 integer value instead of boolean.
14215
14216 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
14217
14218 * malloc/malloc.c: Fix powerof2 check.
14219
14220 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14221
14222 * locale/programs/locfile.h (maybe_swap_uint32):
14223 Remove inline and add unused attribute.
14224
14225 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14226
14227 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14228 Truncating assembler expression to a .long expression.
14229
14230 2014-12-11 Andreas Schwab <schwab@suse.de>
14231
14232 * elf/rtld.c (struct map_args): Constify str member.
14233 (do_preload): Constify fname argument.
14234
14235 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14236
14237 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
14238 constants definition.
14239
14240 2014-12-11 Andreas Schwab <schwab@suse.de>
14241
14242 [BZ #16657]
14243 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
14244 FORCE_ELISION instead of DO_ELISION.
14245 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
14246 Remove.
14247 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
14248 Likewise.
14249
14250 * iconvdata/gconv-modules: Remove duplicate entry.
14251
14252 2014-12-11 Will Newton <will.newton@linaro.org>
14253
14254 Merge gettext 0.19.3 into intl/.
14255
14256 This involves a number of cosmetic changes to comments
14257 and ANSI function definitions and prototypes throughout
14258 all the files. The gettext copyright header is used but
14259 with the date ranges taken from the glibc copy.
14260
14261 * NEWS: Add gettext merge to 2.21.
14262 * intl/bindtextdom.c: Switch to gettext copyright.
14263 Use ANSI definitions and prototypes.
14264 Use gl_* locking primitives rather than __libc_* ones.
14265 Use __builtin_expect rather than __glibc_likely/unlikely.
14266 * intl/dcgettext.c: Switch to gettext copyright.
14267 Use ANSI definitions and prototypes.
14268 * intl/dcigettext.c: Switch to gettext copyright.
14269 Use ANSI definitions and prototypes.
14270 (INTDIV0_RAISES_SIGFPE): New define.
14271 Use gl_* locking primitives rather than __libc_* ones.
14272 Include eval-plural.h instead of plural-eval.c.
14273 Use __builtin_expect rather than __glibc_likely/unlikely.
14274 * intl/dcngettext.c: Switch to gettext copyright.
14275 Use ANSI definitions and prototypes.
14276 * intl/dgettext.c: Likewise.
14277 * intl/dngettext.c: Likewise.
14278 * intl/plural-eval.c: Renamed to...
14279 * intl/eval-plural.h: ...this.
14280 * intl/explodename.c: Switch to gettext copyright.
14281 Use ANSI definitions and prototypes.
14282 (_nl_explode_name): Use strchr instead of __rawmemchr.
14283 * intl/finddomain.c: Switch to gettext copyright.
14284 Use ANSI definitions and prototypes.
14285 Use gl_* locking primitives rather than __libc_* ones.
14286 (_nl_find_domain): Use malloc rather than alloca for
14287 allocation of temporary locale name.
14288 * intl/gettext.c: Switch to gettext copyright.
14289 Use ANSI definitions and prototypes.
14290 * intl/gettextP.h: Switch to gettext copyright.
14291 Use ANSI definitions and prototypes.
14292 Use gl_* locking primitives rather than __libc_* ones.
14293 * intl/gmo.h: Switch to gettext copyright.
14294 (struct sysdep_string): Move struct segment_pair outside of
14295 struct definition.
14296 * intl/hash-string.c: Use ANSI definitions and prototypes.
14297 * intl/hash-string.h: Switch to gettext copyright.
14298 Use ANSI definitions and prototypes.
14299 * intl/l10nflist.c: Switch to gettext copyright.
14300 Use ANSI definitions and prototypes.
14301 (_nl_normalize_codeset): Avoid integer overflow.
14302 * intl/loadinfo.h: Switch to gettext copyright.
14303 Use ANSI definitions and prototypes.
14304 (LIBINTL_DLL_EXPORTED): New define.
14305 (PATH_SEPARATOR): New define.
14306 * intl/loadmsgcat.c: Switch to gettext copyright.
14307 * intl/localealias.c: Switch to gettext copyright.
14308 Use ANSI definitions and prototypes.
14309 (_nl_expand_alias): Use PATH_SEPARATOR.
14310 * intl/ngettext.c: Switch to gettext copyright.
14311 Use ANSI definitions and prototypes.
14312 * intl/plural-exp.c: Likewise.
14313 * intl/plural-exp.h: Switch to gettext copyright.
14314 Use ANSI definitions and prototypes.
14315 (struct expression): Move definition of enum operator outside
14316 of struct definition.
14317 * intl/plural.c: Regenerate.
14318 * intl/plural.y: Switch to gettext copyright.
14319 Use ANSI definitions and prototypes.
14320 Port to bison 3.0.
14321 * intl/textdomain.c: Switch to gettext copyright.
14322 Use ANSI definitions and prototypes.
14323 Use gl_* locking primitives rather than __libc_* ones.
14324
14325 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
14326
14327 * debug/warning-nop.c: Add used atrribute.
14328
14329 2014-12-10 Joseph Myers <joseph@codesourcery.com>
14330
14331 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
14332
14333 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
14334 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
14335 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
14336
14337 2014-12-10 Joseph Myers <joseph@codesourcery.com>
14338 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14339
14340 [BZ #17634]
14341 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
14342 Undefine after defining function. Define as weak alias of
14343 __wcschr. Use libc_hidden_weak.
14344 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
14345 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
14346 (libc_hidden_def): Also define __GI___wcschr alias.
14347 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
14348 __wcschr and define as weak alias of __wcschr.
14349 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
14350 __wcschr.
14351 [!WCSCHR] (DEFAULT_WCSCHR): Define.
14352 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
14353 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
14354 libc_hidden_weak. Do not use libc_hidden_def.
14355 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
14356 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
14357 __GI___wcschr alias.
14358 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
14359 [IS_IN (libc)] (wcschr): Define as macro expanding to
14360 __redirect_wcschr.
14361 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
14362 [IS_IN (libc)] (__wcschr_power6): Likewise.
14363 [IS_IN (libc)] (__wcschr_power7): Likewise.
14364 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
14365 instead of wcschr.
14366 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
14367 __libc_wcschr.
14368 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
14369 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
14370 __wcschr and define as weak alias of __wcschr. Use
14371 libc_hidden_builtin_def.
14372 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
14373 as weak alias of __wcschr. Use libc_hidden_weak.
14374 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
14375 wcschr.
14376 * time/era.c (_nl_init_era_entries): Likewise.
14377 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
14378 variable.
14379 (test-xfail-XPG3/time.h/linknamespace): Likewise.
14380 (test-xfail-XPG4/time.h/linknamespace): Likewise.
14381
14382 2014-12-10 Joseph Myers <joseph@codesourcery.com>
14383
14384 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
14385 format for long int variable.
14386
14387 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
14388
14389 [BZ #10672]
14390 * manual/search.texi: (Array Sort Function): Remove claim how to make
14391 qsort stable.
14392
14393 2014-12-10 Andreas Schwab <schwab@suse.de>
14394
14395 [BZ #12847]
14396 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
14397 user-controlled locks.
14398
14399 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
14400
14401 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
14402 register.
14403
14404 2014-12-10 Joseph Myers <joseph@codesourcery.com>
14405
14406 * configure.ac (--disable-werror): New configure option.
14407 (enable_werror): New AC_SUBST.
14408 * configure: Regenerated.
14409 * config.make.in (enable-werror): New variable.
14410 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
14411 -Wno-error=undef.
14412 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
14413 * manual/install.texi (Configuring and compiling): Document
14414 --disable-werror.
14415 * INSTALL: Regenerated.
14416 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
14417 (CFLAGS-tst-chk2.c): Likewise.
14418 (CFLAGS-tst-chk3.c): Likewise.
14419 (CFLAGS-tst-chk4.cc): Likewise.
14420 (CFLAGS-tst-chk5.cc): Likewise.
14421 (CFLAGS-tst-chk6.cc): Likewise.
14422 (CFLAGS-tst-lfschk1.c): Likewise.
14423 (CFLAGS-tst-lfschk2.c): Likewise.
14424 (CFLAGS-tst-lfschk3.c): Likewise.
14425 (CFLAGS-tst-lfschk4.cc): Likewise.
14426 (CFLAGS-tst-lfschk5.cc): Likewise.
14427 (CFLAGS-tst-lfschk6.cc): Likewise.
14428
14429 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
14430 (main): Disable -Wdeprecated-declarations around calls to
14431 register_printf_function.
14432
14433 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
14434 (do_test): Disable -Wdiv-by-zero around some calls to
14435 fwrite_unlocked and fread_unlocked.
14436
14437 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
14438 (DIAG_POP_NEEDS_COMMENT): Likewise.
14439 (_DIAG_STR1): Likewise.
14440 (_DIAG_STR): Likewise.
14441 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
14442 * stdio-common/bug21.c: Include <libc-internal.h>.
14443 (do_test): Disable -Wformat around call to sscanf.
14444 * stdio-common/scanf14.c: Include <libc-internal.h>.
14445 (main): Disable -Wformat around some calls to scanf functions.
14446
14447 2014-12-09 Torvald Riegel <triegel@redhat.com>
14448
14449 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
14450
14451 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14452
14453 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
14454 stack variable alignment.
14455
14456 2014-12-06 Joseph Myers <joseph@codesourcery.com>
14457
14458 [BZ #17682]
14459 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
14460 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
14461 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
14462 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
14463 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
14464 __getrlimit instead of getrlimit.
14465 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
14466 __gettimeofday instead of gettimeofday.
14467 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14468 Likewise.
14469 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14470 Likewise.
14471 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14472 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
14473 Remove variable.
14474 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14475 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14476
14477 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14478
14479 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
14480 for wide-character tests.
14481
14482 2014-12-04 Roland McGrath <roland@hack.frob.com>
14483
14484 * io/openat64.c: #include <libc-internal.h>
14485 (__openat64): Prototypify. Use ignore_value on MODE.
14486 * io/openat.c: Likewise.
14487 * misc/reboot.c: #include <libc-internal.h>
14488 (reboot): Prototypify. Use ignore_value on HOWTO.
14489 * misc/ptrace.c: #include <libc-internal.h>
14490 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
14491
14492 2014-12-04 Joseph Myers <joseph@codesourcery.com>
14493
14494 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
14495 XPG4, UNIX98 and XOPEN2K.
14496 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
14497 Remove variable.
14498 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
14499
14500 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14501
14502 * libio/fileops.c: Use ISO C style for function definitions.
14503 * libio/iofopen.c: Likewise.
14504 * libio/wfileops.c: Likewise.
14505
14506 [BZ #17653]
14507 * libio/fileops.c (_IO_new_file_underflow): Unset cached
14508 offset on EOF.
14509 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14510 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
14511 (fgets_func): Function pointer to fgets and fgetws.
14512 (do_ftell_test): Add test to verify ftell value after read
14513 EOF.
14514 (do_test): Set fgets_func.
14515
14516 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
14517 O_TRUNC flag for w and w+ modes.
14518 (do_rewind_test): Likewise.
14519 (do_ftell_test): Likewise.
14520 (do_write_test): Likewise.
14521
14522 [BZ #17647]
14523 * libio/fileops.c (do_ftell): Seek only when there are
14524 unflushed writes.
14525 * libio/wfileops.c (do_ftell_wide): Likewise.
14526 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
14527 test case.
14528 (do_one_test): Call it.
14529
14530 2014-12-03 Joseph Myers <joseph@codesourcery.com>
14531
14532 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
14533 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
14534 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
14535 Remove variable.
14536 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
14537 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
14538 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
14539
14540 2014-12-02 Joseph Myers <joseph@codesourcery.com>
14541
14542 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
14543 Remove variable.
14544 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
14545
14546 [BZ #17668]
14547 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
14548 as weak alias of __getifaddrs. Use libc_hidden_weak.
14549 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
14550 __freeifaddrs. Use libc_hidden_weak.
14551 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
14552 define as weak alias of __getifaddrs. Use libc_hidden_weak.
14553 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
14554 __freeifaddrs. Use libc_hidden_weak.
14555 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
14556 __getifaddrs and define as weak alias of __getifaddrs. Use
14557 libc_hidden_weak.
14558 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
14559 __freeifaddrs. Use libc_hidden_weak.
14560 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
14561 Remove variable.
14562 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
14563 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
14564
14565 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
14566
14567 [BZ #17601]
14568 * sysdeps/mips/start.S (__start): Use indirect jump to call
14569 __libc_start_main.
14570
14571 2014-12-02 Joseph Myers <joseph@codesourcery.com>
14572
14573 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
14574
14575 * nptl/tst-mutex1.c: Include <stdbool.h>.
14576 [!ATTR] (ATTR_NULL): New macro.
14577 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
14578 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
14579 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
14580
14581 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
14582 to char *.
14583
14584 [BZ #17665]
14585 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
14586 Change conditional to [__USE_MISC].
14587
14588 [BZ #17664]
14589 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
14590 fgets_unlocked.
14591 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
14592 __fgets_unlocked.
14593 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
14594 fgets_unlocked.
14595 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
14596 Remove variable.
14597 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
14598 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
14599 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
14600 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
14601 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
14602 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
14603 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
14604 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
14605 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
14606
14607 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
14608
14609 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14610
14611 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14612 Remove strpbrk objects.
14613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14614 (__libc_ifunc_impl_list): Remove strpbrk implementation.
14615 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
14616 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
14617 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
14618 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
14619
14620 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14621 Remove strcspn objects.
14622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14623 (__libc_ifunc_impl_list): Remove strcspn implementation.
14624 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
14625 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
14626 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
14627 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
14628
14629 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14630 Remove strspn objetcs.
14631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14632 (__libc_ifunc_impl_list): Remove strspn implementation.
14633 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
14634 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
14635 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
14636 * sysdeps/powerpc/powerpc64/strspn.S: New file.
14637
14638 2014-12-01 James Lemke <jwlemke@codesourcery.com>
14639
14640 [BZ #17581]
14641 * malloc/hooks.c
14642 (mem2mem_check): Add a terminator to the chain of checking blocks.
14643 (malloc_check_get_size): Use it here.
14644 (mem2chunk_check): Ditto.
14645
14646 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14647
14648 * sysdeps/powerpc/powerpc64/strtok.S: New file.
14649 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
14650
14651 2014-11-29 Carlos O'Donell <carlos@redhat.com>
14652
14653 * bits/ioctl-types.h: Indent preprocessor directives correctly.
14654
14655 * nptl/nptl-init.c: Include libc-internal.h.
14656 (__pthread_initialize_minimal_internal): Use ROUND_UP.
14657
14658 * elf/ldconfig.c (search_dir): Expand comment.
14659
14660 2014-11-29 Joseph Myers <joseph@codesourcery.com>
14661
14662 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
14663 variable.
14664 (linknamespace-symlist-stdlibs-tests): Likewise.
14665 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
14666 instead of $(objpfx)symlist-stdlibs.
14667 (linknamespace-libs-isoc): New variable.
14668 (linknamespace-libs): Use $(linknamespace-libs-isoc).
14669 (linknamespace-libs-ISO): New variable.
14670 (linknamespace-libs-ISO99): Likewise.
14671 (linknamespace-libs-ISO11): Likewise.
14672 (linknamespace-libs-XPG3): Likewise.
14673 (linknamespace-libs-XPG4): Likewise.
14674 (linknamespace-libs-POSIX): Likewise.
14675 (linknamespace-libs-UNIX98): Likewise.
14676 (linknamespace-libs-XOPEN2K): Likewise.
14677 (linknamespace-libs-POSIX2008): Likewise.
14678 (linknamespace-libs-XOPEN2K8): Likewise.
14679 ($(objpfx)symlist-stdlibs): Replace by
14680 $(linknamespace-symlist-stdlibs-tests). Use
14681 $(linknamespace-libs-$*) as set of libraries.
14682 ($(linknamespace-header-tests)): Update dependencies. Use
14683 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
14684 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
14685 * conform/linknamespace.pl: Remove comment about considering
14686 definitions of symbols from irrelevant libraries.
14687
14688 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
14689
14690 [BZ #13862]
14691 * elf/dl-tls.c: Include <atomic.h>.
14692 (oom): Remove #ifdef SHARED/#endif.
14693 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
14694 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
14695 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
14696 big enough.
14697 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
14698 * nptl/Makefile (tests): Add tst-stack4.
14699 (modules-names): Add tst-stack4mod.
14700 ($(objpfx)tst-stack4): New.
14701 (tst-stack4mod.sos): Likewise.
14702 ($(objpfx)tst-stack4.out): Likewise.
14703 ($(tst-stack4mod.sos)): Likewise.
14704 (clean): Likewise.
14705 * nptl/tst-stack4.c: New file.
14706 * nptl/tst-stack4mod.c: Likewise.
14707
14708 2014-11-27 J. Brown <jb999@gmx.de>
14709
14710 * sysdeps/x86/bits/string.h: Add recent CPUs.
14711
14712 2014-11-27 Joseph Myers <joseph@codesourcery.com>
14713
14714 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
14715 sigblock.
14716
14717 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
14718 feof.
14719
14720 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
14721 variable.
14722
14723 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
14724
14725 * nscd/connections.c: Include libc-internal.h because of macro
14726 usage ignore_value.
14727
14728 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14729
14730 * string/bits/string3.h (__warn_memset_zero_len): Don't
14731 declare for gcc newer than 5.0.
14732 (memset): Don't test for zero-length __LEN for gcc newer than
14733 5.0.
14734
14735 2014-11-27 Joseph Myers <joseph@codesourcery.com>
14736
14737 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
14738 size_t for %zu format.
14739
14740 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
14741 difference, not %ju.
14742
14743 2014-11-26 Joseph Myers <joseph@codesourcery.com>
14744
14745 * include/libc-internal.h (ignore_value): New macro.
14746 * nscd/connections.c (restart): Wrap calls to setuid and setgid
14747 with ignore_value.
14748
14749 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
14750 definition.
14751
14752 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
14753 pthread_cleanup_push to void *.
14754
14755 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
14756 Undefine.
14757
14758 [BZ #16619]
14759 [BZ #16740]
14760 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
14761 instead of 1L << 52.
14762
14763 * libio/bug-rewind.c (do_test): Check fwscanf return values.
14764 * libio/bug-rewind2.c (do_test): Likewise.
14765
14766 * debug/test-stpcpy_chk-ifunc.c: Remove file.
14767 * debug/test-strcpy_chk-ifunc.c: Likewise.
14768 * wcsmbs/test-wcschr-ifunc.c: Likewise.
14769 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14770 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14771 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14772 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14773 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14774 * Rules [$(multi-arch) = no] (tests): Do not filter out
14775 $(tests-ifunc).
14776 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
14777 * debug/Makefile (tests-ifunc): Remove variable.
14778 (tests): Do not add $(tests-ifunc).
14779 * wcsmbs/Makefile (tests-ifunc): Remove variable.
14780 (tests): Do not add $(tests-ifunc).
14781 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
14782 [TEST_IFUNC]: Remove conditionals.
14783 * string/test-string.h (TEST_IFUNC): Remove macro.
14784 [TEST_IFUNC]: Remove conditionals.
14785
14786 * string/test-strchr.c [!WIDE] (L): New macro.
14787 [WIDE] (L): Likewise.
14788 (check1): Use CHAR instead of char. Use L on string and character
14789 constants.
14790
14791 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
14792
14793 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
14794 tests.
14795 * sysdeps/powerpc/bits/atomic.h
14796 (__arch_atomic_exchange_and_add_32_acq): Add definition.
14797 (__arch_atomic_exchange_and_add_32_rel): Likewise.
14798 (atomic_exchange_and_add_acq): Likewise.
14799 (atomic_exchange_and_add_rel): Likewise.
14800 * sysdeps/powerpc/powerpc32/bits/atomic.h
14801 (__arch_atomic_exchange_and_add_64_acq): Add definition.
14802 (__arch_atomic_exchange_and_add_64_rel): Likewise.
14803 * sysdeps/powerpc/powerpc64/bits/atomic.h
14804 (__arch_atomic_exchange_and_add_64_acq): Add definition.
14805 (__arch_atomic_exchange_and_add_64_rel): Likewise.
14806
14807 2014-11-26 Torvald Riegel <triegel@redhat.com>
14808
14809 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
14810 Change synchronization of __sched_fifo_min_prio and
14811 __sched_fifo_max_prio.
14812 * nptl/pthread_mutexattr_getprioceiling.c
14813 (pthread_mutexattr_getprioceiling): Likewise.
14814 * nptl/pthread_mutexattr_setprioceiling.c
14815 (pthread_mutexattr_setprioceiling): Likewise.
14816 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
14817 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
14818 Likewise.
14819
14820 2014-11-26 Joseph Myers <joseph@codesourcery.com>
14821
14822 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
14823 void.
14824
14825 2014-11-25 Joseph Myers <joseph@codesourcery.com>
14826
14827 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
14828 third argument const.
14829
14830 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
14831
14832 fnmatch: work around GCC compiler warning bug with uninit var
14833 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
14834 This works around a bug with x86-64 GCC 4.9.2 and earlier
14835 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
14836 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
14837 used uninitialized in this function [-Wmaybe-uninitialized]".
14838
14839 2014-11-25 Joseph Myers <joseph@codesourcery.com>
14840
14841 * posix/bug-regex31.c (main): Return RES not 0.
14842
14843 2014-11-25 Anton Blanchard <anton@samba.org>
14844
14845 * sysdeps/powerpc/bits/atomic.h
14846 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
14847
14848 2014-11-24 Sterling Augustine <saugustine@google.com>
14849
14850 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
14851
14852 2014-11-24 Ryan Cumming <etaoins@gmail.com>
14853
14854 [BZ #17608]
14855 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
14856
14857 2014-11-24 Joseph Myers <joseph@codesourcery.com>
14858
14859 [BZ #17633]
14860 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
14861 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
14862 variable.
14863 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
14864 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
14865
14866 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
14867
14868 * string/strncpy.c (strncpy): Improve performance by using memset.
14869
14870 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
14871
14872 * string/strcpy.c (strcpy):
14873 Improve performance by using strlen and memcpy.
14874
14875 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
14876
14877 * string/strcoll_l.c (get_next_seq): __always_inline.
14878 * string/strcoll_l.c (do_compare): __always_inline.
14879
14880 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14881
14882 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
14883 defined.
14884 * include/mqueue.h: Likewise.
14885 * include/stdlib.h: Likewise.
14886
14887 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
14888 (get_null_defines): Adjust.
14889 * sunrpc/Makefile: Adjust comment.
14890 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
14891 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
14892 (CFLAGS-interp.c): Likewise.
14893 (CFLAGS-ldconfig.c): Likewise.
14894 (CPPFLAGS-.os): Likewise.
14895 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14896 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
14897 * extra-modules.mk (extra-modules.mk): Likewise.
14898 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
14899 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
14900 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
14901 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
14902 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
14903 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
14904 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
14905 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
14906 * iconvdata/Makefile (CPPFLAGS): Likewise.
14907 (cpp-srcs-left): Add libof for all iconvdata routines.
14908 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
14909 * include/assert.h: Likewise.
14910 * include/ctype.h: Likewise.
14911 * include/errno.h: Likewise.
14912 * include/libc-symbols.h: Likewise.
14913 * include/math.h: Likewise.
14914 * include/netdb.h: Likewise.
14915 * include/resolv.h: Likewise.
14916 * include/stdio.h: Likewise.
14917 * include/stdlib.h: Likewise.
14918 * include/string.h: Likewise.
14919 * include/sys/stat.h: Likewise.
14920 * include/wctype.h: Likewise.
14921 * intl/l10nflist.c: Likewise.
14922 * libidn/idn-stub.c: Likewise.
14923 * libio/libioP.h: Likewise.
14924 * nptl/libc_multiple_threads.c: Likewise.
14925 * nptl/pthreadP.h: Likewise.
14926 * posix/regex_internal.h: Likewise.
14927 * resolv/res_hconf.c: Likewise.
14928 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
14929 * sysdeps/arm/memmove.S: Likewise.
14930 * sysdeps/arm/sysdep.h: Likewise.
14931 * sysdeps/generic/_itoa.h: Likewise.
14932 * sysdeps/generic/symbol-hacks.h: Likewise.
14933 * sysdeps/gnu/errlist.awk: Likewise.
14934 * sysdeps/gnu/errlist.c: Likewise.
14935 * sysdeps/i386/i586/memcpy.S: Likewise.
14936 * sysdeps/i386/i586/memset.S: Likewise.
14937 * sysdeps/i386/i686/memcpy.S: Likewise.
14938 * sysdeps/i386/i686/memmove.S: Likewise.
14939 * sysdeps/i386/i686/mempcpy.S: Likewise.
14940 * sysdeps/i386/i686/memset.S: Likewise.
14941 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14942 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14943 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
14944 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
14945 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14946 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14947 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
14948 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14949 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14950 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14951 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14952 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14953 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14954 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14955 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14956 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14957 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
14958 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
14959 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
14960 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14961 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14962 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14963 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14964 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14965 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14966 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14967 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
14968 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14969 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
14970 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14971 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14972 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14973 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14974 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14975 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14976 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14977 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14978 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14979 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14980 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14981 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14982 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14983 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14984 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14985 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14986 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14987 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
14988 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
14989 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14990 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14991 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14992 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
14993 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
14994 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14995 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14996 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
14997 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14998 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
14999 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
15000 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15001 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15002 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15003 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
15004 * sysdeps/nptl/bits/libc-lock.h: Likewise.
15005 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
15006 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
15007 * sysdeps/posix/closedir.c: Likewise.
15008 * sysdeps/posix/opendir.c: Likewise.
15009 * sysdeps/posix/readdir.c: Likewise.
15010 * sysdeps/posix/rewinddir.c: Likewise.
15011 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
15012 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
15013 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15014 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15015 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15016 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
15017 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
15018 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
15019 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15020 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
15021 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15022 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15023 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15024 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
15025 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
15026 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
15027 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15028 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15029 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
15030 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
15031 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15032 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
15033 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
15034 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15035 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
15036 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
15037 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
15038 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15039 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15040 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
15041 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
15042 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
15043 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
15044 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
15045 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
15046 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
15047 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15048 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15049 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
15050 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
15051 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
15052 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
15053 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15054 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
15055 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
15056 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
15057 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
15058 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15059 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
15060 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
15061 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
15062 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15063 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
15064 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15065 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15066 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
15067 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
15068 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15069 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15070 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
15071 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
15072 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15073 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15074 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15075 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
15076 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
15077 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
15078 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
15079 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
15080 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
15081 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
15082 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15083 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
15084 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15085 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15086 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
15087 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
15088 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15089 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
15090 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
15091 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15092 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15093 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
15094 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
15095 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15096 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
15097 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
15098 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15099 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15100 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15101 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
15102 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
15103 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
15104 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15105 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15106 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
15107 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15108 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15109 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
15110 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
15111 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15112 * sysdeps/unix/alpha/sysdep.S: Likewise.
15113 * sysdeps/unix/alpha/sysdep.h: Likewise.
15114 * sysdeps/unix/make-syscalls.sh: Likewise.
15115 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
15116 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15117 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
15118 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
15119 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
15120 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
15121 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
15122 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15123 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
15124 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
15125 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15126 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
15127 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15128 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
15129 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
15130 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15131 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15132 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15133 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
15134 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
15135 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
15136 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15137 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
15138 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15139 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
15140 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
15141 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
15143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
15144 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
15145 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15146 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
15147 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15148 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15149 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15150 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
15151 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15153 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15154 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
15155 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15156 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
15157 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15158 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15159 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15160 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
15161 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15162 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15163 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15164 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15165 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15166 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
15167 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15168 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
15169 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15170 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15171 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
15172 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15173 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
15174 * sysdeps/x86_64/memcpy.S: Likewise.
15175 * sysdeps/x86_64/memmove.c: Likewise.
15176 * sysdeps/x86_64/memset.S: Likewise.
15177 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
15178 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15179 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15180 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
15181 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
15182 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15183 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15184 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15185 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15186 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15187 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15188 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15189 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
15190 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15191 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15192 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
15193 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15194 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15195 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15196 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15197 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
15198 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15199 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15200 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15201 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15202 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15203 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15204 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
15205 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15206 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15207 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
15208 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15209 * sysdeps/x86_64/strcmp.S: Likewise.
15210
15211 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
15212
15213 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
15214 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
15215 * elf/rtld-Rules: Likewise.
15216 * elf/setup-vdso.h: Likewise.
15217 * include/assert.h: Likewise.
15218 * include/bits/stdlib-float.h: Likewise.
15219 * include/errno.h: Likewise.
15220 * include/sys/stat.h: Likewise.
15221 * include/unistd.h: Likewise.
15222 * sysdeps/aarch64/setjmp.S: Likewise.
15223 * sysdeps/alpha/setjmp.S: Likewise.
15224 * sysdeps/arm/__longjmp.S: Likewise.
15225 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
15226 * sysdeps/arm/setjmp.S: Likewise.
15227 * sysdeps/arm/sysdep.h: Likewise.
15228 * sysdeps/generic/_itoa.h: Likewise.
15229 * sysdeps/generic/dl-sysdep.h: Likewise.
15230 * sysdeps/generic/ldsodefs.h: Likewise.
15231 * sysdeps/i386/dl-tls.h: Likewise.
15232 * sysdeps/i386/setjmp.S: Likewise.
15233 * sysdeps/m68k/setjmp.c: Likewise.
15234 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
15235 * sysdeps/mach/hurd/opendir.c: Likewise.
15236 * sysdeps/posix/getcwd.c: Likewise.
15237 * sysdeps/posix/opendir.c: Likewise.
15238 * sysdeps/posix/profil.c: Likewise.
15239 * sysdeps/powerpc/dl-procinfo.h: Likewise.
15240 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15241 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15242 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15243 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15244 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
15245 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15246 * sysdeps/s390/dl-tls.h: Likewise.
15247 * sysdeps/s390/s390-32/setjmp.S: Likewise.
15248 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15249 * sysdeps/sh/sh3/setjmp.S: Likewise.
15250 * sysdeps/sh/sh4/setjmp.S: Likewise.
15251 * sysdeps/unix/alpha/sysdep.h: Likewise.
15252 * sysdeps/unix/arm/sysdep.S: Likewise.
15253 * sysdeps/unix/i386/sysdep.S: Likewise.
15254 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15255 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15256 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15257 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15258 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15259 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
15260 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15261 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15262 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15263 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
15264 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15265 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15266 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15269 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15270 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15271 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15272 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15273 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15274 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15275 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15276 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15277 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15278 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15279 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15280 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15281 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15282 * sysdeps/x86_64/setjmp.S: Likewise.
15283
15284 * include/math.h: Use IS_IN instead of IS_IN_libm.
15285 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
15286 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15287 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15288 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15289 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15290 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15291 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15292 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15293 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15294 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15295 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
15296 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
15297 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
15298 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
15299 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
15300 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
15301 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
15302 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
15303 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
15304 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
15305 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
15306 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
15307 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
15308 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
15309 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
15310 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
15311 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
15312 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
15313 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
15314 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
15315 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
15316 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15317 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
15319 Likewise.
15320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
15321 Likewise.
15322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
15323 Likewise.
15324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
15325 Likewise.
15326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
15327 Likewise.
15328 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15329 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
15330 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15331 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15332 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15333 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
15335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
15336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
15337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
15338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
15339 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
15340 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
15341 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15342 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15343 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15344 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15345 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15346 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15347 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15348 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
15349 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
15350 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
15351 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
15352 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
15353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15354 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
15355
15356 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
15357 * nptl/pthreadP.h: Likewise.
15358 * nptl_db/structs.def: Likewise.
15359 * sysdeps/arm/sysdep.h: Likewise.
15360 * sysdeps/nptl/bits/libc-lock.h: Likewise.
15361 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
15362 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
15363 * sysdeps/unix/alpha/sysdep.h: Likewise.
15364 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
15365 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15366 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
15367 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
15368 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
15369 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
15370 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15371 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
15372 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15373 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
15374 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
15375 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15376 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
15377 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
15378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
15379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
15380 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
15381 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
15382 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
15383 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
15384 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15385 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
15386 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15387 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
15388 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15389 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
15390
15391 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
15392 * nptl/pthreadP.h: Likewise.
15393 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
15394 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
15395 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
15396 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
15397 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
15398 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
15399 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15400 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
15401 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
15402 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15403 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
15404 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
15405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15406 Likewise.
15407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15408 Likewise.
15409 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
15410 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
15411 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
15412 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
15413 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15414 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
15415 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
15416 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
15417
15418 * dlfcn/dladdr.c: Use IS_IN.
15419 * dlfcn/dladdr1.c: Likewise.
15420 * dlfcn/dlclose.c: Likewise.
15421 * dlfcn/dlerror.c: Likewise.
15422 * dlfcn/dlinfo.c: Likewise.
15423 * dlfcn/dlmopen.c: Likewise.
15424 * dlfcn/dlopen.c: Likewise.
15425 * dlfcn/dlsym.c: Likewise.
15426 * dlfcn/dlvsym.c: Likewise.
15427
15428 * include/ifaddrs.h: Use IS_IN.
15429 * inet/check_pf.c: Likewise.
15430 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15431 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
15432
15433 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
15434 IS_IN_ldconfig.
15435 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
15436 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
15437
15438 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
15439 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
15440 IS_IN (libc).
15441
15442 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
15443
15444 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
15445 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15446 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
15447 * include/libc-symbols.h (IS_IN_LIB): New macro.
15448 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
15449 * include/netdb.h: Likewise.
15450 * include/stap-probe.h: Remove all uses of IN_LIB.
15451
15452 * Makeconfig (module-cppflags-real): Define MODULE_NAME
15453 instead of IN_MODULE.
15454 * include/libc-symbols.h (IN_MODULE): Define using
15455 MODULE_NAME.
15456 (PASTE_NAME, PASTE_NAME1): New macros.
15457 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
15458 of IN_LIB.
15459 (STAP_PROBE_ASM): Likewise.
15460
15461 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
15462
15463 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
15464 __mach_init in dlopened libc.
15465
15466 2014-11-22 Mike Frysinger <vapier@gentoo.org>
15467
15468 * sysdeps/arm/preconfigure.ac: Delete EABI check.
15469 * sysdeps/arm/preconfigure: Regenerate.
15470
15471 2014-11-21 Roland McGrath <roland@hack.frob.com>
15472
15473 * nptl/pthread_create.c (__pthread_create_2_1): Set
15474 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
15475 when copying values from IATTR into PD.
15476
15477 2014-11-21 Will Newton <will.newton@linaro.org>
15478 Andrew Pinski <andrew.pinski@caviumnetworks.com>
15479
15480 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
15481 Refactor inline-asm. Also add comment.
15482
15483 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
15484 ElfW macro instead of hardcoded Elf64 types.
15485 (la_aarch64_gnu_pltenter): Likewise.
15486 * sysdeps/aarch64/dl-machine.h
15487 (elf_machine_runtime_setup): Use ElfW(Addr).
15488
15489 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
15490 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
15491 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
15492 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
15493 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
15494 (R_AARCH64_TLS_DTPMOD64): Rename to ..
15495 (R_AARCH64_TLS_DTPMOD): This.
15496 (R_AARCH64_TLS_DTPREL64): Rename to ...
15497 (R_AARCH64_TLS_DTPREL): This.
15498 (R_AARCH64_TLS_TPREL64): Rename to ...
15499 (R_AARCH64_TLS_TPREL): This.
15500 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
15501 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
15502 R_AARCH64_TLS_TPREL64.
15503 (elf_machine_rela): Likewise.
15504
15505 2014-11-21 Torvald Riegel <triegel@redhat.com>
15506
15507 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
15508 by setting it to 0. 64b atomics are not supported currently.
15509
15510 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
15511
15512 [BZ #16469]
15513 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
15514 search domain names.
15515
15516 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
15517
15518 [BZ #16469]
15519 * NEWS: Update.
15520 * resolv/res_query.c (__libc_res_nquerydomain): Retain
15521 trailing dot.
15522 * posix/tst-getaddrinfo5.c: New.
15523 * posix/Makefile (tests): Add it.
15524
15525 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
15526
15527 [BZ #14498]
15528 * NEWS: Fixed.
15529 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
15530 after parsing line but before break_if_match.
15531 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
15532 if there is a protocol mismatch.
15533
15534 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
15535
15536 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
15537 because the potential race is on the user-supplied stream.
15538
15539 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
15540
15541 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
15542 string literal if not passed a buffer.
15543 * manual/job.texi (ctermid): Update reasoning, note deviation
15544 from posix, suggest mtasurace when not passed a buffer, for
15545 future non-preliminary safety notes.
15546
15547 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
15548
15549 * manual/users.texi (cuserid): Fix MT-Safety note for the case
15550 of not passing it a buffer.
15551 Reported by Peng Haitao.
15552
15553 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
15554
15555 * manual/Makefile ($(objpfx)stamp-summary): Require
15556 check-safety.sh to pass.
15557 * manual/check-safety.sh: Wish for verification that every
15558 @deftypefn and @deftypefun is followed by a @safety remark.
15559
15560 2014-11-20 Roland McGrath <roland@hack.frob.com>
15561
15562 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
15563
15564 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
15565 PTHREAD_CANCEL_ASYNCHRONOUS.
15566 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
15567 send SIGCANCEL.
15568
15569 * nptl/default-sched.h: New file.
15570 * sysdeps/unix/sysv/linux/default-sched.h: New file.
15571 * nptl/pthread_create.c: Include it.
15572 (__pthread_create_2_1): Use collect_default_sched instead of making
15573 Linux syscalls here directly.
15574
15575 2014-11-20 Torvald Riegel <triegel@redhat.com>
15576
15577 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
15578 __pthread_once): Use C11 atomics.
15579
15580 2014-11-20 Torvald Riegel <triegel@redhat.com>
15581
15582 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
15583
15584 2014-11-20 Torvald Riegel <triegel@redhat.com>
15585
15586 * include/atomic.h (__atomic_link_error, __atomic_check_size,
15587 atomic_thread_fence_acquire, atomic_thread_fence_release,
15588 atomic_thread_fence_seq_cst, atomic_load_relaxed,
15589 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
15590 atomic_compare_exchange_weak_relaxed,
15591 atomic_compare_exchange_weak_acquire,
15592 atomic_compare_exchange_weak_release,
15593 atomic_exchange_acquire, atomic_exchange_release,
15594 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
15595 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
15596 atomic_fetch_and_acquire,
15597 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
15598
15599 2014-11-20 Torvald Riegel <triegel@redhat.com>
15600
15601 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
15602 USE_ATOMIC_COMPILER_BUILTINS): Define.
15603 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
15604 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15605 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
15606 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15607 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
15608 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15609 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
15610 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15611 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
15612 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15613 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
15614 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15615 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
15616 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15617 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
15618 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15619 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
15620 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15621 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
15622 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15623 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
15624 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15625 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
15626 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15627 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
15628 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15629 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
15630 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15631 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
15632 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15633 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
15634 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15635 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
15636 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15637 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
15638 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15639 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
15640 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15641 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
15642 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15643
15644 2014-11-19 Roland McGrath <roland@hack.frob.com>
15645
15646 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
15647 the sched_priority value here. It was already checked when the user
15648 called pthread_attr_setschedparam.
15649
15650 * nptl/tst-bad-schedattr.c: New file.
15651 * nptl/Makefile (tests): Add it.
15652
15653 2014-11-19 Carlos O'Donell <carlos@redhat.com>
15654 Florian Weimer <fweimer@redhat.com>
15655 Joseph Myers <joseph@codesourcery.com>
15656 Adam Conrad <adconrad@0c3.net>
15657 Andreas Schwab <schwab@suse.de>
15658 Brooks <bmoses@google.com>
15659
15660 [BZ #17625]
15661 * wordexp-test.c (__dso_handle): Add prototype.
15662 (__register_atfork): Likewise.
15663 (__app_register_atfork): New function.
15664 (registered_forks): New global.
15665 (register_fork): New function.
15666 (test_case): Add 3 new tests for WRDE_CMDSUB.
15667 (main): Call __app_register_atfork.
15668 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
15669 fork count is non-zero fail the test.
15670 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
15671 is set.
15672 (parse_dollars): Remove check for WRDE_NOCMD.
15673 (parse_dquote): Likewise.
15674
15675 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15676
15677 * Makeconfig (built-modules): List non-library modules to be
15678 built.
15679 (module-cppflags): Include libc-modules.h for
15680 everything except shlib-versions.v.i.
15681 (CPPFLAGS): Use it.
15682 (before-compile): Add libc-modules.h.
15683 ($(common-objpfx)libc-modules.h,
15684 $(common-objpfx)libc-modules.stmp): New targets.
15685 (common-generated): Add libc-modules.h and libc-modules.stmp.
15686 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
15687 * include/libc-symbols.h: Don't include libc-modules.h.
15688 * include/libc-modules.h: Remove file.
15689 * scripts/gen-libc-modules.awk: New script to generate
15690 libc-modules.h.
15691 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
15692 Depend on libc-modules.stmp.
15693
15694 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
15695
15696 * Makeconfig (in-module): Get value of libof set for the
15697 translation unit.
15698 (CPPFLAGS): Use $(in-module).
15699 * Makerules: Don't suffix routine names for nonlib.
15700 * include/libc-modules.h: New file.
15701 * include/libc-symbols.h: Include libc-modules.h
15702 (IS_IN): New macro to replace IS_IN_* macros.
15703 * elf/Makefile: Set libof-* for each routine.
15704 * elf/rtld-Rules: Likewise.
15705 * extra-modules.mk: Likewise.
15706 * iconv/Makefile: Likewise.
15707 * iconvdata/Makefile: Likewise.
15708 * locale/Makefile: Likewise.
15709 * malloc/Makefile: Likewise.
15710 * nss/Makefile: Likewise.
15711 * sysdeps/gnu/Makefile: Likewise.
15712 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
15713 * sysdeps/unix/sysv/linux/Makefile: Likewise.
15714 * sysdeps/s390/s390-64/Makefile: Likewise.
15715 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
15716 CPPFLAGS for nscd instead of nonlib.
15717
15718 2014-11-18 Roland McGrath <roland@hack.frob.com>
15719
15720 * nptl/createthread.c: New file.
15721
15722 * nptl/createthread.c: Moved ...
15723 * sysdeps/unix/sysv/linux/createthread.c: ... here.
15724
15725 * nptl/createthread.c: Add proper top-line comment.
15726 (do_clone): Folded into ...
15727 (create_thread): ... here. Take new arguments STOPPED_START and
15728 THREAD_RAN. Always set PD->stopped_start to something here. Don't
15729 increment __nptl_threads, do event-reporting logic, do
15730 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
15731 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
15732 resource cleanup if sched_setaffinity or sched_setscheduler fails,
15733 just send SIGCANCEL.
15734 * nptl/pthread_create.c: Forward-declare create_thread before
15735 including createthread.c.
15736 (start_thread): Use new macro START_THREAD_DEFN to replace defining
15737 declaration, and new macro START_THREAD_SELF to replace argument.
15738 Remove return statement.
15739 (report_thread_creation): New function.
15740 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
15741 synchronization logic, and __nptl_nthreads increment here, around
15742 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
15743 PD->parent_cancelhandling here, before create_thread. When
15744 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
15745 __deallocate_stack, and ENOMEM translation here.
15746
15747 2014-11-18 Joseph Myers <joseph@codesourcery.com>
15748
15749 [BZ #17616]
15750 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
15751 (mptwo): Rename to __mptwo.
15752 (__inv): Use __mptwo instead of mptwo.
15753 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
15754 (mptwo): Rename to __mptwo.
15755 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
15756 of mpone and __mptwo instead of mptwo.
15757 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
15758 instead of mpone.
15759 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15760 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
15761 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
15762 of mpone and __mptwo instead of mptwo.
15763 (__mpranred): Use __mpone instead of mpone.
15764 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
15765 variable.
15766 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
15767 (test-xfail-ISO99/math.h/linknamespace): Likewise.
15768 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
15769 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
15770 (test-xfail-ISO11/math.h/linknamespace): Likewise.
15771 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
15772 (test-xfail-XPG3/math.h/linknamespace): Likewise.
15773 (test-xfail-XPG4/math.h/linknamespace): Likewise.
15774 (test-xfail-POSIX/math.h/linknamespace): Likewise.
15775 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
15776 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
15777 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
15778 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
15779 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
15780 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
15781 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
15782 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
15783 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
15784 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
15785
15786 2014-11-18 Tom de Vries <tom@codesoucery.com>
15787
15788 * manual/signal.texi (Primitives Interrupted by Signals): In section,
15789 replace BSD Handler xref with BSD Signal Handling.
15790
15791 2014-11-17 Richard Henderson <rth@redhat.com>
15792
15793 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
15794 (_FP_PACK_RAW_2): Remove.
15795 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
15796 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
15797 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
15798 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
15799 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
15800 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
15801 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
15802 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
15803 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
15804 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
15805 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
15806 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
15807 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
15808 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
15809 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
15810 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
15811
15812 2014-11-14 Roland McGrath <roland@hack.frob.com>
15813
15814 * signal/signal.h [__USE_MISC]
15815 (struct sigvec): Remove type.
15816 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
15817 (sigvec): Remove declaration.
15818 * sysdeps/posix/sigvec.c: Moved ...
15819 * signal/sigvec.c: ... here, replacing old file.
15820 (struct sigvec): New type, copied from old signal.h definition.
15821 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
15822 (__sigvec): Convert definition to prototype.
15823 (sigvec): Replace weak_alias with compat_symbol.
15824 * signal/Versions (libc: GLIBC_2.21): New version set.
15825 * include/signal.h: Remove __sigvec declaration.
15826 * sysdeps/unix/bsd/sigvec.c: Remove file.
15827 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
15828 * manual/signal.texi (BSD Handler): Remove subsection.
15829 Move siginterrupt up to ...
15830 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
15831 (Blocking in BSD): Fold subsection into its parent.
15832 * NEWS: Mention sigvec removal.
15833
15834 2014-11-14 Joseph Myers <joseph@codesourcery.com>
15835
15836 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
15837 (DLA_FMS): Make definition conditional only on [__FMA4__].
15838 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
15839 definition.
15840
15841 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
15842 Make definition conditional only on [PROF].
15843 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
15844 definition.
15845 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
15846 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
15847
15848 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
15849 !__GNUC__].
15850 * include/signal.h (__sigpause): Move declaration above call to
15851 libc_hidden_proto.
15852 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
15853 variable.
15854 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
15855 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
15856
15857 2014-11-14 David S. Miller <davem@davemloft.net>
15858
15859 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
15860 Define before including <string/memcpy.c> and <string/mempcpy.c>.
15861
15862 2014-11-14 Joseph Myers <joseph@codesourcery.com>
15863
15864 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
15865 * configure: Regenerated.
15866 * manual/install.texi (Tools for Compilation): Document a
15867 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
15868 compiler verified to work.
15869 * INSTALL: Regenerated.
15870
15871 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
15872 redeclare with asm name.
15873 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
15874 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
15875 including <string.h>.
15876 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
15877 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
15878 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
15879 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
15880 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
15881 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15882 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
15883
15884 2014-11-13 Joseph Myers <joseph@codesourcery.com>
15885
15886 * stdlib/strtol.c (__strtol): Use prototype definition.
15887
15888 [BZ #17594]
15889 * stdlib/strtol.c (SYM__): New macro.
15890 (SYM__1): Likewise.
15891 (__strtol): Likewise.
15892 (strtol): Rename to __strtol and define as weak alias of
15893 __strtol. Use libc_hidden_weak.
15894
15895 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15896
15897 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
15898 Use numbered labels in inline assembly.
15899
15900 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15901
15902 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
15903 Add setjmp LIBC_PROBE.
15904 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
15905 Likewise.
15906 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
15907 Add longjmp, longjmp_target LIBC_PROBE.
15908 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
15909 Likewise.
15910
15911 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15912
15913 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15914 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
15915 to get rid of unused variable warning.
15916
15917 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15918
15919 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
15920 Check for unwind_backtrace == NULL only in SHARED case.
15921 (__backchain_backtrace): Compile only in SHARED case.
15922 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
15923 Likewise.
15924 (__backchain_backtrace): Declare as static.
15925
15926 2014-11-12 Roland McGrath <roland@hack.frob.com>
15927
15928 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
15929 (__libc_multiple_threads_ptr): Variable moved ...
15930 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
15931
15932 2014-11-12 Joseph Myers <joseph@codesourcery.com>
15933
15934 * conform/GlibcConform.pm: New file.
15935 * conform/conformtest.pl: Use GlibcConform module.
15936 * conform/linknamespace.pl: New file.
15937 * conform/list-header-symbols.pl: Likewise.
15938 * conform/Makefile (linknamespace-symlists-base): New variable.
15939 (linknamespace-symlists-tests): Likewise.
15940 (linknamespace-header-base): Likewise.
15941 (linknamespace-header-tests): Likewise.
15942 (tests-special): Add new tests.
15943 ($(linknamespace-symlists-tests)): New rule.
15944 (linknamespace-libs): New variable.
15945 ($(objpfx)symlist-stdlibs): New rule.
15946 ($(linknamespace-header-tests)): Likewise.
15947 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
15948 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
15949 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
15950 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
15951 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
15952 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
15953 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
15954 (test-xfail-ISO/math.h/linknamespace): Likewise.
15955 (test-xfail-ISO/signal.h/linknamespace): Likewise.
15956 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
15957 (test-xfail-ISO/time.h/linknamespace): Likewise.
15958 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
15959 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
15960 (test-xfail-ISO99/math.h/linknamespace): Likewise.
15961 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
15962 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
15963 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
15964 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
15965 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
15966 (test-xfail-ISO11/math.h/linknamespace): Likewise.
15967 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
15968 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
15969 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
15970 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
15971 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
15972 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
15973 (test-xfail-XPG3/math.h/linknamespace): Likewise.
15974 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
15975 (test-xfail-XPG3/search.h/linknamespace): Likewise.
15976 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
15977 (test-xfail-XPG3/time.h/linknamespace): Likewise.
15978 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
15979 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
15980 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
15981 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
15982 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
15983 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
15984 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
15985 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
15986 (test-xfail-XPG4/math.h/linknamespace): Likewise.
15987 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
15988 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
15989 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
15990 (test-xfail-XPG4/search.h/linknamespace): Likewise.
15991 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
15992 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
15993 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
15994 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
15995 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
15996 (test-xfail-XPG4/time.h/linknamespace): Likewise.
15997 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
15998 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
15999 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
16000 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
16001 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
16002 (test-xfail-POSIX/math.h/linknamespace): Likewise.
16003 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
16004 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
16005 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16006 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16007 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
16008 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
16009 (test-xfail-POSIX/time.h/linknamespace): Likewise.
16010 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
16011 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
16012 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
16013 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16014 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16015 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
16016 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
16017 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
16018 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16019 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
16020 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
16021 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16022 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
16023 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
16024 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
16025 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
16026 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16027 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
16028 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16029 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16030 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
16031 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
16032 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16033 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
16034 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
16035 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
16036 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
16037 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
16038 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
16039 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
16040 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16041 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
16042 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
16043 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
16044 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16045 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
16046 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16047 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
16048 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
16049 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
16050 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
16051 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
16052 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16053 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
16054 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
16055 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
16056 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16057 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
16058 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
16059 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
16060 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16061 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
16062 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
16063 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
16064 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
16065 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
16066 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
16067 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
16068 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16069 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
16070 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16071 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16072 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
16073 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16074 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
16075 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16076 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
16077 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
16078 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16079 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16080 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
16081 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
16082 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
16083 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
16084 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
16085 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
16086 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
16087 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16088 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16089 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16090 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
16091 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16092 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
16093 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16094 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
16095 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16096 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
16097 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16098 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
16099 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16100 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
16101 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16102 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
16103 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
16104 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
16105 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
16106 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
16107 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
16108
16109 [BZ #17589]
16110 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
16111 of fgets_unlocked.
16112
16113 [BZ #17585]
16114 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
16115 (memmem): Rename to __memmem and define as weak alias of
16116 __memmem. Use libc_hidden_weak.
16117 (__memmem): Use libc_hidden_def.
16118 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
16119 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
16120 memmem.
16121
16122 [BZ #17582]
16123 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
16124 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
16125 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
16126 and define as weak alias of __fgets_unlocked. Use
16127 libc_hidden_weak.
16128 (__fgets_unlocked): Use libc_hidden_def.
16129 * include/stdio.h (__fgets_unlocked): Declare. Use
16130 libc_hidden_proto.
16131 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
16132 __fgets_unlocked instead of fgets_unlocked.
16133 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
16134 (GET_NPROCS_CONF_PARSER): Likewise.
16135 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
16136 (GET_NPROCS_CONF_PARSER): Likewise.
16137
16138 [BZ #17574]
16139 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
16140 weak alias of __wmemset. Use libc_hidden_weak.
16141 (__wmemset): Use libc_hidden_def.
16142 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
16143 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
16144 of wmemset.
16145
16146 [BZ #17573]
16147 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
16148 with asm name __mempcpy.
16149 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
16150
16151 [BZ #17572]
16152 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
16153 and define as weak alias of __rawmemchr.
16154 (__rawmemchr): Do not define as strong alias of rawmemchr.
16155
16156 [BZ #17571]
16157 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
16158 alias of __qsort_r.
16159 (qsort): Call __qsort_r instead of qsort_r.
16160 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
16161 (__qsort_r): Declare. Call libc_hidden_proto.
16162 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
16163 instead of qsort_r.
16164 * nscd/gai.c (__qsort_r): Define to qsort_r.
16165 * posix/tst-rfc3484.c (__qsort_r): Likewise.
16166 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
16167 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
16168
16169 [BZ #17570]
16170 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
16171 define as weak alias of __malloc_info.
16172
16173 [BZ #17584]
16174 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
16175 as weak alias of __rewinddir. Don't use libc_hidden_def.
16176 (__rewinddir): Use libc_hidden_def.
16177 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
16178 as weak alias of __rewinddir. Don't use libc_hidden_def.
16179 (__rewinddir): Use libc_hidden_def.
16180 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
16181 weak alias of __rewinddir. Don't use libc_hidden_def.
16182 (__rewinddir): Use libc_hidden_def.
16183 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
16184 (__rewinddir): Use libc_hidden_proto.
16185 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
16186 rewinddir.
16187 (__getcwd): Use __rewinddir instead of rewinddir.
16188
16189 [BZ #17583]
16190 * libio/fileno.c (fileno): Rename to __fileno and define as weak
16191 alias of __fileno. Use libc_hidden_weak.
16192 (__fileno): Use libc_hidden_def.
16193 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
16194 * libio/ftello.c (ftello): Rename to __ftello and define as weak
16195 alias of __ftello.
16196 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
16197 __ftello.
16198 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
16199 (__fread_unlocked): Define as strong alias of _IO_fread. Use
16200 libc_hidden_def.
16201 (fread_unlocked): Don't use libc_hidden_ver.
16202 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
16203 and define as weak alias of __fread_unlocked. Don't use
16204 libc_hidden_def.
16205 (__fread_unlocked): Use libc_hidden_def.
16206 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
16207 (ftello): Don't use libc_hidden_proto.
16208 (__ftello): Declare. Use libc_hidden_proto.
16209 (fread_unlocked): Don't use libc_hidden_proto.
16210 (__fread_unlocked): Declare. Use libc_hidden_proto.
16211 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
16212 and __ftello instead of fileno, fread_unlocked and ftello.
16213
16214 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16215
16216 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
16217 GOT12.
16218 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
16219 Likewise.
16220 (_dl_start_user): Likewise.
16221 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
16222
16223 2014-11-12 Carlos O'Donell <carlos@redhat.com>
16224 Siddhesh Poyarekar <siddhesh@redhat.com>
16225
16226 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
16227 Move argv and envp down instead of moving argc up.
16228 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
16229
16230 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
16231
16232 [BZ #17506]
16233 * test-skeleton.c (main): Return successful if one of
16234 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
16235 * string/tst-strcoll-overflow.c: Define expected status.
16236
16237 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
16238
16239 [BZ #17475]
16240 * locale/iso-639.def: Define Bhili and Tulu language codes.
16241
16242 2014-11-11 Alan Hayward <alan.hayward@arm.com>
16243
16244 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
16245
16246 2014-11-10 Renlin Li <Renlin.Li@arm.com>
16247
16248 [BZ #17555]
16249 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
16250
16251 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
16252
16253 * configure.ac: Updated check of minimal required version to
16254 2.22.
16255 * manual/install.texi (Tools for Compilation): Updated version
16256 number.
16257 * configure: Regenerated.
16258 * INSTALL: Likewise.
16259
16260 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
16261
16262 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
16263 __tls_get_addr.
16264
16265 2014-11-07 Joseph Myers <joseph@codesourcery.com>
16266
16267 * include/sys/wait.h (__libc_waitpid): Remove declaration.
16268 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
16269 (__waitpid): Don't define as alias. Use libc_hidden_def not
16270 libc_hidden_weak.
16271 (waitpid): Define as alias of __waitpid.
16272 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
16273 __waitpid.
16274 (__waitpid): Don't define as alias. Use libc_hidden_def not
16275 libc_hidden_weak.
16276 (waitpid): Define as alias of __waitpid.
16277 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
16278 __libc_waitpid alias.
16279 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
16280 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
16281 Likewise.
16282 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
16283 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
16284 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
16285 alias.
16286 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
16287 __waitpid.
16288 (__waitpid): Don't define as alias. Use libc_hidden_def not
16289 libc_hidden_weak.
16290 (waitpid): Define as alias of __waitpid.
16291
16292 2014-11-06 Carlos O'Donell <carlos@redhat.com>
16293
16294 * manual/llio.texi: Add comment that write safety has been
16295 fixed in Linux.
16296
16297 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
16298 (localplt-build-dso): Add elf/ld.so.
16299 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
16300 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
16301 and free for ld.so.
16302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
16303 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
16304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
16305 Likewise.
16306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16307 Likewise.
16308 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
16309 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
16310 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
16311 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
16312 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
16313 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
16314 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
16315 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
16316 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
16317 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
16318 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
16319
16320 2014-11-05 Joseph Myers <joseph@codesourcery.com>
16321
16322 [BZ #14132]
16323 * include/libc-symbols.h (INTUSE): Remove macro.
16324 (INTDEF): Likewise.
16325 (INTVARDEF): Likewise.
16326 (_INTVARDEF): Likewise.
16327 (INTDEF2): Likewise.
16328 (INTVARDEF2): Likewise.
16329 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
16330 rtld_hidden_def instead of INTVARDEF.
16331 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
16332 (_dl_starting_up_internal): Remove declaration.
16333 (_dl_starting_up): Use rtld_hidden_proto.
16334 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
16335 declaration.
16336 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
16337 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
16338 _dl_starting_up.
16339 * elf/dl-writev.h (_dl_writev): Likewise.
16340 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
16341 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
16342 _dl_starting_up_internal.
16343
16344 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16345
16346 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16347 test-skeleton.c.
16348
16349 2014-11-05 Will Newton <will.newton@linaro.org>
16350
16351 * benchtests/Makefile: (bench-malloc): Add malloc thread
16352 scalability benchmark.
16353 * benchtests/bench-malloc-threads.c: New file.
16354
16355 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
16356
16357 * sysdeps/aarch64/strchrnul.S: New file.
16358
16359 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16360
16361 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
16362 definition.
16363 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16364 Likwise.
16365 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16366 Likewise.
16367 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16368 Likewise.
16369 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
16370 Likewise.
16371 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
16372 Likewise.
16373
16374 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
16375
16376 * catgets/test-gencat.c: Use test-skeleton.c.
16377 * catgets/tst-catgets.c: Likewise.
16378 * csu/tst-empty.c: Likewise.
16379 * elf/tst-audit2.c: Likewise.
16380 * elf/tst-global1.c: Likewise.
16381 * elf/tst-pathopt.c: Likewise.
16382 * elf/tst-piemod1.c: Likewise.
16383 * elf/tst-tls10.c: Likewise.
16384 * elf/tst-tls11.c: Likewise.
16385 * elf/tst-tls12.c: Likewise.
16386 * gnulib/tst-gcc.c: Likewise.
16387 * iconvdata/tst-e2big.c: Likewise.
16388 * iconvdata/tst-loading.c: Likewise.
16389 * iconv/tst-iconv1.c: Likewise.
16390 * iconv/tst-iconv2.c: Likewise.
16391 * inet/test-inet6_opt.c: Likewise.
16392 * inet/tst-gethnm.c: Likewise.
16393 * inet/tst-network.c: Likewise.
16394 * inet/tst-ntoa.c: Likewise.
16395 * intl/tst-codeset.c: Likewise.
16396 * intl/tst-gettext2.c: Likewise.
16397 * intl/tst-gettext3.c: Likewise.
16398 * intl/tst-ngettext.c: Likewise.
16399 * intl/tst-translit.c: Likewise.
16400 * io/test-stat.c: Likewise.
16401 * libio/test-fmemopen.c: Likewise.
16402 * libio/tst-freopen.c: Likewise.
16403 * libio/tst-sscanf.c: Likewise.
16404 * libio/tst-ungetwc1.c: Likewise.
16405 * libio/tst-ungetwc2.c: Likewise.
16406 * libio/tst-widetext.c: Likewise.
16407 * localedata/tst-ctype.c: Likewise.
16408 * localedata/tst-digits.c: Likewise.
16409 * localedata/tst-leaks.c: Likewise.
16410 * localedata/tst-mbswcs1.c: Likewise.
16411 * localedata/tst-mbswcs2.c: Likewise.
16412 * localedata/tst-mbswcs3.c: Likewise.
16413 * localedata/tst-mbswcs4.c: Likewise.
16414 * localedata/tst-mbswcs5.c: Likewise.
16415 * localedata/tst-setlocale.c: Likewise.
16416 * localedata/tst-trans.c: Likewise.
16417 * localedata/tst-wctype.c: Likewise.
16418 * localedata/tst-xlocale1.c: Likewise.
16419 * login/tst-grantpt.c: Likewise.
16420 * malloc/tst-calloc.c: Likewise.
16421 * malloc/tst-malloc.c: Likewise.
16422 * malloc/tst-mallocstate.c: Likewise.
16423 * malloc/tst-mcheck.c: Likewise.
16424 * malloc/tst-mtrace.c: Likewise.
16425 * malloc/tst-obstack.c: Likewise.
16426 * math/atest-exp2.c: Likewise.
16427 * math/atest-exp.c: Likewise.
16428 * math/atest-sincos.c: Likewise.
16429 * math/test-matherr.c: Likewise.
16430 * math/test-misc.c: Likewise.
16431 * math/test-powl.c: Likewise.
16432 * math/tst-definitions.c: Likewise.
16433 * misc/tst-dirname.c: Likewise.
16434 * misc/tst-efgcvt.c: Likewise.
16435 * misc/tst-fdset.c: Likewise.
16436 * misc/tst-hsearch.c: Likewise.
16437 * misc/tst-mntent2.c: Likewise.
16438 * nptl/tst-sem7.c: Likewise.
16439 * nptl/tst-sem8.c: Likewise.
16440 * nptl/tst-sem9.c: Likewise.
16441 * nss/test-netdb.c: Likewise.
16442 * posix/tst-fnmatch.c: Likewise.
16443 * posix/tst-getlogin.c: Likewise.
16444 * posix/tst-gnuglob.c: Likewise.
16445 * posix/tst-mmap.c: Likewise.
16446 * pwd/tst-getpw.c: Likewise.
16447 * resolv/tst-inet_ntop.c: Likewise.
16448 * rt/tst-timer.c: Likewise.
16449 * stdio-common/test-fseek.c: Likewise.
16450 * stdio-common/test-popen.c: Likewise.
16451 * stdio-common/test-vfprintf.c: Likewise.
16452 * stdio-common/tst-cookie.c: Likewise.
16453 * stdio-common/tst-fileno.c: Likewise.
16454 * stdio-common/tst-gets.c: Likewise.
16455 * stdio-common/tst-obprintf.c: Likewise.
16456 * stdio-common/tst-perror.c: Likewise.
16457 * stdio-common/tst-sprintf2.c: Likewise.
16458 * stdio-common/tst-sprintf3.c: Likewise.
16459 * stdio-common/tst-sprintf.c: Likewise.
16460 * stdio-common/tst-swprintf.c: Likewise.
16461 * stdio-common/tst-tmpnam.c: Likewise.
16462 * stdio-common/tst-unbputc.c: Likewise.
16463 * stdio-common/tst-wc-printf.c: Likewise.
16464 * stdlib/tst-environ.c: Likewise.
16465 * stdlib/tst-fmtmsg.c: Likewise.
16466 * stdlib/tst-limits.c: Likewise.
16467 * stdlib/tst-rand48-2.c: Likewise.
16468 * stdlib/tst-rand48.c: Likewise.
16469 * stdlib/tst-random2.c: Likewise.
16470 * stdlib/tst-random.c: Likewise.
16471 * stdlib/tst-strtol.c: Likewise.
16472 * stdlib/tst-strtoll.c: Likewise.
16473 * stdlib/tst-tls-atexit.c: Likewise.
16474 * stdlib/tst-xpg-basename.c: Likewise.
16475 * string/test-ffs.c: Likewise.
16476 * string/tst-bswap.c: Likewise.
16477 * string/tst-inlcall.c: Likewise.
16478 * string/tst-strtok.c: Likewise.
16479 * string/tst-strxfrm.c: Likewise.
16480 * sysdeps/x86_64/tst-audit10.c: Likewise.
16481 * sysdeps/x86_64/tst-audit3.c: Likewise.
16482 * sysdeps/x86_64/tst-audit4.c: Likewise.
16483 * sysdeps/x86_64/tst-audit5.c: Likewise.
16484 * time/tst-ftime_l.c: Likewise.
16485 * time/tst-getdate.c: Likewise.
16486 * time/tst-mktime3.c: Likewise.
16487 * time/tst-mktime.c: Likewise.
16488 * time/tst-posixtz.c: Likewise.
16489 * time/tst-strptime2.c: Likewise.
16490 * time/tst-strptime3.c: Likewise.
16491 * wcsmbs/tst-btowc.c: Likewise.
16492 * wcsmbs/tst-mbrtowc.c: Likewise.
16493 * wcsmbs/tst-mbsrtowcs.c: Likewise.
16494 * wcsmbs/tst-wchar-h.c: Likewise.
16495 * wcsmbs/tst-wcpncpy.c: Likewise.
16496 * wcsmbs/tst-wcrtomb.c: Likewise.
16497 * wcsmbs/tst-wcsnlen.c: Likewise.
16498 * wcsmbs/tst-wcstof.c: Likewise.
16499
16500 2014-11-04 Joseph Myers <joseph@codesourcery.com>
16501
16502 [BZ #14132]
16503 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
16504 INTDEF.
16505 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
16506 declaration.
16507 (_dl_mcount): Use rtld_hidden_proto.
16508 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
16509 _dl_mcount.
16510 * elf/rtld.c (_rtld_global_ro): Likewise.
16511
16512 [BZ #14132]
16513 * elf/dl-init.c (_dl_init): Don't use INTDEF.
16514 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
16515 of _dl_init_internal.
16516 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
16517 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
16518 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
16519 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
16520 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
16521 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
16522 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
16523 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
16524 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
16525 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
16526 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
16527 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
16528 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16529 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16530 * sysdeps/tile/dl-start.S (_start): Likewise.
16531 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
16532 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
16533
16534 [BZ #14132]
16535 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
16536 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
16537 (rtld_progname): Make macro definition unconditional.
16538 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
16539 INTDEF.
16540 (dlmopen_doit): Do not use INTUSE with _dl_argv.
16541 (dl_main): Likewise.
16542 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16543 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
16544 instead of _dl_argv_internal.
16545 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16546 __GI__dl_argv instead of INTUSE(_dl_argv).
16547 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
16548 __GI__dl_argv instead of _dl_argv_internal.
16549
16550 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
16551 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
16552 macro.
16553 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
16554 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
16555 New macro.
16556 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
16557 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
16558 macro.
16559 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
16560 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
16561
16562 2014-11-04 Andreas Schwab <schwab@suse.de>
16563
16564 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
16565
16566 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16567
16568 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
16569 mtvsrd instruction in binary form.
16570
16571 2014-11-03 Andreas Schwab <schwab@suse.de>
16572
16573 [BZ #17522]
16574 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
16575 for less than MB_LEN_MAX use a local buffer of that size.
16576 * libio/tst-fputws.c: New file.
16577 * libio/Makefile (tests): Add tst-fputws.
16578
16579 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
16580
16581 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
16582 the size of the fpu_fr.fpu_dregs[] array.
16583
16584 2014-11-01 Joseph Myers <joseph@codesourcery.com>
16585
16586 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
16587 (__nanosleep): Do not define as alias.
16588 (nanosleep): Define as alias of __nanosleep.
16589 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
16590 __libc_nanosleep name.
16591
16592 2014-10-31 Joseph Myers <joseph@codesourcery.com>
16593
16594 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
16595 install.texi in comment.
16596
16597 2014-10-31 Torvald Riegel <triegel@redhat.com>
16598
16599 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
16600 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
16601 ... add here and use lwsync or sync ...
16602 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
16603 ... and add here using lwsync.
16604
16605 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
16606
16607 * elf/dl-machine-reject-phdr.h: New file.
16608 * elf/dl-load.c: #include that.
16609 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
16610 if that returned true.
16611
16612 2014-10-31 Roland McGrath <roland@hack.frob.com>
16613
16614 [BZ #17496]
16615 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
16616 gen-as-const-headers chunk. Add a big scare comment after the last
16617 safe place to touch before-compile.
16618
16619 2014-10-31 Joseph Myers <joseph@codesourcery.com>
16620
16621 * manual/install.texi (Tools for Compilation): Update autoconf
16622 version requirements.
16623 * INSTALL: Regenerated.
16624
16625 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
16626 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
16627 (__libc_pselect): Likewise.
16628
16629 [BZ #14138]
16630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
16631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16634
16635 2014-10-31 Torvald Riegel <triegel@redhat.com>
16636
16637 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
16638 correct barrier instruction.
16639 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
16640 Likewise.
16641 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
16642 Likewise.
16643
16644 2014-10-30 Roland McGrath <roland@hack.frob.com>
16645
16646 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
16647 after defining inlines. Instead, just use parens to defeat macro
16648 expansion of __isctype in its declaration.
16649
16650 2014-10-30 Joseph Myers <joseph@codesourcery.com>
16651
16652 * include/sys/uio.h (__libc_readv): Remove declaration.
16653 (__libc_writev): Likewise.
16654 * misc/readv.c (__libc_readv): Rename to __readv.
16655 (__readv): Do not define as alias.
16656 (readv): Define as alias of __readv.
16657 * misc/writev.c (__libc_writev): Rename to __writev.
16658 (__writev): Do not define as alias.
16659 (writev): Define as alias of __writev.
16660 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
16661 (__readv): Do not define as alias.
16662 (readv): Define unconditionally as alias of __readv.
16663 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
16664 (__writev): Do not define as alias.
16665 (writev): Define unconditionally as alias of __writev.
16666 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
16667 name.
16668 (writev): Do not define __libc_writev name.
16669
16670 2014-10-30 Roland McGrath <roland@hack.frob.com>
16671
16672 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
16673 (convert_charseq): New function, broken out of ...
16674 (use_from_charmap): ... here. Call it.
16675 (use_to_charmap): Use convert_charseq and free instead of duplicating
16676 its code with a variable-length stack struct.
16677
16678 2014-10-30 Joseph Myers <joseph@codesourcery.com>
16679
16680 * include/fcntl.h (__libc_creat): Remove declaration.
16681 * io/creat.c (__libc_creat): Rename to creat.
16682 (creat): Do not define as alias.
16683 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
16684 of creat instead of __libc_creat.
16685 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
16686 to creat.
16687 (creat): Do not define as alias.
16688 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
16689 __libc_creat.
16690 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
16691 __libc_creat name.
16692 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
16693 Likewise.
16694
16695 2014-10-29 Carlos O'Donell <carlos@redhat.com>
16696
16697 * manual/llio.texi: Add comments discussing why write() may be
16698 considered MT-unsafe on Linux.
16699
16700 2014-10-28 Carlos O'Donell <carlos@redhat.com>
16701
16702 * dl-load.c (local_strdup): Remove.
16703 (expand_dynamic_string_token): Use __strdup.
16704 (decompose_rpath): Likewise.
16705 (_dl_map_object): Likewise.
16706
16707 2014-10-28 Joseph Myers <joseph@codesourcery.com>
16708
16709 [BZ #14132]
16710 * sysdeps/generic/unwind-dw2-fde.c
16711 (__register_frame_info_bases_internal): Do not declare.
16712 (__register_frame_info_table_bases_internal): Likewise.
16713 (__deregister_frame_info_bases_internal): Likewise.
16714 (__register_frame_info_bases): Declare and use hidden_proto before
16715 definition. Use hidden_def instead of INTDEF.
16716 (__register_frame_info_table_bases): Likewise.
16717 (__deregister_frame_info_bases): Likewise.
16718 (__register_frame_info): Do not use INTUSE.
16719 (__register_frame): Likewise.
16720 (__register_frame_info_table): Likewise.
16721 (__register_frame_table): Likewise.
16722 (__deregister_frame_info): Likewise.
16723 (__deregister_frame): Likewise.
16724
16725 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
16726
16727 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16728 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
16729 not undefine.
16730 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
16731 Likewise.
16732 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
16733 Likewise.
16734
16735 2014-10-27 Joseph Myers <joseph@codesourcery.com>
16736
16737 [BZ #14138]
16738 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
16739 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
16740 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
16741 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
16742 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
16743 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
16744 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
16745 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
16746 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
16747 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
16748 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
16749 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
16750 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
16751 syscall.
16752 (setfsuid): Likewise.
16753 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
16754 (setfsuid): Likewise.
16755 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
16756 (setfsuid): Likewise.
16757 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
16758 Likewise.
16759 (setfsuid): Likewise.
16760 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
16761 (setfsuid): Likewise.
16762 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
16763 Likewise.
16764 (setfsuid): Likewise.
16765
16766 2014-10-27 Andreas Schwab <schwab@suse.de>
16767
16768 [BZ #17501]
16769 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
16770 check for Slow_SSE4_2 feature bit.
16771 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
16772 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16773 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
16774 Likewise. Fix check for Fast_Unaligned_Load feature bit.
16775
16776 2014-10-24 Roland McGrath <roland@hack.frob.com>
16777
16778 * configure.ac: Validate compiler version with a empirical test of
16779 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
16780 $CC -v output.
16781 * configure: Regenerated.
16782
16783 * inet/htons.c (htons): Prototypify.
16784 * inet/htonl.c (htonl): Likewise.
16785
16786 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
16787
16788 * string/strncat.c (strncat): Improve performance by using strlen.
16789
16790 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
16791
16792 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
16793
16794 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
16795
16796 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
16797 Call libc_fetestexcept_aarch64.
16798
16799 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
16800
16801 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
16802 Call libc_feholdexcept_aarch64.
16803
16804 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
16805
16806 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
16807 Call get_rounding_mode.
16808
16809 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
16810
16811 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16812 Simplify logic.
16813
16814 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
16815
16816 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
16817 Simplify logic.
16818
16819 2014-10-24 Joseph Myers <joseph@codesourcery.com>
16820
16821 [BZ #14138]
16822 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
16823 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
16824 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
16825 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
16826 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
16827 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
16828 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
16829 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
16830 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
16831 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
16832 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
16833 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
16834 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
16835 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
16836 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
16837 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
16838 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
16839 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
16840 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
16841 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
16842 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
16843 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
16844 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
16845 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
16846 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
16847 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
16848 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
16849 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
16850 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
16851 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
16852 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
16853 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
16854 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
16855 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
16856 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
16857 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
16858 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
16859 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
16860 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
16861 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
16862 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
16863 syscall.
16864 (geteuid): Likewise.
16865 (getgid): Likewise.
16866 (getuid): Likewise.
16867 (getresgid): Likewise.
16868 (getresuid): Likewise.
16869 (getgroups): Likewise.
16870 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
16871 (geteuid): Likewise.
16872 (getgid): Likewise.
16873 (getuid): Likewise.
16874 (getresgid): Likewise.
16875 (getresuid): Likewise.
16876 (getgroups): Likewise.
16877 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
16878 (geteuid): Likewise.
16879 (getgid): Likewise.
16880 (getuid): Likewise.
16881 (getresgid): Likewise.
16882 (getresuid): Likewise.
16883 (getgroups): Likewise.
16884 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
16885 Likewise.
16886 (geteuid): Likewise.
16887 (getgid): Likewise.
16888 (getuid): Likewise.
16889 (getresgid): Likewise.
16890 (getresuid): Likewise.
16891 (getgroups): Likewise.
16892 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
16893 (geteuid): Likewise.
16894 (getgid): Likewise.
16895 (getuid): Likewise.
16896 (getresgid): Likewise.
16897 (getresuid): Likewise.
16898 (getgroups): Likewise.
16899 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
16900 Likewise.
16901 (geteuid): Likewise.
16902 (getgid): Likewise.
16903 (getuid): Likewise.
16904 (getgroups): Likewise.
16905
16906 [BZ #14138]
16907 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
16908 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
16909 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
16910 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16911 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
16912 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
16913 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
16914 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
16915 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
16916 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
16917 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
16918 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
16919 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
16920 __chown.
16921 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
16922 (lchown): Likewise.
16923 (fchown): Likewise.
16924 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
16925 Likewise.
16926 (lchown): Likewise.
16927 (fchown): Likewise.
16928 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
16929 (lchown): Likewise.
16930 (fchown): Likewise.
16931 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
16932 Likewise.
16933 (lchown): Likewise.
16934 (fchown): Likewise.
16935
16936 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
16937
16938 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
16939 Simplify logic.
16940
16941 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
16942
16943 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
16944 Cleanup logic.
16945
16946 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
16947
16948 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
16949 Remove unused include.
16950
16951 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
16952
16953 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
16954 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
16955 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
16956 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
16957
16958 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
16959 Helge Deller <deller@gmx.de>
16960
16961 [BZ #17508]
16962 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
16963 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
16964 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
16965
16966 2014-10-23 Joseph Myers <joseph@codesourcery.com>
16967
16968 [BZ #14132]
16969 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
16970 Remove macro definition.
16971 (__ashrdi3_v_glibc20): Likewise.
16972 (__lshrdi3_v_glibc20): Likewise.
16973 (__cmpdi2_v_glibc20): Likewise.
16974 (__ucmpdi2_v_glibc20): Likewise.
16975 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
16976 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16977 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16978 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16979 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16980 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
16981
16982 2014-10-22 Roland McGrath <roland@hack.frob.com>
16983
16984 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
16985 old GNU extension [0] syntax.
16986 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
16987 alloca rather than an array member with variable length.
16988 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
16989 * nscd/nscd.c (invalidate_db): New function, broken out of ...
16990 (parse_opt): ... here. Likewise use alloca there.
16991 Validate the -i argument before checking for rootness.
16992 (send_shutdown): New function, broken out of ...
16993 (parse_opt): ... here.
16994
16995 2014-10-22 Roland McGrath <roland@hack.frob.com>
16996
16997 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
16998 macro to get at the _rt_local_ro field.
16999 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
17000 ([PIC] case) or _dl_hwcap ([!PIC] case).
17001 * sysdeps/arm/setjmp.S: Likewise.
17002
17003 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
17004 * sysdeps/arm/configure.ac: New check to define it.
17005 * sysdeps/arm/configure: Regenerated.
17006 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
17007 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
17008 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
17009 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
17010 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
17011 Use move/movt pair instead of a load.
17012 (LDST_GLOBAL): Macro removed.
17013 (LDR_GLOBAL): New macro replaces it.
17014 (LDR_HIDDEN): New macro.
17015 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
17016 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
17017
17018 * setjmp/tst-setjmp-static.c: New file.
17019 * setjmp/Makefile (tests): Add it.
17020 (tests-static): New variable.
17021
17022 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
17023
17024 [BZ #17485]
17025 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
17026
17027 2014-10-21 Joseph Myers <joseph@codesourcery.com>
17028
17029 [BZ #14132]
17030 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
17031
17032 2014-10-21 Roland McGrath <roland@hack.frob.com>
17033
17034 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
17035
17036 2014-10-20 Roland McGrath <roland@hack.frob.com>
17037
17038 * io/fts.c (dirent_not_directory): New function.
17039 (fts_build): Call it.
17040
17041 2014-10-20 Roland McGrath <roland@hack.frob.com>
17042
17043 * nptl/version.c (__nptl_main): Use normal __write rather than
17044 INTERNAL_SYSCALL.
17045 (banner): Update copyright years.
17046
17047 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
17048 gettimeofday.
17049 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17050 * nptl/pthread_cond_timedwait.c: Likewise.
17051 * nptl/pthread_mutex_timedlock.c: Likewise.
17052 * nptl/sem_timedwait.c: Likewise.
17053
17054 * sysdeps/nptl/bits/libc-lock.h
17055 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17056 (__libc_lock_init_recursive): Return void, not 0.
17057 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
17058 (__libc_rwlock_init): Likewise.
17059 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
17060
17061 2014-10-20 Torvald Riegel <triegel@redhat.com>
17062
17063 [BZ #15215]
17064 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
17065 (__pthread_once_slow): ... here.
17066 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
17067 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
17068
17069 2014-10-20 Torvald Riegel <triegel@redhat.com>
17070
17071 [BZ #15215]
17072 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
17073 __PTHREAD_ONCE_FORK_GEN_INCR): New.
17074 * sysdeps/nptl/fork.c (__libc_fork): Use them.
17075 * nptl/pthread_once.c (__pthread_once): Likewise.
17076 Update comments.
17077
17078 2014-10-20 Joseph Myers <joseph@codesourcery.com>
17079
17080 [BZ #14138]
17081 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
17082 name.
17083 (writev): Use __libc_writev as strong name.
17084 * sysdeps/unix/sysv/linux/readv.c: Remove file.
17085 * sysdeps/unix/sysv/linux/writev.c: Likewise.
17086
17087 2014-10-17 Roland McGrath <roland@hack.frob.com>
17088
17089 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
17090
17091 * sysdeps/i386/nptl/tls.h
17092 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
17093 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
17094 New macros.
17095 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
17096 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
17097 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
17098 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
17099 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
17100 Call CHECK_THREAD_SYSINFO instead of doing an assert.
17101
17102 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17103 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
17104 on [__NR_futex].
17105 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
17106 broken out of ...
17107 (__pthread_mutex_init): ... here. Call it.
17108 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
17109 Conditionalize PI cases on [__NR_futex].
17110 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
17111 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
17112 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17113
17114 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
17115 conditional on [SIGSETXID].
17116 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
17117 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
17118 is defined. Likewise for SIGSETXID.
17119 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
17120 Conditionalize definitions on [SIGSETXID].
17121 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
17122 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
17123 unblocking on [SIGCANCEL].
17124
17125 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
17126 [__NR_set_robust_list].
17127
17128 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17129
17130 * string/strcoll_l.c (get_next_seq): Fix up formatting.
17131 (do_compare): Likewise.
17132
17133 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
17134
17135 [BZ #15884]
17136 * string/strcoll_l.c: Don't include stdio.h.
17137 (coll_seq): Remove members idxarr and rulearr.
17138 (get_next_seq_cached): Remove function.
17139 (get_next_seq): Likewise.
17140 (get_next_seq_nocache): Rename to get_next_seq.
17141 (do_compare): Remove function.
17142 (do_compare_nocache): Rename to do_compare.
17143 (STRCOLL): Remove weight and rules cache.
17144
17145 2014-10-16 Roland McGrath <roland@hack.frob.com>
17146
17147 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
17148 * sysdeps/arm/sfp-machine.h: ... to here.
17149 * sysdeps/arm/Implies: Remove arm/soft-fp.
17150
17151 2014-10-14 Joseph Myers <joseph@codesourcery.com>
17152
17153 * conform/data/sys/utsname.h-data (*_t): Allow.
17154 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
17155 [POSIX] (WEXITED): Do not expect constant.
17156 [POSIX] (WSTOPPED): Likewise.
17157 [POSIX] (WNOHANG): Likewise.
17158 [POSIX] (WNOWAIT): Likewise.
17159 [POSIX] (siginfo_t): Do not expect type or elements.
17160 [POSIX] (pid_t): Do not expect type.
17161 [POSIX] (signal.h): Do not allow header.
17162 [POSIX] (sys/resource.h): Likewise.
17163 [POSIX] (si_*): Do not allow pattern.
17164 [POSIX] (W*): Likewise.
17165 [POSIX] (P_*): Likewise.
17166 [POSIX] (BUS_*): Likewise.
17167 [POSIX] (CLD_*): Likewise.
17168 [POSIX] (FPE_*): Likewise.
17169 [POSIX] (ILL_*): Likewise.
17170 [POSIX] (POLL_*): Likewise.
17171 [POSIX] (SEGV_*): Likewise.
17172 [POSIX] (SI_*): Likewise.
17173 [POSIX] (TRAP_*): Likewise.
17174 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
17175 variable.
17176
17177 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
17178
17179 [BZ #12926]
17180 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
17181 infinite loop when __recvmsg returns 0.
17182
17183 2014-10-10 Joseph Myers <joseph@codesourcery.com>
17184
17185 * CANCEL-FCT-WAIVE: Remove file.
17186 * CANCEL-FILE-WAIVE: Likewise.
17187
17188 [BZ #14132]
17189 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
17190 instead of INTVARDEF.
17191 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
17192 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
17193 rtld_hidden_data_def instead of INTVARDEF.
17194 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
17195 * elf/dl-deps.c (expand_dst): Likewise.
17196 * elf/dl-load.c (_dl_dst_count): Likewise.
17197 (_dl_dst_substitute): Likewise.
17198 (decompose_rpath): Likewise.
17199 (_dl_init_paths): Likewise.
17200 (open_path): Likewise.
17201 (_dl_map_object): Likewise.
17202 * elf/rtld.c (dl_main): Likewise.
17203 (process_dl_audit): Likewise.
17204 (process_envvars): Likewise.
17205 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
17206 Remove declaration.
17207 (__libc_enable_secure): Use rtld_hidden_proto.
17208
17209 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17210
17211 * elf/dl-load.c
17212 (add_path): New function broken out of _dl_rtld_di_serinfo.
17213 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
17214
17215 2014-10-09 Joseph Myers <joseph@codesourcery.com>
17216
17217 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
17218 parentheses around macro arguments.
17219 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
17220 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
17221 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
17222 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
17223 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
17224 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
17225 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
17226 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
17227 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
17228 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
17229 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
17230 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
17231 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
17232 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
17233 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
17234 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
17235 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
17236 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
17237 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
17238 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
17239 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
17240 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
17241 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
17242 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
17243 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
17244 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
17245 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
17246 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
17247 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
17248 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
17249 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
17250 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
17251 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
17252 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
17253 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
17254 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
17255 Likewise.
17256 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
17257 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
17258 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
17259 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
17260 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
17261 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
17262 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
17263 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
17264 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
17265 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
17266 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
17267 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
17268 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
17269 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
17270 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
17271 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
17272 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
17273 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
17274 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
17275 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
17276 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
17277 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
17278 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
17279 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
17280 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
17281 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
17282 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
17283 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
17284 (_FP_FRAC_SRS_1): Likewise.
17285 (_FP_FRAC_CLZ_1): Likewise.
17286 (_FP_MUL_MEAT_1_imm): Likewise.
17287 (_FP_MUL_MEAT_1_wide): Likewise.
17288 (_FP_MUL_MEAT_1_hard): Likewise.
17289 (_FP_SQRT_MEAT_1): Likewise.
17290 (_FP_FRAC_ASSEMBLE_1): Likewise.
17291 (_FP_FRAC_DISASSEMBLE_1): Likewise.
17292 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
17293 (__FP_CLZ_2): Likewise.
17294 (_FP_MUL_MEAT_2_wide): Likewise.
17295 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17296 (_FP_MUL_MEAT_2_gmp): Likewise.
17297 (_FP_MUL_MEAT_2_120_240_double): Likewise.
17298 (_FP_SQRT_MEAT_2): Likewise.
17299 (_FP_FRAC_ASSEMBLE_2): Likewise.
17300 (_FP_FRAC_DISASSEMBLE_2): Likewise.
17301 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
17302 (_FP_FRAC_CLZ_4): Likewise.
17303 (_FP_MUL_MEAT_4_wide): Likewise.
17304 (_FP_MUL_MEAT_4_gmp): Likewise.
17305 (_FP_SQRT_MEAT_4): Likewise.
17306 (_FP_FRAC_ASSEMBLE_4): Likewise.
17307 (_FP_FRAC_DISASSEMBLE_4): Likewise.
17308 * soft-fp/op-common.h (_FP_CMP): Likewise.
17309 (_FP_CMP_EQ): Likewise.
17310 (_FP_CMP_UNORD): Likewise.
17311 (_FP_TO_INT): Likewise.
17312 (_FP_FROM_INT): Likewise.
17313 [!__FP_CLZ] (__FP_CLZ): Likewise.
17314 (_FP_DIV_HELP_imm): Likewise.
17315 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
17316 Likewise.
17317 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
17318 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
17319 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
17320 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
17321 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
17322 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
17323 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
17324 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
17325 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
17326 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
17327 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
17328 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
17329 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
17330 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
17331 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
17332 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
17333 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
17334 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
17335 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
17336 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
17337 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
17338 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
17339 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
17340 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
17341 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
17342 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
17343 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
17344 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
17345 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
17346 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
17347 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
17348 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
17349 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
17350 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
17351 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
17352 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
17353 (FP_UNPACK_RAW_SP): Likewise.
17354 (FP_PACK_RAW_S): Likewise.
17355 (FP_PACK_RAW_SP): Likewise.
17356 (FP_UNPACK_S): Likewise.
17357 (FP_UNPACK_SP): Likewise.
17358 (FP_UNPACK_SEMIRAW_S): Likewise.
17359 (FP_UNPACK_SEMIRAW_SP): Likewise.
17360 (FP_PACK_S): Likewise.
17361 (FP_PACK_SP): Likewise.
17362 (FP_PACK_SEMIRAW_S): Likewise.
17363 (FP_PACK_SEMIRAW_SP): Likewise.
17364 (_FP_SQRT_MEAT_S): Likewise.
17365 (FP_CMP_S): Likewise.
17366 (FP_CMP_EQ_S): Likewise.
17367 (FP_CMP_UNORD_S): Likewise.
17368 (FP_TO_INT_S): Likewise.
17369 (FP_FROM_INT_S): Likewise.
17370
17371 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
17372
17373 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
17374 (FP_EX_INVALID_IMZ): Likewise.
17375 (FP_EX_INVALID_IMZ_FMA): Likewise.
17376 (FP_EX_INVALID_ISI): Likewise.
17377 (FP_EX_INVALID_ZDZ): Likewise.
17378 (FP_EX_INVALID_IDI): Likewise.
17379 (FP_EX_INVALID_SQRT): Likewise.
17380 (FP_EX_INVALID_CVI): Likewise.
17381 (FP_EX_INVALID_VC): Likewise.
17382 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
17383 "invalid" exceptions.
17384 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
17385 (_FP_ADD_INTERNAL): Likewise.
17386 (_FP_MUL): Likewise.
17387 (_FP_FMA): Likewise.
17388 (_FP_DIV): Likewise.
17389 (_FP_CMP_CHECK_NAN): Likewise.
17390 (_FP_SQRT): Likewise.
17391 (_FP_TO_INT): Likewise.
17392 (FP_EXTEND): Likewise.
17393
17394 2014-10-09 Allan McRae <allan@archlinux.org>
17395
17396 * po/fr.po: Update French translation from translation project.
17397
17398 2014-10-09 Joseph Myers <joseph@codesourcery.com>
17399
17400 [BZ #14132]
17401 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
17402 of INTDEF.
17403 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
17404 (__cxa_atexit): Use libc_hidden_proto.
17405 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
17406
17407 [BZ #14132]
17408 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
17409 declaration.
17410 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
17411 [!_ISOMAC] (__iswspace_l_internal): Likewise.
17412 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
17413 [!_ISOMAC] (__iswctype_internal): Likewise.
17414 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
17415 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
17416 alias.
17417 (fcntl): Remove __fcntl_internal alias.
17418 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
17419 __connect_internal alias.
17420 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
17421 Likewise.
17422
17423 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
17424 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
17425 FP_DENORM_ZERO.
17426 (_FP_CHECK_FLUSH_ZERO): New macro.
17427 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
17428 (_FP_CMP): Likewise.
17429 (_FP_CMP_EQ): Likewise.
17430 (_FP_TO_INT): Do not set inexact for subnormal arguments if
17431 FP_DENORM_ZERO.
17432 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
17433 (FP_TRUNC): Likewise.
17434
17435 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
17436 treated as invalid conversion, not as normal exponent.
17437
17438 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
17439 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
17440 (_FP_CMP_EQ): Likewise.
17441 (_FP_CMP_UNORD): Likewise.
17442 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
17443 (FP_CMP_EQ_D): Likewise.
17444 (FP_CMP_UNORD_D): Likewise.
17445 * soft-fp/extended.h (FP_CMP_E): Likewise.
17446 (FP_CMP_EQ_E): Likewise.
17447 (FP_CMP_UNORD_E): Likewise.
17448 * soft-fp/quad.h (FP_CMP_Q): Likewise.
17449 (FP_CMP_EQ_Q): Likewise.
17450 (FP_CMP_UNORD_Q): Likewise.
17451 * soft-fp/single.h (FP_CMP_S): Likewise.
17452 (FP_CMP_EQ_S): Likewise.
17453 (FP_CMP_UNORD_S): Likewise.
17454 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
17455 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
17456 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
17457 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
17458 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
17459 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
17460 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
17461 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
17462 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
17463 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
17464 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
17465 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
17466 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
17467 to FP_CMP_Q.
17468 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
17469 FP_CMP_Q.
17470 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
17471 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
17472 FP_CMP_EQ_Q.
17473 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
17474 FP_CMP_Q.
17475 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
17476 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
17477 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
17478 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
17479 FP_CMP_EQ_Q.
17480 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
17481 FP_CMP_Q.
17482 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
17483 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
17484 FP_CMP_EQ_Q.
17485 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
17486 FP_CMP_Q.
17487 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
17488 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
17489 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
17490 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
17491 FP_CMP_EQ_Q.
17492
17493 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
17494 a subnormal result, set the underflow exception if trapping on
17495 underflow is enabled.
17496 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
17497 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
17498 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
17499 redefine to 0.
17500 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
17501 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
17502 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
17503 * soft-fp/extendxftf2.c (__extendxftf2): Use
17504 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
17505
17506 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
17507 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
17508 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
17509 FP_HANDLE_EXCEPTIONS.
17510 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
17511 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
17512 FP_HANDLE_EXCEPTIONS.
17513 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
17514 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
17515 FP_HANDLE_EXCEPTIONS.
17516 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
17517 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
17518 FP_HANDLE_EXCEPTIONS.
17519
17520 2014-10-08 Joseph Myers <joseph@codesourcery.com>
17521
17522 [BZ #14132]
17523 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
17524 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
17525 use INTUSE.
17526 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
17527 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
17528 Remove alias.
17529 (__adjtimex): Define using libc_hidden_ver.
17530 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
17531 Remove declaration.
17532 (ntp_gettime): Call __adjtimex directly.
17533 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
17534 Remove declaration.
17535 (ntp_gettimex): Call __adjtimex directly.
17536 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
17537 __adjtimex_internal alias.
17538
17539 2014-10-08 Roland McGrath <roland@hack.frob.com>
17540
17541 [BZ #17460]
17542 * nscd/nscd.c (more_help): Rewrite list of tables collection
17543 using xstrdup and asprintf.
17544
17545 * nscd/nscd_conf.c: Remove local xstrdup declaration.
17546
17547 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17548 Roland McGrath <roland@hack.frob.com>
17549
17550 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
17551 (do_lookup_unique): ... local function 'enter' here; update callers.
17552
17553 2014-10-06 Joseph Myers <joseph@codesourcery.com>
17554
17555 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
17556 compat_symbol calls on [SHARED].
17557 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
17558 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
17559 Remove.
17560 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
17561 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
17562 (oldsetrlimit): Remove.
17563 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
17564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
17565 (lchown): New syscall entry.
17566 (oldsetrlimit): Remove.
17567 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
17568 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
17569 (oldsetrlimit): Remove.
17570 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
17571
17572 [BZ #14138]
17573 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
17574 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
17575 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
17576 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
17577 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17578 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
17579 (fchown): Likewise.
17580 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
17581 (fchown): Likewise.
17582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
17583 Likewise.
17584
17585 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17586
17587 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
17588 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
17589 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
17590 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
17591 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
17592 Likewise.
17593 (__old_sem_post): Likewise.
17594
17595 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
17596
17597 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
17598 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
17599 HAVE_CLOCK_GETTIME_VSYSCALL macros.
17600 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
17601 Use INLINE_VSYSCALL macro.
17602 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
17603 __vdso_clock_gettime.
17604 * sysdeps/unix/sysv/linux/tile/init-first.c
17605 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
17606 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
17607 __vdso_clock_gettime.
17608
17609 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
17610 to set up frame more cleanly.
17611
17612 * sysdeps/tile/memcmp.c: New file.
17613
17614 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
17615
17616 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
17617 * sysdeps/tile/tilegx/strcasestr.c: New file.
17618 * sysdeps/tile/tilegx/strnlen.c: New file.
17619 * sysdeps/tile/tilegx/strstr.c: New file.
17620
17621 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
17622
17623 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
17624
17625 * nptl/tst-setuid3.c: Write errors to stdout.
17626
17627 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17628
17629 * elf/dl-deps.c
17630 (preload): New functions broken out of _dl_map_object_deps.
17631 (_dl_map_object_deps): Remove a nested function. Update call sites.
17632
17633 2014-10-01 Joseph Myers <joseph@codesourcery.com>
17634
17635 [BZ #14138]
17636 * sysdeps/unix/sysv/linux/execve.c: Remove file.
17637 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
17638
17639 2014-10-01 Steve Ellcey <sellcey@mips.com>
17640
17641 * sysdeps/mips/strcmp.S: New.
17642
17643 2014-09-30 Joseph Myers <joseph@codesourcery.com>
17644
17645 [BZ #14138]
17646 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
17647 (linkat): Likewise.
17648 (mkdirat): Likewise.
17649 (readlinkat): Likewise.
17650 (renameat): Likewise.
17651 (symlinkat): Likewise.
17652 (unlinkat): Likewise.
17653 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
17654 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
17655 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
17656 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
17657 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
17658 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
17659 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
17660
17661 2014-09-30 Will Newton <will.newton@linaro.org>
17662
17663 * math/math.h: Define long double math functions if
17664 _LIBC_TEST is defined.
17665 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
17666
17667 * localedata/Makefile: Move assignment to tests-special
17668 into an ifdef testing run-built-tests.
17669 * timezone/Makefile: Likewise.
17670
17671 2014-09-29 Joseph Myers <joseph@codesourcery.com>
17672
17673 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
17674 with $(BASH) not $(SHELL).
17675
17676 2014-09-29 Carlos O'Donell <carlos@redhat.com>
17677 Matthew LeGendre <legendre1@llnl.gov>
17678
17679 [BZ #17411]
17680 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
17681 l_reloc_result.
17682
17683 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17684
17685 * stdio-common/printf_fp.c
17686 (hack_digit): New function, broken out of ...
17687 (__printf_fp): ... local function here. Update call sites.
17688 hack_digit now takes an additional parameter that is a pointer
17689 to a struct of the referenced locals. Those locals moved inside
17690 the struct and references updated.
17691
17692 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
17693
17694 * aclocal.m4: Require autoconf 2.69.
17695 * configure: Regenerated.
17696 * sysdeps/aarch64/configure: Likewise.
17697 * sysdeps/alpha/configure: Likewise.
17698 * sysdeps/arm/armv7/configure: Likewise.
17699 * sysdeps/arm/configure: Likewise.
17700 * sysdeps/ia64/configure: Likewise.
17701 * sysdeps/mach/configure: Likewise.
17702 * sysdeps/mips/configure: Likewise.
17703 * sysdeps/s390/configure: Likewise.
17704 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
17705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
17706
17707 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
17708 file.
17709 * sysdeps/ia64/configure.ac: Likewise.
17710
17711 2014-09-26 Joseph Myers <joseph@codesourcery.com>
17712
17713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
17714 specify symbol version for ld.so. Do not include entry for
17715 libpthread.
17716 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
17717 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
17718 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
17719
17720 [BZ #14171]
17721 * Makeconfig [$(build-shared) = yes]
17722 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
17723 makefiles.
17724 [$(build-shared) = yes && $(soversions.mk-done) = t]
17725 ($(common-objpfx)gnu/lib-names.h): Remove rule.
17726 [$(build-shared) = yes && $(soversions.mk-done) = t]
17727 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
17728 to Makerules.
17729 [$(build-shared) = yes && $(soversions.mk-done) = t]
17730 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
17731 here.
17732 [$(build-shared) = yes && $(soversions.mk-done) = t]
17733 (common-generated): Don't append gnu/lib-names.h and
17734 gnu/lib-names.stmp here.
17735 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
17736 (lib-names-h-abi): New variable.
17737 [$(build-shared) = yes && $(soversions.mk-done) = t]
17738 (lib-names-stmp-abi): Likewise.
17739 [$(build-shared) = yes && $(soversions.mk-done) = t &&
17740 abi-variants] (before-compile): Append
17741 $(common-objpfx)$(lib-names-h-abi).
17742 [$(build-shared) = yes && $(soversions.mk-done) = t &&
17743 abi-variants] (common-generated): Append gnu/lib-names.h.
17744 [$(build-shared) = yes && $(soversions.mk-done) = t &&
17745 abi-variants] (install-others-nosubdir): Depend on
17746 $(inst_includedir)/$(lib-names-h-abi).
17747 [$(build-shared) = yes && $(soversions.mk-done) = t &&
17748 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
17749 [$(build-shared) = yes && $(soversions.mk-done) = t]
17750 ($(common-objpfx)$(lib-names-h-abi)): New rule.
17751 [$(build-shared) = yes && $(soversions.mk-done) = t]
17752 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
17753 [$(build-shared) = yes && $(soversions.mk-done) = t]
17754 (common-generated): Append $(lib-names-h-abi) and
17755 $(lib-names-stmp-abi).
17756 * scripts/lib-names.awk: Do not handle multi being set.
17757 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
17758 Remove variable.
17759 (abi-lp64_be-ld-soname): Likewise.
17760 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
17761 Likewise.
17762 (abi-hard-ld-soname): Likewise.
17763 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
17764 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
17765 Remove variable.
17766 (abi-o32_hard-ld-soname): Likewise.
17767 (abi-o32_soft_2008-ld-soname): Likewise.
17768 (abi-o32_hard_2008-ld-soname): Likewise.
17769 (abi-n32_soft-ld-soname): Likewise.
17770 (abi-n32_hard-ld-soname): Likewise.
17771 (abi-n32_soft_2008-ld-soname): Likewise.
17772 (abi-n32_hard_2008-ld-soname): Likewise.
17773 (abi-n64_soft-ld-soname): Likewise.
17774 (abi-n64_hard-ld-soname): Likewise.
17775 (abi-n64_soft_2008-ld-soname): Likewise.
17776 (abi-n64_hard_2008-ld-soname): Likewise.
17777 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
17778 Likewise.
17779 (abi-64-v2-ld-soname): Likewise.
17780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
17781 ld.so entries.
17782 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
17783 variable.
17784 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
17785 entry.
17786 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
17787 variable.
17788 (abi-64-ld-soname): Likewise.
17789 (abi-x32-ld-soname): Likewise.
17790 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
17791 entry.
17792 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
17793
17794 2014-09-23 Joseph Myers <joseph@codesourcery.com>
17795
17796 [BZ #14138]
17797 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
17798 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
17799 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
17800 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
17801 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
17802 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
17803 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
17804 syscall entry for GLIBC_2.2 symbol version.
17805 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
17806 Likewise.
17807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
17808 (setrlimit): Likewise.
17809 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
17810 Likewise.
17811
17812 2014-09-23 Will Newton <will.newton@linaro.org>
17813
17814 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
17815 _LINUX_ARM_SYSDEP_H include guard too.
17816 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
17817 define.
17818
17819 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
17820
17821 * sysdeps/unix/sysv/linux/eventfd.c:
17822 Make first argument unsigned.
17823 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
17824 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
17825
17826 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
17827
17828 * socket/recvmmsg.c (recvmmsg): Drop const argument.
17829 * socket/sys/socket.h: Likewise
17830 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
17831
17832 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17833
17834 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
17835
17836 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
17837
17838 * time/tst-ftime.c: New test.
17839 * time/Makefile (tests): Add tst-ftime.
17840
17841 2014-09-17 Joseph Myers <joseph@codesourcery.com>
17842
17843 * soft-fp/extended.h: Fix comment formatting.
17844 * soft-fp/op-1.h: Likewise.
17845 * soft-fp/op-2.h: Likewise.
17846 * soft-fp/op-4.h: Likewise.
17847 * soft-fp/op-8.h: Likewise.
17848 * soft-fp/op-common.h: Likewise.
17849 * soft-fp/soft-fp.h: Likewise.
17850
17851 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
17852
17853 2014-09-16 Joseph Myers <joseph@codesourcery.com>
17854
17855 [BZ #6652]
17856 * Makeconfig (soversions-default-setname): Remove variable.
17857 ($(common-objpfx)soversions.i): Don't pass default_setname to
17858 soversions.awk.
17859 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
17860 oldest_abi to abi-versions.awk.
17861 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
17862 * config.make.in (oldest-abi): Remove variable.
17863 * configure.ac (--enable-oldest-abi): Remove configure option.
17864 * configure: Regenerated.
17865 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
17866 text.
17867 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
17868 * scripts/soversions.awk: Do not handle default_setname variable.
17869 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
17870 variable.
17871 * sysdeps/mach/hurd/configure: Regenerated.
17872 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
17873 variable.
17874 * sysdeps/unix/sysv/linux/configure: Regenerated.
17875
17876 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17877
17878 * elf/Makefile (CFLAGS-interp.c): Remove.
17879 ($(elf-objpfx)runtime-linker.h): Generate header with linker
17880 path string.
17881 * elf/interp.c: Include generated runtime-linker.h
17882
17883 * Makerules (lib%.so): Don't include $(+interp) in
17884 prerequisites.
17885 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
17886 * dlfcn/eval.c: Remove file.
17887
17888 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
17889 macros.
17890
17891 [BZ #17266]
17892 * misc/sys/cdefs.h: Define __extern_always_inline for clang
17893 4.2 and newer.
17894
17895 [BZ #17370]
17896 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
17897
17898 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17899 Jakub Jelinek <jakub@redhat.com>
17900
17901 [BZ #17266]
17902 * libio/stdio.h: Check definition of __fortify_function
17903 instead of __extern_always_inline to include bits/stdio2.h.
17904 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
17905 check if __extern_always_inline is defined.
17906 [__USE_MISC || __USE_XOPEN]: Likewise.
17907 [__USE_ISOC99] Likewise.
17908 * misc/sys/cdefs.h (__fortify_function): Define only if
17909 __extern_always_inline is defined.
17910 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
17911 __extern_always_inline and __extern_inline only for g++-4.3
17912 and newer or a compatible gcc.
17913
17914 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
17915
17916 [BZ #17371]
17917 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17918 last change to handle zero prefix length.
17919
17920 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17921
17922 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
17923 _SC_REGEX_VERSION.
17924
17925 * posix/getconf.c (vars): Add _POSIX_IPV6 and
17926 _POSIX_RAW_SOCKETS.
17927
17928 2014-09-13 Allan McRae <allan@archlinux.org>
17929
17930 * po/ru.po: Update Russian translation from translation project.
17931
17932 2014-09-12 Roland McGrath <roland@hack.frob.com>
17933
17934 * locale/programs/locale.c (show_locale_vars): Inline local function
17935 into its sole call site. Clean up some style nits.
17936 (print_item): New function, broken out of ...
17937 (show_info): ... local function here. Clean up style nits.
17938
17939 * locale/programs/ld-ctype.c (set_one_default): New function, broken
17940 out of ...
17941 (set_class_defaults): ... local function set_default here.
17942 Define set_default as a macro locally to pass constant parameters.
17943 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
17944 rather than a shared local.
17945
17946 * stdlib/rpmatch.c (try): New function, broken out of ...
17947 (rpmatch): ... local function here. Also, prototypify definition.
17948
17949 2014-09-12 Joseph Myers <joseph@codesourcery.com>
17950
17951 * scripts/soversions.awk: Do not handle configuration names.
17952 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
17953 vendor and os variables to soversions.awk.
17954 * configure.ac: Do not modify gnu-* host_os.
17955 * configure: Regenerated
17956 * shlib-versions: Remove first column with configuration names.
17957 * nptl/shlib-versions: Likewise.
17958 * nptl_db/shlib-versions: Likewise.
17959 * sysdeps/hppa/shlib-versions: Likewise.
17960 * sysdeps/m68k/shlib-versions: Likewise.
17961 * sysdeps/mach/hurd/shlib-versions: Likewise.
17962 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
17963 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
17964 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
17965 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
17966 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
17967 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
17968 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
17969 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
17970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
17971 Likewise.
17972 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
17973 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
17974 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
17975 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
17976 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
17977 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
17978 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
17979 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
17980
17981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17982 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
17983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
17984 Regenerated.
17985 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
17986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
17987 Condition symbol version definitions on [HAVE_ELFV2_ABI].
17988
17989 * shlib-versions: Remove OS-specific entries. Moved to files in
17990 sysdeps.
17991 * sysdeps/mach/hurd/shlib-versions: New file.
17992 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
17993
17994 * nptl/shlib-versions: Remove architecture-specific entries.
17995 Moved to files in sysdeps.
17996 * shlib-versions: Likewise.
17997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
17998 file.
17999 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18000 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
18001 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
18002 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
18003
18004 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
18005 (UDP_NO_CHECK6_RX): Likewise.
18006
18007 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18008
18009 * sysdeps/posix/sysconf.c (__sysconf): Spell
18010 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
18011
18012 2014-08-12 Florian Weimer <fweimer@redhat.com>
18013
18014 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
18015 loading.
18016 * iconv/Versions (__gconv_transliterate): Export for use from
18017 gconv modules.
18018 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
18019 (struct __gconv_trans_data, __gconv_trans_fct,
18020 __gconv_trans_context_fct, __gconv_trans_query_fct,
18021 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
18022 definitions.
18023 (struct __gconv_step_data): Remove __trans member.
18024 (__gconv_transliterate): Declaration moved from gconv_int.h. No
18025 longer hidden. Remove unused trans_data argument.
18026 * iconv/gconv_int.h (struct trans_struct): Remove definition.
18027 (__gconv_translit_find): Remove declaration.
18028 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
18029 prototype.
18030 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
18031 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
18032 trans_data argument. Add hidden definition.
18033 (__gconv_translit_find): Remove.
18034 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
18035 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
18036 * iconv/skeleton.c: Remove transliteration initialization.
18037 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
18038 __gconv_step_data initialization.
18039 * libio/iofwide.c (__libio_translit_): Remove.
18040 (_IO_fwide): Adjust struct __gconv_step_data initialization.
18041 * wcsmbs/btowc.c (__btowc): Likewise.
18042 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18043 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18044 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
18045 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
18046 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
18047 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
18048 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
18049 * wcsmbs/wctob.c (wctob): Likewise.
18050
18051 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18052
18053 [BZ #16194]
18054 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
18055 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
18056 register usage.
18057 * sysdeps/x86/Makefile: Adjust.
18058
18059 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
18060 Roland McGrath <roland@hack.frob.com>
18061
18062 * locale/weight.h: Add include guard.
18063 (findidx): Make static rather than auto; take new parameters
18064 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
18065 * locale/weightwc.h: Likewise.
18066 * posix/fnmatch_loop.c
18067 (FCT): Change type of EXTRA from int32_t to wint_t.
18068 Don't include either header inside the function.
18069 Call FINDIDX rather than findidx, and pass new arguments.
18070 #undef FINDIDX at the end of the file.
18071 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
18072 FINDIDX before including fnmatch_loop.c for the non-wide version.
18073 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
18074 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
18075 for the wide version.
18076 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
18077 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
18078 Pass new arguments to findidx.
18079 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
18080 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
18081 Don't #include it inside the function. Pass new arguments to findidx.
18082 * posix/regex_internal.h
18083 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
18084 (re_string_elem_size_at): Don't #include it inside the function.
18085 Pass new arguments to findidx.
18086 * string/strcoll_l.c: #include WEIGHT_H at top level.
18087 (get_next_seq): Don't #include it inside the function.
18088 Pass new arguments to findidx.
18089 (get_next_seq_nocache): Likewise.
18090 * string/strxfrm_l.c: #include WEIGHT_H at top level.
18091 (STRXFRM): Don't #include it inside the function.
18092 Pass new arguments to findidx.
18093
18094 2014-09-11 Florian Weimer <fweimer@redhat.com>
18095
18096 [BZ #17344]
18097 * malloc/malloc.c (unlink): Turn asserts into a call to
18098 malloc_printerr.
18099
18100 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
18101
18102 [BZ #17370]
18103 * libio/wfileops (do_ftell_wide): Free OUT.
18104
18105 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
18106
18107 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
18108
18109 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18110
18111 [BZ #17363]
18112 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
18113 group if the current group is empty.
18114
18115 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18116
18117 * benchtests/bench-memset.c (test_main): Add more test from size
18118 from 32 to 512 bytes.
18119 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18120 Add POWER8 memset object.
18121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18122 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
18123 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
18124 implementation.
18125 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
18126 Likewise.
18127 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
18128 multiarch POWER8 memset optimization.
18129 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
18130 POWER8 memset optimization.
18131
18132 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18133 Remove bzero multiarch objects.
18134 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
18135 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
18136 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
18137 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
18138 Remove define.
18139 [__bzero]: Redefine to specific name.
18140 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
18141 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
18142 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
18143 define.
18144 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18145 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18146
18147 2014-09-10 Florian Weimer <fweimer@redhat.com>
18148
18149 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
18150 warnings into errors.
18151
18152 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
18153 __cxa_thread_atexit_impl prototype.
18154
18155 2014-09-09 Steve Ellcey <sellcey@mips.com>
18156
18157 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
18158 Fix capitalization of error message.
18159
18160 2014-09-09 Steve Ellcey <sellcey@mips.com>
18161
18162 * sysdeps/mips/preconfigure: Modify ABI tests.
18163
18164 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
18165
18166 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
18167
18168 2014-09-07 Roland McGrath <roland@hack.frob.com>
18169 Carlos O'Donell <carlos@systemhalted.org>
18170
18171 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
18172 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
18173 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
18174 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
18175 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
18176 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
18177 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
18178 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
18179 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
18180 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
18181 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
18182 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
18183 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
18184 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
18185 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
18186 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
18187 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
18188 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
18189 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
18190 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
18191 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
18192 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
18193 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
18194 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
18195 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
18196 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
18197 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
18198 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
18199 Deconditionalize the code that was previously under [RESET_PID].
18200 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
18201 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
18202 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
18203 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
18204 include sysdep.h.
18205
18206 2014-09-08 Allan McRae <allan@archlinux.org>
18207
18208 * version.h (RELEASE): Set to "development".
18209 (VERSION): Set to "2.20.90"
18210
18211 2014-09-07 Allan McRae <allan@archlinux.org
18212
18213 * version.h (RELEASE): Set to "stable".
18214 (VERSION): Set to "2.20"
18215 * include/features.h (__GLIBC_MINOR__): Set to 20.
18216
18217 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
18218 Liebler.
18219
18220 * po/ko.po: Update Korean translation from translation project.
18221
18222 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
18223
18224 [BZ #17354]
18225 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
18226 macro for handling signed relocations.
18227
18228 2014-09-03 Florian Weimer <fweimer@redhat.com>
18229
18230 [BZ #17325]
18231 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
18232 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
18233 assert.
18234 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
18235 * iconvdata/ibm935.c (BODY): Likewise.
18236 * iconvdata/ibm937.c (BODY): Likewise.
18237 * iconvdata/ibm939.c (BODY): Likewise.
18238 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
18239 assert.
18240 * iconvdata/Makefile (iconv-test.out): Pass module list to test
18241 script.
18242 * iconvdata/run-iconv-test.sh: New test loop for checking for
18243 decoder crashers.
18244
18245 2014-09-02 Khem Raj <raj.khem@gmail.com>
18246
18247 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
18248 libm_hidden_ver.
18249
18250 2014-09-01 Allan McRae <allan@archlinux.org>
18251
18252 * po/eo.po: Update Esperanto translation from translation project.
18253
18254 * po/ca.po: Update Catalan translation from translation project.
18255
18256 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
18257
18258 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
18259 __proc_dostop call.
18260
18261 2014-08-27 Mark Wielaard <mjw@redhat.com>
18262
18263 [BZ #17319]
18264 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
18265 to call set_thread_area instead of hand written asm.
18266 (__NR_set_thread_area): Removed define.
18267 (TLS_FLAG_WRITABLE): Likewise.
18268 (__ASSUME_SET_THREAD_AREA): Remove check.
18269 (TLS_EBX_ARG): Remove define.
18270 (TLS_LOAD_EBX): Likewise.
18271
18272 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18273
18274 Simplify atomicity of socket creation in bind.
18275
18276 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
18277 looking up the name after linking the file.
18278
18279 2014-08-27 Allan McRae <allan@archlinux.org>
18280
18281 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18282
18283 2014-08-26 Florian Weimer <fweimer@redhat.com>
18284
18285 [BZ #17187]
18286 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
18287 trans_compare, open_translit, __gconv_translit_find):
18288 Remove module loading code.
18289
18290 2014-08-26 Allan McRae <allan@archlinux.org>
18291
18292 * po/vi.po: Update Vietnamese translation from translation project.
18293
18294 * po/uk.po: Update Ukrainian translation from translation project.
18295
18296 * po/fr.po: Update French translation from translation project.
18297
18298 * po/ru.po: Update Russian translation from translation project.
18299
18300 * po/pl.po: Update Polish translation from translation project.
18301
18302 * po/cs.po: Update Czech translation from translation project.
18303
18304 * po/de.po: Update German translation from translation project.
18305
18306 * po/bg.po: Update Bulgarian translation from translation project.
18307
18308 * po/sv.po: Update Sweedish translation from translation project.
18309
18310 * po/nl.po: Update Dutch translation from translation project.
18311
18312 * po/es.po: Update Spanish translation from translation project.
18313
18314 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18315
18316 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
18317
18318 * catgets/Makefile (CPPFLAGS-gencat): Remove.
18319 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
18320 (CPPFLAGS-iconvconfig): Likewise.
18321 * timezone/Makefile (CPPFLAGS-zic): Likewise.
18322
18323 * include/libc-symbols.h: Remove unnecessary check for
18324 NOT_IN_libc.
18325 * nptl/pthreadP.h: Likewise.
18326 * sysdeps/aarch64/setjmp.S: Likewise.
18327 * sysdeps/alpha/setjmp.S: Likewise.
18328 * sysdeps/arm/sysdep.h: Likewise.
18329 * sysdeps/i386/setjmp.S: Likewise.
18330 * sysdeps/m68k/setjmp.c: Likewise.
18331 * sysdeps/posix/getcwd.c: Likewise.
18332 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18333 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
18334 * sysdeps/s390/s390-32/setjmp.S: Likewise.
18335 * sysdeps/s390/s390-64/setjmp.S: Likewise.
18336 * sysdeps/sh/sh3/setjmp.S: Likewise.
18337 * sysdeps/sh/sh4/setjmp.S: Likewise.
18338 * sysdeps/unix/alpha/sysdep.h: Likewise.
18339 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18340 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18341 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
18342 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18345 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18346 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18347 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18348 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18350 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18351 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18352 * sysdeps/x86_64/setjmp.S: Likewise.
18353
18354 2014-08-13 Joseph Myers <joseph@codesourcery.com>
18355
18356 [BZ #17263]
18357 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
18358 <stdint.h>.
18359 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
18360 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
18361
18362 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18363
18364 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
18365
18366 [BZ #17262]
18367 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
18368 and __x86_64__ when disabling x87 inline functions.
18369
18370 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
18371
18372 [BZ #17259]
18373 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
18374 asm statement with __cpuid_count.
18375
18376 2014-08-12 Mike Frysinger <vapier@gentoo.org>
18377
18378 * configure.ac: Change __ehdr_start code to dereference the struct.
18379 Run readelf on the output to look for relocations.
18380 * configure: Regenerated.
18381
18382 2014-08-12 Joseph Myers <joseph@codesourcery.com>
18383
18384 [BZ #17261]
18385 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
18386 value to 0.
18387 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
18388
18389 2014-08-12 Roland McGrath <roland@hack.frob.com>
18390
18391 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
18392
18393 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
18394
18395 [BZ #16892]
18396 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
18397 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
18398
18399 2014-08-12 Sean Anderson <seanga2@gmail.com>
18400
18401 * malloc/malloc.c: Fix typo in comment.
18402
18403 2014-08-09 Allan McRae <allan@archlinux.org>
18404
18405 * Regenerate libc.po.
18406
18407 2014-08-08 Mike Frysinger <vapier@gentoo.org>
18408
18409 * intl/tst-gettext2.sh: Check every lang file for creation.
18410
18411 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
18412
18413 * sysdeps/aarch64/fpu/math_private.h
18414 (libc_feholdsetround_noex_aarch64_ctx): New function.
18415
18416 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
18417
18418 * sysdeps/arm/armv6/strcpy.S (strcpy):
18419 Fix performance issue in misaligned cases.
18420
18421 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18422
18423 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
18424 Move definition from termios.h.
18425 (struct termio): Likewise.
18426 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18427 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
18428 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
18429 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
18430 Likewise.
18431 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
18432 Move definition to ioctl-types.h
18433 (struct termio): Likewise.
18434 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18435 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
18436 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
18437 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
18438 Likewise.
18439
18440 2014-08-05 Richard Henderson <rth@redhat.com>
18441
18442 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
18443 exceptions.
18444 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
18445 Add fraiseexcpt.
18446 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
18447 Use __feraiseexcept.
18448 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
18449 Protect libm symbols with IS_IN_libm.
18450
18451 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
18452
18453 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
18454
18455 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
18456
18457 2014-08-04 Will Newton <will.newton@linaro.org>
18458
18459 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
18460 file.
18461
18462 2014-08-04 Mike Frysinger <vapier@gentoo.org>
18463
18464 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
18465 variants for each function.
18466
18467 2014-08-04 Roland McGrath <roland@hack.frob.com>
18468
18469 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
18470 appended ...
18471 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
18472 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
18473 appended ...
18474 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
18475 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
18476 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
18477 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
18478 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
18479 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
18480 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
18481 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
18482 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
18483 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
18484 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
18485 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
18486 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
18487 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
18488 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
18489 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
18490 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
18491 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
18492 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
18493 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
18494 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
18495 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
18496 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
18497 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
18498 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
18499 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
18500 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
18501 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
18502 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
18503 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
18504 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
18505 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
18506 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
18507 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
18508 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
18509 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
18510 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
18511 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
18512 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
18513 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
18514 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
18515 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
18516 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
18517 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
18518 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
18519 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
18520 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
18521 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
18522 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
18523 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
18524 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
18525 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
18526 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
18527 Update #include.
18528 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
18529 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
18530
18531 2014-08-04 Roland McGrath <roland@hack.frob.com>
18532
18533 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
18534 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
18535 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
18536 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
18537 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
18538 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
18539
18540 2014-08-04 Roland McGrath <roland@hack.frob.com>
18541
18542 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
18543 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
18544 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18545 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
18546
18547 2014-08-04 Roland McGrath <roland@hack.frob.com>
18548
18549 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
18550 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
18551 (__libc_vfork): Define function under this name.
18552 (__vfork): Define as an alias.
18553 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
18554 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
18555
18556 2014-08-04 Roland McGrath <roland@hack.frob.com>
18557
18558 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
18559 that was previously under [RESET_PID].
18560 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
18561
18562 2014-08-04 Andreas Schwab <schwab@suse.de>
18563
18564 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
18565
18566 2014-08-03 Mike Frysinger <vapier@gentoo.org>
18567
18568 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
18569 (main): Likewise.
18570
18571 2014-08-01 Roland McGrath <roland@hack.frob.com>
18572
18573 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
18574
18575 2014-08-01 Richard Henderon <rth@redhat.com>
18576
18577 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
18578 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
18579 typo in exact zero test.
18580 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18581 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18582 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18583
18584 2014-08-01 Roland McGrath <roland@hack.frob.com>
18585
18586 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
18587 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
18588 * sysdeps/arm/sysdep.h: ... here.
18589 [!__ASSEMBLER__]: Include <stdint.h>.
18590
18591 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18592
18593 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
18594 (HAVE_WCTYPE_H): Likewise.
18595 (HAVE_ISWCTYPE): Likewise.
18596 (ENABLE_NLS): Likewise.
18597 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
18598 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
18599
18600 * posix/regex_internal.c: Check if DEBUG is defined and is
18601 set.
18602
18603 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
18604 (HAVE_MBSRTOWCS): Likewise.
18605 * posix/fnmatch.c: Include string.h unconditionally.
18606
18607 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
18608
18609 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
18610 reversal.
18611
18612 2014-07-31 Roland McGrath <roland@hack.frob.com>
18613
18614 * sysdeps/generic/safe-fatal.h: New file.
18615 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
18616 * nptl/forward.c: Include it.
18617 (__pthread_unwind): Use __safe_fatal as default action, rather
18618 than a bogus use of INTERNAL_SYSCALL that could never work.
18619
18620 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
18621 * configure.ac (libc_cv_builtin_trap): New test.
18622 * configure: Regenerated.
18623 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
18624 (ABORT_INSTRUCTION): Define using __builtin_trap.
18625
18626 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
18627 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
18628 * sysdeps/nptl/nptl-signals.h: New file.
18629 * nptl/pthreadP.h: Include <nptl-signals.h>.
18630
18631 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
18632
18633 * sysdeps/s390/s390-64/utf16-utf32-z9.c
18634 (ONE_DIRECTION): Define.
18635 * sysdeps/s390/s390-64/utf8-utf16-z9.c
18636 (ONE_DIRECTION): Define.
18637 * sysdeps/s390/s390-64/utf8-utf32-z9.c
18638 (ONE_DIRECTION): Define.
18639
18640 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
18641
18642 * sysdeps/s390/Makefile: Delete file.
18643 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
18644 * sysdeps/s390/__longjmp.c: Delete file.
18645 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
18646 Remove fields __flags and __reserved.
18647 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
18648 and add versioning.
18649 * sysdeps/s390/rtld-__longjmp.c: Delete file.
18650 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
18651 * sysdeps/s390/rtld-setjmp.S: Likewise.
18652 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
18653 * sysdeps/s390/s390-32/__longjmp.c: ... here.
18654 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
18655 * sysdeps/s390/s390-32/setjmp.S: ... here.
18656 Add versioning.
18657 (__sigsetjmp): Remove setting __flags field.
18658 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
18659 * sysdeps/s390/s390-64/__longjmp.c: ... here.
18660 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
18661 * sysdeps/s390/s390-64/setjmp.S: ... here.
18662 Add versioning.
18663 (__sigsetjmp): Remove setting __flags field.
18664 * sysdeps/s390/setjmp.S: Delete file.
18665 * sysdeps/s390/sigjmp.c: Likewise.
18666 * sysdeps/s390/v1-longjmp.c: Likewise.
18667 * sysdeps/s390/v1-setjmp.h: Likewise.
18668 * sysdeps/s390/v1-sigjmp.c: Likewise.
18669 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
18670 Remove v1-longjmp_chk.
18671 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
18672 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
18673 Include debug/longjmp_chk.c and add versioning.
18674 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
18675 Include nptl/pt-longjmp.c and add versioning.
18676 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
18677 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
18678 Include __longjmp.c.
18679 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18680 Move to ...
18681 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
18682 (__getcontext): Remove setting __flags field.
18683 Add versioning.
18684 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18685 Don't restore upper high grps.
18686 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
18687 Likewise.
18688 (__swapcontext): Remove setting uc_flags field.
18689 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
18690 Delete file.
18691 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18692 Include __longjmp.c.
18693 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18694 Move to ...
18695 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
18696 (__getcontext): Remove setting __flags field.
18697 Add versioning.
18698 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
18699 (__swapcontext): Remove setting uc_flags field.
18700 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
18701 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
18702 Remove fields uc_high_gprs and __reserved.
18703 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
18704 New file with reverted content.
18705 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
18706 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
18707 Regenerated.
18708 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
18709 Regenerated.
18710
18711 2014-07-31 Andreas Schwab <schwab@suse.de>
18712
18713 * config.h.in (HAVE_IFUNC): Define to 0.
18714 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
18715 definedness.
18716
18717 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
18718
18719 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18720 memmove-avx-unaligned, memcpy-avx-unaligned and
18721 mempcpy-avx-unaligned.
18722 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18723 Add tests for AVX memcpy functions.
18724 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
18725 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
18726 memcpy_chk.
18727 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
18728 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
18729 memmove_chk.
18730 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
18731 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
18732 mempcpy_chk.
18733 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
18734 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
18735 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
18736
18737 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18738
18739 [BZ #17213]
18740 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
18741 powerpc64le.
18742
18743 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
18744
18745 [BZ #16839]
18746 * manual/llio.texi: Add section about open file description locks.
18747 * manual/examples/ofdlocks.c: Example of open file description
18748 lock usage.
18749 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
18750 F_OFD_SETLK, and F_OFD_SETLKW.
18751
18752 2014-07-23 Allan McRae <allan@archlinux.org>
18753
18754 * po/es.po: Update Spanish translation from translation project.
18755
18756 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
18757
18758 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
18759
18760 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
18761
18762 [BZ #17078]
18763 * sysdeps/arm/dl-machine.h (elf_machine_rela)
18764 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
18765 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
18766
18767 2014-07-17 Joseph Myers <joseph@codesourcery.com>
18768
18769 [BZ #17088]
18770 * math/fesetenv.c (__fesetenv)
18771 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
18772 * math/feupdateenv.c (__feupdateenv)
18773 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
18774
18775 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
18776 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18777 (__ASSUME_SOCKETCALL): Do not define.
18778
18779 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
18780 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
18781 (__ASSUME_SOCKETCALL): Do not define.
18782 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
18783 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
18784 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18785 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
18786 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18787 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
18788 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18789 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18790
18791 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
18792 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
18793 (__ASSUME_SOCKETCALL): Do not define.
18794 (__ASSUME_IPC64): Define unconditionally.
18795 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
18796 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18797 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
18798 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18799 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
18800 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18801 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
18802 Likewise.
18803
18804 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
18805 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
18806 (__ASSUME_SOCKETCALL): Do not define.
18807 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
18808 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18809 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18810 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18811 (__ASSUME_REQUEUE_PI): Define unconditionally.
18812 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
18813 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18814 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18815 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
18816 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18817 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18818
18819 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
18820 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
18821 (__ASSUME_SOCKETCALL): Do not define.
18822 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
18823 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18824 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18825 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
18826 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18827 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18828
18829 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
18830 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
18831 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18832 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
18833 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18834 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
18835 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18836 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
18837 (__ASSUME_GETCPU_SYSCALL): Likewise.
18838
18839 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
18840 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
18841 cases for individual architectures.
18842 * sysdeps/gnu/configure: Regenerated.
18843 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
18844 LIBC_SLIBDIR_RTLDDIR.
18845 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
18846 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
18847 LIBC_SLIBDIR_RTLDDIR.
18848 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
18849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
18850 LIBC_SLIBDIR_RTLDDIR.
18851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
18852 Regenerated.
18853 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
18854 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
18855 file.
18856 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
18857 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
18858 file.
18859 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
18860 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
18861 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
18862 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
18863
18864 * sysdeps/aarch64/shlib-versions: Move to ...
18865 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
18866 * sysdeps/alpha/shlib-versions: Move to ...
18867 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
18868 * sysdeps/arm/shlib-versions: Move to ...
18869 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
18870 * sysdeps/hppa/shlib-versions: Move all contents except for
18871 libgcc_s entry to ...
18872 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
18873 entry from ...
18874 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
18875 * sysdeps/ia64/shlib-versions: Move to ...
18876 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
18877 entry from ...
18878 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
18879 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
18880 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
18881 * sysdeps/microblaze/shlib-versions: Move to ...
18882 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
18883 * sysdeps/mips/shlib-versions: Move to ...
18884 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
18885 entry from ...
18886 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
18887 * sysdeps/tile/shlib-versions: Move to ...
18888 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
18889 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
18890 from ...
18891 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
18892 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
18893 entry from ...
18894 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
18895
18896 2014-07-17 Will Newton <will.newton@linaro.org>
18897
18898 * sysdeps/arm/bits/atomic.h
18899 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
18900 (__arch_compare_and_exchange_bool_16_int): Likewise.
18901 (__arch_compare_and_exchange_bool_64_int): Likewise.
18902
18903 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
18904 into an #else block.
18905
18906 2014-07-16 Roland McGrath <roland@hack.frob.com>
18907
18908 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
18909 just Linux configurations. Test empirically that the compiler sets
18910 __ARM_EABI__, rather than using the tuple to decide.
18911 * sysdeps/arm/preconfigure: Regenerated.
18912 * sysdeps/unix/sysv/linux/arm/configure: File removed.
18913 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
18914 contents appended ...
18915 * sysdeps/arm/configure.ac: ... here.
18916 * sysdeps/arm/configure: Regenerated.
18917
18918 2014-07-15 Roland McGrath <roland@hack.frob.com>
18919
18920 * nptl/pthread_kill.c: New file.
18921 * nptl/pthread_sigmask.c: New file.
18922 * nptl/pthread_sigqueue.c: New file.
18923
18924 * sysdeps/nptl/lowlevellock.h: New file.
18925 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
18926 * sysdeps/nptl/lowlevellock-futex.h: New file.
18927
18928 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
18929 Remove dead declarations.
18930
18931 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
18932
18933 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
18934 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
18935 config-cflags-avx2.
18936 * sysdeps/x86_64/configure.ac: Likewise.
18937 * sysdeps/i386/configure: Regenerated.
18938 * sysdeps/x86_64/configure: Likewise.
18939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18940 memset-avx2 only if config-cflags-avx2 is yes.
18941 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18942 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
18943 defined.
18944 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
18945 only if HAVE_AVX2_SUPPORT is defined.
18946 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18947
18948 2014-07-14 Alan Modra <amodra@gmail.com>
18949
18950 [BZ #17153]
18951 * elf/elf.h (DT_PPC64_NUM): Correct value.
18952 * NEWS: Add to fixed bug list.
18953
18954 2014-07-13 Jim Meyering <meyering@fb.com>
18955
18956 [BZ 17150]
18957 regex: don't deref NULL upon heap allocation failure
18958 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
18959 failure in one more place.
18960 To trigger the segfault, configure grep -with-included-regex,
18961 build it, and run these commands:
18962 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
18963
18964 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
18965
18966 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18967
18968 2014-07-11 Richard Henderson <rth@redhat.com>
18969
18970 * sysdeps/aarch64/libm-test-ulps: Update.
18971
18972 2014-07-10 Florian Weimer <fweimer@redhat.com>
18973
18974 [BZ #17135]
18975 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
18976 * nptl/allocatestack.c (__nptl_setxid_error): New function.
18977 (__nptl_setxid): Initialize error member. Call
18978 __nptl_setxid_error.
18979 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
18980 * nptl/descr.h (struct xid_command): Add error member.
18981 * nptl/tst-setuid3.c: New file.
18982 * nptl/Makefile (tests): Add it.
18983
18984 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18985
18986 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
18987 New define.
18988 (__lll_trylock): Use __lll_base_trylock.
18989 (__lll_cond_trylock): Likewise.
18990
18991 2014-07-10 Roland McGrath <roland@hack.frob.com>
18992
18993 * nptl/pthread_create.c (start_thread): Use atomic_or and
18994 lll_futex_wake directly rather than lll_robust_dead.
18995 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
18996 (lll_robust_dead): Macro removed.
18997 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
18998 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
18999 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
19000 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19001 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19002 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
19003 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
19004 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19005 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
19006 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19007 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19008 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19009 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19010 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19011 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19012
19013 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
19014 Use atomic_compare_and_exchange_val_acq directly rather than
19015 lll_robust_trylock.
19016 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
19017 (__lll_robust_trylock, lll_robust_trylock): Removed.
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.
19032
19033 2014-07-02 Florian Weimer <fweimer@redhat.com>
19034
19035 * manual/locale.texi (Locale Names): New section documenting
19036 locale name syntax. Adjust menu and node chaining accordingly.
19037 (Choosing Locale): Reference Locale Names, Locale Categories.
19038 Mention setting LC_ALL=C. Reflect that name syntax is now
19039 documented.
19040 (Locale Categories): New section title. Reference Locale Names.
19041 LC_ALL is an environment variable, but not a category.
19042 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
19043 description, now in Locale Name. Reference that section. Locale
19044 name syntax is now documented.
19045
19046 2014-07-02 Florian Weimer <fweimer@redhat.com>
19047
19048 [BZ #17137]
19049 * locale/findlocale.c (name_present, valid_locale_name): New
19050 functions.
19051 (_nl_find_locale): Use the loc_name variable to store name
19052 candidates. Call name_present and valid_locale_name to check and
19053 validate locale names. Return an error if the locale is invalid.
19054
19055 2014-07-02 Florian Weimer <fweimer@redhat.com>
19056
19057 * locale/setlocale.c (setlocale): Use strdup for allocating
19058 composite name copy.
19059
19060 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19061
19062 Sync up with gnulib.
19063 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
19064 [!_LIBC && ENABLE_NLS]: Include gettext.h.
19065 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
19066 and _GL_ARG_NONNULL.
19067 [USE_UNLOCKED_IO]: Include unlocked-io.h.
19068 [!_LIBC]: Include code for Windows and Cygwin.
19069 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
19070 Include prototype for int strerror_r.
19071 [!_LIBC] (is_open): New function.
19072 (flush_stdout): New function.
19073 (print_errno_message): Use it.
19074 (error): Likewise.
19075 (error_at_line): Likewise.
19076 (error_tail) Add function attribute macros. Use
19077 __builtin_expect.
19078
19079 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
19080
19081 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
19082
19083 * io/ftw.c: Include sys/param.h unconditionally.
19084
19085 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
19086
19087 [BZ #17125]
19088 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
19089 libc_freeres_ptr.
19090 (freecache): New function to free CACHE on exit.
19091
19092 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
19093 initialization.
19094
19095 2014-07-09 David S. Miller <davem@davemloft.net>
19096
19097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19098
19099 * sysdeps/sparc/nptl/internaltypes.h: Delete.
19100 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
19101 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
19102 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
19103 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
19104 * sysdeps/sparc/nptl/sem_init.c: Likewise.
19105 * sysdeps/sparc/nptl/sem_post.c: Likewise.
19106 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
19107 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
19108 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
19109 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
19110 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
19111 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
19112
19113 2014-07-09 Andreas Schwab <schwab@suse.de>
19114
19115 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
19116 output.
19117 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
19118 (do_test): Likewise.
19119
19120 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19121
19122 2014-07-09 Will Newton <will.newton@linaro.org>
19123
19124 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
19125 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
19126 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
19127 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
19128 * sysdeps/hppa/start.S (_start): Likewise.
19129
19130 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19131
19132 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
19133
19134 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
19135 defined.
19136
19137 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19138
19139 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
19140 after checking that it is non-NULL.
19141
19142 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
19143
19144 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19145
19146 * sysdeps/powerpc/memmove.c: Remove file.
19147 * sysdeps/powerpc/powerpc32/power4/memcopy.h
19148 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
19149 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19150 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
19151 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
19152 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
19153 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
19154 string memmove instead of removed powerpc one.
19155
19156 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19157 [weak_alias]: Fix compiler warning due trailing data.
19158 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
19159 [weak_alias]: Likewise.
19160 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
19161 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
19162
19163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19164 (__libc_ifunc_impl_list): Add memmove functions.
19165
19166 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19167
19168 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
19169 Remove code.
19170 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
19171 Likewise
19172 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
19173 Likewise
19174 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
19175 Likewise
19176 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
19177 Likewise
19178 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
19179 Likewise
19180 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
19181 Likewise
19182 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
19183 Likewise
19184 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
19185 Likewise
19186 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
19187 Likewise
19188 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
19189 Likewise
19190 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
19191 Likewise
19192 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
19193 Likewise
19194 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
19195 Likewise
19196 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
19197 Likewise
19198 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
19199 Likewise
19200 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
19201 Likewise
19202
19203 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19204
19205 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
19206 to avoid alignment traps in non-cacheable memory.
19207 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19208
19209 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
19210 multiarch objects.
19211 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
19212 file: multiarch power7 memmove.
19213 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
19214 multiarch default memmove.
19215 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
19216 multiarch memove for powerpc32/power4.
19217
19218 * string/bcopy.c: Use full path to include memmove.c.
19219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
19220 multiarch objects.
19221 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
19222 bcopy for powerpc64.
19223 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
19224 bcopy for powerpc64.
19225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
19226 and memmove implementations.
19227 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
19228 optimized multiarch memmove for POWER7/powerpc64.
19229 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
19230 default multiarch memmove for powerpc64.
19231 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
19232 multiarch for powerpc64.
19233 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
19234 for POWER7/powerpc64.
19235 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
19236 memmove for POWER7/powerpc64.
19237
19238 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
19239 glibc default one.
19240
19241 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
19242 __ELF_NATIVE_CLASS equal to 64.
19243
19244 2014-07-07 Roland McGrath <roland@hack.frob.com>
19245
19246 * sysdeps/nptl/lowlevellock.h: File removed.
19247
19248 * NEWS: NPTL is no longer an add-on!
19249 * nptl/internaltypes.h: Moved ...
19250 * sysdeps/nptl/internaltypes.h: ... here.
19251 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
19252 * sysdeps/nptl/fork.c: Likewise.
19253 * sysdeps/nptl/gai_misc.h: Likewise.
19254 * sysdeps/nptl/librt-cancellation.c: Likewise.
19255 * sysdeps/nptl/jmp-unwind.c: Likewise.
19256 * sysdeps/nptl/setxid.h: Likewise.
19257 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
19258 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
19259 * sysdeps/unix/sysv/linux/arm/Implies: New file.
19260 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
19261 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
19262 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
19263 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
19264 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
19265 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
19266 * sysdeps/unix/sysv/linux/mips/Implies: New file.
19267 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
19268 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
19269 * sysdeps/unix/sysv/linux/sh/Implies: New file.
19270 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
19271 * sysdeps/unix/sysv/linux/tile/Implies: New file.
19272 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
19273 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
19274 * nptl/Makeconfig: Moved ...
19275 * sysdeps/nptl/Makeconfig: ... here.
19276 * nptl/configure: File removed.
19277 * nptl/ANNOUNCE: File removed.
19278 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
19279 * sysdeps/unix/sysv/linux/configure: Regenerated.
19280
19281 * nptl/Makefile (routines): Add libc_pthread_init,
19282 libc_multiple_threads, register-atfork and unregister-atfork.
19283 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
19284 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
19285 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
19286 pthread-pi-defines.sym, structsem.sym.
19287 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
19288 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
19289 [$(subdir) = nptl] (tests): Add tst-setgetname.
19290 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
19291 * sysdeps/unix/sysv/linux/sigaction.c: Just include
19292 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
19293 [!LIBC_SIGACTION]: Remove aliases.
19294 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
19295 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
19296 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19297 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
19298 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19299 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
19300 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19301 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19302 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19303 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
19304 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
19305 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
19306 __libc_allocate_rtsig_private.
19307 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
19308 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
19309 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
19310 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
19311 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
19312 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
19313 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
19314 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
19315 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
19316 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
19317 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
19318 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
19319 * nptl/internaltypes.h: ... here.
19320 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
19321 * sysdeps/nptl/jmp-unwind.c: ... here.
19322 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
19323 * nptl/libc-lowlevellock.c: ... here.
19324 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
19325 * nptl/libc_multiple_threads.c: ... here.
19326 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
19327 * nptl/libc_pthread_init.c: ... here.
19328 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
19329 * nptl/lowlevelbarrier.sym: ... here.
19330 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
19331 * nptl/lowlevelcond.sym: ... here.
19332 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
19333 * nptl/lowlevellock.c: ... here.
19334 * nptl/lowlevellock.h: Moved ...
19335 * sysdeps/nptl/lowlevellock.h: ... here.
19336 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
19337 * nptl/lowlevelrobustlock.c: ... here.
19338 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
19339 * nptl/lowlevelrobustlock.sym: ... here.
19340 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
19341 * nptl/lowlevelrwlock.sym: ... here.
19342 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
19343 * nptl/pt-fork.c: ... here.
19344 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
19345 * nptl/pthread-pi-defines.sym: ... here.
19346 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
19347 * nptl/pthread_attr_getaffinity.c: ... here.
19348 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
19349 * nptl/pthread_attr_setaffinity.c: ... here.
19350 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
19351 * nptl/pthread_mutex_cond_lock.c: ... here.
19352 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19353 Update #include.
19354 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
19355 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
19356 * nptl/pthread_once.c: ... here, replacing old file.
19357 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
19358 * nptl/pthread_yield.c: ... here.
19359 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
19360 * nptl/register-atfork.c: ... here.
19361 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
19362 * nptl/sem_post.c: ... here.
19363 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
19364 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
19365 * nptl/sem_timedwait.c: ... here.
19366 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
19367 * nptl/sem_trywait.c: ... here.
19368 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
19369 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
19370 * nptl/sem_wait.c: ... here.
19371 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
19372 * nptl/structsem.sym: ... here.
19373 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
19374 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
19375 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
19376 * nptl/unregister-atfork.c: ... here.
19377 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
19378 * nptl/unwindbuf.sym: ... here.
19379 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
19380 * sysdeps/nptl/fork.c: ... here.
19381 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
19382 * sysdeps/nptl/fork.h: ... here.
19383 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
19384 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
19385 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
19386 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
19387 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
19388 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
19389 * sysdeps/unix/sysv/linux/getpid.c: ... here.
19390 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
19391 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
19392 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
19393 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
19394 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
19395 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
19396 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
19397 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
19398 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
19399 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
19400 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
19401 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
19402 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
19403 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
19404 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
19405 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
19406 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
19407 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
19408 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
19409 * sysdeps/unix/sysv/linux/raise.c: ... here.
19410 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
19411 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
19412 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
19413 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
19414 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
19415 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
19416 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
19417 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
19418 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
19419 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
19420 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
19421 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
19422 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
19423 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
19424 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
19425
19426 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19427
19428 * sysdeps/generic/memcopy.h: Add comment for
19429 MEMCPY_OK_FOR_FWD_MEMMOVE.
19430
19431 2014-07-04 Will Newton <will.newton@linaro.org>
19432
19433 * string/memchr.c: Merge from gnulib.
19434 [_LIBC]: Remove conditionals.
19435 (__ptr_t): Remove define.
19436 (LONG_MAX_32_BITS): Likewise.
19437 (LONG_MAX): Likewise.
19438 (MEMCHR): Use ANSI prototype and optimize algorithm.
19439
19440 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
19441
19442 2014-07-03 Roland McGrath <roland@hack.frob.com>
19443
19444 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
19445 (lll_futex_timed_wait_bitset): Fix syscall argument count.
19446
19447 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
19448 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
19449 in a bare environment with no <stdlib.h> installed.
19450 * sysdeps/nptl/configure: Regenerated.
19451
19452 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
19453
19454 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
19455 AC_EGREP_CPP for kernel header checks, so they only succeed if
19456 including <linux/version.h> actually works right.
19457 * sysdeps/unix/sysv/linux/configure: Regenerated.
19458
19459 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
19460 value so it's not diagnosed as unused.
19461
19462 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
19463 thing) with "ifeq ($(subdir),rt)".
19464
19465 2014-07-03 Richard Henderson <rth@redhat.com>
19466
19467 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
19468 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
19469 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
19470
19471 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
19472 (math_force_eval): New.
19473
19474 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
19475 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
19476
19477 * sysdeps/alpha/fpu/s_round.c: Remove file.
19478 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
19479
19480 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
19481 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
19482 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
19483 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
19484 (_dl_start, print_statistics): Likewise.
19485 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
19486 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
19487
19488 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
19489 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
19490 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
19491 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
19492 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
19493 (HP_SMALL_TIMING_AVAIL): Define.
19494 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
19495 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
19496 (HP_SMALL_TIMING_AVAIL): Define.
19497 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
19498 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
19499
19500 * sysdeps/aarch64/hp-timing.h: New file.
19501
19502 * sysdeps/generic/hp-timing.h: Remove dead comment.
19503 * sysdeps/generic/hp-timing-common.h: New file.
19504 * sysdeps/alpha/hp-timing.h: Include it.
19505 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
19506 * sysdeps/i386/i686/hp-timing.h: Likewise.
19507 * sysdeps/ia64/hp-timing.h: Likewise.
19508 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19509 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19510 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19511 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19512 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
19513 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
19514 (hp_timing_t): New.
19515
19516 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
19517 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
19518 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
19519 * elf/rtld.c (_dl_start_final): Likewise.
19520 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
19521 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
19522 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
19523 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
19524 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
19525 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
19526 (HP_TIMING_DIFF_INIT): Remove.
19527 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
19528 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
19529 (HP_TIMING_DIFF_INIT): Remove.
19530 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
19531 * sysdeps/i386/i686/hp-timing.c: Remove file.
19532 * sysdeps/x86_64/hp-timing.c: Remove file.
19533 * sysdeps/ia64/hp-timing.c: Remove file.
19534 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
19535 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
19536 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
19537 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
19538
19539 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
19540 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
19541 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
19542 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
19543 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
19544 (HP_TIMING_ACCUM): Remove.
19545 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
19546 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
19547 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
19548
19549 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
19550 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
19551 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
19552 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
19553 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
19554 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
19555 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
19556 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
19557
19558 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
19559
19560 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
19561
19562 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
19563
19564 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19565
19566 Sync up with gettext.
19567 * intl/loadmsgcat.c: Define O_BINARY if not defined.
19568 [_MSC_VER]: Include malloc.h
19569 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
19570 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
19571 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
19572 TEMP_FAILURE_RETRY. Cast return of alloca.
19573 [!_LIBC] Call gl_rwlock_init.
19574 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
19575
19576 2014-07-02 Roland McGrath <roland@hack.frob.com>
19577
19578 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
19579 before checking its value.
19580
19581 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19582
19583 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
19584
19585 * debug/memcpy_chk.c: Don't include pagecopy.h.
19586 * debug/mempcpy_chk.c: Likewise.
19587 * string/memcpy.c: Likewise.
19588 * string/memmove.c: Likewise.
19589 * sysdeps/powerpc/memmove.c: Likewise.
19590 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
19591 definition of PAGE_COPY_FWD_MAYBE here...
19592 * sysdeps/generic/pagecopy.h: ... from here.
19593 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
19594
19595 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19596 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19597
19598 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
19599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
19600 optimizations.
19601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19602 (__libc_ifunc_impl_list): Likewise.
19603 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
19604 multiarch strcat for PPC64.
19605 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
19606 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
19607
19608 2014-07-02 Roland McGrath <roland@hack.frob.com>
19609
19610 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
19611
19612 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19613
19614 * intl/loadmsgcat.c: Remove declaration of
19615 get_sysdep_segment_value.
19616 (get_sysdep_segment_value): Use ISO C style.
19617 (_nl_load_domain): Use ISO C style. Get rid of redundant
19618 semicolon. Fix typo and formatting in comment.
19619 (_nl_unload_domain): Use ISO C style.
19620
19621 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
19622
19623 2014-07-02 Will Newton <will.newton@linaro.org>
19624
19625 * malloc/obstack.c: Merge from gnulib master.
19626 [HAVE_CONFIG_H]: Remove conditional code.
19627 [!_LIBC]: Include config.h.
19628 [!ELIDE_CODE]: Don't include inttypes.h, include
19629 stdint.h unconditionally.
19630 (print_and_abort): Mark as _Noreturn.
19631 (_obstack_allocated_p): Mark as __attribute_pure__.
19632 (obstack_free): Rename to __obstack_free.
19633 [!__attribute__]: Remove conditional code.
19634 * malloc/obstack.h: Merge from gnulib master.
19635 [__cplusplus]: Move conditional down.
19636 [!__attribute_pure__]: Define __attribute_pure__ here
19637 if it is not already defined.
19638 (_obstack_memory_used): Mark as __attribute_pure__.
19639 [!__obstack_free]: Define as obstack_free.
19640 [__GNUC__]: Remove check for ancient NeXT gcc.
19641
19642 2014-07-02 Will Newton <will.newton@linaro.org>
19643 Paul Eggert <eggert@cs.ucla.edu>
19644
19645 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
19646
19647 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19648
19649 * resolv/gethnamaddr.c: Add comment warning that the file is
19650 not maintained.
19651
19652 2014-07-01 Carlos O'Donell <carlos@redhat.com>
19653
19654 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
19655 entries.
19656
19657 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
19658 entry for aio_cancel and aio_cancel64.
19659 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
19660 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
19661 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
19662 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
19663 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
19664 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
19665 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
19666 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
19667 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
19668 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
19669 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
19670 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
19671 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
19672
19673 2014-07-01 Roland McGrath <roland@hack.frob.com>
19674
19675 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
19676 * nptl/pthread_mutex_lock.c: Likewise.
19677 * nptl/pthread_mutex_timedlock.c: Likewise.
19678 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
19679
19680 2014-07-01 Richard henderson <rth@redhat.com>
19681
19682 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
19683 (__isnan, __isnanl): Remove.
19684 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
19685
19686 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19687
19688 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
19689
19690 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19691
19692 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19693
19694 * resolv/nss_dns/dns-host.c (getanswer_r)
19695 [MULTI_PTRS_ARE_ALIASES]: Remove code.
19696
19697 2014-07-01 Joseph Myers <joseph@codesourcery.com>
19698
19699 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19700 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
19701 undefine.
19702 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
19703 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
19704
19705 2014-07-01 Roland McGrath <roland@hack.frob.com>
19706
19707 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
19708 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
19709
19710 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
19711 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
19712
19713 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
19714 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
19715 ... here.
19716 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
19717 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
19718
19719 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
19720 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
19721 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
19722 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
19723
19724 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
19725 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
19726 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
19727 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
19728 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
19729 Moved ...
19730 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
19731 ... here.
19732 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
19733 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
19734 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
19735 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
19736 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
19737 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
19738 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
19739 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
19740 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
19741 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
19742 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
19743 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
19744 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
19745 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
19746 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
19747 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
19748 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
19749 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
19750 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
19751 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
19752 ... here.
19753 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
19754 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
19755 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
19756 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
19757 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
19758 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
19759 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
19760 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
19761
19762 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
19763
19764 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
19765 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
19766 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
19767 Add sysdep.
19768
19769 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19770
19771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19772
19773 2014-06-30 Joseph Myers <joseph@codesourcery.com>
19774
19775 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19776 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19777
19778 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19779
19780 * sysdeps/arm/libm-test-ulps: Regenerated.
19781
19782 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
19783 Roland McGrath <roland@hack.frob.com>
19784
19785 * test-skeleton.c (signal_handler): Kill the whole process group
19786 before killing the child individually.
19787 (main): Report any failure on `setpgid'.
19788
19789 2014-06-30 Roland McGrath <roland@hack.frob.com>
19790
19791 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
19792 from _TLS_H to _ARM_NPTL_TLS_H.
19793 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
19794 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
19795
19796 2014-06-30 Joseph Myers <joseph@codesourcery.com>
19797
19798 [BZ #16539]
19799 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
19800 (__expm1l): Return argument unchanged when small but not
19801 subnormal.
19802
19803 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
19804 include macro name.
19805 (_FP_UNPACK_RAW_1_P): Likewise.
19806 (_FP_PACK_RAW_1): Likewise.
19807 (_FP_PACK_RAW_1_P): Likewise.
19808 (_FP_MUL_MEAT_1_wide): Likewise.
19809 (_FP_MUL_MEAT_DW_1_hard): Likewise.
19810 (_FP_MUL_MEAT_1_hard): Likewise.
19811 (_FP_DIV_MEAT_1_imm): Likewise.
19812 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
19813 (_FP_DIV_MEAT_1_udiv): Likewise.
19814 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
19815 (_FP_UNPACK_RAW_2): Likewise.
19816 (_FP_UNPACK_RAW_2_P): Likewise.
19817 (_FP_PACK_RAW_2): Likewise.
19818 (_FP_PACK_RAW_2_P): Likewise.
19819 (_FP_MUL_MEAT_DW_2_wide): Likewise.
19820 (_FP_MUL_MEAT_2_wide): Likewise.
19821 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
19822 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
19823 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
19824 (_FP_MUL_MEAT_2_gmp): Likewise.
19825 (_FP_DIV_MEAT_2_udiv): Likewise.
19826 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
19827 (_FP_FRAC_SRL_4): Likewise.
19828 (_FP_FRAC_SRST_4): Likewise.
19829 (_FP_FRAC_SRS_4): Likewise.
19830 (_FP_UNPACK_RAW_4): Likewise.
19831 (_FP_UNPACK_RAW_4_P): Likewise.
19832 (_FP_PACK_RAW_4): Likewise.
19833 (_FP_PACK_RAW_4_P): Likewise.
19834 (_FP_MUL_MEAT_DW_4_wide): Likewise.
19835 (_FP_MUL_MEAT_4_wide): Likewise.
19836 (_FP_MUL_MEAT_4_gmp): Likewise.
19837 (umul_ppppmnnn): Likewise.
19838 (_FP_DIV_MEAT_4_udiv): Likewise.
19839 (__FP_FRAC_ADD_4): Likewise.
19840 (__FP_FRAC_SUB_3): Likewise.
19841 (__FP_FRAC_SUB_4): Likewise.
19842 (__FP_FRAC_DEC_3): Likewise.
19843 (__FP_FRAC_DEC_4): Likewise.
19844 (__FP_FRAC_ADDI_4): Likewise.
19845 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
19846 (_FP_FRAC_SRL_8): Likewise.
19847 (_FP_FRAC_SRS_8): Likewise.
19848
19849 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
19850 include macro name.
19851 (FP_UNPACK_RAW_EP): Likewise.
19852 (FP_PACK_RAW_E): Likewise.
19853 (FP_PACK_RAW_EP): Likewise.
19854 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
19855 (_FP_ISSIGNAN): Likewise.
19856 (_FP_ADD_INTERNAL): Likewise.
19857 (_FP_FMA): Likewise.
19858 (_FP_CMP): Likewise.
19859 (_FP_SQRT): Likewise.
19860 (_FP_TO_INT): Likewise.
19861 (_FP_FROM_INT): Likewise.
19862 (FP_EXTEND): Likewise.
19863 (_FP_DIV_MEAT_N_loop): Likewise.
19864
19865 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
19866
19867 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
19868 throughout.
19869
19870 2014-06-29 Joseph Myers <joseph@codesourcery.com>
19871
19872 [BZ #17097]
19873 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
19874 result with correct sign in case of exponents that produce
19875 overflow except for X very close to 1.
19876
19877 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
19878
19879 mktime: merge #if/#ifdef usage from glibc
19880 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
19881 as that works with both Glibc's and Gnulib's style.
19882 See thread starting at Siddhesh Poyarekar's bug report at:
19883 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
19884
19885 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19886
19887 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
19888 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
19889 * sysdeps/tile/tilegx/memmove.c: Remove file.
19890
19891 2014-06-27 Joseph Myers <joseph@codesourcery.com>
19892
19893 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
19894 abi-name definition.
19895 * scripts/soversions.awk: Do not handle or generate ABI lines.
19896 * shlib-versions: Remove ABI entries.
19897 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
19898 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
19899
19900 2014-06-27 Roland McGrath <roland@hack.frob.com>
19901
19902 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
19903 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
19904 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
19905 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
19906 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
19907 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
19908 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
19909 Moved ...
19910 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
19911 ... here.
19912 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
19913 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
19914 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
19915 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
19916 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
19917 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
19918 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
19919 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
19920 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
19921 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
19922 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
19923 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
19924 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
19925 Moved ...
19926 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
19927 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
19928 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
19929 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
19930 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
19931 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
19932 Moved ...
19933 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
19934 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
19935 Moved ...
19936 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
19937 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
19938 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
19939 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
19940 Moved ...
19941 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
19942 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
19943 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
19944 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
19945 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
19946 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
19947 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
19948 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
19949 Moved ...
19950 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
19951 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
19952 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
19953 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
19954 Moved ...
19955 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
19956 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
19957 Moved ...
19958 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
19959 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
19960 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
19961 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
19962 Moved ...
19963 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
19964 ... here.
19965 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
19966 Identical file removed.
19967 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
19968 Moved ...
19969 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
19970 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
19971 Identical file removed.
19972 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
19973 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
19974 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
19975 Moved ...
19976 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
19977 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
19978 Identical file removed.
19979 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
19980 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
19981 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
19982 Identical file removed.
19983 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
19984 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
19985 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
19986 Identical file removed.
19987 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
19988 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
19989 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
19990 Identical file removed.
19991 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
19992 Moved ...
19993 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
19994 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
19995 Identical file removed.
19996 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
19997 Moved ...
19998 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
19999 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
20000 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
20001 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
20002 Identical file removed.
20003 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
20004 Moved ...
20005 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
20006 ... here.
20007 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
20008 Identical file removed.
20009 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
20010 Moved ...
20011 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
20012 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
20013 Identical file removed.
20014 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
20015 Moved ...
20016 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
20017 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
20018 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
20019 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
20020 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
20021 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
20022 Moved ...
20023 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
20024 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
20025 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
20026
20027 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
20028 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
20029 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
20030 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
20031 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
20032
20033 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
20034
20035 [BZ #17092]
20036 * nscd/nscd.c (monitor_child): Return exit status of child
20037 instead of return value from wait syscall.
20038
20039 2014-06-27 Joseph Myers <joseph@codesourcery.com>
20040
20041 * configure.ac (libc_commonpagesize): Remove variable.
20042 (libc_relro_required): Likewise.
20043 (libc_cv_z_relro): Remove configure test.
20044 * configure: Regenerated.
20045 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
20046 variable.
20047 (libc_relro_required): Likewise.
20048 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
20049 (libc_relro_required): Likewise.
20050 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
20051 (libc_relro_required): Likewise.
20052 * sysdeps/arm/preconfigure: Regenerated.
20053 * sysdeps/ia64/preconfigure: Remove file.
20054 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
20055 variable.
20056 (libc_relro_required): Likewise.
20057
20058 [BZ #16561]
20059 [BZ #16562]
20060 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
20061 (__ieee754_yn): Set FE_TONEAREST mode internally and then
20062 recompute overflowing results in original rounding mode.
20063 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
20064 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
20065 recompute overflowing results in original rounding mode.
20066 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
20067 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20068 recompute overflowing results in original rounding mode.
20069 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
20070 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20071 recompute overflowing results in original rounding mode.
20072 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
20073 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20074 recompute overflowing results in original rounding mode.
20075 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
20076 (libc_feholdsetround_ctx): New macro.
20077 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
20078 * sysdeps/i386/fpu/libm-test-ulps: Update.
20079 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
20080
20081 2014-06-26 Joseph Myers <joseph@codesourcery.com>
20082
20083 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
20084 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
20085 corresponding .cpsetup call.
20086
20087 2014-06-26 Roland McGrath <roland@hack.frob.com>
20088
20089 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
20090 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
20091 * sysdeps/arm/Makefile [$(subdir) = csu]
20092 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
20093 (static-only-routines): Add aeabi_read_tp here.
20094 (shared-only-routines): Add libc-aeabi_read_tp here.
20095 (CFLAGS-libc-start.c): Add -fexceptions here.
20096 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
20097 (sysdep_routines, static-only-routines, shared-only-routines):
20098 Don't add to these here.
20099 (CFLAGS-libc-start.c): Likewise.
20100
20101 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
20102 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20103 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
20104 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20105 * sysdeps/arm/Makefile [$(subdir) = rt]
20106 (librt-sysdep_routines, librt-shared-only-routines):
20107 Append rt-aeabi_unwind_cpp_pr1 here.
20108 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
20109 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
20110 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
20111 (libpthread-sysdep_routines, libpthread-shared-only-routines):
20112 Append nptl-aeabi_unwind_cpp_pr1 here.
20113 (tests): Filter out tst-cleanupx4 here.
20114 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
20115 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
20116 Don't do those here.
20117
20118 2014-06-26 Joseph Myers <joseph@codesourcery.com>
20119
20120 * scripts/list-sources.sh: Do not handle ports specially.
20121
20122 2014-06-26 Roland McGrath <roland@hack.frob.com>
20123
20124 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
20125 * sysdeps/arm/feupdateenv.c: Likewise.
20126
20127 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
20128
20129 2014-06-26 Joseph Myers <joseph@codesourcery.com>
20130
20131 * manual/texinfo.tex: Update to version 2014-05-05.10 with
20132 trailing whitespace removed.
20133 * scripts/config.guess: Update to version 2014-03-23.
20134 * scripts/config.sub: Update to version 2014-05-01
20135 * scripts/install-sh: Update to version 2013-12-25.23.
20136 * scripts/move-if-change: Update from gnulib.
20137
20138 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20139
20140 * debug/memmove_chk.c: Remove pagecopy.h include.
20141
20142 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
20143
20144 * time/mktime.c (leapyear): Remove inline keyword. The code is now
20145 identical to gnulib mktime.
20146
20147 2014-06-26 Joseph Myers <joseph@codesourcery.com>
20148
20149 * configure.ac: Do not test for machine being rs6000. Do not test
20150 for powerpc*-*soft.
20151 * configure: Regenerated.
20152
20153 [BZ #11505]
20154 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
20155 test.
20156 * configure: Regenerated.
20157 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
20158 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
20159 Remove configure test.
20160 * sysdeps/arm/configure: Regenerated.
20161 * sysdeps/nptl/configure.ac: Do not check
20162 libc_cv_asm_cfi_directives.
20163 * sysdeps/nptl/configure: Regenerated.
20164 * sysdeps/x86_64/nptl/configure.ac: Remove file.
20165 * sysdeps/x86_64/nptl/configure: Remove generated file.
20166 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
20167 unconditional.
20168 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
20169
20170 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20171
20172 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
20173 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
20174 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
20175 it is defined.
20176
20177 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
20178 instead of whether it is defined.
20179 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
20180 * sysdeps/hppa/dl-machine.h: Likewise.
20181 * sysdeps/ia64/dl-machine.h: Likewise.
20182 * sysdeps/m68k/dl-machine.h: Likewise.
20183 * sysdeps/microblaze/dl-machine.h: Likewise.
20184 * sysdeps/mips/dl-machine.: Likewise.
20185 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20186 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20187 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20188 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20189 * sysdeps/sh/dl-machine.h: Likewise.
20190 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20191 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20192 * sysdeps/tile/dl-machine.h: Likewise.
20193 * sysdeps/x86_64/dl-machine.h: Likewise.
20194
20195 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
20196 code.
20197 (verify_persistent_db): Likewise.
20198
20199 2014-06-26 Roland McGrath <roland@hack.frob.com>
20200
20201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
20202 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
20203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
20204 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
20205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20206 Moved ...
20207 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
20208 ... here.
20209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
20210 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
20211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
20212 Identical file removed.
20213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
20214 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
20215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
20216 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
20217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
20218 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
20219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
20220 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
20221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
20222 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
20223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20224 Moved ...
20225 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
20226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
20227 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
20228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
20229 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
20230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20231 Moved ...
20232 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
20233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
20234 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
20235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
20236 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
20237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20238 Identical file removed.
20239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
20240 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
20241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
20242 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
20243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20244 Moved ...
20245 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
20246 ... here.
20247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
20248 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
20249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
20250 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
20251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
20252 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
20253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
20254 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
20255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
20256 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
20257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20258 Moved ...
20259 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
20260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
20261 Moved ...
20262 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
20263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
20264 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
20265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20266 Moved ...
20267 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
20268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
20269 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
20270
20271 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
20272 folded into ...
20273 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
20274 * sysdeps/unix/sysv/linux/s390/Versions
20275 (libpthread: GLIBC_2.19): New version set.
20276 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
20277 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
20278 (librt: GLIBC_2.3.3): New version set.
20279 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
20280 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
20281 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
20282 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
20283 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
20284 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
20285 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
20286 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
20287 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
20288 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
20289 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
20290 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
20291 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
20292 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
20293 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
20294 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
20295 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
20296 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
20297 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
20298 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
20299 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
20300 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
20301 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
20302 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
20303 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
20304 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
20305 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
20306 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
20307 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
20308 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
20309 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
20310 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
20311 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
20312 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
20313 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
20314 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
20315 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
20316 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
20317 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
20318 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
20319 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
20320 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
20321 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
20322 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
20323 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
20324
20325 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
20326 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
20327 (__libc_vfork): Define the function under this name.
20328 [!NOT_IN_libc] (__vfork): Make this an alias.
20329 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
20330 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
20331 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
20332 (__libc_vfork): Define the function under this name.
20333 [!NOT_IN_libc] (__vfork): Make this an alias.
20334 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
20335 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
20336 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
20337 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
20338 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
20339 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20340
20341 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
20342 code that was previously under [RESET_PID].
20343 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
20344 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
20345 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
20346
20347 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
20348 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
20349 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
20350 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
20351 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
20352 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
20353 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
20354 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
20355 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
20356 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
20357 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
20358 Moved ...
20359 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
20360 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
20361 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
20362 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
20363 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
20364 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
20365 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
20366 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
20367 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
20368 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
20369 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
20370 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
20371 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
20372 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
20373 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
20374 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
20375 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
20376 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
20377 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
20378 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
20379 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
20380 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
20381 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
20382 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
20383 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
20384 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
20385 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
20386 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
20387 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
20388
20389 2014-06-25 Roland McGrath <roland@hack.frob.com>
20390
20391 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
20392 that was previously under [RESET_PID].
20393 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
20394
20395 2014-06-25 Joseph Myers <joseph@codesourcery.com>
20396
20397 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
20398 not undefine and redefine.
20399 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
20400 [O_CLOEXEC]: Make code unconditional.
20401 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
20402 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
20403 <kernel-features.h>.
20404 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
20405 conditional variable definition.
20406 (shm_open) [O_CLOEXEC]: Make code unconditional.
20407 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
20408 code.
20409
20410 * configure.ac (USE_REGPARMS): Don't define here.
20411 * configure: Regenerated.
20412 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
20413 * sysdeps/i386/configure: Regenerated.
20414
20415 * nptl/createthread.c: Don't include kernel-features.h.
20416 * nptl/pthread_cancel.c: Likewise.
20417 * nptl/pthread_condattr_setclock.c: Likewise.
20418 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
20419 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
20420 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
20421 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
20422 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
20423 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
20424 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20425 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
20426 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20427 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
20428 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
20429 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
20430 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
20431 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
20432 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
20433 * nscd/gai.c: Likewise.
20434 * nss/nss_db/db-open.c: Likewise.
20435 * sysdeps/generic/ldsodefs.h: Likewise.
20436 * sysdeps/sh/nptl/tls.h: Likewise.
20437 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
20438 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
20439 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
20440 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
20441 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
20442 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
20443 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
20444 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20445 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
20446 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
20447 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
20448 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
20449 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
20450 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
20451 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
20452 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
20453 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20454 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
20455 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
20456 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
20457 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
20458 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
20459 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
20460 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20461 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
20462 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
20463 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
20464 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20465 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
20466 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
20467 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
20468 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
20469 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
20470 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20471 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20472 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
20473 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20474 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
20475 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
20476 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
20477 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20478 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
20479 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
20480 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20481 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
20482 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
20483 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
20484 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
20485 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
20486 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
20487 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
20488 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
20489 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
20490 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
20491 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
20492 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20493 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
20494 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
20495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
20497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
20498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
20499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
20500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
20501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
20502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
20503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
20506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
20507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
20508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
20509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
20515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
20516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
20517 * sysdeps/unix/sysv/linux/pread.c: Likewise.
20518 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
20519 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
20520 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
20521 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
20522 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
20523 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
20524 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
20525 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
20526 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
20527 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
20528 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
20529 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
20530 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
20531 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
20532 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
20533 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20534 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
20535 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
20536 * sysdeps/unix/sysv/linux/system.c: Likewise.
20537 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
20538 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
20539 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20540 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20541 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20542 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
20543 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20544
20545 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
20546 * configure: Regenerated.
20547 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
20548
20549 * configure.ac (base_machine): Do not set specially for particular
20550 machines here.
20551 * configure: Regenerated.
20552 * sysdeps/powerpc/preconfigure: Move machine and base_machine
20553 settings from configure.ac.
20554 * sysdeps/i386/preconfigure: New file.
20555 * sysdeps/s390/preconfigure: Likewise.
20556 * sysdeps/sh/preconfigure: Likewise.
20557 * sysdeps/sparc/preconfigure: Likewise.
20558
20559 2014-06-25 Roland McGrath <roland@hack.frob.com>
20560
20561 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
20562 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
20563 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
20564 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
20565 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
20566 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
20567 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
20568 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
20569 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
20570 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
20571 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
20572 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
20573 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
20574 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
20575 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
20576 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
20577 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
20578 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
20579 * sysdeps/sparc/sparc64/Makefile: ... appended here.
20580
20581 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
20582 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
20583 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
20584 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
20585 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
20586 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
20587 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
20588 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
20589 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
20590 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
20591 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
20592 * sysdeps/sparc/sparc32/sem_post.c: ... here.
20593 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
20594 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
20595 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
20596 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
20597 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
20598 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
20599 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
20600 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
20601 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
20602 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
20603 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
20604 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
20605 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
20606 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
20607 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
20608 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
20609 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
20610 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
20611 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
20612 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
20613 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
20614 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
20615 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
20616 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
20617 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
20618 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
20619
20620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
20621 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
20622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
20623 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
20624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20625 Moved ...
20626 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
20627 ... here.
20628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
20629 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
20630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
20631 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
20632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
20633 Moved ...
20634 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
20635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
20636 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
20637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
20638 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
20639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
20640 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
20641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20642 Moved ...
20643 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
20644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20645 Moved ...
20646 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
20647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
20648 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
20649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20650 Moved ...
20651 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
20652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
20653 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
20654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
20655 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
20656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
20657 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
20658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
20659 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
20660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20661 Moved ...
20662 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
20663 ... here.
20664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
20665 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
20666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
20667 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
20668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
20669 Moved ...
20670 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
20671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
20672 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
20673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
20674 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
20675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
20676 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
20677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20678 Moved ...
20679 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
20680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20681 Moved ...
20682 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
20683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
20684 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
20685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20686 Moved ...
20687 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
20688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
20689 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
20690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
20691 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
20692
20693 2014-06-25 Joseph Myers <joseph@codesourcery.com>
20694
20695 * timezone/checktab.awk: Update from tzcode 2014e.
20696 * timezone/private.h: Likewise.
20697 * timezone/tzfile.h: Likewise.
20698 * timezone/zdump.c: Likewise.
20699 * timezone/zic.c: Likewise.
20700
20701 * sysdeps/unix/sysv/linux/kernel-features.h
20702 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
20703 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
20704 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
20705 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20706 Remove conditional code.
20707
20708 2014-06-25 Will Newton <will.newton@linaro.org>
20709
20710 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
20711 (_dl_arm_cap_flags): Add HWCAP2 values.
20712 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
20713 (_DL_HWCAP_COUNT): Increase to 37.
20714 (_DL_HWCAP_LAST): New define.
20715 (_DL_HWCAP2_LAST): New define.
20716 (_dl_procinfo): Add support for printing
20717 AT_HWCAP2 entries.
20718 (_dl_string_hwcap): Use _dl_hwcap_string.
20719
20720 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20721
20722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20723
20724 2014-06-25 Joseph Myers <joseph@codesourcery.com>
20725
20726 * README: Do not mention ports directory.
20727
20728 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
20729 Remove macro.
20730 * sysdeps/unix/sysv/linux/futimes.c: Do not include
20731 <kernel-features.h>.
20732 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
20733 conditional variable definition.
20734 (__futimes): Update comment.
20735 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
20736 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
20737
20738 [BZ #16560]
20739 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
20740 arguments close to 0.
20741 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
20742 Likewise.
20743 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
20744 Likewise.
20745 * math/auto-libm-test-in: Add more tests of exp10.
20746 * math/auto-libm-test-out: Regenerated.
20747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20748
20749 * sysdeps/unix/sysv/linux/kernel-features.h
20750 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
20751 * sysdeps/unix/sysv/linux/readv.c: Do not include
20752 <kernel-features.h>.
20753 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
20754 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
20755 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
20756 unconditional.
20757 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
20758 conditional code.
20759 * sysdeps/unix/sysv/linux/writev.c: Do not include
20760 <kernel-features.h>.
20761 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
20762 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
20763 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
20764 unconditional.
20765 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
20766 conditional code.
20767
20768 2014-06-25 Will Newton <will.newton@linaro.org>
20769
20770 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
20771 comment changes throughout the file. Remove checks
20772 for HAVE_*_H definitions that are not required.
20773 (__gen_tempname): Call abort if an unknown kind value is
20774 passed.
20775
20776 2014-06-25 Andreas Schwab <schwab@suse.de>
20777
20778 [BZ #17086]
20779 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
20780 scalbln, scalblnf, scalblnl in libc.
20781
20782 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20783
20784 [BZ #17086]
20785 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
20786 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
20787 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
20788
20789 2014-06-24 Roland McGrath <roland@hack.frob.com>
20790
20791 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
20792 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
20793 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
20794 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
20795 Update #include.
20796 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
20797 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
20798 Update #include.
20799 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
20800 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
20801 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
20802 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
20803 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
20804 * sysdeps/x86/bits/pthreadtypes.h: ... here.
20805 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
20806 * sysdeps/x86/bits/semaphore.h: ... here.
20807 * sysdeps/x86/nptl/elide.h: Moved ...
20808 * sysdeps/x86/elide.h: ... here.
20809 * sysdeps/x86_64/nptl/Implies: File removed.
20810 * sysdeps/i386/nptl/Implies: File removed.
20811
20812 2014-06-24 Joseph Myers <joseph@codesourcery.com>
20813
20814 [BZ #16539]
20815 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
20816 return the argument for normal arguments with exponent below -64.
20817 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20818 Likewise.
20819 * math/auto-libm-test-in: Add another test of expm1.
20820 * math/auto-libm-test-out: Regenerated.
20821
20822 [BZ #16287]
20823 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
20824 calling __erfcl for arguments at least 16.
20825 * math/auto-libm-test-in: Add more tests of erf.
20826 * math/auto-libm-test-out: Regenerated.
20827
20828 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
20829 individual architectures.
20830 * sysdeps/unix/sysv/linux/configure: Regenerated.
20831 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
20832 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
20833 * sysdeps/unix/sysv/linux/powerpc/configure.ac
20834 (ldd_rewrite_script): Define variable.
20835 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
20837 file.
20838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
20839 generated file.
20840 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
20841 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
20842 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
20843 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
20844 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
20845 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
20846 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
20847 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
20848
20849 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20850
20851 [BZ #17084]
20852 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
20853 Rename member __data.d to __data.__elision_data.
20854
20855 2014-06-24 Wilco <wdijkstr@arm.com>
20856
20857 * NEWS: Add 16918 to fixed bug list.
20858
20859 2014-06-24 Wilco <wdijkstr@arm.com>
20860
20861 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
20862
20863 2014-06-24 Wilco <wdijkstr@arm.com>
20864
20865 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
20866 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
20867 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
20868 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
20869 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
20870 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
20871 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
20872 Use _FPU_MASK_RM.
20873
20874 2014-06-24 Wilco <wdijkstr@arm.com>
20875
20876 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
20877
20878 2014-06-24 Wilco <wdijkstr@arm.com>
20879
20880 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
20881 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
20882 * sysdeps/arm/fesetround.c (fesetround): Remove space.
20883 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
20884
20885 2014-06-24 Wilco <wdijkstr@arm.com>
20886
20887 [BZ #16918]
20888 * sysdeps/arm/feupdateenv.c (feupdateenv):
20889 Rewrite to reduce FPSCR accesses and fix return value.
20890
20891 2014-06-24 Wilco <wdijkstr@arm.com>
20892
20893 * sysdeps/arm/fclrexcpt.c (feclearexcept):
20894 Optimize to avoid unnecessary FPSCR writes.
20895 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
20896 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
20897 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
20898 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
20899
20900 2014-06-24 Wilco <wdijkstr@arm.com>
20901
20902 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
20903 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
20904 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
20905 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
20906 Call libc_fetestexcept_vfp.
20907 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
20908 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
20909 __SOFTFP__ ifdef so that they can be built for softfp.
20910
20911 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20912
20913 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
20914 argument type signed char.
20915
20916 * Makerules (check-abi): Dump diff of symlist if the test
20917 fails.
20918
20919 2014-06-23 Roland McGrath <roland@hack.frob.com>
20920
20921 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
20922 using abort.
20923
20924 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20925 Remove unused variable ST.
20926
20927 2014-06-23 Joseph Myers <joseph@codesourcery.com>
20928
20929 [BZ #16354]
20930 [BZ #17061]
20931 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
20932 small arguments before calling __expm1.
20933 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
20934 small arguments before calling __expm1f.
20935 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
20936 small arguments before calling __expm1l.
20937 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20938 Likewise.
20939 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
20940 * math/auto-libm-test-in: Add more cosh tests. Do not allow
20941 spurious underflow for some cosh tests.
20942 * math/auto-libm-test-out: Regenerated.
20943 * sysdeps/i386/fpu/libm-test-ulps: Update.
20944
20945 [BZ #17050]
20946 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
20947 (__ieee754_y1): Set errno if return value overflows.
20948 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
20949 (__ieee754_y1f): Set errno if return value overflows.
20950 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
20951 (__ieee754_y1l): Set errno if return value overflows.
20952 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
20953 (__ieee754_y1l): Set errno if return value overflows.
20954 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
20955 * math/auto-libm-test-out: Regenerated.
20956
20957 * math/gen-auto-libm-tests.c: Document use of
20958 ignore-zero-inf-sign.
20959 (input_flag_type): Add value flag_ignore_zero_inf_sign.
20960 (input_flags): Add ignore-zero-inf-sign.
20961 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
20962 * math/gen-libm-test.pl (generate_testfile): Handle
20963 ignore-zero-inf-sign.
20964 * math/auto-libm-test-in: Mark some cpow tests with
20965 ignore-zero-inf-sign and some with xfail-rounding.
20966 * math/auto-libm-test-out: Regenerated.
20967 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
20968 * sysdeps/i386/fpu/libm-test-ulps: Update.
20969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20970
20971 [BZ #16315]
20972 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
20973 overflowing or underflowing operations take place with sign of
20974 result.
20975 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20976 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20977 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
20978 (__ieee754_pow): Recompute overflowing and underflowing results in
20979 original rounding mode.
20980 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
20981 (__powl_helper): Allow negative argument X and scale negated value
20982 as needed. Avoid passing value outside [-1, 1] to f2xm1.
20983 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
20984 overflowing or underflowing operations take place with sign of
20985 result.
20986 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
20987 Include <math.h>.
20988 * math/auto-libm-test-in: Add more tests of pow.
20989 * math/auto-libm-test-out: Regenerated.
20990 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
20991 (pow_tonearest_test_data): Remove.
20992 (pow_test_tonearest): Likewise.
20993 (pow_towardzero_test_data): Likewise.
20994 (pow_test_towardzero): Likewise.
20995 (pow_downward_test_data): Likewise.
20996 (pow_test_downward): Likewise.
20997 (pow_upward_test_data): Likewise.
20998 (pow_test_upward): Likewise.
20999 (main): Don't call removed functions.
21000 * sysdeps/i386/fpu/libm-test-ulps: Update.
21001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21002
21003 2014-06-23 Roland McGrath <roland@hack.frob.com>
21004
21005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
21006 Moved ...
21007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
21008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21009 Moved ...
21010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
21011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21012 Moved ...
21013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
21014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21015 Moved ...
21016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
21017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21018 File removed.
21019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21020 File removed.
21021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
21022 File removed.
21023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
21024 File removed.
21025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
21026 File removed.
21027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
21028 File removed.
21029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
21030 File removed.
21031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21032 File removed.
21033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
21034 File removed.
21035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21036 File removed.
21037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
21038 File removed.
21039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
21040 File removed.
21041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
21042 Moved ...
21043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
21044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
21045 Moved ...
21046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
21047 ... here.
21048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
21049 Moved ...
21050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
21051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
21052 Moved ...
21053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
21054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
21055 Moved ...
21056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
21057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
21058 Moved ...
21059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
21060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
21061 Moved ...
21062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
21063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
21064 Moved ...
21065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
21066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
21067 Moved ...
21068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
21069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
21070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
21071 ... here.
21072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
21073 Moved ...
21074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
21075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21076 Moved ...
21077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21078 ... here.
21079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
21080 Moved ...
21081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21082 ... here.
21083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21084 Moved ...
21085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21086 ... here.
21087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21088 Moved ...
21089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
21090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21091 Moved ...
21092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
21093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
21094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
21095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21096 Moved ...
21097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
21098 ... here.
21099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21100 Moved ...
21101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
21102 ... here.
21103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21104 Moved ...
21105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
21106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21107 Moved ...
21108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
21109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21110 Moved ...
21111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
21112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21113 Moved ...
21114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
21115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21116 Moved ...
21117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
21118 ... here.
21119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21120 Moved ...
21121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
21122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21123 Moved ...
21124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
21125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21126 Moved ...
21127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
21128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21129 Moved ...
21130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
21131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
21132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
21133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21134 Moved ...
21135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
21136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21137 Moved ...
21138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
21139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21140 Moved ...
21141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
21142 ... here.
21143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21144 Moved ...
21145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
21146 ... here.
21147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21148 Moved ...
21149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
21150 ... here.
21151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21152 Moved ...
21153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
21154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21155 Moved ...
21156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
21157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21158 Moved ...
21159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
21160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21161 Moved ...
21162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
21163 ... here.
21164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21165 Moved ...
21166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
21167 ... here.
21168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21169 Moved ...
21170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
21171 ... here.
21172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21173 Moved ...
21174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
21175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21176 Moved ...
21177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
21178
21179 2014-06-23 Will Newton <will.newton@linaro.org>
21180 Wilco <wdijkstr@arm.com>
21181
21182 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
21183 implementation. Include get-rounding-mode.h.
21184 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
21185 [!libc_feholdsetround_noex_ctx]: Define
21186 libc_feholdsetround_noex_ctx.
21187 [!libc_feholdsetround_noexf_ctx]: Define
21188 libc_feholdsetround_noexf_ctx.
21189 [!libc_feholdsetround_noexl_ctx]: Define
21190 libc_feholdsetround_noexl_ctx.
21191 (libc_feholdsetround_ctx): New function.
21192 (libc_feresetround_ctx): New function.
21193 (libc_feholdsetround_noex_ctx): New function.
21194 (libc_feresetround_noex_ctx): New function.
21195
21196 2014-06-23 Roland McGrath <roland@hack.frob.com>
21197
21198 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
21199 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
21200 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
21201 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
21202 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
21203 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
21204
21205 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
21206 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
21207 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
21208 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
21209 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
21210 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
21211 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
21212 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
21213 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
21214 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
21215 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
21216 Moved ...
21217 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
21218 ... here.
21219 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
21220 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
21221 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
21222 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
21223 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
21224 Moved ...
21225 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
21226 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
21227 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
21228 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
21229 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
21230 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
21231 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
21232 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
21233 Moved ...
21234 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
21235 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
21236 Moved ...
21237 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
21238 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
21239 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
21240 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
21241 Moved ...
21242 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
21243 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
21244 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
21245 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
21246 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
21247 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
21248 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
21249 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
21250 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
21251 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
21252 Moved ...
21253 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
21254 ... here.
21255 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
21256 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
21257 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
21258 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
21259 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
21260 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
21261 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
21262 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
21263 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
21264 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
21265 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
21266 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
21267 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
21268 Moved ...
21269 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
21270 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
21271 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
21272 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
21273 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
21274 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
21275 Moved ...
21276 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
21277 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
21278 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
21279 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
21280 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
21281
21282 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
21283 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
21284 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
21285 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
21286 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
21287 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
21288 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
21289 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
21290 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
21291 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
21292 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
21293 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
21294 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
21295 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
21296 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
21297 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
21298 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
21299 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
21300 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
21301 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
21302 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
21303 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
21304 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
21305 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
21306 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
21307 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
21308 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
21309 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
21310
21311 2014-06-23 Joseph Myers <joseph@codesourcery.com>
21312
21313 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
21314 (FALLOC_FL_COLLAPSE_RANGE): New macro.
21315 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
21316 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
21317 (IPV6_PMTUDISC_INTERFACE): Likewise.
21318 (IPV6_PMTUDISC_OMIT): Likewise.
21319
21320 2014-06-23 Andreas Schwab <schwab@suse.de>
21321
21322 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
21323 Remove unused errout label.
21324
21325 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21326
21327 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
21328 macro: hardware supports Vector Crypto instructions.
21329
21330 2014-06-23 Will Newton <will.newton@linaro.org>
21331
21332 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
21333 rather than __builtin_expect.
21334
21335 * elf/dl-lookup.c (undefined_msg): Remove variable.
21336 (_dl_lookup_symbol_x): Replace undefined_msg with string
21337 literal.
21338
21339 * elf/dl-lookup.c (do_lookup_unique): New function.
21340 (do_lookup_x): Move STB_GNU_UNIQUE handling code
21341 to a separate function.
21342
21343 2014-06-23 Andreas Schwab <schwab@suse.de>
21344
21345 [BZ #17079]
21346 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
21347 before reading the next line.
21348
21349 2014-06-23 Will Newton <will.newton@linaro.org>
21350
21351 * test-skeleton.c (signal_handler): Use printf and %m
21352 rather than perror. Use printf rather than fprintf to
21353 stderr. Use puts rather than fputs to stderr.
21354 (main): Likewise.
21355
21356 2014-06-22 Ludovic Courtès <ludo@gnu.org>
21357
21358 * nscd/nscd.c (thread_info_t): Remove typedef.
21359 (thread_info): Remove variable.
21360
21361 2014-06-21 Allan McRae <allan@archlinux.org>
21362
21363 * NEWS: Mention CVE-2014-4043.
21364
21365 2014-06-20 Roland McGrath <roland@hack.frob.com>
21366
21367 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
21368 * nptl/smp.h: ... here.
21369
21370 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
21371
21372 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
21373 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
21374 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
21375 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
21376
21377 * nptl/allocatestack.c: Include <stack-aliasing.h>.
21378 * nptl/stack-aliasing.h: New file.
21379 * sysdeps/i386/i686/stack-aliasing.h: New file.
21380 * sysdeps/i386/i686/nptl/Makefile: File removed.
21381 * sysdeps/x86_64/stack-aliasing.h: New file.
21382 * sysdeps/x86_64/nptl/Makefile
21383 (CFLAGS-pthread_create.c): Variable removed.
21384
21385 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
21386 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
21387 old file.
21388 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
21389 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
21390 old file.
21391
21392 2014-06-21 Joseph Myers <joseph@codesourcery.com>
21393
21394 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21395 (__ASSUME_SIGFRAME_V2): Remove macro.
21396 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
21397 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
21398 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
21399 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
21400 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
21401 Declare as function. Remove conditional macro definitions.
21402 (__default_rt_sa_restorer): Likewise.
21403 (__default_sa_restorer_v1): Remove declaration.
21404 (__default_sa_restorer_v2): Likewise.
21405 (__default_rt_sa_restorer_v1): Likewise.
21406 (__default_rt_sa_restorer_v2): Likewise.
21407 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
21408 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
21409 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
21410
21411 2014-06-20 Roland McGrath <roland@hack.frob.com>
21412
21413 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
21414 (libpthread-routines): Add sysdep.
21415 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
21416 * sysdeps/unix/sysv/linux/sparc/Versions
21417 (libpthread: GLIBC_2.3.3): New version set.
21418 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
21419 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
21420 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
21421 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
21422 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
21423 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
21424 Moved ...
21425 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
21426 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
21427 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
21428 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
21429 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
21430 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
21431 * sysdeps/sparc/nptl/sem_init.c: ... here.
21432 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
21433 * sysdeps/sparc/nptl/sem_post.c: ... here.
21434 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
21435 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
21436 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
21437 * sysdeps/sparc/nptl/sem_wait.c: ... here.
21438 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
21439 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
21440 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
21441 (libpthread-routines): Add cpu_relax.
21442 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
21443 File removed.
21444 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
21445 (librt: GLIBC_2.3.3): New version set.
21446 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
21447 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
21448 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
21449 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
21450 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
21451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
21452 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
21453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
21454 Moved ...
21455 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
21456 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
21457 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
21458 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
21459 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
21460 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
21461 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
21462 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
21463 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
21464 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
21465 Moved ...
21466 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
21467 Update #include.
21468 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
21469 Moved ...
21470 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
21471 Update #include.
21472 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
21473 Moved ...
21474 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
21475 Update #include.
21476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
21477 Moved ...
21478 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
21479 Update #include.
21480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
21481 Moved ...
21482 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
21483 Update #include.
21484 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
21485 Moved ...
21486 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
21487 Update #include.
21488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
21489 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
21490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
21491 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
21492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
21493 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
21494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
21495 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
21496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
21497 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
21498 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21499 Moved ...
21500 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
21501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
21502 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
21503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
21504 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
21505
21506 2014-06-20 Joseph Myers <joseph@codesourcery.com>
21507
21508 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
21509 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
21510 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
21511 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
21512 * nscd/nscd.c: Likewise.
21513 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
21514 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
21515 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
21516 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
21517
21518 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
21519 <kernel-features.h>.
21520 (init_mq_netlink): Remove conditional have_sock_cloexec
21521 definitions. Remove code conditional on have_sock_cloexec < 0.
21522 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
21523 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
21524 * sysdeps/unix/sysv/linux/opensock.c: Do not include
21525 <kernel-features.h>.
21526 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
21527 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
21528
21529 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
21530
21531 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21532 Add tests for memset_chk and memset.
21533
21534 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
21535 with AVX2_Usable.
21536
21537 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
21538
21539 [BZ #16046]
21540 * elf/tst-dl-iter-static.c: New file.
21541 * elf/Makefile (tests-static): Add tst-dl-iter-static.
21542
21543 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
21544 error.
21545
21546 2014-06-20 Joseph Myers <joseph@codesourcery.com>
21547
21548 * sysdeps/unix/sysv/linux/kernel-features.h
21549 (__ASSUME_F_GETOWN_EX): Remove macro.
21550 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
21551 <kernel-features.h>.
21552 (miss_F_GETOWN_EX): Remove variable or macro.
21553 (do_fcntl): Do not check miss_F_GETOWN_EX.
21554 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
21555
21556 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
21557 Remove macro.
21558 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
21559 [!__ASSUME_AT_RANDOM]: Remove conditional code.
21560 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
21561
21562 * sysdeps/unix/sysv/linux/kernel-features.h
21563 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
21564 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
21565 [ADJ_OFFSET_SS_READ]: Make code unconditional.
21566 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
21567
21568 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
21569
21570 [BZ #17075]
21571 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
21572 Fix calculation of the symbol's value.
21573 * sysdeps/arm/tst-armtlsdescloc.c: New file.
21574 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
21575 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
21576 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
21577 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
21578 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
21579 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
21580 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
21581 (modules-names): Add `tst-armtlsdescmod',
21582 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
21583 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
21584 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
21585 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
21586 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
21587 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
21588 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
21589 ($(objpfx)tst-armtlsdescloc): New dependency.
21590 ($(objpfx)tst-armtlsdescextnow): Likewise.
21591 ($(objpfx)tst-armtlsdescextlazy): Likewise.
21592 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
21593 TLS scheme support.
21594 * sysdeps/arm/configure: Regenerate.
21595
21596 2014-06-20 Joseph Myers <joseph@codesourcery.com>
21597
21598 * include/fcntl.h (__atfct_seterrno): Remove prototype.
21599 (__atfct_seterrno_2): Likewise.
21600 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
21601 <kernel-features.h>.
21602 (__ASSUME_ATFCTS): Do not undefine and redefine.
21603 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
21604 (__have_atfcts): Remove conditional definition.
21605 (__fxstatat([__NR_fstatat64]: Make code unconditional.
21606 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
21607 unreachable if [__ASSUME_ATFCTS].
21608 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
21609 not undefine and redefine.
21610 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
21611 <kernel-features.h>.
21612 (faccessat) [__NR_faccessat]: Make code unconditional.
21613 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
21614 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
21615 <kernel-features.h>.
21616 (fchmodat) [__NR_fchmodat]: Make code unconditional.
21617 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
21618 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
21619 <kernel-features.h>.
21620 (fchownat) [__NR_fchownat]: Make code unconditional.
21621 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
21622 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
21623 <kernel-features.h>.
21624 (futimesat) [__NR_futimesat]: Make code unconditional.
21625 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
21626 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21627 <kernel-features.h>.
21628 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
21629 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
21630 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21631 <kernel-features.h>.
21632 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
21633 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
21634 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
21635 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21636 <kernel-features.h>.
21637 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
21638 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
21639 * sysdeps/unix/sysv/linux/linkat.c: Do not include
21640 <kernel-features.h>.
21641 (linkat) [__NR_linkat]: Make code unconditional.
21642 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
21643 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
21644 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
21645 <kernel-features.h>.
21646 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
21647 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
21648 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
21649 <kernel-features.h>.
21650 (mkdirat) [__NR_mkdirat]: Make code unconditional.
21651 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
21652 * sysdeps/unix/sysv/linux/openat.c: Do not include
21653 <kernel-features.h>.
21654 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
21655 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
21656 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
21657 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
21658 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
21659 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
21660 <kernel-features.h>.
21661 (readlinkat) [__NR_readlinkat]: Make code unconditional.
21662 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
21663 result of INLINE_SYSCALL directly, not via int variable.
21664 * sysdeps/unix/sysv/linux/renameat.c: Do not include
21665 <kernel-features.h>.
21666 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
21667 (renameat) [__NR_renameat]: Make code unconditional.
21668 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
21669 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
21670 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
21671 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
21672 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
21673 (__ASSUME_ATFCTS): Do not undefine and redefine.
21674 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
21675 <kernel-features.h>.
21676 (symlinkat) [__NR_symlinkat]: Make code unconditional.
21677 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
21678 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
21679 <kernel-features.h>.
21680 (unlinkat) [__NR_unlinkat]: Make code unconditional.
21681 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
21682 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
21683 (__ASSUME_ATFCTS): Do not undefine and redefine.
21684 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21685 <kernel-features.h>.
21686 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
21687 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
21688 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21689 <kernel-features.h>.
21690 (__xmknodat) [__NR_mknodat]: Make code unconditional.
21691 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
21692
21693 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
21694
21695 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
21696
21697 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
21698
21699 [BZ #17069]
21700 * posix/regcomp.c (parse_reg_exp): Deallocate partially
21701 constructed tree before returning error.
21702 * posix/bug-regexp36.c: Expand test case.
21703
21704 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
21705
21706 [BZ #6803]
21707 * math/libm-test.inc (scalbln_test_date):
21708 Add errno expectations.
21709 * math/w_scalblnf.c: New File.
21710 Add wrapper which checks for setting errno to ERANGE.
21711 Add weak_alias for corresponding scalbln function.
21712 * math/w_scalbln.c: Likewise.
21713 * math/w_scalblnl.c: Likewise.
21714 * math/Makefile (libm-calls): Add w_scalbln.
21715 * sysdeps/ieee754/flt-32/s_scalblnf.c:
21716 Remove weak_alias for corresponding scalbln function.
21717 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21718 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21719 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21720 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21721 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21722 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
21723 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
21724 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
21725 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
21726 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
21727 Remove long_double_symbol for scalblnl function in libm, libc.
21728 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
21729 Add wrapper which checks for setting errno to ERANGE.
21730 Add long_double_symbol for scalblnl function in libm, libc.
21731 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
21732 Remove long_double_symbol for scalblnl in libm.
21733 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
21734 Add wrapper which checks for setting errno to ERANGE.
21735 Add long_double_symbol for scalblnl function in libm.
21736 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
21737 Do not use wrapper because of own implementation.
21738
21739 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
21740
21741 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
21742 3 bytes for __pad1 for x32.
21743 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
21744
21745 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
21746 H.J. Lu <hongjiu.lu@intel.com>
21747
21748 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
21749 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
21750 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21751 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21752 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
21753
21754 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
21755
21756 [BZ #17069]
21757 * posix/regcomp.c (parse_expression): Deallocate partially
21758 constructed tree before returning error.
21759 * posix/Makefile.c (tests): Add bug-regex36.
21760 (generated): Add bug-regex36.mtrace.
21761 (tests-special): Add $(objpfx)bug-regex36-mem.out
21762 (bug-regex36-ENV): New variable.
21763 ($(objpfx)bug-regex36-mem.out): New rule.
21764 * posix/bug-regex36.c: New file.
21765
21766 2014-06-19 Will Newton <will.newton@linaro.org>
21767
21768 * malloc/malloc.c (systrim): If extra is zero then return
21769 early.
21770
21771 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21772
21773 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
21774
21775 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
21776
21777 * sysdeps/aarch64/strchr.S: New file.
21778
21779 2014-06-18 Joseph Myers <joseph@codesourcery.com>
21780
21781 [BZ #17022]
21782 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
21783 from arguments -2 or below.
21784 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21785 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
21786
21787 2014-06-18 Andreas Schwab <schwab@suse.de>
21788
21789 [BZ #17062]
21790 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
21791 of a bracket expr not to run off the end of the string.
21792 * posix/Makefile (tests): Add tst-fnmatch3.
21793 * posix/tst-fnmatch3.c: New file.
21794
21795 2014-06-18 Joseph Myers <joseph@codesourcery.com>
21796
21797 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
21798 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21799 [$(cross-compiling) = no]: Likewise.
21800 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21801 [$(cross-compiling) = no]: Likewise.
21802
21803 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21804
21805 [BZ #17031]
21806 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
21807 double, adjusted for any remainder from the high double.
21808 * math/libm-test.inc (nearbyint): Add tests.
21809 (rint): Likewise.
21810
21811 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21812
21813 * nptl/sysdeps/powerpc/Makefile: Moved ...
21814 * sysdeps/powerpc/nptl/Makefile: ... here.
21815 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
21816 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
21817 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
21818 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
21819 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
21820 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
21821 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
21822 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
21823 * nptl/sysdeps/powerpc/tls.h: Moved ...
21824 * sysdeps/powerpc/nptl/tls.h: ... here.
21825
21826 2014-06-16 Joseph Myers <joseph@codesourcery.com>
21827
21828 [BZ #16681]
21829 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
21830 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
21831 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
21832 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
21833 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
21834 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
21835 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
21836 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
21837 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
21838
21839 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
21840
21841 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21842
21843 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
21844
21845 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
21846 defined operator.
21847
21848 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
21849 $TIMEOUTFACTOR.
21850
21851 2014-06-16 Florian Weimer <fweimer@redhat.com>
21852
21853 [BZ #17058]
21854 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
21855 non-executed part of the test.
21856
21857 2014-06-16 Andreas Schwab <schwab@suse.de>
21858
21859 * string/bits/string2.h (strdup, strndup): Update feature guard.
21860
21861 2014-06-14 David S. Miller <davem@davemloft.net>
21862
21863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21864
21865 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
21866
21867 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
21868 that was previously under [RESET_PID].
21869 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
21870
21871 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
21872 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
21873 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
21874 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21875 (__libc_vfork): New strong alias.
21876 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
21877
21878 2014-06-14 Andi Kleen <ak@linux.intel.com>
21879
21880 * sysdeps/generic/elide.h: New file.
21881
21882 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
21883
21884 * Makefile (installed-headers): Adjust path of pthread.h header.
21885
21886 2014-06-13 Roland McGrath <roland@hack.frob.com>
21887
21888 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
21889 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
21890 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
21891 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
21892
21893 * nptl/sysdeps/s390/Makefile: Moved ...
21894 * sysdeps/s390/nptl/Makefile: ... here.
21895 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
21896 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
21897 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
21898 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
21899 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
21900 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
21901 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
21902 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
21903 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
21904 * sysdeps/s390/nptl/pthreaddef.h: ... here.
21905 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
21906 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
21907 * nptl/sysdeps/s390/tls.h: Moved ...
21908 * sysdeps/s390/nptl/tls.h: ... here.
21909
21910 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
21911 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
21912
21913 2014-06-13 David S. Miller <davem@davemloft.net>
21914
21915 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
21916 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
21917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
21918 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
21919 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
21920 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
21921 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
21922 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
21923 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
21924 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
21925 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
21926 Remove RESET_PID cpp guards.
21927 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
21928 Remove RESET_PID cpp guards.
21929 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
21930
21931 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
21932
21933 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
21934 __sp to uintptr_t.
21935
21936 2014-06-13 Andi Kleen <ak@linux.intel.com>
21937
21938 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
21939 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
21940 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
21941 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
21942 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
21943 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
21944 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
21945 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
21946 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
21947 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
21948 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
21949 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
21950 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
21951 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
21952 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
21953 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
21954 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
21955 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
21956 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
21957 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
21958
21959 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
21960 (pthread_rwlock_rdlock): Add elision.
21961 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
21962 (pthread_rwlock_wrlock): Add elision.
21963 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
21964 (pthread_rwlock_trywrlock): Add elision.
21965 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
21966 (pthread_rwlock_tryrdlock): Add elision.
21967 * nptl/pthread_rwlock_unlock.c: Include elide.h.
21968 (pthread_rwlock_tryrdlock): Add elision unlock.
21969 * nptl/sysdeps/pthread/pthread.h:
21970 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
21971 (PTHREAD_RWLOCK_INITIALIZER,
21972 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
21973 Handle new elision field.
21974 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
21975 * sysdeps/arm/nptl/bits/pthreadtypes.h
21976 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21977 * sysdeps/sh/nptl/bits/pthreadtypes.h
21978 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21979 * sysdeps/tile/nptl/bits/pthreadtypes.h
21980 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21981 * sysdeps/a/nptl/bits/pthreadtypes.h
21982 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21983 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21984 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21985 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21986 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21987 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
21988 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21989 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21990 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21991 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21992 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21993 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21994 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21995 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21996 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21997 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
21998 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21999 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
22000 (elision_init): Set try_xbegin to zero when no RTM.
22001 * sysdeps/x86/nptl/bits/pthreadtypes.h
22002 (pthread_rwlock_t): Change __pad1 to __rwelision.
22003 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22004
22005 2014-06-13 Andi Kleen <ak@linux.intel.com>
22006
22007 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
22008 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
22009 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
22010 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
22011
22012 2014-06-13 Meador Inge <meadori@codesourcery.com>
22013
22014 [BZ #16996]
22015 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
22016 that the cached result has been set before returning it.
22017
22018 2014-06-12 Roland McGrath <roland@hack.frob.com>
22019
22020 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
22021 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
22022 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
22023 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
22024 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
22025 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
22026
22027 * nptl/sysdeps/sparc/Makefile: Moved ...
22028 * sysdeps/sparc/nptl/Makefile: ... here.
22029 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
22030 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
22031 * nptl/sysdeps/sparc/tls.h: Moved ...
22032 * sysdeps/sparc/nptl/tls.h: ... here.
22033 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
22034 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
22035 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
22036 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
22037 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
22038 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
22039 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
22040 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
22041 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
22042 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
22043 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
22044 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
22045 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
22046 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
22047 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
22048 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
22049 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
22050 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
22051 Update #include.
22052 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
22053 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
22054 Update #include.
22055 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
22056 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
22057 Update #include.
22058 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
22059 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
22060 Update #include.
22061
22062 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
22063
22064 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
22065 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
22066
22067 * sysdeps/pthread/posix-timer.h: Include <list.h>.
22068 (struct list_links): Type removed.
22069 (struct thread_node, struct timer_node): Replace struct list_links
22070 with struct list_head.
22071 (list_unlink_ip): Likewise.
22072 * sysdeps/pthread/timer_routines.c
22073 (timer_free_list, thread_free_list, thread_active_list): Likewise.
22074 (list_append, list_insbefore): Likewise.
22075 (list_init): Function removed.
22076 (thread_init, init_module): Use INIT_LIST_HEAD instead.
22077 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
22078 * sysdeps/pthread/Makefile: ... here, new file.
22079
22080 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
22081 * sysdeps/nptl/Implies: ... here.
22082 * sysdeps/unix/sysv/linux/Implies: Add nptl.
22083 * nptl/sysdeps/pthread/list.h: Moved ...
22084 * include/list.h: ... here.
22085 * nptl/sysdeps/pthread/createthread.c: Moved ...
22086 * nptl/createthread.c: ... here.
22087 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
22088 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
22089 * nptl/pt-longjmp.c: ... here.
22090 * nptl/sysdeps/pthread/Makefile: Moved ...
22091 * sysdeps/nptl/Makefile: ... here.
22092 * nptl/sysdeps/pthread/Subdirs: Moved ...
22093 * sysdeps/nptl/Subdirs: ... here.
22094 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
22095 * sysdeps/nptl/aio_misc.h: ... here.
22096 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
22097 * sysdeps/nptl/bits/libc-lock.h: ... here.
22098 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
22099 * sysdeps/nptl/bits/libc-lockP.h: ... here.
22100 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
22101 * sysdeps/nptl/bits/stdio-lock.h: ... here.
22102 * nptl/sysdeps/pthread/configure: Moved ...
22103 * sysdeps/nptl/configure: ... here.
22104 * nptl/sysdeps/pthread/configure.ac: Moved ...
22105 * sysdeps/nptl/configure.ac: ... here.
22106 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
22107 * sysdeps/nptl/gai_misc.h: ... here.
22108 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
22109 * sysdeps/nptl/librt-cancellation.c: ... here.
22110 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
22111 * sysdeps/nptl/malloc-machine.h: ... here.
22112 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
22113 * sysdeps/nptl/pthread-functions.h: ... here.
22114 * nptl/sysdeps/pthread/pthread.h: Moved ...
22115 * sysdeps/nptl/pthread.h: ... here.
22116 * nptl/sysdeps/pthread/setxid.h: Moved ...
22117 * sysdeps/nptl/setxid.h: ... here.
22118 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
22119 * sysdeps/nptl/sigfillset.c: ... here.
22120 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
22121 * sysdeps/nptl/tcb-offsets.h: ... here.
22122 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
22123 * sysdeps/nptl/tst-mqueue8x.c: ... here.
22124 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
22125 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
22126 * nptl/sysdeps/pthread/allocalim.h: Moved ...
22127 * sysdeps/pthread/allocalim.h: ... here.
22128 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
22129 * sysdeps/pthread/bits/sigthread.h: ... here.
22130 * nptl/sysdeps/pthread/flockfile.c: Moved ...
22131 * sysdeps/pthread/flockfile.c: ... here.
22132 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
22133 * sysdeps/pthread/ftrylockfile.c: ... here.
22134 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
22135 * sysdeps/pthread/funlockfile.c: ... here.
22136 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
22137 * sysdeps/pthread/posix-timer.h: ... here.
22138 * nptl/sysdeps/pthread/timer_create.c: Moved ...
22139 * sysdeps/pthread/timer_create.c: ... here.
22140 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
22141 * sysdeps/pthread/timer_delete.c: ... here.
22142 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
22143 * sysdeps/pthread/timer_getoverr.c: ... here.
22144 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
22145 * sysdeps/pthread/timer_gettime.c: ... here.
22146 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
22147 * sysdeps/pthread/timer_routines.c: ... here.
22148 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
22149 * sysdeps/pthread/timer_settime.c: ... here.
22150 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
22151 * sysdeps/pthread/tst-timer.c: ... here.
22152 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
22153 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
22154
22155 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
22156 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
22157
22158 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
22159 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
22160 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
22161 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
22162 Update #include target.
22163 * nptl/sysdeps/i386/i686/Makefile: Moved ...
22164 * sysdeps/i386/i686/nptl/Makefile: ... here.
22165 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
22166 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
22167 Update #include target.
22168 * nptl/sysdeps/i386/i686/tls.h: Moved ...
22169 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
22170 * nptl/sysdeps/i386/Makefile: Moved ...
22171 * sysdeps/i386/nptl/Makefile: ... here.
22172 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
22173 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
22174 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
22175 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
22176 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
22177 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
22178 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
22179 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
22180 * sysdeps/i386/nptl/pthreaddef.h: ... here.
22181 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
22182 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
22183 * nptl/sysdeps/i386/tls.h: Moved ...
22184 * sysdeps/i386/nptl/tls.h: ... here.
22185
22186 * sysdeps/sh/Makefile [$(subdir) = csu]
22187 (gen-as-const-headers): Add tcb-offsets.sym.
22188 * nptl/sysdeps/sh/Makefile: File removed.
22189 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
22190 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
22191 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
22192 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
22193 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
22194 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
22195 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
22196 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
22197 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
22198 * sysdeps/sh/nptl/pthreaddef.h: ... here.
22199 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
22200 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
22201 * nptl/sysdeps/sh/tls.h: Moved ...
22202 * sysdeps/sh/nptl/tls.h: ... here.
22203 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
22204 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
22205 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
22206 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
22207 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
22208 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
22209 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
22210 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
22211 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
22212 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
22213 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
22214 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
22215 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
22216 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
22217 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
22218 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
22219 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
22220 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
22221 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
22222 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
22223 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
22224 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
22225 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
22226 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
22227 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
22228 Moved ...
22229 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
22230 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
22231 Moved ...
22232 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
22233 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
22234 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
22235 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
22236 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
22237 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
22238 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
22239 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
22240 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
22241 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
22242 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
22243 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
22244 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
22245 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
22246 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
22247 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
22248 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
22249 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
22250 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
22251
22252 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
22253
22254 * posix/spawn_faction_addopen.c: Include string.h.
22255
22256 2014-06-11 Roland McGrath <roland@hack.frob.com>
22257
22258 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
22259 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
22260 * nptl/sysdeps/x86_64/Makefile: Moved ...
22261 * sysdeps/x86_64/nptl/Makefile: ... here.
22262 * nptl/sysdeps/x86_64/configure: Moved ...
22263 * sysdeps/x86_64/nptl/configure: ... here.
22264 * nptl/sysdeps/x86_64/configure.ac: Moved ...
22265 * sysdeps/x86_64/nptl/configure.ac: ... here.
22266 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
22267 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
22268 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
22269 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
22270 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
22271 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
22272 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
22273 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
22274 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
22275 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
22276 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
22277 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
22278 * nptl/sysdeps/x86_64/tls.h: Moved ...
22279 * sysdeps/x86_64/nptl/tls.h: ... here.
22280 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
22281 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
22282 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
22283 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
22284
22285 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
22286
22287 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22288
22289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22290
22291 2014-06-11 Joseph Myers <joseph@codesourcery.com>
22292
22293 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
22294 type.
22295 [POSIX] (off_t): Likewise.
22296 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
22297 [POSIX] (S_ISBLK): Require macro.
22298 [POSIX] (S_ISCHR): Likewise.
22299 [POSIX] (S_ISDIR): Likewise.
22300 [POSIX] (S_ISFIFO): Likewise.
22301 [POSIX] (S_ISREG): Likewise.
22302 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
22303 optional-macro.
22304 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
22305 type.
22306 [POSIX] (time_t): Likewise.
22307 [POSIX] (timer_t): Likewise.
22308
22309 2014-06-11 Florian Weimer <fweimer@redhat.com>
22310
22311 [BZ #17048]
22312 * posix/spawn_int.h (struct __spawn_action): Make the path string
22313 non-const to support deallocation.
22314 * posix/spawn_faction_addopen.c
22315 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
22316 * posix/spawn_faction_destroy.c
22317 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
22318 path in all spawn_do_open actions.
22319 * posix/tst-spawn.c (do_test): Exercise the copy operation in
22320 posix_spawn_file_actions_addopen.
22321
22322 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
22323
22324 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
22325 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
22326 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
22327 conditional code always true.
22328 (__libc_vfork): New alias.
22329
22330 2014-06-11 Roland McGrath <roland@hack.frob.com>
22331
22332 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22333 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
22334
22335 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
22336
22337 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22338 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
22339
22340 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
22341 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
22342
22343 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22344 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
22345
22346 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22347
22348 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
22349 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
22350 multiarch strcmp for PPC64.
22351 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
22352 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
22353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
22354 multiarch optimizations.
22355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22356 (__libc_ifunc_impl_list): Likewise.
22357
22358 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22359
22360 * benchtests/scripts/validate_benchout.py: New script.
22361 * benchtests/Makefile (bench-func): Call it.
22362 * benchtests/scripts/benchout.schema.json: New file.
22363
22364 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
22365
22366 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
22367 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
22368 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
22369 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
22370 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
22371 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
22372 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
22373 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
22374 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
22375 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
22376 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
22377 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
22378 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
22379 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
22380 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
22381 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
22382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
22383 Moved ...
22384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
22385 ... here.
22386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
22387 Moved ...
22388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
22389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
22390 Moved ...
22391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
22392 ... here.
22393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
22394 Moved ...
22395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
22396 ... here.
22397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
22398 Moved ...
22399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
22400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
22401 Moved ...
22402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
22403 ... here.
22404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
22405 Moved ...
22406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
22407 ... here.
22408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
22409 Moved ...
22410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
22411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
22412 Moved ...
22413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
22414 ... here.
22415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
22416 Moved ...
22417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
22418 ... here.
22419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
22420 Moved ...
22421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
22422 ... here.
22423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
22424 Moved ...
22425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
22426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
22427 Moved ...
22428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
22429 ... here.
22430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
22431 Moved ...
22432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
22433 ... here.
22434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
22435 Moved ...
22436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
22437 ... here.
22438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
22439 Moved ...
22440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
22441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
22442 Moved ...
22443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
22444 ... here.
22445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
22446 Moved ...
22447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
22448 ... here.
22449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
22450 Moved ...
22451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
22452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
22453 Moved ...
22454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
22455 ... here.
22456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
22457 Moved ...
22458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
22459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
22460 Moved ...
22461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
22462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
22463 Moved ...
22464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
22465 ... here.
22466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
22467 Moved ...
22468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
22469 ... here.
22470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
22471 Moved ...
22472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
22473 ... here.
22474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
22475 Moved ...
22476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
22477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
22478 Moved ...
22479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
22480 ... here.
22481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
22482 Moved ...
22483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
22484 ... here.
22485 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
22486 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
22487 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
22488 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
22489 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
22490 Moved ...
22491 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
22492 ... here.
22493 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
22494 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
22495 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
22496 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
22497 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
22498 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
22499 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
22500 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
22501 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
22502 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
22503 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
22504 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
22505 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
22506 Moved ...
22507 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
22508 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
22509 Moved ...
22510 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
22511 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
22512 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
22513 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
22514 Moved ...
22515 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
22516 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
22517 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
22518 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
22519 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
22520 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
22521 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
22522
22523 2014-06-10 Wilco <wdijkstr@arm.com>
22524
22525 * math/test-fenv-return.c: New file.
22526 * math/Makefile: Add new test test-fenv-return.
22527
22528 2014-06-10 Joseph Myers <joseph@codesourcery.com>
22529
22530 [BZ #17042]
22531 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
22532 when x - 1 is zero.
22533 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
22534 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
22535 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
22536 0.0L for an argument of 1.0L.
22537 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
22538 Likewise.
22539 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
22540 value when x - 1 is zero.
22541 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
22542 * sysdeps/i386/fpu/libm-test-ulps: Update.
22543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22544
22545 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
22546
22547 [BZ #15119]
22548 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
22549
22550 2014-06-09 Roland McGrath <roland@hack.frob.com>
22551
22552 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
22553 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
22554
22555 2014-06-09 Roland McGrath <roland@hack.frob.com>
22556
22557 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22558 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
22559
22560 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22561 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
22562
22563 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22564 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
22565
22566 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22567 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
22568
22569 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
22570 if not already defined.
22571 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
22572 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
22573 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
22574 (TLS_INIT_TP): Use it.
22575 (TLS_DEFINE_INIT_TP): New macro.
22576 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
22577
22578 2014-06-09 Joseph Myers <joseph@codesourcery.com>
22579
22580 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
22581 constant.
22582 [POSIX] (IXANY): Likewise.
22583 [POSIX] (OLCUC): Likewise.
22584 [POSIX || POSIX2008] (CBAUD): Do not allow.
22585 [POSIX || POSIX2008] (DEFECHO): Likewise.
22586 [POSIX || POSIX2008] (ECHOCTL): Likewise.
22587 [POSIX || POSIX2008] (ECHOKE): Likewise.
22588 [POSIX || POSIX2008] (ECHOPRT): Likewise.
22589 [POSIX || POSIX2008] (EXTA): Likewise.
22590 [POSIX || POSIX2008] (EXTB): Likewise.
22591 [POSIX || POSIX2008] (FLUSHO): Likewise.
22592 [POSIX || POSIX2008] (LOBLK): Likewise.
22593 [POSIX || POSIX2008] (PENDIN): Likewise.
22594 [POSIX || POSIX2008] (SWTCH): Likewise.
22595 [POSIX || POSIX2008] (VDISCARD): Likewise.
22596 [POSIX || POSIX2008] (VDSUSP): Likewise.
22597 [POSIX || POSIX2008] (VLNEXT): Likewise.
22598 [POSIX || POSIX2008] (VREPRINT): Likewise.
22599 [POSIX || POSIX2008] (VSTATUS): Likewise.
22600 [POSIX || POSIX2008] (VWERASE): Likewise.
22601 (B*): Change to B[0123456789]*.
22602 * conform/data/time.h-data [POSIX || UNIX98]
22603 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
22604 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22605 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
22606 [POSIX] (tm_*): Do not allow.
22607
22608 2014-06-07 Joseph Myers <joseph@codesourcery.com>
22609
22610 * Makefile (install): Don't set LANGUAGE.
22611 * Makefile.in (install): Likewise.
22612 * assert/Makefile (test-assert-ENV): Remove variable.
22613 (test-assert-perr-ENV): Likewise.
22614 * elf/Makefile (neededtest4-ENV): Likewise.
22615 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
22616 [$(cross-compiling) = no]: Don't set LANGUAGE.
22617 * io/ftwtest-sh (LANG): Remove variable.
22618 * libio/Makefile (tst-widetext-ENV): Likewise.
22619 * manual/install.texi (Running make install): Don't refer to
22620 environment settings for make install.
22621 * INSTALL: Regenerated.
22622 * nptl/tst-tls6.sh: Don't set LANG.
22623 * posix/globtest.sh (LANG): Remove variable.
22624 * string/Makefile (tester-ENV): Likewise.
22625 (inl-tester-ENV): Likewise.
22626 (noinl-tester-ENV): Likewise.
22627 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
22628 [$(cross-compiling) = no]: Don't set LANGUAGE.
22629 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
22630 without explicit environment settings.
22631
22632 2014-06-06 Roland McGrath <roland@hack.frob.com>
22633
22634 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
22635 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
22636 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
22637 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
22638
22639 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
22640
22641 * crypt/crypt-private.h [DOS]: Add some includes taken from the
22642 other files in the crypt directory.
22643 * crypt/crypt.c: Remove duplicate includes.
22644 * crypt/crypt-entry.c: Likewise.
22645 * crypt/crypt_util.c: Likewise.
22646
22647 2014-06-06 Joseph Myers <joseph@codesourcery.com>
22648
22649 * Makeconfig (run-program-env): New variable.
22650 (run-program-prefix-before-env): Likewise.
22651 (run-program-prefix-after-env): Likewise.
22652 (run-program-prefix): Define in terms of new variables.
22653 (built-program-cmd-before-env): New variable.
22654 (built-program-cmd-after-env): Likewise.
22655 (built-program-cmd): Define in terms of new variables.
22656 (test-program-prefix-before-env): New variable.
22657 (test-program-prefix-after-env): Likewise.
22658 (test-program-prefix): Define in terms of new variables.
22659 (test-program-cmd-before-env): New variable.
22660 (test-program-cmd-after-env): Likewise.
22661 (test-program-cmd): Define in terms of new variables.
22662 * Rules (make-test-out): Use $(run-program-env).
22663 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
22664 (help): Do not mention environment variables. Mention
22665 --timeoutfactor option.
22666 (timeoutfactor): New variable.
22667 (blacklist_exports): Remove function.
22668 (exports): Remove variable.
22669 (command): Do not include ${exports}.
22670 * manual/install.texi (Configuring and compiling): Do not mention
22671 test wrappers preserving environment variables. Mention that last
22672 assignment to a variable must take precedence.
22673 * INSTALL: Regenerated.
22674 * benchtests/Makefile (run-bench): Use $(run-program-env).
22675 * catgets/Makefile ($(objpfx)test1.cat): Use
22676 $(built-program-cmd-before-env), $(run-program-env) and
22677 $(built-program-cmd-after-env).
22678 ($(objpfx)test2.cat): Do not specify environment variables
22679 explicitly.
22680 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
22681 $(run-program-env) and $(built-program-cmd-after-env).
22682 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
22683 $(run-program-env) and $(test-program-cmd-after-env).
22684 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
22685 explicitly.
22686 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
22687 run_program_env and test_program_cmd_after_env arguments.
22688 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
22689 * elf/tst-pathopt.sh: Use run_program_env argument.
22690 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
22691 $(test-wrapper-env) and $(run-program-env).
22692 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
22693 run_program_env arguments.
22694 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
22695 * intl/Makefile ($(objpfx)tst-gettext.out): Use
22696 $(test-program-prefix-before-env), $(run-program-env) and
22697 $(test-program-prefix-after-env).
22698 ($(objpfx)tst-gettext2.out): Likewise.
22699 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
22700 run_program_env and test_program_prefix_after_env arguments.
22701 * intl/tst-gettext2.sh: Likewise.
22702 * intl/tst-gettext4.sh: Do not set environment variables
22703 explicitly.
22704 * intl/tst-gettext6.sh: Likewise.
22705 * intl/tst-translit.sh: Likewise.
22706 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
22707 $(test-program-prefix-before-env), $(run-program-env) and
22708 $(test-program-prefix-after-env).
22709 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
22710 run_program_env and test_program_prefix_after_env arguments.
22711 * math/Makefile (run-regen-ulps): Use $(run-program-env).
22712 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
22713 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
22714 explicitly with each use of ${test_wrapper_env}.
22715 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
22716 $(test-program-prefix-before-env), $(run-program-env) and
22717 $(test-program-prefix-after-env).
22718 * posix/tst-getconf.sh: Do not set environment variables
22719 explicitly.
22720 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
22721 run_program_env and test_program_prefix_after_env arguments.
22722 * stdio-common/tst-printf.sh: Do not set environment variables
22723 explicitly.
22724 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
22725 $(test-program-prefix-before-env), $(run-program-env) and
22726 $(test-program-prefix-after-env).
22727 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
22728 run_program_env and test_program_prefix_after_env arguments.
22729 Split $test calls into $test_pre and $test.
22730 * timezone/Makefile (build-testdata): Use
22731 $(built-program-cmd-before-env), $(run-program-env) and
22732 $(built-program-cmd-after-env).
22733
22734 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22735
22736 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
22737 strlen for non SHARED builds.
22738
22739 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22740
22741 * nptl/allocatestack.c (check_list): Inlined function...
22742 (__reclaim_stacks): ... here.
22743
22744 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
22745
22746 [BZ #15698]
22747 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
22748 memory overrun.
22749
22750 2014-06-05 Joseph Myers <joseph@codesourcery.com>
22751
22752 * Rules (make-test-out): Include
22753 LOCPATH=$(common-objpfx)localedata in default environment.
22754 * debug/Makefile (tst-chk1-ENV): Remove variable.
22755 (tst-chk2-ENV): Likewise.
22756 (tst-chk3-ENV): Likewise.
22757 (tst-chk4-ENV): Likewise.
22758 (tst-chk5-ENV): Likewise.
22759 (tst-chk6-ENV): Likewise.
22760 (tst-lfschk1-ENV): Likewise.
22761 (tst-lfschk2-ENV): Likewise.
22762 (tst-lfschk3-ENV): Likewise.
22763 (tst-lfschk4-ENV): Likewise.
22764 (tst-lfschk5-ENV): Likewise.
22765 (tst-lfschk6-ENV): Likewise.
22766 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
22767 (tst-iconv7-ENV): Likewise.
22768 * intl/Makefile (LOCPATH-ENV): Likewise.
22769 (tst-codeset-ENV): Likewise.
22770 (tst-gettext3-ENV): Likewise.
22771 (tst-gettext5-ENV): Likewise.
22772 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
22773 (tst-fopenloc-ENV): Likewise.
22774 (tst-fgetws-ENV): Remove variable.
22775 (tst-ungetwc1-ENV): Likewise.
22776 (tst-ungetwc2-ENV): Likewise.
22777 (bug-ungetwc2-ENV): Likewise.
22778 (tst-swscanf-ENV): Likewise.
22779 (bug-ftell-ENV): Likewise.
22780 (tst-fgetwc-ENV): Likewise.
22781 (tst-fseek-ENV): Likewise.
22782 (tst-ftell-partial-wide-ENV): Likewise.
22783 (tst-ftell-active-handler-ENV): Likewise.
22784 (tst-ftell-append-ENV): Likewise.
22785 * posix/Makefile (tst-fnmatch-ENV): Likewise.
22786 (tst-regexloc-ENV): Likewise.
22787 (bug-regex1-ENV): Likewise.
22788 (tst-regex-ENV): Likewise.
22789 (tst-regex2-ENV): Likewise.
22790 (bug-regex5-ENV): Likewise.
22791 (bug-regex6-ENV): Likewise.
22792 (bug-regex17-ENV): Likewise.
22793 (bug-regex18-ENV): Likewise.
22794 (bug-regex19-ENV): Likewise.
22795 (bug-regex20-ENV): Likewise.
22796 (bug-regex22-ENV): Likewise.
22797 (bug-regex23-ENV): Likewise.
22798 (bug-regex25-ENV): Likewise.
22799 (bug-regex26-ENV): Likewise.
22800 (bug-regex30-ENV): Likewise.
22801 (bug-regex32-ENV): Likewise.
22802 (bug-regex33-ENV): Likewise.
22803 (bug-regex34-ENV): Likewise.
22804 (bug-regex35-ENV): Likewise.
22805 (tst-rxspencer-ENV): Likewise.
22806 (tst-rxspencer-no-utf8-ENV): Likewise.
22807 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
22808 (tst-sscanf-ENV): Likewise.
22809 (tst-swprintf-ENV): Likewise.
22810 (tst-swscanf-ENV): Likewise.
22811 (test-vfprintf-ENV): Likewise.
22812 (scanf13-ENV): Likewise.
22813 (bug14-ENV): Likewise.
22814 (tst-grouping-ENV): Likewise.
22815 * stdlib/Makefile (tst-strtod-ENV): Likewise.
22816 (tst-strtod3-ENV): Likewise.
22817 (tst-strtod4-ENV): Likewise.
22818 (tst-strtod5-ENV): Likewise.
22819 (testmb2-ENV): Likewise./
22820 * string/Makefile (tst-strxfrm-ENV): Likewise.
22821 (tst-strxfrm2-ENV): Likewise.
22822 (bug-strcoll1-ENV): Likewise.
22823 (test-strcasecmp-ENV): Likewise.
22824 (test-strncasecmp-ENV): Likewise.
22825 * time/Makefile (tst-strptime-ENV): Likewise.
22826 (tst-ftime_l-ENV): Likewise.
22827 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
22828 (tst-mbrtowc-ENV): Likewise.
22829 (tst-wcrtomb-ENV): Likewise.
22830 (tst-mbrtowc2-ENV): Likewise.
22831 (tst-c16c32-1-ENV): Likewise.
22832 (tst-mbsnrtowcs-ENV): Likewise.
22833
22834 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
22835
22836 * manual/resource.texi (How to get information about the memory
22837 subsystem?): Fix typo.
22838 Reported by Peon de la Parra Ivan <peon@keba.com>
22839
22840 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
22841
22842 [BZ #16882]
22843 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
22844 (pthread_spin_lock): Branch out of spin loop to proper location.
22845 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
22846 (pthread_spin_lock): Likewise.
22847
22848 * nptl/tst-spin4.c: New test.
22849 * nptl/Makefile (tests): Add tst-spin4.
22850
22851 2014-06-03 Andreas Schwab <schwab@suse.de>
22852
22853 [BZ #15946]
22854 * resolv/res_send.c (send_dg): Reload file descriptor after
22855 calling reopen.
22856
22857 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
22858
22859 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22860
22861 2014-06-03 Richard Henderson <rth@redhat.com>
22862
22863 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
22864 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
22865 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
22866 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
22867 in the SAVE_PID block.
22868 (__libc_vfork): New alias.
22869 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
22870
22871 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
22872 child in registers, not on the stack. Remove RESET_PID conditionals.
22873 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
22874
22875 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
22876
22877 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22878
22879 2014-06-03 Wilco <wdijkstr@arm.com>
22880
22881 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
22882 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
22883 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
22884 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
22885 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
22886 Likewise.
22887
22888 2014-06-03 Wilco <wdijkstr@arm.com>
22889
22890 * sysdeps/aarch64/fpu/math_private.h
22891 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
22892 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
22893 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
22894 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
22895 Fix declarations.
22896
22897 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22898
22899 * crypt/crypt-private.h: Include ufc-crypt.h.
22900 (__b64_from_24bit): Declare extern.
22901 * crypt/crypt_util.c(__b64_from_24bit): New function.
22902 (b64t): New static const variable.
22903 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
22904 (b64t): Remove variable.
22905 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
22906 * crypt/sha256-crypt.c: Include crypt-private.h.
22907 (b64t): Remove variable.
22908 (__sha256_crypt_r): Remove b64_from_24bit and replace
22909 with __b64_from_24bit.
22910 * crypt/sha512-crypt.c: Likewise.
22911
22912 2014-06-02 Roland McGrath <roland@hack.frob.com>
22913
22914 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
22915 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
22916 Label the code __libc_vfork rather than __vfork.
22917 [!NOT_IN_libc] (vfork): Define as weak alias.
22918 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
22919 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
22920 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
22921
22922 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22923
22924 * malloc/malloc.c (malloc_info): Fix format specifier for
22925 n_mmaps.
22926
22927 2014-06-02 Wilco <wdijkstr@arm.com>
22928
22929 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
22930 FPCR write.
22931
22932 2014-06-02 Wilco <wdijkstr@arm.com>
22933
22934 [BZ #17009]
22935 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
22936 Rewrite to reduce FPCR/FPSR accesses.
22937
22938 2014-06-01 David S. Miller <davem@davemloft.net>
22939
22940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22941
22942 2014-05-31 David S. Miller <davem@davemloft.net>
22943
22944 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
22945 to occur in round to nearest mode when |x| >= 2.0
22946
22947 2014-05-30 Richard Henderson <rth@twiddle.net>
22948
22949 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
22950 (PSEUDO_RET_NOERRNO): Remove.
22951 (ret): Don't redefine.
22952 (ret_NOERRNO): Define in terms of ret.
22953 (ret_ERRVAL): Likewise.
22954
22955 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
22956 use of PSEUDO_RET; perform the error check directly.
22957
22958 2014-05-30 Marko Myllynen <myllynen@redhat.com>
22959
22960 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
22961 with __int128_t.
22962
22963 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22964
22965 * malloc/malloc (malloc_info): Fix formatting.
22966
22967 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22968 Roland McGrath <roland@hack.frob.com>
22969
22970 * malloc/malloc (malloc_info): Also print mmapped statistics.
22971
22972 2014-05-30 Roland McGrath <roland@hack.frob.com>
22973
22974 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
22975 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
22976
22977 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
22978
22979 * malloc/malloc.c (malloc_info): Inline mi_arena.
22980
22981 2014-05-29 Richard Henderson <rth@twiddle.net>
22982
22983 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
22984 Remove comma before expanding ASM_ARGS_##nr.
22985 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
22986 Make _x0 a strict output; make _x8 a strict input; adjust expansion
22987 of ASM_ARGS_##nr.
22988 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
22989 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
22990 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
22991 (ASM_ARGS_1): Add leading comma.
22992
22993 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
22994 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
22995 to __errno_location.
22996 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
22997 Remove the expected plt for __errno_location.
22998
22999 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23000 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
23001 call to __read_tp.
23002
23003 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23004 Always allocate 64 bytes of stack frame. Use ldp/stp to create
23005 it and break it down.
23006 (DOCARGS_0, DOCARGS_1): Do nothing.
23007 (DOCARGS_2): Update to store into the new stack frame.
23008 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
23009 (UNDOCARGS_1): Update to restore from the new stack frame.
23010 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
23011 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
23012
23013 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23014 (SINGLE_THREAD_P): New parameter for result regno.
23015 (PSEUDO): Update to match; use cbz instead of beq.
23016
23017 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23018 Use ENTRY to define the _nocancel entry point. Share the syscall
23019 and syscall error check paths with the cancel path.
23020 (PSEUDO_END): New.
23021
23022 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
23023 whitespace; tabs before and after asm mnemonics.
23024
23025 2014-05-29 Eric Wong <normalperson@yhbt.net>
23026
23027 [BZ #15132]
23028 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23029 Call fstat64 or stat64 internally, depending on arguments passed.
23030 Replace stat buffer argument with file descriptor argument.
23031 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
23032 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
23033 Pass fd to __internal_statvfs instead of calling fstat64.
23034 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
23035 Pass fd to __internal_statvfs64 instead of calling fstat64.
23036 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
23037 Pass -1 to __internal_statvfs instead of calling stat64.
23038 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
23039 Pass -1 to __internal_statvfs64 instead of calling stat64.
23040
23041 2014-05-28 Roland McGrath <roland@hack.frob.com>
23042
23043 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
23044 that was previously under [RESET_PID].
23045 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
23046
23047 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
23048 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
23049
23050 2014-05-27 Roland McGrath <roland@hack.frob.com>
23051
23052 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
23053
23054 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
23055 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
23056
23057 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
23058
23059 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
23060
23061 2014-05-27 Andreas Schwab <schwab@suse.de>
23062
23063 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
23064 TLS_INIT_TP macro.
23065 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
23066 * elf/rtld.c (init_tls, dl_main): Likewise.
23067 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
23068 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
23069 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
23070 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
23071 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
23072 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
23073 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
23074 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
23075 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
23076 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
23077 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
23078 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
23079 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
23080 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
23081 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
23082 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
23083 * sysdeps/generic/tls.h: Update description.
23084
23085 2014-05-27 Will Newton <will.newton@linaro.org>
23086
23087 [BZ #16990]
23088 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
23089 and restore r2 rather than just restoring.
23090
23091 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23092
23093 [BZ #16724]
23094 * libio/tst-ftell-append.c: New test case.
23095 * libio/Makefile (tests): Add test case.
23096 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
23097 append mode.
23098 * libio/wfileops.c (do_ftell_wide): Likewise.
23099
23100 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23101
23102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23103
23104 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
23105 ...
23106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
23107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23108 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
23109 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
23110 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
23111 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
23112 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
23113 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
23114 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
23115 Moved ...
23116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
23117 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
23118 Moved ...
23119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
23120 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
23121 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
23122 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
23123 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
23124 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
23125 ...
23126 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
23127 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
23128 Moved ...
23129 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
23130 here.
23131 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
23132 ...
23133 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
23134 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
23135 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
23136
23137 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
23138 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
23139 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
23140 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
23141
23142 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
23143 merge into ...
23144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
23145 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
23146 ...
23147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
23148 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
23149 ...
23150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
23151 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
23152 Moved ...
23153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
23154 here.
23155 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
23156 Moved ...
23157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
23158 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
23159 Moved ...
23160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
23161
23162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
23163 conditional [RESET_PID].
23164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
23165 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
23166 removed.
23167 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
23168 removed.
23169
23170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
23171 <tcb-offsets.h>.
23172 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
23173 (__libc_vfork): New strong alias.
23174 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
23175 removed.
23176 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
23177 Removed.
23178
23179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
23180 <tcb-offsets.h>.
23181 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
23182 (__libc_vfork): New strong alias.
23183 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
23184 removed.
23185 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
23186 removed.
23187
23188 2014-05-26 Carlos O'Donell <carlos@redhat.com>
23189
23190 * malloc/malloc.c (mi_arena): New function.
23191 (malloc_info): Remove nested function mi_arena. Call non-nosted
23192 function mi_arena.
23193
23194 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23195
23196 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
23197 by insrwi.
23198 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
23199 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
23200 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
23201 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
23202 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
23203 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
23204 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
23205
23206 2014-05-26 Andreas Schwab <schwab@suse.de>
23207
23208 [BZ #16984]
23209 * locale/programs/repertoire.c (repertoire_read): Add slash
23210 between I18NPATH element and file name.
23211 * locale/programs/locfile.c (locfile_read): Likewise.
23212
23213 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
23214
23215 * nptl/pthread_mutexattr_settype.c
23216 (__pthread_mutexattr_settype):
23217 Disable lock elision for PTHREAD_MUTEX_NORMAL.
23218
23219 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
23220
23221 * nptl/tst-mutex5 (do_test):
23222 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
23223
23224 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23225
23226 * benchtests/README: Document 'init' directive.
23227 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
23228 BENCH_INIT.
23229 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
23230 (parse_file): Recognize 'init' directive.
23231
23232 2014-05-26 Kyle McMartin <kyle@redhat.com>
23233
23234 [BZ #16796]
23235 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
23236 alignment of struct pthread.
23237
23238 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23239
23240 [BZ #16878]
23241 * nscd/netgroupcache.c (addgetnetgrentX): Look for
23242 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
23243 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
23244 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
23245
23246 2014-05-25 Richard Henderson <rth@twiddle.net>
23247
23248 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23249 (SINGLE_THREAD_P_PIC): Remove.
23250 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
23251 (SINGLE_THREAD_P_PIC): Remove.
23252
23253 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
23254 branch to syscall error ...
23255 (PSEUDO): ... here.
23256 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
23257 from __local_syscall_error to .Lsyscall_error.
23258 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
23259 (SYSCALL_ERROR): Update label name.
23260
23261 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23262 Do not use DOARGS/UNDOARGS.
23263 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
23264 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
23265 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
23266 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
23267 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
23268
23269 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
23270 block comment.
23271
23272 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
23273 define if !NOT_IN_libc.
23274 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
23275 define with non-default symbol versions.
23276
23277 2014-05-23 Richard Henderson <rth@twiddle.net>
23278
23279 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
23280 (vfork, __vfork): Define via compat_symbol.
23281
23282 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
23283 [!HAVE_IFUNC] (vfork_compat): Remove.
23284 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
23285
23286 2014-05-23 Joseph Myers <joseph@codesourcery.com>
23287
23288 [BZ #16978]
23289 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
23290 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
23291 variable.
23292
23293 2014-05-23 Richard Henderson <rth@twiddle.net>
23294
23295 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
23296 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
23297 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
23298 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
23299
23300 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
23301 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
23302 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
23303 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
23304 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
23305 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
23306 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
23307 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
23308 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
23309 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
23310 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
23311 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
23312 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
23313 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
23314 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
23315 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
23316 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
23317 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
23318 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
23319 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
23320 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
23321 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
23322 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
23323 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
23324 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
23325 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
23326 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
23327 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
23328 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
23329 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
23330 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
23331 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
23332 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
23333 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
23334 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
23335 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
23336 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
23337 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
23338 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
23339 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
23340 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
23341 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
23342 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
23343 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
23344 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
23345 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
23346 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
23347 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
23348 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
23349 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
23350 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
23351 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
23352 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
23353 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
23354 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
23355 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
23356
23357 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
23358 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
23359 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
23360 before exiting on error.
23361 (__libc_vfork): New strong alias.
23362 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
23363 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
23364
23365 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
23366 that was previously under [RESET_PID].
23367 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
23368
23369 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
23370
23371 2014-05-23 Joseph Myers <joseph@codesourcery.com>
23372
23373 [BZ #16977]
23374 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
23375 value when x - 1 is zero.
23376 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
23377 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
23378 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
23379 0.0L for an argument of 1.0L.
23380 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
23381 Likewise.
23382 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
23383 value when x - 1 is zero.
23384 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
23385 * sysdeps/i386/fpu/libm-test-ulps: Update.
23386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23387
23388 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
23389
23390 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
23391 alphasort and versionsort.
23392
23393 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23394
23395 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
23396 macro.
23397 [copysignf]: Likewise.
23398
23399 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23400
23401 * crypt/md5-crypt.c: Fix formatting.
23402
23403 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
23404
23405 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
23406 (b64_from_24bit): New function.
23407
23408 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23409
23410 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
23411 libc_hidden_builtin_def to ifunc.
23412 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
23413 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
23414
23415 2014-05-21 Roland McGrath <roland@hack.frob.com>
23416
23417 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
23418 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
23419
23420 2014-05-21 Joseph Myers <joseph@codesourcery.com>
23421
23422 * nscd/Depend (linuxthreads): Remove.
23423 (nptl): Add.
23424 * resolv/Depend (linuxthreads): Remove.
23425 * rt/Depend (linuxthreads): Remove.
23426
23427 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
23428 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
23429 $(common-objpfx)elf/.
23430 (link-libc-before-gnulib): Likewise.
23431 (elfobjdir): Remove variable.
23432 * Makefile (install): Use $(elf-objpfx) instead of
23433 $(common-objpfx)elf/.
23434 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
23435 $(elfobjdir)/.
23436 (link-libc-deps): Likewise.
23437 ($(common-objpfx)libc.so): Likewise.
23438 ($(common-objpfx)linkobj/libc.so): Likewise.
23439 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
23440 instead of $(common-objpfx)elf/.
23441 (symbolic-link-list): Likewise.
23442 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23443 [$(cross-compiling) = no]: Likewise.
23444 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
23445 $(elfobjdir)/.
23446 (static-gnulib-arch): Likewise.
23447 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23448 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
23449 $(common-objpfx)elf/.
23450
23451 2014-05-21 Richard Henderson <rth@redhat.com>
23452
23453 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23454 (SINGLE_THREAD_P): Use the correct width load. Fold
23455 into the ldr offset.
23456
23457 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
23458 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
23459
23460 2014-05-20 Joseph Myers <joseph@codesourcery.com>
23461
23462 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
23463 (libgcc_s_resume): Use __attribute_used__.
23464 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
23465 Likewise.
23466
23467 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23468
23469 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
23470 optimization when used with float constants.
23471
23472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23473
23474 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
23475
23476 [BZ #16915]
23477 * locale/nl_langinfo_l.c: Make direct reference to every
23478 _nl_current_CATEGORY symbol.
23479 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
23480 (tests-static): Add tst-langinfo-static.
23481 (tests-special): Add tst-langinfo-static.out.
23482 ($(objpfx)tst-langinfo.out): Redirect output.
23483 ($(objpfx)tst-langinfo-static.out): New.
23484 * localedata/tst-langinfo.sh: Send output to stdout.
23485 * localedata/tst-langinfo-static.c: New file.
23486
23487 [BZ #16965]
23488 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
23489 when the shift amount is modulo the limb size.
23490
23491 2014-05-20 Richard Henderson <rth@redhat.com>
23492
23493 [BZ #16967]
23494 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
23495 Change type of sa_flags from unsigned int to int.
23496
23497 [BZ #16966]
23498 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
23499
23500 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
23501
23502 2014-05-20 Will Newton <will.newton@linaro.org>
23503
23504 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23505 Test the return value of the system call in the nocancel case.
23506
23507 2014-05-20 Will Newton <will.newton@linaro.org>
23508 Yvan Roux <yvan.roux@linaro.org>
23509
23510 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
23511 #include of asm/ptrace.h.
23512 (PTRACE_GET_THREAD_AREA): Remove #undef.
23513 (PTRACE_GETHBPREGS): Likewise.
23514 (PTRACE_SETHBPREGS): Likewise.
23515 (struct user_regs_struct): New structure.
23516 (struct user_fpsimd_struct): New structure.
23517 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
23518 #include of asm/ptrace.h and second #include of sys/user.h.
23519 (PTRACE_GET_THREAD_AREA): Remove #undef.
23520 (PTRACE_GETHBPREGS): Likewise.
23521 (PTRACE_SETHBPREGS): Likewise.
23522 (ELF_NGREG): Use new struct user_regs_struct.
23523 (elf_fpregset_t): Use new struct user_fpsimd_struct.
23524
23525 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23526
23527 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
23528 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
23529
23530 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
23531
23532 [BZ #16958]
23533 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
23534 membar to avoid block loads/stores to overlap previous stores.
23535
23536 2014-05-17 Richard Henderson <rth@redhat.com>
23537
23538 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
23539 Create the __##syscall_name##_nocancel entry point.
23540 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
23541 Remove; let the sysdep-cancel.h code create it.
23542
23543 2014-05-17 David S. Miller <davem@davemloft.net>
23544
23545 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
23546 Protect with __USE_GNU.
23547 (TIOCSET_TEMPT): Likewise.
23548 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23549 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
23550 these are already provided in bits/ioctl-types.h
23551
23552 2014-05-16 Roland McGrath <roland@hack.frob.com>
23553
23554 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
23555 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
23556
23557 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
23558 Use wait4 regardless of [__NR_waitpid].
23559
23560 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
23561
23562 PR libgcc/60166
23563 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23564 (_FP_NANSIGN_Q): Set the quiet bit.
23565
23566 2014-05-16 Joseph Myers <joseph@codesourcery.com>
23567
23568 * benchtests/Makefile
23569 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
23570 not $(common-objpfx)math/libm.so.
23571 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
23572 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
23573 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
23574 $(common-objpfx)dlfcn/libdl.so.
23575 ($(objpfx)tst-audit8): Depend on $(libm), not
23576 $(common-objpfx)math/libm.so.
23577 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
23578 not $(common-objpfx)dlfcn/libdl.so.
23579 * math/Makefile
23580 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23581 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
23582 [$(build-shared) = yes].
23583 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
23584 $(common-objpfx)nptl/libpthread.so.
23585 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
23586 $(common-objpfx)math/libm.so$(libm.so-version) or
23587 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
23588 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
23589 $(common-objpfx)dlfcn/libdl.so.
23590 * setjmp/Makefile (link-libm): Remove variable.
23591 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
23592 * stdio-common/Makefile (link-libm): Remove variable.
23593 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
23594 * stdlib/Makefile (link-libm): Remove variable.
23595 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
23596 ($(objpfx)tst-strtod-round): Likewise.
23597 ($(objpfx)tst-tininess): Likewise.
23598 ($(objpfx)tst-strtod-underflow): Likewise.
23599 ($(objpfx)tst-strtod6): Likewise.
23600 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
23601 $(libdl), not $(common-objpfx)nptl/libpthread.so and
23602 $(common-objpfx)dlfcn/libdl.so.
23603
23604 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23605
23606 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
23607 BSD terminal modes definitions.
23608
23609 2014-05-16 Roland McGrath <roland@hack.frob.com>
23610
23611 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
23612 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
23613
23614 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
23615 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
23616 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
23617 Don't do #include_next.
23618 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
23619 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
23620 Don't do #include_next.
23621 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
23622 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
23623 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
23624 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
23625
23626 2014-05-16 Allan McRae <allan@archlinux.org>
23627
23628 * po/sv.po: Update Swedish translation from translation project.
23629
23630 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
23631 in sed expression.
23632
23633 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
23634
23635 [BZ #16917]
23636 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
23637 errno if the TIOCGPTN ioctl fails with an error different than
23638 EINVAL.
23639 * login/tst-ptsname.c: New file.
23640 * login/Makefile (tests): Add tst-ptsname.
23641
23642 [BZ #16943]
23643 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
23644 and prlimit64.
23645
23646 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23647
23648 [BZ #16849]
23649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
23650 herrno to return EAI_AGAIN.
23651
23652 2014-05-14 Roland McGrath <roland@hack.frob.com>
23653
23654 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
23655 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
23656 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
23657 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
23658 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
23659 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
23660 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
23661 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
23662 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
23663 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
23664 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
23665 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
23666 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
23667 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
23668 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
23669 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
23670 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
23671 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
23672 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
23673 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
23674 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
23675 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
23676 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
23677 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
23678 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
23679 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
23680 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
23681 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
23682 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
23683 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
23684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
23685 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
23686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
23687 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
23688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23689 Moved ...
23690 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
23691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
23692 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
23693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
23694 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
23695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
23696 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
23697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
23698 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
23699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
23700 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
23701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
23702 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
23703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
23704 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
23705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
23706 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
23707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
23708 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
23709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
23710 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
23711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
23712 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
23713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
23714 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
23715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
23716 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
23717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23718 Moved ...
23719 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
23720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
23721 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
23722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
23723 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
23724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
23725 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
23726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
23727 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
23728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
23729 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
23730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
23731 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
23732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
23733 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
23734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
23735 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
23736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
23737 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
23738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23739 Moved ...
23740 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
23741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
23742 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
23743
23744 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
23745 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
23746 (libpthread-sysdep_routines): Add elision-related stuff here instead.
23747 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
23748 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
23749 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
23750 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
23751 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
23752 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
23753 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
23754 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
23755 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
23756 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
23757 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
23758 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
23759 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
23760 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
23761 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
23762 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
23763 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
23764 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
23765 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
23766 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
23767 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
23768 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
23769 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
23770 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
23771 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
23772 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
23773 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
23774 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
23775
23776 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
23777 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
23778
23779 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
23780 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
23781 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
23782 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
23783 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
23784 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
23785 Moved ...
23786 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
23787 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
23788 Moved ...
23789 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
23790 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
23791 Moved ...
23792 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
23793 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
23794 Moved ...
23795 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
23796 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
23797 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
23798 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
23799 Moved ...
23800 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
23801 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
23802 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
23803 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
23804 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
23805 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
23806 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
23807 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
23808 Moved ...
23809 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
23810 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
23811 Moved ...
23812 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
23813 ... here.
23814 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
23815 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
23816 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
23817 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
23818 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
23819 Moved ...
23820 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
23821 ... here.
23822 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
23823 Moved ...
23824 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
23825 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
23826 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
23827 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
23828 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
23829 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
23830 Moved ...
23831 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
23832 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
23833 Moved ...
23834 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
23835 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
23836 Moved ...
23837 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
23838 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
23839 Moved ...
23840 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
23841 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
23842 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
23843 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
23844 Moved ...
23845 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
23846 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
23847 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
23848 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
23849 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
23850 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
23851 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
23852 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
23853 Moved ...
23854 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
23855 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
23856 Moved ...
23857 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
23858 ... here.
23859 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
23860 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
23861 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
23862 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
23863 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
23864 Moved ...
23865 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
23866 ... here.
23867 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
23868 Moved ...
23869 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
23870 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
23871 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
23872 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
23873 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
23874 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
23875 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
23876 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
23877 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
23878 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
23879 Moved ...
23880 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
23881 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
23882 Moved ...
23883 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
23884 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
23885 Moved ...
23886 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
23887 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
23888 Moved ...
23889 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
23890 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
23891 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
23892 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
23893 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
23894 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
23895 Moved ...
23896 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
23897 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
23898 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
23899 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
23900 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
23901 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
23902 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
23903 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
23904 Moved ...
23905 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
23906 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
23907 Moved ...
23908 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
23909 ... here.
23910 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
23911 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
23912 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
23913 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
23914 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
23915 Moved ...
23916 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
23917 ... here.
23918 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
23919 Moved ...
23920 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
23921 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
23922 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
23923 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
23924 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
23925 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
23926 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
23927 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
23928 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
23929 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
23930 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
23931
23932 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
23933 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
23934
23935 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
23936 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
23937
23938 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
23939 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
23940 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
23941 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
23942 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
23943 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
23944 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
23945 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
23946 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
23947 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
23948 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
23949 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
23950 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
23951 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
23952 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
23953 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
23954 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
23955 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
23956 Moved ...
23957 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
23958 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
23959 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
23960 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
23961 Moved ...
23962 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
23963 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
23964 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
23965 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
23966 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
23967 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
23968 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
23969 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
23970 Moved ...
23971 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
23972 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
23973 Moved ...
23974 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
23975 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
23976 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
23977 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
23978 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
23979 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
23980 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
23981 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
23982 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
23983 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
23984 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
23985 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
23986 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
23987 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
23988 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
23989 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
23990 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
23991
23992 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
23993 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
23994 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
23995 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
23996 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
23997
23998 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
23999 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
24000 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
24001 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
24002 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
24003 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
24004 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
24005 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
24006 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
24007 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
24008
24009 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
24010 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
24011
24012 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
24013 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
24014 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
24015 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
24016 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
24017 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
24018 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
24019 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
24020 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
24021 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
24022 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
24023 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
24024 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
24025 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
24026 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
24027 Update #include.
24028 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
24029 Likewise.
24030 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
24031 Likewise.
24032 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
24033 Likewise.
24034 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
24035 Likewise.
24036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
24037 Likewise.
24038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
24039 Likewise.
24040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
24041 Likewise.
24042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
24043 Likewise.
24044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
24045 Likewise.
24046 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
24047 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
24048 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
24049 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
24050 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
24051 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
24052 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
24053 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
24054 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
24055 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
24056 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
24057 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
24058 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
24059 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
24060 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
24061
24062 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
24063 that was previously under [RESET_PID].
24064 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24065 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
24066 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
24067
24068 * sysdeps/i386/nptl/Implies: New file.
24069 * sysdeps/x86_64/nptl/Implies: New file.
24070 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
24071 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
24072 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
24073 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
24074
24075 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
24076 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24077 (__libc_vfork): New strong alias.
24078 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
24079 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
24080
24081 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
24082 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24083 (__libc_vfork): New strong alias.
24084 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
24085 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
24086
24087 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
24088 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24089 (__libc_vfork): New strong alias.
24090 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
24091 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
24092 * nptl/pt-vfork.c: New file.
24093 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
24094 (libpthread: GLIBC_2.20): New version set (empty).
24095
24096 2014-05-14 Will Newton <will.newton@linaro.org>
24097
24098 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
24099 rather than #if.
24100
24101 2014-05-14 Joseph Myers <joseph@codesourcery.com>
24102
24103 [BZ #16564]
24104 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
24105 arguments with exponent 65 or above.
24106 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
24107 arguments 0x1p113L or above.
24108 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
24109 to arguments 0x1p107L or above.
24110 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
24111 positive arguments with exponent 65 or above.
24112 * math/auto-libm-test-in: Add more tests of log1p.
24113 * math/auto-libm-test-out: Regenerated.
24114
24115 [BZ #16928]
24116 * math/s_cacos.c (__cacos): Ensure zero real part of result from
24117 non-finite arguments is +0.
24118 * math/s_cacosf.c (__cacosf): Likewise.
24119 * math/s_cacosl.c (__cacosl): Likewise.
24120 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
24121 * sysdeps/i386/fpu/libm-test-ulps: Update.
24122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24123
24124 [BZ #16927]
24125 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
24126 value.
24127 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24128 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
24129 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
24130 for explicit high bit of mantissa when testing for argument equal
24131 to 1.
24132 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
24133 * sysdeps/i386/fpu/libm-test-ulps: Update.
24134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24135
24136 [BZ #16516]
24137 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
24138 (__erf): Scale by 16 instead of 8 in potentially underflowing
24139 case. Ensure exception if result actually underflows.
24140 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
24141 (__erff): Scale by 16 instead of 8 in potentially underflowing
24142 case. Ensure exception if result actually underflows.
24143 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
24144 (efx8): Remove variable.
24145 (__erfl): Scale by 16 instead of 8 in potentially underflowing
24146 case. Ensure exception if result actually underflows.
24147 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
24148 (efx8): Remove variable.
24149 (__erfl): Scale by 16 instead of 8 in potentially underflowing
24150 case. Ensure exception if result actually underflows.
24151 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
24152 (efx8): Remove variable.
24153 (__erfl): Scale by 16 instead of 8 in potentially underflowing
24154 case. Ensure exception if result actually underflows.
24155 * math/auto-libm-test-in: Add more tests of erf.
24156 * math/auto-libm-test-out: Regenerated.
24157
24158 2014-05-14 Andreas Schwab <schwab@suse.de>
24159
24160 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
24161 Remove code conditionalized on USE___THREAD.
24162
24163 * config.h.in (HAVE_PT_CHOWN): Define as 0.
24164 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
24165 not definedness.
24166
24167 2014-05-14 Joseph Myers <joseph@codesourcery.com>
24168
24169 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
24170 Define unconditionally.
24171 (__ASSUME_O_CLOEXEC): Likewise.
24172 (__ASSUME_SOCK_CLOEXEC): Likewise.
24173 (__ASSUME_IN_NONBLOCK): Likewise.
24174 (__ASSUME_PIPE2): Likewise.
24175 (__ASSUME_EVENTFD2): Likewise.
24176 (__ASSUME_SIGNALFD4): Likewise.
24177 (__ASSUME_DUP3): Likewise.
24178 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24179 (__ASSUME_DUP3): Do not define.
24180 (__ASSUME_EVENTFD2): Likewise.
24181 (__ASSUME_IN_NONBLOCK): Likewise.
24182 (__ASSUME_O_CLOEXEC): Likewise.
24183 (__ASSUME_PIPE2): Likewise.
24184 (__ASSUME_SIGNALFD4): Likewise.
24185 (__ASSUME_SOCK_CLOEXEC): Likewise.
24186 (__ASSUME_UTIMES): Undefine.
24187 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24188 (__ASSUME_UTIMES): Do not define.
24189 (__ASSUME_O_CLOEXEC): Likewise.
24190 (__ASSUME_SOCK_CLOEXEC): Likewise.
24191 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
24192 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
24193 0x020621].
24194 (__ASSUME_PIPE2): Likewise.
24195 (__ASSUME_EVENTFD2): Likewise.
24196 (__ASSUME_SIGNALFD4): Likewise.
24197 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
24198 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
24199 Do not define.
24200 (__ASSUME_EVENTFD2): Likewise.
24201 (__ASSUME_SIGNALFD4): Likewise.
24202 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24203 (__ASSUME_32BITUIDS): Likewise.
24204 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24205 (__ASSUME_IPC64): Likewise.
24206 (__ASSUME_ST_INO_64_BIT): Likewise.
24207 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
24208 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
24209 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24210 (__ASSUME_UTIMES): Do not define.
24211 (__ASSUME_PSELECT): Likewise.
24212 (__ASSUME_PPOLL): Likewise.
24213 (__ASSUME_O_CLOEXEC): Likewise.
24214 (__ASSUME_SOCK_CLOEXEC): Likewise.
24215 (__ASSUME_IN_NONBLOCK): Likewise.
24216 (__ASSUME_PIPE2): Likewise.
24217 (__ASSUME_EVENTFD2): Likewise.
24218 (__ASSUME_SIGNALFD4): Likewise.
24219 (__ASSUME_DUP3): Likewise.
24220 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24221 (__ASSUME_UTIMES): Likewise.
24222 (__ASSUME_O_CLOEXEC): Likewise.
24223 (__ASSUME_SOCK_CLOEXEC): Likewise.
24224 (__ASSUME_IN_NONBLOCK): Likewise.
24225 (__ASSUME_PIPE2): Likewise.
24226 (__ASSUME_EVENTFD2): Likewise.
24227 (__ASSUME_SIGNALFD4): Likewise.
24228 (__ASSUME_DUP3): Likewise.
24229 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24230 (__ASSUME_UTIMES): Likewise.
24231 (__ASSUME_O_CLOEXEC): Likewise.
24232 (__ASSUME_SOCK_CLOEXEC): Likewise.
24233 (__ASSUME_IN_NONBLOCK): Likewise.
24234 (__ASSUME_PIPE2): Likewise.
24235 (__ASSUME_EVENTFD2): Likewise.
24236 (__ASSUME_SIGNALFD4): Likewise.
24237 (__ASSUME_DUP3): Likewise.
24238 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
24239 Likewise.
24240 (__ASSUME_UTIMES): Likewise.
24241 (__ASSUME_EVENTFD2): Likewise.
24242 (__ASSUME_SIGNALFD4): Likewise.
24243 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24244 (__ASSUME_O_CLOEXEC): Likewise.
24245 (__ASSUME_SOCK_CLOEXEC): Likewise.
24246 (__ASSUME_IN_NONBLOCK): Likewise.
24247 (__ASSUME_PIPE2): Likewise.
24248 (__ASSUME_EVENTFD2): Likewise.
24249 (__ASSUME_SIGNALFD4): Likewise.
24250 (__ASSUME_DUP3): Likewise.
24251 (__ASSUME_UTIMES): Undefine.
24252
24253 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
24254 feclearexcept. Remove symbol versioning code.
24255 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
24256 symbol versioning code.
24257 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
24258 symbol versioning code.
24259 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
24260 feupdateenv. Remove symbol versioning code.
24261 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
24262 fegetexceptflag. Remove symbol versioning code.
24263 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
24264 fesetexceptflag. Remove symbol versioning code.
24265 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
24266 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
24267 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
24268 (__posix_fadvise64_l32): Remove prototype.
24269 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
24270 code.
24271
24272 2014-05-13 Roland McGrath <roland@hack.frob.com>
24273
24274 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
24275 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
24276 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
24277 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
24278
24279 2014-05-13 Sami Kerola <kerolasa@iki.fi>
24280
24281 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
24282 current working directory
24283
24284 2014-05-13 Roland McGrath <roland@hack.frob.com>
24285
24286 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
24287 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
24288 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
24289 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
24290 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
24291 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
24292 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
24293 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
24294 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
24295 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
24296 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
24297 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
24298 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
24299 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
24300 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
24301 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
24302 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
24303 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
24304 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
24305 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
24306 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
24307 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
24308 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
24309 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
24310 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
24311 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
24312 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
24313 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
24314 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
24315 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
24316 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
24317 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
24318 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
24319 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
24320 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
24321 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
24322 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
24323 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
24324 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
24325 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
24326 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
24327 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
24328
24329 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
24330 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
24331
24332 * sysdeps/unix/sysv/linux/arm/Makefile
24333 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24334 Add rt-aeabi_unwind_cpp_pr1.
24335 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
24336 Add nptl-aeabi_unwind_cpp_pr1.
24337 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
24338 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
24339 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
24340 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24341 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
24342 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24343
24344 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
24345 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
24346 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
24347 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
24348
24349 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
24350 Deconditionalize the code that was previously under [RESET_PID].
24351 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
24352
24353 * sysdeps/generic/exit-thread.h: New file.
24354 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
24355 * include/unistd.h (__exit_thread): Remove declaration.
24356 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
24357 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
24358 * csu/libc-start.c: Include <exit-thread.h>.
24359 (LIBC_START_MAIN): Pass no argument to __exit_thread.
24360 * nptl/pthread_create.c: Include <exit-thread.h>.
24361 (start_thread): Call __exit_thread in place of __exit_thread_inline.
24362 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
24363 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
24364 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
24365 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
24366 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
24367 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
24368 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
24369 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
24370 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
24371 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
24372 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
24373 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
24374 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
24375 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
24376 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
24377 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
24378
24379 2014-05-13 Andreas Schwab <schwab@suse.de>
24380
24381 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
24382
24383 2014-05-12 Joseph Myers <joseph@codesourcery.com>
24384
24385 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
24386 (__ASSUME_UTIMES): Do not condition on kernel version.
24387 (__ASSUME_PSELECT): Define unconditionally.
24388 (__ASSUME_PPOLL): Likewise.
24389 (__ASSUME_ATFCTS): Likewise.
24390 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
24391 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
24392 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
24393 (__ASSUME_UTIMENSAT): Define unconditionally.
24394 (__ASSUME_PRIVATE_FUTEX): Likewise.
24395 (__ASSUME_FALLOCATE): Likewise.
24396 (__ASSUME_O_CLOEXEC): Likewise.
24397 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
24398 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
24399 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
24400 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
24401 (__ASSUME_IN_NONBLOCK): Likewise.
24402 (__ASSUME_PIPE2): Likewise.
24403 (__ASSUME_EVENTFD2): Likewise.
24404 (__ASSUME_SIGNALFD4): Likewise.
24405 (__ASSUME_DUP3): Likewise.
24406 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24407 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
24408 (__ASSUME_AT_RANDOM): Likewise.
24409 (__ASSUME_PREADV): Likewise.
24410 (__ASSUME_PWRITEV): Likewise.
24411 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
24412 (__ASSUME_F_GETOWN_EX): Define unconditionally.
24413 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
24414 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24415 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
24416 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24417 (__ASSUME_O_CLOEXEC): Define unconditionally.
24418 (__ASSUME_PSELECT): Do not undefine conditionally.
24419 (__ASSUME_PPOLL): Likewise.
24420 (__ASSUME_ATFCTS): Likewise.
24421 (__ASSUME_SET_ROBUST_LIST): Likewise.
24422 (__ASSUME_UTIMENSAT): Likewise.
24423 (__ASSUME_FDATASYNC): Define unconditionally.
24424 * sysdeps/unix/sysv/linux/arm/kernel-features.h
24425 (__ASSUME_SIGFRAME_V2): Likewise.
24426 )__ASSUME_EVENTFD2): Likewise.
24427 (__ASSUME_SIGNALFD4): Likewise.
24428 (__ASSUME_PSELECT): Do not undefine conditionally.
24429 (__ASSUME_PPOLL): Likewise.
24430 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24431 (__ASSUME_PSELECT): Define unconditionally.
24432 (__ASSUME_PPOLL): Likewise.
24433 (__ASSUME_O_CLOEXEC): Likewise.
24434 (__ASSUME_SOCK_CLOEXEC): Likewise.
24435 (__ASSUME_IN_NONBLOCK): Likewise.
24436 (__ASSUME_PIPE2): Likewise.
24437 (__ASSUME_EVENTFD2): Likewise.
24438 (__ASSUME_SIGNALFD4): Likewise.
24439 (__ASSUME_DUP3): Likewise.
24440 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24441 (__ASSUME_O_CLOEXEC): Likewise.
24442 (__ASSUME_SOCK_CLOEXEC): Likewise.
24443 (__ASSUME_IN_NONBLOCK): Likewise.
24444 (__ASSUME_PIPE2): Likewise.
24445 (__ASSUME_EVENTFD2): Likewise.
24446 (__ASSUME_SIGNALFD4): Likewise.
24447 (__ASSUME_DUP3): Likewise.
24448 * sysdeps/unix/sysv/linux/mips/kernel-features.h
24449 (__ASSUME_EVENTFD2): Likewise.
24450 (__ASSUME_SIGNALFD4): Likewise.
24451 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24452
24453 2014-05-12 Andreas Schwab <schwab@suse.de>
24454
24455 [BZ #16932]
24456 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
24457 (_nss_nis_gethostbyname4_r): Return error if item length is larger
24458 than maximum RPC packet size.
24459 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
24460 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
24461 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
24462 (_nss_nis_getservbyport_r): Likewise.
24463
24464 2014-05-12 Will Newton <will.newton@linaro.org>
24465
24466 * malloc/Makefile (tests): Add tst-mallopt.
24467 * malloc/tst-mallopt.c: New file.
24468
24469 2014-05-09 Roland McGrath <roland@hack.frob.com>
24470
24471 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
24472 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
24473
24474 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24475
24476 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
24477 (tst-tlsmod6.so): Likewise.
24478
24479 2014-05-09 Roland McGrath <roland@hack.frob.com>
24480
24481 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
24482
24483 2014-05-09 Joseph Myers <joseph@codesourcery.com>
24484
24485 [BZ #16064]
24486 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
24487 and <dl-procinfo.h>.
24488 (__fegetenv): Save SSE state in envp->__eip if supported.
24489 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
24490 envp->__eip if supported.
24491 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
24492 and <dl-procinfo.h>.
24493 (__fesetenv): Always set __eip, __cs_selector, __opcode,
24494 __data_offset and __data_selector in environment to 0. Set SSE
24495 state if supported.
24496 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24497 test-fenv-sse.
24498 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
24499 -mfpmath=sse.
24500 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
24501
24502 2014-05-09 Will Newton <will.newton@linaro.org>
24503
24504 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
24505 and libc_relro_required for ARM.
24506 * sysdeps/arm/preconfigure: Regenerate.
24507
24508 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
24509 Stefan Liebler <stli@linux.vnet.ibm.com>
24510
24511 * config.make.in (enable-lock-elision): New Makefile variable.
24512 * configure.ac: Likewise.
24513 * configure: Regenerate.
24514 * sysdeps/s390/configure.ac:
24515 Add check for gcc transactions support.
24516 * sysdeps/s390/configure: Regenerate.
24517 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
24518 Build elision files if enabled.
24519 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
24520 Add lock elision support for s390.
24521 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
24522 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
24523 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
24524 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
24525 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
24526 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
24527 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
24528 Likewise.
24529 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
24530 Likewise.
24531 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
24532 Likewise.
24533 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
24534 Likewise.
24535 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
24536 (__lll_timedlock_elision, __lll_lock_elision)
24537 (__lll_unlock_elision, __lll_trylock_elision)
24538 (lll_timedlock_elision, lll_lock_elision)
24539 (lll_unlock_elision, lll_trylock_elision): Add.
24540 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24541 (pthread_mutex_t): Add lock elision support for s390.
24542
24543 2014-05-14 Wilco <wdijkstr@arm.com>
24544
24545 * sysdeps/arm/fclrexcpt.c: Cleanup.
24546 * sysdeps/arm/fedisblxcpt.c: Cleanup.
24547 * sysdeps/arm/feenablxcpt.c: Cleanup.
24548 * sysdeps/arm/fegetenv.c: Cleanup.
24549 * sysdeps/arm/fegetexcept.c: Cleanup.
24550 * sysdeps/arm/fegetround.c: Cleanup.
24551 * sysdeps/arm/feholdexcpt.c: Cleanup.
24552 * sysdeps/arm/fesetenv.c: Cleanup.
24553 * sysdeps/arm/fesetround.c: Cleanup.
24554 * sysdeps/arm/feupdateenv.c: Cleanup.
24555 * sysdeps/arm/fgetexcptflg.c: Cleanup.
24556 * sysdeps/arm/fraiseexcpt.c: Cleanup.
24557 * sysdeps/arm/fsetexcptflg.c: Cleanup.
24558 * sysdeps/arm/ftestexcept.c: Cleanup.
24559 * sysdeps/arm/get-rounding-mode.h: Cleanup.
24560 * sysdeps/arm/setfpucw.c: Cleanup.
24561
24562 2014-05-09 Will Newton <will.newton@linaro.org>
24563
24564 * sysdeps/arm/armv7/strcmp.S: New file.
24565 * NEWS: Mention addition of ARMv7 optimized strcmp.
24566
24567 2014-05-08 Roland McGrath <roland@hack.frob.com>
24568
24569 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
24570 look for %.ac rather than %.in.
24571
24572 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
24573 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
24574 * sysdeps/mach/hurd/configure: Regenerated.
24575 * sysdeps/unix/sysv/linux/configure: Regenerated.
24576
24577 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
24578
24579 2014-05-07 Steve Ellcey <sellcey@mips.com>
24580
24581 [BZ# 16922]
24582 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
24583 (LONG_SUB): Ditto.
24584 (PTR_SUB): Ditto.
24585
24586 2014-05-07 Andreas Schwab <schwab@suse.de>
24587
24588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
24589 when skipping over non-matching result from nscd.
24590
24591 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
24592
24593 [BZ #16876]
24594 * nptl/sockperf.c (client): Check socket return value.
24595
24596 [BZ #16877]
24597 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
24598 nscd security class.
24599
24600 2014-05-06 Roland McGrath <roland@hack.frob.com>
24601
24602 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
24603 * sysdeps/arm/unwind.h: ... here.
24604
24605 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
24606
24607 [BZ# 16916]
24608 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
24609 Define.
24610
24611 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24612
24613 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
24614 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
24615 multiarch strncpy for PPC64.
24616 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
24617 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
24618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
24619 multiarch optimizations.
24620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24621 (__libc_ifunc_impl_list): Likewise.
24622 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
24623 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
24624 multiarch stpncpy for PPC64.
24625 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
24626 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
24627
24628 2014-05-06 Andreas Schwab <schwab@suse.de>
24629
24630 [BZ #16912]
24631 * gmon/mcount.c (_MCOUNT_DECL): Use
24632 atomic_compare_and_exchange_bool_acq instead of
24633 catomic_compare_and_exchange_bool_acq.
24634
24635 2014-05-05 Roland McGrath <roland@hack.frob.com>
24636
24637 * elf/Makefile (others, install-bin): Remove pldd.
24638 (pldd-modules): Variable removed.
24639 ($(objpfx)pldd): Target removed.
24640 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
24641 (others, install-bin): Append pldd here.
24642 ($(objpfx)pldd): New target.
24643
24644 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
24645 to 0, so the first #if test emitted later doesn't see it undefined.
24646 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
24647 * sysdeps/gnu/errlist.c: Regenerated.
24648
24649 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24650
24651 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
24652 [libc_hidden_builtin_def]: Define to empty value.
24653 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
24654 [libc_hidden_builtin_def]: Likewise.
24655 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
24656 [libc_hidden_builtin_def]: Likewise.
24657 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
24658 [libc_hidden_builtin_def]: Likewise.
24659 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
24660 __redirect_memcpy and define ifunc as default hidden symbol.
24661 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
24662 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
24663
24664 2014-05-04 Adam Conrad <adconrad@0c3.net>
24665
24666 * locale/iso-4217.def: Reintroduce XDR currency.
24667
24668 2014-05-04 Allan McRae <allan@archlinux.org>
24669
24670 * po/eo.po: Update Esperanto translation from translation project.
24671
24672 2014-05-02 Carlos O'Donell <carlos@redhat.com>
24673
24674 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
24675 and FEATURE_INDEX_MAX to 1.
24676 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
24677
24678 2014-05-01 Steve Ellcey <sellcey@mips.com>
24679
24680 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
24681 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
24682 * iconvdata/big5.c (ONE_DIRECTION): Define.
24683 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
24684 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
24685 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
24686 * iconvdata/cp932.c (ONE_DIRECTION): Define.
24687 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
24688 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
24689 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
24690 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
24691 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
24692 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
24693 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
24694 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
24695 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
24696 * iconvdata/gbk.c (ONE_DIRECTION): Define.
24697 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
24698 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
24699 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
24700 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
24701 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
24702 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
24703 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
24704 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
24705 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
24706 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
24707 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
24708 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
24709 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
24710 * iconvdata/iso646.c (ONE_DIRECTION): Define.
24711 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
24712 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
24713 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
24714 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
24715 * iconvdata/johab.c (ONE_DIRECTION): Define.
24716 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
24717 * iconvdata/sjis.c (ONE_DIRECTION): Define.
24718 * iconvdata/t.61.c (ONE_DIRECTION): Define.
24719 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
24720 * iconvdata/tscii.c (ONE_DIRECTION): Define.
24721 * iconvdata/uhc.c (ONE_DIRECTION): Define.
24722 * iconvdata/unicode.c (ONE_DIRECTION): Define.
24723 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
24724 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
24725 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
24726
24727 2014-05-01 Roland McGrath <roland@hack.frob.com>
24728
24729 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
24730 (_IO_JUMPS_OFFSET): Define to 0.
24731
24732 * nptl/sysdeps/pthread/bits/libc-lock.h
24733 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
24734 (__libc_lock_define_initialized_recursive): Always define using
24735 initializer. Modern compilers treat uninitialized (implicit zero) and
24736 explicit zero initializers the same (i.e. put the datum in bss).
24737
24738 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
24739
24740 * nscd/nscd-client.h: Include <string.h>.
24741
24742 2014-05-01 David S. Miller <davem@davemloft.net>
24743
24744 [BZ #16885]
24745 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
24746 multiple zero bytes exist at the end of a string.
24747 Reported by Aurelien Jarno <aurelien@aurel32.net>
24748
24749 * string/test-strcmp.c (check): Add explicit test for situations where
24750 there are multiple zero bytes after the first.
24751
24752 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
24753
24754 [BZ #16890]
24755 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
24756 when compiling wprintf.
24757 * stdio-common/tstdiomisc.c (t3): New function.
24758 (main): Call it.
24759
24760 2014-05-01 Steve Ellcey <sellcey@mips.com>
24761
24762 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
24763 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
24764 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
24765 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
24766
24767 2014-05-01 Steve Ellcey <sellcey@mips.com>
24768
24769 * stdlib/longlong.h: Updated from GCC.
24770
24771 2014-05-01 Will Newton <will.newton@linaro.org>
24772 Bernard Ogden <bernie.ogden@linaro.org>
24773
24774 * NEWS: Update fixed bug list.
24775
24776 [BZ #15119]
24777 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
24778
24779 2014-04-30 David S. Miller <davem@davemloft.net>
24780
24781 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
24782 (libc_feholdexcept_setround_sparc_ctx): New function.
24783 (libc_fesetenv_sparc_ctx): Likewise.
24784 (libc_feupdateenv_sparc_ctx): Likewise.
24785 (libc_feholdsetround_sparc_ctx): Likewise.
24786 (libc_feholdexcept_setround_ctx): Define.
24787 (libc_feholdexcept_setroundf_ctx): Likewise.
24788 (libc_feholdexcept_setroundl_ctx): Likewise.
24789 (libc_fesetenv_ctx): Likewise.
24790 (libc_fesetenvf_ctx): Likewise.
24791 (libc_fesetenvl_ctx): Likewise.
24792 (libc_feupdateenv_ctx): Likewise.
24793 (libc_feupdateenvf_ctx): Likewise.
24794 (libc_feupdateenvl_ctx): Likewise.
24795 (libc_feresetround_ctx): Likewise.
24796 (libc_feresetroundf_ctx): Likewise.
24797 (libc_feresetroundl_ctx): Likewise.
24798 (libc_feholdsetround_ctx): Likewise.
24799 (libc_feholdsetroundf_ctx): Likewise.
24800 (libc_feholdsetroundl_ctx): Likewise.
24801
24802 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
24803 with __USE_GNU instead of XOPEN cpp guards.
24804
24805 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
24806 0.
24807
24808 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
24809 with XOPEN cpp guards.
24810
24811 2014-04-30 Julian Brown <julian@codesourcery.com>
24812
24813 [BZ #16888]
24814 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
24815 handling.
24816
24817 2014-04-30 Joseph Myers <joseph@codesourcery.com>
24818
24819 [BZ #9894]
24820 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24821 Change to 2.6.32.
24822 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
24823 * sysdeps/unix/sysv/linux/configure: Regenerated.
24824 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
24825 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
24826 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
24827 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
24828 * README: Update reference to required Linux kernel version.
24829 * manual/install.texi (Linux): Update reference to required Linux
24830 kernel headers version.
24831 * INSTALL: Regenerated.
24832
24833 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
24834 header inclusion.
24835 [POSIX] (limits.h): Likewise.
24836 [POSIX] (math.h): Likewise.
24837 [POSIX] (sys/wait.h): Likewise.
24838 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
24839 function.
24840 [POSIX] (stddef.h): Do not allow header inclusion.
24841
24842 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24843
24844 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
24845
24846 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
24847
24848 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
24849 Return immediately after lll_futex_wake.
24850
24851 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24852
24853 [BZ #16791]
24854 * nscd/nscd-client.h (datahead_init_common): Initialize entire
24855 structure.
24856 (datahead_init_pos): Call datahead_init_common early.
24857 (datahead_init_neg): Likewise.
24858
24859 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
24860 datahead_init_neg): New functions.
24861 * nscd/aicache.c (addhstaiX): Use them.
24862 * nscd/grpcache.c (cache_addgr): Likewise.
24863 * nscd/hstcache.c (cache_addhst): Likewise.
24864 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24865 * nscd/netgroupcache.c (do_notfound): Likewise.
24866 (addgetnetgrentX): Likewise.
24867 (addinnetgrX): Likewise.
24868 * nscd/pwdcache.c (cache_addpw): Likewise.
24869 * nscd/servicescache.c (cache_addserv): Likewise.
24870
24871 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24872 Atsushi Onoe <atsushi@onoe.org>
24873
24874 [BZ #14308]
24875 [BZ #12994]
24876 [BZ #13651]
24877 * resolv/res_query.c (__libc_res_nsearch): Return if at least
24878 one response is valid.
24879 * resolv/res_send.c (send_dg): Check for validity of other
24880 response if the current response is a referral.
24881
24882 2014-04-29 Steve Ellcey <sellcey@mips.com>
24883
24884 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
24885
24886 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
24887
24888 [BZ #16823]
24889 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
24890 Always divide by positive zero when computing -Inf result.
24891 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24892 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
24893
24894 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24895
24896 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
24897 FPSCR if value do not change.
24898 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24899 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
24900 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24901 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24902 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
24903 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
24904 function.
24905
24906 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
24907
24908 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
24909 * sysdeps/unix/sysv/linux/hppa: Move directory from
24910 ports/systeps/unix/sysv/linux/hppa.
24911 * README: Update listing for hppa-*-linux-gnu.
24912
24913 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
24914
24915 [BZ #16754]
24916 * manual/stdio.texi (Hook functions): Fix types of stream hook
24917 functions.
24918 [BZ #16854]
24919 * socket/sys/socket.h: Fix typo in comment.
24920
24921 2014-04-28 Wilco <wdijkstr@arm.com>
24922
24923 * sysdeps/arm/fenv_private.h: New file.
24924 * sysdeps/arm/math_private.h: New file.
24925 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
24926
24927 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
24928
24929 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
24930 with __int128_t.
24931 (La_x86_64_retval): Likewise.
24932
24933 2014-04-24 Ian Bolton <ian.bolton@arm.com>
24934
24935 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
24936 fpsr if value didn't change.
24937 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
24938 to fpcr if value didn't change.
24939 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
24940 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
24941 fpsr or fpcr if value didn't change.
24942 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24943 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
24944 fpcr if value didn't change.
24945 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
24946 to fpsr if value didn't change.
24947
24948 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24949
24950 * nptl/tst-sem3.c: Use test-skeleton.c
24951 (main): Rename to do_test. Use return instead of
24952 exit.
24953 * nptl/tst-sem4.c: Use test-skeleton.c
24954 (main): Rename to do_test.
24955
24956 2014-04-22 David S. Miller <davem@davemloft.net>
24957
24958 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
24959 (struct sigaction): New struct member __glibc_reserved0, change
24960 type of sa_flags to int.
24961
24962 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
24963
24964 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
24965 (COUNT_LEADING_ZEROS_0): Define for AArch64.
24966
24967 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24968
24969 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
24970 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
24971
24972 2014-04-22 Will Newton <will.newton@linaro.org>
24973 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
24974
24975 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
24976 (__longjmp): Add longjmp and longjmp_target SystemTap
24977 probes.
24978 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
24979 (__sigsetjmp): Add setjmp SystemTap probe.
24980
24981 2014-04-17 Carlos O'Donell <carlos@redhat.com>
24982
24983 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
24984 match manual order.
24985
24986 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24987
24988 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
24989
24990 * sysdeps/powerpc/fpu/fenv_private.h
24991 (libc_feholdexcept_setroundl_ctx): Define to
24992 libc_feholdexcept_setround_ppc_ctx.
24993 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
24994 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
24995 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
24996 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
24997
24998 2014-04-17 Ian Bolton <ian.bolton@arm.com>
24999
25000 * sysdeps/aarch64/math-tests.h: New file.
25001
25002 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
25003
25004 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
25005 New.
25006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25007 Check and set bit_AVX2_Usable.
25008 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
25009 macro.
25010 (bit_AVX2): Likewise.
25011 (index_AVX2_Usable): Likewise.
25012 (CPUID_AVX2): Likewise.
25013 (HAS_AVX2): Likewise.
25014
25015 2014-04-17 Will Newton <will.newton@linaro.org>
25016
25017 * manual/setjmp.texi (System V contexts): Add note that
25018 calling setcontext on a context created by a call to a
25019 signal handler is undefined. Update text to note that
25020 setcontext from a signal handler is possible but not
25021 recommended.
25022
25023 [BZ #16629]
25024 * stdlib/tst-setcontext.c: Include signal.h.
25025 (main): Check that the signal stack before and
25026 after swapcontext is the same.
25027
25028 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
25029 Re-implement to restore registers in user code and avoid
25030 rt_sigreturn system call.
25031
25032 2014-04-17 Wilco <wdijkstr@arm.com>
25033
25034 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
25035 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
25036 * math/test-fenv.c: Skip exception trap tests on targets which only
25037 support non-stop mode.
25038
25039 2014-04-17 Ian Bolton <ian.bolton@arm.com>
25040 Wilco Dijkstra <wilco.dijkstra@arm.com>
25041
25042 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
25043 (libc_feholdsetround_aarch64_ctx)
25044 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
25045 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
25046 (libc_feresetround_ctx, libc_feresetroundf_ctx)
25047 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
25048 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
25049 (libc_feresetround_noexl_ctx): Define.
25050
25051 2014-04-16 Richard Henderson <rth@redhat.com>
25052
25053 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
25054
25055 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
25056 unwind tables.
25057
25058 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
25059 const from the non-libc, non-ldso copy.
25060
25061 * sysdeps/alpha/libm-test-ulps: Regenerate.
25062
25063 2014-04-16 Ian Bolton <ian.bolton@arm.com>
25064 Wilco Dijkstra <wilco.dijkstra@arm.com>
25065
25066 * sysdeps/aarch64/fpu/math_private.h: New file.
25067
25068 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
25069
25070 * sysdeps/aarch64/libm-test-ulps: Regenerate.
25071
25072 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
25073
25074 [BZ #16275]
25075 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
25076 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
25077 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
25078 Intel MPX bound registers before _dl_profile_fixup.
25079 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
25080 registers after _dl_profile_fixup. Save and restore bound
25081 registers bnd0/bnd1 when calling _dl_call_pltexit.
25082 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
25083 (LR_BND_OFFSET): Likewise.
25084 (LRV_BND0_OFFSET): Likewise.
25085 (LRV_BND1_OFFSET): Likewise.
25086
25087 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25088
25089 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
25090 to...
25091 * sysdeps/mach/hurd/i386/tls.h: ... here.
25092 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
25093 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
25094 fields.
25095
25096 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25097
25098 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
25099
25100 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
25101
25102 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25103
25104 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
25105
25106 [BZ #14770]
25107 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
25108 * sysdeps/s390/configure: Regenerate.
25109
25110 [BZ #16824]
25111 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
25112 Set round-to-nearest internally to reduce error accumulation.
25113
25114 2014-04-16 Alan Modra <amodra@gmail.com>
25115
25116 [BZ #16740]
25117 [BZ #16619]
25118 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
25119 * math/libm-test.inc (frexp_test_data): Add tests.
25120 * NEWS: Update fixed bug list.
25121
25122 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25123
25124 * benchtests/Makefile: Depend on libraries in build directory.
25125 (bench-math): Separate out math tests.
25126 (bench-pthread): Separate out pthread tests.
25127 (bench): Include math and pthread tests.
25128
25129 2014-04-14 Carlos O'Donell <carlos@redhat.com>
25130
25131 [BZ #16831]
25132 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
25133 _dl_debug_initialize.
25134
25135 * configure.ac: Remove SELinux header check.
25136 * configure: Regenerate.
25137 * nscd/selinux.c (perms): Array of const char* to permission names.
25138 (nscd_request_avc_has_perm): Call security_deny_unknown to find
25139 default policy. Call string_to_security_class and string_to_av_perm to
25140 translate strings. Enforce default policy and call avs_has_perm with
25141 results of translated strings.
25142
25143 2014-04-13 David S. Miller <davem@davemloft.net>
25144
25145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25146
25147 2014-04-12 Allan McRae <allan@archlinux.org>
25148
25149 [BZ #16838]
25150 * manual/string.texi (Collation Functions): Fix qsort argument
25151 order in example.
25152 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25153
25154 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
25155
25156 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
25157 Make the test a no-op if there are no exceptions defined.
25158
25159 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
25160
25161 * elf/Makefile (tests): make tst-dlopen-aout conditional on
25162 enable-hardcoded-path-in-tests
25163
25164 2014-04-11 Will Newton <will.newton@linaro.org>
25165
25166 * benchtests/Makefile (extra-objs): Add json-lib.o.
25167 (bench-func): Tidy up JSON output.
25168 * benchtests/bench-skeleton.c: Include json-lib.h.
25169 (main): Use JSON library functions to do output of
25170 benchmark results.
25171 * benchtests/bench-timing-type.c (main): Output the
25172 timing type simply, leaving formatting to the user.
25173 * benchtests/json-lib.c: New file.
25174 * benchtests/json-lib.h: Likewise.
25175
25176 2014-04-11 Torvald Riegel <triegel@redhat.com>
25177
25178 [BZ #15215]
25179 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
25180 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
25181 memory barriers. Add comments.
25182 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
25183 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
25184 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
25185 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
25186 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
25187 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
25188
25189 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25190
25191 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
25192 * sysdeps/s390/s390-64/configure.ac: ... this ...
25193 * sysdeps/s390/configure.ac: ... to here.
25194 * sysdeps/s390/s390-32/configure: Delete file.
25195 * sysdeps/s390/s390-64/configure: Delete file.
25196 * sysdeps/s390/configure: Regenerate.
25197
25198 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
25199
25200 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
25201
25202 2014-04-11 Will Newton <will.newton@linaro.org>
25203
25204 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
25205 to zero if it is not defined elsewhere. (mtrim): Test
25206 the value of MALLOC_DEBUG with #if rather than #ifdef.
25207
25208 2014-04-10 Torvald Riegel <triegel@redhat.com>
25209
25210 * benchtests/pthread_once-inputs: New file.
25211 * benchtests/pthread_once-source.c: New file.
25212 * benchtests/README: Update documentation.
25213
25214 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
25215 H.J. Lu <hongjiu.lu@intel.com>
25216
25217 [BZ #16275]
25218 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
25219 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
25220 * sysdeps/x86_64/configure: Regenerated.
25221 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
25222 macro.
25223 (REGISTER_SAVE_RAX): Likewise.
25224 (REGISTER_SAVE_RCX): Likewise.
25225 (REGISTER_SAVE_RDX): Likewise.
25226 (REGISTER_SAVE_RSI): Likewise.
25227 (REGISTER_SAVE_RDI): Likewise.
25228 (REGISTER_SAVE_R8): Likewise.
25229 (REGISTER_SAVE_R9): Likewise.
25230 (REGISTER_SAVE_BND0): Likewise.
25231 (REGISTER_SAVE_BND1): Likewise.
25232 (REGISTER_SAVE_BND2): Likewise.
25233 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
25234 bound registers when calling _dl_fixup.
25235
25236 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25237
25238 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
25239 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
25240 of its definition.
25241 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
25242 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
25243 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
25244 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
25245 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
25246 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
25247 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
25248
25249 2014-04-09 Peter Brett <peter@peter-b.co.uk>
25250
25251 [BZ #15514]
25252 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
25253 pathconf(_PC_NAME_MAX).
25254
25255 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25256
25257 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
25258 Remove macro usage.
25259 (__PTHREAD_SPINS): Move definition to ...
25260 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25261 (__PTHREAD_SPINS): ... here.
25262 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
25263 (__PTHREAD_SPIN): Likewise.
25264 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
25265 (__PTHREAD_SPIN): Likewise.
25266 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
25267 (__PTHREAD_SPIN): Likewise.
25268 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
25269 (__PTHREAD_SPIN): Likewise.
25270 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25271 (__PTHREAD_SPIN): Likewise.
25272 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25273 (__PTHREAD_SPIN): Likewise.
25274 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
25275 (__PTHREAD_SPIN): Likewise.
25276 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25277 (__PTHREAD_SPIN): Likewise.
25278 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25279 (__PTHREAD_SPIN): Likewise.
25280 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25281 (__PTHREAD_SPIN): Likewise.
25282 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25283 (__PTHREAD_SPIN): Likewise.
25284 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
25285 (__PTHREAD_SPIN): Likewise.
25286
25287 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
25288 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
25289 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
25290 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
25291 imply folder.
25292 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
25293 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
25294 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
25295 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
25296 correct imply path.
25297 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
25298 strlen symbol for non multi-arch builds.
25299 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
25300 missing hidden_def and weak_alias.
25301
25302 2014-04-08 Carlos O'Donell <carlos@redhat.com>
25303
25304 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
25305
25306 2014-04-07 Will Newton <will.newton@linaro.org>
25307
25308 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
25309 and contents. [!_LIBC] Remove #ifndef and contents.
25310 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
25311 * string/memccpy.c (__memccpy): Use ANSI prototype.
25312 * string/memfrob.c (memfrob): Likewise.
25313 * string/strcoll.c (STRCOLL): Likewise.
25314 * string/strlen.c (strlen): Likewise.
25315 * string/strtok.c (STRTOK): Likewise.
25316 * string/strcat.c: Remove unused #include of memcopy.h.
25317 (strcat): Use ANSI prototype.
25318 * string/strchr.c: Remove unused #include of memcopy.h.
25319 (strchr): Use ANSI prototype.
25320 * string/strcmp.c: Remove unused #include of memcopy.h.
25321 (strcmp): Use ANSI prototype.
25322 * string/strcpy.c: Remove unused #include of memcopy.h.
25323 (strcpy): Use ANSI prototype.
25324
25325 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25326
25327 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
25328 * config.make.in (config-extra-cppflags): Set it from
25329 libc_extra_cppflags.
25330 * configure.ac (libc_extra_cflags): Make it accumulate over
25331 configure fragments.
25332 (libc_extra_cppflags): New flag.
25333 * configure. Regenerate.
25334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
25335 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
25336 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
25337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25338
25339 [BZ #16815]
25340 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
25341 result for FE_DOWNWARD rounding mode.
25342 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
25343 Likewise.
25344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25345
25346 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
25347
25348 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
25349 in function argument name.
25350
25351 2014-04-03 David Svoboda <svoboda@cert.org>
25352
25353 [BZ #5666]
25354 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
25355 explicitly.
25356
25357 2014-04-03 Roland McGrath <roland@hack.frob.com>
25358
25359 * elf/dl-unmap-segments.h: New file.
25360 * sysdeps/generic/ldsodefs.h
25361 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
25362 * elf/dl-close.c: Include <dl-unmap-segments.h>.
25363 * elf/dl-fptr.c: Likewise.
25364 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
25365 * sysdeps/aarch64/tlsdesc.c: Likewise.
25366 * sysdeps/arm/tlsdesc.c: Likewise.
25367 * sysdeps/i386/tlsdesc.c: Likewise.
25368 * sysdeps/tile/dl-runtime.c: Likewise.
25369 * sysdeps/x86_64/tlsdesc.c: Likewise.
25370 * elf/dl-load.h: New file.
25371 * elf/dl-load.c: Include it.
25372 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
25373 Macros moved to dl-load.h.
25374 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
25375 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
25376 Use _dl_unmap_segments in place of __munmap.
25377 Break out segment-mapping loop into ...
25378 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
25379
25380 2014-04-03 Will Newton <will.newton@linaro.org>
25381
25382 * elf/dl-lookup.c (do_lookup_x): Remove comment
25383 referring to nested function and move variable
25384 declarations down to before first use.
25385
25386 2014-04-02 Joseph Myers <joseph@codesourcery.com>
25387
25388 [BZ #16799]
25389 [BZ #16800]
25390 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
25391 with 0 numerator.
25392 * math/s_catanf.c (__catanf): Likewise.
25393 * math/s_catanh.c (__catanh): Likewise.
25394 * math/s_catanhf.c (__catanhf): Likewise.
25395 * math/s_catanhl.c (__catanhl): Likewise.
25396 * math/s_catanl.c (__catanl): Likewise.
25397 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
25398 by positive zero when computing -Inf result.
25399 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
25400 (catanh_test): Likewise.
25401 * sysdeps/i386/fpu/libm-test-ulps: Update.
25402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25403
25404 [BZ #16789]
25405 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
25406 instead of using underflowing value in computing result.
25407 * math/s_clog10.c (__clog10): Likewise.
25408 * math/s_clog10f.c (__clog10f): Likewise.
25409 * math/s_clog10l.c (__clog10l): Likewise.
25410 * math/s_clogf.c (__clogf): Likewise.
25411 * math/s_clogl.c (__clogl): Likewise.
25412 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
25413 (clog10_test): Likewise.
25414 * sysdeps/i386/fpu/libm-test-ulps: Update.
25415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25416
25417 2014-04-02 Alan Modra <amodra@gmail.com>
25418
25419 [BZ #16739]
25420 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
25421 output when value is near a power of two. Use int64_t for lx and
25422 remove casts. Use decimal rather than hex exponent constants.
25423 Don't use long double multiplication when double will suffice.
25424 * math/libm-test.inc (nextafter_test_data): Add tests.
25425 * NEWS: Add 16739 and 16786 to bug list.
25426
25427 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
25428
25429 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
25430
25431 2014-04-01 Will Newton <will.newton@linaro.org>
25432
25433 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
25434 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
25435
25436 2014-04-01 Florian Weimer <fweimer@redhat.com>
25437
25438 [BZ #13347]
25439 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
25440 * nptl/tst-setuid2.c: New file.
25441 * nptl/Makefile (xtests): Add tst-setuid2.
25442
25443 2014-04-01 Alan Modra <amodra@gmail.com>
25444
25445 [BZ #16786]
25446 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
25447
25448 2014-03-31 Joseph Myers <joseph@codesourcery.com>
25449
25450 [BZ #6803]
25451 [BZ #6804]
25452 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
25453 set errno as appropriate.
25454 * math/w_scalbf.c (__scalbf): Likewise.
25455 * math/w_scalbl.c (__scalbl): Likewise.
25456 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
25457 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
25458 * math/libm-test.inc (scalb_test_data): Add errno expectations.
25459 Add more NaN tests.
25460
25461 [BZ #16349]
25462 * math/w_atan2.c: Include <errno.h>.
25463 (__atan2): Set errno for result underflowing to zero.
25464 * math/w_atan2f.c: Include <errno.h>.
25465 (__atan2f): Set errno for result underflowing to zero.
25466 * math/w_atan2l.c: Include <errno.h>.
25467 (__atan2l): Set errno for result underflowing to zero.
25468 * math/auto-libm-test-in: Don't allow missing errno for some atan2
25469 tests.
25470 * math/auto-libm-test-out: Regenerated.
25471
25472 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25473
25474 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25475 Encode instruction correctly in little endian.
25476 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25477 Likewise.
25478 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25479 Likewise.
25480 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25481 Likewise.
25482 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25483 Likewise.
25484
25485 2014-03-31 Joseph Myers <joseph@codesourcery.com>
25486
25487 [BZ #9894]
25488 * sysdeps/unix/sysv/linux/kernel-features.h
25489 [__sparc__ && !__arch64__ && !__sparc_v9__]
25490 (__ASSUME_SET_ROBUST_LIST): Do not define.
25491 [__sparc__ && !__arch64__ && !__sparc_v9__]
25492 (__ASSUME_FUTEX_LOCK_PI): Likewise.
25493 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
25494 Likewise.
25495 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25496 (__ASSUME_FUTEX_LOCK_PI): Undefine.
25497 (__ASSUME_REQUEUE_PI): Likewise.
25498 (__ASSUME_SET_ROBUST_LIST): Likewise.
25499 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25500 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
25501 Undefine.
25502 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25503 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
25504 Likewise.
25505 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
25506 Likewise.
25507 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
25508 Likewise.
25509 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25510 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
25511 Undefine.
25512 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
25513 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
25514 Likewise.
25515
25516 [BZ #16648]
25517 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25518 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
25519 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
25520
25521 2014-03-31 Will Newton <will.newton@linaro.org>
25522
25523 * benchtests/Makefile (bench): Add ffs and ffsll to list
25524 of tests.
25525 * benchtests/ffs-inputs: New file.
25526 * benchtests/ffsll-inputs: Likewise.
25527
25528 2014-03-29 Joseph Myers <joseph@codesourcery.com>
25529
25530 [BZ #16770]
25531 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
25532 too large before casting to int.
25533 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
25534 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
25535 * math/libm-test.inc (scalb_test_data): Add more tests.
25536
25537 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25538
25539 * benchtests/Makefile (DETAILED_OPT): New make option.
25540 (bench-func): Run benchmark program with -d if DETAILED_OPT is
25541 set.
25542 * benchtests/bench-skeleton.c: Include stdbool.h.
25543 (main): Store and print timings per input.
25544 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
25545 member to each argument value.
25546 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
25547 (_print_arg_data): Initialize per-input timing to 0.
25548
25549 * benchtests/Makefile (timing-type): New binary.
25550 (bench-clean): Also remove bench-timing-type.
25551 (bench): New target for timing-type.
25552 (bench-func): Print output in JSON format.
25553 * benchtests/bench-skeleton.c (main): Print output in JSON
25554 format.
25555 * benchtests/bench-timing-type.c: New file.
25556 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
25557 (TIMING_PRINT_STATS): Remove.
25558 * benchtests/scripts/bench.py (_print_arg_data): Store variant
25559 name separately.
25560
25561 * benchtests/bench-modf.c: Remove.
25562 * benchtests/modf-inputs: New inputs file.
25563
25564 2014-03-28 Joseph Myers <joseph@codesourcery.com>
25565
25566 [BZ #16362]
25567 * math/s_clog10.c (M_PI_LOG10E): New macro.
25568 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
25569 imaginary parts are 0.
25570 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
25571 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
25572 imaginary parts are 0.
25573 * math/s_clog10l.c (M_PI_LOG10El): New macro.
25574 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
25575 imaginary parts are 0.
25576 * math/libm-test.inc (clog10_test_data): Update expected results
25577 for when real and imaginary parts are 0.
25578
25579 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
25580
25581 * elf/dl-load.c: Finish conversion of __builtin_expect into
25582 __glibc_{un}likely.
25583
25584 2014-03-27 Joseph Myers <joseph@codesourcery.com>
25585
25586 [BZ #16348]
25587 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
25588 1+x for argument with exponent below -67.
25589 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
25590 Likewise.
25591 * math/auto-libm-test-in: Add more tests of exp.
25592 * math/auto-libm-test-out: Regenerated.
25593
25594 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25595
25596 [BZ #16759]
25597 * inet/getnetgrent_r.c (get_nonempty_val): New function.
25598 (nscd_getnetgrent): Use it.
25599
25600 [BZ #16760]
25601 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
25602 of stpcpy.
25603
25604 2014-03-27 Andi Kleen <ak@linux.intel.com>
25605
25606 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
25607 (lll_robust_lock, lll_cond_lock, lll_timedlock)
25608 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
25609 (lll_robust_unlock): Remove out of line section. Use cfi
25610 intrinsics.
25611 (LLL_STUB_UNWIND_INFO*): Remove.
25612 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
25613 (lll_robust_lock, lll_cond_lock, lll_timedlock)
25614 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
25615 (lll_robust_unlock): Remove out of line section. Use cfi
25616 intrinsics.
25617 (LLL_STUB_UNWIND_INFO*): Remove.
25618
25619 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25620
25621 [BZ #16758]
25622 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
25623 blank values.
25624
25625 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
25626
25627 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
25628
25629 2014-03-26 Joseph Myers <joseph@codesourcery.com>
25630
25631 [BZ #16198]
25632 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
25633 fnstenv.
25634 * math/test-fenv-preserve.c: New file.
25635 * math/Makefile (tests): Add test-fenv-preserve.
25636
25637 2014-03-26 Will Newton <will.newton@linaro.org>
25638
25639 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
25640
25641 2014-03-25 Roland McGrath <roland@hack.frob.com>
25642
25643 * scripts/versionlist.awk: Partition the version sets and emit all
25644 GLIBC_* (sorted) before all others (sorted).
25645
25646 2014-03-25 Joseph Myers <joseph@codesourcery.com>
25647
25648 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
25649 GLIBC_2.2.5 version.
25650
25651 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25652
25653 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
25654 calls.
25655
25656 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
25657 previous change.
25658
25659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25660
25661 2014-03-25 Andreas Schwab <schwab@suse.de>
25662
25663 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
25664 label to be used after in6ailist is initialized.
25665
25666 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25667
25668 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25669 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
25670
25671 2014-03-25 Joseph Myers <joseph@codesourcery.com>
25672
25673 [BZ #16357]
25674 [BZ #16599]
25675 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
25676 min_plus_half.
25677 (fp_formats): Update initializers.
25678 (init_fp_formats): Initialize new field.
25679 (output_for_one_input_case): Allow underflow for results up to
25680 min_plus_half.
25681 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
25682 * math/auto-libm-test-in: Don't mark some underflows from asin and
25683 atanh as spurious.
25684 * math/auto-libm-test-out: Regenerated.
25685 * sysdeps/i386/fpu/libm-test-ulps: Update.
25686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25687
25688 2014-03-25 Andreas Schwab <schwab@suse.de>
25689
25690 * libio/Makefile (tst-ftell-partial-wide-ENV)
25691 (tst-ftell-active-handler-ENV): Define.
25692
25693 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
25694
25695 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
25696
25697 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
25698
25699 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
25700
25701 2014-03-24 Joseph Myers <joseph@codesourcery.com>
25702
25703 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
25704 * sysdeps/x86_64/fpu/multiarch/e_exp.c
25705 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25706
25707 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
25708
25709 [BZ #16634]
25710 * elf/dl-load.c (open_verify): Add mode parameter.
25711 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
25712 (open_path): Change from boolean 'secure' to complete flag 'mode'
25713 (_dl_map_object): Adjust.
25714 * elf/Makefile (tests): Add tst-dlopen-aout.
25715 * elf/tst-dlopen-aout.c: New test.
25716
25717 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25718
25719 [BZ #16714]
25720 * sysdeps/unix/sysv/linux/s390/bits/stat.h
25721 (struct stat): Rename member pad0 to __glibc_reserved0.
25722
25723 [BZ #16712]
25724 * sysdeps/s390/s390-32/bits/wordsize.h
25725 (__WORDSIZE32_SIZE_ULONG): New define.
25726 * sysdeps/s390/s390-64/bits/wordsize.h
25727 (__WORDSIZE32_SIZE_ULONG): Likewise.
25728 * sysdeps/generic/stdint.h (SIZE_MAX):
25729 Define as UL if __WORDSIZE32_SIZE_ULONG.
25730
25731 [BZ #16713]
25732 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
25733 (__glibc_reserved0): New variable.
25734 (sa_flags): Change type to int.
25735
25736 * posix/Makefile (before-compile): Use += before-compile instead
25737 of a :=.
25738
25739 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
25740 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
25741
25742 2014-03-20 Andreas Schwab <schwab@suse.de>
25743
25744 [BZ #16743]
25745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
25746 non-matching result from nscd.
25747
25748 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25749
25750 * scripts/bench.py: Moved to ...
25751 * benchtests/scripts/bench.py: ... here.
25752 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
25753
25754 2014-03-24 Andreas Schwab <schwab@suse.de>
25755
25756 [BZ #16002]
25757 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
25758 alloca_account and account alloca use for struct in6ailist.
25759
25760 2014-03-24 Joseph Myers <joseph@codesourcery.com>
25761
25762 [BZ #16284]
25763 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
25764 rounding mode to recompute results that overflow to infinity or
25765 underflow to zero.
25766 * math/auto-libm-test-in: Don't mark tests as expected to fail for
25767 bug 16284.
25768 * math/auto-libm-test-out: Regenerated.
25769 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
25770 (ccosh_test): Likewise.
25771 (csin_test_data): Use plus_oflow.
25772 (csin_test): Use ALL_RM_TEST.
25773 (csinh_test_data): Use plus_oflow.
25774 (csinh_test): Use ALL_RM_TEST.
25775 * sysdeps/i386/fpu/libm-test-ulps: Update.
25776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25777
25778 2014-03-21 Joseph Myers <joseph@codesourcery.com>
25779
25780 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
25781 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
25782 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
25783
25784 [BZ #16731]
25785 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
25786 when x - 1 is zero.
25787 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
25788 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
25789 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
25790 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
25791 argument is 1.
25792 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
25793 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
25794 zero.
25795 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
25796 * sysdeps/i386/fpu/libm-test-ulps: Update.
25797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25798
25799 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25800
25801 * scripts/bench.pl: Remove file.
25802 * scripts/bench.py: New benchmark script.
25803 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
25804 * benchtests/README: Mention python dependency.
25805 * scripts/pylintrc: New file.
25806 * scripts/pylint: New file.
25807
25808 * bits/mathdef.h: Use #ifdef instead of #if.
25809 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
25810 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
25811 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
25812 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
25813 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
25814 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
25815
25816 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25817 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
25818
25819 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
25820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
25821 and strpbrk-ppc64 objects.
25822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25823 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
25824 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
25825 multiarch strpbrk for POWER7.
25826 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
25827 multiarch strpbrk for PPC64.
25828 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
25829 ifunc selector.
25830 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
25831 strpbrk for POWER7.
25832
25833 2014-03-20 Joseph Myers <joseph@codesourcery.com>
25834
25835 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
25836 (atan_test): Likewise.
25837 (atanh_test_data): Use NO_TEST_INLINE for two tests.
25838 (atanh_test): Use ALL_RM_TEST.
25839 (atan2_test_data): Likewise.
25840 (cabs_test): Likewise.
25841 (cacosh_test): Likewise.
25842 (carg_test): Likewise.
25843 (casin_test): Likewise.
25844 (casinh_test): Likewise.
25845 (cbrt_test): Likewise.
25846 (csqrt_test): Likewise.
25847 (erf_test): Likewise.
25848 (erfc_test): Likewise.
25849 (pow10_test): Likewise.
25850 (exp2_test): Likewise.
25851 (hypot_test): Likewise.
25852 (j0_test): Likewise.
25853 (j1_test): Likewise.
25854 (lgamma_test): Likewise.
25855 (gamma_test): Likewise.
25856 (sincos_test): Likewise.
25857 (tanh_test): Likewise.
25858 (y0_test): Likewise.
25859 (y1_test): Likewise.
25860 * sysdeps/i386/fpu/libm-test-ulps: Update.
25861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25862
25863 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25864
25865 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
25866 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
25867 and strcspn-ppc64 objects.
25868 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25869 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
25870 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
25871 multiarch strcspn for POWER7.
25872 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
25873 multiarch strcspn for PPC64.
25874 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
25875 ifunc selector.
25876 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
25877 strcspn for POWER7.
25878
25879 2014-03-20 Joseph Myers <joseph@codesourcery.com>
25880
25881 * math/gen-libm-test.pl (generate_testfile): Expect only function
25882 name as argument to AUTO_TESTS_* and pass results for all rounding
25883 modes to parse_args.
25884 (parse_auto_input): Separate inputs of automatic tests from
25885 outputs before storing in %auto_tests.
25886 * math/libm-test.inc (acos_test_data): Update call to
25887 AUTO_TESTS_f_f.
25888 (acos_test): Use ALL_RM_TEST.
25889 (acos_tonearest_test_data): Remove.
25890 (acos_test_tonearest): Likewise.
25891 (acos_towardzero_test_data): Likewise.
25892 (acos_test_towardzero): Likewise.
25893 (acos_downward_test_data): Likewise.
25894 (acos_test_downward): Likewise.
25895 (acos_upward_test_data): Likewise.
25896 (acos_test_upward): Likewise.
25897 (acosh_test_data): Update call to AUTO_TESTS_f_f.
25898 (asin_test_data): Likewise.
25899 (asin_test): Use ALL_RM_TEST.
25900 (asin_tonearest_test_data): Remove.
25901 (asin_test_tonearest): Likewise.
25902 (asin_towardzero_test_data): Likewise.
25903 (asin_test_towardzero): Likewise.
25904 (asin_downward_test_data): Likewise.
25905 (asin_test_downward): Likewise.
25906 (asin_upward_test_data): Likewise.
25907 (asin_test_upward): Likewise.
25908 (asinh_test_data): Update call to AUTO_TESTS_f_f.
25909 (atan_test_data): Likewise.
25910 (atanh_test_data): Likewise.
25911 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
25912 (cabs_test_data): Update call to AUTO_TESTS_c_f.
25913 (carg_test_data): Likewise.
25914 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
25915 (ccos_test_data): Update call to AUTO_TESTS_c_c.
25916 (ccosh_test_data): Likewise.
25917 (cexp_test_data): Likewise.
25918 (clog_test_data): Likewise.
25919 (clog10_test_data): Likewise.
25920 (cos_test_data): Update call to AUTO_TESTS_f_f.
25921 (cos_test): Use ALL_RM_TEST.
25922 (cos_tonearest_test_data): Remove.
25923 (cos_test_tonearest): Likewise.
25924 (cos_towardzero_test_data): Likewise.
25925 (cos_test_towardzero): Likewise.
25926 (cos_downward_test_data): Likewise.
25927 (cos_test_downward): Likewise.
25928 (cos_upward_test_data): Likewise.
25929 (cos_test_upward): Likewise.
25930 (cosh_test_data): Update call to AUTO_TESTS_f_f.
25931 (cosh_test): Use ALL_RM_TEST.
25932 (cosh_tonearest_test_data): Remove.
25933 (cosh_test_tonearest): Likewise.
25934 (cosh_towardzero_test_data): Likewise.
25935 (cosh_test_towardzero): Likewise.
25936 (cosh_downward_test_data): Likewise.
25937 (cosh_test_downward): Likewise.
25938 (cosh_upward_test_data): Likewise.
25939 (cosh_test_upward): Likewise.
25940 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
25941 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
25942 (ctan_test_data): Likewise.
25943 (ctan_test): Use ALL_RM_TEST.
25944 (ctan_tonearest_test_data): Remove.
25945 (ctan_test_tonearest): Likewise.
25946 (ctan_towardzero_test_data): Likewise.
25947 (ctan_test_towardzero): Likewise.
25948 (ctan_downward_test_data): Likewise.
25949 (ctan_test_downward): Likewise.
25950 (ctan_upward_test_data): Likewise.
25951 (ctan_test_upward): Likewise.
25952 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
25953 (ctanh_test): Use ALL_RM_TEST.
25954 (ctanh_tonearest_test_data): Remove.
25955 (ctanh_test_tonearest): Likewise.
25956 (ctanh_towardzero_test_data): Likewise.
25957 (ctanh_test_towardzero): Likewise.
25958 (ctanh_downward_test_data): Likewise.
25959 (ctanh_test_downward): Likewise.
25960 (ctanh_upward_test_data): Likewise.
25961 (ctanh_test_upward): Likewise.
25962 (erf_test_data): Update call to AUTO_TESTS_f_f.
25963 (erfc_test_data): Likewise.
25964 (exp_test_data): Likewise.
25965 (exp_test): Use ALL_RM_TEST.
25966 (exp_tonearest_test_data): Remove.
25967 (exp_test_tonearest): Likewise.
25968 (exp_towardzero_test_data): Likewise.
25969 (exp_test_towardzero): Likewise.
25970 (exp_downward_test_data): Likewise.
25971 (exp_test_downward): Likewise.
25972 (exp_upward_test_data): Likewise.
25973 (exp_test_upward): Likewise.
25974 (exp10_test_data): Update call to AUTO_TESTS_f_f.
25975 (exp10_test): Use ALL_RM_TEST.
25976 (exp10_tonearest_test_data): Remove.
25977 (exp10_test_tonearest): Likewise.
25978 (exp10_towardzero_test_data): Likewise.
25979 (exp10_test_towardzero): Likewise.
25980 (exp10_downward_test_data): Likewise.
25981 (exp10_test_downward): Likewise.
25982 (exp10_upward_test_data): Likewise.
25983 (exp10_test_upward): Likewise.
25984 (exp2_test_data): Update call to AUTO_TESTS_f_f.
25985 (expm1_test_data): Likewise.
25986 (expm1_test): Use ALL_RM_TEST.
25987 (expm1_tonearest_test_data): Remove.
25988 (expm1_test_tonearest): Likewise.
25989 (expm1_towardzero_test_data): Likewise.
25990 (expm1_test_towardzero): Likewise.
25991 (expm1_downward_test_data): Likewise.
25992 (expm1_test_downward): Likewise.
25993 (expm1_upward_test_data): Likewise.
25994 (expm1_test_upward): Likewise.
25995 (fma_test_data): Update call to AUTO_TESTS_fff_f.
25996 (fma_test): Use ALL_RM_TEST.
25997 (fma_towardzero_test_data): Remove.
25998 (fma_test_towardzero): Likewise.
25999 (fma_downward_test_data): Likewise.
26000 (fma_test_downward): Likewise.
26001 (fma_upward_test_data): Likewise.
26002 (fma_test_upward): Likewise.
26003 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
26004 (j0_test_data): Update call to AUTO_TESTS_f_f.
26005 (j1_test_data): Likewise.
26006 (jn_test_data): Update call to AUTO_TESTS_if_f.
26007 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
26008 (log_test_data): Update call to AUTO_TESTS_f_f.
26009 (log10_test_data): Likewise.
26010 (log1p_test_data): Likewise.
26011 (log2_test_data): Likewise.
26012 (pow_test_data): Update call to AUTO_TESTS_ff_f.
26013 (pow_tonearest_test_data): Likewise.
26014 (sin_test_data): Update call to AUTO_TESTS_f_f.
26015 (sin_test): Use ALL_RM_TEST.
26016 (sin_tonearest_test_data): Remove.
26017 (sin_test_tonearest): Likewise.
26018 (sin_towardzero_test_data): Likewise.
26019 (sin_test_towardzero): Likewise.
26020 (sin_downward_test_data): Likewise.
26021 (sin_test_downward): Likewise.
26022 (sin_upward_test_data): Likewise.
26023 (sin_test_upward): Likewise.
26024 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
26025 (sinh_test_data): Update call to AUTO_TESTS_f_f.
26026 (sinh_test): Use ALL_RM_TEST.
26027 (sinh_tonearest_test_data): Remove.
26028 (sinh_test_tonearest): Likewise.
26029 (sinh_towardzero_test_data): Likewise.
26030 (sinh_test_towardzero): Likewise.
26031 (sinh_downward_test_data): Likewise.
26032 (sinh_test_downward): Likewise.
26033 (sinh_upward_test_data): Likewise.
26034 (sinh_test_upward): Likewise.
26035 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
26036 (sqrt_test): Use ALL_RM_TEST.
26037 (sqrt_tonearest_test_data): Remove.
26038 (sqrt_test_tonearest): Likewise.
26039 (sqrt_towardzero_test_data): Likewise.
26040 (sqrt_test_towardzero): Likewise.
26041 (sqrt_downward_test_data): Likewise.
26042 (sqrt_test_downward): Likewise.
26043 (sqrt_upward_test_data): Likewise.
26044 (sqrt_test_upward): Likewise.
26045 (tan_test_data): Update call to AUTO_TESTS_f_f.
26046 (tan_test): Use ALL_RM_TEST.
26047 (tan_tonearest_test_data): Remove.
26048 (tan_test_tonearest): Likewise.
26049 (tan_towardzero_test_data): Likewise.
26050 (tan_test_towardzero): Likewise.
26051 (tan_downward_test_data): Likewise.
26052 (tan_test_downward): Likewise.
26053 (tan_upward_test_data): Likewise.
26054 (tan_test_upward): Likewise.
26055 (tanh_test_data): Update call to AUTO_TESTS_f_f.
26056 (tgamma_test_data): Likewise.
26057 (y0_test_data): Likewise.
26058 (y1_test_data): Likewise.
26059 (yn_test_data): Update call to AUTO_TESTS_if_f.
26060 (main): Do not call removed functions.
26061
26062 2014-03-19 Joseph Myers <joseph@codesourcery.com>
26063
26064 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
26065 (ldexp_test_data): Remove.
26066 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
26067 scalbn_test_data.
26068 (scalb_test): Use ALL_RM_TEST.
26069
26070 2014-03-19 Andreas Schwab <schwab@suse.de>
26071
26072 * nscd/nscd.service: Also invalidate netgroup cache on reload.
26073
26074 2014-03-19 Joseph Myers <joseph@codesourcery.com>
26075
26076 [BZ #16649]
26077 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26078 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
26079 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
26080 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26081 (__ASSUME_PREADV): Undefine.
26082 (__ASSUME_PWRITEV): Likewise.
26083
26084 2014-03-18 Roland McGrath <roland@hack.frob.com>
26085
26086 * bits/mman-linux.h: Add comment about non-Linux use.
26087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
26088 bits/mman-linux.h resting place.
26089
26090 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
26091 * bits/mman-linux.h: ... here.
26092
26093 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26094
26095 * conform/conformtest.pl: Add standard definition when calling C
26096 preprocessor on data files.
26097 (checknamespace): Remove unused variable.
26098
26099 2014-03-18 Joseph Myers <joseph@codesourcery.com>
26100
26101 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
26102 minus_oflow, plus_uflow and minus_uflow in expected results.
26103 * math/libm-test.inc (scalbn_test_data): Add more tests of
26104 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
26105 minus_uflow.
26106 (scalbn_test): Use ALL_RM_TEST.
26107 (scalbln_test_data): Add more tests of negative arguments. Use
26108 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
26109 (scalbln_test): Use ALL_RM_TEST.
26110
26111 2014-03-18 Roland McGrath <roland@hack.frob.com>
26112
26113 * scripts/abilist.awk: Ignore symbols marked with .hidden.
26114
26115 2014-03-18 Will Newton <will.newton@linaro.org>
26116
26117 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
26118 inaccurate comment.
26119
26120 2014-03-18 Joseph Myers <joseph@codesourcery.com>
26121
26122 * Makerules [!subdir] (check-abi): Exit with error status if a
26123 test failed.
26124
26125 2014-03-17 Joseph Myers <joseph@codesourcery.com>
26126
26127 * math/libm-test.inc (nearbyint_test_data): Include all tests used
26128 for rint. Include results for all rounding modes.
26129 (nearbyint_test): Use ALL_RM_TEST.
26130 (rint_test_data): Include all tests used for nearbyint.
26131
26132 2014-03-17 Will Newton <will.newton@linaro.org>
26133
26134 * nptl/sysdeps/pthread/pthread.h: Revert previous
26135 change.
26136
26137 * sysdeps/generic/ldsodefs.h: Revert previous
26138 change.
26139
26140 * libio/genops.c: Revert previous change.
26141 * libio/libioP.h: Likewise.
26142 * stdio-common/vfprintf.c: Likewise.
26143
26144 * sysdeps/generic/math_private.h: Revert previous
26145 change.
26146
26147 * sysdeps/generic/math_private.h: Check whether
26148 HAVE_RM_CTX is defined with #ifdef rather
26149 than #if.
26150
26151 * argp/argp-fmtstream.h: Check whether
26152 __STRICT_ANSI__ is defined with #ifdef rather
26153 than #if.
26154 * argp/argp.h: Likewise.
26155
26156 * libio/genops.c: Check whether
26157 _IO_JUMPS_OFFSET is defined with #ifdef rather
26158 than #if.
26159 * libio/libioP.h: Likewise.
26160 * stdio-common/vfprintf.c: Likewise.
26161
26162 * sysdeps/generic/ldsodefs.h: Check whether
26163 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
26164 than #if.
26165
26166 * nptl/sysdeps/pthread/pthread.h: Check
26167 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
26168 its value.
26169
26170 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26171
26172 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
26173 setting O_APPEND.
26174 * libio/tst-ftell-active-handler.c (do_append_test): Add a
26175 test case.
26176
26177 [BZ #16680]
26178 * libio/fileops.c (_IO_file_open): Seek to end of file but
26179 don't cache the offset.
26180 (get_file_offset): Remove function.
26181 (do_ftell): Use cached offset when available.
26182 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
26183 don't cache the offset.
26184 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
26185 case.
26186 (do_one_test): Call it.
26187 (do_ftell_test): Fix up expected old offset for a+ mode.
26188 * libio/wfileops.c (do_ftell_wide): Used cached offset when
26189 available.
26190
26191 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
26192 up test status with function return status.
26193 (do_write_test): Likewise.
26194 (do_append_test): Likewise.
26195
26196 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
26197 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
26198 Remove.
26199
26200 2014-03-17 Joseph Myers <joseph@codesourcery.com>
26201
26202 * math/gen-libm-test.pl (parse_args): Handle results specified for
26203 each rounding mode separately.
26204 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
26205 tests and results from lrint_tonearest_test_data,
26206 lrint_towardzero_test_data, lrint_downward_test_data and
26207 lrint_upward_test_data.
26208 (lrint_test): Use ALL_RM_TEST.
26209 (lrint_tonearest_test_data): Remove.
26210 (lrint_test_tonearest): Likewise.
26211 (lrint_towardzero_test_data): Likewise.
26212 (lrint_test_towardzero): Likewise.
26213 (lrint_downward_test_data): Likewise.
26214 (lrint_test_downward): Likewise.
26215 (lrint_upward_test_data): Likewise.
26216 (lrint_test_upward): Likewise.
26217 (llrint_test_data): Merge in per-rounding-mode tests and results
26218 from llrint_tonearest_test_data, llrint_towardzero_test_data,
26219 llrint_downward_test_data and llrint_upward_test_data.
26220 (llrint_test): Use ALL_RM_TEST.
26221 (llrint_tonearest_test_data): Remove.
26222 (llrint_test_tonearest): Likewise.
26223 (llrint_towardzero_test_data): Likewise.
26224 (llrint_test_towardzero): Likewise.
26225 (llrint_downward_test_data): Likewise.
26226 (llrint_test_downward): Likewise.
26227 (llrint_upward_test_data): Likewise.
26228 (llrint_test_upward): Likewise.
26229 (rint_test_data): Merge in per-rounding-mode tests and results
26230 from rint_tonearest_test_data, rint_towardzero_test_data,
26231 rint_downward_test_data and rint_upward_test_data. Add
26232 per-rounding-mode results for tests not in those arrays.
26233 (rint_test): Use ALL_RM_TEST.
26234 (rint_tonearest_test_data): Remove.
26235 (rint_test_tonearest): Likewise.
26236 (rint_towardzero_test_data): Likewise.
26237 (rint_test_towardzero): Likewise.
26238 (rint_downward_test_data): Likewise.
26239 (rint_test_downward): Likewise.
26240 (rint_upward_test_data): Likewise.
26241 (rint_test_upward): Likewise.
26242 (main): Don't call removed functions.
26243
26244 2014-03-14 Roland McGrath <roland@hack.frob.com>
26245
26246 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
26247 "Compiled on ..." crapola. It is anti-useful.
26248
26249 2014-03-14 Joseph Myers <joseph@codesourcery.com>
26250
26251 * scripts/evaluate-test.sh: Handle fourth argument to determine
26252 whether test run should stop on failure.
26253 * Makeconfig (stop-on-test-failure): New variable.
26254 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
26255 $(stop-on-test-failure).
26256 * Makefile (tests): Give a summary of results from testing and
26257 exit with failure status if they include an ERROR or FAIL.
26258 (xtests): Likewise.
26259 * manual/install.texi (Configuring and compiling): Mention
26260 stop-on-test-failure=y.
26261 * INSTALL: Regenerated.
26262
26263 2014-03-14 Roland McGrath <roland@hack.frob.com>
26264
26265 * scripts/versionlist.awk: New file.
26266 * Makerules [$(build-shared) = yes]
26267 (postclean-generated): Add Versions.def, not Versions.def.v and
26268 Versions.def.v.i.
26269 ($(common-objpfx)Versions.def.v.i): Target removed.
26270 ($(common-objpfx)Versions.def): New target.
26271 ($(common-objpfx)Versions.all): Depend on that rather that
26272 $(common-objpfx)Versions.def.v.
26273 * Versions.def: File removed.
26274
26275 * Makeconfig (+gccwarn): Add -Wundef.
26276 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
26277 a dl-sysdep.h breaking its contract.
26278 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
26279 * include/stackinfo.h: New file.
26280 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
26281 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
26282 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
26283 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
26284 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
26285 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
26286 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26287 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26288 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26289 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26290 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26291 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
26292 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26293 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26294 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26295
26296 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26297
26298 [BZ #16707]
26299 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
26300 implementation.
26301 * math/libm-test.inc (round_test_data): Add more tests.
26302
26303 [BZ #16706]
26304 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
26305 implementation.
26306 * math/libm-test.inc (nearbyint_test_data): Add more tests.
26307
26308 [BZ #16701]
26309 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
26310 implementation.
26311 * math/libm-test.inc (ceil_test_data): Add more tests.
26312
26313 * math/libm-test.inc (trunc_test_data): Add more tests related to
26314 BZ#16414.
26315
26316 2014-03-14 Roland McGrath <roland@hack.frob.com>
26317
26318 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
26319 with #if rather than #ifdef.
26320 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
26321
26322 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
26323
26324 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
26325 first. Disable AVX-512 GCC support if assembler doesn't support
26326 it.
26327 * sysdeps/x86_64/configure: Regenerated.
26328
26329 2014-03-13 Carlos O'Donell <carlos@redhat.com>
26330
26331 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
26332 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
26333 (__old_pthread_attr_setstack): Likewise.
26334 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
26335 [!_STACK_GROWS_DOWN]: Likewise.
26336
26337 2014-03-13 Mike Frysinger <vapier@gentoo.org>
26338
26339 * config.make.in (have-bash2): Delete.
26340 * configure.ac (libc_cv_have_bash2): Delete.
26341 * configure: Regenerate.
26342 * elf/Makefile (common-ldd-rewrite): Rename to ...
26343 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
26344 (sh-ldd-rewrite): Delete.
26345 (bash-ldd-rewrite): Delete.
26346 (have-bash2): Delete checks.
26347 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
26348 ldd-rewrite.
26349
26350 * config.make.in (have-ksh): Delete.
26351 (KSH): Delete.
26352 * configure.ac (libc_cv_have_ksh): Delete.
26353 * configure: Regenerate.
26354
26355 * elf/Makefile: Delete $(have-ksh) check.
26356 ($(objpfx)sotruss): Change KSH to BASH.
26357 * elf/sotruss.ksh: Rename to ...
26358 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
26359 function style to match POSIX. Drop ksh vim mode setting.
26360
26361 * manual/time.texi (Specifying the Time Zone with TZ): Change
26362 Tuesday to Thursday.
26363
26364 * debug/tst-longjmp_chk2.c: Update header comment.
26365 (stackoverflow_handler): Add comment. Call assert on pass value.
26366
26367 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
26368
26369 [BZ #16194]
26370 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
26371 (HAVE_AVX512_ASM_SUPPORT): Likewise.
26372 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
26373 (La_x86_64_vector): Add zmm.
26374 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
26375 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
26376 ($(objpfx)tst-audit10): New target.
26377 ($(objpfx)tst-audit10.out): Likewise.
26378 (tst-audit10-ENV): New.
26379 (AVX512-CFLAGS): Likewise.
26380 (CFLAGS-tst-audit10.c): Likewise.
26381 (CFLAGS-tst-auditmod10a.c): Likewise.
26382 (CFLAGS-tst-auditmod10b.c): Likewise.
26383 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
26384 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
26385 * sysdeps/x86_64/configure: Regenerated.
26386 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
26387 AVX-512 zmm register support.
26388 (_dl_x86_64_save_sse): Likewise.
26389 (_dl_x86_64_restore_sse): Likewise.
26390 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
26391 size vector registers.
26392 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
26393 (ZMM_SIZE): Likewise.
26394 * sysdeps/x86_64/tst-audit10.c: New file.
26395 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
26396 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
26397
26398 2014-03-13 Roland McGrath <roland@hack.frob.com>
26399
26400 * configure.ac (HAVE_EHDR_START): New check.
26401 * configure: Regenerated.
26402 * config.h.in (HAVE_EHDR_START): New #undef.
26403 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
26404 assuming the lowest-addressed segment maps the start of the file.
26405
26406 2014-03-13 Joseph Myers <joseph@codesourcery.com>
26407
26408 * INSTALL: Regenerated.
26409
26410 2014-03-13 Will Newton <will.newton@linaro.org>
26411
26412 * manual/setjmp.texi (System V contexts): Improve
26413 clarity and grammar of documentation.
26414
26415 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
26416
26417 [BZ #16381]
26418 * elf/Makefile (tests): Add tst-pie2.
26419 (tests-pie): Add tst-pie2.
26420 * elf/tst-pie2.c: New file.
26421 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
26422 for ET_EXEC.
26423 * elf/rtld.c (map_doit): Load executable as lt_executable.
26424 (dl_main): Likewise.
26425
26426 2014-03-12 Joseph Myers <joseph@codesourcery.com>
26427
26428 [BZ #16642]
26429 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26430 (__ASSUME_PSELECT): Undefine.
26431
26432 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26433
26434 [BZ #16689]
26435 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
26436 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
26437 static build.
26438 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
26439 selector for static builds.
26440
26441 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26442
26443 [BZ #16695]
26444 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
26445 key in the buffer.
26446
26447 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26448
26449 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
26450 IFUNC selector for static builds.
26451
26452 2014-03-11 Joseph Myers <joseph@codesourcery.com>
26453
26454 * sysdeps/mips/math_private.h [__mips_hard_float]
26455 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
26456 libc_feresetround_mips_ctx.
26457 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
26458 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
26459 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
26460
26461 [BZ #16677]
26462 * math/s_nextafter.c (__nextafter): Do not return value from
26463 overflowing computation.
26464 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
26465 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
26466 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
26467 Likewise.
26468 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
26469 Likewise.
26470 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
26471 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
26472
26473 2014-03-11 Roland McGrath <roland@hack.frob.com>
26474
26475 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
26476 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
26477 Move sfi_sp use from the load-multiple (that no longer sets sp) to
26478 the new mov targetting sp.
26479
26480 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26481
26482 [BZ #16683]
26483 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
26484 Define it for static builds as well.
26485 (NO_BZERO_IMPL): Likewise.
26486
26487 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
26488
26489 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
26490 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
26491 multiarch strspn for PPC64.
26492 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
26493 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
26494 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26495 (__libc_ifunc_impl_list): Likewise.
26496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
26497 multiarch optimizations
26498 * string/strspn.c (strspn): Using macro to redefine symbol name.
26499
26500 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
26501 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26502
26503 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
26504 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
26505 multiarch strncat for PPC64.
26506 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
26507 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
26508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26509 (__libc_ifunc_impl_list): Likewise.
26510 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
26511 multiarch optimizations
26512
26513 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26514
26515 [BZ #16639]
26516 * nscd/nscd.service: Make service type forking.
26517
26518 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26519
26520 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
26521 sign in non default rounding modes.
26522 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
26523
26524 2014-03-08 Joseph Myers <joseph@codesourcery.com>
26525
26526 * math/libm-test.inc (ALL_RM_TEST): New macro.
26527 (ceil_test): Use ALL_RM_TEST.
26528 (cimag_test): Likewise.
26529 (conj_test): Likewise.
26530 (copysign_test): Likewise.
26531 (cproj_test): Likewise.
26532 (creal_test): Likewise.
26533 (fabs_test): Likewise.
26534 (floor_test): Likewise.
26535 (fmax_test): Likewise.
26536 (fmin_test): Likewise.
26537 (fmod_test): Likewise.
26538 (fpclassify_test): Likewise.
26539 (frexp_test): Likewise.
26540 (ilogb_test): Likewise.
26541 (isfinite_test): Likewise.
26542 (finite_test): Likewise.
26543 (isgreater_test): Likewise.
26544 (isgreaterequal_test): Likewise.
26545 (isinf_test): Likewise.
26546 (isless_test): Likewise.
26547 (islessequal_test): Likewise.
26548 (islessgreater_test): Likewise.
26549 (isnan_test): Likewise.
26550 (isnormal_test): Likewise.
26551 (issignaling_test): Likewise.
26552 (isunordered_test): Likewise.
26553 (logb_test): Likewise.
26554 (logb_downward_test_data): Remove.
26555 (logb_test_downward): Likewise.
26556 (lround_test): Use ALL_RM_TEST.
26557 (llround_test): Likewise.
26558 (modf_test): Likewise.
26559 (nexttoward_test): Likewise.
26560 (remainder_test): Likewise.
26561 (drem_test): Likewise.
26562 (remainder_tonearest_test_data): Likewise.
26563 (remainder_test_tonearest): Likewise.
26564 (drem_test_tonearest): Likewise.
26565 (remainder_towardzero_test_data): Likewise.
26566 (remainder_test_towardzero): Likewise.
26567 (drem_test_towardzero): Likewise.
26568 (remainder_downward_test_data): Likewise.
26569 (remainder_test_downward): Likewise.
26570 (drem_test_downward): Likewise.
26571 (remainder_upward_test_data): Likewise.
26572 (remainder_test_upward): Likewise.
26573 (drem_test_upward): Likewise.
26574 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
26575 (round_test): Use ALL_RM_TEST.
26576 (signbit_test): Likewise.
26577 (trunc_test): Likewise.
26578 (significand_test): Likewise.
26579 (main): Don't call removed functions.
26580
26581 2014-03-07 Joseph Myers <joseph@codesourcery.com>
26582
26583 [BZ #16674]
26584 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
26585 || __USE_XOPEN2K8].
26586 (ILL_ILLOPN): Likewise.
26587 (ILL_ILLADR): Likewise.
26588 (ILL_ILLTRP): Likewise.
26589 (ILL_PRVOPC): Likewise.
26590 (ILL_PRVREG): Likewise.
26591 (ILL_COPROC): Likewise.
26592 (ILL_BADSTK): Likewise.
26593 (FPE_INTDIV): Likewise.
26594 (FPE_INTOVF): Likewise.
26595 (FPE_FLTDIV): Likewise.
26596 (FPE_FLTOVF): Likewise.
26597 (FPE_FLTUND): Likewise.
26598 (FPE_FLTRES): Likewise.
26599 (FPE_FLTINV): Likewise.
26600 (FPE_FLTSUB): Likewise.
26601 (SEGV_MAPERR): Likewise.
26602 (SEGV_ACCERR): Likewise.
26603 (BUS_ADRALN): Likewise.
26604 (BUS_ADRERR): Likewise.
26605 (BUS_OBJERR): Likewise.
26606 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26607 (TRAP_TRACE): Likewise.
26608 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26609 __USE_XOPEN2K8].
26610 (CLD_KILLED): Likewise.
26611 (CLD_DUMPED): Likewise.
26612 (CLD_TRAPPED): Likewise.
26613 (CLD_STOPPED): Likewise.
26614 (CLD_CONTINUED): Likewise.
26615 (POLL_IN): Likewise.
26616 (POLL_OUT): Likewise.
26617 (POLL_MSG): Likewise.
26618 (POLL_ERR): Likewise.
26619 (POLL_PRI): Likewise.
26620 (POLL_HUP): Likewise.
26621 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
26622 Likewise.
26623 (ILL_ILLOPN): Likewise.
26624 (ILL_ILLADR): Likewise.
26625 (ILL_ILLTRP): Likewise.
26626 (ILL_PRVOPC): Likewise.
26627 (ILL_PRVREG): Likewise.
26628 (ILL_COPROC): Likewise.
26629 (ILL_BADSTK): Likewise.
26630 (FPE_INTDIV): Likewise.
26631 (FPE_INTOVF): Likewise.
26632 (FPE_FLTDIV): Likewise.
26633 (FPE_FLTOVF): Likewise.
26634 (FPE_FLTUND): Likewise.
26635 (FPE_FLTRES): Likewise.
26636 (FPE_FLTINV): Likewise.
26637 (FPE_FLTSUB): Likewise.
26638 (SEGV_MAPERR): Likewise.
26639 (SEGV_ACCERR): Likewise.
26640 (BUS_ADRALN): Likewise.
26641 (BUS_ADRERR): Likewise.
26642 (BUS_OBJERR): Likewise.
26643 (BUS_MCEERR_AR): Likewise.
26644 (BUS_MCEERR_AO): Likewise.
26645 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26646 (TRAP_TRACE): Likewise.
26647 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26648 __USE_XOPEN2K8].
26649 (CLD_KILLED): Likewise.
26650 (CLD_DUMPED): Likewise.
26651 (CLD_TRAPPED): Likewise.
26652 (CLD_STOPPED): Likewise.
26653 (CLD_CONTINUED): Likewise.
26654 (POLL_IN): Likewise.
26655 (POLL_OUT): Likewise.
26656 (POLL_MSG): Likewise.
26657 (POLL_ERR): Likewise.
26658 (POLL_PRI): Likewise.
26659 (POLL_HUP): Likewise.
26660 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
26661 (ILL_ILLOPN): Likewise.
26662 (ILL_ILLADR): Likewise.
26663 (ILL_ILLTRP): Likewise.
26664 (ILL_PRVOPC): Likewise.
26665 (ILL_PRVREG): Likewise.
26666 (ILL_COPROC): Likewise.
26667 (ILL_BADSTK): Likewise.
26668 (FPE_INTDIV): Likewise.
26669 (FPE_INTOVF): Likewise.
26670 (FPE_FLTDIV): Likewise.
26671 (FPE_FLTOVF): Likewise.
26672 (FPE_FLTUND): Likewise.
26673 (FPE_FLTRES): Likewise.
26674 (FPE_FLTINV): Likewise.
26675 (FPE_FLTSUB): Likewise.
26676 (SEGV_MAPERR): Likewise.
26677 (SEGV_ACCERR): Likewise.
26678 (BUS_ADRALN): Likewise.
26679 (BUS_ADRERR): Likewise.
26680 (BUS_OBJERR): Likewise.
26681 (BUS_MCEERR_AR): Likewise.
26682 (BUS_MCEERR_AO): Likewise.
26683 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26684 (TRAP_TRACE): Likewise.
26685 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26686 __USE_XOPEN2K8].
26687 (CLD_KILLED): Likewise.
26688 (CLD_DUMPED): Likewise.
26689 (CLD_TRAPPED): Likewise.
26690 (CLD_STOPPED): Likewise.
26691 (CLD_CONTINUED): Likewise.
26692 (POLL_IN): Likewise.
26693 (POLL_OUT): Likewise.
26694 (POLL_MSG): Likewise.
26695 (POLL_ERR): Likewise.
26696 (POLL_PRI): Likewise.
26697 (POLL_HUP): Likewise.
26698 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
26699 Likewise.
26700 (ILL_ILLOPN): Likewise.
26701 (ILL_ILLADR): Likewise.
26702 (ILL_ILLTRP): Likewise.
26703 (ILL_PRVOPC): Likewise.
26704 (ILL_PRVREG): Likewise.
26705 (ILL_COPROC): Likewise.
26706 (ILL_BADSTK): Likewise.
26707 (ILL_BADIADDR): Likewise.
26708 (ILL_BREAK): Likewise.
26709 (FPE_INTDIV): Likewise.
26710 (FPE_INTOVF): Likewise.
26711 (FPE_FLTDIV): Likewise.
26712 (FPE_FLTOVF): Likewise.
26713 (FPE_FLTUND): Likewise.
26714 (FPE_FLTRES): Likewise.
26715 (FPE_FLTINV): Likewise.
26716 (FPE_FLTSUB): Likewise.
26717 (FPE_DECOVF): Likewise.
26718 (FPE_DECDIV): Likewise.
26719 (FPE_DECERR): Likewise.
26720 (FPE_INVASC): Likewise.
26721 (FPE_INVDEC): Likewise.
26722 (SEGV_MAPERR): Likewise.
26723 (SEGV_ACCERR): Likewise.
26724 (SEGV_PSTKOVF): Likewise.
26725 (BUS_ADRALN): Likewise.
26726 (BUS_ADRERR): Likewise.
26727 (BUS_OBJERR): Likewise.
26728 (BUS_MCEERR_AR): Likewise.
26729 (BUS_MCEERR_AO): Likewise.
26730 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26731 (TRAP_TRACE): Likewise.
26732 (TRAP_BRANCH): Likewise.
26733 (TRAP_HWBKPT): Likewise.
26734 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26735 __USE_XOPEN2K8].
26736 (CLD_KILLED): Likewise.
26737 (CLD_DUMPED): Likewise.
26738 (CLD_TRAPPED): Likewise.
26739 (CLD_STOPPED): Likewise.
26740 (CLD_CONTINUED): Likewise.
26741 (POLL_IN): Likewise.
26742 (POLL_OUT): Likewise.
26743 (POLL_MSG): Likewise.
26744 (POLL_ERR): Likewise.
26745 (POLL_PRI): Likewise.
26746 (POLL_HUP): Likewise.
26747 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
26748 (ILL_ILLOPN): Likewise.
26749 (ILL_ILLADR): Likewise.
26750 (ILL_ILLTRP): Likewise.
26751 (ILL_PRVOPC): Likewise.
26752 (ILL_PRVREG): Likewise.
26753 (ILL_COPROC): Likewise.
26754 (ILL_BADSTK): Likewise.
26755 (FPE_INTDIV): Likewise.
26756 (FPE_INTOVF): Likewise.
26757 (FPE_FLTDIV): Likewise.
26758 (FPE_FLTOVF): Likewise.
26759 (FPE_FLTUND): Likewise.
26760 (FPE_FLTRES): Likewise.
26761 (FPE_FLTINV): Likewise.
26762 (FPE_FLTSUB): Likewise.
26763 (SEGV_MAPERR): Likewise.
26764 (SEGV_ACCERR): Likewise.
26765 (BUS_ADRALN): Likewise.
26766 (BUS_ADRERR): Likewise.
26767 (BUS_OBJERR): Likewise.
26768 (BUS_MCEERR_AR): Likewise.
26769 (BUS_MCEERR_AO): Likewise.
26770 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26771 (TRAP_TRACE): Likewise.
26772 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26773 __USE_XOPEN2K8].
26774 (CLD_KILLED): Likewise.
26775 (CLD_DUMPED): Likewise.
26776 (CLD_TRAPPED): Likewise.
26777 (CLD_STOPPED): Likewise.
26778 (CLD_CONTINUED): Likewise.
26779 (POLL_IN): Likewise.
26780 (POLL_OUT): Likewise.
26781 (POLL_MSG): Likewise.
26782 (POLL_ERR): Likewise.
26783 (POLL_PRI): Likewise.
26784 (POLL_HUP): Likewise.
26785 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
26786 (ILL_ILLOPN): Likewise.
26787 (ILL_ILLADR): Likewise.
26788 (ILL_ILLTRP): Likewise.
26789 (ILL_PRVOPC): Likewise.
26790 (ILL_PRVREG): Likewise.
26791 (ILL_COPROC): Likewise.
26792 (ILL_BADSTK): Likewise.
26793 (FPE_INTDIV): Likewise.
26794 (FPE_INTOVF): Likewise.
26795 (FPE_FLTDIV): Likewise.
26796 (FPE_FLTOVF): Likewise.
26797 (FPE_FLTUND): Likewise.
26798 (FPE_FLTRES): Likewise.
26799 (FPE_FLTINV): Likewise.
26800 (FPE_FLTSUB): Likewise.
26801 (SEGV_MAPERR): Likewise.
26802 (SEGV_ACCERR): Likewise.
26803 (BUS_ADRALN): Likewise.
26804 (BUS_ADRERR): Likewise.
26805 (BUS_OBJERR): Likewise.
26806 (BUS_MCEERR_AR): Likewise.
26807 (BUS_MCEERR_AO): Likewise.
26808 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26809 (TRAP_TRACE): Likewise.
26810 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26811 __USE_XOPEN2K8].
26812 (CLD_KILLED): Likewise.
26813 (CLD_DUMPED): Likewise.
26814 (CLD_TRAPPED): Likewise.
26815 (CLD_STOPPED): Likewise.
26816 (CLD_CONTINUED): Likewise.
26817 (POLL_IN): Likewise.
26818 (POLL_OUT): Likewise.
26819 (POLL_MSG): Likewise.
26820 (POLL_ERR): Likewise.
26821 (POLL_PRI): Likewise.
26822 (POLL_HUP): Likewise.
26823 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
26824 (ILL_ILLOPN): Likewise.
26825 (ILL_ILLADR): Likewise.
26826 (ILL_ILLTRP): Likewise.
26827 (ILL_PRVOPC): Likewise.
26828 (ILL_PRVREG): Likewise.
26829 (ILL_COPROC): Likewise.
26830 (ILL_BADSTK): Likewise.
26831 (FPE_INTDIV): Likewise.
26832 (FPE_INTOVF): Likewise.
26833 (FPE_FLTDIV): Likewise.
26834 (FPE_FLTOVF): Likewise.
26835 (FPE_FLTUND): Likewise.
26836 (FPE_FLTRES): Likewise.
26837 (FPE_FLTINV): Likewise.
26838 (FPE_FLTSUB): Likewise.
26839 (SEGV_MAPERR): Likewise.
26840 (SEGV_ACCERR): Likewise.
26841 (BUS_ADRALN): Likewise.
26842 (BUS_ADRERR): Likewise.
26843 (BUS_OBJERR): Likewise.
26844 (BUS_MCEERR_AR): Likewise.
26845 (BUS_MCEERR_AO): Likewise.
26846 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26847 (TRAP_TRACE): Likewise.
26848 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26849 __USE_XOPEN2K8].
26850 (CLD_KILLED): Likewise.
26851 (CLD_DUMPED): Likewise.
26852 (CLD_TRAPPED): Likewise.
26853 (CLD_STOPPED): Likewise.
26854 (CLD_CONTINUED): Likewise.
26855 (POLL_IN): Likewise.
26856 (POLL_OUT): Likewise.
26857 (POLL_MSG): Likewise.
26858 (POLL_ERR): Likewise.
26859 (POLL_PRI): Likewise.
26860 (POLL_HUP): Likewise.
26861 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
26862 (ILL_ILLOPN): Likewise.
26863 (ILL_ILLADR): Likewise.
26864 (ILL_ILLTRP): Likewise.
26865 (ILL_PRVOPC): Likewise.
26866 (ILL_PRVREG): Likewise.
26867 (ILL_COPROC): Likewise.
26868 (ILL_BADSTK): Likewise.
26869 (ILL_DBLFLT): Likewise.
26870 (ILL_HARDWALL): Likewise.
26871 (FPE_INTDIV): Likewise.
26872 (FPE_INTOVF): Likewise.
26873 (FPE_FLTDIV): Likewise.
26874 (FPE_FLTOVF): Likewise.
26875 (FPE_FLTUND): Likewise.
26876 (FPE_FLTRES): Likewise.
26877 (FPE_FLTINV): Likewise.
26878 (FPE_FLTSUB): Likewise.
26879 (SEGV_MAPERR): Likewise.
26880 (SEGV_ACCERR): Likewise.
26881 (BUS_ADRALN): Likewise.
26882 (BUS_ADRERR): Likewise.
26883 (BUS_OBJERR): Likewise.
26884 (BUS_MCEERR_AR): Likewise.
26885 (BUS_MCEERR_AO): Likewise.
26886 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26887 (TRAP_TRACE): Likewise.
26888 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26889 __USE_XOPEN2K8].
26890 (CLD_KILLED): Likewise.
26891 (CLD_DUMPED): Likewise.
26892 (CLD_TRAPPED): Likewise.
26893 (CLD_STOPPED): Likewise.
26894 (CLD_CONTINUED): Likewise.
26895 (POLL_IN): Likewise.
26896 (POLL_OUT): Likewise.
26897 (POLL_MSG): Likewise.
26898 (POLL_ERR): Likewise.
26899 (POLL_PRI): Likewise.
26900 (POLL_HUP): Likewise.
26901 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
26902 (ILL_ILLOPN): Likewise.
26903 (ILL_ILLADR): Likewise.
26904 (ILL_ILLTRP): Likewise.
26905 (ILL_PRVOPC): Likewise.
26906 (ILL_PRVREG): Likewise.
26907 (ILL_COPROC): Likewise.
26908 (ILL_BADSTK): Likewise.
26909 (FPE_INTDIV): Likewise.
26910 (FPE_INTOVF): Likewise.
26911 (FPE_FLTDIV): Likewise.
26912 (FPE_FLTOVF): Likewise.
26913 (FPE_FLTUND): Likewise.
26914 (FPE_FLTRES): Likewise.
26915 (FPE_FLTINV): Likewise.
26916 (FPE_FLTSUB): Likewise.
26917 (SEGV_MAPERR): Likewise.
26918 (SEGV_ACCERR): Likewise.
26919 (BUS_ADRALN): Likewise.
26920 (BUS_ADRERR): Likewise.
26921 (BUS_OBJERR): Likewise.
26922 (BUS_MCEERR_AR): Likewise.
26923 (BUS_MCEERR_AO): Likewise.
26924 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26925 (TRAP_TRACE): Likewise.
26926 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26927 __USE_XOPEN2K8].
26928 (CLD_KILLED): Likewise.
26929 (CLD_DUMPED): Likewise.
26930 (CLD_TRAPPED): Likewise.
26931 (CLD_STOPPED): Likewise.
26932 (CLD_CONTINUED): Likewise.
26933 (POLL_IN): Likewise.
26934 (POLL_OUT): Likewise.
26935 (POLL_MSG): Likewise.
26936 (POLL_ERR): Likewise.
26937 (POLL_PRI): Likewise.
26938 (POLL_HUP): Likewise.
26939 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
26940 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
26941
26942 [BZ #16670]
26943 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
26944 before #include of <time.h>.
26945 [!__USE_XOPEN2K] (__need_timespec): Likewise.
26946 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
26947 (test-xfail-UNIX98/sched.h/conform): Likewise.
26948
26949 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
26950
26951 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
26952 error absence of trapping exception support.
26953 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
26954
26955 2014-03-07 Joseph Myers <joseph@codesourcery.com>
26956
26957 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
26958 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
26959 * timezone/Makefile (testdata): Move definition above include of
26960 Rules.
26961 (test-zones): New variable.
26962 (tests-special): Add zone files.
26963 (build-testdata): Use $(evaluate-test).
26964
26965 * elf/Makefile (tests-special): Rename tests to end with .out.
26966 ($(objpfx)noload-mem): Likewise.
26967 ($(objpfx)tst-leaks1-mem): Likewise.
26968 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
26969 * iconv/Makefile (xtests-special): Change test-iconvconfig to
26970 $(objpfx)test-iconvconfig.out.
26971 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
26972 set -e inside subshell and redirect output to file.
26973 * iconvdata/Makefile (generated): Rename tests to end with .out.
26974 Correct type.
26975 (tests-special): Rename tests to end with .out.
26976 ($(objpfx)mtrace-tst-loading): Likewise.
26977 * intl/Makefile (generated): Likewise.
26978 (tests-special): Likewise.
26979 ($(objpfx)mtrace-tst-gettext): Likewise.
26980 * misc/Makefile (generated): Likewise.
26981 (tests-special): Likewise.
26982 ($(objpfx)tst-error1-mem): Likewise.
26983 * nptl/Makefile (tests-special): Likewise.
26984 ($(objpfx)tst-stack3-mem): Likewise.
26985 (generated): Likewise.
26986 * posix/Makefile (generated): Likewise.
26987 (tests-special): Likewise.
26988 (xtests-special): Likewise.
26989 ($(objpfx)tst-fnmatch-mem): Likewise.
26990 ($(objpfx)bug-regex2-mem): Likewise.
26991 ($(objpfx)bug-regex14-mem): Likewise.
26992 ($(objpfx)bug-regex21-mem): Likewise.
26993 ($(objpfx)bug-regex31-mem): Likewise.
26994 ($(objpfx)tst-vfork3-mem): Likewise.
26995 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
26996 ($(objpfx)tst-pcre-mem): Likewise.
26997 ($(objpfx)tst-boost-mem): Likewise.
26998 ($(objpfx)bug-ga2-mem): Likewise.
26999 ($(objpfx)bug-glob2-mem): Likewise.
27000 * resolv/Makefile (generate): Likewise.
27001 (tests-special): Likewise.
27002 (xtests-special): Likewise.
27003 (generated): Likewise.
27004 ($(objpfx)mtrace-tst-leaks): Likewise.
27005 ($(objpfx)mtrace-tst-leaks2): Likewise.
27006
27007 * scripts/merge-test-results.sh: New file.
27008 * Makefile (tests-special-notdir): New variable.
27009 (tests): Run merge-test-results.sh.
27010 (xtests): Likewise.
27011 * Rules (tests-special-notdir): New variable.
27012 (xtests-special-notdir): Likewise.
27013 (tests): Run merge-test-results.sh
27014 (xtests): Likewise.
27015
27016 * Makeconfig (test-xfail-name): New variable.
27017 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
27018 compute variable name for expected failures.
27019 * conform/Makefile (conformtest-headers-data): New variable.
27020 (conformtest-standards): Likewise.
27021 (conformtest-headers-ISO): Likewise.
27022 (conformtest-headers-ISO99): Likewise.
27023 (conformtest-headers-ISO11): Likewise.
27024 (conformtest-headers-POSIX): Likewise.
27025 (conformtest-headers-XPG3): Likewise.
27026 (conformtest-headers-XPG4): Likewise.
27027 (conformtest-headers-UNIX98): Likewise.
27028 (conformtest-headers-XOPEN2K): Likewise.
27029 (conformtest-headers-POSIX2008): Likewise.
27030 (conformtest-headers-XOPEN2K8): Likewise.
27031 (conformtest-header-list-base): Likewise.
27032 (conformtest-header-list-tests): Likewise.
27033 (conformtest-header-base): Likewise.
27034 (conformtest-header-tests): Likewise.
27035 (tests-special): Add $(conformtest-header-list-tests). If
27036 [$(fast-check) && !$(cross-compiling)], add
27037 $(conformtest-header-tests) instead of
27038 $(objpfx)run-conformtest.out.
27039 (generated): Add $(conformtest-header-list-base). If
27040 [$(fast-check) && !$(cross-compiling)], add
27041 $(conformtest-header-base). Remove previous setting.
27042 ($(conformtest-header-list-tests)): New target.
27043 (test-xfail-run-conformtest): Remove variable.
27044 ($(objpfx)run-conformtest.out): Remove target.
27045 (test-xfail-ISO11/complex.h/conform): New variable.
27046 (test-xfail-ISO11/stdalign.h/conform): Likewise.
27047 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27048 (test-xfail-XPG3/varargs.h/conform): Likewise.
27049 (test-xfail-XPG4/varargs.h/conform): Likewise.
27050 (test-xfail-UNIX98/varargs.h/conform): Likewise.
27051 (test-xfail-XPG4/ndbm.h/conform): Likewise.
27052 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
27053 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
27054 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
27055 (test-xfail-XPG3/fcntl.h/conform): Likewise.
27056 (test-xfail-XPG3/ftw.h/conform): Likewise.
27057 (test-xfail-XPG3/grp.h/conform): Likewise.
27058 (test-xfail-XPG3/langinfo.h/conform): Likewise.
27059 (test-xfail-XPG3/limits.h/conform): Likewise.
27060 (test-xfail-XPG3/pwd.h/conform): Likewise.
27061 (test-xfail-XPG3/search.h/conform): Likewise.
27062 (test-xfail-XPG3/signal.h/conform): Likewise.
27063 (test-xfail-XPG3/stdio.h/conform): Likewise.
27064 (test-xfail-XPG3/stdlib.h/conform): Likewise.
27065 (test-xfail-XPG3/string.h/conform): Likewise.
27066 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
27067 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
27068 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
27069 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
27070 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
27071 (test-xfail-XPG3/sys/types.h/conform): Likewise.
27072 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
27073 (test-xfail-XPG3/termios.h/conform): Likewise.
27074 (test-xfail-XPG3/time.h/conform): Likewise.
27075 (test-xfail-XPG3/unistd.h/conform): Likewise.
27076 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
27077 (test-xfail-XPG4/fcntl.h/conform): Likewise.
27078 (test-xfail-XPG4/langinfo.h/conform): Likewise.
27079 (test-xfail-XPG4/netdb.h/conform): Likewise.
27080 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
27081 (test-xfail-XPG4/signal.h/conform): Likewise.
27082 (test-xfail-XPG4/stdio.h/conform): Likewise.
27083 (test-xfail-XPG4/stdlib.h/conform): Likewise.
27084 (test-xfail-XPG4/stropts.h/conform): Likewise.
27085 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
27086 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
27087 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
27088 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
27089 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
27090 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
27091 (test-xfail-XPG4/sys/time.h/conform): Likewise.
27092 (test-xfail-XPG4/sys/types.h/conform): Likewise.
27093 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
27094 (test-xfail-XPG4/termios.h/conform): Likewise.
27095 (test-xfail-XPG4/ucontext.h/conform): Likewise.
27096 (test-xfail-XPG4/unistd.h/conform): Likewise.
27097 (test-xfail-XPG4/utmpx.h/conform): Likewise.
27098 (test-xfail-POSIX/sched.h/conform): Likewise.
27099 (test-xfail-POSIX/signal.h/conform): Likewise.
27100 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
27101 (test-xfail-POSIX/tar.h/conform): Likewise.
27102 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
27103 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
27104 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
27105 (test-xfail-UNIX98/netdb.h/conform): Likewise.
27106 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
27107 (test-xfail-UNIX98/sched.h/conform): Likewise.
27108 (test-xfail-UNIX98/signal.h/conform): Likewise.
27109 (test-xfail-UNIX98/stdio.h/conform): Likewise.
27110 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
27111 (test-xfail-UNIX98/stropts.h/conform): Likewise.
27112 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
27113 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
27114 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
27115 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
27116 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
27117 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
27118 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
27119 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
27120 (test-xfail-UNIX98/unistd.h/conform): Likewise.
27121 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
27122 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
27123 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
27124 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
27125 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
27126 (test-xfail-XOPEN2K/math.h/conform): Likewise.
27127 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
27128 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
27129 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
27130 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
27131 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
27132 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
27133 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
27134 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
27135 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
27136 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
27137 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
27138 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
27139 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
27140 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
27141 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
27142 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
27143 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
27144 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
27145 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
27146 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
27147 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
27148 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
27149 (test-xfail-POSIX2008/signal.h/conform): Likewise.
27150 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
27151 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
27152 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
27153 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
27154 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
27155 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
27156 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
27157 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
27158 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
27159 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
27160 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
27161 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
27162 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
27163 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
27164 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
27165 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
27166 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
27167 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
27168 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
27169 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
27170 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
27171 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
27172 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
27173 (conformtest-cc-flags): Likewise.
27174 ($(conformtest-header-tests): New target.
27175 * conform/check-header-lists.sh: New file.
27176 * conform/run-conformtest.sh: Remove.
27177
27178 * conform/conformtest.pl: Allow ' and \ in values given for
27179 constants.
27180 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
27181 inclusion.
27182 [POSIX] (sys/types.h): Likewise.
27183 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
27184 inclusion.
27185 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
27186 inclusion.
27187 * conform/data/signal.h-data (SIGIO): Remove expectation.
27188 [XPG3] (SIGBUS): Do not expect.
27189 [POSIX || XPG3] (SIGPOLL): Likewise.
27190 [POSIX || XPG3] (SIGPROF): Likewise.
27191 [POSIX || XPG3] (SIGSYS): Likewise.
27192 [XPG3] (SIGTRAP): Likewise.
27193 [POSIX || XPG3] (SIGURG): Likewise.
27194 [POSIX || XPG3] (SIGVTALRM): Likewise.
27195 [POSIX || XPG3] (SIGXCPU): Likewise.
27196 [POSIX || XPG3] (SIGXFSZ): Likewise.
27197 [POSIX] (SA_SIGINFO): Expect.
27198 [XPG3] (siginfo_t): Do not expect type or contents.
27199 [POSIX] (si_pid): Do not expect element.
27200 [POSIX] (si_uid): Likewise.
27201 [POSIX] (si_addr): Likewise.
27202 [POSIX] (si_status): Likewise.
27203 [POSIX] (si_band): Likewise.
27204 [XPG4] (si_value): Likewise.
27205 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
27206 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
27207 [POSIX || XPG3] (ILL_ILLADR): Likewise.
27208 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
27209 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
27210 [POSIX || XPG3] (ILL_PRVREG): Likewise.
27211 [POSIX || XPG3] (ILL_COPROC): Likewise.
27212 [POSIX || XPG3] (ILL_BADSTK): Likewise.
27213 [POSIX || XPG3] (FPE_INTDIV): Likewise.
27214 [POSIX || XPG3] (FPE_INTOVF): Likewise.
27215 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
27216 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
27217 [POSIX || XPG3] (FPE_FLTUND): Likewise.
27218 [POSIX || XPG3] (FPE_FLTRES): Likewise.
27219 [POSIX || XPG3] (FPE_FLTINV): Likewise.
27220 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
27221 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
27222 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
27223 [POSIX || XPG3] (BUS_ADRALN): Likewise.
27224 [POSIX || XPG3] (BUS_ADRERR): Likewise.
27225 [POSIX || XPG3] (BUS_OBJERR): Likewise.
27226 [POSIX || XPG3] (CLD_EXITED): Likewise.
27227 [POSIX || XPG3] (CLD_KILLED): Likewise.
27228 [POSIX || XPG3] (CLD_DUMPED): Likewise.
27229 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
27230 [POSIX || XPG3] (CLD_STOPPED): Likewise.
27231 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
27232 [POSIX || XPG3] (POLL_IN): Likewise.
27233 [POSIX || XPG3] (POLL_OUT): Likewise.
27234 [POSIX || XPG3] (POLL_MSG): Likewise.
27235 [POSIX || XPG3] (POLL_ERR): Likewise.
27236 [POSIX || XPG3] (POLL_PRI): Likewise.
27237 [POSIX || XPG3] (POLL_HUP): Likewise.
27238 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
27239 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
27240 (SIG*): Do not allow.
27241 [XPG3] (si_*): Likewise.
27242 [XPG3] (SI_*): Likewise.
27243 [XPG3 || XPG4] (sigev_*): Likewise.
27244 [XPG3 || XPG4] (SIGEV_*): Likewise.
27245 [XPG3 || XPG4] (sival_*): Likewise.
27246 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
27247 [POSIX || XPG3] (BUS_*): Likewise.
27248 [POSIX || XPG3] (CLD_*): Likewise.
27249 [POSIX || XPG3] (FPE_*): Likewise.
27250 [POSIX || XPG3] (ILL_*): Likewise.
27251 [POSIX || XPG3] (POLL_*): Likewise.
27252 [POSIX || XPG3] (SEGV_*): Likewise.
27253 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
27254 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
27255 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
27256 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
27257 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
27258 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
27259 Specify type and value.
27260 (TVERSLEN): Likewise.
27261 (REGTYPE): Likewise.
27262 (AREGTYPE): Likewise.
27263 (LNKTYPE): Likewise.
27264 (SYMTYPE): Likewise.
27265 (CHRTYPE): Likewise.
27266 (BLKTYPE): Likewise.
27267 (DIRTYPE): Likewise.
27268 (FIFOTYPE): Likewise.
27269 (CONTTYPE): Likewise.
27270 (TSUID): Likewise.
27271 (TSGID): Likewise.
27272 (TSVTX): Likewise.
27273 (TUREAD): Likewise.
27274 (TUWRITE): Likewise.
27275 (TUEXEC): Likewise.
27276 (TGREAD): Likewise.
27277 (TGWRITE): Likewise.
27278 (TGEXEC): Likewise.
27279 (TOREAD): Likewise.
27280 (TOWRITE): Likewise.
27281 (TOEXEC): Likewise.
27282 [POSIX] (TSVTX): Expect constant.
27283
27284 2014-03-06 Joseph Myers <joseph@codesourcery.com>
27285
27286 * Makefile (tests): Change dependencies to ....
27287 (tests-special): ... additions to this variable.
27288 (tests): Depend on $(tests-special).
27289 * Makerules (check-abi-list): New variable.
27290 (check-abi): Depend on $(check-abi-list).
27291 [$(subdir) = elf] (tests-special): Add
27292 $(objpfx)check-abi-libc.out.
27293 [$(build-shared) = yes && subdir] (tests-special): Add
27294 $(check-abi-list).
27295 [$(build-shared) = yes && subdir] (tests): Do not depend on
27296 check-abi.
27297 * Rules (tests): Depend on $(tests-special).
27298 (xtests): Depend on $(xtests-special).
27299 * catgets/Makefile (tests): Change dependencies to ....
27300 (tests-special): ... additions to this variable.
27301 * conform/Makefile (tests): Change dependencies to ....
27302 (tests-special): ... additions to this variable.
27303 * elf/Makefile (tests): Change dependencies to ....
27304 (tests-special): ... additions to this variable.
27305 * grp/Makefile (tests): Change dependencies to ....
27306 (tests-special): ... additions to this variable.
27307 * iconv/Makefile (xtests): Change dependencies to ....
27308 (xtests-special): ... additions to this variable.
27309 * iconvdata/Makefile (tests): Change dependencies to ....
27310 (tests-special): ... additions to this variable.
27311 * intl/Makefile (tests): Change dependencies to ....
27312 (tests-special): ... additions to this variable. Also add
27313 $(objpfx)tst-gettext.out.
27314 * io/Makefile (tests): Change dependencies to ....
27315 (tests-special): ... additions to this variable.
27316 * libio/Makefile (tests): Change dependencies to ....
27317 (tests-special): ... additions to this variable.
27318 * malloc/Makefile (tests): Change dependencies to ....
27319 (tests-special): ... additions to this variable.
27320 * misc/Makefile (tests): Change dependencies to ....
27321 (tests-special): ... additions to this variable.
27322 * nptl/Makefile (tests): Change dependencies to ....
27323 (tests-special): ... additions to this variable.
27324 * nptl_db/Makefile (tests): Change dependencies to ....
27325 (tests-special): ... additions to this variable.
27326 * posix/Makefile (tests): Change dependencies to ....
27327 (tests-special): ... additions to this variable.
27328 (xtests): Change dependencies to ....
27329 (xtests-special): ... additions to this variable.
27330 * resolv/Makefile (tests): Change dependencies to ....
27331 (tests-special): ... additions to this variable.
27332 (xtests): Change dependencies to ....
27333 (xtests-special): ... additions to this variable.
27334 * stdio-common/Makefile (tests): Change dependencies to ....
27335 (tests-special): ... additions to this variable.
27336 (do-tst-unbputc): Remove target.
27337 (do-tst-printf): Likewise.
27338 * stdlib/Makefile (tests): Change dependencies to ....
27339 (tests-special): ... additions to this variable.
27340 * string/Makefile (tests): Change dependencies to ....
27341 (tests-special): ... additions to this variable.
27342 * sysdeps/x86/Makefile (tests): Change dependencies to ....
27343 (tests-special): ... additions to this variable.
27344
27345 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
27346 whole file.
27347 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
27348 whole file.
27349 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
27350 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
27351
27352 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
27353 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
27354 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
27355 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
27356 * conform/data/libgen.h-data [XPG3]: Likewise.
27357 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
27358 * conform/data/ndbm.h-data [XPG3]: Likewise.
27359 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
27360 * conform/data/netdb.h-data [XPG3]: Likewise.
27361 * conform/data/netinet/in.h-data [XPG3]: Likewise.
27362 * conform/data/poll.h-data [XPG3]: Likewise.
27363 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
27364 * conform/data/strings.h-data [XPG3]: Likewise.
27365 * conform/data/stropts.h-data [XPG3]: Likewise.
27366 * conform/data/sys/mman.h-data [XPG3]: Likewise.
27367 * conform/data/sys/resource.h-data [XPG3]: Likewise.
27368 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
27369 Likewise.
27370 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
27371 * conform/data/sys/time.h-data [XPG3]: Likewise.
27372 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
27373 * conform/data/sys/uio.h-data [XPG3]: Likewise.
27374 * conform/data/sys/un.h-data [XPG3]: Likewise.
27375 * conform/data/syslog.h-data [XPG3]: Likewise.
27376 * conform/data/ucontext.h-data [XPG3]: Likewise.
27377 * conform/data/utmpx.h-data [XPG3]: Likewise.
27378 * conform/data/varargs.h-data [UNIX98]: Enable file.
27379
27380 * manual/Makefile (INSTALL_INFO): Remove variable setting.
27381
27382 * math/libm-test.inc (struct test_f_f_data): Move expected results
27383 into structure for each rounding mode.
27384 (struct test_ff_f_data): Likewise.
27385 (struct test_ff_f_data_nexttoward): Likewise.
27386 (struct test_fi_f_data): Likewise.
27387 (struct test_fl_f_data): Likewise.
27388 (struct test_if_f_data): Likewise.
27389 (struct test_fff_f_data): Likewise.
27390 (struct test_c_f_data): Likewise.
27391 (struct test_f_f1_data): Likewise.
27392 (struct test_fF_f1_data): Likewise.
27393 (struct test_ffI_f1_data): Likewise.
27394 (struct test_c_c_data): Likewise.
27395 (struct test_cc_c_data): Likewise.
27396 (struct test_f_i_data): Likewise.
27397 (struct test_ff_i_data): Likewise.
27398 (struct test_f_l_data): Likewise.
27399 (struct test_f_L_data): Likewise.
27400 (struct test_fFF_11_data): Likewise.
27401 (RM_): New macro.
27402 (RM_FE_DOWNWARD): Likewise.
27403 (RM_FE_TONEAREST): Likewise.
27404 (RM_FE_TOWARDZERO): Likewise.
27405 (RM_FE_UPWARD): Likewise.
27406 (RUN_TEST_LOOP_f_f): Update references to expected results.
27407 (RUN_TEST_LOOP_2_f): Likewise.
27408 (RUN_TEST_LOOP_fff_f): Likewise.
27409 (RUN_TEST_LOOP_c_f): Likewise.
27410 (RUN_TEST_LOOP_f_f1): Likewise.
27411 (RUN_TEST_LOOP_fF_f1): Likewise.
27412 (RUN_TEST_LOOP_fI_f1): Likewise.
27413 (RUN_TEST_LOOP_ffI_f1): Likewise.
27414 (RUN_TEST_LOOP_c_c): Likewise.
27415 (RUN_TEST_LOOP_cc_c): Likewise.
27416 (RUN_TEST_LOOP_f_i): Likewise.
27417 (RUN_TEST_LOOP_f_i_tg): Likewise.
27418 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27419 (RUN_TEST_LOOP_f_b): Likewise.
27420 (RUN_TEST_LOOP_f_b_tg): Likewise.
27421 (RUN_TEST_LOOP_f_l): Likewise.
27422 (RUN_TEST_LOOP_f_L): Likewise.
27423 (RUN_TEST_LOOP_fFF_11): Likewise.
27424 * math/gen-libm-test.pl (parse_args): Output four copies of
27425 expected results for each test.
27426
27427 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27428 (__ASSUME_UTIMES): Remove.
27429 * sysdeps/unix/sysv/linux/tile/kernel-features.h
27430 (__ASSUME_UTIMES): Likewise.
27431
27432 * math/gen-auto-libm-tests.c: Update comment on output format.
27433 (output_for_one_input_case): Generate before-rounding and
27434 after-rounding information as conditions on output flags not
27435 floating-point format.
27436 * math/auto-libm-test-out: Regenerated.
27437 * math/gen-libm-test.pl (cond_value): New function.
27438 (or_cond_value): Use cond_value.
27439 (generate_testfile): Handle conditional exceptions.
27440
27441 2014-03-05 Joseph Myers <joseph@codesourcery.com>
27442
27443 * math/libm-test.inc (max_valid_error): New variable.
27444 (init_max_error): Take new argument specifying whether function
27445 results are exactly determined. Set max_valid_error and bound
27446 other variables for errors based on this argument.
27447 (set_max_error): Do not record results above max_valid_error.
27448 (check_float_internal): Only accept errors of up to 0.5ulps if
27449 also at most max_valid_error.
27450 (START): Take new argument EXACT and pass it to init_max_error.
27451 (acos_test): Update call to START.
27452 (acos_test_tonearest): Likewise.
27453 (acos_test_towardzero): Likewise.
27454 (acos_test_downward): Likewise.
27455 (acos_test_upward): Likewise.
27456 (acosh_test): Likewise.
27457 (asin_test): Likewise.
27458 (asin_test_tonearest): Likewise.
27459 (asin_test_towardzero): Likewise.
27460 (asin_test_downward): Likewise.
27461 (asin_test_upward): Likewise.
27462 (asinh_test): Likewise.
27463 (atan_test): Likewise.
27464 (atanh_test): Likewise.
27465 (atan2_test): Likewise.
27466 (cabs_test): Likewise.
27467 (cacos_test): Likewise.
27468 (cacosh_test): Likewise.
27469 (carg_test): Likewise.
27470 (casin_test): Likewise.
27471 (casinh_test): Likewise.
27472 (catan_test): Likewise.
27473 (catanh_test): Likewise.
27474 (cbrt_test): Likewise.
27475 (ccos_test): Likewise.
27476 (ccosh_test): Likewise.
27477 (ceil_test): Likewise.
27478 (cexp_test): Likewise.
27479 (cimag_test): Likewise.
27480 (clog_test): Likewise.
27481 (clog10_test): Likewise.
27482 (conj_test): Likewise.
27483 (copysign_test): Likewise.
27484 (cos_test): Likewise.
27485 (cos_test_tonearest): Likewise.
27486 (cos_test_towardzero): Likewise.
27487 (cos_test_downward): Likewise.
27488 (cos_test_upward): Likewise.
27489 (cosh_test): Likewise.
27490 (cosh_test_tonearest): Likewise.
27491 (cosh_test_towardzero): Likewise.
27492 (cosh_test_downward): Likewise.
27493 (cosh_test_upward): Likewise.
27494 (cpow_test): Likewise.
27495 (cproj_test): Likewise.
27496 (creal_test): Likewise.
27497 (csin_test): Likewise.
27498 (csinh_test): Likewise.
27499 (csqrt_test): Likewise.
27500 (ctan_test): Likewise.
27501 (ctan_test_tonearest): Likewise.
27502 (ctan_test_towardzero): Likewise.
27503 (ctan_test_downward): Likewise.
27504 (ctan_test_upward): Likewise.
27505 (ctanh_test): Likewise.
27506 (ctanh_test_tonearest): Likewise.
27507 (ctanh_test_towardzero): Likewise.
27508 (ctanh_test_downward): Likewise.
27509 (ctanh_test_upward): Likewise.
27510 (erf_test): Likewise.
27511 (erfc_test): Likewise.
27512 (exp_test): Likewise.
27513 (exp_test_tonearest): Likewise.
27514 (exp_test_towardzero): Likewise.
27515 (exp_test_downward): Likewise.
27516 (exp_test_upward): Likewise.
27517 (exp10_test): Likewise.
27518 (exp10_test_tonearest): Likewise.
27519 (exp10_test_towardzero): Likewise.
27520 (exp10_test_downward): Likewise.
27521 (exp10_test_upward): Likewise.
27522 (pow10_test): Likewise.
27523 (exp2_test): Likewise.
27524 (expm1_test): Likewise.
27525 (expm1_test_tonearest): Likewise.
27526 (expm1_test_towardzero): Likewise.
27527 (expm1_test_downward): Likewise.
27528 (expm1_test_upward): Likewise.
27529 (fabs_test): Likewise.
27530 (fdim_test): Likewise.
27531 (floor_test): Likewise.
27532 (fma_test): Likewise.
27533 (fma_test_towardzero): Likewise.
27534 (fma_test_downward): Likewise.
27535 (fma_test_upward): Likewise.
27536 (fmax_test): Likewise.
27537 (fmin_test): Likewise.
27538 (fmod_test): Likewise.
27539 (fpclassify_test): Likewise.
27540 (frexp_test): Likewise.
27541 (hypot_test): Likewise.
27542 (ilogb_test): Likewise.
27543 (isfinite_test): Likewise.
27544 (finite_test): Likewise.
27545 (isgreater_test): Likewise.
27546 (isgreaterequal_test): Likewise.
27547 (isinf_test): Likewise.
27548 (isless_test): Likewise.
27549 (islessequal_test): Likewise.
27550 (islessgreater_test): Likewise.
27551 (isnan_test): Likewise.
27552 (isnormal_test): Likewise.
27553 (issignaling_test): Likewise.
27554 (isunordered_test): Likewise.
27555 (j0_test): Likewise.
27556 (j1_test): Likewise.
27557 (jn_test): Likewise.
27558 (ldexp_test): Likewise.
27559 (lgamma_test): Likewise.
27560 (gamma_test): Likewise.
27561 (lrint_test): Likewise.
27562 (lrint_test_tonearest): Likewise.
27563 (lrint_test_towardzero): Likewise.
27564 (lrint_test_downward): Likewise.
27565 (lrint_test_upward): Likewise.
27566 (llrint_test): Likewise.
27567 (llrint_test_tonearest): Likewise.
27568 (llrint_test_towardzero): Likewise.
27569 (llrint_test_downward): Likewise.
27570 (llrint_test_upward): Likewise.
27571 (log_test): Likewise.
27572 (log10_test): Likewise.
27573 (log1p_test): Likewise.
27574 (log2_test): Likewise.
27575 (logb_test): Likewise.
27576 (logb_test_downward): Likewise.
27577 (lround_test): Likewise.
27578 (llround_test): Likewise.
27579 (modf_test): Likewise.
27580 (nearbyint_test): Likewise.
27581 (nextafter_test): Likewise.
27582 (nexttoward_test): Likewise.
27583 (pow_test): Likewise.
27584 (pow_test_tonearest): Likewise.
27585 (pow_test_towardzero): Likewise.
27586 (pow_test_downward): Likewise.
27587 (pow_test_upward): Likewise.
27588 (remainder_test): Likewise.
27589 (drem_test): Likewise.
27590 (remainder_test_tonearest): Likewise.
27591 (drem_test_tonearest): Likewise.
27592 (remainder_test_towardzero): Likewise.
27593 (drem_test_towardzero): Likewise.
27594 (remainder_test_downward): Likewise.
27595 (drem_test_downward): Likewise.
27596 (remainder_test_upward): Likewise.
27597 (drem_test_upward): Likewise.
27598 (remquo_test): Likewise.
27599 (rint_test): Likewise.
27600 (rint_test_tonearest): Likewise.
27601 (rint_test_towardzero): Likewise.
27602 (rint_test_downward): Likewise.
27603 (rint_test_upward): Likewise.
27604 (round_test): Likewise.
27605 (scalb_test): Likewise.
27606 (scalbn_test): Likewise.
27607 (scalbln_test): Likewise.
27608 (signbit_test): Likewise.
27609 (sin_test): Likewise.
27610 (sin_test_tonearest): Likewise.
27611 (sin_test_towardzero): Likewise.
27612 (sin_test_downward): Likewise.
27613 (sin_test_upward): Likewise.
27614 (sincos_test): Likewise.
27615 (sinh_test): Likewise.
27616 (sinh_test_tonearest): Likewise.
27617 (sinh_test_towardzero): Likewise.
27618 (sinh_test_downward): Likewise.
27619 (sinh_test_upward): Likewise.
27620 (sqrt_test): Likewise.
27621 (sqrt_test_tonearest): Likewise.
27622 (sqrt_test_towardzero): Likewise.
27623 (sqrt_test_downward): Likewise.
27624 (sqrt_test_upward): Likewise.
27625 (tan_test): Likewise.
27626 (tan_test_tonearest): Likewise.
27627 (tan_test_towardzero): Likewise.
27628 (tan_test_downward): Likewise.
27629 (tan_test_upward): Likewise.
27630 (tanh_test): Likewise.
27631 (tgamma_test): Likewise.
27632 (trunc_test): Likewise.
27633 (y0_test): Likewise.
27634 (y1_test): Likewise.
27635 (yn_test): Likewise.
27636 (significand_test): Likewise.
27637
27638 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
27639 individual tests in comment.
27640 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
27641 (prev_max_error): New variable.
27642 (prev_real_max_error): Likewise.
27643 (prev_imag_max_error): Likewise.
27644 (compare_ulp_data): Don't refer to test names in comment.
27645 (find_test_ulps): Remove function.
27646 (find_function_ulps): Likewise.
27647 (find_complex_function_ulps): Likewise.
27648 (init_max_error): Take function name as argument. Look up ulps
27649 for that function.
27650 (print_ulps): Remove function.
27651 (print_max_error): Use prev_max_error instead of calling
27652 find_function_ulps.
27653 (print_complex_max_error): Use prev_real_max_error and
27654 prev_imag_max_error instead of calling find_complex_function_ulps.
27655 (check_float_internal): Take max_ulp parameter instead of calling
27656 find_test_ulps. Don't call print_ulps.
27657 (check_float): Update call to check_float_internal.
27658 (check_complex): Update calls to check_float_internal.
27659 (START): Pass argument to init_max_error.
27660 * math/gen-libm-test.pl (%results): Don't include "kind"
27661 information.
27662 (parse_ulps): Don't handle ulps of individual tests.
27663 (print_ulps_file): Likewise.
27664 (output_ulps): Likewise.
27665 * math/README.libm-test: Update.
27666 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
27667 individual tests.
27668 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
27669 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
27670 * sysdeps/arm/libm-test-ulps: Likewise.
27671 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27672 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
27673 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
27674 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
27675 * sysdeps/microblaze/libm-test-ulps: Likewise.
27676 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27677 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27678 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27679 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
27680 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27681 * sysdeps/sh/libm-test-ulps: Likewise.
27682 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27683 * sysdeps/tile/libm-test-ulps: Likewise.
27684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27685
27686 2014-03-04 Joseph Myers <joseph@codesourcery.com>
27687
27688 * math/libm-test.inc (print_complex_max_error): Check separately
27689 whether real and imaginary errors are within allowed range and
27690 pass 0 to print_complex_function_ulps instead of value within
27691 allowed range.
27692
27693 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27694
27695 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
27696 formatting.
27697 (get_handles_fopen): Likewise.
27698 (do_write_test): Likewise.
27699
27700 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
27701
27702 * libio/fileops.c (do_ftell): Use cached offset when
27703 available.
27704 * libio/iofwide.c (do_ftell_wide): Likewise.
27705 * libio/iofdopen.c (_IO_new_fdopen): Don't use
27706 _IO_file_attach.
27707 * libio/wfileops.c (_IO_fwide): Don't cache offset.
27708
27709 [BZ #16532]
27710 * libio/libioP.h (get_file_offset): New function.
27711 * libio/fileops.c (get_file_offset): Likewise.
27712 (do_ftell): Likewise.
27713 (_IO_new_file_seekoff): Split out ftell logic.
27714 * libio/wfileops.c (do_ftell_wide): Likewise.
27715 (_IO_wfile_seekoff): Split out ftell logic.
27716 * libio/tst-ftell-active-handler.c: New test case.
27717 * libio/Makefile (tests): Add it.
27718
27719 2014-03-03 Roland McGrath <roland@hack.frob.com>
27720
27721 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
27722 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
27723
27724 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27725
27726 [BZ #16639]
27727 * nscd/connections.c (nscd_init): Call do_exit.
27728 (start_threads): Call do_exit and notify_parent.
27729 (begin_drop_privileges): Call do_exit.
27730 (finish_drop_privileges): Likewise.
27731 * nscd/selinux.c (preserve_capabilities): Likewise.
27732 (install_real_capabilities): Likewise.
27733 (nscd_selinux_enabled): Likewise.
27734 (avc_create_thread): Likewise.
27735 (avc_alloc_lock): Likewise.
27736 (nscd_avc_init): Likewise.
27737 * nscd/nscd.c (parent_fd): New static variable.
27738 (main): Create a pipe between parent and child processes.
27739 Skip closing parent_fd.
27740 (monitor_child): New function.
27741 (do_exit): Likewise.
27742 (notify_parent): Likewise.
27743 * nscd/nscd.h (notify_parent): Likewise.
27744 (do_exit): Likewise.
27745
27746 2014-03-03 Carlos O'Donell <carlos@redhat.com>
27747
27748 * malloc/malloc.c (__libc_calloc): Revert last change.
27749
27750 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27751
27752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27753
27754 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27755
27756 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
27757 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
27758 implementation.
27759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27760 (__libc_ifunc_impl_list): Likewise.
27761 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
27762 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
27763 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
27764 * string/strrchr.c: Define STRRCHR.
27765
27766 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
27767
27768 * benchtest/bench-strtok.c (simple_strtok): Delete.
27769 (strtok_string): Use as benchmark.
27770 * string/strtok (STRTOK): New macro.
27771
27772 2014-02-28 Carlos O'Donell <carlos@redhat.com>
27773
27774 * manual/threads.texi: Add header and standard comments to all
27775 functions.
27776
27777 * elf/dl-lookup.c (check_match): New function.
27778 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
27779 (do_lookup_x): Remove nested function check_match. Use non-nested
27780 function check_match.
27781
27782 2014-02-28 Roland McGrath <roland@hack.frob.com>
27783
27784 * csu/Makefile (generated, before-compile): Use += rather than =.
27785 * catgets/Makefile (generated, generated-dirs): Likewise.
27786 * debug/Makefile (generated): Likewise.
27787 * dlfcn/Makefile (generated): Likewise.
27788 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
27789 * iconvdata/Makefile (before-compile, generated): Likewise.
27790 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
27791 * libio/Makefile (generated): Likewise.
27792 * malloc/Makefile (generated): Likewise.
27793 * manual/Makefile (generated, generated-dirs): Likewise.
27794 * misc/Makefile (generated): Likewise.
27795 * posix/Makefile (generated): Likewise.
27796 * resolv/Makefile (generated): Likewise.
27797 * sunrpc/Makefile (generated, generated-dirs): Likewise.
27798 * timezone/Makefile (generated, generated-dirs): Likewise.
27799
27800 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
27801
27802 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27803
27804 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27805 power8 implementation.
27806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
27807 file: POWER8 llround ifunc implementation.
27808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
27809 (__lllround): Add POWER8 implementation.
27810 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
27811 POWER8 llround implementation.
27812
27813 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
27814 power8 implementation.
27815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
27816 file: POWER8 llrint ifunc implementation.
27817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
27818 Add POWER8 implementation.
27819 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
27820 POWER8 llrint implementation.
27821
27822 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
27823 power8 implementation.
27824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
27825 file: POWER8 finite ifunc implementation.
27826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
27827 Add POWER8 implementation.
27828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
27829 Likewise.
27830 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
27831 POWER8 finite implementation.
27832 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
27833
27834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
27835 power8 implementation.
27836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
27837 file: POWER8 isinf ifunc implementation.
27838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
27839 POWER8 implementation.
27840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
27841 Likewise.
27842 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
27843 isinf implementation.
27844 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
27845
27846 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
27847 (INIT_ARCH): Add hwcap2 initialization.
27848 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27849 power8 implementation.
27850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
27851 file: POWER8 isnan ifunc implementation.
27852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
27853 POWER8 implementation.
27854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
27855 Likewise.
27856 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
27857 isnan implementation.
27858 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
27859
27860 2014-02-27 Joey Ye <joey.ye@arm.com>
27861
27862 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
27863 (_FP_NANFRAC_Q): Set to zero.
27864
27865 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27866
27867 [BZ #16623]
27868 * math/auto-libm-test-in: New test inputs.
27869 * math/auto-libm-test-out: Regenerate.
27870 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
27871 and DA.
27872 (__cos): Likewise.
27873 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27874
27875 2014-02-27 Joseph Myers <joseph@codesourcery.com>
27876
27877 * scripts/evaluate-test.sh: Take new argument indicating whether
27878 failure is expected.
27879 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
27880 indicating whether failure is expected.
27881 * conform/Makefile (test-xfail-run-conformtest): New variable.
27882 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
27883 level.
27884 * posix/Makefile (test-xfail-annexc): New variable.
27885 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
27886
27887 2014-02-26 Joseph Myers <joseph@codesourcery.com>
27888
27889 * argp/Makefile: Include Makeconfig immediately after defining
27890 subdir.
27891 * assert/Makefile: Likewise.
27892 * benchtests/Makefile: Likewise.
27893 * catgets/Makefile: Likewise.
27894 * conform/Makefile: Likewise.
27895 * crypt/Makefile: Likewise.
27896 * csu/Makefile: Likewise.
27897 (all): Remove target.
27898 * ctype/Makefile: Include Makeconfig immediately after defining
27899 subdir.
27900 * debug/Makefile: Likewise.
27901 * dirent/Makefile: Likewise.
27902 * dlfcn/Makefile: Likewise.
27903 * gmon/Makefile: Likewise.
27904 * gnulib/Makefile: Likewise.
27905 * grp/Makefile: Likewise.
27906 * gshadow/Makefile: Likewise.
27907 * hesiod/Makefile: Likewise.
27908 * hurd/Makefile: Likewise.
27909 (all): Remove target.
27910 * iconvdata/Makefile: Include Makeconfig immediately after
27911 defining subdir.
27912 * inet/Makefile: Likewise.
27913 * intl/Makefile: Likewise.
27914 * io/Makefile: Likewise.
27915 * libio/Makefile: Likewise.
27916 (all): Remove target.
27917 * locale/Makefile: Include Makeconfig immediately after defining
27918 subdir.
27919 * login/Makefile: Likewise.
27920 * mach/Makefile: Likewise.
27921 (all): Remove target.
27922 * malloc/Makefile: Include Makeconfig immediately after defining
27923 subdir.
27924 (all): Remove target.
27925 * manual/Makefile: Include Makeconfig immediately after defining
27926 subdir.
27927 * math/Makefile: Likewise.
27928 * misc/Makefile: Likewise.
27929 * nis/Makefile: Likewise.
27930 * nss/Makefile: Likewise.
27931 * po/Makefile: Likewise.
27932 (all): Remove target.
27933 * posix/Makefile: Include Makeconfig immediately after defining
27934 subdir.
27935 * pwd/Makefile: Likewise.
27936 * resolv/Makefile: Likewise.
27937 * resource/Makefile: Likewise.
27938 * rt/Makefile: Likewise.
27939 * setjmp/Makefile: Likewise.
27940 * shadow/Makefile: Likewise.
27941 * signal/Makefile: Likewise.
27942 * socket/Makefile: Likewise.
27943 * soft-fp/Makefile: Likewise.
27944 * stdio-common/Makefile: Likewise.
27945 * stdlib/Makefile: Likewise.
27946 * streams/Makefile: Likewise.
27947 * string/Makefile: Likewise.
27948 * sunrpc/Makefile: Likewise.
27949 (all): Remove target.
27950 * sysvipc/Makefile: Include Makeconfig immediately after defining
27951 subdir.
27952 * termios/Makefile: Likewise.
27953 * time/Makefile: Likewise.
27954 * timezone/Makefile: Likewise.
27955 (all): Remove target.
27956 * wcsmbs/Makefile: Include Makeconfig immediately after defining
27957 subdir.
27958 * wctype/Makefile: Likewise.
27959
27960 2014-02-26 Steve Ellcey <sellcey@mips.com>
27961
27962 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
27963 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
27964 (libc_feholdexcept_setround_mips): Ditto.
27965 (libc_feholdsetround): New.
27966 (libc_feholdsetroundf): New.
27967 (libc_feholdsetroundl): New.
27968 (libc_feupdateenv_test_mips): New.
27969 (libc_feupdateenv_test): New.
27970 (libc_feupdateenv_testf): New.
27971 (libc_feupdateenv_testl): New.
27972 (libc_feresetround): New.
27973 (libc_feresetroundf): New.
27974 (libc_feresetroundl): New.
27975 (libc_fetestexcept_mips): New.
27976 (libc_fetestexcept): New.
27977 (libc_fetestexceptf): New.
27978 (libc_fetestexceptl): New.
27979 (HAVE_RM_CTX): New.
27980 (libc_feholdexcept_setround_mips_ctx): New.
27981 (libc_feholdexcept_setround_ctx): New.
27982 (libc_feholdexcept_setroundf_ctx): New.
27983 (libc_feholdexcept_setroundl_ctx): New.
27984 (libc_fesetenv_mips_ctx): New.
27985 (libc_fesetenv_ctx): New.
27986 (libc_fesetenv_ctxf): New.
27987 (libc_fesetenv_ctxl): New.
27988 (libc_feupdateenv_mips_ctx): New.
27989 (libc_feupdateenv_ctx): New.
27990 (libc_feupdateenvf_ctx): New.
27991 (libc_feupdateenvl_ctx): New.
27992 (libc_feholdsetround_mips_ctx): New.
27993 (libc_feholdsetround_ctx): New.
27994 (libc_feholdsetroundf_ctx): New.
27995 (libc_feholdsetroundl_ctx): New.
27996 (libc_feresetround_mips_ctx): New.
27997 (libc_feresetround_ctx): New.
27998 (libc_feresetroundf_ctx): New.
27999 (libc_feresetroundl_ctx): New.
28000
28001 2014-02-26 Carlos O'Donell <carlos@redhat.com>
28002
28003 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
28004
28005 * manual/ipc.texi: New file.
28006 * manual/Makefile (chapters): Add ipc.
28007 * manual/job.texi: Add "Inter-Process Communication" to next.
28008 * manual/process.texi: Add "Inter-Process Communication" to prev.
28009
28010 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28011
28012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28013
28014 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
28015
28016 * malloc/malloc.c (__libc_calloc): Simplify implementation.
28017
28018 * manual/arith.texi: Fix spaces after sentences.
28019 * manual/charset.texi: Likewise.
28020 * manual/errno.texi: Likewise.
28021 * manual/install.texi: Likewise.
28022 * manual/llio.texi: Likewise.
28023 * manual/locale.texi: Likewise.
28024 * manual/maint.texi: Likewise.
28025 * manual/math.texi: Likewise.
28026 * manual/memory.texi: Likewise.
28027 * manual/message.texi: Likewise.
28028 * manual/probes.texi: Likewise.
28029 * manual/resource.texi: Likewise.
28030 * manual/signal.texi: Likewise.
28031 * manual/socket.texi: Likewise.
28032 * manual/stdio.texi: Likewise.
28033 * manual/string.texi: Likewise.
28034 * manual/time.texi: Likewise.
28035 * manual/users.texi: Likewise.
28036
28037 2014-02-25 Carlos O'Donell <carlos@redhat.com>
28038
28039 [BZ #16632]
28040 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
28041 _DEFAULT_SOURCE is defined.
28042
28043 2014-02-25 Ulrich Drepper <drepper@gmail.com>
28044 Carlos O'Donell <carlos@redhat.com>
28045
28046 [BZ #16613]
28047 * elf/dl-tls.c (_dl_count_modids): New function.
28048 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
28049 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
28050 audit library and increment generation counter.
28051 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
28052 * elf/tst-audit9.c: New file.
28053 * elf/tst-auditmod9a.c: New file.
28054 * elf/tst-auditmod9b.c: New file.
28055 * elf/Makefile: Add rules to build and run tst-audit9.
28056
28057 2014-02-25 Florian Weimer <fweimer@redhat.com>
28058
28059 [BZ #15347]
28060 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
28061
28062 2014-02-25 Will Newton <will.newton@linaro.org>
28063
28064 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
28065 (__longjmp): Restore sp and lr before restoring callee
28066 saved registers. Add longjmp and longjmp_target
28067 SystemTap probe point.
28068 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
28069 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
28070 Define to zero to match jmpbuf layout.
28071 * sysdeps/arm/setjmp.S: Include stap-probe.h.
28072 (__sigsetjmp): Save sp and lr before saving callee
28073 saved registers. Add setjmp SystemTap probe point.
28074
28075 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
28076
28077 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28078
28079 2014-02-24 Andreas Schwab <schwab@suse.de>
28080
28081 [BZ #15804]
28082 * elf/pldd.c (wait_for_ptrace_stop): New function.
28083 (main): Call it after attaching.
28084
28085 2014-02-22 Roland McGrath <roland@hack.frob.com>
28086
28087 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
28088 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
28089 Versions files is now verboten.
28090 * hurd/Versions (libc: GLIBC_2.0):
28091 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
28092 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
28093 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
28094 * mach/Versions: Likewise.
28095
28096 * csu/Versions: Remove unused %include.
28097 * resolv/Versions: Likewise.
28098
28099 2014-02-21 Joseph Myers <joseph@codesourcery.com>
28100
28101 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
28102 ($(objpfx)check-local-headers.out): Likewise.
28103 ($(objpfx)begin-end-check.out): Likewise.
28104 * Makerules (check-abi-%.out): Likewise.
28105 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
28106 ($(objpfx)test2.cat): Likewise.
28107 ($(objpfx)de/libc.cat): Likewise.
28108 ($(objpfx)test-gencat.out): Likewise.
28109 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
28110 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
28111 ($(objpfx)noload-mem): Likewise.
28112 ($(objpfx)tst-pathopt.out): Likewise.
28113 ($(objpfx)tst-rtld-load-self.out): Likewise.
28114 ($(objpfx)tst-array1-cmp.out): Likewise.
28115 ($(objpfx)tst-array1-static-cmp.out): Likewise.
28116 ($(objpfx)tst-array2-cmp.out): Likewise.
28117 ($(objpfx)tst-array3-cmp.out): Likewise.
28118 ($(objpfx)tst-array4-cmp.out): Likewise.
28119 ($(objpfx)tst-array5-cmp.out): Likewise.
28120 ($(objpfx)tst-array5-static-cmp.out): Likewise.
28121 ($(objpfx)check-textrel.out): Likewise.
28122 ($(objpfx)check-execstack.out): Likewise.
28123 ($(objpfx)check-localplt.out): Likewise.
28124 ($(objpfx)order2-cmp.out): Likewise.
28125 ($(objpfx)tst-leaks1-mem): Likewise.
28126 ($(objpfx)tst-leaks1-static-mem): Likewise.
28127 ($(objpfx)tst-initorder-cmp.out): Likewise.
28128 ($(objpfx)tst-initorder2-cmp.out): Likewise.
28129 ($(objpfx)tst-unused-dep.out): Likewise.
28130 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
28131 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
28132 * iconv/Makefile (test-iconvconfig): Likewise.
28133 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
28134 ($(objpfx)iconv-test.out): Likewise.
28135 ($(objpfx)tst-tables.out): Likewise.
28136 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
28137 ($(objpfx)tst-gettext.out): Likewise.
28138 ($(objpfx)tst-translit.out): Likewise.
28139 ($(objpfx)tst-gettext2.out): Likewise.
28140 ($(objpfx)tst-gettext4.out): Likewise.
28141 ($(objpfx)tst-gettext6.out): Likewise.
28142 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
28143 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
28144 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
28145 ($(objpfx)tst-fopenloc-mem.out): Likewise.
28146 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
28147 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
28148 * posix/Makefile ($(objpfx)globtest.out): Likewise.
28149 ($(objpfx)wordexp-tst.out): Likewise.
28150 ($(objpfx)annexc.out): Likewise.
28151 ($(objpfx)tst-fnmatch-mem): Likewise.
28152 ($(objpfx)bug-regex2-mem): Likewise.
28153 ($(objpfx)bug-regex14-mem): Likewise.
28154 ($(objpfx)bug-regex21-mem): Likewise.
28155 ($(objpfx)bug-regex31-mem): Likewise.
28156 ($(objpfx)tst-vfork3-mem): Likewise.
28157 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
28158 ($(objpfx)tst-pcre-mem): Likewise.
28159 ($(objpfx)tst-boost-mem): Likewise.
28160 ($(objpfx)tst-getconf.out): Likewise.
28161 ($(objpfx)bug-ga2-mem): Likewise.
28162 ($(objpfx)bug-glob2-mem): Likewise.
28163 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
28164 ($(objpfx)mtrace-tst-leaks2): Likewise.
28165 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
28166 ($(objpfx)tst-printf.out): Likewise.
28167 ($(objpfx)tst-setvbuf1.out): Likewise.
28168 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
28169 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
28170 ($(objpfx)tst-fmtmsg.out): Likewise.
28171 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
28172 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
28173
28174 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
28175 * bits/sigaction.h [__USE_MISC]: Likewise.
28176 * bits/waitstatus.h: Update #endif comments.
28177 * ctype/ctype.h: Likewise.
28178 * dirent/dirent.h: Likewise.
28179 [__USE_MISC]: Remove redundant conditionals.
28180 * grp/grp.h: Update #endif comments.
28181 [__USE_GNU]: Remove redundant conditionals.
28182 [__USE_MISC]: Likewise.
28183 * inet/netinet/in.h [__USE_GNU]: Likewise.
28184 * io/sys/stat.h [__USE_MISC]: Likewise.
28185 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
28186 * libio/bits/stdio.h: Update #endif comments.
28187 [__USE_MISC]: Remove redundant conditionals.
28188 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
28189 * libio/stdio.h: Update #endif comments.
28190 [__USE_MISC]: Remove redundant conditionals.
28191 * math/bits/math-finite.h [__USE_MISC]: Likewise.
28192 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
28193 * math/math.h: Update #else and #endif comments.
28194 [__USE_MISC]: Remove redundant conditionals.
28195 * misc/sys/uio.h: Update #endif comments.
28196 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
28197 * posix/glob.h [__USE_MISC]: Likewise.
28198 * posix/sys/types.h: Update #endif comments.
28199 [__USE_MISC]: Remove redundant conditionals.
28200 * posix/sys/wait.h: Update #endif comments.
28201 [__USE_MISC]: Remove redundant conditionals.
28202 * posix/unistd.h: Update #endif comments.
28203 [__USE_MISC]: Remove redundant conditionals.
28204 * pwd/pwd.h [__USE_GNU]: Likewise.
28205 [__USE_MISC]: Likewise.
28206 * resolv/netdb.h [__USE_GNU]: Likewise.
28207 * signal/signal.h: Update #endif comments.
28208 [__USE_MISC]: Remove redundant conditionals.
28209 * stdlib/stdlib.h: Update #else and #endif comments.
28210 [__USE_MISC]: Remove redundant conditionals.
28211 [__USE_GNU]: Likewise.
28212 * string/bits/string2.h [__USE_MISC]: Likewise.
28213 * string/string.h: Update #endif comments.
28214 [__USE_MISC]: Remove redundant conditionals.
28215 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
28216 Likewise.
28217 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
28218 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
28219 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
28220 Likewise.
28221 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
28222 Likewise.
28223 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
28224 comments.
28225 [__USE_MISC]: Remove redundant conditionals.
28226 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
28227 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
28228 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
28229 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
28230 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
28231 Likewise.
28232 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
28233 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
28234 Likewise.
28235 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
28236 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
28237 Likewise.
28238 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
28239 Likewise.
28240 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
28241 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
28242 Likewise.
28243 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
28244 Likewise.
28245 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
28246 * sysdeps/x86/bits/string.h: Update #endif comments.
28247 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
28248 conditionals.
28249 * time/sys/time.h: Update #endif comments.
28250 * time/time.h: Likewise.
28251 [__USE_MISC]: Remove redundant conditionals.
28252
28253 2014-02-21 Yury Gribov <y.gribov@samsung.com>
28254
28255 [BZ #16600]
28256 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
28257
28258 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
28259
28260 * Versions.def (librt): Add GLIBC_2.17.
28261
28262 2014-02-21 Adam Conrad <adconrad@0c3.net>
28263
28264 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
28265 synonym for _SYS_AUXV_H to allow direct inclusion.
28266 * sysdeps/sparc/bits/hwcap.h: Likewise.
28267 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
28268 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
28269 * sysdeps/sparc/sysdep.h: Likewise.
28270
28271 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28272
28273 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
28274
28275 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28276
28277 * benchtests/bench-strrchr.c: Print length instead of position.
28278
28279 2014-02-20 Joseph Myers <joseph@codesourcery.com>
28280
28281 [BZ #16611]
28282 * sysdeps/unix/sysv/linux/kernel-features.h
28283 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
28284 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
28285 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
28286 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
28287 Likewise.
28288 [__i386__ || __powerpc__ || __sh__ || __sparc__]
28289 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28290 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
28291 (__ASSUME_SENDMMSG): Define instead of using previous
28292 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
28293 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28294 (__ASSUME_SENDMMSG_SYSCALL): Define.
28295 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28296 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
28297 Likewise.
28298 * sysdeps/unix/sysv/linux/arm/kernel-features.h
28299 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
28300 Likewise.
28301 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28302 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
28303 Likewise.
28304 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
28305 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
28306 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
28307 [__ASSUME_SENDMMSG]: Change conditionals to
28308 [__ASSUME_SENDMMSG_SOCKETCALL].
28309 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28310 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
28311 Define.
28312 * sysdeps/unix/sysv/linux/mips/kernel-features.h
28313 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
28314 Likewise.
28315 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
28316 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
28317 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
28318 [!__ASSUME_SENDMMSG]: Change conditional to
28319 [!__ASSUME_SENDMMSG_SOCKETCALL].
28320 * sysdeps/unix/sysv/linux/tile/kernel-features.h
28321 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
28322 Define.
28323
28324 [BZ #16610]
28325 * sysdeps/unix/sysv/linux/kernel-features.h
28326 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
28327 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
28328 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
28329 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
28330 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28331 [__i386__ || __sparc__]
28332 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28333 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
28334 (__ASSUME_RECVMMSG): Define instead of using previous
28335 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
28336 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28337 (__ASSUME_RECVMMSG_SYSCALL): Define.
28338 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28339 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28340 Likewise.
28341 * sysdeps/unix/sysv/linux/arm/kernel-features.h
28342 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28343 Likewise.
28344 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28345 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28346 Likewise.
28347 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
28348 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
28349 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
28350 [__ASSUME_RECVMMSG]: Change condition to
28351 [__ASSUME_RECVMMSG_SOCKETCALL].
28352 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28353 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28354 Define.
28355 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28356 * sysdeps/unix/sysv/linux/mips/kernel-features.h
28357 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28358 Likewise.
28359 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
28360 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
28361 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
28362 [!__ASSUME_RECVMMSG]: Change condition to
28363 [!__ASSUME_RECVMMSG_SOCKETCALL].
28364 * sysdeps/unix/sysv/linux/tile/kernel-features.h
28365 (__ASSUME_RECVMMSG_SYSCALL): Define.
28366
28367 [BZ #16609]
28368 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
28369 __powerpc__ || __s390__ || __sh__ || __sparc__]
28370 (__ASSUME_SOCKETCALL): Define.
28371 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
28372 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
28373 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
28374 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
28375 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28376 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28377 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
28378 (__ASSUME_ACCEPT4): Define instead of using previous
28379 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
28380 __powerpc__ || __sparc__ || __s390__)] condition.
28381 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28382 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
28383 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
28384 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
28385 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
28386 [!__ASSUME_ACCEPT4]: Change condition to
28387 [!__ASSUME_ACCEPT4_SOCKETCALL].
28388 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28389 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
28390 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
28391 * sysdeps/unix/sysv/linux/arm/kernel-features.h
28392 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
28393 __ASSUME_ACCEPT4_SYSCALL.
28394 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
28395 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
28396 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28397 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
28398 __ASSUME_ACCEPT4_SYSCALL.
28399 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
28400 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
28401 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
28402 [__ASSUME_ACCEPT4]: Change condition to
28403 [__ASSUME_ACCEPT4_SOCKETCALL].
28404 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28405 (__ASSUME_SOCKETCALL): Define.
28406 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
28407 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28408 (__ASSUME_SOCKETCALL): Define.
28409 (__ASSUME_ACCEPT4): Remove.
28410 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
28411 Define.
28412 * sysdeps/unix/sysv/linux/mips/kernel-features.h
28413 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
28414 Likewise.
28415 * sysdeps/unix/sysv/linux/tile/kernel-features.h
28416 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
28417
28418 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
28419 macro.
28420 (HWCAP_ARM_LPAE): Likewise.
28421 (HWCAP_ARM_EVTSTRM): Likewise.
28422 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
28423 Add vpfd32, lpae and evtstrm.
28424 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
28425 Increase to 22.
28426
28427 2014-02-19 Joseph Myers <joseph@codesourcery.com>
28428
28429 * math/auto-libm-test-in: Add tests of clog10.
28430 * math/auto-libm-test-out: Regenerated.
28431 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
28432 * sysdeps/i386/fpu/libm-test-ulps: Update.
28433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28434
28435 2014-02-18 Andreas Schwab <schwab@suse.de>
28436
28437 [BZ #16574]
28438 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
28439 Store non-zero if the second buffer was newly allocated.
28440 (send_dg): Likewise.
28441 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
28442 to send_vc and send_dg.
28443 (res_nsend): Pass NULL for ansp2_malloced.
28444 * resolv/res_query.c (__libc_res_nquery): Add parameter
28445 answerp2_malloced and pass it down to __libc_res_nsend.
28446 (res_nquery): Pass additional NULL to __libc_res_nquery.
28447 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
28448 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
28449 second answer buffer if answerp2_malloced was set.
28450 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
28451 (__libc_res_nquerydomain): Add parameter
28452 answerp2_malloced and pass it down to __libc_res_nquery.
28453 (res_nquerydomain): Pass additional NULL to
28454 __libc_res_nquerydomain.
28455 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
28456 additional NULL to __libc_res_nsend and __libc_res_nquery.
28457 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
28458 additional NULL to __libc_res_nsearch.
28459 (_nss_dns_gethostbyname4_r): Revert last change. Use new
28460 parameter of __libc_res_nsearch to check for separately allocated
28461 second buffer.
28462 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
28463 __libc_res_nquery.
28464 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
28465 additional NULL to __libc_res_nquery.
28466 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
28467 __libc_res_nsearch.
28468 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
28469 * include/resolv.h: Update prototypes of __libc_res_nquery,
28470 __libc_res_nsearch, __libc_res_nsend.
28471
28472 2014-02-18 Joseph Myers <joseph@codesourcery.com>
28473
28474 * math/auto-libm-test-in: Add tests of fma.
28475 * math/auto-libm-test-out: Regenerated.
28476 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
28477 (fma_towardzero_test_data): Likewise.
28478 (fma_downward_test_data): Likewise.
28479 (fma_upward_test_data): Likewise.
28480 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
28481 mpc_mode.
28482 (rounding_modes): Add values for new field.
28483 (func_calc_method): Add value mpfr_fff_f.
28484 (func_calc_desc): Add mpfr_fff_f union field.
28485 (test_function): Add field exact_args.
28486 (FUNC): Add macro argument EXACT_ARGS.
28487 (FUNC_mpfr_f_f): Update call to FUNC.
28488 (FUNC_mpfr_f_f): Likewise.
28489 (FUNC_mpfr_ff_f): Likewise.
28490 (FUNC_mpfr_if_f): Likewise.
28491 (FUNC_mpc_c_f): Likewise.
28492 (FUNC_mpc_c_c): Likewise.
28493 (test_functions): Add fma. Update calls to FUNC.
28494 (handle_input_arg): Add argument exact_args.
28495 (add_test): Update call to handle_input_arg.
28496 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
28497 (output_for_one_input_case): Update call to calc_generic_results.
28498 Recalculate exact zero results in each rounding mode.
28499
28500 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
28501 non-negative before setting low bit.
28502 * math/auto-libm-test-in: Mark one asin test possibly having
28503 spurious underflow.
28504 * math/auto-libm-test-out: Regenerated.
28505 * sysdeps/i386/fpu/libm-test-ulps: Update.
28506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28507
28508 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
28509
28510 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
28511 * sysdeps/unix/sysv/linux/microblaze: Move directory from
28512 ports/sysdeps/unix/sysv/linux/microblaze.
28513 * README: Add missing listing for microblaze*-*-linux-gnu.
28514
28515 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
28516
28517 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
28518 duplicate code
28519
28520 2014-02-16 Mike Frysinger <vapier@gentoo.org>
28521
28522 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
28523 * sysdeps/unix/sysv/linux/ia64: Move directory from
28524 ports/sysdeps/unix/sysv/linux/ia64.
28525 * README: Update listing for ia64-*-linux-gnu.
28526
28527 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
28528 Joseph Myers <joseph@codesourcery.com>
28529
28530 * Makeconfig (test-name): New variable.
28531 (evaluate-test): Likewise.
28532 * Makerules (do-test-clean): Remove .test-result files.
28533 (common-mostlyclean): Likewise.
28534 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
28535 * scripts/evaluate-test.sh: New file.
28536
28537 2014-02-14 Joseph Myers <joseph@codesourcery.com>
28538
28539 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
28540 separate $(objpfx)tst-fopenloc-cmp.out and
28541 $(objpfx)tst-fopenloc-mem.out targets.
28542 (tests): Update dependencies.
28543 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
28544 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
28545 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
28546 (tst-rxspencer-no-utf8-ARGS): New variable.
28547 (tst-rxspencer-no-utf8-ENV): Likewise.
28548 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
28549 instead of $(objpfx)tst-rxspencer-mem.
28550 ($(objpfx)tst-rxspencer-mem): Change target to
28551 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
28552 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
28553 * posix/tst-rxspencer-no-utf8.c: New file.
28554
28555 * elf/Makefile ($(objpfx)order.out): Remove rule.
28556 [$(run-built-tests) = yes] (tests): Depend on
28557 $(objpfx)order-cmp.out.
28558 ($(objpfx)order-cmp.out): New rule.
28559 [$(run-built-tests) = yes] (tests): Depend on
28560 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
28561 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
28562 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
28563 $(objpfx)tst-array5-static-cmp.out.
28564 ($(objpfx)tst-array1.out): Remove rule.
28565 ($(objpfx)tst-array1-cmp.out): New rule.
28566 ($(objpfx)tst-array1-static.out): Remove rule.
28567 ($(objpfx)tst-array1-static-cmp.out): New rule.
28568 ($(objpfx)tst-array2.out): Remove rule.
28569 ($(objpfx)tst-array2-cmp.out): New rule.
28570 ($(objpfx)tst-array3.out): Remove rule.
28571 ($(objpfx)tst-array3-cmp.out): New rule.
28572 ($(objpfx)tst-array4.out): Remove rule.
28573 ($(objpfx)tst-array4-cmp.out): New rule.
28574 ($(objpfx)tst-array5.out): Remove rule.
28575 ($(objpfx)tst-array5-cmp.out): New rule.
28576 ($(objpfx)tst-array5-static.out): Remove rule.
28577 ($(objpfx)tst-array5-static-cmp.out): New rule.
28578 [$(run-built-tests) = yes] (tests): Depend on
28579 $(objpfx)order2-cmp.out.
28580 ($(objpfx)order2.out): Remove rule.
28581 ($(objpfx)order2-cmp.out): New rule.
28582 ($(objpfx)tst-initorder.out): Remove rule.
28583 [$(run-built-tests) = yes] (tests): Depend on
28584 $(objpfx)tst-initorder-cmp.out.
28585 ($(objpfx)tst-initorder-cmp.out): New rule.
28586 ($(objpfx)tst-initorder2.out): Remove rule.
28587 [$(run-built-tests) = yes] (tests): Depend on
28588 $(objpfx)tst-initorder2-cmp.out.
28589 ($(objpfx)tst-initorder2-cmp.out): New rule.
28590 [$(run-built-tests) = yes] (tests): Depend on
28591 $(objpfx)tst-unused-dep-cmp.out.
28592 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
28593 ($(objpfx)tst-unused-dep-cmp.out): New rule.
28594 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
28595 on $(objpfx)tst-setvbuf1-cmp.out.
28596 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
28597 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
28598 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
28599 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
28600 ($(objpfx)tst-svc.out): Remove rule.
28601 ($(objpfx)tst-svc-cmp.out): New rule.
28602
28603 2014-02-13 Joseph Myers <joseph@codesourcery.com>
28604
28605 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
28606 * ctype/ctype.h [__USE_MISC]: Likewise.
28607 * dirent/dirent.h [__USE_MISC]: Likewise.
28608 * grp/grp.h [__USE_MISC]: Likewise.
28609 * io/fcntl.h [__USE_MISC]: Likewise.
28610 * io/sys/stat.h [__USE_MISC]: Likewise.
28611 * libio/stdio.h [__USE_MISC]: Likewise.
28612 * posix/unistd.h [__USE_MISC]: Likewise.
28613 * pwd/pwd.h [__USE_MISC]: Likewise.
28614 * stdlib.h [__USE_MISC]: Likewise.
28615 * string/bits/string2.h [__USE_MISC]: Likewise.
28616 * string/string.h [__USE_MISC]: Likewise.
28617 * time/time.h [__USE_MISC]: Likewise.
28618
28619 2014-02-13 Andreas Schwab <schwab@suse.de>
28620
28621 [BZ #16574]
28622 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
28623 second answer buffer if it was separately allocated.
28624
28625 2014-02-12 Joseph Myers <joseph@codesourcery.com>
28626
28627 * sysdeps/mips/math-tests.h: Include <features.h>.
28628 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
28629 (ROUNDING_TESTS_long_double): Do not define.
28630 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
28631 (EXCEPTION_TESTS_long_double): Likewise.
28632 * sysdeps/mips/mips64/libm-test-ulps: Update.
28633
28634 * include/features.h (__USE_BSD): Remove macro definitions.
28635 (__USE_SVID): Likewise.
28636 (_BSD_SOURCE): Likewise.
28637 (_SVID_SOURCE): Likewise.
28638 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
28639 from definition of _DEFAULT_SOURCE.
28640 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
28641 [_DEFAULT_SOURCE].
28642 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
28643 * bits/mman.h [__USE_BSD]: Likewise.
28644 * bits/termios.h [__USE_BSD]: Likewise.
28645 * bits/waitstatus.h [__USE_BSD]: Likewise.
28646 * ctype/ctype.h [__USE_SVID]: Likewise.
28647 * dirent/dirent.h [__USE_BSD]: Likewise.
28648 * grp/grp.h [__USE_SVID]: Likewise.
28649 [__USE_BSD]: Likewise.
28650 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
28651 * io/fcntl.h [__USE_BSD]: Likewise.
28652 * io/ftw.h [__USE_BSD]: Likewise.
28653 * io/sys/stat.h [__USE_BSD]: Likewise.
28654 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
28655 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
28656 * libio/stdio.h [__USE_SVID]: Likewise.
28657 [__USE_BSD]: Likewise.
28658 * math/math.h [__USE_SVID]: Likewise.
28659 [__USE_BSD]: Likewise.
28660 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
28661 * misc/bits/syslog.h [__USE_BSD]: Likewise.
28662 * misc/search.h [__USE_SVID]: Likewise.
28663 * misc/sys/mman.h [__USE_BSD]: Likewise.
28664 * misc/sys/syslog.h [__USE_BSD]: Likewise.
28665 * misc/sys/uio.h [__USE_BSD]: Likewise.
28666 * posix/bits/unistd.h [__USE_BSD]: Likewise.
28667 * posix/glob.h [__USE_BSD]: Likewise.
28668 * posix/regex.h [__USE_BSD]: Likewise.
28669 * posix/sys/types.h [__USE_BSD]: Likewise.
28670 [__USE_SVID]: Likewise.
28671 * posix/sys/utsname.h [__USE_SVID]: Likewise.
28672 * posix/sys/wait.h [__USE_BSD]: Likewise.
28673 [__USE_SVID]: Likewise.
28674 * posix/unistd.h [__USE_BSD]: Likewise.
28675 [__USE_SVID]: Likewise.
28676 * pwd/pwd.h [__USE_SVID]: Likewise.
28677 * resolv/netdb.h [__USE_BSD]: Likewise.
28678 * setjmp/setjmp.h [__USE_BSD]: Likewise.
28679 * signal/signal.h [__USE_BSD]: Likewise.
28680 [__USE_SVID]: Likewise.
28681 * socket/sys/socket.h [__USE_BSD]: Likewise.
28682 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
28683 * stdlib/stdlib.h [__USE_BSD]: Likewise.
28684 [__USE_SVID]: Likewise.
28685 * string/bits/string2.h [__USE_BSD]: Likewise.
28686 [__USE_SVID]: Likewise.
28687 * string/bits/string3.h [__USE_BSD]: Likewise.
28688 * string/endian.h [__USE_BSD]: Likewise.
28689 * string/string.h [__USE_SVID]: Likewise.
28690 [__USE_BSD]: Likewise.
28691 * string/strings.h [__USE_BSD]: Likewise.
28692 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
28693 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
28694 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
28695 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
28696 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
28697 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
28698 Likewise.
28699 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
28700 Likewise.
28701 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
28702 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
28703 Likewise.
28704 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
28705 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
28706 Likewise.
28707 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
28708 Likewise.
28709 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
28710 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
28711 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
28712 Likewise.
28713 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
28714 Likewise.
28715 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
28716 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
28717 * termios/termios.h [__USE_BSD]: Likewise.
28718 * time/sys/time.h [__USE_BSD]: Likewise.
28719 * time/time.h [__USE_BSD]: Likewise.
28720 [__USE_SVID]: Likewise.
28721
28722 * Makefile (subdir_targets): Remove subdir_lint.out.
28723
28724 * stdio-common/Makefile (do-tst-unbputc): Remove target.
28725 (do-tst-printf): Likewise.
28726 (tests): Depend directly on $(objpfx)tst-unbputc.out and
28727 $(objpfx)tst-printf.out.
28728
28729 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
28730
28731 * Makerules (check-abi-%): Change target to
28732 $(objpfx)check-abi-%.out.
28733 (check-abi target): Update dependencies.
28734 (check-abi-pattern variable): Redirect output of diff to $@.
28735 (check-abi variable): Likewise.
28736 * elf/Makefile (check-abi): Update dependencies.
28737
28738 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
28739 unused.
28740 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
28741 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
28742 subnormal range.
28743 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
28744 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
28745 value has largest subnormal exponent.
28746 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
28747 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
28748 * sysdeps/aarch64/soft-fp/sfp-machine.h
28749 (_FP_TININESS_AFTER_ROUNDING): New macro.
28750 * sysdeps/alpha/soft-fp/sfp-machine.h
28751 (_FP_TININESS_AFTER_ROUNDING): Likewise.
28752 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
28753 Likewise.
28754 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
28755 (_FP_TININESS_AFTER_ROUNDING): Likewise.
28756 * sysdeps/mips/soft-fp/sfp-machine.h
28757 (_FP_TININESS_AFTER_ROUNDING): Likewise.
28758 * sysdeps/powerpc/soft-fp/sfp-machine.h
28759 (_FP_TININESS_AFTER_ROUNDING): Likewise.
28760 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
28761 Likewise.
28762 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28763 (_FP_TININESS_AFTER_ROUNDING): Likewise.
28764 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28765 (_FP_TININESS_AFTER_ROUNDING): Likewise.
28766 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
28767 Likewise.
28768
28769 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
28770
28771 [BZ #16545]
28772 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
28773 model 1.
28774
28775 2014-02-12 Richard Henderson <rth@redhat.com>
28776
28777 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
28778 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
28779 * sysdeps/unix/sysv/linux/alpha: Move directory from
28780 ports/sysdeps/unix/sysv/linux/alpha.
28781 * README: Update listing for alpha-*-linux-gnu.
28782
28783 2014-02-11 Joseph Myers <joseph@codesourcery.com>
28784
28785 * include/features.h: Update comment documenting feature test
28786 macros.
28787 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
28788 _DEFAULT_SOURCE.
28789 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
28790 (_SVID_SOURCE): Likewise.
28791 (_DEFAULT_SOURCE): Update description of default features.
28792 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
28793 with _GNU_SOURCE.
28794 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
28795 (S_ISVTX): Likewise.
28796 * manual/math.texi (Mathematical Constants): Likewise.
28797 * manual/signal.texi (Interrupted Primitives): Likewise.
28798 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
28799 * math/test-matherr.c (_SVID_SOURCE): Do not define.
28800 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
28801 Don't refer to _SVID_SOURCE in warning text.
28802
28803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28804
28805 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
28806 already defined.
28807 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
28808 * sysdeps/mips/dl-lookup.c: Remove.
28809 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
28810
28811 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
28812
28813 [BZ #16447]
28814 * math/auto-libm-test-in: Add testcase for expl.
28815 * math/auto-libm-test-out: Regenerate.
28816 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
28817 calculation of unsafe.
28818 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
28819
28820 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
28821
28822 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
28823 * sysdeps/unix/sysv/linux/aarch64: Move directory from
28824 ports/sysdeps/unix/sysv/linux/aarch64.
28825 * README: Update listing for aarch64*-*-linux-gnu.
28826
28827 2014-02-11 Will Newton <will.newton@linaro.org>
28828
28829 * manual/probes.texi (Mathematical Function Probes): Use
28830 "triggered" instead of "hit".
28831
28832 * manual/probes.texi (Internal Probes): Add documentation
28833 of setjmp, longjmp and longjmp_target probes.
28834
28835 * include/stap-probe.h: Add comment about probe argument
28836 format.
28837
28838 * malloc/mtrace.c (attribute_hidden): Remove unused macro
28839 definition. (tr_where, tr_freehook, tr_mallochook,
28840 tr_reallochook, tr_memalignhook): Use ANSI protoype.
28841
28842 2014-02-11 David S. Miller <davem@davemloft.net>
28843
28844 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
28845 processing int_tests.
28846
28847 2014-02-10 Joseph Myers <joseph@codesourcery.com>
28848
28849 * sysdeps/mips: Move directory from ports/sysdeps/mips.
28850 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
28851 * sysdeps/unix/sysv/linux/mips: Move directory from
28852 ports/sysdeps/unix/sysv/linux/mips.
28853 * README: Update listing for mips-*-linux-gnu and
28854 mips64-*-linux-gnu.
28855
28856 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
28857
28858 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
28859 * sysdeps/unix/sysv/linux/m68k: Move directory from
28860 ports/sysdeps/unix/sysv/linux/m68k.
28861 * README: Update listing for m68k-*-linux-gnu.
28862
28863 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
28864
28865 * sysdeps/tile: Move directory from ports/sysdeps/tile.
28866 * sysdeps/unix/sysv/linux/generic: Move directory from
28867 ports/sysdeps/unix/sysv/linux/generic.
28868 * sysdeps/unix/sysv/linux/tile: Move directory from
28869 ports/sysdeps/unix/sysv/linux/tile.
28870 * README: Update listing for tile*-*-linux-gnu.
28871
28872 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
28873
28874 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
28875 __builtin_expect.
28876 * benchtests/bench-memmem.c (simple_memmem): Likewise.
28877 * catgets/open_catalog.c (__open_catalog): Likewise.
28878 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
28879 * debug/confstr_chk.c: Likewise.
28880 * debug/fread_chk.c (__fread_chk): Likewise.
28881 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
28882 * debug/getgroups_chk.c: Likewise.
28883 * debug/mbsnrtowcs_chk.c: Likewise.
28884 * debug/mbsrtowcs_chk.c: Likewise.
28885 * debug/mbstowcs_chk.c: Likewise.
28886 * debug/memcpy_chk.c: Likewise.
28887 * debug/memmove_chk.c: Likewise.
28888 * debug/mempcpy_chk.c: Likewise.
28889 * debug/memset_chk.c: Likewise.
28890 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
28891 * debug/strcat_chk.c (__strcat_chk): Likewise.
28892 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
28893 * debug/strncat_chk.c (__strncat_chk): Likewise.
28894 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
28895 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
28896 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
28897 * debug/wcpncpy_chk.c: Likewise.
28898 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
28899 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
28900 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
28901 * debug/wcsncpy_chk.c: Likewise.
28902 * debug/wcsnrtombs_chk.c: Likewise.
28903 * debug/wcsrtombs_chk.c: Likewise.
28904 * debug/wcstombs_chk.c: Likewise.
28905 * debug/wmemcpy_chk.c: Likewise.
28906 * debug/wmemmove_chk.c: Likewise.
28907 * debug/wmempcpy_chk.c: Likewise.
28908 * debug/wmemset_chk.c: Likewise.
28909 * dirent/scandirat.c (SCANDIRAT): Likewise.
28910 * dlfcn/dladdr1.c (dladdr1): Likewise.
28911 * dlfcn/dladdr.c (dladdr): Likewise.
28912 * dlfcn/dlclose.c (dlclose_doit): Likewise.
28913 * dlfcn/dlerror.c (__dlerror): Likewise.
28914 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
28915 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
28916 * dlfcn/dlopen.c (dlopen_doit): Likewise.
28917 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
28918 * dlfcn/dlsym.c (dlsym_doit): Likewise.
28919 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
28920 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
28921 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
28922 Likewise.
28923 * elf/dl-conflict.c: Likewise.
28924 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28925 * elf/dl-dst.h: Likewise.
28926 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
28927 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
28928 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28929 * elf/dl-init.c (call_init, _dl_init): Likewise.
28930 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
28931 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
28932 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
28933 Likewise.
28934 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
28935 Likewise.
28936 * elf/dl-minimal.c (__libc_memalign): Likewise.
28937 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
28938 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
28939 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
28940 * elf/dl-sym.c (do_sym): Likewise.
28941 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
28942 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
28943 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
28944 * elf/dl-writev.h (_dl_writev): Likewise.
28945 * elf/ldconfig.c (search_dir): Likewise.
28946 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
28947 (dl_main): Likewise.
28948 * elf/setup-vdso.h (setup_vdso): Likewise.
28949 * grp/compat-initgroups.c (compat_call): Likewise.
28950 * grp/fgetgrent.c (fgetgrent): Likewise.
28951 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
28952 * grp/putgrent.c (putgrent): Likewise.
28953 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28954 Likewise.
28955 * hurd/hurdinit.c: Likewise.
28956 * iconvdata/8bit-gap.c (struct): Likewise.
28957 * iconvdata/ansi_x3.110.c : Likewise.
28958 * iconvdata/big5.c : Likewise.
28959 * iconvdata/big5hkscs.c : Likewise.
28960 * iconvdata/cp1255.c: Likewise.
28961 * iconvdata/cp1258.c : Likewise.
28962 * iconvdata/cp932.c : Likewise.
28963 * iconvdata/euc-cn.c: Likewise.
28964 * iconvdata/euc-jisx0213.c : Likewise.
28965 * iconvdata/euc-jp.c: Likewise.
28966 * iconvdata/euc-jp-ms.c : Likewise.
28967 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
28968 * iconvdata/gb18030.c : Likewise.
28969 * iconvdata/gbbig5.c (const): Likewise.
28970 * iconvdata/gbgbk.c: Likewise.
28971 * iconvdata/gbk.c : Likewise.
28972 * iconvdata/ibm1364.c : Likewise.
28973 * iconvdata/ibm930.c : Likewise.
28974 * iconvdata/ibm932.c: Likewise.
28975 * iconvdata/ibm933.c : Likewise.
28976 * iconvdata/ibm935.c : Likewise.
28977 * iconvdata/ibm937.c : Likewise.
28978 * iconvdata/ibm939.c : Likewise.
28979 * iconvdata/ibm943.c: Likewise.
28980 * iconvdata/iso_11548-1.c: Likewise.
28981 * iconvdata/iso-2022-cn.c : Likewise.
28982 * iconvdata/iso-2022-cn-ext.c : Likewise.
28983 * iconvdata/iso-2022-jp-3.c: Likewise.
28984 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
28985 * iconvdata/iso-2022-kr.c : Likewise.
28986 * iconvdata/iso646.c (gconv_end): Likewise.
28987 * iconvdata/iso_6937-2.c : Likewise.
28988 * iconvdata/iso_6937.c : Likewise.
28989 * iconvdata/iso8859-1.c: Likewise.
28990 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
28991 * iconvdata/shift_jisx0213.c : Likewise.
28992 * iconvdata/sjis.c : Likewise.
28993 * iconvdata/t.61.c : Likewise.
28994 * iconvdata/tcvn5712-1.c : Likewise.
28995 * iconvdata/tscii.c: Likewise.
28996 * iconvdata/uhc.c : Likewise.
28997 * iconvdata/unicode.c (gconv_end): Likewise.
28998 * iconvdata/utf-16.c (gconv_end): Likewise.
28999 * iconvdata/utf-32.c (gconv_end): Likewise.
29000 * iconvdata/utf-7.c (base64): Likewise.
29001 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29002 * iconv/gconv_close.c (__gconv_close): Likewise.
29003 * iconv/gconv_open.c (__gconv_open): Likewise.
29004 * iconv/gconv_simple.c (internal_ucs4_loop_single)
29005 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
29006 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
29007 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
29008 (ucs4le_internal_loop_single): Likewise.
29009 * iconv/iconv.c (iconv): Likewise.
29010 * iconv/iconv_close.c: Likewise.
29011 * iconv/loop.c (SINGLE): Likewise.
29012 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
29013 * include/atomic.h: Likewise.
29014 * inet/inet6_option.c (option_alloc): Likewise.
29015 * intl/bindtextdom.c (set_binding_values): Likewise.
29016 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
29017 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
29018 * intl/localealias.c (read_alias_file): Likewise.
29019 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
29020 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
29021 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
29022 * libio/fmemopen.c (fmemopen): Likewise.
29023 * libio/iofgets.c (_IO_fgets): Likewise.
29024 * libio/iofgets_u.c (fgets_unlocked): Likewise.
29025 * libio/iofgetws.c (fgetws): Likewise.
29026 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
29027 * libio/iogetdelim.c (_IO_getdelim): Likewise.
29028 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
29029 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
29030 * locale/findlocale.c (_nl_find_locale): Likewise.
29031 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29032 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
29033 Likewise.
29034 * locale/setlocale.c (setlocale): Likewise.
29035 * login/programs/pt_chown.c (main): Likewise.
29036 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
29037 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
29038 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
29039 (mmap, mmap64, mremap, munmap): Likewise.
29040 * math/e_exp2l.c: Likewise.
29041 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
29042 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
29043 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
29044 * math/s_catan.c (__catan): Likewise.
29045 * math/s_catanf.c (__catanf): Likewise.
29046 * math/s_catanh.c (__catanh): Likewise.
29047 * math/s_catanhf.c (__catanhf): Likewise.
29048 * math/s_catanhl.c (__catanhl): Likewise.
29049 * math/s_catanl.c (__catanl): Likewise.
29050 * math/s_ccosh.c (__ccosh): Likewise.
29051 * math/s_ccoshf.c (__ccoshf): Likewise.
29052 * math/s_ccoshl.c (__ccoshl): Likewise.
29053 * math/s_cexp.c (__cexp): Likewise.
29054 * math/s_cexpf.c (__cexpf): Likewise.
29055 * math/s_cexpl.c (__cexpl): Likewise.
29056 * math/s_clog10.c (__clog10): Likewise.
29057 * math/s_clog10f.c (__clog10f): Likewise.
29058 * math/s_clog10l.c (__clog10l): Likewise.
29059 * math/s_clog.c (__clog): Likewise.
29060 * math/s_clogf.c (__clogf): Likewise.
29061 * math/s_clogl.c (__clogl): Likewise.
29062 * math/s_csin.c (__csin): Likewise.
29063 * math/s_csinf.c (__csinf): Likewise.
29064 * math/s_csinh.c (__csinh): Likewise.
29065 * math/s_csinhf.c (__csinhf): Likewise.
29066 * math/s_csinhl.c (__csinhl): Likewise.
29067 * math/s_csinl.c (__csinl): Likewise.
29068 * math/s_csqrt.c (__csqrt): Likewise.
29069 * math/s_csqrtf.c (__csqrtf): Likewise.
29070 * math/s_csqrtl.c (__csqrtl): Likewise.
29071 * math/s_ctan.c (__ctan): Likewise.
29072 * math/s_ctanf.c (__ctanf): Likewise.
29073 * math/s_ctanh.c (__ctanh): Likewise.
29074 * math/s_ctanhf.c (__ctanhf): Likewise.
29075 * math/s_ctanhl.c (__ctanhl): Likewise.
29076 * math/s_ctanl.c (__ctanl): Likewise.
29077 * math/w_pow.c: Likewise.
29078 * math/w_powf.c: Likewise.
29079 * math/w_powl.c: Likewise.
29080 * math/w_scalb.c (sysv_scalb): Likewise.
29081 * math/w_scalbf.c (sysv_scalbf): Likewise.
29082 * math/w_scalbl.c (sysv_scalbl): Likewise.
29083 * misc/error.c (error_tail): Likewise.
29084 * misc/pselect.c (__pselect): Likewise.
29085 * nis/nis_callback.c (__nis_create_callback): Likewise.
29086 * nis/nis_call.c (__nisfind_server): Likewise.
29087 * nis/nis_creategroup.c (nis_creategroup): Likewise.
29088 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
29089 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
29090 * nis/nis_getservlist.c (nis_getservlist): Likewise.
29091 * nis/nis_lookup.c (nis_lookup): Likewise.
29092 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
29093 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
29094 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
29095 * nis/nis_xdr.c (xdr_endpoint): Likewise.
29096 * nis/nss_compat/compat-grp.c (getgrent_next_file)
29097 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
29098 * nis/nss_compat/compat-initgroups.c (add_group)
29099 (internal_getgrent_r): Likewise.
29100 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
29101 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
29102 * nis/nss_compat/compat-spwd.c (getspent_next_file)
29103 (internal_getspnam_r): Likewise.
29104 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
29105 (_nss_nis_getaliasbyname_r): Likewise.
29106 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
29107 (_nss_nis_getntohost_r): Likewise.
29108 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
29109 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
29110 (_nss_nis_getgrgid_r): Likewise.
29111 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
29112 (internal_nis_gethostent_r, internal_gethostbyname2_r)
29113 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
29114 (_nss_nis_gethostbyname4_r): Likewise.
29115 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
29116 (initgroups_netid): Likewise.
29117 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
29118 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
29119 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
29120 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
29121 (_nss_nis_getprotobynumber_r): Likewise.
29122 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
29123 (_nss_nis_getsecretkey): Likewise.
29124 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
29125 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
29126 (_nss_nis_getpwuid_r): Likewise.
29127 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
29128 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
29129 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
29130 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
29131 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
29132 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
29133 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
29134 Likewise.
29135 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
29136 (_nss_nisplus_getntohost_r): Likewise.
29137 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
29138 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
29139 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
29140 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
29141 Likewise.
29142 * nis/nss_nisplus/nisplus-initgroups.c
29143 (_nss_nisplus_initgroups_dyn): Likewise.
29144 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
29145 (_nss_nisplus_getnetbyaddr_r): Likewise.
29146 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
29147 (_nss_nisplus_getprotobynumber_r): Likewise.
29148 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
29149 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
29150 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
29151 Likewise.
29152 * nis/nss_nisplus/nisplus-service.c
29153 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
29154 (_nss_nisplus_getservbyport_r): Likewise.
29155 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
29156 (_nss_nisplus_getspnam_r): Likewise.
29157 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
29158 Likewise.
29159 * nscd/aicache.c (addhstaiX): Likewise.
29160 * nscd/cache.c (cache_search, prune_cache): Likewise.
29161 * nscd/connections.c (register_traced_file, send_ro_fd)
29162 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
29163 (main_loop_epoll): Likewise.
29164 * nscd/grpcache.c (addgrbyX): Likewise.
29165 * nscd/hstcache.c (addhstbyX): Likewise.
29166 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29167 * nscd/mem.c (gc, mempool_alloc): Likewise.
29168 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
29169 (addinnetgrX): Likewise.
29170 * nscd/nscd-client.h (__nscd_acquire_maplock)
29171 (__nscd_drop_map_ref): Likewise.
29172 * nscd/nscd_getai.c (__nscd_getai): Likewise.
29173 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29174 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
29175 Likewise.
29176 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29177 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29178 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
29179 (__nscd_get_map_ref): Likewise.
29180 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29181 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
29182 Likewise.
29183 * nscd/pwdcache.c (addpwbyX): Likewise.
29184 * nscd/selinux.c (preserve_capabilities): Likewise.
29185 * nscd/servicescache.c (addservbyX): Likewise.
29186 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
29187 * posix/fnmatch.c (fnmatch): Likewise.
29188 * posix/getopt.c (_getopt_internal_r): Likewise.
29189 * posix/glob.c (glob, glob_in_dir): Likewise.
29190 * posix/wordexp.c (exec_comm_child): Likewise.
29191 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
29192 (getanswer_r, gaih_getanswer_slice): Likewise.
29193 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
29194 * resolv/res_init.c: Likewise.
29195 * resolv/res_mkquery.c (res_nmkquery): Likewise.
29196 * resolv/res_query.c (__libc_res_nquery): Likewise.
29197 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
29198 Likewise.
29199 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
29200 * stdio-common/perror.c (perror): Likewise.
29201 * stdio-common/printf_fp.c (___printf_fp): Likewise.
29202 * stdio-common/tmpnam.c (tmpnam): Likewise.
29203 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29204 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29205 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29206 Likewise.
29207 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
29208 * stdlib/putenv.c (putenv): Likewise.
29209 * stdlib/setenv.c (__add_to_environ): Likewise.
29210 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29211 * stdlib/strtol_l.c (INTERNAL): Likewise.
29212 * string/memmem.c (memmem): Likewise.
29213 * string/strerror.c (strerror): Likewise.
29214 * string/strnlen.c (__strnlen): Likewise.
29215 * string/test-memmem.c (simple_memmem): Likewise.
29216 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
29217 * sunrpc/pm_getport.c (__get_socket): Likewise.
29218 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
29219 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
29220 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
29221 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
29222 Likewise.
29223 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
29224 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29225 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
29226 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
29227 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
29228 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
29229 Likewise.
29230 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
29231 Likewise.
29232 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29233 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29234 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29235 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29236 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
29237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
29238 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
29239 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
29240 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
29241 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
29242 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29243 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
29244 Likewise.
29245 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
29246 Likewise.
29247 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
29248 Likewise.
29249 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
29250 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29251 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
29252 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
29253 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
29254 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
29255 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29256 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
29257 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
29258 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
29259 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
29260 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29261 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29262 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
29263 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29264 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29265 Likewise.
29266 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
29267 Likewise.
29268 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
29269 Likewise.
29270 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
29271 Likewise.
29272 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29273 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29274 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
29275 Likewise.
29276 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
29277 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
29278 * sysdeps/posix/opendir.c (__opendirat): Likewise.
29279 * sysdeps/posix/sleep.c: Likewise.
29280 * sysdeps/posix/tempname.c: Likewise.
29281 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
29282 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29283 Likewise.
29284 * sysdeps/powerpc/powerpc32/dl-machine.h
29285 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
29286 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29287 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29288 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
29289 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
29290 Likewise.
29291 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
29292 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
29293 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
29294 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
29295 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
29296 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
29297 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
29298 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
29299 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29300 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
29301 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
29302 (elf_machine_lazy_rel): Likewise.
29303 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29304 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
29305 (elf_machine_lazy_rel): Likewise.
29306 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
29307 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
29308 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
29309 * sysdeps/unix/grantpt.c (grantpt): Likewise.
29310 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
29311 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
29312 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
29313 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29314 Likewise.
29315 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29316 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29317 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
29318 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
29319 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29320 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29321 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
29322 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
29323 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
29324 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29325 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29326 Likewise.
29327 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
29328 (__posix_fallocate64_l64): Likewise.
29329 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
29330 (posix_fallocate): Likewise.
29331 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
29332 Likewise.
29333 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29334 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
29335 (getifaddrs_internal): Likewise.
29336 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
29337 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
29338 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29339 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
29340 * sysdeps/unix/sysv/linux/posix_fallocate64.c
29341 (__posix_fallocate64_l64): Likewise.
29342 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
29343 Likewise.
29344 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
29345 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
29346 (__get_clockfreq): Likewise.
29347 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
29348 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
29349 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
29350 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29351 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29352 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
29353 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
29354 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
29355 Likewise.
29356 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
29357 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
29358 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29359 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
29360 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29361 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
29362 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
29363 Likewise.
29364 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29365 (posix_fallocate): Likewise.
29366 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29367 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29368 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
29369 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
29370 (elf_machine_rela, elf_machine_rela_relative)
29371 (elf_machine_lazy_rel): Likewise.
29372 * time/asctime.c (asctime_internal): Likewise.
29373 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
29374 * time/tzset.c (__tzset_parse_tz): Likewise.
29375 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29376 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29377 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
29378 * wcsmbs/wcsmbsload.h: Likewise.
29379
29380 [BZ #15894]
29381 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
29382
29383 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
29384 (arena_get2): Remove THREAD_STATS conditionals.
29385 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
29386 (__malloc_stats, int): Likewise.
29387
29388 2014-02-08 Mike Frysinger <vapier@gentoo.org>
29389
29390 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
29391 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
29392
29393 * manual/setjmp.texi: Fix typos/grammar errors.
29394
29395 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
29396 Only return early when n is <= 0. Delete unused return statement.
29397
29398 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
29399 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
29400 * debug/tst-longjmp_chk3.c: New file.
29401
29402 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
29403 (test_main): Replace code with set_fortify_handler call.
29404 * debug/test-strcpy_chk.c: Likewise.
29405 * debug/tst-chk1.c: Likewise.
29406 * debug/tst-longjmp_chk.c: Likewise.
29407 * test-skeleton.c: Include fcntl.h & paths.h
29408 (set_fortify_handler): Define.
29409
29410 * debug/tst-longjmp_chk.c: Add header comment and include
29411 ../test-skeleton.c.
29412 (do_test): Mark static.
29413 (TEST_FUNCTION): Define.
29414
29415 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
29416 (IP_PMTUDISC_INTERFACE): Likewise.
29417 (IP_MULTICAST_IF): Likewise.
29418 (IP_MULTICAST_TTL): Likewise.
29419 (IP_MULTICAST_LOOP): Likewise.
29420 (IP_ADD_MEMBERSHIP): Likewise.
29421 (IP_DROP_MEMBERSHIP): Likewise.
29422 (IP_UNBLOCK_SOURCE): Likewise.
29423 (IP_BLOCK_SOURCE): Likewise.
29424 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
29425 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
29426 (IP_MSFILTER): Likewise.
29427 (MCAST_JOIN_GROUP): Likewise.
29428 (MCAST_BLOCK_SOURCE): Likewise.
29429 (MCAST_UNBLOCK_SOURCE): Likewise.
29430 (MCAST_LEAVE_GROUP): Likewise.
29431 (MCAST_JOIN_SOURCE_GROUP): Likewise.
29432 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
29433 (MCAST_MSFILTER): Likewise.
29434 (IP_MULTICAST_ALL): Likewise.
29435 (IP_UNICAST_IF): Likewise.
29436
29437 * timezone/Makefile: Delete $(have-ksh) check.
29438 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
29439 * timezone/tzselect.ksh: Add +x mode bits.
29440
29441 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
29442 (ANON_INODE_FS_MAGIC): Likewise.
29443 (BDEVFS_MAGIC): Likewise.
29444 (BINFMTFS_MAGIC): Likewise.
29445 (BTRFS_TEST_MAGIC): Likewise.
29446 (CRAMFS_MAGIC_WEND): Likewise.
29447 (DEBUGFS_MAGIC): Likewise.
29448 (ECRYPTFS_SUPER_MAGIC): Likewise.
29449 (EXT3_SUPER_MAGIC): Likewise.
29450 (EXT4_SUPER_MAGIC): Likewise.
29451 (FUTEXFS_SUPER_MAGIC): Likewise.
29452 (HOSTFS_SUPER_MAGIC): Likewise.
29453 (HUGETLBFS_MAGIC): Likewise.
29454 (MINIX3_SUPER_MAGIC): Likewise.
29455 (MTD_INODE_FS_MAGIC): Likewise.
29456 (NILFS_SUPER_MAGIC): Likewise.
29457 (OPENPROM_SUPER_MAGIC): Likewise.
29458 (PIPEFS_MAGIC): Likewise.
29459 (PSTOREFS_MAGIC): Likewise.
29460 (QNX6_SUPER_MAGIC): Likewise.
29461 (RAMFS_MAGIC): Likewise.
29462 (REISERFS_SUPER_MAGIC_STRING): Likewise.
29463 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
29464 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
29465 (SECURITYFS_MAGIC): Likewise.
29466 (SELINUX_MAGIC): Likewise.
29467 (SMACK_MAGIC): Likewise.
29468 (SOCKFS_MAGIC): Likewise.
29469 (SQUASHFS_MAGIC): Likewise.
29470 (STACK_END_MAGIC): Likewise.
29471 (TMPFS_MAGIC): Likewise.
29472 (USBDEVICE_SUPER_MAGIC): Likewise.
29473 (V9FS_MAGIC): Likewise.
29474 (XENFS_SUPER_MAGIC): Likewise.
29475 (CRAMFS_MAGIC): Fix typo in comment.
29476 (EXT2_SUPER_MAGIC): Update comment.
29477 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
29478
29479 2014-02-08 Joseph Myers <joseph@codesourcery.com>
29480
29481 * sysdeps/arm: Move directory from ports/sysdeps/arm.
29482 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
29483 * sysdeps/unix/sysv/linux/arm: Move directory from
29484 ports/sysdeps/unix/sysv/linux/arm.
29485 * README: Update listing for arm-*-linux-gnueabi.
29486
29487 * README: Remove mention of am33.
29488
29489 2014-02-07 Roland McGrath <roland@hack.frob.com>
29490
29491 * bits/sigset.h (__sigemptyset): Use a statement expression rather
29492 than the comma operator, to avoid "rhs of comma has no effect"
29493 compiler warnings.
29494 (__sigfillset, __sigandset, __sigorset): Likewise.
29495 * include/signal.h (__sigemptyset): Likewise.
29496 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
29497
29498 2014-02-07 Allan McRae <allan@archlinux.org>
29499
29500 * version.h (RELEASE): Set to "development".
29501 (VERSION): Set to "2.19.90"
29502 * NEWS: Add 2.20 section.
29503
29504 2014-02-06 Carlos O'Donell <carlos@redhat.com>
29505
29506 [BZ #16529]
29507 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
29508
29509 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29510
29511 * manual/contrib.texi: Update entry for Carlos O'Donell,
29512 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
29513
29514 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
29515
29516 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
29517
29518 * sysdeps/unix/sysv/linux/kernel-features.h
29519 [__LINUX_KERNEL_VERSION >= 0x020621]
29520 (__ASSUME_PROC_PID_TASK_COMM): Define.
29521
29522 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29523
29524 [BZ #16398]
29525 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
29526 conversion when destination buffer does not have enough space.
29527 * libio/tst-ftell-partial-wide.c: New test case.
29528 * libio/Makefile (tests): Add tst-ftell-partial-wide.
29529
29530 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
29531 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
29532 Leonard and Allan McRae.
29533
29534 2014-02-04 David S. Miller <davem@davemloft.net>
29535
29536 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
29537 32-bit.
29538
29539 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29540
29541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
29542 New file
29543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
29544 New file
29545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
29546 New file.
29547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
29548 New file.
29549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
29550 New file.
29551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
29552 New file.
29553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
29554 New file.
29555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
29556 New file.
29557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
29558 New file.
29559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
29560 New file.
29561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
29562 New file.
29563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
29564 New file.
29565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
29566 New file.
29567
29568 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29569
29570 * nptl/shlib-versions: Change powerpc*le start to 2.17.
29571 * shlib-versions: Likewise.
29572
29573 2014-02-04 Roland McGrath <roland@hack.frob.com>
29574 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29575
29576 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
29577 (abilist-pattern): New variable, set to %-le.abilist.
29578
29579 * Makerules (abilist-pattern): New variable.
29580 (vpath): Use $(abilist-pattern) in place of %.abilist.
29581 (check-abi-% pattern rule): Likewise.
29582 (check-abi, update-abi): Likewise.
29583
29584 2014-02-04 Eric Wong <normalperson@yhbt.net>
29585
29586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29587
29588 2014-02-03 Carlos O'Donell <carlos@redhat.com>
29589
29590 * manual/startup.texi: Add next, previous, and top entries for
29591 the `Program Arguments' and `Environment Variables' nodes.
29592
29593 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
29594
29595 * manual/macros.texi: Add comments before MTASC-safety macros.
29596
29597 * manual/users.texi: Document MTASC-safety properties.
29598
29599 * manual/threads.texi (pthread_key_create, pthread_key_delete)
29600 (pthread_getspecific, pthread_setspecific): Format with
29601 @deftypefun, and add @safety note.
29602 * manual/signal.texi: Move comments that analyze the above
29603 functions to their home place.
29604
29605 2014-02-03 Allan McRae <allan@archlinux.org>
29606
29607 * po/sl.po: Update Slovenian translation from translation project.
29608
29609 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
29610
29611 * manual/time.texi (timegm): Add missing blank after @c.
29612 Reported by Joseph Myers <joseph@codesourcery.com>.
29613
29614 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
29615
29616 * manual/check-safety.sh: New.
29617 * manual/Makefile ($(objpfx)stamp-summary): Run it.
29618
29619 * manual/terminal.texi: Document MTASC-safety properties.
29620
29621 * manual/filesys.texi: Document MTASC-safety properties.
29622
29623 * manual/errno.texi: Document MTASC-safety properties.
29624
29625 * manual/intro.texi: Document safety identifiers and
29626 conditionals.
29627
29628 * manual/string.texi (wcstok): Fix prototype.
29629 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
29630
29631 * manual/time.texi: Document MTASC-safety properties.
29632
29633 * manual/string.texi: Document MTASC-safety properties.
29634
29635 * manual/threads.texi: Document MTASC-safety properties.
29636
29637 * manual/stdio.texi: Document MTASC-safety properties.
29638
29639 * manual/syslog.texi: Document MTASC-safety properties.
29640
29641 * manual/sysinfo.texi: Document MTASC-safety properties.
29642
29643 * manual/startup.texi: Document MTASC-safety properties.
29644
29645 * manual/socket.texi: Document MTASC-safety properties.
29646
29647 * manual/signal.texi: Document MTASC-safety properties.
29648
29649 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
29650
29651 * manual/setjmp.texi: Document MTASC-safety properties.
29652
29653 * manual/search.texi: Document MTASC-safety properties.
29654
29655 * manual/resource.texi: Document MTASC-safety properties.
29656
29657 * manual/process.texi: Document MTASC-safety properties.
29658
29659 * manual/platform.texi: Document MTASC-safety properties.
29660
29661 * manual/pipe.texi: Document MTASC-safety properties.
29662
29663 * manual/pattern.texi: Document MTASC-safety properties.
29664
29665 * manual/message.texi: Document MTASC-safety properties.
29666
29667 [BZ #12751]
29668 * manual/memory.texi: Document MTASC-safety properties.
29669
29670 * manual/math.texi: Document MTASC-safety properties.
29671
29672 * manual/locale.texi: Document MTASC-safety properties.
29673
29674 * manual/llio.texi: Document MTASC-safety properties.
29675
29676 * manual/libdl.texi: New.
29677
29678 * manual/lang.texi: Document MTASC-safety properties.
29679
29680 * manual/job.texi: Document MTASC-safety properties.
29681
29682 * manual/getopt.texi: Document MTASC-safety properties.
29683
29684 * manual/ctype.texi: Document MTASC-safety properties.
29685
29686 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
29687
29688 [BZ #16046]
29689 * csu/libc-tls.c (static_map): Remove variable.
29690 (__libc_setup_tls): Use main executable's link map for TLS data.
29691 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
29692 casing for LM_ID_BASE and GL(dl_nns).
29693 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
29694 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
29695 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
29696 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
29697 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
29698 member.
29699 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
29700 l_phnum members.
29701
29702 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
29703
29704 * manual/debug.texi: Document MTASC-safety properties.
29705
29706 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
29707
29708 [BZ #16510]
29709 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
29710 of __x86_64__ when disabling x87 inline functions.
29711
29712 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
29713
29714 * manual/charset.texi: Document MTASC-safety properties.
29715
29716 * manual/crypt.texi: Document MTASC-safety properties.
29717
29718 * manual/conf.texi: Document MTASC-safety properties.
29719
29720 * manual/arith.texi: Document MTASC-safety properties.
29721
29722 * manual/argp.texi: Document MTASC-safety properties.
29723
29724 * manual/macros.texi: Introduce macros to document multi
29725 thread, asynchronous signal and asynchronous cancellation
29726 safety properties.
29727 * manual/intro.texi: Introduce the properties themselves.
29728
29729 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29730
29731 * sysdeps/sh/sh4/Makefile: New file.
29732
29733 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
29734
29735 * math/gen-libm-test.pl ($srcdir): New variable.
29736 ($auto_input): Use it.
29737
29738 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29739
29740 [BZ #16506]
29741 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
29742 access beyond array bounds when parsing netgroups file.
29743
29744 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
29745 the old buffer before realloc.
29746
29747 2014-01-27 Allan McRae <allan@archlinux.org>
29748
29749 * po/fr.po: Update French translation from translation project.
29750
29751 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29752
29753 * sysdeps/sh/libm-test-ulps: Regenerate.
29754
29755 2014-01-24 David S. Miller <davem@davemloft.net>
29756
29757 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
29758
29759 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29760
29761 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
29762 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
29763
29764 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29765
29766 [BZ #16474]
29767 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
29768 string pointers after reallocation.
29769
29770 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29771
29772 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
29773 __SH4A__ instead of __SH_FPU_ANY__.
29774
29775 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29776
29777 * sysdeps/sh/fpu_control.h: New file.
29778 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
29779 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
29780 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
29781 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
29782 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
29783 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
29784 * sysdeps/sh/sys/ucontext.h: Remove.
29785 * sysdeps/sh/sys: Remove directory.
29786
29787 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29788
29789 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
29790 s390/sys/ucontext.h.
29791 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
29792 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
29793
29794 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
29795
29796 [BZ #15605]
29797 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
29798
29799 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29800
29801 [BZ#16431]
29802 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29803 Adjust the vDSO correctly for internal calls.
29804 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
29805
29806 2014-01-20 Allan McRae <allan@archlinux.org>
29807
29808 * po/ca.po: Update Catalan translation from translation project.
29809
29810 2014-01-16 Mike Frysinger <vapier@gentoo.org>
29811
29812 * sysdeps/s390/sotruss-lib.c: New file.
29813
29814 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29815
29816 [BZ#16430]
29817 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
29818 (__GI___gettimeofday): Alias for a different internal symbol to avoid
29819 local calls issues by not having a PLT stub required for IFUNC calls.
29820 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
29821
29822 2014-01-16 Joseph Myers <joseph@codesourcery.com>
29823
29824 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
29825 * math/test-fpucw-static.c: Likewise.
29826
29827 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29828
29829 [BZ #16453]
29830 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
29831
29832 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29833
29834 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
29835 implementation for powerpc.
29836
29837 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
29838
29839 [BZ #14782]
29840 * sysdeps/posix/system.c (__libc_system): Do not enable
29841 asynchronous cancellation.
29842
29843 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29844
29845 [BZ #16427]
29846 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
29847 handling only for numbers special also in the IEEE case.
29848
29849 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29850
29851 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29852
29853 2014-01-11 Allan McRae <allan@archlinux.org>
29854
29855 * po/bg.po: Update Bulgarian translation from translation project.
29856
29857 * po/de.po: Update German translation from translation project.
29858
29859 2014-01-10 Roland McGrath <roland@hack.frob.com>
29860
29861 * sysdeps/generic/gcc-compat.h: New file.
29862
29863 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29864
29865 * benchtests/asin-inputs: Correct slow inputs.
29866 * benchtests/acos-inputs: Likewise.
29867
29868 2014-01-10 Allan McRae <allan@archlinux.org>
29869
29870 * po:sv.po: Update Swedish translation from translation project.
29871
29872 * po/vi.po: Update Vietnamese translation from translation project.
29873
29874 * po/eo.po: Update Esperanto translation from translation project.
29875
29876 * po/cs.po: Update Czech translation from translation project.
29877
29878 * po/nl.po: Update Dutch translation from translation project.
29879
29880 * po/pl.po: Update Polish translation from translation project.
29881
29882 * po/ru.po: Update Russian translation from translation project.
29883
29884 * po/uk.po: Update Ukrainian translation from translation project.
29885
29886 2014-01-08 Brooks Moses <bmoses@google.com>
29887
29888 * elf/dl-load.c: Fix comment typo.
29889
29890 2014-01-08 Carlos O'Donell <carlos@redhat.com>
29891
29892 * po/header.pot: Rename to...
29893 * po/pot.header: ... this.
29894 * po/Makefile: Use pot.header.
29895
29896 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
29897 Maxim Kuvyrkov <maxim@kugelworks.com>
29898
29899 [BZ #16394]
29900 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
29901 SRC and DEST against LEN.
29902
29903 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29904
29905 [BZ #16414]
29906 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
29907 implementation.
29908 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
29909
29910 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29911
29912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29913
29914 2014-01-08 Joseph Myers <joseph@codesourcery.com>
29915
29916 [BZ #16408]
29917 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
29918 for large positive arguments.
29919
29920 2014-01-07 Joseph Myers <joseph@codesourcery.com>
29921
29922 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29923
29924 * math/auto-libm-test-in: Mark various tests with
29925 xfail-rounding:ldbl-128ibm.
29926 * math/auto-libm-test-out: Regenerated.
29927
29928 [BZ #16407]
29929 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
29930 Increase overflow threshold.
29931
29932 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
29933
29934 [BZ #14286]
29935 * stdio-common/vfprintf.c: Check for integer overflow.
29936
29937 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29938
29939 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
29940 the first argument and return value of __tls_get_addr_internal.
29941
29942 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29943
29944 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
29945 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
29946
29947 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29948
29949 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
29950 * sysdeps/s390/rtld-global-offsets.sym: New file.
29951 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
29952 GLIBC_2.19 symbol.
29953 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
29954 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
29955 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
29956 ... this.
29957 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
29958 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
29959 ... this.
29960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29961 Regenerate.
29962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29963 Regenerate.
29964 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
29965 halfs of GPRs for high_gprs contexts.
29966 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
29967 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
29968 field.
29969 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
29970 uc_flags field.
29971 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
29972 64 bit versions:
29973 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
29974 for high GPRs (uc_high_gprs) and for future extensions
29975 (__reserved).
29976 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
29977 for future extensions (__reserved).
29978 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
29979 64 bit versions:
29980 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
29981 SC_HIGHGPRS offset definition.
29982 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
29983 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
29984
29985 * Versions.def: Add GLIBC_2.19 for libpthread.
29986 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
29987 siglongjmp for libpthread with GLIBC_2.19 symver.
29988 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
29989 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
29990 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
29991 * sysdeps/s390/__longjmp.c: New file.
29992 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
29993 * sysdeps/s390/longjmp.c: New file.
29994 * sysdeps/s390/setjmp.S: New file.
29995 * sysdeps/s390/sigjmp.S: New file.
29996 * sysdeps/s390/v1-longjmp.c: New file.
29997 * sysdeps/s390/v1-setjmp.h: New file.
29998 * sysdeps/s390/v1-sigjmp.c: New file.
29999 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
30000 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
30001 GLIBC_2.19 version.
30002 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
30003 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
30004 versioned symbols for ____longjmp_chk.
30005 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30006 Likewise.
30007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30008 Regenerate.
30009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30010 Regenerate.
30011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30012 Regenerate.
30013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30014 Regenerate.
30015 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
30016 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
30017 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
30018 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
30019 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
30020 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
30021 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
30022 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
30023 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
30024 * sysdeps/s390/rtld-__longjmp.c: New file.
30025 * sysdeps/s390/rtld-setjmp.S: New file.
30026
30027 2014-01-06 Joseph Myers <joseph@codesourcery.com>
30028
30029 [BZ #16400]
30030 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30031 Return -__logl (x) for small positive arguments without evaluating
30032 a polynomial.
30033
30034 2014-01-06 Mike Frysinger <vapier@gentoo.org>
30035
30036 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
30037 Rename to ...
30038 (__ptrace_peeksiginfo_args): ... this.
30039 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30040 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30041 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30042
30043 2014-01-06 Allan McRae <allan@archlinux.org>
30044
30045 * inet/netinet/in.h: Fix typo in comment.
30046
30047 2014-01-05 Andreas Jaeger <aj@suse.de>
30048
30049 * sysdeps/i386/fpu/libm-test-ulps: Update.
30050
30051 2014-01-05 Allan McRae <allan@archlinux.org>
30052
30053 * po/libc.pot: Regenerated.
30054
30055 * malloc/memusagestat.c: Fix gettext call formatting.
30056
30057 2014-01-04 Sami Kerola <kerolasa@iki.fi>
30058
30059 * nscd/nscd.c: Improve usage() output.
30060
30061 2014-01-04 Mike Frysinger <vapier@gentoo.org>
30062
30063 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
30064 * sysdeps/unix/sysv/linux/configure: Regenerated.
30065 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
30066 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
30067
30068 2014-01-03 Joseph Myers <joseph@codesourcery.com>
30069
30070 [BZ #16390]
30071 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30072 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
30073
30074 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30075
30076 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
30077 extra tokens at end of #undef directive.
30078 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
30079 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
30080 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30081
30082 2014-01-03 Joseph Myers <joseph@codesourcery.com>
30083
30084 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30085
30086 * math/auto-libm-test-in: Mark various tests with
30087 xfail-rounding:ldbl-128ibm.
30088 * math/auto-libm-test-out: Regenerated.
30089
30090 2014-01-02 Joseph Myers <joseph@codesourcery.com>
30091
30092 [BZ #16386]
30093 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
30094 numbers with subnormal high part when calculating exponent.
30095
30096 [BZ #16385]
30097 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
30098 fabs.
30099
30100 [BZ #16384]
30101 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
30102 M_LN2l.
30103 (__ieee754_acoshl): Use __log1pl not __log1p.
30104
30105 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
30106
30107 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
30108 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
30109 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
30110 (grow_heap, heap_trim, _int_new_arena, get_free_list)
30111 (reused_arena, arena_get2): Convert to GNU style.
30112 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
30113 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
30114 (memalign_check, __malloc_set_state): Likewise.
30115 * malloc/mallocbug.c (main): Likewise.
30116 * malloc/malloc.c (__malloc_assert, malloc_init_state)
30117 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
30118 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
30119 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
30120 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
30121 (__posix_memalign, malloc_info): Likewise.
30122 * malloc/malloc.h: Likewise.
30123 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
30124 (mallochook, memalignhook, reallochook, mabort): Likewise.
30125 * malloc/mcheck.h: Likewise.
30126 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
30127 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
30128 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
30129 * malloc/morecore.c (__default_morecore): Likewise.
30130 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
30131 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
30132 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
30133 (print_and_abort): Likewise.
30134 * malloc/obstack.h: Likewise.
30135 * malloc/set-freeres.c (__libc_freeres): Likewise.
30136 * malloc/tst-mallocstate.c (main): Likewise.
30137 * malloc/tst-mtrace.c (main): Likewise.
30138 * malloc/tst-realloc.c (do_test): Likewise.
30139
30140 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30141
30142 [BZ #16366]
30143 * nscd/netgroupcache.c (do_notfound): New function.
30144 (addgetnetgrentX): Use it.
30145
30146 [BZ # 16365]
30147 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
30148 NSS_STATUS_NOTFOUND.
30149
30150 2014-01-01 Joseph Myers <joseph@codesourcery.com>
30151
30152 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30154
30155 2014-01-01 Allan McRae <allan@archlinux.org>
30156
30157 * scripts/update-copyrights: Update configure input file suffix.
30158
30159 * NEWS: Update copyright year.
30160 * catgets/gencat.c: Likewise.
30161 * csu/version.c: Likewise.
30162 * debug/catchsegv.sh: Likewise.
30163 * debug/pcprofiledump.c: Likewise.
30164 * debug/xtrace.sh: Likewise.
30165 * elf/ldconfig.c: Likewise.
30166 * elf/ldd.bash.in: Likewise.
30167 * elf/pldd.c: Likewise.
30168 * elf/sotruss.ksh: Likewise.
30169 * elf/sprof.c: Likewise.
30170 * iconv/iconv_prog.c: Likewise.
30171 * iconv/iconvconfig.c: Likewise.
30172 * locale/programs/locale.c: Likewise.
30173 * locale/programs/localedef.c: Likewise.
30174 * login/programs/pt_chown.c: Likewise.
30175 * malloc/memusage.sh: Likewise.
30176 * malloc/memusagestat.c: Likewise.
30177 * malloc/mtrace.pl: Likewise.
30178 * manual/libc.texinfo: Likewise.
30179 * nscd/nscd.c: Likewise.
30180 * nss/getent.c: Likewise.
30181 * nss/makedb.c: Likewise.
30182 * posix/getconf.c: Likewise.
30183 * scripts/test-installation.pl: Likewise.
30184
30185 * All files with FSF copyright notices: Update copyright dates
30186 using scripts/update-copyrights.
30187 * intl/plural.c: Regenerated.
30188 * locale/programs/charmap-kw.h: Likewise.
30189 * locale/programs/locfile-kw.h: Likewise.
30190
30191 2013-12-31 Mike Frysinger <vapier@gentoo.org>
30192
30193 * sysdeps/unix/sysv/linux/configure: Regenerated.
30194 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
30195 the linux/fanotify.h header.
30196 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
30197 HAVE_LINUX_FANOTIFY_H is defined.
30198
30199 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30200
30201 * benchtests/cos-inputs: New inputs.
30202 * benchtests/sin-inputs: Likewise.
30203
30204 * benchtests/atan-inputs: New inputs. Fix name of multiple
30205 precision fallback inputs.
30206
30207 * benchtests/atanh-inputs: New inputs.
30208 * benchtests/tanh-inputs: Likewise.
30209
30210 * benchtests/acosh-inputs: New inputs.
30211 * benchtests/asinh-inputs: Likewise.
30212
30213 * benchtests/cosh-inputs: New inputs.
30214 * benchtests/sinh-inputs: Likewise.
30215
30216 * benchtests/acos-inputs: Add more inputs.
30217 * benchtests/asin-inputs: Likewise.
30218
30219 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
30220
30221 [BZ #16375]
30222 * manual/arith.texi: Fix spelling.
30223 * manual/charset.texi: Likewise.
30224 * manual/errno.texi: Likewise.
30225 * manual/filesys.texi: Likewise.
30226 * manual/lang.texi: Likewise.
30227 * manual/llio.texi: Likewise.
30228 * manual/locale.texi: Likewise.
30229 * manual/message.texi: Likewise.
30230 * manual/resource.texi: Likewise.
30231 * manual/search.texi: Likewise.
30232 * manual/setjmp.texi: Likewise.
30233 * manual/stdio.texi: Likewise.
30234 * manual/string.texi: Likewise.
30235 * manual/sysinfo.texi: Likewise.
30236 * manual/time.texi: Likewise.
30237
30238 2013-12-27 Carlos O'Donell <carlos@redhat.com>
30239
30240 * po/sl.po: New file.
30241
30242 2013-12-27 Mike Frysinger <vapier@gentoo.org>
30243
30244 * .gitignore: Add core/.gdbinit/.gdb_history.
30245
30246 2013-12-27 Allan McRae <allan@archlinux.org>
30247
30248 [BZ #16369]
30249 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
30250 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
30251
30252 2013-12-24 Brooks Moses <bmoses@google.com>
30253
30254 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
30255 all compilers that claim C++98 compliance, not just GCC.
30256 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
30257 Likewise.
30258
30259 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
30260
30261 * NEWS: Restore accidentally deleted bug-fix entries.
30262
30263 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
30264 Ondřej Bílka <neleai@seznam.cz>
30265
30266 [BZ #15073]
30267 * malloc/malloc.c (_int_free): Perform sanity check only if we
30268 have_lock.
30269
30270 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
30271
30272 [BZ #12986]
30273 * manual/stdio.texi (String Input Conversions): Clarify that character
30274 classes are not supported.
30275
30276 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30277
30278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30279
30280 2013-12-22 Joseph Myers <joseph@codesourcery.com>
30281
30282 [BZ #16337]
30283 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30284 Calculate results for small negative arguments directly rather
30285 than using reflection formula with special underflow handling.
30286
30287 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
30288 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
30289 sysdeps/unix/bsd/bsd4.4/syscalls.list.
30290 (fchflags): Likewise.
30291 (revoke): Likewise.
30292 (setlogin): Likewise.
30293 (sigaltstack): Likewise.
30294 (wait4): Likewise.
30295 (sigblock): Remove.
30296 (sigsetmask): Likewise.
30297 (wait3): Likewise.
30298 (waitpid): Likewise.
30299 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
30300 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
30301 file.
30302 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
30303 * sysdeps/unix/bsd/Makefile: ... here.
30304 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
30305 * sysdeps/unix/bsd/Versions: ... here.
30306 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
30307 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
30308 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
30309 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
30310 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
30311 * sysdeps/unix/bsd/sigblock.c: ... here.
30312 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
30313 * sysdeps/unix/bsd/sigsetmask.c: ... here.
30314 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
30315 * sysdeps/unix/bsd/sigvec.c: ... here.
30316 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
30317 * sysdeps/unix/bsd/tcdrain.c: ... here.
30318 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
30319 * sysdeps/unix/bsd/tcgetattr.c: ... here.
30320 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
30321 * sysdeps/unix/bsd/tcsetattr.c: ... here.
30322 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
30323 * sysdeps/unix/bsd/wait.c: ... here.
30324 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
30325 * sysdeps/unix/bsd/wait3.c: ... here.
30326 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
30327 * sysdeps/unix/bsd/waitpid.c: ... here.
30328
30329 2013-12-21 Joseph Myers <joseph@codesourcery.com>
30330
30331 [BZ #16356]
30332 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
30333 round-to-nearest for [!USE_AS_EXPM1L].
30334 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
30335 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
30336 more tests of exp and exp10. Expect some exp10 tests to miss
30337 exceptions or fail in directed rounding modes.
30338 * math/auto-libm-test-out: Regenerated.
30339 * math/libm-test.inc (exp10_tonearest_test_data): New array.
30340 (exp10_test_tonearest): New function.
30341 (exp10_towardzero_test_data): New array.
30342 (exp10_test_towardzero): New function.
30343 (exp10_downward_test_data): New array.
30344 (exp10_test_downward): New function.
30345 (exp10_upward_test_data): New array.
30346 (exp10_test_upward): New function.
30347 (main): Call the new functions.
30348 * sysdeps/i386/fpu/libm-test-ulps: Update.
30349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30350
30351 2013-12-20 Joseph Myers <joseph@codesourcery.com>
30352
30353 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30354 asinh, atan, atan2, atanh, cbrt, cos and cosh.
30355 * math/auto-libm-test-out: Regenerated.
30356 * math/libm-test.inc (acosh_test_data): Add more tests.
30357 (atanh_test_data): Likewise.
30358 (ceil_test_data): Likewise.
30359 (copysign_test_data): Likewise.
30360 * sysdeps/i386/fpu/libm-test-ulps: Update.
30361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30362
30363 * timezone/checktab.awk: Update from tzcode 2013i.
30364 * timezone/private.h: Likewise.
30365 * timezone/scheck.c: Likewise.
30366 * timezone/tzfile.h: Likewise.
30367 * timezone/tzselect.ksh: Likewise.
30368 * timezone/zdump.c: Likewise.
30369 * timezone/zic.c: Likewise.
30370
30371 * math/auto-libm-test-in: Add tests of cpow.
30372 * math/auto-libm-test-out: Regenerated.
30373 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
30374 * math/gen-auto-libm-tests.c (func_calc_method): Add value
30375 mpc_cc_c.
30376 (func_calc_desc): Add mpc_cc_c union field.
30377 (test_functions): Add cpow.
30378 (special_fill_2pi): New function.
30379 (special_real_inputs): Add 2pi.
30380 (calc_generic_results): Handle mpc_cc_c.
30381 * sysdeps/i386/fpu/libm-test-ulps: Update.
30382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30383
30384 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
30385 csqrt, ctan and ctanh.
30386 * math/auto-libm-test-out: Regenerated.
30387 * math/libm-test.inc (TEST_COND_x86_64): New macro.
30388 (TEST_COND_x86): Likewise.
30389 (ccos_test_data): Use AUTO_TESTS_c_c.
30390 (ccosh_test_data): Likewise.
30391 (cexp_test_data): Likewise.
30392 (clog_test_data): Likewise.
30393 (csqrt_test_data): Likewise.
30394 (ctan_test_data): Likewise.
30395 (ctan_tonearest_test_data): Likewise.
30396 (ctan_towardzero_test_data): Likewise.
30397 (ctan_downward_test_data): Likewise.
30398 (ctan_upward_test_data): Likewise.
30399 (ctanh_test_data): Likewise.
30400 (ctanh_tonearest_test_data): Likewise.
30401 (ctanh_towardzero_test_data): Likewise.
30402 (ctanh_downward_test_data): Likewise.
30403 (ctanh_upward_test_data): Likewise.
30404 * math/gen-auto-libm-tests.c (func_calc_method): Add value
30405 mpc_c_c.
30406 (func_calc_desc): Add mpc_c_c union field.
30407 (FUNC_mpc_c_c): New macro.
30408 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
30409 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
30410 ctanh.
30411 (special_fill_min_subnorm_p120): New function.
30412 (special_real_inputs): Add min_subnorm_p120.
30413 (calc_generic_results): Handle mpc_c_c.
30414 * sysdeps/i386/fpu/libm-test-ulps: Update.
30415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30416
30417 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30418
30419 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
30420 (do_sin_slow): New functions.
30421 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
30422 (cslow2, csloww1, csloww2): Use the new functions.
30423
30424 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
30425 Use M to change sign of result instead of X. Assume X is
30426 positive.
30427 (csloww1): Likewise.
30428 (__sin): Adjust.
30429 (__cos): Adjust.
30430
30431 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
30432 arguments A and DA.
30433 (__sin): Adjust.
30434 (__cos): Likewise.
30435
30436 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
30437 (__cos): Likewise.
30438 (sloww1): Don't adjust sign of DX.
30439 (csloww1): Likewise.
30440 (sloww2): Use X directly and don't adjust sign of DX.
30441 (csloww2): Likewise.
30442
30443 2013-12-19 Joseph Myers <joseph@codesourcery.com>
30444
30445 * math/auto-libm-test-in: Add tests of cabs and carg.
30446 * math/auto-libm-test-out: Regenerated.
30447 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
30448 (carg_test_data): Likewise.
30449 * math/gen-auto-libm-tests.c (func_calc_method): Add value
30450 mpc_c_f.
30451 (func_calc_desc): Add mpc_c_f union field.
30452 (test_functions): Add cabs and carg.
30453 (calc_generic_results): Handle mpc_c_f.
30454
30455 * sysdeps/powerpc/powerpc32/libgcc-compat.S
30456 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
30457 as a macro and a compat symbol.
30458 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
30459 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
30460 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
30461 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
30462 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
30463 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
30464 not use .hidden.
30465 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
30466 Likewise.
30467 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
30468 Likewise.
30469 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
30470 Likewise.
30471 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
30472 Likewise.
30473 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
30474 Likewise.
30475 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
30476 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
30477 from GLIBC_2.3.2.
30478
30479 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30480
30481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30482
30483 2013-12-19 Joseph Myers <joseph@codesourcery.com>
30484
30485 * manual/texinfo.tex: Update to version 2013-11-26.10 with
30486 trailing whitespace removed.
30487 * scripts/config.guess: Update to version 2013-11-29.
30488 * scripts/config.sub: Update to version 2013-10-01.
30489
30490 * math/auto-libm-test-in: Add tests of sincos.
30491 * math/auto-libm-test-out: Regenerated.
30492 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
30493 * math/gen-auto-libm-tests.c (func_calc_method): Add value
30494 mpfr_f_11.
30495 (func_calc_desc): Add mpfr_f_11 union field.
30496 (test_functions): Add sincos.
30497 (calc_generic_results): Handle mpfr_f_11.
30498 * sysdeps/i386/fpu/libm-test-ulps: Update.
30499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30500
30501 2013-12-19 Andreas Schwab <schwab@suse.de>
30502
30503 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
30504 CALL_MCOUNT.
30505 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30506 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
30507 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
30508
30509 2013-12-19 Joseph Myers <joseph@codesourcery.com>
30510
30511 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
30512 * sysdeps/i386/fpu/libm-test-ulps: Update.
30513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30514
30515 [BZ #16293]
30516 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
30517 round-to-nearest mode when using frndint.
30518 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
30519 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30520 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30521 Likewise.
30522 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
30523 sinh test to fail.
30524 * math/auto-libm-test-out: Regenerated.
30525 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
30526 (TEST_COND_x86): Likewise.
30527 (expm1_tonearest_test_data): New array.
30528 (expm1_test_tonearest): New function.
30529 (expm1_towardzero_test_data): New array.
30530 (expm1_test_towardzero): New function.
30531 (expm1_downward_test_data): New array.
30532 (expm1_test_downward): New function.
30533 (expm1_upward_test_data): New array.
30534 (expm1_test_upward): New function.
30535 (main): Run the new test functions.
30536 * sysdeps/i386/fpu/libm-test-ulps: Update.
30537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30538
30539 * include/features.h: Update comment documenting feature test
30540 macros. Mention _DEFAULT_SOURCE in comment.
30541 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
30542 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
30543 _BSD_SOURCE and _SVID_SOURCE.
30544 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
30545 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
30546 !_SVID_SOURCE]: Likewise.
30547 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
30548 (__USE_POSIX_IMPLICITLY): Define.
30549 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
30550 (_POSIX_SOURCE): Undefine and redefine.
30551 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
30552 (_POSIX_C_SOURCE): Likewise.
30553 * manual/creature.texi (_DEFAULT_SOURCE): Document.
30554 (Feature Test Macros): Update documentation of default features.
30555
30556 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30557
30558 * benchtests/Makefile: Add bench-strtok.
30559 * benchtests/bench-strtok.c: New file: strtok benchtest.
30560
30561 2013-12-19 Allan McRae <allan@archlinux.org>
30562
30563 * manual/install.texi: Suppress menu for plain text output.
30564 * INSTALL: Regenerated.
30565
30566 2013-12-18 Brooks Moses <bmoses@google.com>
30567
30568 [BZ #15846]
30569 * misc/getauxval.c: Include errno.h.
30570 (__getauxval): Set errno to ENOENT if the requested type is not
30571 found.
30572 * misc/sys/auxv.h (getauxval): Document that it may set errno;
30573 don't declare with __attribute_const__.
30574 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
30575 * manual/startup.texi: Document that getauxval sets errno.
30576
30577 2013-12-18 Joseph Myers <joseph@codesourcery.com>
30578
30579 * math/auto-libm-test-in: Add tests of jn and yn.
30580 * math/auto-libm-test-out: Regenerated.
30581 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
30582 (yn_test_data): Likewise.
30583 * math/gen-auto-libm-tests.c (func_calc_method): Add value
30584 mpfr_if_f.
30585 (func_calc_desc): Add mpfr_if_f union field.
30586 (FUNC_mpfr_if_f): New macro.
30587 (test_functions): Add jn and yn.
30588 (calc_generic_results): Assert type of second input for
30589 mpfr_ff_f. Handle mpfr_if_f.
30590 (output_for_one_input_case): Disable all checking for arguments
30591 fitting floating-point types in case of an integer argument.
30592 * sysdeps/i386/fpu/libm-test-ulps: Update.
30593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30594
30595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30596 Don't expect fegetround reference in libm.so.
30597
30598 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30599
30600 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
30601 $(config-cflags-nofma).
30602
30603 2013-12-18 Joseph Myers <joseph@codesourcery.com>
30604
30605 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
30606 * math/auto-libm-test-out: Regenerated.
30607
30608 [BZ #16338]
30609 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
30610 to determine exponent and adjust argument to have exponent of -1.
30611 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
30612 log2.
30613 * math/auto-libm-test-out: Regenerated.
30614 * sysdeps/i386/fpu/libm-test-ulps: Update.
30615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30616
30617 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
30618
30619 * manual/probes.texi: Remove cases when per-thread arenas are
30620 disabled.
30621
30622 2013-12-18 Andreas Schwab <schwab@suse.de>
30623
30624 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
30625 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
30626 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
30627 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
30628 * sysdeps/i386/i686/multiarch/Makefile: Update.
30629 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
30630
30631 2013-12-17 Joseph Myers <joseph@codesourcery.com>
30632
30633 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
30634 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
30635
30636 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
30637
30638 [BZ #15968]
30639 Support TZ transition times < 00:00:00.
30640 This is needed for version-3 tz-format files; it supports time
30641 stamps past 2037 for America/Godthab (the only entry in the tz
30642 database for which this change is relevant).
30643 * manual/time.texi (TZ Variable): Document transition times
30644 from -167:59:59 through -00:00:01.
30645 * time/tzset.c (tz_rule): Time of day is now signed.
30646 (__tzset_parse_tz): Parse negative time of day.
30647
30648 Document TZ transition times >= 25:00:00.
30649 * manual/time.texi (TZ Variable): Document transition times from
30650 25:00:00 through 167:59:59. These are already supported, and this
30651 support will help with version-3 tz-format files.
30652
30653 * manual/time.texi (TZ Variable): Modernize North America example
30654 to reflect current (i.e., 2007-and-later) daylight saving rules.
30655
30656 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
30657
30658 2013-12-17 Joseph Myers <joseph@codesourcery.com>
30659
30660 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
30661 * sysdeps/unix/bsd/bits/stat.h: Likewise.
30662 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
30663 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30664 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
30665 * sysdeps/unix/bsd/bsdstat.h: Likewise.
30666 * sysdeps/unix/bsd/clock.c: Likewise.
30667 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
30668 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
30669 * sysdeps/unix/bsd/init-posix.c: Likewise.
30670 * sysdeps/unix/bsd/poll.c: Likewise.
30671 * sysdeps/unix/bsd/ptsname.c: Likewise.
30672 * sysdeps/unix/bsd/seekdir.c: Likewise.
30673 * sysdeps/unix/bsd/setegid.c: Likewise.
30674 * sysdeps/unix/bsd/seteuid.c: Likewise.
30675 * sysdeps/unix/bsd/setgid.c: Likewise.
30676 * sysdeps/unix/bsd/setrgid.c: Likewise.
30677 * sysdeps/unix/bsd/setruid.c: Likewise.
30678 * sysdeps/unix/bsd/setsid.c: Likewise.
30679 * sysdeps/unix/bsd/setuid.c: Likewise.
30680 * sysdeps/unix/bsd/sigaction.c: Likewise.
30681 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
30682 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
30683 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
30684 * sysdeps/unix/bsd/telldir.c: Likewise.
30685 * sysdeps/unix/bsd/times.c: Likewise.
30686 * sysdeps/unix/bsd/usleep.c: Likewise.
30687
30688 * misc/Makefile (install-lib): Remove libbsd-compat.a.
30689 ($(objpfx)libbsd-compat.a): Remove rule.
30690
30691 * include/features.h (__FAVOR_BSD): Do not define.
30692 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
30693 features conflicting with POSIX.
30694 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
30695 (_BSD_SOURCE): Remove description of not being a subset of other
30696 feature test macros.
30697 * manual/job.texi (getpgrp): Do not document BSD version.
30698 (getpgid): Do not document by reference to BSD getpgrp.
30699 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
30700 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
30701 * signal/signal.h [__FAVOR_BSD]: Likewise.
30702 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
30703 instead of making contents conditional on [__FAVOR_BSD].
30704 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
30705
30706 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30707
30708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30709
30710 2013-12-17 Joseph Myers <joseph@codesourcery.com>
30711
30712 [BZ #16314]
30713 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
30714 values below 2**-450, not 2**-500.
30715 * math/auto-libm-test-in: Don't allow spurious underflow from
30716 hypot.
30717 * math/auto-libm-test-out: Regenerated.
30718
30719 [BZ #16316]
30720 [BZ #16330]
30721 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
30722 values of ha and hb and sort them after adjusting subnormal
30723 arguments.
30724 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30725 Likewise.
30726 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
30727 values of ea and eb and sort them after adjusting subnormal
30728 arguments.
30729 * math/auto-libm-test-in: Do not expect some hypot tests of
30730 subnormals to fail. Add more hypot tests.
30731 * math/auto-libm-test-out: Regenerated.
30732
30733 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30734
30735 [BZ #13304]
30736 * sysdeps/sh/s_fma.c: New file.
30737 * sysdeps/sh/s_fmaf.c: New file.
30738 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
30739 version.
30740 * sysdeps/sh/Implies: Add sh/soft-fp.
30741
30742 2013-12-16 Roland McGrath <roland@hack.frob.com>
30743
30744 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
30745 level of indirection to members `objname', `errstring', `malloced'.
30746 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
30747 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
30748 it as the __longjmp argument (just pass 1 instead).
30749 (_dl_catch_error): Initialize C with argument pointers and address of
30750 volatile local ERRCODE rather than copying values out of C at return.
30751
30752 2013-12-16 Joseph Myers <joseph@codesourcery.com>
30753
30754 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
30755 * math/auto-libm-test-out: Regenerated.
30756 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
30757 (hypot_test_data): Likewise.
30758 (pow_test_data): Likewise.
30759 (pow_tonearest_test_data): Likewise.
30760 * math/gen-auto-libm-tests.c (func_calc_method): Add value
30761 mpfr_ff_f.
30762 (func_calc_desc): Add mpfr_ff_f union field.
30763 (FUNC_mpfr_ff_f): New macro.
30764 (test_functions): Add atan2, hypot and pow.
30765 (special_fill_min): New function.
30766 (special_fill_minus_min): Likewise.
30767 (special_fill_min_subnorm): Likewise.
30768 (special_fill_minus_min_subnorm): Likewise.
30769 (special_real_inputs): Add min, -min, min_subnorm and
30770 -min_subnorm.
30771 (calc_generic_results): Handle mpfr_ff_f.
30772 * sysdeps/i386/fpu/libm-test-ulps: Update.
30773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30774
30775 2013-12-16 Will Newton <will.newton@linaro.org>
30776
30777 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
30778 (Aligned Memory Blocks): Add documentation for aligned_alloc
30779 and suggest it as an alternative to posix_memalign.
30780 (Hooks for Malloc): Document __memalign_hook is also called
30781 for aligned_alloc. (Summary of Malloc): Add summary for
30782 aligned alloc. Document __memalign_hook is also called
30783 for aligned_alloc.
30784
30785 2013-12-16 Will Newton <will.newton@linaro.org>
30786
30787 * manual/memory.texi (Malloc Examples): Clarify default
30788 alignment documentation. Suggest posix_memalign rather
30789 than memalign or valloc.
30790 (Aligned Memory Blocks): Remove suggestion to use memalign
30791 or valloc. Remove obsolete comment about BSD.
30792 Document memalign errno values and mark the function obsolete.
30793 Document posix_memalign returned error codes. Mark valloc
30794 as obsolete. (Hooks for Malloc): __memalign_hook is also
30795 called for posix_memalign and valloc.
30796 (Summary of Malloc): Add posix_memalign to function summary.
30797 __memalign_hook is also called for posix_memalign and valloc.
30798
30799 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30800
30801 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
30802 TAYLOR_SIN.
30803 (__sin): Adjust.
30804 (__cos): Likewise.
30805 (sloww): Use mynumber union. Expand ternary operator into
30806 if-else statements.
30807 (cslow): use mynumber union.
30808
30809 2013-12-16 Allan McRae <allan@archlinux.org>
30810
30811 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
30812 * configure: Regenerated.
30813
30814 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
30815
30816 [BZ #14120]
30817 * configure.ac: Added --enable-maintainer-mode. Check for
30818 autoconf when enabled.
30819 * configure: Regenerated.
30820
30821 * nscd/nscd.service: New file.
30822 * nscd/nscd.tmpfiles: New file.
30823
30824 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
30825
30826 [BZ #12100]
30827 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
30828 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
30829 * sysdeps/x86_64/multiarch/strstr.c: ... here.
30830 (strstr): Add __strstr_sse2_unaligned ifunc.
30831 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
30832 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
30833 (strcasestr): Remove __strcasestr_sse42 ifunc.
30834 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
30835 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30837
30838 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30839
30840 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
30841 * sysdeps/sh/bits/fenv.h: ... here.
30842 * sysdeps/sh/sh4/fpu/bits: Remove directory.
30843
30844 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30845
30846 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
30847
30848 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
30849 hypotf multiarch implementations.
30850 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
30851 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
30852 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
30853 multiarch hypot for PPC64.
30854 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
30855 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
30856 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
30857 multiarch hypotf for PPC64.
30858
30859 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
30860 modff multiarch implementations.
30861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
30862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
30863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
30864 multiarch modf for PPC64.
30865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
30866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
30867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
30868 multiarch modff for PPC64.
30869
30870 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
30871 and logl multiarch implementations.
30872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
30873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
30874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
30875 multiarch logb for PPC64.
30876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
30877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
30878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
30879 multiarch logb for PPC64.
30880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
30881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
30882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
30883 multiarch logb for PPC64.
30884
30885 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
30886 isinff multiarch implementation.
30887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
30888 file.
30889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
30890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
30891 multiarch isinf for PPC64.
30892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
30893 file.
30894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
30895 multiarch isinff for PPC64.
30896
30897 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
30898 finitef multiarch implementation.
30899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
30900 file.
30901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
30902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
30903 multiarch finite for PPC64.
30904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
30905 file.
30906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
30907 multiarch finitef for PPC64.
30908
30909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
30910 lrint multiarch implementation.
30911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
30912 file.
30913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
30914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
30915 multiarch llrint for PPC64.
30916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
30917 multiarch lrint for PPC64.
30918
30919 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
30920 copysignf multiarch implementation.
30921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
30922 file.
30923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
30924 file.
30925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
30926 multiarch copysign for PPC64.
30927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
30928 multiarch copysignf for PPC64.
30929
30930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
30931 multiarch implementation.
30932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
30933 file.
30934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
30935 file.
30936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
30937 file.
30938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
30939 file.
30940 multiarch llround for PPC64.
30941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
30942 multiarch trunc for PPC64.
30943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
30944 multiarch truncf for PPC64.
30945
30946 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
30947 multiarch implementation.
30948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
30949 file.
30950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
30951 file.
30952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
30953 file.
30954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
30955 file.
30956 multiarch llround for PPC64.
30957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
30958 multiarch round for PPC64.
30959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
30960 multiarch roundf for PPC64.
30961
30962 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
30963 multiarch implementation.
30964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
30965 file.
30966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
30967 file.
30968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
30969 file.
30970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
30971 file.
30972 multiarch llround for PPC64.
30973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
30974 multiarch floor for PPC64.
30975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
30976 multiarch floorf for PPC64.
30977
30978 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
30979 multiarch implementation.
30980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
30981 file.
30982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
30983 file.
30984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
30985 file.
30986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
30987 file.
30988 multiarch llround for PPC64.
30989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
30990 multiarch ceil for PPC64.
30991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
30992 multiarch ceilf for PPC64.
30993
30994 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
30995 multiarch implementation.
30996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
30997 file.
30998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
30999 file.
31000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
31001 file.
31002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
31003 multiarch llround for PPC64.
31004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
31005 multiarch lround for PPC64.
31006
31007 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31008 multiarch implementation.
31009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
31010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
31011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
31012 file.
31013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
31014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
31015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
31016 multiarch isnan for PPC64.
31017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
31018 multiarch isnanf for PPC64.
31019
31020 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
31021 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
31022 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
31023 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
31024 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
31025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
31026
31027 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
31028 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31029 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31030 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31031
31032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
31033 multiarch implementations.
31034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31035 (__libc_ifunc_impl_list): Likewise.
31036 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31037 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
31038 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
31039 multiarch stpcpy for PPC64.
31040
31041 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
31042 multiarch implementations.
31043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31044 (__libc_ifunc_impl_list): Likewise.
31045 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
31046 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
31047 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
31048 multiarch strcpy for PPC64.
31049
31050 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
31051 redefine function name.
31052 (_wordcopy_fwd_dest_aligned): Likewise.
31053 (_wordcopy_bwd_aligned): Likewise.
31054 (_wordcopy_bwd_dest_aligned): Likewise.
31055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
31056 multiarch implementations.
31057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31058 (__libc_ifunc_impl_list): Likewise.
31059 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
31060 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
31061 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
31062 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
31063 multiarch wcscpy for PPC64.
31064
31065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
31066 multiarch implementations.
31067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31068 (__libc_ifunc_impl_list): Likewise.
31069 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
31070 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
31071 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
31072 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
31073 multiarch wcscpy for PPC64.
31074
31075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
31076 multiarch implementations.
31077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31078 (__libc_ifunc_impl_list): Likewise.
31079 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
31080 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
31081 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
31082 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
31083 multiarch wcsrchr for PPC64.
31084
31085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
31086 multiarch implementations.
31087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31088 (__libc_ifunc_impl_list): Likewise.
31089 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
31090 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
31091 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
31092 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
31093 multiarch wcschr for PPC64.
31094
31095 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
31096 multiarch implementations.
31097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31098 (__libc_ifunc_impl_list): Likewise.
31099 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
31100 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
31101 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
31102 multiarch strchrnul for PPC64.
31103
31104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
31105 implementations.
31106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31107 (__libc_ifunc_impl_list): Likewise.
31108 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
31109 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
31110 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
31111 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
31112 strchr for PPC64.
31113
31114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
31115 implementations.
31116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31117 (__libc_ifunc_impl_list): Likewise.
31118 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
31119 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
31120 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
31121 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
31122 strncmp for PPC64.
31123
31124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
31125 multiarch implementations.
31126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31127 (__libc_ifunc_impl_list): Likewise.
31128 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
31129 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
31130 strncasecmp for PPC64.
31131 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
31132 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
31133 multiarch strncasecmp_l for PPC64.
31134
31135 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
31136 multiarch implementations.
31137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31138 (__libc_ifunc_impl_list): Likewise.
31139 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
31140 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
31141 multiarch strcasecmp for PPC64.
31142 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
31143 file.
31144 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
31145 multiarch strcasecmp_l for PPC64.
31146
31147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
31148 implementations.
31149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31150 (__libc_ifunc_impl_list): Likewise.
31151 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
31152 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
31153 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
31154 strnlen for PPC64.
31155
31156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
31157 implementations.
31158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31159 (__libc_ifunc_impl_list): Likewise.
31160 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
31161 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
31162 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
31163 strlen for PPC64.
31164
31165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
31166 implementations.
31167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31168 (__libc_ifunc_impl_list): Likewise.
31169 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
31170 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
31171 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
31172 rawmemrchr for PPC64.
31173
31174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
31175 implementation.
31176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31177 (__libc_ifunc_impl_list): Likewise.
31178 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
31179 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
31180 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
31181 memrchr for PPC64.
31182
31183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
31184 implementation.
31185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31186 (__libc_ifunc_impl_list): Likewise.
31187 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
31188 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
31189 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
31190 memchr for PPC64.
31191
31192 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
31193 implementation.
31194 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31195 (__libc_ifunc_impl_list): Likewise.
31196 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
31197 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
31198 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
31199 mempcpy for PPC64.
31200
31201 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
31202 avoid cretion of __bzero symbol.
31203 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
31204 Likewise.
31205 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
31206 Likewise.
31207 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
31208 Likewise.
31209 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
31210 multiarch implementations.
31211 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31212 (__libc_ifunc_impl_list): Likewise.
31213 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
31214 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
31215 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
31216 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
31217 bzero for PPC32.
31218 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
31219 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
31220 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
31221 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
31222 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
31223 memset for PPC64.
31224 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
31225
31226 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
31227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
31228 implementations.
31229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31230 (__libc_ifunc_impl_list): Likewise.
31231 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
31232 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
31233 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
31234 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
31235 memcmp for PPC64.
31236
31237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
31238 multiarch for POWER/PPC64.
31239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
31240 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
31241 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
31242 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
31243 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
31244 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
31245 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
31246 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
31247 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
31248 memcpy for PPC64.
31249
31250 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
31251 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
31252 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
31253 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
31254 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
31255 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
31256 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
31257 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
31258 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
31259 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
31260 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
31261 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
31262 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
31263 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
31264 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
31265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
31266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
31267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
31268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
31269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
31270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
31271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
31272
31273 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31274
31275 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
31276
31277 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31278
31279 * benchtests/Makefile (bench): Add exp2 and log2.
31280 (LDLIBS-bench-exp2): Add -lm.
31281 (LDLIBS-bench-log2): Likewise.
31282 * benchtests/exp2-inputs: New inputs file.
31283 * benchtests/log2-inputs: New inputs file.
31284 * benchtests/log-inputs: Add new inputs.
31285 * benchtests/tan-inputs: Likewise.
31286
31287 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31288
31289 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
31290 definition...
31291 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
31292 (csloww2): ... from here.
31293
31294 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
31295 instead of structures.
31296 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
31297 (POLYNOMIAL): Likewise.
31298 (TAYLOR_SLOW): Likewise.
31299 (__sin): Likewise.
31300 (__cos): Likewise.
31301 (slow1): Likewise.
31302 (slow2): Likewise.
31303 (sloww): Likewise.
31304 (sloww1); Likewise.
31305 (sloww2): Likewise.
31306 (bsloww1): Likewise.
31307 (bsloww2): Likewise.
31308 (cslow2): Likewise.
31309 (csloww): Likewise.
31310 (csloww1): Likewise.
31311 (csloww2): Likewise.
31312
31313 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
31314
31315 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
31316 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
31317 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
31318 * malloc/hooks.c (realloc_check): Likewise.
31319
31320 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
31321 * malloc/arena.c: Remove PER_THREAD conditional.
31322 [!PER_THREAD]: Remove code.
31323 (ptmalloc_unlock_all2): Likewise.
31324 (ptmalloc_init): Likewise.
31325 (_int_new_arena): Likewise.
31326 (arena_get2): Likewise.
31327 * malloc/hooks.c (__malloc_get_state): Likewise.
31328 (__malloc_set_state): Likewise.
31329 * malloc/malloc.c: Likewise.
31330 (struct malloc_state): Likewise.
31331 (struct malloc_par): Likewise.
31332 (__libc_realloc): Likewise.
31333 (__libc_mallopt): Likewise.
31334
31335 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31336
31337 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
31338
31339 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
31340
31341 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
31342 macro to a function. Check for zero perturb_byte.
31343 (_int_malloc, _int_free): Remove zero perturb_byte checks.
31344
31345 * malloc/malloc.c: (force_reg): Remove.
31346 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
31347 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
31348 force_reg by atomic_forced_read.
31349 * malloc/arena.c (ptmalloc_init): Likewise.
31350 * malloc/hooks.c (top_check): Likewise.
31351
31352 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31353
31354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31355
31356 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
31357
31358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31359
31360 2013-12-08 Joseph Myers <joseph@codesourcery.com>
31361
31362 * math/auto-libm-test-in: Add tests of lgamma.
31363 * math/auto-libm-test-out: Regenerated.
31364 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
31365 (M_LOG_2_SQRT_PIl): Likewise.
31366 (lgamma_test_data): Use AUTO_TESTS_f_f1.
31367 * math/gen-auto-libm-tests.c (func_calc_method): Add value
31368 mpfr_f_f1.
31369 (func_calc_desc): Add mpfr_f_f1 union field.
31370 (ARGS1): New macro.
31371 (ARGS2): Likewise.
31372 (ARGS3): Likewise.
31373 (ARGS4): Likewise.
31374 (RET1): Likewise.
31375 (RET2): Likewise.
31376 (CALC): Likewise.
31377 (FUNC): Likewise.
31378 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
31379 (test_functions): Add lgamma.
31380 (calc_generic_results): Handle mpfr_f_f1.
31381 * sysdeps/i386/fpu/libm-test-ulps: Update.
31382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31383
31384 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31385
31386 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
31387 __mpn_add_n for PowerPC64/POWER7.
31388 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
31389 __mpn_sub_n for PowerPC64/POWER7.
31390
31391 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
31392 __mpn_addmul_1 for PowerPC64.
31393 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
31394 __mpn_submul_1 for PowerPC64.
31395 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
31396 for PowerPC64.
31397 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
31398 for PowerPC64.
31399
31400 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
31401
31402 [BZ #15089]
31403 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
31404
31405 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31406
31407 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
31408
31409 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
31410 add multiarch folders.
31411 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
31412 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
31413 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
31414 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
31415 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
31416 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
31417 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
31418 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
31419 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
31420 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
31421 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
31422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
31423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
31424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
31425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
31426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
31427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
31428
31429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
31430 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
31431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
31432 New file.
31433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
31434 New file.
31435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
31436 multiarch __ieee754_hypot for PowerPC32.
31437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
31438 New file.
31439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
31440 New file.
31441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
31442 multiarch __ieee754_hypotf for PowerPC32.
31443
31444 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
31445 long_double_symbol only if __logbl is defined.
31446 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
31447 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
31448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
31449 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
31450 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
31451 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
31452 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
31453 path for implementation.
31454 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
31455 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
31456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
31457 logb, and logbl multiarch implementations for PowerPC32.
31458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
31459 file.
31460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
31461 file.
31462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
31463 multiarch logb for PowerPC32.
31464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
31465 file.
31466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
31467 file.
31468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
31469 multiarch logbf for PowerPC32.
31470 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
31471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
31472 file.
31473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
31474 multiarch logbl implementation for PowerPC32.
31475
31476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
31477 and modff multiarch implementations.
31478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
31479 New file.
31480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
31481 New file.
31482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
31483 multiarch modf for PowerPC32.
31484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
31485 New file.
31486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
31487 New file.
31488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
31489 multiarch modff for PowerPC32.
31490
31491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
31492 and lrintf multiarch implementations.
31493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
31494 New file.
31495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
31496 New file.
31497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
31498 multiarch lrint for PowerPC32.
31499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
31500 file: multiarch lrintf for PowerPC32.
31501
31502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
31503 and lroundf multiarch implementations.
31504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
31505 New file.
31506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
31507 New file.
31508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
31509 New file.
31510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
31511 multiarch lround for PowerPC32.
31512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
31513 file: multiarch lroundf for PowerPC32.
31514
31515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
31516 copysign and copysignf multiarch implementations.
31517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
31518 New file.
31519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
31520 New file.
31521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
31522 file: multiarch copysign for PowerPC32.
31523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
31524 file: multiarch copysignf for PowerPC32.
31525
31526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
31527 and truncf multiarch implementations.
31528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
31529 New file.
31530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
31531 file.
31532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
31533 multiarch trunc for PowerPC32.
31534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
31535 New file.
31536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
31537 New file.
31538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
31539 multiarch truncf for PowerPC32.
31540
31541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
31542 and roundf multiarch implementations.
31543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
31544 New file.
31545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
31546 file.
31547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
31548 multiarch round for PowerPC32.
31549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
31550 New file.
31551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
31552 New file.
31553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
31554 multiarch roundf for PowerPC32.
31555
31556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
31557 and floorf multiarch implementations.
31558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
31559 New file.
31560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
31561 file.
31562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
31563 multiarch floor for PowerPC32.
31564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
31565 New file.
31566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
31567 New file.
31568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
31569 multiarch floorf for PowerPC32.
31570
31571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
31572 and ceilf multiarch implementations.
31573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
31574 New file.
31575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
31576 file.
31577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
31578 multiarch ceil for PowerPC32.
31579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
31580 New file.
31581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
31582 file.
31583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
31584 multiarch ceilf for PowerPC32.
31585
31586 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
31587 is defined.
31588 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
31589 FINITEF is defined.
31590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
31591 and finitef multiarch implementations.
31592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
31593 New file.
31594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
31595 file.
31596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
31597 multiarch finite for PowerPC32.
31598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
31599 New file.
31600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
31601 file: multiarch finitef for PowerPC32.
31602
31603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
31604 and isinff multiarch implementations.
31605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
31606 file.
31607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
31608 file.
31609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
31610 multiarch isinf for PowerPC32.
31611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
31612 New file.
31613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
31614 multiarch isinff for PowerPC32.
31615
31616 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
31617 alias when __isnan is defined.
31618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
31619 and isnanf multiarch implementations.
31620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
31621 file.
31622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
31623 file.
31624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
31625 file.
31626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
31627 file.
31628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
31629 multiarch isnan for PowerPC32.
31630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
31631 New file.
31632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
31633 New file.
31634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
31635 multiarch isnanf for PowerPC32.
31636
31637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
31638 and sqrtf multiarch implementations.
31639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
31640 file.
31641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
31642 file.
31643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
31644 multiarch sqrt for PowerPC32.
31645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
31646 file.
31647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
31648 file.
31649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
31650 multiarch sqrtf for PowerPC32.
31651
31652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
31653 and llroundf multiarch implementations.
31654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
31655 New file.
31656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
31657 New file.
31658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
31659 New file.
31660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
31661 file: multiarch llround for PowerPC32.
31662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
31663 file: multiarch llroundf for PowerPC32.
31664
31665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
31666 multiarch PowerPC32 fpu implementations.
31667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
31668 New file.
31669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
31670 New file.
31671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
31672 multiarch llrint for PowerPC32.
31673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
31674 New file.
31675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
31676 New file.
31677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
31678 file.
31679
31680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
31681
31682 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
31683 file.
31684 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
31685 file.
31686 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
31687 file.
31688 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
31689 multiarch wordcopy for PPC32.
31690 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
31691 wordcopy objects.
31692 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31693 (__libc_ifunc_impl_list): Likewise.
31694 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
31695 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
31696 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
31697 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
31698 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
31699 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
31700
31701 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
31702 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
31703 file.
31704 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
31705 file.
31706 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
31707 file.
31708 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
31709 multiarch wcscpy for PPC32.
31710 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
31711 multiarch objects.
31712 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31713 (__libc_ifunc_impl_list): Likewise.
31714 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
31715 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
31716 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
31717 sysdeps/powerpc/power6/wcscpy.c.
31718
31719 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
31720 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
31721 file.
31722 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
31723 file.
31724 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
31725 file.
31726 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
31727 multiarch wcsrchr for PPC32.
31728 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
31729 multiarch objects.
31730 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31731 (__libc_ifunc_impl_list): Likewise.
31732 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
31733 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
31734 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
31735 sysdeps/powerpc/power6/wcsrchr.c.
31736
31737 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
31738 file.
31739 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
31740 file.
31741 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
31742 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
31743 multiarch wcschr for PPc32.
31744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
31745 multiarch objects.
31746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31747 (__libc_ifunc_impl_list): Likewise.
31748 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
31749 * sysdeps/powerpc/power6/wcschr.c: ... to here.
31750 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
31751 sysdeps/powerpc/power6/wcschr.c.
31752
31753 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
31754 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
31755 file.
31756 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
31757 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
31758 file: multiarch strchr for PPC32.
31759 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
31760 multiarch objects.
31761 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31762 (__libc_ifunc_impl_list): Likewise.
31763
31764 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
31765 name.
31766 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
31767 file.
31768 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
31769 file.
31770 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
31771 multiarch strchrnul for PPC32.
31772 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
31773 multiarch objects.
31774 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31775 (__libc_ifunc_impl_list): Likewise.
31776
31777 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
31778 file.
31779 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
31780 multiarch strncasecmp for PPC32.
31781 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
31782 file.
31783 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
31784 multiarch strncasecmp_l for PPC32.
31785 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
31786 strncasecmp multiarch objects.
31787 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31788 (__libc_ifunc_impl_list): Likewise.
31789
31790 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
31791 file.
31792 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
31793 multiarch strncasecmp for PPC32.
31794 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31795 New file.
31796 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
31797 multiarch strcasecmp_l for PPC32.
31798 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
31799 multiarch objects.
31800 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31801 (__libc_ifunc_impl_list): Likewise.
31802
31803 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
31804 file.
31805 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
31806 file.
31807 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
31808 multiarch strncmp for PPC32.
31809 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
31810 multiarch objects.
31811 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31812 (__libc_ifunc_impl_list): Likewise.
31813
31814 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
31815 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
31816 file.
31817 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
31818 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
31819 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
31820 multiarch objects.
31821 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31822 (__libc_ifunc_impl_list): Likewise.
31823
31824 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
31825 file.
31826 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
31827 file.
31828 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
31829 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
31830 multiarch objects.
31831 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31832 (__libc_ifunc_impl_list): Likewise.
31833
31834 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
31835 file.
31836 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
31837 file.
31838 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
31839 multiarch rawmemchr for PPC32.
31840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
31841 multiarch objects.
31842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31843 (__libc_ifunc_impl_list): Likewise.
31844
31845 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
31846 file.
31847 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
31848 file.
31849 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
31850 file: memrchr multiarch for PPC32.
31851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
31852 multiarch objects.
31853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
31854 (__libc_ifunc_impl_list): Likewise.
31855
31856 * string/memchr.c (__memchr): Using macro to redefine symbol name.
31857 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
31858 file.
31859 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
31860 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
31861 multiarch memchr for PPC32.
31862 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
31863 multiarch objects.
31864 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31865 (__libc_ifunc_impl_list): Likewise.
31866
31867 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
31868 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
31869 file.
31870 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
31871 file.
31872 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
31873 file: multiarch mempcpy for PPC32.
31874 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
31875 multiarch objects.
31876 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31877 (__libc_ifunc_impl_list): Likewise.
31878
31879 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
31880 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
31881 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
31882 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
31883 multiarch bzero for PPC32.
31884 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
31885 file.
31886 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
31887 file.
31888 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
31889 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
31890 file: multiarch memset for PPC32.
31891 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
31892 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
31893 memset multiarch objects.
31894 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31895 (__libc_ifunc_impl_list): Likewise.
31896
31897 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
31898 file.
31899 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
31900 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
31901 memcmp for PPC32.
31902 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
31903 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
31904 multiarch objects.
31905 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31906 (__libc_ifunc_impl_list): Likewise.
31907
31908 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
31909 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
31910 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
31911 file.
31912 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
31913 file.
31914 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
31915 file.
31916 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
31917 multiarch memcpy for PPC32.
31918 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
31919 multiarch objects.
31920 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31921 (__libc_ifunc_impl_list): Likewise.
31922
31923 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
31924 support multiarch for POWER/PPC32.
31925 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
31926 Likewise.
31927 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
31928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
31929 Implies file to make multiarch folder appers before the fpu and
31930 default folder for power4 configuration.
31931
31932 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31933
31934 * scripts/bench.pl: Append volatile keyword to type.
31935
31936 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31937
31938 * sysdeps/sh/sotruss-lib.c: New file.
31939 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
31940
31941 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31942
31943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31944
31945 2013-12-05 Joseph Myers <joseph@codesourcery.com>
31946
31947 [BZ #6810]
31948 * math/w_tgamma.c: Include <errno.h>.
31949 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
31950 * math/w_tgammaf.c: Include <errno.h>.
31951 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
31952 * math/w_tgammal.c: Include <errno.h>.
31953 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
31954 * math/auto-libm-test-in: Do not allow missing errno on tgamma
31955 underflow. Add more tgamma tests.
31956 * math/auto-libm-test-out: Regenerated.
31957 * sysdeps/i386/fpu/libm-test-ulps: Update.
31958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31959
31960 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
31961 sin, sinh, tan, tanh, tgamma, y0 and y1.
31962 * math/auto-libm-test-out: Regenerated.
31963 * math/libm-test.inc (TEST_COND_x86_64): New macro.
31964 (TEST_COND_x86): Likewise.
31965 (M_E2l): Remove macro.
31966 (M_E3l): Likewise.
31967 (M_2_SQRT_PIl): Likewise.
31968 (M_SQRT_PIl): Likewise.
31969 (M_1_DIV_El): Likewise.
31970 (log_test_data): Use AUTO_TESTS_f_f.
31971 (log10_test_data): Likewise.
31972 (log1p_test_data): Likewise.
31973 (log2_test_data): Likewise.
31974 (sin_test_data): Likewise.
31975 (sin_tonearest_test_data): Likewise.
31976 (sin_towardzero_test_data): Likewise.
31977 (sin_downward_test_data): Likewise.
31978 (sin_upward_test_data): Likewise.
31979 (sinh_test_data): Likewise.
31980 (sinh_tonearest_test_data): Likewise.
31981 (sinh_towardzero_test_data): Likewise.
31982 (sinh_downward_test_data): Likewise.
31983 (sinh_upward_test_data): Likewise.
31984 (tan_test_data): Likewise.
31985 (tan_tonearest_test_data): Likewise.
31986 (tan_towardzero_test_data): Likewise.
31987 (tan_downward_test_data): Likewise.
31988 (tan_upward_test_data): Likewise.
31989 (tanh_test_data): Likewise.
31990 (tgamma_test_data): Likewise.
31991 (y0_test_data): Likewise.
31992 (y1_test_data): Likewise.
31993 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
31994 (special_real_inputs): Add pi/4.
31995 * sysdeps/i386/fpu/libm-test-ulps: Update.
31996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31997
31998 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31999
32000 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
32001 "longjmp_target" static probes.
32002 (__longjmp): Rename to __longjmp_symbol.
32003 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32004 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
32005 on which longjmp to generate.
32006 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32007 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
32008 probe.
32009 (__sigsetjmp): Rename to __sigsetjmp_symbol.
32010 (__sigjmp_save): Rename to __sigjmp_save_symbol.
32011 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32012 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
32013 and __sigjmp_save_symbol based on which sigsetjmp to generated.
32014 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
32015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
32016 __longjmp_symbol based on which __longjmp to generate.
32017 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
32018 probe.
32019 (setjmp): Rename to setjmp_symbol.
32020 (__sigsetjmp): Rename to __sigsetjmp_symbol.
32021 (_setjmp): Rename to _setjmp_symbol.
32022 (__sigsetjmp): Rename to __sigsetjmp_symbol.
32023 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
32024 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
32025 which setjmp to generate.
32026 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
32027 "longjmp_target" static probes.
32028
32029 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32030
32031 * benchtests/README: Add note about output arguments.
32032 * benchtests/bench-sincos.c: Remove file.
32033 * benchtests/sincos-inputs: New file.
32034 * scripts/bench.pl: Identify output arguments and define
32035 static variables for them.
32036
32037 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
32038
32039 [BZ #15941]
32040 * Makefile (INSTALL): Add install-plain.texi as the primary
32041 dependency.
32042 * manual/install-plain.texi: New file.
32043 * manual/install.texi: Include node directive only for
32044 non-plaintext output.
32045
32046 2013-12-04 Joseph Myers <joseph@codesourcery.com>
32047
32048 * stdlib/longlong.h: Update from GCC.
32049
32050 [BZ #6807]
32051 [BZ #15901]
32052 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
32053 * math/w_j0f.c (y0f): Likewise.
32054 * math/w_j0l.c (__y0l): Likewise.
32055 * math/w_j1.c (y1): Likewise.
32056 * math/w_j1f.c (y1f): Likewise.
32057 * math/w_j1l.c (__y1l): Likewise
32058 * math/w_jn.c (yn): Likewise.
32059 * math/w_jnf.c (ynf): Likewise.
32060 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
32061 Bessel function pole errors in _POSIX_ mode. Use NAN as return
32062 value for Bessel function domain errors outside _SVID_ mode.
32063 Adjust sign of return value for yn (negative integer, 0).
32064 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
32065 by zero in return for negative x and set sign appropriately for
32066 negative n.
32067 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
32068 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32069 * math/libm-test.inc (y0_test_data): Add more tests and adjust
32070 expectations in error cases.
32071 (y1_test_data): Likewise.
32072 (yn_test_data): Likewise.
32073 * sysdeps/i386/fpu/libm-test-ulps: Update.
32074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32075
32076 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
32077
32078 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
32079 "64" to "64-v1". Add "64-v2".
32080 (abi-64-options): Rename to ...
32081 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
32082 (abi-64-condition): Rename to ...
32083 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
32084 (abi-64-ld-soname): Rename to ...
32085 (abi-64-v1-ld-soname): ... this.
32086 (abi-64-v2-options): Define.
32087 (abi-64-v2-condition): Likewise.
32088 (abi-64-v2-ld-soname): Likewise.
32089 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
32090 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
32091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
32092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
32093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
32094
32095 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
32096 Alan Modra <amodra@gmail.com>
32097
32098 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
32099 New versions for use with the ELFv2 ABI.
32100 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
32101 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
32102 declaration.
32103 (struct La_ppc64v2_retval): Likewise.
32104 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
32105 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
32106 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
32107 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
32108 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
32109 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32110 Do not save or restore CR.
32111 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
32112 (_dl_profile_resolve): Do no save or restore CR. Support extended
32113 return values for ELFv2 ABI. Fix location of FPR return registers.
32114 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
32115 updated values for _CALL_ELF == 2.
32116 (La_regs, La_retval, int_retval): Likewise.
32117
32118 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
32119
32120 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
32121 (FRAME_MIN_SIZE_PARM): Likewise.
32122 (FRAME_BACKCHAIN): Likewise.
32123 (FRAME_CR_SAVE): Likewise.
32124 (FRAME_LR_SAVE): Likewise.
32125 (FRAME_TOC_SAVE): Likewise.
32126 (FRAME_PARM_SAVE): Likewise.
32127 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
32128 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
32129 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
32130 (call_mcount_parm_offset): New macro.
32131 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
32132 (PROF): Use symbolic stack frame offsets.
32133 (TAIL_CALL_SYSCALL_ERROR): Likewise.
32134 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
32135 Redefine in terms of FRAME_MIN_SIZE.
32136 (_dl_runtime_resolve): Use symbolic stack frame offsets.
32137 (_dl_profile_resolve): Likewise. Update comment.
32138 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
32139 symbols stack frame offsets.
32140 (__sigsetjmp): Likewise.
32141 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
32142 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
32143 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
32144 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
32145
32146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
32147 (FRAME_BACKCHAIN): Remove.
32148 (FRAME_CR_SAVE): Likewise.
32149 (FRAME_LR_SAVE): Likewise.
32150 (FRAME_COMPILER_DW): Likewise.
32151 (FRAME_LINKER_DW): Likewise.
32152 (FRAME_TOC_SAVE): Likewise.
32153 (FRAME_PARM_SAVE): Likewise.
32154 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
32155 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
32156 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
32157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
32158 (CHECK_SP): Use symbolic stack frame offsets.
32159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
32160 zone" instead of caller's parameter save area for temp storage.
32161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32162 Likewise. Also, use symbolic stack frame offsets.
32163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
32164 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
32165 our own stack frame instead of the caller's.
32166 (__socket): Use symbolic stack frame offsets.
32167
32168 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
32169 Alan Modra <amodra@gmail.com>
32170
32171 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
32172 Define.
32173 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
32174 (PPC64_LOCAL_ENTRY_OFFSET): Define.
32175 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
32176 New function.
32177 (elf_machine_fixup_plt): Call it.
32178 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
32179 reloc arguments.
32180 (elf_machine_rela): Update call to elf_machine_plt_conflict.
32181 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
32182 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
32183 r2 before calling target.
32184
32185 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
32186 Alan Modra <amodra@gmail.com>
32187
32188 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
32189 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
32190 versions of macros to support ELFv2 ABI.
32191 (LOCALENTRY): New macro.
32192 (ENTRY, EALIGN): Use it.
32193 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
32194 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
32195 fall through into ENTRY entry point.
32196 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
32197 Only define if _CALL_ELF != 2.
32198
32199 (elf_machine_matches_host): Verify ABI version matches.
32200 (RTLD_START): Use LOCALENTRY.
32201 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
32202 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
32203 (PLT_ENTRY_WORDS): New macro.
32204 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
32205 (elf_machine_runtime_setup): Support ELFv2 ABI.
32206 (elf_machine_fixup_plt): Likewise.
32207 (elf_machine_plt_conflict): Likewise.
32208 (resolve_ifunc): Likewise.
32209 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
32210 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
32211 Likewise.
32212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
32213 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
32214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32215 (makecontext): Support ELFv2 ABI.
32216 * elf/elf.h (EF_PPC64_ABI): Define.
32217
32218 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
32219
32220 * sysdeps/powerpc/powerpc64/sysdep.h
32221 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
32222 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
32223 (ENTRY) [ASSEMBLER]: ... but instead here ...
32224 (EALIGN) [ASSEMBLER]: ... and here.
32225 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
32226 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
32227 (ENTRY_2) [!ASSEMBLER]: Use it.
32228 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
32229 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
32230 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
32231 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
32232 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
32233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
32234 Use PPC64_LOAD_FUNCPTR.
32235
32236 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
32237
32238 2013-12-04 Alan Modra <amodra@gmail.com>
32239
32240 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
32241 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
32242 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
32243 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
32244
32245 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
32246 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
32247 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
32248 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
32249 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
32250 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
32251
32252 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
32253
32254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32255 (__makecontext): Fix incorrect CFI when backtracing out of
32256 context created via makecontext.
32257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
32258 (__setcontext): Fix incorrect CFI during switch to new context.
32259 (__novec_setcontext): Likewise.
32260
32261 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
32262
32263 [BZ #4772]
32264 * time/strptime_l.c (__strptime_internal): Allow modifiers
32265 in strptime.
32266 * time/tst-strptime.c (day_tests): Add testcase.
32267
32268 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32269
32270 * scripts/bench.pl: Skip over blank lines.
32271
32272 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
32273
32274 [BZ #926]
32275 * manual/time.texi (Calendar Time): Clarify what timezone functions
32276 use.
32277
32278 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32279
32280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32281
32282 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
32283
32284 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
32285 implementation.
32286 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
32287 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
32288 * debug/memset_chk.c (__memset_chk): Likewise.
32289 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
32290 * debug/strncpy_chk.c: Likewise.
32291
32292 2013-12-03 Joseph Myers <joseph@codesourcery.com>
32293
32294 [BZ #15268]
32295 [BZ #15425]
32296 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
32297 (__ieee754_exp): For possibly underflowing results, check size of
32298 result and force underflow exception if required.
32299 * math/auto-libm-test-in: Add more tests of exp.
32300 * math/auto-libm-test-out: Regenerated.
32301 * sysdeps/i386/fpu/libm-test-ulps: Update.
32302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32303
32304 [BZ #16283]
32305 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
32306 * math/w_exp2f.c (__exp2f): Likewise.
32307 * math/w_exp2l.c (__exp2l): Likewise.
32308 * math/auto-libm-test-in: Do not allow missing errno on exp2
32309 underflow.
32310 * math/auto-libm-test-out: Regenerated.
32311
32312 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
32313
32314 [BZ #16274]
32315 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
32316 handle filename validation.
32317 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
32318 (do_open): Delete.
32319
32320 2013-12-03 Joseph Myers <joseph@codesourcery.com>
32321
32322 [BZ #6786]
32323 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
32324 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
32325 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
32326 <float.h>.
32327 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
32328 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
32329 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
32330 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
32331 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
32332 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
32333 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
32334 * math/auto-libm-test-in: Don't allow missing errno from erfc.
32335 Add more erfc tests.
32336 * math/auto-libm-test-out: Regenerated.
32337 * sysdeps/i386/fpu/libm-test-ulps: Update.
32338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32339
32340 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
32341 exp2, expm1, j0 and j1.
32342 * math/auto-libm-test-out: Regenerated.
32343 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
32344 (erfc_test_data): Likewise.
32345 (exp_test_data): Likewise.
32346 (exp_tonearest_test_data): Likewise.
32347 (exp_towardzero_test_data): Likewise.
32348 (exp_downward_test_data): Likewise.
32349 (exp_upward_test_data): Likewise.
32350 (exp10_test_data): Likewise.
32351 (exp2_test_data): Likewise.
32352 (expm1_test_data): Likewise.
32353 (j0_test_data): Likewise.
32354 (j1_test_data): Likewise.
32355 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
32356 (input_flag_type): Add flag_xfail_rounding.
32357 (input_flags): Add xfail-rounding.
32358 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
32359 (output_for_one_input_case): Handle flag_xfail_rounding.
32360 * sysdeps/i386/fpu/libm-test-ulps: Update.
32361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32362
32363 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
32364
32365 [BZ #16289]
32366 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
32367 division by 0.
32368
32369 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32370
32371 [BZ #16195]
32372 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
32373 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
32374 (STAP_PROBE0): New macro.
32375 (STAP_PROBE1): Likewise.
32376 (STAP_PROBE2): Likewise.
32377 (STAP_PROBE3): Likewise.
32378 (STAP_PROBE4): Likewise.
32379
32380 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
32381
32382 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
32383
32384 2013-12-02 Steve Ellcey <sellcey@mips.com>
32385
32386 * benchtests/Makefile (bench): Add sqrt.
32387 (LDLIBS-bench-sqrt): New.
32388 * benchtests/sqrt-input: New.
32389
32390 2013-12-02 Pavel Simerda <psimerda@redhat.com>
32391
32392 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
32393 (GAIH_EAI): Likewise.
32394 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
32395 (gaih_inet): Likewise.
32396 (getaddrinfo): Don't use GAIH_EAI.
32397
32398 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
32399 (struct gaih): Remove definition.
32400
32401 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32402
32403 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
32404 Use HERRNOP directly.
32405
32406 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32407
32408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32409
32410 2013-11-30 Joseph Myers <joseph@codesourcery.com>
32411
32412 * math/gen-auto-libm-tests.c (test_functions): Add more
32413 single-argument functions.
32414 (special_fill_pi_2): New function.
32415 (special_fill_minus_pi_2): Likewise.
32416 (special_fill_pi_6): Likewise.
32417 (special_fill_minus_pi_6): Likewise.
32418 (special_fill_pi_3): Likewise.
32419 (special_fill_2pi_3): Likewise.
32420 (special_fill_e): Likewise.
32421 (special_fill_1_e): Likewise.
32422 (special_fill_e_minus_1): Likewise.
32423 (special_real_inputs): Add more special inputs.
32424 (output_for_one_input_case): Do not require ERANGE on underflow to
32425 zero if round-to-nearest result does not underflow to zero, unless
32426 exact results required.
32427 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
32428 atan, atanh, cbrt, cos and cosh.
32429 * math/auto-libm-test-out: Regenerated.
32430 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
32431 (acos_tonearest_test_data): Likewise.
32432 (acos_towardzero_test_data): Likewise.
32433 (acos_downward_test_data): Likewise.
32434 (acos_upward_test_data): Likewise.
32435 (acosh_test_data): Likewise.
32436 (asin_test_data): Likewise.
32437 (asin_tonearest_test_data): Likewise.
32438 (asin_towardzero_test_data): Likewise.
32439 (asin_upward_test_data): Likewise.
32440 (asinh_test_data): Likewise.
32441 (atan_test_data): Likewise.
32442 (atanh_test_data): Likewise.
32443 (cbrt_test_data): Likewise.
32444 (cos_test_data): Likewise.
32445 (cos_tonearest_test_data): Likewise.
32446 (cos_towardzero_test_data): Likewise.
32447 (cos_downward_test_data): Likewise.
32448 (cos_upward_test_data): Likewise.
32449 (cosh_test_data): Likewise.
32450 (cosh_tonearest_test_data): Likewise.
32451 (cosh_towardzero_test_data): Likewise.
32452 (cosh_downward_test_data): Likewise.
32453 (cosh_upward_test_data): Likewise.
32454 * sysdeps/i386/fpu/libm-test-ulps: Update.
32455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32456
32457 2013-11-29 Joseph Myers <joseph@codesourcery.com>
32458
32459 [BZ #6787]
32460 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
32461 * math/w_exp10f.c (__exp10f): Likewise.
32462 * math/w_exp10l.c (__exp10l): Likewise.
32463 * math/libm-test.inc (exp10_test_data): Add more tests and expect
32464 errno settings in existing tests.
32465
32466 [BZ #14032]
32467 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
32468 precision control set to double precision.
32469 * sysdeps/i386/fpu/w_sqrt.c: New file.
32470 * math/auto-libm-test-in: Add more tests.
32471 * math/auto-libm-test-out: Update.
32472
32473 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
32474 (sqrt_test_tonearest): New function.
32475 (sqrt_towardzero_test_data): New variable.
32476 (sqrt_test_towardzero): New function.
32477 (sqrt_downward_test_data): New variable.
32478 (sqrt_test_downward): New function.
32479 (sqrt_upward_test_data): New variable.
32480 (sqrt_test_upward): New function.
32481 (main): Call the new functions.
32482
32483 * math/gen-auto-libm-tests.c: New file.
32484 * math/auto-libm-test-in: Likewise.
32485 * math/auto-libm-test-out: New generated file.
32486 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
32487 variables.
32488 (%beautify): Add generated representations of zero.
32489 (top level): Set $auto_input and call parse_auto_input.
32490 (beautify): Remove trailing "f" from hex float constants.
32491 (parse_args): Handle XFAIL_TEST.
32492 (convert_condition): New function.
32493 (or_value): Likewise.
32494 (or_cond_value): Likewise.
32495 (generate_testfile): Handle AUTO_TESTS_* lines.
32496 (parse_auto_input): New function.
32497 * math/libm-test.inc (XFAIL_TEST): New macro.
32498 (ERRNO_UNCHANGED): Update value.
32499 (ERRNO_EDOM): Likewise.
32500 (ERRNO_ERANGE): Likewise.
32501 (IGNORE_RESULT): Likewise.
32502 (TEST_COND_flt_32): New macro.
32503 (TEST_COND_dbl_64): Likewise.
32504 (TEST_COND_ldbl_96_intel): Likewise.
32505 (TEST_COND_ldbl_96_m68k): Likewise.
32506 (TEST_COND_ldbl_128): Likewise.
32507 (TEST_COND_ldbl_128ibm): Likewise.
32508 (TEST_COND_long32): Likewise.
32509 (TEST_COND_long64): Likewise.
32510 (TEST_COND_before_rounding): Likewise.
32511 (TEST_COND_after_rounding): Likewise.
32512 (enable_test): Handle XFAIL_TEST flag.
32513 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
32514 with finite results.
32515 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
32516 auto-libm-test-out.
32517
32518 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32519 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32520
32521 [BZ #16214]
32522 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
32523 __tls_get_addr_internal instead of __tls_get_offset in order to
32524 avoid GOT pointer dependency. Make rtld export
32525 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
32526 __tls_get_addr since we are a __tls_get_offset platform.
32527 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
32528 GOT pointer being set up before.
32529 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
32530
32531 2013-11-28 Joseph Myers <joseph@codesourcery.com>
32532
32533 * manual/math.texi (Errors in Math Functions): Document accuracy
32534 goals.
32535
32536 [BZ #15004]
32537 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
32538 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
32539 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32540 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32541 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32542 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32543 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32544 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32545 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32546 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32547 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32548 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32549 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32550 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32551 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32552 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32553
32554 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
32555 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
32556 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
32557 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
32558 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
32559 Likewise.
32560 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
32561 Likewise.
32562 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
32563 Likewise.
32564 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
32565 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
32566 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
32567 atomic-feupdateenv and flt-rounds.
32568 * sysdeps/powerpc/nofpu/Versions (libc): Add
32569 __atomic_feholdexcept, __atomic_feclearexcept,
32570 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
32571 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
32572 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
32573 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
32574 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
32575 here.
32576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
32577 Update.
32578
32579 * manual/arith.texi (FP Exceptions): Document that exceptions may
32580 not be raised when matherr is used.
32581 (Math Error Reporting): Document overflow in directed rounding
32582 modes. Document that errno may not be set when finite values are
32583 returned on overflow. Document intent to set errno on underflow
32584 only for underflow to zero.
32585
32586 [BZ #16271]
32587 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
32588 round-to-nearest then adjust result for other rounding modes.
32589 * include/fenv.h (fegetround): Use libm_hidden_proto.
32590 * math/fegetround.c (fegetround): Use libm_hidden_def.
32591 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
32592 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
32593 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
32594 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
32595 Likewise.
32596 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
32597 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32598 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
32599 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
32600
32601 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32602
32603 [BZ #16077]
32604 * nss/Versions (libnss_files): Add
32605 _nss_files_gethostbyname3_r.
32606 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
32607 New function.
32608 (HOST_DB_LOOKUP): Remove macro.
32609 (_nss_files_gethostbyname_r): Implement function without the
32610 HOST_DB_LOOKUP macro.
32611 (_nss_files_gethostbyname2_r): Likewise.
32612
32613 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
32614
32615 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
32616
32617 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
32618
32619 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
32620 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
32621 warning.
32622
32623 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32624
32625 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
32626 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
32627 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
32628 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
32629 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
32630 __fe_nomask_env_priv and attribute_hidden.
32631 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
32632 (libc_feupdateenv_test_ppc): Likewise.
32633 (libc_feresetround_ppc): Likewise.
32634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32635 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
32636 compat_symbol macro.
32637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32638 (__fe_nomask_env): Likewise.
32639 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
32640
32641 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
32642
32643 * string/Makefile: Remove ifunc tests.
32644 * string/test-string.h: Define TEST_IFUNC.
32645 * string/test-bcopy-ifunc.c: Remove.
32646 * string/test-bzero-ifunc.c: Likewise.
32647 * string/test-memccpy-ifunc.c: Likewise.
32648 * string/test-memchr-ifunc.c: Likewise.
32649 * string/test-memcmp-ifunc.c: Likewise.
32650 * string/test-memcpy-ifunc.c: Likewise.
32651 * string/test-memmem-ifunc.c: Likewise.
32652 * string/test-memmove-ifunc.c: Likewise.
32653 * string/test-mempcpy-ifunc.c: Likewise.
32654 * string/test-memrchr-ifunc.c: Likewise.
32655 * string/test-memset-ifunc.c: Likewise.
32656 * string/test-rawmemchr-ifunc.c: Likewise.
32657 * string/test-stpcpy-ifunc.c: Likewise.
32658 * string/test-stpncpy-ifunc.c: Likewise.
32659 * string/test-strcasecmp-ifunc.c: Likewise.
32660 * string/test-strcasestr-ifunc.c: Likewise.
32661 * string/test-strcat-ifunc.c: Likewise.
32662 * string/test-strchr-ifunc.c: Likewise.
32663 * string/test-strchrnul-ifunc.c: Likewise.
32664 * string/test-strcmp-ifunc.c: Likewise.
32665 * string/test-strcpy-ifunc.c: Likewise.
32666 * string/test-strcspn-ifunc.c: Likewise.
32667 * string/test-strlen-ifunc.c: Likewise.
32668 * string/test-strncasecmp-ifunc.c: Likewise.
32669 * string/test-strncat-ifunc.c: Likewise.
32670 * string/test-strncmp-ifunc.c: Likewise.
32671 * string/test-strncpy-ifunc.c: Likewise.
32672 * string/test-strnlen-ifunc.c: Likewise.
32673 * string/test-strpbrk-ifunc.c: Likewise.
32674 * string/test-strrchr-ifunc.c: Likewise.
32675 * string/test-strspn-ifunc.c: Likewise.
32676 * string/test-strstr-ifunc.c: Likewise.
32677
32678 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
32679
32680 * benchtests/Makefile: Remove ifunc tests.
32681 * benchtests/bench-string.h: Define TEST_IFUNC.
32682 * benchtests/bench-bcopy-ifunc.c: Remove.
32683 * benchtests/bench-bzero-ifunc.c: Likewise.
32684 * benchtests/bench-memccpy-ifunc.c: Likewise.
32685 * benchtests/bench-memchr-ifunc.c: Likewise.
32686 * benchtests/bench-memcmp-ifunc.c: Likewise.
32687 * benchtests/bench-memcpy-ifunc.c: Likewise.
32688 * benchtests/bench-memmem-ifunc.c: Likewise.
32689 * benchtests/bench-memmove-ifunc.c: Likewise.
32690 * benchtests/bench-mempcpy-ifunc.c: Likewise.
32691 * benchtests/bench-memrchr-ifunc.c: Likewise.
32692 * benchtests/bench-memset-ifunc.c: Likewise.
32693 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
32694 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
32695 * benchtests/bench-stpcpy-ifunc.c: Likewise.
32696 * benchtests/bench-stpncpy-ifunc.c: Likewise.
32697 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
32698 * benchtests/bench-strcasestr-ifunc.c: Likewise.
32699 * benchtests/bench-strcat-ifunc.c: Likewise.
32700 * benchtests/bench-strchr-ifunc.c: Likewise.
32701 * benchtests/bench-strchrnul-ifunc.c: Likewise.
32702 * benchtests/bench-strcmp-ifunc.c: Likewise.
32703 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
32704 * benchtests/bench-strcpy-ifunc.c: Likewise.
32705 * benchtests/bench-strcspn-ifunc.c: Likewise.
32706 * benchtests/bench-strlen-ifunc.c: Likewise.
32707 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
32708 * benchtests/bench-strncat-ifunc.c: Likewise.
32709 * benchtests/bench-strncmp-ifunc.c: Likewise.
32710 * benchtests/bench-strncpy-ifunc.c: Likewise.
32711 * benchtests/bench-strnlen-ifunc.c: Likewise.
32712 * benchtests/bench-strpbrk-ifunc.c: Likewise.
32713 * benchtests/bench-strrchr-ifunc.c: Likewise.
32714 * benchtests/bench-strsep-ifunc.c: Likewise.
32715 * benchtests/bench-strspn-ifunc.c: Likewise.
32716 * benchtests/bench-strstr-ifunc.c: Likewise.
32717
32718 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
32719
32720 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
32721
32722 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
32723
32724 * resolv/netdb.h: Use __glibc_reserved instead __unused.
32725 * rt/aio.h: Likewise.
32726 * sysdeps/gnu/bits/utmp.h: Likewise.
32727 * sysdeps/gnu/bits/utmpx.h: Likewise.
32728 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32729 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
32730 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
32731 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
32732 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
32733 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
32734 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
32735 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
32736 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
32737 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
32738 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
32739 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
32740 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
32741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
32742 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32743 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
32744 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
32745 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
32746 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
32747 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
32748 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
32749 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
32750 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
32751 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32752 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
32753 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32754 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
32755 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
32756 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
32757 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
32758 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
32759 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
32760 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
32761 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32762 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
32763 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
32764 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
32765 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
32766 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
32767 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
32768 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
32769 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32770
32771 2013-11-25 Carlos O'Donell <carlos@redhat.com>
32772
32773 [BZ #16245]
32774 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
32775 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
32776
32777 2013-11-25 Joseph Myers <joseph@codesourcery.com>
32778
32779 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
32780 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
32781 Likewise.
32782
32783 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32784
32785 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
32786 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
32787 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
32788 (__fesetround): Remove define.
32789 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
32790 rounding and exceptions handling.
32791 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
32792 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
32793 (__fe_nomask_env): Likewise.
32794 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
32795 __fegetround instead of fegetround.
32796 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
32797 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
32798
32799 2013-11-21 Roland McGrath <roland@hack.frob.com>
32800
32801 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
32802 it's there.
32803
32804 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
32805
32806 2013-11-21 Meador Inge <meadori@codesourcery.com>
32807
32808 [BZ #11157]
32809 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
32810 (encrypt_r): Likewise.
32811 * malloc/obstack.h (obstack_free): Likewise.
32812 * posix/unistd.h (encrypt): Likewise.
32813
32814 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
32815
32816 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
32817 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
32818 DL_CALL_DT_FINI() that call the functions directly.
32819 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
32820 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
32821 * elf/dl-fini.c: Likewise.
32822
32823 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
32824
32825 * malloc/hooks.c (memalign_check): Add alignment rounding.
32826 * malloc/malloc.c (_mid_memalign): New function.
32827 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
32828 Implement by calling _mid_memalign.
32829 * manual/probes.texi (Memory Allocation Probes): Remove
32830 memory_valloc_retry and memory_pvalloc_retry.
32831
32832 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32833
32834 * locale/programs/locarchive.c (open_archive): Add const
32835 qualifier to ARCHIVEFNAME and copy default fname to
32836 DEFAULT_FNAME.
32837
32838 [BZ #15601]
32839 * libio/tst-widetext.input: Rename Oriya to Odia.
32840 * locale/iso-639.def: Likewise.
32841
32842 * manual/probes.texi (Mathematical Function Probes): Add
32843 documentation for sin, cos, asin and acos probes.
32844 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
32845 (__sin32): Add slowasin probe.
32846 (__cos32): Add slowacos probe.
32847 (__mpsin): Add slowsin probe.
32848 (__mpcos): Add slowcos probe.
32849
32850 2013-11-19 Joseph Myers <joseph@codesourcery.com>
32851
32852 [BZ #15483]
32853 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
32854 thread-local __sim_exceptions_thread and global
32855 __sim_exceptions_global.
32856 (__sim_disabled_exceptions): Change to thread-local
32857 __sim_disabled_exceptions_thread and global
32858 __sim_disabled_exceptions_global.
32859 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
32860 and global __sim_round_mode_global.
32861 (__simulate_exceptions): Use thread-local floating-point state and
32862 set global state from it as needed.
32863 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
32864 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
32865 __sim_round_mode_thread.
32866 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
32867 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
32868 and global __sim_exceptions_global.
32869 (__sim_disabled_exceptions): Change to thread-local
32870 __sim_disabled_exceptions_thread and global
32871 __sim_disabled_exceptions_global.
32872 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
32873 and global __sim_round_mode_global.
32874 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
32875 (SIM_SET_GLOBAL): Likewise.
32876 * sysdeps/powerpc/soft-fp/sfp-machine.h
32877 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
32878 __sim_round_mode_thread.
32879 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
32880 __sim_disabled_exceptions_thread.
32881 (__sim_exceptions): Change to __sim_exceptions_thread.
32882 (__sim_disabled_exceptions): Change to
32883 __sim_disabled_exceptions_thread.
32884 (__sim_round_mode): Change to __sim_round_mode_thread.
32885 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
32886 thread-local floating-point state and set global state from it as
32887 needed.
32888 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
32889 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
32890 (__sim_disabled_exceptions): Remove extern declaration.
32891 (feenableexcept): Use thread-local floating-point state and set
32892 global state from it as needed.
32893 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
32894 extern declaration.
32895 (__sim_disabled_exceptions): Likewise.
32896 (__sim_round_mode): Likewise.
32897 (__fegetenv): Use thread-local floating-point state.
32898 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
32899 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
32900 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
32901 floating-point state and set global state from it as needed.
32902 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
32903 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32904 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
32905 Likewise.
32906 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
32907 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
32908 Likewise.
32909 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
32910 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
32911 Use __sim_round_mode_thread.
32912 * math/test-fenv-tls.c: New file.
32913 * math/Makefile (tests): Add test-fenv-tls.
32914 ($(objpfx)test-fenv-tls): Depend on
32915 $(common-objpfx)nptl/libpthread.so.
32916
32917 2013-11-19 Andreas Schwab <schwab@suse.de>
32918
32919 * locale/programs/locale.c (show_info): Decode wordarray elements.
32920 * locale/categories.def (LC_MONETARY): Add element for
32921 _NL_MONETARY_CRNCYSTR.
32922 * locale/C-monetary.c (conversion_rate): New variable.
32923 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
32924 element.
32925
32926 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
32927
32928 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
32929 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
32930
32931 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32932
32933 * elf/Makefile (tst-auxv): New test.
32934 * elf/tst-auxv.c: New
32935 * elf/rtld.c (dl_main): Adjust AT_EXECFN
32936
32937 2013-11-18 Joseph Myers <joseph@codesourcery.com>
32938
32939 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
32940 (hidden_proto): Caller changed.
32941 (hidden_tls_proto): New macro.
32942 (libc_hidden_tls_proto): Likewise.
32943 (rtld_hidden_tls_proto): Likewise.
32944 (libm_hidden_tls_proto): Likewise.
32945 (libresolv_hidden_tls_proto): Likewise.
32946 (librt_hidden_tls_proto): Likewise.
32947 (libdl_hidden_tls_proto): Likewise.
32948 (libnss_files_hidden_tls_proto): Likewise.
32949 (libnsl_hidden_tls_proto): Likewise.
32950 (libnss_nisplus_hidden_tls_proto): Likewise.
32951 (libutil_hidden_tls_proto): Likewise.
32952
32953 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
32954
32955 [BZ #10253]
32956 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
32957 (decompose_rpath): Defer expansion to fillin_rpath.
32958 (_dl_init_paths): Pass linkmap to fillin_rpath.
32959
32960 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32961
32962 * benchtests/Makefile: Add strsep.
32963 * benchtests/bench-strsep.c: New file: strsep benchtest.
32964 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
32965
32966 2013-11-18 Andreas Schwab <schwab@suse.de>
32967
32968 * locale/programs/locale.c (show_info) [case byte]: Check for
32969 '\377' instead of '\177'.
32970 * locale/C-monetary.c (not_available): Always use "\377".
32971 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
32972 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
32973 detect unavailable sign_posn locale elements.
32974 * locale/localeconv.c (__localeconv): For grouping and
32975 mon_grouping handle "\177" and "\377" like no grouping.
32976 (INT_ELEM): New macro. Use it to set all numeric members.
32977 * locale/programs/ld-monetary.c (monetary_read)
32978 <tok_mon_grouping>: Normalize single -1 to the empty string.
32979 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
32980 Likewise.
32981
32982 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
32983
32984 [BZ #16055]
32985 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
32986 when we match (nil).
32987 * stdio-common/tst-sscanf.c (struct test): Add testcase.
32988
32989 2013-11-16 Joseph Myers <joseph@codesourcery.com>
32990
32991 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
32992 (NO_TEST_INLINE): Update value.
32993 (ERRNO_UNCHANGED): Likewise.
32994 (ERRNO_EDOM): Likewise.
32995 (ERRNO_ERANGE): Likewise.
32996 (IGNORE_RESULT): Likewise.
32997 (check_float_internal): Check signs of NaN results if
32998 TEST_NAN_SIGN used.
32999 (check_complex): Pass TEST_NAN_SIGN flag through to second
33000 check_float_internal call.
33001 (copysign_test_data): Add tests with quiet NaNs as second
33002 argument. Use TEST_NAN_SIGN.
33003 (fabs_test_data): Add test of negative quiet NaN argument. Use
33004 TEST_NAN_SIGN.
33005 (signbit_test_data): Add tests of quiet NaN argument.
33006 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
33007
33008 * math/gen-libm-test.pl (show_exceptions): Take extra argument
33009 $ignore_result.
33010 (parse_args): Handle function results specified as IGNORE.
33011 * math/libm-test.inc (IGNORE_RESULT): New macro.
33012 (check_float_internal): Do not check numerical result if flag
33013 IGNORE_RESULT set.
33014 (check_complex): Pass through IGNORE_RESULT to second
33015 check_float_internal call.
33016 (check_int): Do not check numerical result if flag IGNORE_RESULT
33017 set.
33018 (check_long): Likewise.
33019 (check_bool): Likewise.
33020 (check_longlong): Likewise.
33021 (lrint_test_data): Add tests of infinite and NaN arguments.
33022 (lrint_tonearest_test_data): Likewise.
33023 (lrint_towardzero_test_data): Likewise.
33024 (lrint_downward_test_data): Likewise.
33025 (lrint_upward_test_data): Likewise.
33026 (llrint_test_data): Likewise.
33027 (llrint_tonearest_test_data): Likewise.
33028 (llrint_towardzero_test_data): Likewise.
33029 (llrint_downward_test_data): Likewise.
33030 (llrint_upward_test_data): Likewise.
33031 (lround_test_data): Likewise.
33032 (llround_test_data): Likewise.
33033
33034 * math/libm-test.inc (NO_TEST_INLINE): New macro.
33035 (ERRNO_UNCHANGED): Update value.
33036 (ERRNO_EDOM): Likewise.
33037 (ERRNO_ERANGE): Likewise.
33038 (NO_TEST_INLINE_FLOAT): New macro.
33039 (NO_TEST_INLINE_DOUBLE): Likewise.
33040 (enable_test): New function.
33041 (RUN_TEST_f_f): Check enable_test before running test.
33042 (RUN_TEST_2_f): Likewise.
33043 (RUN_TEST_fff_f): Likewise.
33044 (RUN_TEST_c_f): Likewise.
33045 (RUN_TEST_f_f1): Likewise.
33046 (RUN_TEST_fF_f1): Likewise.
33047 (RUN_TEST_fI_f1): Likewise.
33048 (RUN_TEST_ffI_f1): Likewise.
33049 (RUN_TEST_c_c): Likewise.
33050 (RUN_TEST_cc_c): Likewise.
33051 (RUN_TEST_f_i): Likewise.
33052 (RUN_TEST_f_i_tg): Likewise.
33053 (RUN_TEST_ff_i_tg): Likewise.
33054 (RUN_TEST_f_b): Likewise.
33055 (RUN_TEST_f_b_tg): Likewise.
33056 (RUN_TEST_f_l): Likewise.
33057 (RUN_TEST_f_L): Likewise.
33058 (RUN_TEST_fFF_11): Likewise.
33059 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
33060 conditionals.
33061 (cosh_test_data): Likewise.
33062 (exp_test_data): Likewise.
33063 (expm1_test_data): Likewise.
33064 (hypot_test_data): Likewise.
33065 (pow_test_data): Likewise.
33066 (sinh_test_data): Likewise.
33067 (tanh_test_data): Likewise.
33068 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
33069 flags argument.
33070
33071 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
33072 tests with quiet NaN input and output.
33073 (acosh_test_data): Likewise.
33074 (asin_test_data): Likewise.
33075 (asinh_test_data): Likewise.
33076 (atan_test_data): Likewise.
33077 (atanh_test_data): Likewise.
33078 (atan2_test_data): Likewise.
33079 (cbrt_test_data): Likewise.
33080 (cos_test_data): Likewise.
33081 (cosh_test_data): Likewise.
33082 (erf_test_data): Likewise.
33083 (erfc_test_data): Likewise.
33084 (exp_test_data): Likewise.
33085 (exp10_test_data): Likewise.
33086 (exp2_test_data): Likewise.
33087 (expm1_test_data): Likewise.
33088 (hypot_test_data): Likewise.
33089 (j0_test_data): Likewise.
33090 (j1_test_data): Likewise.
33091 (jn_test_data): Likewise.
33092 (lgamma_test_data): Likewise.
33093 (log_test_data): Likewise.
33094 (log10_test_data): Likewise.
33095 (log1p_test_data): Likewise.
33096 (log2_test_data): Likewise.
33097 (pow_test_data): Likewise.
33098 (scalb_test_data): Likewise.
33099 (sin_test_data): Likewise.
33100 (sincos_test_data): Likewise.
33101 (sinh_test_data): Likewise.
33102 (tan_test_data): Likewise.
33103 (tanh_test_data): Likewise.
33104 (tgamma_test_data): Likewise.
33105 (y0_test_data): Likewise.
33106 (y1_test_data): Likewise.
33107 (yn_test_data): Likewise.
33108
33109 [BZ #16167]
33110 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
33111 argument being NaN and avoid computations with second argument in
33112 that case.
33113 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33114 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33115 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33116
33117 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
33118
33119 * locale/iso-639.def: Add Chitwani Tharu (the).
33120
33121 2013-11-14 Andreas Schwab <schwab@suse.de>
33122
33123 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
33124 word instead of empty string.
33125
33126 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33127
33128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33129 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
33130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33131 (__fe_nomask_env): Likewise.
33132
33133 2013-11-13 Steve Ellcey <sellcey@mips.com>
33134
33135 * benchtests/bench-timing.h: Include time.h.
33136
33137 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
33138
33139 [BZ #15997]
33140 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
33141 to 3.4.0 for x32.
33142 * sysdeps/unix/sysv/linux/configure: Regenerated.
33143
33144 2013-11-13 Joseph Myers <joseph@codesourcery.com>
33145
33146 [BZ #16151]
33147 * stdlib/strtod_l.c (round_and_return): Do not consider
33148 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
33149 exponent one less than half the least subnormal exponent.
33150 * stdlib/test-strtod-round-data: Add more tests.
33151 * stdlib/tst-strtod-round.c (tests): Regenerated.
33152
33153 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33154
33155 [BZ #14143]
33156 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
33157 (__fe_mask_env): Likewise.
33158 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
33159 libm_hidden_proto and add function prototype.
33160 (__fe_mask_env): Add function prototype.
33161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33162 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
33163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33164 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
33165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33166 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
33167
33168 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33169
33170 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
33171 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
33172
33173 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33174
33175 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
33176 of htab_find_slot().
33177
33178 2013-11-11 David S. Miller <davem@davemloft.net>
33179
33180 [BZ #16150]
33181 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
33182 symbol in the non-vis3 case in static builds.
33183 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
33184 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
33185 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
33186 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
33187
33188 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
33189
33190 [BZ #387]
33191 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
33192 it is empty.
33193
33194 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33195
33196 * benchtests/Makefile: Add bench-strtod.
33197 * benchtests/bench-strtod.c: New file: strtod benchtest
33198
33199 2013-11-11 Andreas Schwab <schwab@suse.de>
33200
33201 [BZ #16153]
33202 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
33203 terminating NUL in key length.
33204
33205 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33206
33207 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
33208 Add artificial ODP entry for vDSO symbol for PPC64.
33209 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
33210 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
33211
33212 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
33213
33214 [BZ #15374]
33215 * nss/getent.c (services_keys): Recognize services starting with digit.
33216
33217 2013-11-06 David S. Miller <davem@davemloft.net>
33218
33219 [BZ #15985]
33220 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
33221 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
33222
33223 2013-11-06 Will Newton <will.newton@linaro.org>
33224
33225 * manual/memory.texi (Malloc Examples): Remove register
33226 keyword from examples.
33227
33228 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
33229
33230 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
33231
33232 2013-11-04 Joseph Myers <joseph@codesourcery.com>
33233
33234 [BZ #6981]
33235 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
33236 depending on [__GCC_IEC_559 > 0].
33237 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
33238 depending on [__GCC_IEC_559_COMPLEX > 0].
33239
33240 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
33241
33242 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
33243 to iso-639.def.
33244
33245 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
33246
33247 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
33248
33249 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
33250
33251 [BZ #16112]
33252 * malloc/malloc (malloc_info): Do not handle first bin as
33253 special case.
33254
33255 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
33256
33257 * locale/iso-639.def: Add Central Nahuatl (nhn).
33258
33259 2013-11-01 Bruno Haible <bruno@clisp.org>
33260
33261 [BZ #7003]
33262 * manual/math.texi (BSD Random): Specify range upper bound as
33263 in POSIX.
33264
33265 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
33266
33267 * locale/iso-639.def: Add Meadow Mari (mhr).
33268
33269 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
33270
33271 [BZ #14752], [BZ #15763]
33272 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
33273 Validate name.
33274 * rt/tst_shm.c: Add test for escaping directory.
33275
33276 2013-10-31 Andreas Schwab <schwab@suse.de>
33277
33278 [BZ #15917]
33279 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
33280 followed by 'x' as part of digit sequence.
33281 * stdio-common/tst-sscanf.c (double_tests2): New tests.
33282
33283 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
33284
33285 [BZ #16037]
33286 * configure.ac: allow GNU Make 4.0 and greater.
33287 * configure: Regenerated.
33288
33289 2013-10-30 Will Newton <will.newton@linaro.org>
33290
33291 [BZ #16038]
33292 * malloc/hooks.c (memalign_check): Limit alignment to the
33293 maximum representable power of two.
33294 * malloc/malloc.c (__libc_memalign): Likewise.
33295 * malloc/tst-memalign.c (do_test): Add test for very
33296 large alignment values.
33297 * malloc/tst-posix_memalign.c (do_test): Likewise.
33298
33299 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
33300
33301 [BZ #11087]
33302 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
33303 (munmap_chunk): Likewise.
33304 (mremap_chunk): Likewise.
33305
33306 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
33307
33308 [BZ #15799]
33309 * stdlib/div.c (div): Remove obsolete code.
33310 * stdlib/ldiv.c (ldiv): Likewise.
33311 * stdlib/lldiv.c (lldiv): Likewise.
33312
33313 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33314
33315 [BZ #16071]
33316 * nss/nss_files/files-XXX.c (get_contents_ret): New
33317 enumerator.
33318 (get_contents): New function.
33319 (internal_getent): Use it. Expand size of LINEBUFLEN.
33320
33321 2013-10-30 Mike Frysinger <vapier@gentoo.org>
33322
33323 * configure.in: Moved to ...
33324 * configure.ac: ... here. Change reference to configure.in
33325 to configure.ac.
33326 * sysdeps/arm/preconfigure.ac: ... here.
33327 configure.in to configure.ac.
33328 * sysdeps/gnu/configure.in: Moved to ...
33329 * sysdeps/gnu/configure.ac: ... here.
33330 * sysdeps/i386/configure.in: Moved to ...
33331 * sysdeps/i386/configure.ac: ... here.
33332 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
33333 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
33334 * sysdeps/mach/configure.in: Moved to ...
33335 * sysdeps/mach/configure.ac: ... here.
33336 * sysdeps/mach/hurd/configure.in: Moved to ...
33337 * sysdeps/mach/hurd/configure.ac: ... here.
33338 * sysdeps/powerpc/configure.in: Moved to ...
33339 * sysdeps/powerpc/configure.ac: ... here.
33340 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
33341 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
33342 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
33343 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
33344 * sysdeps/s390/s390-32/configure.in: Moved to ...
33345 * sysdeps/s390/s390-32/configure.ac: ... here.
33346 * sysdeps/s390/s390-64/configure.in: Moved to ...
33347 * sysdeps/s390/s390-64/configure.ac: ... here.
33348 * sysdeps/sh/configure.in: Moved to ...
33349 * sysdeps/sh/configure.ac: ... here.
33350 * sysdeps/sparc/configure.in: Moved to ...
33351 * sysdeps/sparc/configure.ac: ... here.
33352 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
33353 * sysdeps/unix/sysv/linux/configure.ac: ... here.
33354 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
33355 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
33356 * sysdeps/x86_64/configure.in: Moved to ...
33357 * sysdeps/x86_64/configure.ac: ... here.
33358 * sysdeps/x86_64/preconfigure.in: Moved to ...
33359 * sysdeps/x86_64/preconfigure.ac: ... here.
33360 * aclocal.m4: Change reference to configure.in to configure.ac.
33361 * config.h.in: Likewise.
33362 * manual/install.texi: Likewise.
33363 * manual/maint.texi: Likewise.
33364 * Makefile: Likewise.
33365 * malloc/Makefile: Likewise.
33366 * nscd/Makefile: Likewise.
33367 * Makeconfig: Change reference to configure.in and
33368 preconfigure.in to configure.ac and preconfigure.ac
33369 respectively.
33370 * INSTALL: Regenerated.
33371 * configure: Likewise.
33372 * sysdeps/gnu/configure: Likewise.
33373 * sysdeps/i386/configure: Likewise.
33374 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
33375 * sysdeps/mach/configure: Likewise.
33376 * sysdeps/mach/hurd/configure: Likewise.
33377 * sysdeps/powerpc/configure: Likewise.
33378 * sysdeps/powerpc/powerpc32/configure: Likewise.
33379 * sysdeps/powerpc/powerpc64/configure: Likewise.
33380 * sysdeps/s390/s390-32/configure: Likewise.
33381 * sysdeps/s390/s390-64/configure: Likewise.
33382 * sysdeps/sh/configure: Likewise.
33383 * sysdeps/sparc/configure: Likewise.
33384 * sysdeps/unix/sysv/linux/configure: Likewise.
33385 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
33386 * sysdeps/x86_64/configure: Likewise.
33387 * sysdeps/x86_64/preconfigure: Likewise.
33388
33389 2013-10-29 Andreas Schwab <schwab@suse.de>
33390
33391 * stdio-common/Makefile (tst-swscanf-ENV): Define.
33392
33393 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33394
33395 * benchtests/pow-inputs: Add new inputs.
33396
33397 * benchtests/exp-inputs: Add new inputs.
33398
33399 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
33400 conditional check for return value.
33401 (__cos32): Likewise.
33402
33403 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33404
33405 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
33406 to provide a boost for large inputs with word alignment.
33407 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
33408 implementation based on optimized PPC64 strcpy.
33409 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
33410 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
33411 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
33412 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
33413
33414 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
33415
33416 [BZ #2801]
33417 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
33418
33419 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
33420
33421 [BZ #14876]
33422 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
33423 * time/tst-strptime.c (day_tests): Add testcase.
33424
33425 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
33426
33427 [BZ #14029]
33428 * manual/pattern.texi: Acknowledge that fnmatch can fail.
33429
33430 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
33431
33432 [BZ #16074]
33433 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
33434 MAP_FAILED on error.
33435
33436 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33437
33438 [BZ #16072]
33439 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
33440 heap for large requests.
33441
33442 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
33443
33444 [BZ #9954]
33445 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
33446 result if the result has no associated interface.
33447 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
33448 interface for all 127.X.Y.Z addresses.
33449
33450 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
33451
33452 * locale/iso-639.def: Add Ligurian (lij)
33453
33454 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
33455
33456 [BZ #15825]
33457 * sunrpc/rpc_main.c: Document rpcgen -5.
33458
33459 2013-10-19 Michael Stahl <mstahl@redhat.com>
33460
33461 * elf/rtld.c (do_preload): Print the reason why preloading failed.
33462
33463 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
33464
33465 [BZ #10278]
33466 * posix/glob.c: Match only directories when trailing slash is present.
33467 * posix/tst-gnuglob.c (my_opendir): Do not open files.
33468 (main): Add testcase.
33469
33470 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
33471
33472 [BZ #15670]
33473 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
33474
33475 2013-10-18 Carlos O'Donell <carlos@redhat.com>
33476
33477 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
33478 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
33479 AUTH_DES and cindex for FIPS 140-2.
33480 (DES Encryption): Add cindex FIPS 46-3.
33481
33482 * locale/locarchive.h (struct locarhandle): Add fname.
33483 * locale/programs/localedef.c (main): Pass ARGV[remaining]
33484 if an optional argument was specified to --list-archive,
33485 otherwise NULL.
33486 * locale/programs/locarchive.c (show_archive_content): Take new
33487 argument fname and pass it via ah.fname to open_archive.
33488 * locale/programs/localedef.h: Update decl.
33489 (open_archive): If AH->fname is non-null, open that file
33490 rather than the default file name, and don't ignore ENOENT.
33491 (create_archive): Set AH.fname to NULL.
33492 (delete_locales_from_archive): Likewise.
33493 (add_locales_to_archive): Likewise.
33494 * locale/programs/locfile.c (write_all_categories): Likewise.
33495
33496 2013-10-18 Joseph Myers <joseph@codesourcery.com>
33497 Aldy Hernandez <aldyh@redhat.com>
33498
33499 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
33500 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
33501 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
33502 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
33503 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
33504 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
33505 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
33506 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
33507 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
33508 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
33509 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
33510 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
33511 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
33512 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
33513 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
33514 Likewise.
33515 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
33516 Likewise.
33517 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
33518 Likewise.
33519 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
33520 Likewise.
33521 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
33522 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
33523 Likewise.
33524 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
33525 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
33526 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
33527 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
33528 Likewise.
33529 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
33530 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
33531 * sysdeps/powerpc/preconfigure: Likewise.
33532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
33533 Likewise.
33534 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
33535 Replace contents of file by #include of <fenv_libc.h>.
33536 * sysdeps/powerpc/soft-fp/sfp-machine.h
33537 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
33538 and <sys/prctl.h>.
33539 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
33540 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
33541 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
33542 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
33543 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
33544 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
33545 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
33546 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
33547 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
33548 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
33549 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
33550 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
33551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33552 Allow copysignl PLT reference to be missing.
33553
33554 2013-10-18 Richard Sandiford <richard@codesourcery.com>
33555 Joseph Myers <joseph@codesourcery.com
33556
33557 [BZ #15948]
33558 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
33559 single character.
33560 (add_to_tablewc): Assert sequence of wide characters is nonempty.
33561
33562 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33563
33564 * elf/tst-tls-dlinfo.c: Don't include tls.h.
33565 * elf/tst-tls1.c: Likewise.
33566 * elf/tst-tls10.h: Likewise.
33567 * elf/tst-tls14.c: Likewise.
33568 * elf/tst-tls2.c: Likewise.
33569 * elf/tst-tls3.c: Likewise.
33570 * elf/tst-tls4.c: Likewise.
33571 * elf/tst-tls5.c: Likewise.
33572 * elf/tst-tls6.c: Likewise.
33573 * elf/tst-tls7.c: Likewise.
33574 * elf/tst-tls8.c: Likewise.
33575 * elf/tst-tls9.c: Likewise.
33576 * elf/tst-tlsmod1.c: Likewise.
33577 * elf/tst-tlsmod13.c: Likewise.
33578 * elf/tst-tlsmod13a.c: Likewise.
33579 * elf/tst-tlsmod14a.c: Likewise.
33580 * elf/tst-tlsmod16a.c: Likewise.
33581 * elf/tst-tlsmod16b.c: Likewise.
33582 * elf/tst-tlsmod2.c: Likewise.
33583 * elf/tst-tlsmod3.c: Likewise.
33584 * elf/tst-tlsmod4.c: Likewise.
33585 * elf/tst-tlsmod5.c: Likewise.
33586 * elf/tst-tlsmod6.c: Likewise.
33587
33588 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
33589
33590 [BZ #12486]
33591 * malloc/malloc.c: remove checks for statistics.
33592
33593 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
33594
33595 [BZ #15277]
33596 * inet/inet_net.c (inet_network): Detect additional invalid strings.
33597 * inet/tst-network.c: Add testcase.
33598
33599 2013-10-17 Andreas Schwab <schwab@suse.de>
33600
33601 [BZ #15218]
33602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
33603 to determine canonical name.
33604
33605 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
33606
33607 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
33608 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
33609 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33610 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33612 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33613 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33614 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33615 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33616 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33617 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33618 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33619 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33620 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33621 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33622 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33624 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33625 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33626 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33627 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33628 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33629 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33630 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
33631 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
33632 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33633 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33634 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
33635 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33636 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
33637 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33638 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33639 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33640 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33641 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33642 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33643 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33644 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33645 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33646 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33647 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33648 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33649 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33650 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33651 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33652 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33653 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33654 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33655 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33656 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33657 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33658 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33659 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33660 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33661 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33662 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33664 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33665
33666 2013-10-17 Joseph Myers <joseph@codesourcery.com>
33667
33668 [BZ #16041]
33669 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
33670 make result into a quiet NaN.
33671
33672 2013-10-16 Joseph Myers <joseph@codesourcery.com>
33673
33674 * soft-fp/adddf3.c: Fix horizontal whitespace.
33675 * soft-fp/addsf3.c: Likewise.
33676 * soft-fp/addtf3.c: Likewise.
33677 * soft-fp/divdf3.c: Likewise.
33678 * soft-fp/divsf3.c: Likewise.
33679 * soft-fp/divtf3.c: Likewise.
33680 * soft-fp/double.h: Likewise.
33681 * soft-fp/eqdf2.c: Likewise.
33682 * soft-fp/eqsf2.c: Likewise.
33683 * soft-fp/eqtf2.c: Likewise.
33684 * soft-fp/extenddftf2.c: Likewise.
33685 * soft-fp/extended.h: Likewise.
33686 * soft-fp/extendsfdf2.c: Likewise.
33687 * soft-fp/extendsftf2.c: Likewise.
33688 * soft-fp/extendxftf2.c: Likewise.
33689 * soft-fp/fixdfdi.c: Likewise.
33690 * soft-fp/fixdfsi.c: Likewise.
33691 * soft-fp/fixdfti.c: Likewise.
33692 * soft-fp/fixsfdi.c: Likewise.
33693 * soft-fp/fixsfsi.c: Likewise.
33694 * soft-fp/fixsfti.c: Likewise.
33695 * soft-fp/fixtfdi.c: Likewise.
33696 * soft-fp/fixtfsi.c: Likewise.
33697 * soft-fp/fixtfti.c: Likewise.
33698 * soft-fp/fixunsdfdi.c: Likewise.
33699 * soft-fp/fixunsdfsi.c: Likewise.
33700 * soft-fp/fixunsdfti.c: Likewise.
33701 * soft-fp/fixunssfdi.c: Likewise.
33702 * soft-fp/fixunssfsi.c: Likewise.
33703 * soft-fp/fixunssfti.c: Likewise.
33704 * soft-fp/fixunstfdi.c: Likewise.
33705 * soft-fp/fixunstfsi.c: Likewise.
33706 * soft-fp/fixunstfti.c: Likewise.
33707 * soft-fp/floatdidf.c: Likewise.
33708 * soft-fp/floatdisf.c: Likewise.
33709 * soft-fp/floatditf.c: Likewise.
33710 * soft-fp/floatsidf.c: Likewise.
33711 * soft-fp/floatsisf.c: Likewise.
33712 * soft-fp/floatsitf.c: Likewise.
33713 * soft-fp/floattidf.c: Likewise.
33714 * soft-fp/floattisf.c: Likewise.
33715 * soft-fp/floattitf.c: Likewise.
33716 * soft-fp/floatundidf.c: Likewise.
33717 * soft-fp/floatundisf.c: Likewise.
33718 * soft-fp/floatunditf.c: Likewise.
33719 * soft-fp/floatunsidf.c: Likewise.
33720 * soft-fp/floatunsisf.c: Likewise.
33721 * soft-fp/floatunsitf.c: Likewise.
33722 * soft-fp/floatuntidf.c: Likewise.
33723 * soft-fp/floatuntisf.c: Likewise.
33724 * soft-fp/floatuntitf.c: Likewise.
33725 * soft-fp/fmadf4.c: Likewise.
33726 * soft-fp/fmasf4.c: Likewise.
33727 * soft-fp/fmatf4.c: Likewise.
33728 * soft-fp/gedf2.c: Likewise.
33729 * soft-fp/gesf2.c: Likewise.
33730 * soft-fp/getf2.c: Likewise.
33731 * soft-fp/ledf2.c: Likewise.
33732 * soft-fp/lesf2.c: Likewise.
33733 * soft-fp/letf2.c: Likewise.
33734 * soft-fp/muldf3.c: Likewise.
33735 * soft-fp/mulsf3.c: Likewise.
33736 * soft-fp/multf3.c: Likewise.
33737 * soft-fp/negdf2.c: Likewise.
33738 * soft-fp/negsf2.c: Likewise.
33739 * soft-fp/negtf2.c: Likewise.
33740 * soft-fp/op-1.h: Likewise.
33741 * soft-fp/op-2.h: Likewise.
33742 * soft-fp/op-4.h: Likewise.
33743 * soft-fp/op-8.h: Likewise.
33744 * soft-fp/op-common.h: Likewise.
33745 * soft-fp/quad.h: Likewise.
33746 * soft-fp/single.h: Likewise.
33747 * soft-fp/soft-fp.h: Likewise.
33748 * soft-fp/sqrtdf2.c: Likewise.
33749 * soft-fp/sqrtsf2.c: Likewise.
33750 * soft-fp/sqrttf2.c: Likewise.
33751 * soft-fp/subdf3.c: Likewise.
33752 * soft-fp/subsf3.c: Likewise.
33753 * soft-fp/subtf3.c: Likewise.
33754 * soft-fp/truncdfsf2.c: Likewise.
33755 * soft-fp/trunctfdf2.c: Likewise.
33756 * soft-fp/trunctfsf2.c: Likewise.
33757 * soft-fp/trunctfxf2.c: Likewise.
33758 * soft-fp/unorddf2.c: Likewise.
33759 * soft-fp/unordsf2.c: Likewise.
33760 * soft-fp/unordtf2.c: Likewise.
33761
33762 2013-10-15 Joseph Myers <joseph@codesourcery.com>
33763
33764 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
33765 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
33766
33767 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
33768
33769 * elf/dl-libc.c: Clear initfini list after freeing.
33770
33771 2013-10-14 Joseph Myers <joseph@codesourcery.com>
33772
33773 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
33774 * soft-fp/addsf3.c: Likewise.
33775 * soft-fp/addtf3.c: Likewise.
33776 * soft-fp/divdf3.c: Likewise.
33777 * soft-fp/divsf3.c: Likewise.
33778 * soft-fp/divtf3.c: Likewise.
33779 * soft-fp/double.h: Likewise.
33780 * soft-fp/eqdf2.c: Likewise.
33781 * soft-fp/eqsf2.c: Likewise.
33782 * soft-fp/eqtf2.c: Likewise.
33783 * soft-fp/extenddftf2.c: Likewise.
33784 * soft-fp/extended.h: Likewise.
33785 * soft-fp/extendsfdf2.c: Likewise.
33786 * soft-fp/extendsftf2.c: Likewise.
33787 * soft-fp/extendxftf2.c: Likewise.
33788 * soft-fp/fixdfdi.c: Likewise.
33789 * soft-fp/fixdfsi.c: Likewise.
33790 * soft-fp/fixdfti.c: Likewise.
33791 * soft-fp/fixsfdi.c: Likewise.
33792 * soft-fp/fixsfsi.c: Likewise.
33793 * soft-fp/fixsfti.c: Likewise.
33794 * soft-fp/fixtfdi.c: Likewise.
33795 * soft-fp/fixtfsi.c: Likewise.
33796 * soft-fp/fixtfti.c: Likewise.
33797 * soft-fp/fixunsdfdi.c: Likewise.
33798 * soft-fp/fixunsdfsi.c: Likewise.
33799 * soft-fp/fixunsdfti.c: Likewise.
33800 * soft-fp/fixunssfdi.c: Likewise.
33801 * soft-fp/fixunssfsi.c: Likewise.
33802 * soft-fp/fixunssfti.c: Likewise.
33803 * soft-fp/fixunstfdi.c: Likewise.
33804 * soft-fp/fixunstfsi.c: Likewise.
33805 * soft-fp/fixunstfti.c: Likewise.
33806 * soft-fp/floatdidf.c: Likewise.
33807 * soft-fp/floatdisf.c: Likewise.
33808 * soft-fp/floatditf.c: Likewise.
33809 * soft-fp/floatsidf.c: Likewise.
33810 * soft-fp/floatsisf.c: Likewise.
33811 * soft-fp/floatsitf.c: Likewise.
33812 * soft-fp/floattidf.c: Likewise.
33813 * soft-fp/floattisf.c: Likewise.
33814 * soft-fp/floattitf.c: Likewise.
33815 * soft-fp/floatundidf.c: Likewise.
33816 * soft-fp/floatundisf.c: Likewise.
33817 * soft-fp/floatunsidf.c: Likewise.
33818 * soft-fp/floatunsisf.c: Likewise.
33819 * soft-fp/floatuntidf.c: Likewise.
33820 * soft-fp/floatuntisf.c: Likewise.
33821 * soft-fp/floatuntitf.c: Likewise.
33822 * soft-fp/fmadf4.c: Likewise.
33823 * soft-fp/fmasf4.c: Likewise.
33824 * soft-fp/fmatf4.c: Likewise.
33825 * soft-fp/gedf2.c: Likewise.
33826 * soft-fp/gesf2.c: Likewise.
33827 * soft-fp/getf2.c: Likewise.
33828 * soft-fp/ledf2.c: Likewise.
33829 * soft-fp/lesf2.c: Likewise.
33830 * soft-fp/letf2.c: Likewise.
33831 * soft-fp/muldf3.c: Likewise.
33832 * soft-fp/mulsf3.c: Likewise.
33833 * soft-fp/multf3.c: Likewise.
33834 * soft-fp/negdf2.c: Likewise.
33835 * soft-fp/negsf2.c: Likewise.
33836 * soft-fp/negtf2.c: Likewise.
33837 * soft-fp/op-1.h: Likewise.
33838 * soft-fp/op-2.h: Likewise.
33839 * soft-fp/op-4.h: Likewise.
33840 * soft-fp/op-8.h: Likewise.
33841 * soft-fp/op-common.h: Likewise.
33842 * soft-fp/quad.h: Likewise.
33843 * soft-fp/single.h: Likewise.
33844 * soft-fp/soft-fp.h: Likewise.
33845 * soft-fp/sqrtdf2.c: Likewise.
33846 * soft-fp/sqrtsf2.c: Likewise.
33847 * soft-fp/sqrttf2.c: Likewise.
33848 * soft-fp/subdf3.c: Likewise.
33849 * soft-fp/subsf3.c: Likewise.
33850 * soft-fp/subtf3.c: Likewise.
33851 * soft-fp/truncdfsf2.c: Likewise.
33852 * soft-fp/trunctfdf2.c: Likewise.
33853 * soft-fp/trunctfsf2.c: Likewise.
33854 * soft-fp/trunctfxf2.c: Likewise.
33855 * soft-fp/unorddf2.c: Likewise.
33856 * soft-fp/unordsf2.c: Likewise.
33857 * soft-fp/unordtf2.c: Likewise.
33858
33859 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
33860
33861 [BZ #15672]
33862 * misc/error.c (error_tail): Fix possible buffer overflow.
33863
33864 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
33865
33866 [BZ #13028]
33867 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
33868 address.
33869
33870 2013-10-14 P. J. McDermott <pj@pehjota.net>
33871
33872 [BZ #832]
33873 * elf/ldd.bash.in (try_trace): New function. Delete previous code
33874 testing pipefail option.
33875
33876 2013-10-12 Joseph Myers <joseph@codesourcery.com>
33877
33878 * soft-fp/double.h: Indent preprocessor directives inside #if.
33879 * soft-fp/extended.h: Likewise.
33880 * soft-fp/op-2.h: Likewise.
33881 * soft-fp/op-4.h: Likewise.
33882 * soft-fp/op-common.h: Likewise.
33883 * soft-fp/quad.h: Likewise.
33884 * soft-fp/single.h: Likewise.
33885 * soft-fp/soft-fp.h: Likewise.
33886
33887 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
33888
33889 * iconv/iconv_prog.c: Fix typos.
33890 * stdio-common/psiginfo-data.h: Likewise.
33891
33892 2013-10-12 Reuben Thomas <rrt@sc3d.org>
33893
33894 [BZ #15764]
33895 * locale/setlocale.c: Fix typo.
33896
33897 2013-10-12 Joseph Myers <joseph@codesourcery.com>
33898
33899 [BZ #16036]
33900 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
33901 signaling NaN arguments.
33902 * soft-fp/unordsf2.c (__unordsf2): Likewise.
33903 * soft-fp/unordtf2.c (__unordtf2): Likewise.
33904
33905 [BZ #14910]
33906 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
33907 unordered operands.
33908 * soft-fp/gesf2.c (__gesf2): Likewise.
33909 * soft-fp/getf2.c (__getf2): Likewise.
33910 * soft-fp/ledf2.c (__ledf2): Likewise.
33911 * soft-fp/lesf2.c (__lesf2): Likewise.
33912 * soft-fp/letf2.c (__letf2): Likewise.
33913
33914 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
33915 * soft-fp/eqsf2.c (__eqsf2): Likewise.
33916 * soft-fp/eqtf2.c (__eqtf2): Likewise.
33917 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
33918 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
33919 * soft-fp/fixdfti.c (__fixdfti): Likewise.
33920 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
33921 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
33922 * soft-fp/fixsfti.c (__fixsfti): Likewise.
33923 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
33924 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
33925 * soft-fp/fixtfti.c (__fixtfti): Likewise.
33926 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
33927 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
33928 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
33929 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
33930 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
33931 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
33932 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
33933 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
33934 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
33935 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
33936 * soft-fp/floatdisf.c (__floatdisf): Likewise.
33937 * soft-fp/floatsisf.c (__floatsisf): Likewise.
33938 * soft-fp/floattidf.c (__floattidf): Likewise.
33939 * soft-fp/floattisf.c (__floattisf): Likewise.
33940 * soft-fp/floattitf.c (__floattitf): Likewise.
33941 * soft-fp/floatundidf.c (__floatundidf): Likewise.
33942 * soft-fp/floatundisf.c (__floatundisf): Likewise.
33943 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
33944 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
33945 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
33946 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
33947 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
33948 * soft-fp/gesf2.c (__gesf2): Likewise.
33949 * soft-fp/getf2.c (__getf2): Likewise.
33950 * soft-fp/ledf2.c (__ledf2): Likewise.
33951 * soft-fp/lesf2.c (__lesf2): Likewise.
33952 * soft-fp/letf2.c (__letf2): Likewise.
33953
33954 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
33955 Undefine and redefine.
33956 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
33957 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
33958 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
33959 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
33960 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
33961 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
33962 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
33963 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
33964 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
33965 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
33966 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
33967 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
33968 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
33969 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
33970 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
33971
33972 [BZ #16032]
33973 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
33974 without decrementing exponent if mantissa >= that for the
33975 denominator, not >.
33976 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
33977 denominator, not >. Decrement exponent in < case instead of
33978 incrementing in >= case.
33979 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
33980 without decrementing exponent if mantissa >= that for the
33981 denominator, not >.
33982
33983 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
33984 computing saturated result for unsigned overflow.
33985
33986 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33987 Jeff Law <law@redhat.com>
33988
33989 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
33990 (atan2Mp): Add systemtap probe marker.
33991 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
33992 (__ieee754_log): Add systemtap probe marker.
33993 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
33994 (atanMp): Add systemtap probe marker.
33995 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
33996 (tanMp): Add systemtap probe marker.
33997 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
33998 (__slowexp): Add systemtap probe marker.
33999 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
34000 (__slowpow): Add systemtap probe marker.
34001 * manual/probes.texi: Document probes.
34002
34003 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
34004
34005 [BZ #15362]
34006 * libio/fileops.c (_IO_new_file_write): Return count of bytes
34007 written.
34008 (_IO_new_file_xsputn): Don't return EOF if nothing has been
34009 written.
34010 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
34011 written to buffer but not flushed.
34012 * libio/iofwrite_u.c: Likewise.
34013 * libio/iopadn.c: Return bytes returned even if EOF was
34014 encountered.
34015 * libio/iowpadn.c: Likewise.
34016 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
34017 if _IO_padn does not write the whole buffer.
34018 [!COMPILE_WPRINTF] (PAD): Likewise.
34019
34020 2013-10-10 David S. Miller <davem@davemloft.net>
34021
34022 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
34023 directory block.
34024
34025 2013-10-10 Joseph Myers <joseph@codesourcery.com>
34026
34027 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
34028 instead of FSF address.
34029 * soft-fp/fixdfti.c: Likewise.
34030 * soft-fp/fixsfti.c: Likewise.
34031 * soft-fp/fixtfti.c: Likewise.
34032 * soft-fp/fixunsdfti.c: Likewise.
34033 * soft-fp/fixunssfti.c: Likewise.
34034 * soft-fp/fixunstfti.c: Likewise.
34035 * soft-fp/floattidf.c: Likewise.
34036 * soft-fp/floattisf.c: Likewise.
34037 * soft-fp/floattitf.c: Likewise.
34038 * soft-fp/floatuntidf.c: Likewise.
34039 * soft-fp/floatuntisf.c: Likewise.
34040 * soft-fp/floatuntitf.c: Likewise.
34041 * soft-fp/trunctfxf2.c: Likewise.
34042
34043 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
34044 * soft-fp/fixdfti.c: Likewise.
34045 * soft-fp/fixsfti.c: Likewise.
34046 * soft-fp/fixtfti.c: Likewise.
34047 * soft-fp/fixunsdfti.c: Likewise.
34048 * soft-fp/fixunssfti.c: Likewise.
34049 * soft-fp/fixunstfti.c: Likewise.
34050 * soft-fp/floattidf.c: Likewise.
34051 * soft-fp/floattisf.c: Likewise.
34052 * soft-fp/floattitf.c: Likewise.
34053 * soft-fp/floatuntidf.c: Likewise.
34054 * soft-fp/floatuntisf.c: Likewise.
34055 * soft-fp/floatuntitf.c: Likewise.
34056 * soft-fp/trunctfxf2.c: Likewise.
34057
34058 2013-10-10 David S. Miller <davem@davemloft.net>
34059
34060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34061
34062 2013-10-10 Joseph Myers <joseph@codsourcery.com>
34063
34064 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34065 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
34066 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
34067 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
34068 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
34069 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
34070 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
34071
34072 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
34073 for NaNs before doing comparisons on argument.
34074 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
34075 Likewise.
34076
34077 2013-10-10 Will Newton <will.newton@linaro.org>
34078
34079 * malloc/hooks.c (memalign_check): Ensure the value of bytes
34080 passed to _int_memalign does not overflow.
34081
34082 2013-10-10 Torvald Riegel <triegel@redhat.com>
34083
34084 * scripts/bench.pl: Add include-sources directive.
34085 * benchtests/README: Update documentation.
34086
34087 2013-10-10 Joseph Myers <joseph@codesourcery.com>
34088
34089 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
34090 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
34091 instead of FP_INIT_ROUNDMODE.
34092 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
34093 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
34094
34095 [BZ #16034]
34096 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
34097 copy class of input value.
34098 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
34099 not handle exceptions.
34100 * soft-fp/negsf2.c (__negsf2): Likewise.
34101 * soft-fp/negtf2.c (__negtf2): Likewise.
34102 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
34103
34104 2013-10-09 Joseph Myers <joseph@codesourcery.com>
34105
34106 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
34107 semicolon. From Linux kernel.
34108
34109 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
34110
34111 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
34112
34113 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
34114
34115 [BZ #156]
34116 * manual/socket.texi: Added statement about buffer
34117 for gethostbyname2_r.
34118
34119 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
34120
34121 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
34122 Use .p2align directive instead, throughout.
34123 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34124 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
34125 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
34126 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34127 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34128 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
34129 * sysdeps/x86_64/strchr.S: Likewise.
34130 * sysdeps/x86_64/strrchr.S: Likewise.
34131
34132 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34133
34134 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
34135
34136 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
34137
34138 * sysdeps/generic/math_private.h (__mpsin1): Remove
34139 declaration.
34140 (__mpcos1): Likewise.
34141 (__mpsin): New argument __range_reduce.
34142 (__mpcos): Likewise.
34143 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34144 (slow): Use __mpsin and __mpcos.
34145 (slow1): Likewise.
34146 (slow2): Likewise.
34147 (sloww): Likewise.
34148 (sloww1): Likewise.
34149 (sloww2): Likewise.
34150 (bsloww): Likewise.
34151 (bsloww1): Likewise.
34152 (bsloww2): Likewise.
34153 (cslow2): Likewise.
34154 (csloww): Likewise.
34155 (csloww1): Likewise.
34156 (csloww2): Likewise.
34157 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
34158 range_reduce. Merge in __mpsin1.
34159 (__mpcos): Likewise.
34160 (__mpsin1): Remove.
34161 (__mpcos1): Likewise.
34162
34163 2013-10-07 Joseph Myers <joseph@codesourcery.com>
34164
34165 * locale/loadlocale.c (_nl_intern_locale_data): Use
34166 LOCFILE_ALIGNED_P.
34167 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
34168 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
34169 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
34170 obstack data is appropriately aligned.
34171 (obstack_int32_grow_fast): Likewise.
34172 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
34173 * locale/programs/locfile.c (add_locale_uint32): Likewise.
34174 (add_locale_uint32_array): Likewise.
34175
34176 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34177
34178 * benchtests/Makefile: Remove ARGLIST and RET variables.
34179 ($(objpfx)bench-%.c): Pass only function name to the script.
34180 * benchtests/README: Update documentation.
34181 * benchtests/acos-inputs: Add new directives.
34182 * benchtests/acosh-inputs: Likewise.
34183 * benchtests/asin-inputs: Likewise.
34184 * benchtests/asinh-inputs: Likewise.
34185 * benchtests/atan-inputs: Likewise.
34186 * benchtests/atanh-inputs: Likewise.
34187 * benchtests/cos-inputs: Likewise.
34188 * benchtests/cosh-inputs: Likewise.
34189 * benchtests/exp-inputs: Likewise.
34190 * benchtests/log-inputs: Likewise.
34191 * benchtests/pow-inputs: Likewise.
34192 * benchtests/rint-inputs: Likewise.
34193 * benchtests/sin-inputs: Likewise.
34194 * benchtests/sinh-inputs: Likewise.
34195 * benchtests/tan-inputs: Likewise.
34196 * benchtests/tanh-inputs: Likewise.
34197 * scripts/bench.pl: Add support for new directives.
34198
34199 2013-10-07 Alan Modra <amodra@gmail.com>
34200
34201 * README: Fix careless merge.
34202
34203 2013-10-05 Alan Modra <amodra@gmail.com>
34204
34205 * NEWS: Mention powerpc64le support and bugs fixed.
34206 * README: Both big-endian and little-endian powerpc64 supported.
34207
34208 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
34209
34210 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
34211 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
34212 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
34213 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
34214
34215 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
34216
34217 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
34218 match prototype.
34219
34220 2013-10-04 Joseph Myers <joseph@codesourcery.com>
34221
34222 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
34223 Move -mhard-float appending from
34224 ports/sysdeps/powerpc/powerpc32/Makefile.
34225 [$(with-fp) = yes] (ASFLAGS): Likewise.
34226 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
34227 * sysdeps/powerpc/nofpu: Move directory from
34228 ports/sysdeps/powerpc/nofpu.
34229 * sysdeps/powerpc/soft-fp: Move directory from
34230 ports/sysdeps/powerpc/soft-fp.
34231 * sysdeps/powerpc/powerpc32/405: Move directory from
34232 ports/sysdeps/powerpc/powerpc32/405.
34233 * sysdeps/powerpc/powerpc32/440: Move directory from
34234 ports/sysdeps/powerpc/powerpc32/440.
34235 * sysdeps/powerpc/powerpc32/464: Move directory from
34236 ports/sysdeps/powerpc/powerpc32/464.
34237 * sysdeps/powerpc/powerpc32/476: Move directory from
34238 ports/sysdeps/powerpc/powerpc32/476.
34239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
34240 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
34241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
34242 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
34243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
34244 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
34245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
34246 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
34247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
34248 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
34249 * README: Update for powerpc-*-linux-gnu software floating point
34250 support in libc.
34251
34252 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
34253 case to powerpc/powerpc32*.
34254 * sysdeps/unix/sysv/linux/configure: Regenerated.
34255
34256 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
34257 (_FPU_MASK_OM): Define as 0x04.
34258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
34259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
34260 0x00c10080.
34261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
34262 0x0000003c.
34263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
34264
34265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
34266 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
34267 getcontext_e500.
34268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
34269 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
34270 setcontext_e500.
34271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
34272 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
34273 and setcontext_e500.
34274
34275 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
34276
34277 * locale/iso-3166.def: Update iso-1366.def and related occurrences
34278
34279 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34280
34281 * manual/threads.texi (Default Thread Attributes): Fix typo.
34282
34283 2013-10-04 Will Newton <will.newton@linaro.org>
34284
34285 * malloc/Makefile: Add tst-memalign.
34286 * malloc/tst-memalign.c: New file.
34287
34288 * malloc/tst-posix_memalign.c: Add comments.
34289 (do_test): Add comments and call free on all potentially
34290 allocated pointers. Add space after cast.
34291
34292 * malloc/tst-pvalloc.c: Add comments.
34293 (do_test): Add comments and call free on all potentially
34294 allocated pointers. Remove duplicate check for NULL pointer.
34295 Add space after cast.
34296
34297 * malloc/tst-valloc.c: Add comments.
34298 (do_test): Add comments and call free on all potentially
34299 allocated pointers. Remove duplicate check for NULL pointer.
34300 Add space after cast.
34301
34302 2013-10-04 Alan Modra <amodra@gmail.com>
34303
34304 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34305 Use stdint types in rather than __attribute__((mode())).
34306 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34307
34308 2013-10-04 Alan Modra <amodra@gmail.com>
34309
34310 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34311 Correct handling of unaligned relocs for little-endian.
34312 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34313
34314 2013-10-04 Alan Modra <amodra@gmail.com>
34315
34316 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
34317 * configure: Regenerate.
34318 * nptl/shlib-versions: Powerpc*le starts at 2.18.
34319 * shlib-versions: Likewise.
34320
34321 2013-10-04 Alan Modra <amodra@gmail.com>
34322
34323 * string/tester.c (test_memrchr): Increment reported test cycle.
34324
34325 2013-10-04 Alan Modra <amodra@gmail.com>
34326
34327 * string/test-memcpy.c (do_one_test): When reporting errors, print
34328 string address and don't overrun end of string.
34329
34330 2013-10-04 Alan Modra <amodra@gmail.com>
34331
34332 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
34333 insrdi. Make better use of reg selection to speed exit slightly.
34334 Schedule entry path a little better. Remove useless "are we done"
34335 checks on entry to main loop. Handle wrapping around zero address.
34336 Correct main loop count. Handle single left-over word from main
34337 loop inline rather than by using loop_small. Remove extra word
34338 case in loop_small caused by wrong loop count. Add little-endian
34339 support.
34340 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34341 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
34342 cache hint.
34343 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34344 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
34345 support. Avoid rlwimi.
34346 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
34347
34348 2013-10-04 Alan Modra <amodra@gmail.com>
34349
34350 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
34351 insrdi. Formatting.
34352 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
34353 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34354 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
34355 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34356 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34357 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
34358
34359 2013-10-04 Alan Modra <amodra@gmail.com>
34360
34361 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
34362 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34363 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34364 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
34365 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34366 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34367 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34368 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34369 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
34370 use of regs. Use power7 mtocrf. Tidy function tails.
34371
34372 2013-10-04 Alan Modra <amodra@gmail.com>
34373
34374 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
34375 Formatting. Consistently use rXXX register defines or rN defines.
34376 Use early exit labels that avoid restoring unused non-volatile regs.
34377 Make cr field use more consistent with rWORDn compares. Rename
34378 regs used as shift registers for unaligned loop, using rN defines
34379 for short lifetime/multiple use regs.
34380 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34381 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
34382 addi 1,1,64 to pop stack frame. Simplify return value code.
34383 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34384
34385 2013-10-04 Alan Modra <amodra@gmail.com>
34386
34387 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
34388 support. Correct typos, formatting. Optimize tail. Use insrdi
34389 rather than rlwimi.
34390 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
34391 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
34392 little-endian support. Correct typos.
34393 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
34394 rather than rlwimi.
34395 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
34396 in loop and entry code to keep "and." results.
34397 (strchr): Add little-endian support. Comment. Move cntlzd
34398 earlier in tail.
34399 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
34400
34401 2013-10-04 Alan Modra <amodra@gmail.com>
34402
34403 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
34404 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
34405 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
34406 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
34407
34408 2013-10-04 Alan Modra <amodra@gmail.com>
34409
34410 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
34411 (rTMP): Define as r11.
34412 (strcmp): Add little-endian support. Optimise tail.
34413 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
34414 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34415 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34416 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34417 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34418 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34419 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34420
34421 2013-10-04 Alan Modra <amodra@gmail.com>
34422
34423 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
34424 little-endian support. Remove unnecessary "are we done" tests.
34425 Handle "s" wrapping around zero and extremely large "size".
34426 Correct main loop count. Handle single left-over word from main
34427 loop inline rather than by using small_loop. Correct comments.
34428 Delete "zero" tail, use "end_max" instead.
34429 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
34430
34431 2013-10-04 Alan Modra <amodra@gmail.com>
34432
34433 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
34434 support. Don't branch over align.
34435 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
34436 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
34437 support. Rearrange tmp reg use to suit. Comment.
34438 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
34439
34440 2013-10-04 Alan Modra <amodra@gmail.com>
34441
34442 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
34443
34444 2013-10-04 Alan Modra <amodra@gmail.com>
34445
34446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
34447 conditional form of branch and link when obtaining pc.
34448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
34449
34450 2013-10-04 Alan Modra <amodra@gmail.com>
34451
34452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
34453 HIWORD/LOWORD.
34454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
34455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
34456
34457 2013-10-04 Alan Modra <amodra@gmail.com>
34458
34459 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
34460 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
34461 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
34462 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
34463 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34464 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34465 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
34466 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34467 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
34468 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
34469
34470 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
34471 Alistair Popple <alistair@ozlabs.au.ibm.com>
34472 Alan Modra <amodra@gmail.com>
34473
34474 [BZ #15723]
34475 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
34476 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
34477 _dl_hwcap access for little-endian.
34478 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
34479 destroy vmx regs when saving unaligned.
34480 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
34481 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
34482 destroy vmx regs when saving unaligned.
34483
34484 2013-10-04 Alan Modra <amodra@gmail.com>
34485
34486 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
34487 Don't use a union to pack hi/low value.
34488
34489 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
34490
34491 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
34492 for little-endian.
34493 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34494 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
34495 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34496 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34497 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34498
34499 2013-10-04 Alan Modra <amodra@gmail.com>
34500
34501 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
34502 constants to usual value for .cst8 section, and remove redundant
34503 high address load.
34504 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
34505 constant for 0x1p52. Load little-endian words of double from
34506 correct stack offsets.
34507
34508 2013-10-04 Alan Modra <amodra@gmail.com>
34509
34510 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
34511 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
34512 words of double from correct stack offsets.
34513 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
34514 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
34515 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34516 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34517 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34518 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34519 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34520 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
34521 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
34522 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34523 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34524 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34525 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
34526 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
34527 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
34528 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
34529 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
34530
34531 2013-10-04 Alan Modra <amodra@gmail.com>
34532
34533 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
34534 64-bit int/double union.
34535 (_FPU_SETCW): Likewise.
34536 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
34537 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
34538
34539 2013-10-04 Alan Modra <amodra@gmail.com>
34540
34541 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
34542 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
34543
34544 2013-10-04 Alan Modra <amodra@gmail.com>
34545
34546 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
34547 use vector int constants.
34548 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
34549
34550 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
34551
34552 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
34553 array with long long.
34554 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
34555 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
34556 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
34557 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
34558 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
34559 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
34560 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
34561 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
34562 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
34563 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
34564 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
34565 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
34566 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
34567
34568 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
34569
34570 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
34571 (__signbit): Likewise. Correct for little-endian.
34572 (__signbitl): Call __signbit.
34573 (lrint): Correct for little-endian.
34574 (lrintf): Call lrint.
34575
34576 2013-10-04 Alan Modra <amodra@gmail.com>
34577
34578 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
34579 union 32-bit int array member with 64-bit int array.
34580 (t515, tm256): Double rather than long double.
34581 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
34582
34583 2013-10-04 Alan Modra <amodra@gmail.com>
34584
34585 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
34586 Delete.
34587 (IEEE854_LONG_DOUBLE_BIAS): Delete.
34588 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
34589 version of math_ldbl.h.
34590
34591 2013-10-04 Alan Modra <amodra@gmail.com>
34592
34593 [BZ #15734], [BZ #15735]
34594 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
34595 all uses of ieee875 long double macros and unions. Simplify test
34596 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
34597 ldbl_extract_mantissa value for ix,iy exponents. Properly
34598 normalize after ldbl_extract_mantissa, and don't add hidden bit
34599 already handled. Don't treat low word of ieee854 mantissa like
34600 low word of IBM long double and mask off bit when testing for
34601 zero.
34602 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
34603 all uses of ieee875 long double macros and unions. Simplify tests
34604 for 0.0L and inf. Correct double adjustment of k. Delete dead code
34605 adjusting ha,hb. Simplify code setting kld. Delete two600 and
34606 two1022, instead use their values. Recognise that tests for large
34607 "a" and small "b" are mutually exclusive. Rename vars. Comment.
34608 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
34609 Rewrite all uses of ieee875 long double macros and unions. Simplify
34610 test for 0.0L and nan. Correct negation.
34611 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
34612 ieee875 long double macros and unions. Correct output for large
34613 magnitude x. Correct absolute value calculation.
34614 (__erfcl): Likewise.
34615 * math/libm-test.inc: Add tests for errors discovered in IBM long
34616 double versions of fmodl, remainderl, erfl and erfcl.
34617
34618 2013-10-04 Alan Modra <amodra@gmail.com>
34619
34620 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
34621 all uses of ieee854 long double macros and unions. Simplify tests
34622 for long doubles that are fully specified by the high double.
34623 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34624 Likewise.
34625 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
34626 Remove dead code too.
34627 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34628 (__ieee754_ynl): Likewise.
34629 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
34630 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
34631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34632 Remove dead code too.
34633 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
34634 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
34635 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
34636 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
34637 Simplify.
34638 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
34639 Simplify.
34640 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
34641 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34642 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
34643 Comment on variable precision.
34644 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
34645 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34646 Likewise.
34647 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34648 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34649 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34650 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
34651 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
34652
34653 2013-10-04 Alan Modra <amodra@gmail.com>
34654
34655 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
34656 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
34657 all uses of ieee854 long double macros and unions.
34658 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
34659 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34660 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
34661 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
34662 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
34663 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34664 Likewise.
34665 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
34666 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34667 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
34668 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34669 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
34670 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
34671 Simplify sign and nan test too.
34672 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
34673 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34674 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
34675 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34676 Likewise.
34677 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34678 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
34679 Likewise.
34680 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34681 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
34682 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
34683 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
34684 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
34685 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
34686
34687 2013-10-04 Alan Modra <amodra@gmail.com>
34688
34689 * stdio-common/printf_size.c (__printf_size): Don't use
34690 union ieee854_long_double in fpnum union.
34691 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
34692 signbit macro to retrieve sign from long double.
34693 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
34694 retrieve sign from long double.
34695 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
34696 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
34697 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
34698 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34699 * math/test-misc.c (main): Don't use union ieee854_long_double.
34700
34701 2013-10-04 Alan Modra <amodra@gmail.com>
34702
34703 [BZ #15680]
34704 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
34705 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
34706 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
34707 calculation. Remove unnecessary test for denormal exponent.
34708 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
34709 Correct handling of denormals. Avoid undefined shift behaviour.
34710 Correct normalisation of low mantissa when low double is denormal.
34711 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
34712 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
34713 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
34714 Correct normalisation of low mantissa. Test for overflow of high
34715 mantissa and normalise.
34716 (ldbl_nearbyint): Use more readable constant for two52.
34717 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
34718 (__mpn_construct_long_double): Fix test for overflow of high
34719 mantissa and correct normalisation. Avoid undefined shift.
34720
34721 2013-10-04 Alan Modra <amodra@gmail.com>
34722
34723 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
34724 (union ibm_extended_long_double): Define as an array of ieee754_double.
34725 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
34726 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
34727 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
34728 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34729 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34730 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
34731 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34732 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34733 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34734 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
34735 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34736
34737 2013-10-03 Joseph Myers <joseph@codesourcery.com>
34738
34739 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
34740 page size instead of calling getpagesize.
34741
34742 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
34743 (LOCFILE_ALIGN_MASK): Likewise.
34744 (LOCFILE_ALIGN_UP): Likewise.
34745 (LOCFILE_ALIGNED_P): Likewise.
34746 * locale/programs/ld-collate.c (collate_output): Use the new
34747 macros instead of __alignof__ (int32_t).
34748 * locale/weight.h (findidx): Likewise.
34749
34750 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
34751
34752 [BZ #431]
34753 * manual/string.texi: Fix strncat and wcsncat.
34754
34755 2013-10-03 Brooks Moses <bmoses@google.com>
34756
34757 [BZ #15915]
34758 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
34759 * Makerules: ...here, and adjust associated comments.
34760
34761 2013-10-02 Will Newton <will.newton@linaro.org>
34762
34763 * malloc/Makefile: Add tst-pvalloc.
34764 * malloc/tst-pvalloc.c: New file.
34765
34766 2013-10-02 Will Newton <will.newton@linaro.org>
34767
34768 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
34769 improve test coverage.
34770
34771 2013-10-02 Will Newton <will.newton@linaro.org>
34772
34773 * malloc/Makefile: Add tst-posix_memalign.
34774 * malloc/tst-posix_memalign.c: New file.
34775
34776 2013-10-01 Eric Blake <eblake@redhat.com>
34777
34778 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
34779 Use __THROWNL rather than __THROW on static functions.
34780
34781 2013-09-30 Petr Machata <pmachata@redhat.com>
34782
34783 * elf/elf.h (R_AARCH64_ABS16): New macro.
34784 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
34785 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
34786 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
34787 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
34788 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
34789 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
34790 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
34791 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
34792 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
34793 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
34794 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
34795 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
34796 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
34797 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
34798 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
34799 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
34800 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
34801 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
34802 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
34803 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
34804 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
34805 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
34806 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
34807 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
34808 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
34809 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
34810 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
34811 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
34812 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
34813 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
34814 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
34815 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
34816 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
34817 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
34818 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
34819 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
34820 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
34821 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
34822 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
34823 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
34824 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
34825 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
34826 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
34827 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
34828 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
34829 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
34830 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
34831 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
34832 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
34833 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
34834 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
34835 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
34836 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
34837 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
34838 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
34839 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
34840 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
34841 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
34842 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
34843 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
34844 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
34845 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
34846 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
34847 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
34848 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
34849 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
34850 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
34851 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
34852 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
34853 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
34854 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
34855 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
34856 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
34857 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
34858 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
34859 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
34860 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
34861 (R_AARCH64_TLSDESC_LDR): Likewise.
34862 (R_AARCH64_TLSDESC_ADD): Likewise.
34863 (R_AARCH64_TLSDESC_CALL): Likewise.
34864
34865 2013-09-30 Andreas Schwab <schwab@suse.de>
34866
34867 [BZ #15048]
34868 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
34869 the nss database lookup.
34870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34872
34873 2013-09-28 Mike Frysinger <vapier@gentoo.org>
34874
34875 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
34876
34877 2013-09-28 P. J. McDermott <pj@pehjota.net>
34878
34879 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
34880 ${Bash-specific parameter/pattern/string} parameter expansion.
34881 * sysdeps/unix/make-syscalls.sh: Likewise.
34882
34883 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34884
34885 * sysdeps/sh/stackguard-macros.h: New file.
34886
34887 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
34888
34889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
34890 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
34891 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
34892 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
34893 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34894 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
34895
34896 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34897
34898 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
34899 Fix thread ID register.
34900
34901 2013-09-25 Joseph Myers <joseph@codesourcery.com>
34902
34903 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
34904 [POSIX || UNIX98]: Require rather than permitting all symbols from
34905 <time.h>.
34906 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
34907 element of struct sched_param.
34908 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
34909 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
34910 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
34911 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
34912 constant.
34913
34914 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
34915
34916 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
34917 argument calculation.
34918
34919 2013-09-24 Joseph Myers <joseph@codesourcery.com>
34920
34921 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
34922 Expect macro.
34923 [POSIX] (pthread_attr_t): Do not require type.
34924 [POSIX] (pthread_cond_t): Likewise.
34925 [POSIX] (pthread_condattr_t): Likewise.
34926 [POSIX] (pthread_key_t): Likewise.
34927 [POSIX] (pthread_mutex_t): Likewise.
34928 [POSIX] (pthread_mutexattr_t): Likewise.
34929 [POSIX] (pthread_once_t): Likewise.
34930 [POSIX] (pthread_t): Likewise.
34931 [POSIX-based standards] (pthread_atfork): Expect function.
34932
34933 2013-09-24 Joseph Myers <joseph@codesourcery.com>
34934 Richard Sandiford <richard@codesourcery.com>
34935
34936 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
34937 (swap_endianness_p): New extern variable.
34938 (set_big_endian): New inline function.
34939 (maybe_swap_uint32): Likewise.
34940 (maybe_swap_uint32_array): Likewise.
34941 (maybe_swap_uint32_obstack): Likewise.
34942 * locale/programs/locfile.c: Include <stdbool.h>.
34943 (swap_endianness_p): New variable.
34944 (add_locale_uint32): Call maybe_swap_uint32.
34945 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
34946 (write_locale_data): Call maybe_swap_uint32_array.
34947 * locale/programs/ld-collate.c (obstack_int32_grow): Call
34948 maybe_swap_uint32.
34949 (obstack_int32_grow_fast): Likewise.
34950 (output_weightwc): Call maybe_swap_uint32_obstack.
34951 (collate_output): Likewise.
34952 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
34953 (OPT_LITTLE_ENDIAN): Likewise.
34954 (options): Add --little-endian and --big-endian options.
34955 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
34956 * locale/programs/locarchive.c: Include "locfile.h".
34957 (GET): New macro.
34958 (SET): Likewise.
34959 (INC): Likewise.
34960 (create_archive): Use the new macros to access fields of
34961 structures directly mapped from or written to locale archives.
34962 (oldlocrecentcmp): Likewise.
34963 (enlarge_archive): Likewise.
34964 (insert_name): Likewise.
34965 (add_alias): Likewise.
34966 (add_locale): Likewise.
34967 (delete_locales_from_archive): Likewise.
34968 (show_archive_content): Likewise.
34969 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
34970 locale data.
34971
34972 2013-09-24 Roland McGrath <roland@hack.frob.com>
34973
34974 * manual/freemanuals.texi: Updated from (newly) canonical copy at
34975 http://www.gnu.org/doc/freemanuals.texi.
34976 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
34977
34978 2013-09-24 Will Newton <will.newton@linaro.org>
34979
34980 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
34981 macro.
34982
34983 2013-09-23 Joseph Myers <joseph@codesourcery.com>
34984
34985 * locale/hashval.h (compute_hashval): Interpret bytes of key as
34986 unsigned char.
34987
34988 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
34989
34990 * manual/threads.texi (POSIX Threads): Fix a typo.
34991
34992 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34993
34994 [BZ #14547]
34995 * string/tst-strcoll-overflow.c: New test case.
34996 * string/Makefile (xtests): Add tst-strcoll-overflow.
34997 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
34998 cache if string sizes may cause integer overflow.
34999
35000 [BZ #14547]
35001 * string/strcoll_l.c (coll_seq): New members rule, idx,
35002 save_idx and back_us.
35003 (get_next_seq_nocache): New function.
35004 (do_compare_nocache): New function.
35005 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
35006 when malloc fails.
35007
35008 2013-09-23 Carlos O'Donell <carlos@redhat.com>
35009
35010 [BZ #15754]
35011 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
35012 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
35013 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
35014
35015 [BZ #15754]
35016 * elf/Makefile (tests): Add tst-ptrguard1.
35017 (tests-static): Add tst-ptrguard1-static.
35018 (tst-ptrguard1-ARGS): Define.
35019 (tst-ptrguard1-static-ARGS): Define.
35020 * elf/tst-ptrguard1.c: New file.
35021 * elf/tst-ptrguard1-static.c: New file.
35022 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
35023 * sysdeps/i386/stackguard-macros.h: Likewise.
35024 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35025 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35026 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35027 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35028 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35029 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35030
35031 2013-09-23 Hector Marco <hecmargi@upv.es>
35032 Ismael Ripoll <iripoll@disca.upv.es>
35033 Carlos O'Donell <carlos@redhat.com>
35034
35035 [BZ #15754]
35036 * sysdeps/generic/stackguard-macros.h: Define
35037 __pointer_chk_guard_local and POINTER_CHK_GUARD.
35038 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
35039 Define __pointer_chk_guard_local.
35040 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
35041 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
35042
35043 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
35044
35045 [BZ #15859]
35046 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
35047
35048 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
35049
35050 * include/string.h (__ffs): Declare as hidden.
35051 * string/ffs.c (__ffs): Define as hidden.
35052 * sysdeps/i386/ffs.c (__ffs): Likewise.
35053 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
35054 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
35055 * sysdeps/s390/ffs.c (__ffs): Likewise.
35056 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
35057
35058 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
35059
35060 * NEWS: Mention malloc probes.
35061
35062 * malloc/arena.c (new_heap): New memory_heap_new probe.
35063 (grow_heap): New memory_heap_more probe.
35064 (shrink_heap): New memory_heap_less probe.
35065 (heap_trim): New memory_heap_free probe.
35066 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
35067 (systrim): New memory_sbrk_less probe.
35068 * manual/probes.texi: Document them.
35069
35070 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
35071 * manual/probes.texi: Document it.
35072
35073 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
35074 (__libc_realloc): Add memory_realloc_retry probe.
35075 (__libc_memalign): Add memory_memalign_retry probe.
35076 (__libc_valloc): Add memory_valloc_retry probe.
35077 (__libc_pvalloc): Add memory_pvalloc_retry probe.
35078 (__libc_calloc): Add memory_calloc_retry probe.
35079 * manual/probes.texi: Document them.
35080
35081 * malloc/arena.c (get_free_list): Add probe
35082 memory_arena_reuse_free_list.
35083 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
35084 and memory_arena_reuse.
35085 (arena_get2) [!PER_THREAD]: Likewise.
35086 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
35087 memory_arena_reuse_realloc.
35088 * manual/probes.texi: Document them.
35089
35090 * malloc/malloc.c (__libc_free): Add
35091 memory_mallopt_free_dyn_thresholds probe.
35092 (__libc_mallopt): Add multiple memory_mallopt probes.
35093 * manual/probes.texi: Document them.
35094
35095 * malloc/malloc.c: Include stap-probe.h.
35096 (__libc_mallopt): Add memory_mallopt probe.
35097 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
35098 * manual/probes.texi: New.
35099 * manual/Makefile (chapters): Add probes.
35100 * manual/threads.texi: Set next node.
35101
35102 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
35103
35104 [BZ #15963, #13985]
35105 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
35106 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
35107 Add `Chinese' to `nan' entry name.
35108
35109 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35110
35111 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
35112 (POLYNOMIAL): Likewise.
35113 (TAYLOR_SINCOS): Likewise.
35114 (TAYLOR_SLOW): Likewise.
35115 (__sin): Use TAYLOR_SINCOS.
35116 (__cos): Likewise.
35117 (slow): Use TAYLOR_SLOW.
35118 (sloww): Likewise.
35119 (bsloww): Likewise.
35120 (csloww): Likewise.
35121
35122 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35123
35124 * stdlib/strtod_l.c: Fix buffer overrun.
35125
35126 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35127
35128 * benchtests/Makefile (bench): Add sincos.
35129 * benchtests/bench-sincos.c: New file.
35130
35131 * math/libm-test.inc (cos_test_data): New test inputs.
35132 (sin_test_data): Likewise.
35133
35134 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
35135 macro.
35136 (__sin): Use it.
35137 (__cos): Likewise.
35138 (slow1): Likewise.
35139 (slow2): Likewise.
35140 (sloww1): Likewise.
35141 (sloww2): Likewise.
35142 (bsloww1): Likewise.
35143 (bsloww2): Likewise.
35144 (cslow2): Likewise.
35145 (csloww1): Likewise.
35146 (csloww2): Likewise.
35147
35148 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
35149 function.
35150 (__sin): Use it.
35151 (__cos): Likewise.
35152
35153 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
35154 gotos.
35155 (__cos): Likewise.
35156
35157 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
35158
35159 * config.h.in (HAVE_MIPS_NAN2008): New macro.
35160 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
35161 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
35162 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
35163 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
35164 * elf/cache.c (print_entry): Handle the new cache flags.
35165
35166 2013-09-18 Joseph Myers <joseph@codesourcery.com>
35167 Aldy Hernandez <aldyh@redhat.com>
35168
35169 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
35170 Change condition to [_SOFT_FLOAT].
35171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
35172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
35173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
35174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
35175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
35176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
35177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
35178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
35179 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
35180 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
35181 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
35182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
35183 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
35184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
35185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
35186 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
35187 declaration.
35188
35189 2013-09-18 Joseph Myers <joseph@codesourcery.com>
35190
35191 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
35192 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
35193 (__longjmp): Use LOAD_GP to load saved GPRs.
35194 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
35195 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
35196 (__sigsetjmp): Use SAVE_GP to save GPRs.
35197
35198 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
35199 Do not append -msoft-float.
35200 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
35201
35202 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35203
35204 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
35205
35206 2013-09-17 Joseph Myers <joseph@codesourcery.com>
35207
35208 [BZ #15966]
35209 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
35210 (_FPU_GETCW): Use initial "__" on variable and field names but not
35211 on macro parameter name.
35212 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
35213 parentheses around reference to macro parameter.
35214
35215 2013-09-13 Richard Sandiford <richard@codesourcery.com>
35216
35217 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
35218 prototype.
35219 (ctype_startup): Use uint32_t in cast and sizeof for
35220 ctype->charnames.
35221
35222 2013-09-11 Jia Liu <proljc@gmail.com>
35223
35224 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
35225 __daddr_t_defined.
35226 [__FreeBSD__]: Likewise.
35227
35228 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
35229
35230 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35231 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
35232 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
35233 (strchr): Remove __strchr_sse42 ifunc selection.
35234 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
35235 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
35236
35237 2013-09-11 Will Newton <will.newton@linaro.org>
35238
35239 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
35240 parameter to RES. Remove hardcoded 1000 value.
35241 * benchtests/bench-skeleton.c (main): Pass RES parameter
35242 to TIMING_INIT and multiply result by 1000.
35243
35244 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35245
35246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35247
35248 2013-09-11 Andreas Schwab <schwab@suse.de>
35249
35250 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
35251 if not defined.
35252 (O_TMPFILE) [__USE_GNU]: Define.
35253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
35254 Define.
35255
35256 2013-09-11 Will Newton <will.newton@linaro.org>
35257
35258 [BZ #15857]
35259 * malloc/malloc.c (__libc_memalign): Check the value of bytes
35260 does not overflow.
35261
35262 2013-09-11 Will Newton <will.newton@linaro.org>
35263
35264 [BZ #15856]
35265 * malloc/malloc.c (__libc_valloc): Check the value of bytes
35266 does not overflow.
35267
35268 2013-09-11 Will Newton <will.newton@linaro.org>
35269
35270 [BZ #15855]
35271 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
35272 does not overflow.
35273
35274 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
35275
35276 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
35277 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35278 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35279 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35280 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35281
35282 2013-09-10 Allan McRae <allan@archlinux.org>
35283
35284 [BZ #15748]
35285 * manual/arith.texi (Parsing of Floats): Clarify
35286 cross-reference.
35287
35288 [BZ #15849]
35289 * manual/install.texi (Running make install): Mention
35290 --enable-pt-chown.
35291 * INSTALL: Regenerated.
35292
35293 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
35294
35295 * csu/init-first.c (_init): Remove the !SHARED condition around
35296 FPU control word initialization.
35297 * elf/dl-support.c (_dl_fpu_control): New variable.
35298 (_dl_aux_init) <AT_FPUCW>: Initialize it.
35299 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
35300 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
35301 * math/test-fpucw-static.c: New file.
35302 * math/test-fpucw-ieee.c: New file.
35303 * math/test-fpucw-ieee-static.c: New file.
35304 * math/Makefile (tests): Add `test-fpucw-ieee' and
35305 `$(tests-static)'.
35306 (tests-static): New variable.
35307 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
35308 dependency to...
35309 [($(build-shared),yes)]
35310 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35311 ... this.
35312 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
35313 New dependency.
35314
35315 2013-09-09 Allan McRae <allan@archlinux.org>
35316
35317 [BZ #15939]
35318 * manual/string.texi (Collation Functions): Fix typo in
35319 strcoll example.
35320 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
35321
35322 [BZ #15893]
35323 * stdlib/isomac.c (get_null_defines): Fix memory leak.
35324
35325 [BZ #15892]
35326 * libio/memstream.c (open_memstream): Fix memory leak.
35327 * libio/wmemstream.c (open_wmemstream): Likewise.
35328
35329 [BZ #15895]
35330 * nscd/netgroupcache.c: Fix nesting of ifdefs.
35331
35332 2013-09-09 Will Newton <will.newton@linaro.org>
35333
35334 * malloc/Makefile: Add tst-realloc to tests.
35335 * malloc/tst-realloc.c: New file.
35336
35337 2013-09-09 Allan McRae <allan@archlinux.org>
35338
35339 [BZ #15844]
35340 * COPYING: Update from GNU website to fix FSF address.
35341 * COPYING.LIB: Likewise.
35342
35343 2013-09-06 David S. Miller <davem@davemloft.net>
35344
35345 * po/zh_TW.po: Update Chinese (traditional) translation from
35346 translation project.
35347
35348 2013-09-06 Richard Sandiford <richard@codesourcery.com>
35349 Joseph Myers <joseph@codesourcery.com>
35350
35351 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
35352 "localeinfo.h".
35353 (obstack_chunk_alloc): New macro.
35354 (obstack_chunk_free): Likewise.
35355 (record_offset): New function.
35356 (init_locale_data): Likewise.
35357 (align_locale_data): Likewise.
35358 (add_locale_empty): Likewise.
35359 (add_locale_raw_data): Likewise.
35360 (add_locale_raw_obstack): Likewise.
35361 (add_locale_string): Likewise.
35362 (add_locale_wstring): Likewise.
35363 (add_locale_uint32): Likewise.
35364 (add_locale_uint32_array): Likewise.
35365 (add_locale_char): Likewise.
35366 (start_locale_structure): Likewise.
35367 (end_locale_structure): Likewise.
35368 (start_locale_prelude): Likewise.
35369 (end_locale_prelude): Likewise.
35370 (write_locale_data): Take locale_file structure rather than an
35371 iovec.
35372 * locale/programs/locfile.h: Include "obstack.h".
35373 (struct locale_file): Change to store locale file contents instead
35374 of header.
35375 (init_locale_data): New prototype.
35376 (align_locale_data): Likewise.
35377 (add_locale_empty): Likewise.
35378 (add_locale_raw_data): Likewise.
35379 (add_locale_raw_obstack): Likewise.
35380 (add_locale_string): Likewise.
35381 (add_locale_wstring): Likewise.
35382 (add_locale_uint32): Likewise.
35383 (add_locale_uint32_array): Likewise.
35384 (add_locale_char): Likewise.
35385 (start_locale_structure): Likewise.
35386 (end_locale_structure): Likewise.
35387 (start_locale_prelude): Likewise.
35388 (end_locale_prelude): Likewise.
35389 (write_locale_data): Update prototype.
35390 * locale/programs/3level.h (struct TABLE): Remove result field.
35391 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
35392 Use new locale_file interface.
35393 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
35394 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
35395 * locale/programs/ld-address.c (address_output): Use new
35396 locale_file interface.
35397 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
35398 NO_ADD_LOCALE.
35399 (collate_finish): Don't call collseq_table_finalize.
35400 (collate_output): Use new locale_file interface.
35401 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
35402 in file.
35403 (NO_FINALIZE): Change to NO_ADD_LOCALE.
35404 (TABLE): Move defines earlier in file.
35405 (ELEMENT): Likewise.
35406 (DEFAULT): Likewise.
35407 (wctrans_table_add): Move macro and inline function earlier in
35408 file.
35409 (struct wctype_table): Move type earlier in file.
35410 (add_locale_wctype_table): New static prototype.
35411 (struct locale_ctype_t): Use logical types instead of struct iovec
35412 pointers for members.
35413 (ctype_output): Use new locale_file interface.
35414 (wctype_table_finalize): Change to add_locale_wctype_table. Use
35415 new locale_file interface.
35416 (allocate_arrays): Update for use of new locale_file interface.
35417 * locale/programs/ld-identification.c (identification_output): Use
35418 new locale_file interface.
35419 * locale/programs/ld-measurement.c (measurement_output): Likewise.
35420 * locale/programs/ld-messages.c (messages_output): Likewise.
35421 * locale/programs/ld-monetary.c (monetary_output): Likewise.
35422 * locale/programs/ld-name.c (name_output): Likewise.
35423 * locale/programs/ld-numeric.c (numeric_output): Likewise.
35424 * locale/programs/ld-paper.c (paper_output): Likewise.
35425 * locale/programs/ld-telephone.c (telephone_output): Likewise.
35426 * locale/programs/ld-time.c (time_output): Likewise.
35427
35428 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35429
35430 * benchtests/Makefile: Add memrchr benchmark.
35431 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
35432 benchmark as memrchr.
35433 * benchtests/bench-memrchr-ifunc.c: New file.
35434 * benchtests/bench-memrchr.c: New file.
35435
35436 2013-09-06 Will Newton <will.newton@linaro.org>
35437
35438 * benchtests/Makefile (string-bench): Add memcpy.
35439
35440 2013-09-05 Carlos O'Donell <carlos@redhat.com>
35441 Cong Wang <amwang@redhat.com>
35442
35443 [BZ #15850]
35444 * sysdeps/unix/sysv/linux/bits/in.h
35445 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
35446 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
35447 before __USE_KERNEL_IPV6_DEFS uses.
35448 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
35449 IPPROTO_BEETPH.
35450 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
35451 sockaddr_in6, or ipv6_mreq.
35452
35453 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35454
35455 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
35456 memory access for final bytes in some large inputs.
35457 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
35458
35459 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35460
35461 * string/test-memrchr.c: New file.
35462 * string/test-memrchr-ifunc.c: New file.
35463 * string/Makefile: Add new memrchr testcase.
35464
35465 2013-09-05 Mike Frysinger <vapier@gentoo.org>
35466
35467 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
35468 fanotify_init returns EPERM.
35469
35470 2013-09-04 Joseph Myers <joseph@codesourcery.com>
35471
35472 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
35473 errors.
35474 (top level): Treat second token from macro or constant entries for
35475 allowed headers as allowed.
35476 * include/complex.h: Condition internal declarations on
35477 [!_ISOMAC].
35478 * include/fenv.h: Condition include of <stdbool.h> and internal
35479 declarations on [!_ISOMAC].
35480
35481 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
35482
35483 [BZ #15923]
35484 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
35485
35486 2013-09-04 Joseph Myers <joseph@codesourcery.com>
35487
35488 * configure.in (--enable-versioning): Remove configure option.
35489 (libc_cv_asm_symver_directive): Remove configure test.
35490 (libc_cv_ld_version_script_option): Likewise.
35491 (VERSIONING): Remove variable and AC_SUBST.
35492 (DO_VERSIONING): Remove AC_DEFINE.
35493 * configure: Regenerated.
35494 * config.h.in (DO_VERSIONING): Remove macro.
35495 * Makerules [$(versioning) = yes]: Change conditionals to
35496 [$(build-shared) = yes].
35497 * config.make.in (versioning): Remove variable.
35498 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
35499 [$(build-shared) = yes].
35500 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
35501 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
35502 * elf/Makefile [$(versioning) = yes]: Change conditionals to
35503 [$(build-shared) = yes].
35504 * extra-lib.mk [$(versioning) = yes]: Likewise.
35505 * hurd/Makefile [$(versioning) = yes]: Likewise.
35506 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
35507 [SHARED].
35508 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
35509 [SHARED].
35510 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
35511 [SHARED && !NO_HIDDEN].
35512 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
35513 [SHARED].
35514 [SHARED && DO_VERSIONING]: Likewise..
35515 * libio/Makefile [$(versioning) = yes]: Change conditionals to
35516 [$(build-shared) = yes].
35517 * manual/install.texi (--disable-versioning): Remove
35518 documentation.
35519 * INSTALL: Regenerated.
35520 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
35521 to [SHARED].
35522 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
35523 [$(build-shared) = yes].
35524 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
35525 * sysdeps/i386/i686/multiarch/strstr-c.c
35526 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
35527 [SHARED && !NO_HIDDEN].
35528 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
35529 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
35530 * sysdeps/powerpc/powerpc32/dl-machine.c
35531 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
35532 * sysdeps/powerpc/powerpc32/sysdep.h
35533 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
35534 to [SHARED && PIC && !NO_HIDDEN].
35535 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
35536 conditional to [SHARED].
35537
35538 2013-09-04 Will Newton <will.newton@linaro.org>
35539
35540 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
35541 * benchtests/bench-string.h: Include bench-timing.h instead
35542 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
35543 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
35544 call to HP_TIMING_DIFF_INIT.
35545 * benchtests/bench-memccpy.c: Use bench-timing.h macros
35546 instead of hp-timing.h macros.
35547 * benchtests/bench-memchr.c: Likewise.
35548 * benchtests/bench-memcmp.c: Likewise.
35549 * benchtests/bench-memcpy.c: Likewise.
35550 * benchtests/bench-memmem.c: Likewise.
35551 * benchtests/bench-memmove.c: Likewise.
35552 * benchtests/bench-memset.c: Likewise.
35553 * benchtests/bench-rawmemchr.c: Likewise.
35554 * benchtests/bench-strcasecmp.c: Likewise.
35555 * benchtests/bench-strcasestr.c: Likewise.
35556 * benchtests/bench-strcat.c: Likewise.
35557 * benchtests/bench-strchr.c: Likewise.
35558 * benchtests/bench-strcmp.c: Likewise.
35559 * benchtests/bench-strcpy.c: Likewise.
35560 * benchtests/bench-strcpy_chk.c: Likewise.
35561 * benchtests/bench-strlen.c: Likewise.
35562 * benchtests/bench-strncasecmp.c: Likewise.
35563 * benchtests/bench-strncat.c: Likewise.
35564 * benchtests/bench-strncmp.c: Likewise.
35565 * benchtests/bench-strncpy.c: Likewise.
35566 * benchtests/bench-strnlen.c: Likewise.
35567 * benchtests/bench-strpbrk.c: Likewise.
35568 * benchtests/bench-strrchr.c: Likewise.
35569 * benchtests/bench-strspn.c: Likewise.
35570 * benchtests/bench-strstr.c: Likewise.
35571
35572 2013-09-04 Will Newton <will.newton@linaro.org>
35573
35574 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
35575
35576 2013-09-03 Joseph Myers <joseph@codesourcery.com>
35577
35578 [BZ #15427]
35579 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
35580 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
35581 * math/libm-test.inc (lgamma_test_data): Add more tests.
35582 * sysdeps/i386/fpu/libm-test-ulps: Update.
35583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35584
35585 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
35586
35587 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
35588 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35589 Add ifunc.
35590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35591 Add strcmp-sse2-unaligned
35592 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
35593
35594 2013-09-02 Mike Frysinger <vapier@gentoo.org>
35595
35596 * Versions.def (libc): Add GLIBC_2.19.
35597
35598 2013-09-02 Mike Frysinger <vapier@gentoo.org>
35599
35600 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
35601 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
35602
35603 2013-09-02 Joseph Myers <joseph@codesourcery.com>
35604
35605 [BZ #14155]
35606 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
35607 intermediate calculations in recurrence.
35608 (__ieee754_ynf): Likewise.
35609 * math/libm-test.inc (jn_test_data): Do not allow spurious
35610 underflow exception. Add more tests.
35611 (yn_test_data): Add more tests.
35612 * sysdeps/i386/fpu/libm-test-ulps: Update.
35613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35614
35615 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
35616
35617 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
35618
35619 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
35620
35621 * csu/init-first.c: Fix then/than typos.
35622 * locale/programs/ld-collate.c: Likewise.
35623 * locale/programs/linereader.h: Likewise.
35624 * manual/charset.texi: Likewise.
35625 * manual/filesys.texi: Likewise.
35626 * manual/stdio.texi: Likewise.
35627 * manual/string.texi: Likewise.
35628 * stdlib/fmtmsg.c: Likewise.
35629 * sysdeps/i386/stpncpy.S: Likewise.
35630 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35631 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
35632 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35633 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35634
35635 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
35636
35637 * elf/dl-open.c: Fix typos.
35638 * iconvdata/gbbig5.c: Likewise.
35639 * iconvdata/iso-2022-jp.c: Likewise.
35640 * iconv/gconv_int.h: Likewise.
35641 * iconv/loop.c: Likewise.
35642 * nis/rpcsvc/nis.h: Likewise.
35643 * resolv/ns_name.c: Likewise.
35644 * stdio-common/vfscanf.c: Likewise.
35645 * streams/stropts.h: Likewise.
35646 * sunrpc/rpc_thread.c: Likewise.
35647 * sysdeps/i386/strpbrk.S: Likewise.
35648 * sysdeps/ieee754/k_standard.c: Likewise.
35649 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35650 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35651 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
35652 * sysdeps/mach/hurd/profil.c: Likewise.
35653 * sysdeps/s390/dl-procinfo.h: Likewise.
35654 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
35655 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
35656 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
35657 * sysdeps/x86_64/dl-trampoline.S: Likewise.
35658 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
35659
35660 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
35661
35662 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
35663 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
35664
35665 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
35666
35667 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
35668 aix specific files.
35669 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
35670 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
35671 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
35672 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
35673 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
35674 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
35675 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
35676 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
35677
35678 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
35679 Roland McGrath <roland@hack.frob.com>
35680
35681 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
35682 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
35683
35684 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
35685
35686 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
35687 __executable_start symbol instead of _start.
35688
35689 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
35690
35691 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
35692 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
35693 Move macros to...
35694 * sysdeps/gnu/ldsodefs.h: ... this new file.
35695
35696 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
35697 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
35698 instead of ELFOSABI_LINUX.
35699
35700 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
35701 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
35702 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
35703 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
35704 Likewise.
35705 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
35706 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
35707 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
35708 Likewise.
35709 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
35710 (ibm_extended_long_double): Add ieee_nan member.
35711 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
35712 (do_test): New function.
35713
35714 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
35715 TEST_TRUNC.
35716 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
35717 functions, renamed from truncdfsf_test, trunctfsf_test,
35718 trunctfdf_test.
35719 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
35720 functions.
35721 (do_test): Run all these.
35722
35723 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
35724
35725 * argp/argp-help.c: Fix typos.
35726 * argp/argp-parse.c: Likewise.
35727 * debug/backtracesyms.c: Likewise.
35728 * elf/elf.h: Likewise.
35729 * malloc/malloc.c: Likewise.
35730 * nis/nis_print.c: Likewise.
35731 * resolv/res_comp.c: Likewise.
35732 * stdlib/stdlib.h: Likewise.
35733 * sunrpc/clnt_tcp.c: Likewise.
35734 * sunrpc/clnt_udp.c: Likewise.
35735 * sunrpc/clnt_unix.c: Likewise.
35736 * sysdeps/unix/bsd/ptsname.c: Likewise.
35737 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
35738 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
35739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
35740 Likewise.
35741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
35742 Likewise.
35743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
35744 Likewise.
35745 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35746
35747 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35748
35749 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
35750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35751
35752 2013-08-27 Mike Frysinger <vapier@gentoo.org>
35753
35754 [BZ #15897]
35755 * dlfcn/Makefile (tests): Add bug-dl-leaf.
35756 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
35757 ($(objpfx)bug-dl-leaf): New rule.
35758 ($(objpfx)bug-dl-leaf.so): Likewise.
35759 ($(objpfx)bug-dl-leaf.out): Likewise.
35760 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
35761 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
35762 * dlfcn/bug-dl-leaf.c: New test.
35763 * dlfcn/bug-dl-leaf-lib.c: Likewise.
35764 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
35765 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
35766 (dlclose): Likewise.
35767 (dlmopen): Likewise.
35768
35769 2013-08-27 Roland McGrath <roland@hack.frob.com>
35770
35771 * include/netdb.h [!_ISOMAC]:
35772 Don't include <tls.h>.
35773 (h_errno, __libc_h_errno): Move declaration and macros out of
35774 [_LIBC_REENTRANT].
35775
35776 * include/resolv.h [_RESOLV_H_]:
35777 Don't include <tls.h>.
35778 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
35779 * resolv/res_libc.c: Don't include <tls.h>.
35780 (_res): Use __attribute__ ((nocommon)) in place of
35781 __attribute__ ((section (".bss"))).
35782
35783 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
35784 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
35785
35786 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
35787
35788 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
35789 only under [SIOCGIFCONF && SIOCGIFNETMASK].
35790
35791 * resolv/res_mkquery.c: Include <sys/time.h>.
35792
35793 * inet/ifreq.c: Moved to ...
35794 * sysdeps/unix/ifreq.c: ... here.
35795 * inet/ifreq.c: New file, true stub version.
35796
35797 * socket/sa_len.c: New file.
35798 * socket/Makefile (aux): Add it.
35799 * sysdeps/unix/sysv/linux/Makefile
35800 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
35801 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
35802 and #include <socket/sa_len.c>.
35803 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
35804 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
35805
35806 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
35807 * bits/socket.h: ... here.
35808
35809 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
35810 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
35811 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
35812
35813 2013-08-27 Andreas Schwab <schwab@suse.de>
35814
35815 [BZ #15736]
35816 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
35817 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
35818 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
35819 * string/test-strcasecmp.c (test_main): Run tests in several
35820 locales.
35821 * string/test-strncasecmp.c (test_main): Likewise.
35822
35823 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
35824 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
35825 to __strcasecmp_nonascii and __strncasecmp_nonascii.
35826 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
35827 (__strncasecmp_ssse3) [PIC]: Likewise.
35828
35829 2013-08-26 Roland McGrath <roland@hack.frob.com>
35830
35831 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
35832
35833 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
35834 instead of explicitly declaring xdecrypt.
35835 * nis/nss_nis/nis-publickey.c: Likewise.
35836
35837 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35838
35839 [BZ #15890]
35840 * nscd/aicache.c: Include res_hconf.h.
35841 (addhstaiX): Initialize res_hconf.
35842
35843 2013-08-26 Andreas Schwab <schwab@suse.de>
35844
35845 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
35846 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
35847
35848 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35849
35850 * nscd/aicache.c (addhstaiX): Fix indentation.
35851
35852 2013-08-25 Mike Frysinger <vapier@gentoo.org>
35853
35854 * configure.ac: Quote $build_pt_chown test.
35855 * configure: Regenerated.
35856
35857 2013-08-23 Joseph Myers <joseph@codesourcery.com>
35858
35859 [BZ #15532]
35860 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
35861 * math/s_cexpf.c (__cexpf): Likewise.
35862 * math/s_cexpl.c (__cexpl): Likewise.
35863 * math/libm-test.inc (cexp_test_data): Correct expected return
35864 value for NaN + i0. Add another test.
35865
35866 2013-08-22 David S. Miller <davem@davemloft.net>
35867
35868 * po/ca.po: Update Catalan translation from translation project.
35869 * po/uk.po: Add Ukrainian translations from translation project.
35870
35871 2013-08-21 Joseph Myers <joseph@codesourcery.com>
35872
35873 [BZ #15797]
35874 * math/s_fdim.c (__fdim): Check for infinite arguments if result
35875 is infinite, not alongside NaN test.
35876 * math/s_fdimf.c (__fdimf): Likewise.
35877 * math/s_fdiml.c (__fdiml): Likewise.
35878 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
35879 errno is unchanged.
35880
35881 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
35882
35883 * argp/argp-help.c: Fix typos.
35884 * crypt/speeds.c: Likewise.
35885 * csu/check_fds.c: Likewise.
35886 * elf/dl-load.c: Likewise.
35887 * elf/dl-open.c: Likewise.
35888 * elf/reldep3.c: Likewise.
35889 * elf/reldep.c: Likewise.
35890 * elf/sprof.c: Likewise.
35891 * iconv/iconv_charmap.c: Likewise.
35892 * iconv/skeleton.c: Likewise.
35893 * iconv/strtab.c: Likewise.
35894 * io/lockf64.c: Likewise.
35895 * libio/libioP.h: Likewise.
35896 * resolv/gai_notify.c: Likewise.
35897 * resolv/ns_name.c: Likewise.
35898 * resolv/ns_samedomain.c: Likewise.
35899 * resolv/res_send.c: Likewise.
35900 * stdlib/random.c: Likewise.
35901 * sunrpc/rpc/xdr.h: Likewise.
35902 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
35903 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35904 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35905 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35906 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35907 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35908 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35909 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35910 * sysdeps/mach/hurd/check_fds.c: Likewise.
35911 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
35912 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35913 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35914 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
35915 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35916 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
35917 * sysdeps/pthread/aio_notify.c: Likewise.
35918 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
35919 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
35920 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
35921 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35922 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
35923
35924 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35925
35926 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
35927 version if bit_Slow_SSE4_2 is set.
35928 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35929 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35930
35931 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35932
35933 [BZ #15867]
35934 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
35935 trampoline stack frame information.
35936 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
35937 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
35938 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
35939 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
35940 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
35941 * sysdeps/unix/sysv/linux/powerpc/init-first.c
35942 (_libc_vdso_platform_setup): Initialize the signal trampolines.
35943 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
35944 sa_flags value.
35945 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
35946 interrupting a syscall and set with option SA_SIGINFO.
35947
35948 2013-08-20 Joseph Myers <joseph@codesourcery.com>
35949
35950 [BZ #15531]
35951 * math/s_cproj.c (__cproj): Only return an infinity if one part of
35952 argument is infinite.
35953 * math/s_cprojf.c (__cprojf): Likewise.
35954 * math/s_cprojl.c (__cprojl): Likewise.
35955 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
35956 * math/libm-test.inc (cproj_test_data): Add more tests.
35957
35958 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
35959
35960 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
35961 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
35962 size. Use __ffs to determine corresponding shift.
35963
35964 2013-08-20 Joseph Myers <joseph@codesourcery.com>
35965 Roland McGrath <roland@hack.frob.com>
35966
35967 * Makefile (INSTALL): Remove trailing blank lines from output of
35968 makeinfo.
35969
35970 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35971
35972 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
35973 Align 32 bit compat elf_greg to 8 bytes.
35974
35975 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
35976
35977 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
35978
35979 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35980
35981 * string/strcoll_l.c (coll_seq): New structure.
35982 (get_next_seq_cached): New function.
35983 (get_next_seq): New function.
35984 (do_compare): New function.
35985 (STRCOLL): Use GNU style definition. Simplify implementation
35986 by using get_next_seq, get_next_seq_cached and do_compare.
35987
35988 2013-08-16 Florian Weimer <fweimer@redhat.com>
35989
35990 [BZ #14699]
35991 CVE-2013-4237
35992 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
35993 member.
35994 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
35995 member.
35996 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
35997 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
35998 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
35999 conditional.
36000 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
36001 GETDENTS_64BIT_ALIGNED.
36002 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36003 * manual/filesys.texi (Reading/Closing Directory): Document
36004 ENAMETOOLONG return value of readdir_r. Recommend readdir more
36005 strongly.
36006 * manual/conf.texi (Limits for Files): Add portability note to
36007 NAME_MAX, PATH_MAX.
36008 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
36009
36010 2013-08-13 Andreas Schwab <schwab@suse.de>
36011
36012 [BZ #15749]
36013 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
36014 of fabs.
36015 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
36016 LDBL_MAX_EXP >= 16384]: Add tests for it.
36017
36018 2013-08-12 David S. Miller <davem@davemloft.net>
36019
36020 * version.h (RELEASE): Set to "development".
36021 (VERSION): Set to "2.18.90".
36022 * NEWS: Add 2.19 section.
36023
36024 2013-08-03 David S. Miller <davem@davemloft.net>
36025
36026 * po/ko.po: Update Korean translation from translation project.
36027
36028 2013-08-01 David S. Miller <davem@davemloft.net>
36029
36030 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
36031 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
36032 Bilka.
36033
36034 2013-07-30 David S. Miller <davem@davemloft.net>
36035
36036 * po/fr.po: Update French translation from translation project.
36037
36038 2013-07-28 David S. Miller <davem@davemloft.net>
36039
36040 * po/cs.po: Update Czech translation from translation project.
36041
36042 * po/sv.po: Update Swedish translation from translation project.
36043
36044 2013-07-27 David S. Miller <davem@davemloft.net>
36045
36046 * po/eo.po: Update Esperanto translation from translation project.
36047
36048 * po/vi.po: Update Vietnamese translation from translation project.
36049
36050 * po/de.po: Update German translation from translation project.
36051
36052 2013-07-26 David S. Miller <davem@davemloft.net>
36053
36054 * po/bg.po: Update Bulgarian translation from translation project.
36055
36056 * po/nl.po: Update Dutch translation from translation project.
36057 * po/pl.po: Update Polish translation from translation project.
36058 * po/ru.po: Update Russian translation from translation project.
36059
36060 2013-07-24 David S. Miller <davem@davemloft.net>
36061
36062 * po/libc.pot: Update.
36063
36064 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36065
36066 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
36067 variable page size.
36068 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
36069 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
36070 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
36071
36072 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36073
36074 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
36075
36076 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36077 Andreas Schwab <schwab@suse.de>
36078 Roland McGrath <roland@hack.frob.com>
36079 Joseph Myers <joseph@codesourcery.com>
36080 Carlos O'Donell <carlos@redhat.com>
36081
36082 [BZ #15755]
36083 * config.h.in: Define HAVE_PT_CHOWN.
36084 * config.make.in (build-pt-chown): New variable.
36085 * configure.in (--enable-pt_chown): New configure option.
36086 * configure: Regenerate.
36087 * login/Makefile: Include Makeconfig. Build pt_chown only if
36088 build-pt-chown is enabled.
36089 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
36090 pt_chown to fix pty ownership.
36091 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
36092 CLOSE_ALL_FDS.
36093 * manual/install.texi (Configuring and compiling): Mention
36094 --enable-pt_chown. Add @findex for grantpt.
36095 * INSTALL: Regenerate.
36096
36097 2013-07-20 David S. Miller <davem@davemloft.net>
36098
36099 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
36100 difference between 32-bit and 64-bit.
36101
36102 2013-07-15 Carlos O'Donell <carlos@redhat.com>
36103
36104 [BZ #15711]
36105 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
36106 Avoid system header dependency with -ffreestanding.
36107 ($(objpfx)bits/syscall%d): Likewise.
36108
36109 2013-07-13 David S. Miller <davem@davemloft.net>
36110
36111 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
36112 underflows from atanl/atan2l due to bug 15319.
36113 (casinh_test_data): Likewise.
36114
36115 2013-07-07 David S. Miller <davem@davemloft.net>
36116
36117 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36118
36119 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
36120
36121 * sysdeps/i386/fpu/libm-test-ulps: Update.
36122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36123
36124 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36125
36126 * configure.in (--enable-lock-elision): Fix message text.
36127 * INSTALL: Regenerate.
36128 * configure: Regenerate.
36129
36130 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36131
36132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36133
36134 2013-07-03 Andreas Jaeger <aj@suse.de>
36135
36136 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
36137 define.
36138 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
36139 (ptrace_peeksiginfo_args): Add.
36140 (__ptrace_peeksiginfo_flags): Add.
36141 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36142 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36143 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36144
36145 2013-07-03 Allan McRae <allan@archlinux.org>
36146
36147 * sysdeps/i386/fpu/libm-test-ulps: Update.
36148
36149 2013-07-02 David S. Miller <davem@davemloft.net>
36150
36151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36152
36153 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
36154
36155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36156
36157 2013-07-02 Joseph Myers <joseph@codesourcery.com>
36158
36159 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36161
36162 2013-07-02 Andi Kleen <ak@linux.intel.com>
36163
36164 * config.h.in (ENABLE_LOCK_ELISION): Add.
36165 * configure.in (--enable-lock-elision): Add option.
36166 * manual/install.texi: Document --enable lock elision.
36167 * configure: Regenerate
36168 * INSTALL: Regenerate.
36169
36170 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
36171
36172 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
36173 SSE4.2 strcasecmp for libc.a.
36174 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
36175
36176 2013-07-02 Joseph Myers <joseph@codesourcery.com>
36177
36178 [BZ #13304]
36179 * soft-fp/op-common.h (_FP_FMA): New macro.
36180 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
36181 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
36182 (_FP_MUL_MEAT_1_imm): ... here.
36183 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
36184 (_FP_MUL_MEAT_1_wide): ... here.
36185 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
36186 (_FP_MUL_MEAT_1_hard): ... here.
36187 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
36188 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
36189 (_FP_MUL_MEAT_2_wide): ... here.
36190 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
36191 (_FP_MUL_MEAT_2_wide_3mul): ... here.
36192 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
36193 (_FP_MUL_MEAT_2_gmp): ... here.
36194 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
36195 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
36196 (_FP_MUL_MEAT_4_wide): ... here.
36197 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
36198 (_FP_MUL_MEAT_4_gmp): ... here.
36199 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
36200 (_FP_WFRACBITS_DW_S): Likewise.
36201 (_FP_WFRACXBITS_DW_S): Likewise.
36202 (_FP_HIGHBIT_DW_S): Likewise.
36203 (FP_FMA_S): Likewise.
36204 (_FP_FRAC_HIGH_DW_S): Likewise.
36205 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
36206 (_FP_WFRACBITS_DW_D): Likewise.
36207 (_FP_WFRACXBITS_DW_D): Likewise.
36208 (_FP_HIGHBIT_DW_D): Likewise.
36209 (FP_FMA_D): Likewise.
36210 (_FP_FRAC_HIGH_DW_D): Likewise.
36211 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
36212 (_FP_WFRACBITS_DW_E): Likewise.
36213 (_FP_WFRACXBITS_DW_E): Likewise.
36214 (_FP_HIGHBIT_DW_E): Likewise.
36215 (FP_FMA_E): Likewise.
36216 (_FP_FRAC_HIGH_DW_E): Likewise.
36217 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
36218 (_FP_WFRACBITS_DW_Q): Likewise.
36219 (_FP_WFRACXBITS_DW_Q): Likewise.
36220 (_FP_HIGHBIT_DW_Q): Likewise.
36221 (FP_FMA_Q): Likewise.
36222 (_FP_FRAC_HIGH_DW_Q): Likewise.
36223 * soft-fp/fmasf4.c: New file.
36224 * soft-fp/fmadf4.c: Likewise.
36225 * soft-fp/fmatf4.c: Likewise.
36226
36227 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36228
36229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36230 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
36231 Silvermont.
36232 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
36233 macro.
36234 (index_Slow_SSE4_2): Likewise.
36235 (index_Prefer_PMINUB_for_stringop): Likewise.
36236 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
36237 bit_Slow_SSE4_2 is set.
36238 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36239 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36240
36241 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36242
36243 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
36244 rtld_global._dl_hwcap2.
36245 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
36246 POWER8.
36247 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
36248 POWER8 feature descriptions defined in _dl_hwcap2.
36249 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
36250 string handling for POWER8 feature bits.
36251 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
36252 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
36253 _dl_powerpc_cap_flags.
36254 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
36255 * sysdeps/powerpc/rtld-global-offsets.sym
36256 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
36257 _dl_hwcap2 in the rtld_global_ro structure.
36258
36259 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36260
36261 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
36262 hardware capabilities in support of AT_HWCAP2.
36263 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
36264 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
36265 GLRO(dl_hwcap2).
36266 (_dl_show_auxv): Add support for calling _dl_procinfo to display
36267 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
36268 explicitly the unknown a_type display mechanism is used.
36269 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
36270 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
36271 struct member.
36272 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
36273 to macro prototype for AT_HWCAP2 support.
36274 * sysdeps/i386/dl-procinfo.h: Likewise.
36275 * sysdeps/s390/dl-procinfo.h: Likewise.
36276 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
36277 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
36278 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
36279 return -1 for unknown a_type display fallback.
36280 * sysdeps/sparc/dl-procinfo.h: Likewise.
36281 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
36282 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
36283
36284 2013-06-28 Joseph Myers <joseph@codesourcery.com>
36285
36286 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
36287 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
36288
36289 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
36290
36291 [BZ #12492]
36292 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
36293 mprotect making __stack_prot writable.
36294
36295 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
36296 Joseph Myers <joseph@codesourcery.com>
36297
36298 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
36299 as being properly aligned.
36300
36301 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
36302
36303 * dlfcn/modstatic5.c: New file.
36304 * dlfcn/tststatic5.c: New file.
36305 * dlfcn/Makefile (tests): Add tststatic5.
36306 (tests-static): Likewise.
36307 (modules-names): Add modstatic5.
36308 (tststatic5-ENV): New variable.
36309 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
36310
36311 [BZ #15022]
36312 * elf/dl-support.c (_dl_main_map): New variable.
36313 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
36314 (_dl_nns, _dl_load_adds): Set to 1.
36315 (_dl_initial_searchlist): Refer to _dl_main_map.
36316 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
36317 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
36318 call to _dl_get_origin.
36319 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
36320 around call_map.
36321 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
36322 * dlfcn/modstatic3.c: New file.
36323 * dlfcn/tststatic3.c: New file.
36324 * dlfcn/tststatic4.c: New file.
36325 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
36326 (tests-static): Likewise.
36327 (modules-names): Add modstatic3.
36328 (tststatic3-ENV, tststatic4-ENV): New variables.
36329 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
36330 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
36331
36332 2013-06-26 Joseph Myers <joseph@codesourcery.com>
36333
36334 * configure.in (CC): Require GCC version 4.4 or later.
36335 * configure: Regenerated.
36336 * manual/install.texi (Tools for Compilation): Update GCC version
36337 requirement.
36338 * INSTALL: Regenerated.
36339
36340 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36341
36342 [BZ #15674]
36343 * string/test-memcmp.c (check2): New.
36344 (main): Call check2.
36345
36346 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
36347
36348 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
36349
36350 [BZ #15022]
36351 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
36352 over to...
36353 (dl_open_worker) [!SHARED]: ... here.
36354
36355 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36356
36357 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
36358
36359 2013-06-25 Richard Henderson <rth@redhat.com>
36360
36361 * locale/programs/locarchive.c: Include <libc-internal.h>
36362
36363 2013-06-25 Joseph Myers <joseph@codesourcery.com>
36364
36365 * manual/texinfo.tex: Update to version 2013-06-21.17, with
36366 trailing whitespace removed.
36367
36368 2013-06-24 Mike Frysinger <vapier@gentoo.org>
36369
36370 [BZ #10283]
36371 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
36372 * locale/programs/locarchive.c: Include libc-mmap.h.
36373 (prepare_address_space): Take two new outputs (the mmap base and len).
36374 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
36375 values.
36376 (create_archive): Declare new mmap base and len values for
36377 prepare_address_space, and store the result in ah.
36378 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
36379 (enlarge_archive): If ah->mmap_base is not NULL, use that and
36380 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
36381 Declare new mmap base and len values for
36382 prepare_address_space, and store the result in new_ah.
36383 (open_archive): Declare new mmap base and len values for
36384 prepare_address_space, and store the result in ah.
36385 (close_archive): If ah->mmap_base is not NULL, use that and
36386 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
36387 * sysdeps/generic/libc-mmap.h: New file.
36388
36389 2013-06-24 Mike Frysinger <vapier@gentoo.org>
36390
36391 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
36392 (ALIGN_UP): Likewise.
36393 (PTR_ALIGN_DOWN): Likewise.
36394 (PTR_ALIGN_UP): Likewise.
36395
36396 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36397
36398 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
36399 entry mapped to PPC_PLATFORM_POWER8.
36400 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
36401 POWER8.
36402 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
36403 (_dl_string_platform): Add case for exporting platform position for
36404 POWER8.
36405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
36406 search path to sysdeps/powerpc/powerpc32/power8 directory.
36407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
36408 search path to sysdeps/powerpc/powerpc64/power8 directory.
36409 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
36410 power7 directories.
36411 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
36412 power7 directories.
36413
36414 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
36415
36416 * INSTALL: Regenerate.
36417
36418 * nscd/connections.c (nscd_init): Fix comment.
36419
36420 2013-06-22 Joseph Myers <joseph@codesourcery.com>
36421
36422 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
36423
36424 [BZ #15667]
36425 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
36426 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
36427
36428 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
36429
36430 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
36431 DL_DST_REQ_STATIC.
36432 (DL_DST_REQ_STATIC): Remove macro.
36433
36434 2013-06-21 Joseph Myers <joseph@codesourcery.com>
36435
36436 [BZ #7006]
36437 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
36438 with a shift of 0 bits.
36439
36440 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
36441
36442 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
36443 $(tststatic-ENV).
36444
36445 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36446
36447 [BZ #15655]
36448 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
36449
36450 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36451
36452 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
36453 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
36454 accepts -fno-tree-loop-distribute-patterns.
36455 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
36456 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
36457 recursive call.
36458 * string/memset.c (memset): Likewise.
36459 * string/test-memmove.c (simple_memmove): Disable loop transformation
36460 to library calls.
36461 * string/test-memset.c (simple_memset): Likewise.
36462 * benchtests/bench-memmove.c (simple_memmove): Likewise.
36463 * benchtests/bench-memset.c (simple_memset): Likewise.
36464 * configure: Regenerated.
36465
36466 2013-06-20 Joseph Myers <joseph@codesourcery.com>
36467
36468 * math/test-misc.c (main): Ignore fesetround failure when failures
36469 of subsequent rounding tests would be ignored.
36470
36471 [BZ #15654]
36472 * math/fedisblxcpt.c (fedisableexcept): Return 0.
36473 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
36474 * math/fegetenv.c (__fegetenv): Return 0.
36475 * math/fegetexcept.c (fegetexcept): Return 0.
36476 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
36477 FE_TONEAREST.
36478 * math/feholdexcpt.c (feholdexcept): Return 0.
36479 * math/fesetenv.c (__fesetenv): Return 0.
36480 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
36481 argument FE_TONEAREST.
36482 * math/feupdateenv.c (__feupdateenv): Return 0.
36483 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
36484
36485 2013-06-18 Roland McGrath <roland@hack.frob.com>
36486
36487 * elf/rtld-Rules (rtld-compile-command.S): New variable.
36488 (rtld-compile-command.s, rtld-compile-command.c): New variables.
36489 ($(objpfx)rtld-%.os rules): Use them.
36490
36491 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36492
36493 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
36494 fields.
36495
36496 2013-06-17 Roland McGrath <roland@hack.frob.com>
36497
36498 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
36499 length of target pattern, then descending length of dependency pattern.
36500 * configure.in (AWK): Require gawk 3.1.2 or newer.
36501 * manual/install.texi (Tools for Compilation): Say that we do.
36502 * configure: Regenerated.
36503
36504 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
36505 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
36506 * scripts/sysd-rules.awk: ... this new script.
36507 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
36508 than a glob-style pattern.
36509
36510 2013-06-17 Joseph Myers <joseph@codesourcery.com>
36511
36512 * math/test-misc.c (main): Do not treat incorrectly rounded
36513 conversions as failure unless ROUNDING_TESTS passes.
36514
36515 2013-06-15 Joseph Myers <joseph@codesourcery.com>
36516
36517 [BZ #15631]
36518 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
36519 restore exception state around main square root computation, then
36520 check for inexactness explicitly.
36521
36522 * math/libm-test.inc (fma_test_data): Add another test.
36523
36524 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36525
36526 * manual/threads.texi (Non-POSIX Extensions): New document
36527 node. Document pthread_getattr_default_np and
36528 pthread_setattr_default_np.
36529
36530 * Versions.def (libpthread): Add GLIBC_2.18.
36531 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
36532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36533 Likewise.
36534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36535 Likewise.
36536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36537 Likewise.
36538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36539 Likewise.
36540 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
36541 Likewise.
36542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36543 Likewise.
36544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36545 Likewise.
36546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36547 Likewise.
36548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36549 Likewise.
36550
36551 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36552
36553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36554 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
36555
36556 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36557 H.J. Lu <hjl.tools@gmail.com>
36558
36559 [BZ #15627]
36560 * sysdeps/x86_64/rtld-memset.c: Remove file.
36561 * sysdeps/x86_64/rtld-memset.S: New file.
36562
36563 2013-06-14 Joseph Myers <joseph@codesourcery.com>
36564
36565 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
36566 (test_in_one_mode): Take arguments for whether the rounding mode
36567 is supported for each floating-point type.
36568 (do_test): Pass new arguments to test_in_one_mode using
36569 ROUNDING_TESTS.
36570
36571 2013-06-13 Roland McGrath <roland@hack.frob.com>
36572
36573 * posix/tst-waitid.c (do_test): Distinguish different instances of
36574 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
36575 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
36576 before entering the kernel for waitpid.
36577
36578 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36579
36580 * NEWS: Fix note on clock function precision. Text by Roland
36581 McGrath.
36582
36583 2013-06-13 Roland McGrath <roland@hack.frob.com>
36584
36585 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
36586 it into place only when and if the sanity check passes.
36587
36588 2013-06-13 Joseph Myers <joseph@codesourcery.com>
36589
36590 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
36591 output for whether conversion result is exact. Take argument
36592 indicating whether type is IBM long double.
36593 (round_for_all): Change need_exact field to ibm_ld.
36594 * stdlib/tst-strtod-round.c (struct exactness): New type.
36595 (struct test): Change bool ld_ok field to struct exactness exact.
36596 (TEST): Update all definitions for change to field.
36597 (tests): Regenerate array contents.
36598 (test_in_one_mode): Take pointer to new field instead of old ld_ok
36599 field value. Check for IBM long double here.
36600 (do_test): Update calls to test_in_one_mode.
36601
36602 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36603
36604 [BZ #12515]
36605 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
36606 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
36607
36608 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36609
36610 [BZ #15605]
36611 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
36612 generated by the compiler on loop optimizations.
36613 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
36614 general definitions.
36615
36616 2013-06-12 Joseph Myers <joseph@codesourcery.com>
36617
36618 * math/bug-nextafter.c: Include <math-tests.h>.
36619 (main): Only test for exceptions if EXCEPTION_TESTS is true for
36620 the relevant type.
36621 * math/bug-nexttoward.c: Include <math-tests.h>.
36622 (main): Only test for exceptions if EXCEPTION_TESTS is true for
36623 the relevant type.
36624 * math/test-misc.c: Include <math-tests.h>.
36625 (main): Only test for exceptions if EXCEPTION_TESTS is true for
36626 the relevant type.
36627
36628 2013-06-12 Andreas Jaeger <aj@suse.de>
36629
36630 * po/ia.po: Update Interlingua translation from translation
36631 project.
36632
36633 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
36634
36635 * include/fenv.h: Include stdbool.h.
36636 (struct rm_ctx): New structure.
36637 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
36638 Define macro.
36639 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
36640 (SET_RESTORE_ROUNDF): Likewise.
36641 (SET_RESTORE_ROUNDL): Likewise.
36642 (SET_RESTORE_ROUND_NOEX): Likewise.
36643 (SET_RESTORE_ROUND_NOEXF): Likewise.
36644 (SET_RESTORE_ROUND_NOEXL): Likewise.
36645 (SET_RESTORE_ROUND_53BIT): Likewise.
36646 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
36647 (libc_feresetround_noexf_ctx): Likewise.
36648 (libc_feresetround_noexl_ctx): Likewise.
36649 (libc_feholdsetround_53bit_ctx): Likewise.
36650 (libc_feresetround_53bit_ctx): Likewise.
36651 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
36652 (libc_feholdexcept_setround_sse_ctx): New function.
36653 (libc_fesetenv_sse_ctx): Likewise.
36654 (libc_feupdateenv_sse_ctx): Likewise.
36655 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
36656 (libc_feholdexcept_setround_387_ctx): Likewise.
36657 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
36658 (libc_feholdsetround_387_prec_ctx): Likewise.
36659 (libc_feholdsetround_387_ctx): Likewise.
36660 (libc_feholdsetround_387_53bit_ctx): Likewise.
36661 (libc_feholdsetround_sse_ctx): Likewise.
36662 (libc_feresetround_sse_ctx): Likewise.
36663 (libc_feresetround_387_ctx): Likewise.
36664 (libc_feupdateenv_387_ctx): Likewise.
36665 (libc_feholdexcept_setroundf_ctx): Define macro.
36666 (libc_fesetenvf_ctx): Likewise.
36667 (libc_feupdateenvf_ctx): Likewise.
36668 (libc_feholdsetroundf_ctx): Likewise.
36669 (libc_feresetroundf_ctx): Likewise.
36670 (libc_feholdexcept_setround_ctx): Likewise.
36671 (libc_fesetenv_ctx): Likewise.
36672 (libc_feupdateenv_ctx): Likewise.
36673 (libc_feholdsetround_ctx): Likewise.
36674 (libc_feresetround_ctx): Likewise.
36675 (libc_feholdexcept_setroundl_ctx): Likewise.
36676 (libc_feupdateenvl_ctx): Likewise.
36677 (libc_feholdsetroundl_ctx): Likewise.
36678 (libc_feresetroundl_ctx): Likewise.
36679 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
36680 (libc_feresetround_53bit_ctx): Likewise.
36681
36682 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36683
36684 * locale/iso-639.def: Convert to UTF-8.
36685
36686 2013-06-11 Joseph Myers <joseph@codesourcery.com>
36687
36688 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
36689 (EXCEPTION_TESTS_double): Likewise.
36690 (EXCEPTION_TESTS_long_double): Likewise.
36691 (EXCEPTION_TESTS): Likewise.
36692 * math/libm-test.inc (test_exceptions): Only test exceptions if
36693 EXCEPTION_TESTS (FLOAT).
36694
36695 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36696
36697 * benchtests/Makefile (string-bench): Add strcpy_chk and
36698 stpcpy_chk.
36699 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
36700 * benchtests/bench-stpcpy_chk.c: New file.
36701 * benchtests/bench-strcpy_chk-ifunc.c: New file.
36702 * benchtests/bench-strcpy_chk.c: New file.
36703 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
36704 code.
36705 (do_test): Likewise.
36706
36707 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36708
36709 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
36710 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
36711 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
36712 with tabs where appropriate.
36713 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
36714 dl-procinfo.h.
36715 [PPC_PLATFORM_PPC440]: Likewise.
36716 [PPC_PLATFORM_PPC464]: Likewise.
36717 [PPC_PLATFORM_PPC476]: Likewise.
36718 (_dl_string_platform): Add support for detecting ppc405, ppc440,
36719 ppc464, and ppc476 platform strings merging from ports/
36720 dl-procinfo.h.
36721
36722 2013-06-11 Andreas Schwab <schwab@suse.de>
36723
36724 [BZ #14991]
36725 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
36726 (from_ucs4_idx): Regenerate.
36727 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
36728 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
36729 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
36730 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
36731 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
36732 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
36733 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
36734 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
36735 from FROM_LOOP and TO_LOOP specific macros.
36736 (BODY): Handle combining characters.
36737 * iconvdata/BIG5HKSCS.irreversible: Update.
36738 * iconvdata/BIG5HKSCS.precomposed: New file.
36739 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
36740 characters.
36741 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
36742
36743 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36744
36745 * include/sys/time.h: Fix indentation and add copyright header.
36746
36747 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
36748 (do_test): Likewise.
36749 * string/test-memchr.c (do_one_test): Likewise.
36750 (do_test): Likewise.
36751 * string/test-memcmp.c (do_one_test): Likewise.
36752 (do_test): Likewise.
36753 * string/test-memcpy.c (do_one_test): Likewise.
36754 (do_test): Likewise.
36755 * string/test-memmem.c (do_one_test): Likewise.
36756 (do_test): Likewise.
36757 (do_random_tests): Likewise.
36758 * string/test-memmove.c (do_one_test): Likewise.
36759 (do_test): Likewise.
36760 * string/test-memset.c (do_one_test): Likewise.
36761 (do_test): Likewise.
36762 * string/test-rawmemchr.c (do_one_test): Likewise.
36763 (do_test): Likewise.
36764 * string/test-strcasecmp.c (do_one_test): Likewise.
36765 (do_test): Likewise.
36766 * string/test-strcasestr.c (do_one_test): Likewise.
36767 (do_test): Likewise.
36768 * string/test-strcat.c (do_one_test): Likewise.
36769 (do_test): Likewise.
36770 * string/test-strchr.c (do_one_test): Likewise.
36771 (do_test): Likewise.
36772 * string/test-strcmp.c (do_one_test): Likewise.
36773 (do_test): Likewise.
36774 * string/test-strcpy.c (do_one_test): Likewise.
36775 (do_test): Likewise.
36776 * string/test-string.h: Likewise.
36777 (test_init): Likewise.
36778 * string/test-strlen.c (do_one_test): Likewise.
36779 (do_test): Likewise.
36780 * string/test-strncasecmp.c (do_one_test): Likewise.
36781 (do_test): Likewise.
36782 * string/test-strncat.c (do_one_test): Likewise.
36783 (do_test): Likewise.
36784 * string/test-strncmp.c (do_one_test): Likewise.
36785 (do_test_limit): Likewise.
36786 (do_test): Likewise.
36787 * string/test-strncpy.c (do_one_test): Likewise.
36788 (do_test): Likewise.
36789 * string/test-strnlen.c (do_one_test): Likewise.
36790 (do_test): Likewise.
36791 * string/test-strpbrk.c (do_one_test): Likewise.
36792 (do_test): Likewise.
36793 * string/test-strrchr.c (do_one_test): Likewise.
36794 (do_test): Likewise.
36795 * string/test-strspn.c (do_one_test): Likewise.
36796 (do_test): Likewise.
36797 * string/test-strstr.c (do_one_test): Likewise.
36798 (do_test): Likewise.
36799
36800 * benchtests/Makefile (string-bench): Add string benchmarks.
36801 * benchtests/bench-bcopy-ifunc.c: New file.
36802 * benchtests/bench-bcopy.c: New file.
36803 * benchtests/bench-bzero-ifunc.c: New file.
36804 * benchtests/bench-bzero.c: New file.
36805 * benchtests/bench-memccpy-ifunc.c: New file.
36806 * benchtests/bench-memccpy.c: New file.
36807 * benchtests/bench-memchr-ifunc.c: New file.
36808 * benchtests/bench-memchr.c: New file.
36809 * benchtests/bench-memcmp-ifunc.c: New file.
36810 * benchtests/bench-memcmp.c: New file.
36811 * benchtests/bench-memmem-ifunc.c: New file.
36812 * benchtests/bench-memmem.c: New file.
36813 * benchtests/bench-memmove-ifunc.c: New file.
36814 * benchtests/bench-memmove.c: New file.
36815 * benchtests/bench-mempcpy-ifunc.c: New file.
36816 * benchtests/bench-mempcpy.c: New file.
36817 * benchtests/bench-memset-ifunc.c: New file.
36818 * benchtests/bench-memset.c: New file.
36819 * benchtests/bench-rawmemchr-ifunc.c: New file.
36820 * benchtests/bench-rawmemchr.c: New file.
36821 * benchtests/bench-stpcpy-ifunc.c: New file.
36822 * benchtests/bench-stpcpy.c: New file.
36823 * benchtests/bench-stpncpy-ifunc.c: New file.
36824 * benchtests/bench-stpncpy.c: New file.
36825 * benchtests/bench-strcasecmp-ifunc.c: New file.
36826 * benchtests/bench-strcasecmp.c: New file.
36827 * benchtests/bench-strcasestr-ifunc.c: New file.
36828 * benchtests/bench-strcasestr.c: New file.
36829 * benchtests/bench-strcat-ifunc.c: New file.
36830 * benchtests/bench-strcat.c: New file.
36831 * benchtests/bench-strchr-ifunc.c: New file.
36832 * benchtests/bench-strchr.c: New file.
36833 * benchtests/bench-strchrnul-ifunc.c: New file.
36834 * benchtests/bench-strchrnul.c: New file.
36835 * benchtests/bench-strcmp-ifunc.c: New file.
36836 * benchtests/bench-strcmp.c: New file.
36837 * benchtests/bench-strcpy-ifunc.c: New file.
36838 * benchtests/bench-strcpy.c: New file.
36839 * benchtests/bench-strcspn-ifunc.c: New file.
36840 * benchtests/bench-strcspn.c: New file.
36841 * benchtests/bench-strlen-ifunc.c: New file.
36842 * benchtests/bench-strlen.c: New file.
36843 * benchtests/bench-strncasecmp-ifunc.c: New file.
36844 * benchtests/bench-strncasecmp.c: New file.
36845 * benchtests/bench-strncat-ifunc.c: New file.
36846 * benchtests/bench-strncat.c: New file.
36847 * benchtests/bench-strncmp-ifunc.c: New file.
36848 * benchtests/bench-strncmp.c: New file.
36849 * benchtests/bench-strncpy-ifunc.c: New file.
36850 * benchtests/bench-strncpy.c: New file.
36851 * benchtests/bench-strnlen-ifunc.c: New file.
36852 * benchtests/bench-strnlen.c: New file.
36853 * benchtests/bench-strpbrk-ifunc.c: New file.
36854 * benchtests/bench-strpbrk.c: New file.
36855 * benchtests/bench-strrchr-ifunc.c: New file.
36856 * benchtests/bench-strrchr.c: New file.
36857 * benchtests/bench-strspn-ifunc.c: New file.
36858 * benchtests/bench-strspn.c: New file.
36859 * benchtests/bench-strstr-ifunc.c: New file.
36860 * benchtests/bench-strstr.c: New file.
36861
36862 * benchtests/Makefile: Disable parallel execution of targets.
36863 (string-bench): Add memcpy.
36864 (benchset): New variable to store a list of benchmark sets.
36865 (bench-func): Renamed from bench.
36866 (bench-set): New target.
36867 (bench): Depend on bench-func and bench-set.
36868 * benchtests/README: Add section on benchmark sets.
36869 * benchtests/bench-memcpy-ifunc.c: New file.
36870 * benchtests/bench-memcpy.c: New file.
36871 * benchtests/bench-string.h: New file.
36872
36873 2013-06-11 Andreas Schwab <schwab@suse.de>
36874
36875 [BZ #15577]
36876 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
36877 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
36878 values in the triple.
36879 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
36880 terminator in the group key.
36881
36882 2013-06-11 Andreas Jaeger <aj@suse.de>
36883
36884 * po/zh_TW.po: Update Chinese (traditional) translation from
36885 translation project.
36886
36887 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36888
36889 * include/time.h (__clock_gettime): Add libc_hidden_proto.
36890 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
36891 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
36892 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36893 (clock_getcpuclockid): Likewise.
36894 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
36895 Add weak_alias and libc_hidden_def.
36896 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
36897 * rt/clock_gettime.c (clock_gettime): Rename to
36898 __clock_gettime. Add weak_alias and libc_hidden_def.
36899 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
36900 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
36901 __clock_nanosleep. Add weak_alias and libc_hidden_def.
36902 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
36903 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
36904 Likewise.
36905 * rt/clock_settime.c (clock_settime): Rename to
36906 __clock_settime. Add weak_alias and libc_hidden_def.
36907 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
36908
36909 2013-06-10 Joseph Myers <joseph@codesourcery.com>
36910
36911 * mach/err_boot.sub: Remove trailing whitespace.
36912 * mach/err_ipc.sub: Likewise.
36913 * mach/err_mach.sub: Likewise.
36914
36915 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
36916 (ROUNDING_TESTS_double): Likewise.
36917 (ROUNDING_TESTS_long_double): Likewise.
36918 (ROUNDING_TESTS): Likewise.
36919 * math/libm-test.inc: Include <math-tests.h>.
36920 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
36921 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36922 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36923 (IF_ROUND_INIT_FE_UPWARD): Likewise.
36924
36925 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36926
36927 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
36928 of assigning.
36929
36930 2013-06-08 Joseph Myers <joseph@codesourcery.com>
36931
36932 * sysdeps/gnu/errlist.awk: Do not generate space at end of
36933 otherwise empty TRANS lines.
36934 * sysdeps/gnu/errlist.c: Regenerated.
36935
36936 * catgets/gencat.c (error_print): Use (void) in function
36937 definition.
36938 * crypt/crypt_util.c (__init_des): Likewise.
36939 * crypt/speeds.c (Stop): Likewise.
36940 (main): Likewise.
36941 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
36942 * inet/ruserpass.c (token): Likewise.
36943 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
36944 * intl/localealias.c (extend_alias_table): Likewise.
36945 * intl/plural-exp.c (init_germanic_plural): Likewise.
36946 * libio/fcloseall.c (__fcloseall): Likewise.
36947 * libio/genops.c (_IO_flush_all): Likewise.
36948 (_IO_flush_all_linebuffered): Likewise.
36949 (_IO_cleanup): Likewise.
36950 (_IO_iter_begin): Likewise.
36951 (_IO_iter_end): Likewise.
36952 (_IO_list_lock): Likewise.
36953 (_IO_list_unlock): Likewise.
36954 (_IO_list_resetlock): Likewise.
36955 * libio/getchar.c (getchar): Likewise.
36956 * libio/getchar_u.c (getchar_unlocked): Likewise.
36957 * libio/getwchar.c (getwchar): Likewise.
36958 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
36959 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
36960 * login/getpt.c (__getpt): Likewise.
36961 * login/tst-utmp.c (main): Likewise.
36962 * malloc/hooks.c (__malloc_check_init): Likewise.
36963 * malloc/malloc.c (__malloc_stats): Likewise.
36964 * malloc/mtrace.c (tr_break): Likewise.
36965 (mtrace): Likewise.
36966 (muntrace): Likewise.
36967 * misc/fstab.c (endfsent): Likewise.
36968 * misc/getclktck.c (__getclktck): Likewise.
36969 * misc/getdtsz.c (__getdtablesize): Likewise.
36970 * misc/gethostid.c (gethostid): Likewise.
36971 * misc/getpagesize.c (__getpagesize): Likewise.
36972 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
36973 (__get_nprocs): Likewise.
36974 (__get_phys_pages): Likewise.
36975 (__get_avphys_pages): Likewise.
36976 * misc/getttyent.c (getttyent): Likewise.
36977 (setttyent): Likewise.
36978 (endttyent): Likewise.
36979 * misc/getusershell.c (getusershell): Likewise.
36980 (endusershell): Likewise.
36981 (setusershell): Likewise.
36982 (initshells): Likewise.
36983 * misc/hsearch.c (__hdestroy): Likewise.
36984 * misc/sync.c (sync): Likewise.
36985 * misc/syslog.c (closelog_internal): Likewise.
36986 (closelog): Likewise.
36987 * misc/ttyslot.c (ttyslot): Likewise.
36988 * misc/vhangup.c (vhangup): Likewise.
36989 * posix/fork.c (__fork): Likewise.
36990 * posix/getegid.c (__getegid): Likewise.
36991 * posix/geteuid.c (__geteuid): Likewise.
36992 * posix/getgid.c (__getgid): Likewise.
36993 * posix/getpid.c (__getpid): Likewise.
36994 * posix/getppid.c (__getppid): Likewise.
36995 * posix/getuid.c (__getuid): Likewise.
36996 * posix/pause.c (pause): Likewise.
36997 * posix/setpgrp.c (setpgrp): Likewise.
36998 * posix/setsid.c (__setsid): Likewise.
36999 * posix/test-vfork.c (noop): Likewise.
37000 * resolv/gethnamaddr.c (_endhtent): Likewise.
37001 (_gethtent): Likewise.
37002 (ht_endhostent): Likewise.
37003 (gethostent): Likewise.
37004 (dns_service): Likewise.
37005 * stdlib/drand48.c (drand48): Likewise.
37006 * stdlib/lrand48.c (lrand48): Likewise.
37007 * stdlib/mrand48.c (mrand48): Likewise.
37008 * stdlib/rand.c (rand): Likewise.
37009 * stdlib/random.c (__random): Likewise.
37010 * stdlib/setenv.c (clearenv): Likewise.
37011 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
37012 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
37013 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
37014 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
37015 (__get_nprocs): Likewise.
37016 (__get_phys_pages): Likewise.
37017 (__get_avphys_pages): Likewise.
37018 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
37019 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
37020 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
37021 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
37022 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
37023 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
37024 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
37025 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
37026 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
37027 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
37028 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
37029 * sysdeps/mach/hurd/sync.c (sync): Likewise.
37030 * sysdeps/posix/clock.c (clock): Likewise.
37031 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
37032 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
37033 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
37034 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
37035 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
37036 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
37037 (__get_nprocs_conf): Likewise.
37038 (__get_phys_pages): Likewise.
37039 (__get_avphys_pages): Likewise.
37040 * time/clock.c (clock): Likewise.
37041 * time/tzset.c (__tzname_max): Likewise.
37042
37043 2013-06-07 Joseph Myers <joseph@codesourcery.com>
37044
37045 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
37046 (__bswap_32): Do not use "register".
37047 * crypt/crypt.c (_ufc_doit_r): Likewise.
37048 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37049 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37050 * gmon/gmon.c (__monstartup): Likewise.
37051 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
37052 * hurd/hurdmalloc.c (more_memory): Likewise.
37053 (malloc): Likewise.
37054 (free): Likewise.
37055 (realloc): Likewise.
37056 (malloc_fork_prepare): Likewise.
37057 (malloc_fork_parent): Likewise.
37058 (malloc_fork_child): Likewise.
37059 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
37060 (_svcauth_des): Likewise.
37061 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37062 * inet/inet_net.c (inet_network): Likewise.
37063 * inet/inet_netof.c (inet_netof): Likewise.
37064 * inet/rcmd.c (__validuser2_sa): Likewise.
37065 * io/fts.c (fts_open): Likewise.
37066 (fts_load): Likewise.
37067 (fts_close): Likewise.
37068 (fts_read): Likewise.
37069 (fts_children): Likewise.
37070 (fts_build): Likewise.
37071 (fts_stat): Likewise.
37072 (fts_sort): Likewise.
37073 (fts_alloc): Likewise.
37074 (fts_lfree): Likewise.
37075 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
37076 (_IO_file_xsgetn): Likewise.
37077 (_IO_file_xsgetn_mmap): Likewise.
37078 * libio/iofopncook.c (_IO_cookie_read): Likewise.
37079 (_IO_cookie_write): Likewise.
37080 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
37081 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
37082 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
37083 * malloc/obstack.c (_obstack_begin): Likewise.
37084 (_obstack_begin_1): Likewise.
37085 (_obstack_newchunk): Likewise.
37086 (_obstack_allocated_p): Likewise.
37087 (obstack_free): Likewise.
37088 (_obstack_memory_used): Likewise.
37089 * misc/getttyent.c (getttynam): Likewise.
37090 (getttyent): Likewise.
37091 (skip): Likewise.
37092 (value): Likewise.
37093 * misc/getusershell.c (initshells): Likewise.
37094 * misc/syslog.c (__vsyslog_chk): Likewise.
37095 * misc/ttyslot.c (ttyslot): Likewise.
37096 * nis/nis_hash.c (__nis_hash): Likewise.
37097 * posix/fnmatch_loop.c (FCT): Likewise.
37098 * posix/getconf.c (print_all): Likewise.
37099 (main): Likewise.
37100 * posix/getopt.c (exchange): Likewise.
37101 * posix/glob.c (globfree): Likewise.
37102 (prefix_array): Likewise.
37103 (__glob_pattern_type): Likewise.
37104 * resolv/arpa/nameser.h (NS_GET16): Likewise.
37105 (NS_GET32): Likewise.
37106 (NS_PUT16): Likewise.
37107 (NS_PUT32): Likewise.
37108 * resolv/gethnamaddr.c (getanswer): Likewise.
37109 (gethostbyname2): Likewise.
37110 (gethostbyaddr): Likewise.
37111 (_gethtent): Likewise.
37112 (_gethtbyname2): Likewise.
37113 (_gethtbyaddr): Likewise.
37114 * resolv/ns_print.c (dst_s_get_int16): Likewise.
37115 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
37116 * resolv/res_init.c (__res_vinit): Likewise.
37117 (net_mask): Likewise.
37118 * resolv/res_mkquery.c (outchar): Likewise.
37119 (PRINT): Likewise.
37120 * stdio-common/printf_fp.c (outchar): Likewise.
37121 (PRINT): Likewise.
37122 * stdio-common/printf_fphex.c (outchar): Likewise.
37123 (PRINT): Likewise.
37124 * stdio-common/printf_size.c (outchar): Likewise.
37125 (PRINT): Likewise.
37126 * stdio-common/test_rdwr.c (main): Likewise.
37127 * stdio-common/tfformat.c (matches): Likewise.
37128 * stdio-common/vfprintf.c (outchar): Likewise.
37129 (printf_unknown): Likewise.
37130 (buffered_vfprintf): Likewise.
37131 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
37132 * stdio-common/xbug.c (AppendToBuffer): Likewise.
37133 (ReadFile): Likewise.
37134 * stdlib/qsort.c (SWAP): Likewise.
37135 (_quicksort): Likewise.
37136 * stdlib/setenv.c (__add_to_environ): Likewise.
37137 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
37138 * stdlib/strtol_l.c (__strtol_l): Likewise.
37139 * stdlib/tst-strtod.c (main): Likewise.
37140 * stdlib/tst-strtol.c (main): Likewise.
37141 * stdlib/tst-strtoll.c (main): Likewise.
37142 * string/bits/string2.h (__strcmp_cc): Likewise.
37143 (__strcmp_cg): Likewise.
37144 (__strcspn_c1): Likewise.
37145 (__strcspn_c2): Likewise.
37146 (__strcspn_c3): Likewise.
37147 (__strspn_c1): Likewise.
37148 (__strspn_c2): Likewise.
37149 (__strspn_c3): Likewise.
37150 (__strsep_1c): Likewise.
37151 (__strsep_2c): Likewise.
37152 (__strsep_3c): Likewise.
37153 * string/memccpy.c (__memccpy): Likewise.
37154 * string/stpcpy.c (__stpcpy): Likewise.
37155 * string/strcmp.c (strcmp): Likewise.
37156 * string/strrchr.c (strrchr): Likewise.
37157 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
37158 Likewise.
37159 * sysdeps/mach/hurd/getcwd.c
37160 (_hurd_canonicalize_directory_name_internal): Likewise.
37161 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
37162 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
37163 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
37164 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
37165 Likewise, in both definitions.
37166 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
37167 definitions.
37168 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
37169 64] (__bswap_64): Likewise.
37170 * time/test_time.c (main): Likewise.
37171 * time/tzfile.c (__tzfile_read): Likewise.
37172 (__tzfile_compute): Likewise.
37173 * time/tzset.c (__tzset_parse_tz): Likewise.
37174 (tzset_internal): Likewise.
37175 (compute_change): Likewise.
37176 * wcsmbs/wcscat.c (__wcscat): Likewise.
37177 * wcsmbs/wcschr.c (wcschr): Likewise.
37178 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
37179 * wcsmbs/wcscspn.c (wcscspn): Likewise.
37180 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
37181 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
37182 * wcsmbs/wcsspn.c (wcsspn): Likewise.
37183 * wcsmbs/wcsstr.c (wcsstr): Likewise.
37184 * wcsmbs/wmemchr.c (wmemchr): Likewise.
37185 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37186 * wcsmbs/wmemset.c (wmemset): Likewise.
37187
37188 2013-06-06 Joseph Myers <joseph@codesourcery.com>
37189
37190 * scripts/config.guess: Update to version 2013-05-16.
37191 * scripts/config.sub: Update to version 2013-04-24.
37192 * scripts/install-sh: Update to version 2011-11-20.07.
37193 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
37194 * scripts/move-if-change: Update to version 2012-01-06 07:23.
37195
37196 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
37197
37198 * debug/fgetws_u_chk.c: Fix leading whitespaces.
37199 * elf/sln.c: Likewise.
37200 * hurd/hurd/ioctl.h: Likewise.
37201 * hurd/hurdmalloc.c: Likewise.
37202 * hurd/xattr.c: Likewise.
37203 * include/shlib-compat.h: Likewise.
37204 * inet/ruserpass.c: Likewise.
37205 * libio/iofgets_u.c: Likewise.
37206 * libio/iofgetws_u.c: Likewise.
37207 * locale/programs/ld-identification.c: Likewise.
37208 * locale/programs/ld-time.c: Likewise.
37209 * mach/msg-destroy.c: Likewise.
37210 * nss/nss_files/files-netgrp.c: Likewise.
37211 * resolv/res_data.c: Likewise.
37212 * soft-fp/op-1.h: Likewise.
37213 * soft-fp/op-2.h: Likewise.
37214 * soft-fp/op-4.h: Likewise.
37215 * soft-fp/op-common.h: Likewise.
37216 * stdio-common/printf_fphex.c: Likewise.
37217 * stdlib/strtod_l.c: Likewise.
37218 * sunrpc/rpc/clnt.h: Likewise.
37219 * sysdeps/generic/framestate.c: Likewise.
37220 * sysdeps/i386/bsd-_setjmp.S: Likewise.
37221 * sysdeps/i386/bsd-setjmp.S: Likewise.
37222 * sysdeps/i386/__longjmp.S: Likewise.
37223 * sysdeps/i386/setjmp.S: Likewise.
37224 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37225 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37226 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37227 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37228 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37229 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37230 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37231 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37232 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37233 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37234 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37235 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37236 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37237 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37238 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37239 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37240 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37241 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
37242 * sysdeps/ieee754/support.c: Likewise.
37243 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37244 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
37245 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
37246 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
37247 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
37248 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
37249 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
37250 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
37251 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
37252 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
37253 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
37254 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
37255 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
37256 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
37257 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
37258 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
37259 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
37261
37262 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
37263
37264 * posix/transbug.c: Remove executable mode.
37265
37266 2013-06-05 Joseph Myers <joseph@codesourcery.com>
37267
37268 * crypt/speeds.c: Remove trailing whitespace.
37269 * dlfcn/default.c: Likewise.
37270 * elf/ifuncdep2.c: Likewise.
37271 * elf/ifuncmain1.c: Likewise.
37272 * elf/ifuncmain1vis.c: Likewise.
37273 * elf/testobj.h: Likewise.
37274 * elf/tst-stackguard1.c: Likewise.
37275 * gmon/sys/gmon.h: Likewise.
37276 * hurd/hurdmsg.c: Likewise.
37277 * hurd/new-fd.c: Likewise.
37278 * hurd/ports-get.c: Likewise.
37279 * iconvdata/ibm1008_420.c: Likewise.
37280 * inet/tst-getni1.c: Likewise.
37281 * inet/tst-getni2.c: Likewise.
37282 * libio/ioungetc.c: Likewise.
37283 * libio/wfiledoalloc.c: Likewise.
37284 * manual/libm-err-tab.pl: Likewise.
37285 * math/w_dremf.c: Likewise.
37286 * misc/ftruncate.c: Likewise.
37287 * posix/bug-glob2.c: Likewise.
37288 * posix/tst-pcre.c: Likewise.
37289 * posix/wait4.c: Likewise.
37290 * resolv/README: Likewise.
37291 * resolv/res_debug.h: Likewise.
37292 * resolv/tst-inet_ntop.c: Likewise.
37293 * setjmp/bug269-setjmp.c: Likewise.
37294 * soft-fp/extended.h: Likewise.
37295 * soft-fp/op-1.h: Likewise.
37296 * soft-fp/op-2.h: Likewise.
37297 * soft-fp/op-4.h: Likewise.
37298 * soft-fp/op-8.h: Likewise.
37299 * soft-fp/testit.c: Likewise.
37300 * stdio-common/bug16.c: Likewise.
37301 * stdlib/random.c: Likewise.
37302 * sunrpc/rpcsvc/rquota.x: Likewise.
37303 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
37304 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37305 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37306 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37307 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37308 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37309 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37310 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37311 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37312 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37313 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37314 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37315 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37316 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37317 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37318 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37319 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37320 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37321 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37322 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37323 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37324 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37325 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
37326 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37327 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37328 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37329 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37330 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37331 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37332 * sysdeps/ieee754/s_lib_version.c: Likewise.
37333 * sysdeps/mach/hurd/check_fds.c: Likewise.
37334 * sysdeps/mach/hurd/getsockname.c: Likewise.
37335 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
37336 * sysdeps/mach/hurd/recvfrom.c: Likewise.
37337 * sysdeps/powerpc/bits/link.h: Likewise.
37338 * sysdeps/powerpc/dl-procinfo.c: Likewise.
37339 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
37340 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
37341 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
37342 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37343 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37344 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
37345 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37346 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
37347 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37348 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
37349 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
37350 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
37351 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37352 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37353 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37354 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
37355 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
37356 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37357 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37358 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37359 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
37360 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37361 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
37362 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
37363 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
37364 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
37365 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37366 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37367 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
37368 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
37369 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
37370 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37371 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37372 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
37373 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37374 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
37375 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
37376 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
37377 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
37378 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
37379 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
37380 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
37381 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
37382 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
37383 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
37384 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
37385 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
37386 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
37387 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
37388 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37390 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37391 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37392 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
37393 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
37394 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
37395 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37396 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
37397 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
37398 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
37399 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
37400 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
37401 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37402 * sysdeps/powerpc/sysdep.h: Likewise.
37403 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37404 * sysdeps/s390/s390-64/sub_n.S: Likewise.
37405 * sysdeps/sh/dl-trampoline.S: Likewise.
37406 * sysdeps/sh/memset.S: Likewise.
37407 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
37408 * sysdeps/sh/strlen.S: Likewise.
37409 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
37410 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
37411 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
37412 * sysdeps/sparc/sparc32/rem.S: Likewise.
37413 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
37414 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
37415 * sysdeps/sparc/sparc32/strchr.S: Likewise.
37416 * sysdeps/sparc/sparc32/udiv.S: Likewise.
37417 * sysdeps/sparc/sparc32/urem.S: Likewise.
37418 * sysdeps/sparc/sparc64/add_n.S: Likewise.
37419 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37420 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
37421 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
37422 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
37423 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
37424 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
37425 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
37426 * sysdeps/unix/bsd/times.c: Likewise.
37427 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
37428 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
37429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
37430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
37431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
37432 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
37433 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
37434 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
37435 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
37436 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
37437 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
37438 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37439 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
37440 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37441 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37442 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37443 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37444 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
37445 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
37446 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
37447 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
37448 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
37449 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37450 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
37451 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
37452 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
37453 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
37454 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37455 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
37456 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
37457 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
37458 * sysdeps/x86_64/strcspn.S: Likewise.
37459
37460 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37461
37462 * locale/C-translit.h: Revert #include <stdint.h> because this is a
37463 generated file. Regenerate properly from gen-translit.pl.
37464 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
37465 locale/C-translit.h.
37466
37467 2013-06-05 Andreas Schwab <schwab@suse.de>
37468
37469 [BZ #15100]
37470 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
37471 week as 6 instead of -1.
37472 * time/tst-strptime.c (day_tests): Add test case.
37473
37474 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37475
37476 * sysdeps/generic/math_private.h
37477 (libc_feholdexcept_setround_53bit): Replace with
37478 libc_feholdsetround_53bit.
37479 (libc_feupdateenv_53bit): Replace with
37480 libc_feresetround_53bit.
37481 (SET_RESTORE_ROUND_53BIT): Adjust.
37482
37483 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37484
37485 * string/test-strchrnul.c: Add copyright header.
37486
37487 * posix/tst-getaddrinfo4.c: Increase test timeout.
37488
37489 2013-06-03 Carlos O'Donell <carlos@redhat.com>
37490
37491 [BZ #15536]
37492 * math/libm-test.inc (MAX_EXP): Remove
37493 (MIN_EXP): Define.
37494 (ulp): Use MIN_EXP - MANT_DIG.
37495 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
37496
37497 2013-05-31 Carlos O'Donell <carlos@redhat.com>
37498
37499 * po/be.po: Revert last change.
37500 * po/zh_CN.po: Likewise.
37501 * po/header.pot: Likewise.
37502
37503 2013-05-31 Joseph Myers <joseph@codesourcery.com>
37504
37505 * Makefile ($(common-objpfx)linkobj/libc.so): Define
37506 link-libc-deps to empty as target-specific variable.
37507 * Makerules (link-libc-args): New variable.
37508 (libc-for-link): Likewise.
37509 (link-libc-deps): Likewise.
37510 (lib%.so): Depend on $(link-libc-deps). Link with
37511 $(link-libc-args).
37512 (build-module): Link with $(link-libc-args).
37513 (build-module-asneeded): Likewise.
37514 (build-module-helper-objlist): Filter out $(link-libc-deps) from
37515 list of objects.
37516 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
37517 target-specific variable.
37518 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
37519 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
37520 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
37521 libc.
37522 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
37523 libc and ld.so.
37524 ($(objpfx)libpcprofile.so): Likewise.
37525 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
37526 libc_nonshared.a.
37527 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
37528 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
37529 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
37530 $(link-libc-deps).
37531 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
37532 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
37533 * login/Makefile ($(objpfx)libutil.so): Likewise.
37534 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
37535 * math/Makefile ($(objpfx)libm.so): Likewise.
37536 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
37537 $(objpfx)libnsl.so): Define libc-for-link as target-specific
37538 variable instead of depending directly on libc.
37539 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
37540 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
37541 $(link-libc-deps).
37542 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
37543 libc.
37544 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
37545 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
37546 ($(objpfx)libanl.so): Likewise.
37547 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
37548 ld.so.
37549 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
37550 $(link-libc-deps).
37551 * sysdeps/i386/fpu/Makefile: Remove file.
37552 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
37553 ($(objpfx)libm.so): Remove dependency on ld.so.
37554
37555 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
37556
37557 [BZ # 15553]
37558 * nis/yp_xdr.c (XDRMAXNAME): Define.
37559 (XDRMAXRECORD): Define.
37560 (xdr_domainname): Use XDRMAXNAME.
37561 (xdr_mapname): Likewise.
37562 (xdr_peername): Likewise.
37563 (xdr_keydat): Use XDRMAXRECORD.
37564 (xdr_valdat): Likewise.
37565
37566 2013-05-30 Jeff Law <law@redhat.com>
37567
37568 [BZ #14256]
37569 * manual/errno.texi (ESTALE): Update to account for more than
37570 just NFS file systems.
37571 * sysdeps/gnu/errlist.c: Regenerated.
37572
37573 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37574
37575 [BZ #15465]
37576 * elf/Makefile (tests): Add tst-null-argv.
37577 (modules-names): Add tst-null-argv-lib.
37578 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
37579 (tst-null-argv-ENV): Set environment for tst-null-argv.
37580 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
37581 (RTLD_PROGNAME): New macro.
37582 * elf/tst-null-argv.c: New test case.
37583 * elf/tst-null-argv-lib.c: Library for test case.
37584 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
37585 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
37586 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
37587 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
37588 * elf/dl-init.c (call_init): Likewise.
37589 (_dl_init): Likewise.
37590 * elf/dl-load.c (print_search_path): Likewise.
37591 (_dl_map_object): Likewise.
37592 * elf/dl-lookup.c (do_lookup_x): Likewise.
37593 (add_dependency): Likewise.
37594 (_dl_lookup_symbol_x): Likewise.
37595 (_dl_debug_bindings): Likewise.
37596 * elf/dl-open.c (_dl_show_scope): Likewise.
37597 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
37598 * elf/dl-version.c (match_symbol): Likewise.
37599 (_dl_check_map_versions): Likewise.
37600 * elf/rtld.c (dl_main): Likewise.
37601 (print_unresolved): Use RTLD_PROGNAME.
37602 (print_missing_version): Likewise.
37603 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
37604 (elf_machine_rela): Likewise.
37605 * sysdeps/powerpc/powerpc32/dl-machine.c
37606 (__process_machine_rela): Likewise.
37607 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37608 Likewise.
37609 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37610 Likewise.
37611 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
37612 Likewise.
37613 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37614 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
37615 Likewise.
37616 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
37617 Likewise.
37618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37619
37620 2013-05-28 Carlos O'Donell <carlos@redhat.com>
37621
37622 * po/be.po: Add descriptive title.
37623 * po/zh_CN.po: Likewise.
37624 * po/header.pot: Likewise.
37625
37626 2013-05-28 Mike Frysinger <vapier@gentoo.org>
37627
37628 * locale/programs/locarchive.c (create_archive): Inlucde fname in
37629 error message.
37630 (enlarge_archive): Likewise.
37631
37632 2013-05-28 Ben North <ben@redfrontdoor.org>
37633
37634 * manual/arith.texi (frexp): It is the magnitude of the return
37635 value which lies in [0.5, 1), not the return value itself.
37636
37637 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37638
37639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37640
37641 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
37642
37643 * stdio-common/bug26.c (main): Correct fscanf template.
37644
37645 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
37646 declare _dl_skip_args.
37647
37648 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
37649 Don't declare.
37650
37651 * manual/platform.texi: Add missing @end deftypefun.
37652
37653 2013-05-24 Joseph Myers <joseph@codesourcery.com>
37654
37655 [BZ #15529]
37656 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
37657 bit of mantissa of 2^16382.
37658 * math/libm-test.inc (hypot_test_data): Add more tests.
37659
37660 * math/libm-test.inc: Add drem and pow10 to list of tested
37661 functions.
37662 (pow10_test): New function.
37663 (drem_test): Likewise.
37664 (drem_test_tonearest): Likewise.
37665 (drem_test_towardzero): Likewise.
37666 (drem_test_downward): Likewise.
37667 (drem_test_upward): Likewise.
37668 (main): Call the new functions.
37669
37670 * math/libm-test.inc (finite_test_data): Remove.
37671 (finite_test): Run tests from isfinite_test_data.
37672 (gamma_test_data): Remove.
37673 (gamma_test): Run tests from lgamma_test_data.
37674 * sysdeps/i386/fpu/libm-test-ulps: Update.
37675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37676
37677 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37678
37679 * manual/platform.texi: Add PowerPC PPR function set documentation.
37680 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
37681 implementation.
37682
37683 2013-05-24 Carlos O'Donell <carlos@redhat.com>
37684
37685 * math/libm-test.inc (MAX_EXP): Define.
37686 (ULPDIFF): Define.
37687 (ulp): New function.
37688 (check_float_internal): Use ULPDIFF.
37689 (cpow_test): Disable failing test.
37690 (check_ulp): Test ulp() implemetnation.
37691 (main): Call check_ulp before starting tests.
37692
37693 2013-05-24 Joseph Myers <joseph@codesourcery.com>
37694
37695 * math/gen-libm-test.pl (generate_testfile): Do not handle
37696 START_DATA and END_DATA.
37697 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
37698 END_DATA.
37699 (acos_tonearest_test_data): Likewise.
37700 (acos_towardzero_test_data): Likewise.
37701 (acos_downward_test_data): Likewise.
37702 (acos_upward_test_data): Likewise.
37703 (acosh_test_data): Likewise.
37704 (asin_test_data): Likewise.
37705 (asin_tonearest_test_data): Likewise.
37706 (asin_towardzero_test_data): Likewise.
37707 (asin_downward_test_data): Likewise.
37708 (asin_upward_test_data): Likewise.
37709 (asinh_test_data): Likewise.
37710 (atan_test_data): Likewise.
37711 (atanh_test_data): Likewise.
37712 (atan2_test_data): Likewise.
37713 (cabs_test_data): Likewise.
37714 (cacos_test_data): Likewise.
37715 (cacosh_test_data): Likewise.
37716 (carg_test_data): Likewise.
37717 (casin_test_data): Likewise.
37718 (casinh_test_data): Likewise.
37719 (catan_test_data): Likewise.
37720 (catanh_test_data): Likewise.
37721 (cbrt_test_data): Likewise.
37722 (ccos_test_data): Likewise.
37723 (ccosh_test_data): Likewise.
37724 (ceil_test_data): Likewise.
37725 (cexp_test_data): Likewise.
37726 (cimag_test_data): Likewise.
37727 (clog_test_data): Likewise.
37728 (clog10_test_data): Likewise.
37729 (conj_test_data): Likewise.
37730 (copysign_test_data): Likewise.
37731 (cos_test_data): Likewise.
37732 (cos_tonearest_test_data): Likewise.
37733 (cos_towardzero_test_data): Likewise.
37734 (cos_downward_test_data): Likewise.
37735 (cos_upward_test_data): Likewise.
37736 (cosh_test_data): Likewise.
37737 (cosh_tonearest_test_data): Likewise.
37738 (cosh_towardzero_test_data): Likewise.
37739 (cosh_downward_test_data): Likewise.
37740 (cosh_upward_test_data): Likewise.
37741 (cpow_test_data): Likewise.
37742 (cproj_test_data): Likewise.
37743 (creal_test_data): Likewise.
37744 (csin_test_data): Likewise.
37745 (csinh_test_data): Likewise.
37746 (csqrt_test_data): Likewise.
37747 (ctan_test_data): Likewise.
37748 (ctan_tonearest_test_data): Likewise.
37749 (ctan_towardzero_test_data): Likewise.
37750 (ctan_downward_test_data): Likewise.
37751 (ctan_upward_test_data): Likewise.
37752 (ctanh_test_data): Likewise.
37753 (ctanh_tonearest_test_data): Likewise.
37754 (ctanh_towardzero_test_data): Likewise.
37755 (ctanh_downward_test_data): Likewise.
37756 (ctanh_upward_test_data): Likewise.
37757 (erf_test_data): Likewise.
37758 (erfc_test_data): Likewise.
37759 (exp_test_data): Likewise.
37760 (exp_tonearest_test_data): Likewise.
37761 (exp_towardzero_test_data): Likewise.
37762 (exp_downward_test_data): Likewise.
37763 (exp_upward_test_data): Likewise.
37764 (exp10_test_data): Likewise.
37765 (exp2_test_data): Likewise.
37766 (expm1_test_data): Likewise.
37767 (fabs_test_data): Likewise.
37768 (fdim_test_data): Likewise.
37769 (finite_test_data): Likewise.
37770 (floor_test_data): Likewise.
37771 (fma_test_data): Likewise.
37772 (fma_towardzero_test_data): Likewise.
37773 (fma_downward_test_data): Likewise.
37774 (fma_upward_test_data): Likewise.
37775 (fmax_test_data): Likewise.
37776 (fmin_test_data): Likewise.
37777 (fmod_test_data): Likewise.
37778 (fpclassify_test_data): Likewise.
37779 (frexp_test_data): Likewise.
37780 (gamma_test_data): Likewise.
37781 (hypot_test_data): Likewise.
37782 (ilogb_test_data): Likewise.
37783 (isfinite_test_data): Likewise.
37784 (isgreater_test_data): Likewise.
37785 (isgreaterequal_test_data): Likewise.
37786 (isinf_test_data): Likewise.
37787 (isless_test_data): Likewise.
37788 (islessequal_test_data): Likewise.
37789 (islessgreater_test_data): Likewise.
37790 (isnan_test_data): Likewise.
37791 (isnormal_test_data): Likewise.
37792 (issignaling_test_data): Likewise.
37793 (isunordered_test_data): Likewise.
37794 (j0_test_data): Likewise.
37795 (j1_test_data): Likewise.
37796 (jn_test_data): Likewise.
37797 (ldexp_test_data): Likewise.
37798 (lgamma_test_data): Likewise.
37799 (lrint_test_data): Likewise.
37800 (lrint_tonearest_test_data): Likewise.
37801 (lrint_towardzero_test_data): Likewise.
37802 (lrint_downward_test_data): Likewise.
37803 (lrint_upward_test_data): Likewise.
37804 (llrint_test_data): Likewise.
37805 (llrint_tonearest_test_data): Likewise.
37806 (llrint_towardzero_test_data): Likewise.
37807 (llrint_downward_test_data): Likewise.
37808 (llrint_upward_test_data): Likewise.
37809 (log_test_data): Likewise.
37810 (log10_test_data): Likewise.
37811 (log1p_test_data): Likewise.
37812 (log2_test_data): Likewise.
37813 (logb_test_data): Likewise.
37814 (logb_downward_test_data): Likewise.
37815 (lround_test_data): Likewise.
37816 (llround_test_data): Likewise.
37817 (modf_test_data): Likewise.
37818 (nearbyint_test_data): Likewise.
37819 (nextafter_test_data): Likewise.
37820 (nexttoward_test_data): Likewise.
37821 (pow_test_data): Likewise.
37822 (pow_tonearest_test_data): Likewise.
37823 (pow_towardzero_test_data): Likewise.
37824 (pow_downward_test_data): Likewise.
37825 (pow_upward_test_data): Likewise.
37826 (remainder_test_data): Likewise.
37827 (remainder_tonearest_test_data): Likewise.
37828 (remainder_towardzero_test_data): Likewise.
37829 (remainder_downward_test_data): Likewise.
37830 (remainder_upward_test_data): Likewise.
37831 (remquo_test_data): Likewise.
37832 (rint_test_data): Likewise.
37833 (rint_tonearest_test_data): Likewise.
37834 (rint_towardzero_test_data): Likewise.
37835 (rint_downward_test_data): Likewise.
37836 (rint_upward_test_data): Likewise.
37837 (round_test_data): Likewise.
37838 (scalb_test_data): Likewise.
37839 (scalbn_test_data): Likewise.
37840 (scalbln_test_data): Likewise.
37841 (signbit_test_data): Likewise.
37842 (sin_test_data): Likewise.
37843 (sin_tonearest_test_data): Likewise.
37844 (sin_towardzero_test_data): Likewise.
37845 (sin_downward_test_data): Likewise.
37846 (sin_upward_test_data): Likewise.
37847 (sincos_test_data): Likewise.
37848 (sinh_test_data): Likewise.
37849 (sinh_tonearest_test_data): Likewise.
37850 (sinh_towardzero_test_data): Likewise.
37851 (sinh_downward_test_data): Likewise.
37852 (sinh_upward_test_data): Likewise.
37853 (sqrt_test_data): Likewise.
37854 (tan_test_data): Likewise.
37855 (tan_tonearest_test_data): Likewise.
37856 (tan_towardzero_test_data): Likewise.
37857 (tan_downward_test_data): Likewise.
37858 (tan_upward_test_data): Likewise.
37859 (tanh_test_data): Likewise.
37860 (tgamma_test_data): Likewise.
37861 (trunc_test_data): Likewise.
37862 (y0_test_data): Likewise.
37863 (y1_test_data): Likewise.
37864 (yn_test_data): Likewise.
37865 (significand_test_data): Likewise.
37866
37867 * math/gen-libm-test.pl (@functions): Remove variable.
37868 (generate_testfile): Don't handle START and END lines.
37869 * math/libm-test.inc (START): New macro.
37870 (END): Likewise.
37871 (END_COMPLEX): Likewise.
37872 (acos_test): Use END macro without arguments.
37873 (acos_test_tonearest): Likewise.
37874 (acos_test_towardzero): Likewise.
37875 (acos_test_downward): Likewise.
37876 (acos_test_upward): Likewise.
37877 (acosh_test): Likewise.
37878 (asin_test): Likewise.
37879 (asin_test_tonearest): Likewise.
37880 (asin_test_towardzero): Likewise.
37881 (asin_test_downward): Likewise.
37882 (asin_test_upward): Likewise.
37883 (asinh_test): Likewise.
37884 (atan_test): Likewise.
37885 (atanh_test): Likewise.
37886 (atan2_test): Likewise.
37887 (cabs_test): Likewise.
37888 (cacos_test): Use END_COMPLEX macro without arguments.
37889 (cacosh_test): Likewise.
37890 (carg_test): Use END macro without arguments.
37891 (casin_test): Use END_COMPLEX macro without arguments.
37892 (casinh_test): Likewise.
37893 (catan_test): Likewise.
37894 (catanh_test): Likewise.
37895 (cbrt_test): Use END macro without arguments.
37896 (ccos_test): Use END_COMPLEX macro without arguments.
37897 (ccosh_test): Likewise.
37898 (ceil_test): Use END macro without arguments.
37899 (cexp_test): Use END_COMPLEX macro without arguments.
37900 (cimag_test): Use END macro without arguments.
37901 (clog_test): Use END_COMPLEX macro without arguments.
37902 (clog10_test): Likewise.
37903 (conj_test): Likewise.
37904 (copysign_test): Use END macro without arguments.
37905 (cos_test): Likewise.
37906 (cos_test_tonearest): Likewise.
37907 (cos_test_towardzero): Likewise.
37908 (cos_test_downward): Likewise.
37909 (cos_test_upward): Likewise.
37910 (cosh_test): Likewise.
37911 (cosh_test_tonearest): Likewise.
37912 (cosh_test_towardzero): Likewise.
37913 (cosh_test_downward): Likewise.
37914 (cosh_test_upward): Likewise.
37915 (cpow_test): Use END_COMPLEX macro without arguments.
37916 (cproj_test): Likewise.
37917 (creal_test): Use END macro without arguments.
37918 (csin_test): Use END_COMPLEX macro without arguments.
37919 (csinh_test): Likewise.
37920 (csqrt_test): Likewise.
37921 (ctan_test): Likewise.
37922 (ctan_test_tonearest): Likewise.
37923 (ctan_test_towardzero): Likewise.
37924 (ctan_test_downward): Likewise.
37925 (ctan_test_upward): Likewise.
37926 (ctanh_test): Likewise.
37927 (ctanh_test_tonearest): Likewise.
37928 (ctanh_test_towardzero): Likewise.
37929 (ctanh_test_downward): Likewise.
37930 (ctanh_test_upward): Likewise.
37931 (erf_test): Use END macro without arguments.
37932 (erfc_test): Likewise.
37933 (exp_test): Likewise.
37934 (exp_test_tonearest): Likewise.
37935 (exp_test_towardzero): Likewise.
37936 (exp_test_downward): Likewise.
37937 (exp_test_upward): Likewise.
37938 (exp10_test): Likewise.
37939 (exp2_test): Likewise.
37940 (expm1_test): Likewise.
37941 (fabs_test): Likewise.
37942 (fdim_test): Likewise.
37943 (finite_test): Likewise.
37944 (floor_test): Likewise.
37945 (fma_test): Likewise.
37946 (fma_test_towardzero): Likewise.
37947 (fma_test_downward): Likewise.
37948 (fma_test_upward): Likewise.
37949 (fmax_test): Likewise.
37950 (fmin_test): Likewise.
37951 (fmod_test): Likewise.
37952 (fpclassify_test): Likewise.
37953 (frexp_test): Likewise.
37954 (gamma_test): Likewise.
37955 (hypot_test): Likewise.
37956 (ilogb_test): Likewise.
37957 (isfinite_test): Likewise.
37958 (isgreater_test): Likewise.
37959 (isgreaterequal_test): Likewise.
37960 (isinf_test): Likewise.
37961 (isless_test): Likewise.
37962 (islessequal_test): Likewise.
37963 (islessgreater_test): Likewise.
37964 (isnan_test): Likewise.
37965 (isnormal_test): Likewise.
37966 (issignaling_test): Likewise.
37967 (isunordered_test): Likewise.
37968 (j0_test): Likewise.
37969 (j1_test): Likewise.
37970 (jn_test): Likewise.
37971 (ldexp_test): Likewise.
37972 (lgamma_test): Likewise.
37973 (lrint_test): Likewise.
37974 (lrint_test_tonearest): Likewise.
37975 (lrint_test_towardzero): Likewise.
37976 (lrint_test_downward): Likewise.
37977 (lrint_test_upward): Likewise.
37978 (llrint_test): Likewise.
37979 (llrint_test_tonearest): Likewise.
37980 (llrint_test_towardzero): Likewise.
37981 (llrint_test_downward): Likewise.
37982 (llrint_test_upward): Likewise.
37983 (log_test): Likewise.
37984 (log10_test): Likewise.
37985 (log1p_test): Likewise.
37986 (log2_test): Likewise.
37987 (logb_test): Likewise.
37988 (logb_test_downward): Likewise.
37989 (lround_test): Likewise.
37990 (llround_test): Likewise.
37991 (modf_test): Likewise.
37992 (nearbyint_test): Likewise.
37993 (nextafter_test): Likewise.
37994 (nexttoward_test): Likewise.
37995 (pow_test): Likewise.
37996 (pow_test_tonearest): Likewise.
37997 (pow_test_towardzero): Likewise.
37998 (pow_test_downward): Likewise.
37999 (pow_test_upward): Likewise.
38000 (remainder_test): Likewise.
38001 (remainder_test_tonearest): Likewise.
38002 (remainder_test_towardzero): Likewise.
38003 (remainder_test_downward): Likewise.
38004 (remainder_test_upward): Likewise.
38005 (remquo_test): Likewise.
38006 (rint_test): Likewise.
38007 (rint_test_tonearest): Likewise.
38008 (rint_test_towardzero): Likewise.
38009 (rint_test_downward): Likewise.
38010 (rint_test_upward): Likewise.
38011 (round_test): Likewise.
38012 (scalb_test): Likewise.
38013 (scalbn_test): Likewise.
38014 (scalbln_test): Likewise.
38015 (signbit_test): Likewise.
38016 (sin_test): Likewise.
38017 (sin_test_tonearest): Likewise.
38018 (sin_test_towardzero): Likewise.
38019 (sin_test_downward): Likewise.
38020 (sin_test_upward): Likewise.
38021 (sincos_test): Likewise.
38022 (sinh_test): Likewise.
38023 (sinh_test_tonearest): Likewise.
38024 (sinh_test_towardzero): Likewise.
38025 (sinh_test_downward): Likewise.
38026 (sinh_test_upward): Likewise.
38027 (sqrt_test): Likewise.
38028 (tan_test): Likewise.
38029 (tan_test_tonearest): Likewise.
38030 (tan_test_towardzero): Likewise.
38031 (tan_test_downward): Likewise.
38032 (tan_test_upward): Likewise.
38033 (tanh_test): Likewise.
38034 (tgamma_test): Likewise.
38035 (trunc_test): Likewise.
38036 (y0_test): Likewise.
38037 (y1_test): Likewise.
38038 (yn_test): Likewise.
38039 (significand_test): Likewise.
38040
38041 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
38042
38043 [BZ #15381]
38044 * libio/genops.c (_IO_no_init): Initialize wide struct info.
38045
38046 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
38047
38048 [BZ #14894]
38049 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
38050 __ppc_mdoio and __ppc_mdoom.
38051 * manual/platform.texi: Document new functions __ppc_yield,
38052 __ppc_mdoio and __ppc_mdoom.
38053
38054 2013-05-22 Carlos O'Donell <carlos@redhat.com>
38055
38056 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
38057 (main): Mention "tls" pseudo-hwcap is legacy.
38058 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
38059
38060 2013-05-22 Joseph Myers <joseph@codesourcery.com>
38061
38062 * math/gen-libm-test.pl (parse_args): Output only string of
38063 arguments as text for test name, not full call or descriptions of
38064 tests for extra outputs.
38065 (generate_testfile): Do not pass function name to parse_args.
38066 Generate this_func variable from START.
38067 * math/libm-test.inc (struct test_f_f_data): Rename test_name
38068 field to arg_str.
38069 (struct test_ff_f_data): Likewise.
38070 (test_ff_f_data_nexttoward): Likewise.
38071 (struct test_fi_f_data): Likewise.
38072 (struct test_fl_f_data): Likewise.
38073 (struct test_if_f_data): Likewise.
38074 (struct test_fff_f_data): Likewise.
38075 (struct test_c_f_data): Likewise.
38076 (struct test_f_f1_data): Likewise. Remove field extra_name.
38077 (struct test_fF_f1_data): Likewise.
38078 (struct test_ffI_f1_data): Likewise.
38079 (struct test_c_c_data): Rename test_name field to arg_str.
38080 (struct test_cc_c_data): Likewise.
38081 (struct test_f_i_data): Likewise.
38082 (struct test_ff_i_data): Likewise.
38083 (struct test_f_l_data): Likewise.
38084 (struct test_f_L_data): Likewise.
38085 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
38086 and extra2_name.
38087 (COMMON_TEST_SETUP): New macro.
38088 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
38089 (COMMON_TEST_CLEANUP): Likewise.
38090 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
38091 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
38092 macros.
38093 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
38094 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
38095 macros.
38096 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
38097 (RUN_TEST_fff_f): Take argument string. Call new setup and
38098 cleanup macros.
38099 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
38100 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
38101 macros.
38102 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
38103 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
38104 macros.
38105 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
38106 (RUN_TEST_fF_f1): Take argument string. Call new setup and
38107 cleanup macros.
38108 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
38109 (RUN_TEST_fI_f1): Take argument string. Call new setup and
38110 cleanup macros.
38111 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
38112 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
38113 cleanup macros.
38114 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
38115 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
38116 macros.
38117 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
38118 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
38119 macros.
38120 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
38121 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
38122 macros.
38123 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
38124 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
38125 cleanup macros.
38126 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
38127 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
38128 cleanup macros.
38129 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
38130 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
38131 macros.
38132 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
38133 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
38134 cleanup macros.
38135 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
38136 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
38137 macros.
38138 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
38139 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
38140 macros.
38141 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
38142 (RUN_TEST_fFF_11): Take argument string. Call new setup and
38143 cleanup macros.
38144 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
38145
38146 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
38147
38148 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
38149 to _sifields.sigfault.
38150 (si_addr_lsb): Define new macro.
38151 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
38152 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38153 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
38154
38155 2013-05-03 Carlos O'Donell <carlos at redhat.com>
38156
38157 [BZ #15441]
38158 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
38159 returns -1.
38160 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
38161 null return -1.
38162 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
38163 loading the domain.
38164
38165 2013-05-22 Joseph Myers <joseph@codesourcery.com>
38166
38167 * math/gen-libm-test.pl (parse_args): Do not include expected
38168 result in test name.
38169 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
38170 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38171 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38172 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38173 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38175
38176 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38177
38178 * benchtests/Makefile: Sort function entries.
38179
38180 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
38181 tanh, asinh, acosh, atanh.
38182 * benchtests/acos-inputs: New file.
38183 * benchtests/acosh-inputs: New file.
38184 * benchtests/asin-inputs: New file.
38185 * benchtests/asinh-inputs: New file.
38186 * benchtests/atanh-inputs: New file.
38187 * benchtests/cosh-inputs: New file.
38188 * benchtests/log-inputs: New file.
38189 * benchtests/sinh-inputs: New file.
38190 * benchtests/tanh-inputs: New file.
38191
38192 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
38193
38194 [BZ #15339]
38195 * posix/tst-getaddrinfo4.c: New test.
38196 * posix/Makefile (tests): Add it.
38197
38198 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38199
38200 [BZ #15339]
38201 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
38202 when no services were used.
38203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
38204 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
38205
38206 2013-05-21 Andreas Schwab <schwab@suse.de>
38207
38208 [BZ #15014]
38209 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
38210 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
38211 successful.
38212 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
38213 redundant variable declarations and reallocation of buffer when
38214 parsing as IPv6 address. Always set NSS status when called from
38215 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
38216 buffer too small. Correct computation of needed size.
38217 * nss/Makefile (tests): Add test-digits-dots.
38218 * nss/test-digits-dots.c: New test.
38219
38220 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38221
38222 * benchtests/Makefile: Remove instructions for adding
38223 benchmark tests.
38224 * benchtests/README: New file to explain how to execute and
38225 enhance the benchmark tests.
38226
38227 2013-05-21 Andreas Schwab <schwab@suse.de>
38228
38229 [BZ #15493]
38230 * setjmp/Makefile (tests): Add tst-sigsetjmp.
38231 * setjmp/tst-sigsetjmp.c: New test.
38232
38233 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
38234
38235 * sysdeps/x86_64/memset.S (memset): New implementation.
38236 (__bzero): Likewise.
38237 (__memset_tail): New function.
38238
38239 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
38240
38241 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
38242 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
38243 __memcpy_sse2_unaligned ifunc selection.
38244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38245 Add memcpy-sse2-unaligned.S.
38246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38247 Add: __memcpy_sse2_unaligned.
38248
38249 2013-05-19 Joseph Myers <joseph@codesourcery.com>
38250
38251 [BZ #15490]
38252 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38253 math_force_eval before restoring floating-point envrionment.
38254 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
38255 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38256 Likewise.
38257 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
38258 <math_private.h>.
38259 (__nearbyintl): Use math_force_eval before restoring
38260 floating-point environment.
38261 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
38262
38263 * math/gen-libm-test.pl (special_functions): Remove.
38264 (parse_args): Don't handle TEST_extra. Handle functions with no
38265 return value.
38266 * math/libm-test.inc (struct test_sincos_data): Replace with
38267 struct test_fFF_11_data.
38268 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
38269 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
38270 (sincos_test_data): Change element type to struct
38271 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
38272 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
38273 RUN_TEST_LOOP_sincos.
38274 * math/README.libm-test: Don't mention special handling of
38275 individual functions.
38276 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
38277 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38278 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38279 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38280 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38282
38283 * math/gen-libm-test.pl (get_variable): Remove function.
38284 (parse_args): Don't show pointer parameters to call in test
38285 names. Use "extra output N" in test names for extra outputs
38286 rather than naming variables.
38287
38288 2013-05-18 Joseph Myers <joseph@codesourcery.com>
38289
38290 [BZ #15488]
38291 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
38292 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
38293 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
38294 double tests.
38295 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
38296 disable.
38297 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
38298 check_long_double.
38299
38300 * math/gen-libm-test.pl (@tests): Remove variable.
38301 ($count): Likewise.
38302 (new_test): Remove function.
38303 (show_exceptions): New function.
38304 (special_functions): Use show_exceptions instead of new_test.
38305 (parse_args): Likewise.
38306 (generate_testfile): Pass only function name in generated call to
38307 print_max_error or print_complex_max_error.
38308 (get_ulps): Do not handle complex tests specially.
38309 (output_test): Rename to ...
38310 (get_all_ulps_for_test): ... this. Return a string rather than
38311 printing to a file. Require ulps to be present.
38312 (output_ulps): Generate arrays rather than #defines.
38313 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
38314 (struct ulp_data): New type.
38315 (BUILD_COMPLEX_ULP): Remove macro.
38316 (compare_ulp_data): New function.
38317 (find_ulps): Likewise.
38318 (find_test_ulps): Likewise.
38319 (find_function_ulps): Likewise.
38320 (find_complex_function_ulps): Likewise.
38321 (print_max_error): Determine allowed ulps using
38322 find_function_ulps.
38323 (print_complex_max_error): Determine allowed ulps using
38324 find_complex_function_ulps.
38325 (check_float_internal): Determine max ulps using find_test_ulps.
38326 (check_float): Do not take max_ulp parameter. Update call to
38327 check_float_internal.
38328 (check_complex): Likewise.
38329 (check_int): Do not take max_ulp parameter.
38330 (check_long): Likewise.
38331 (check_bool): Likewise.
38332 (check_longlong): Likewise.
38333 (struct test_f_f_data): Remove max_ulp field.
38334 (struct test_ff_f_data): Likewise.
38335 (struct test_ff_f_data_nexttoward): Likewise.
38336 (struct test_fi_f_data): Likewise.
38337 (struct test_fl_f_data): Likewise.
38338 (struct test_if_f_data): Likewise.
38339 (struct test_fff_f_data): Likewise.
38340 (struct test_c_f_data): Likewise.
38341 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
38342 (struct test_fF_f1_data): Likewise.
38343 (struct test_ffI_f1_data): Likewise.
38344 (struct test_c_c_data): Remove max_ulp field.
38345 (struct test_cc_c_data): Likewise.
38346 (struct test_f_i_data): Likewise.
38347 (struct test_ff_i_data): Likewise.
38348 (struct test_f_l_data): Likewise.
38349 (struct test_f_L_data): Likewise.
38350 (struct test_sincos_data): Likewise.
38351 (RUN_TEST_f_f): Do not handle ulps.
38352 (RUN_TEST_LOOP_f_f): Likewise.
38353 (RUN_TEST_2_f): Likewise.
38354 (RUN_TEST_LOOP_2_f): Likewise.
38355 (RUN_TEST_fff_f): Likewise.
38356 (RUN_TEST_LOOP_fff_f): Likewise.
38357 (RUN_TEST_c_f): Likewise.
38358 (RUN_TEST_LOOP_c_f): Likewise.
38359 (RUN_TEST_f_f1): Likewise.
38360 (RUN_TEST_LOOP_f_f1): Likewise.
38361 (RUN_TEST_fF_f1): Likewise.
38362 (RUN_TEST_LOOP_fF_f1): Likewise.
38363 (RUN_TEST_fI_f1): Likewise.
38364 (RUN_TEST_LOOP_fI_f1): Likewise.
38365 (RUN_TEST_ffI_f1): Likewise.
38366 (RUN_TEST_LOOP_ffI_f1): Likewise.
38367 (RUN_TEST_c_c): Likewise.
38368 (RUN_TEST_LOOP_c_c): Likewise.
38369 (RUN_TEST_cc_c): Likewise.
38370 (RUN_TEST_LOOP_cc_c): Likewise.
38371 (RUN_TEST_f_i): Likewise.
38372 (RUN_TEST_LOOP_f_i): Likewise.
38373 (RUN_TEST_f_i_tg): Likewise.
38374 (RUN_TEST_LOOP_f_i_tg): Likewise.
38375 (RUN_TEST_ff_i_tg): Likewise.
38376 (RUN_TEST_LOOP_ff_i_tg): Likewise.
38377 (RUN_TEST_f_b): Likewise.
38378 (RUN_TEST_LOOP_f_b): Likewise.
38379 (RUN_TEST_f_b_tg): Likewise.
38380 (RUN_TEST_LOOP_f_b_tg): Likewise.
38381 (RUN_TEST_f_l): Likewise.
38382 (RUN_TEST_LOOP_f_l): Likewise.
38383 (RUN_TEST_f_L): Likewise.
38384 (RUN_TEST_LOOP_f_L): Likewise.
38385 (RUN_TEST_sincos): Likewise.
38386 (RUN_TEST_LOOP_sincos): Likewise.
38387
38388 2013-05-17 Joseph Myers <joseph@codesourcery.com>
38389
38390 [BZ #15480]
38391 [BZ #15485]
38392 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
38393 main case of finite arguments, set rounding mode to FE_TONEAREST
38394 and discard exceptions.
38395 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
38396 exceptions.
38397 (remainder_tonearest_test_data): New variable.
38398 (remainder_test_tonearest): New function.
38399 (remainder_towardzero_test_data): New variable.
38400 (remainder_test_towardzero): New function.
38401 (remainder_downward_test_data): New variable.
38402 (remainder_test_downward): New function.
38403 (remainder_upward_test_data): New variable.
38404 (remainder_test_upward): New function.
38405 (main): Call the new test functions.
38406
38407 * math/libm-test.inc (struct test_f_f1_data): Remove field
38408 extra_init.
38409 (struct test_fF_f1_data): Likewise.
38410 (struct test_ffI_f1_data): Likewise.
38411 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
38412 based on value of EXTRA_EXPECTED.
38413 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
38414 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
38415 EXTRA_VAR based on value of EXTRA_EXPECTED.
38416 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
38417 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
38418 EXTRA_VAR based on value of EXTRA_EXPECTED.
38419 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
38420 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
38421 EXTRA_VAR based on value of EXTRA_EXPECTED.
38422 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
38423 * math/gen-libm-test.pl (parse_args): Don't output initializers
38424 for extra output values.
38425
38426 * math/libm-test.inc (check_int): Expect result to be exactly
38427 equal to expected value and do not handle ulps.
38428 (check_long): Likewise.
38429 (check_longlong): Likewise.
38430
38431 * math/libm-test.inc (ceil_test_data): Test for "inexact"
38432 exceptions.
38433 (cimag_test_data): Likewise.
38434 (conj_test_data): Likewise.
38435 (copysign_test_data): Likewise.
38436 (cproj_test_data): Likewise.
38437 (creal_test_data): Likewise.
38438 (fabs_test_data): Likewise.
38439 (fdim_test_data): Likewise.
38440 (finite_test_data): Likewise.
38441 (floor_test_data): Likewise.
38442 (fmax_test_data): Likewise.
38443 (fmin_test_data): Likewise.
38444 (fmod_test_data): Likewise.
38445 (fpclassify_test_data): Likewise.
38446 (frexp_test_data): Likewise.
38447 (ilogb_test_data): Likewise.
38448 (isfinite_test_data): Likewise.
38449 (isgreater_test_data): Likewise.
38450 (isgreaterequal_test_data): Likewise.
38451 (isinf_test_data): Likewise.
38452 (isless_test_data): Likewise.
38453 (islessequal_test_data): Likewise.
38454 (islessgreater_test_data): Likewise.
38455 (isnan_test_data): Likewise.
38456 (isnormal_test_data): Likewise.
38457 (issignaling_test_data): Likewise.
38458 (isunordered_test_data): Likewise.
38459 (ldexp_test_data): Likewise.
38460 (lrint_test_data): Likewise.
38461 (lrint_test_data) [TEST_FLOAT]: Disable one test.
38462 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
38463 (lrint_tonearest_test_data): Test for "inexact" exceptions.
38464 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
38465 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
38466 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
38467 test input.
38468 (lrint_towardzero_test_data): Test for "inexact" exceptions.
38469 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
38470 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
38471 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
38472 that test input.
38473 (lrint_downward_test_data): Test for "inexact" exceptions.
38474 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
38475 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
38476 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
38477 test input.
38478 (lrint_upward_test_data): Test for "inexact" exceptions.
38479 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
38480 test input.
38481 (llrint_test_data): Test for "inexact" exceptions.
38482 (llrint_test_data) [TEST_FLOAT]: Disable one test.
38483 (llrint_tonearest_test_data): Test for "inexact" exceptions.
38484 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
38485 (llrint_towardzero_test_data): Test for "inexact" exceptions.
38486 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
38487 (llrint_downward_test_data): Test for "inexact" exceptions.
38488 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
38489 (llrint_upward_test_data): Test for "inexact" exceptions.
38490 (logb_test_data): Likewise.
38491 (logb_downward_test_data): Likewise.
38492 (nextafter_test_data): Likewise.
38493 (nexttoward_test_data): Likewise.
38494 (remainder_test_data): Likewise.
38495 (remquo_test_data): Likewise.
38496 (scalbn_test_data): Likewise.
38497 (scalbln_test_data): Likewise.
38498 (signbit_test_data): Likewise.
38499 (sqrt_test_data): Likewise.
38500 (significand_test_data): Likewise.
38501
38502 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38503
38504 [BZ #15424]
38505 * benchtests/bench-modf.c (struct args): Mark arg0 as
38506 volatile.
38507 * scripts/bench.pl: Mark members of struct args as volatile.
38508
38509 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38510
38511 [BZ # 15497]
38512 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
38513 negative infinity on POWER6 or lower.
38514 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
38515
38516 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
38517
38518 [BZ #15442]
38519 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
38520 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
38521 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
38522 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
38523 (_FP_SETQNAN): New macro.
38524 (_FP_SETQNAN_SEMIRAW): Likewise.
38525 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
38526 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
38527 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
38528 (FP_EXTEND): Use _FP_FRAC_SNANP.
38529 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
38530 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
38531 into account.
38532 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
38533 New macro.
38534 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
38535 Likewise.
38536
38537 2013-05-16 Joseph Myers <joseph@codesourcery.com>
38538
38539 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
38540 with DIVIDE_BY_ZERO_EXCEPTION.
38541 (gamma_test_data): Likewise.
38542 (lgamma_test_data): Likewise.
38543 (log_test_data): Likewise.
38544 (log10_test_data): Likewise.
38545 (log2_test_data): Likewise.
38546 (tgamma_test_data): Likewise.
38547
38548 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
38549 (acos_test_tonearest): Likewise.
38550 (acos_test_towardzero): Likewise.
38551 (acos_test_downward): Likewise.
38552 (acos_test_upward): Likewise.
38553 (acosh_test): Likewise.
38554 (asin_test): Likewise.
38555 (asin_test_tonearest): Likewise.
38556 (asin_test_towardzero): Likewise.
38557 (asin_test_downward): Likewise.
38558 (asin_test_upward): Likewise.
38559 (asinh_test): Likewise.
38560 (atan_test): Likewise.
38561 (atanh_test): Likewise.
38562 (atan2_test): Likewise.
38563 (cabs_test): Likewise.
38564 (cacos_test): Likewise.
38565 (cacosh_test): Likewise.
38566 (casin_test): Likewise.
38567 (casinh_test): Likewise.
38568 (catan_test): Likewise.
38569 (catanh_test): Likewise.
38570 (cbrt_test): Likewise.
38571 (ccos_test): Likewise.
38572 (ccosh_test): Likewise.
38573 (cexp_test): Likewise.
38574 (clog_test): Likewise.
38575 (clog10_test): Likewise.
38576 (cos_test): Likewise.
38577 (cos_test_tonearest): Likewise.
38578 (cos_test_towardzero): Likewise.
38579 (cos_test_downward): Likewise.
38580 (cos_test_upward): Likewise.
38581 (cosh_test): Likewise.
38582 (cosh_test_tonearest): Likewise.
38583 (cosh_test_towardzero): Likewise.
38584 (cosh_test_downward): Likewise.
38585 (cosh_test_upward): Likewise.
38586 (cpow_test): Likewise.
38587 (csin_test): Likewise.
38588 (csinh_test): Likewise.
38589 (csqrt_test): Likewise.
38590 (ctan_test): Likewise.
38591 (ctan_test_tonearest): Likewise.
38592 (ctan_test_towardzero): Likewise.
38593 (ctan_test_downward): Likewise.
38594 (ctan_test_upward): Likewise.
38595 (ctanh_test): Likewise.
38596 (ctanh_test_tonearest): Likewise.
38597 (ctanh_test_towardzero): Likewise.
38598 (ctanh_test_downward): Likewise.
38599 (ctanh_test_upward): Likewise.
38600 (erf_test): Likewise.
38601 (erfc_test): Likewise.
38602 (exp_test): Likewise.
38603 (exp_test_tonearest): Likewise.
38604 (exp_test_towardzero): Likewise.
38605 (exp_test_downward): Likewise.
38606 (exp_test_upward): Likewise.
38607 (exp10_test): Likewise.
38608 (exp2_test): Likewise.
38609 (expm1_test): Likewise.
38610 (fmod_test): Likewise.
38611 (gamma_test): Likewise.
38612 (hypot_test): Likewise.
38613 (j0_test): Likewise.
38614 (j1_test): Likewise.
38615 (jn_test): Likewise.
38616 (lgamma_test): Likewise.
38617 (log_test): Likewise.
38618 (log10_test): Likewise.
38619 (log1p_test): Likewise.
38620 (log2_test): Likewise.
38621 (logb_test_downward): Likewise.
38622 (pow_test): Likewise.
38623 (pow_test_tonearest): Likewise.
38624 (pow_test_towardzero): Likewise.
38625 (pow_test_downward): Likewise.
38626 (pow_test_upward): Likewise.
38627 (remainder_test): Likewise.
38628 (remquo_test): Likewise.
38629 (sin_test): Likewise.
38630 (sin_test_tonearest): Likewise.
38631 (sin_test_towardzero): Likewise.
38632 (sin_test_downward): Likewise.
38633 (sin_test_upward): Likewise.
38634 (sincos_test): Likewise.
38635 (sinh_test): Likewise.
38636 (sinh_test_tonearest): Likewise.
38637 (sinh_test_towardzero): Likewise.
38638 (sinh_test_downward): Likewise.
38639 (sinh_test_upward): Likewise.
38640 (sqrt_test): Likewise.
38641 (tan_test): Likewise.
38642 (tan_test_tonearest): Likewise.
38643 (tan_test_towardzero): Likewise.
38644 (tan_test_downward): Likewise.
38645 (tan_test_upward): Likewise.
38646 (tanh_test): Likewise.
38647 (tgamma_test): Likewise.
38648 (y0_test): Likewise.
38649 (y1_test): Likewise.
38650 (yn_test): Likewise.
38651
38652 * math/gen-libm-test.pl (adjust_arg): Remove function.
38653 (special_function): Remove argument $in_func. Only handle
38654 generating output for tables of tests, not inside functions.
38655 (parse_args): Likewise.
38656 (generate_testfile): Remove variable $in_func. Update call to
38657 parse_args.
38658 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
38659 (MINUS_ZERO_INIT): Rename macro to minus_zero.
38660 (PLUS_INFTY_INIT): Rename macro to plus_infty.
38661 (MINUS_INFTY_INIT): Rename macro to minus_infty.
38662 (QNAN_VALUE_INIT): Rename macro to qnan_value.
38663 (MAX_VALUE_INIT): Rename macro to max_value.
38664 (MIN_VALUE_INIT): Rename macro to min_value.
38665 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
38666 (plus_zero): Remove variable.
38667 (minus_zero): Likewise.
38668 (plus_infty): Likewise.
38669 (minus_infty): Likewise.
38670 (qnan_value): Likewise.
38671 (max_value): Likewise.
38672 (min_value): Likewise.
38673 (min_subnorm_value): Likewise.
38674
38675 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38676
38677 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
38678 uint64_t or uint32_t usage.
38679 * crypt/sha256-block.c: Likewise.
38680 * crypt/sha256-crypt.c: Likewise.
38681 * crypt/sha256.c: Likewise.
38682 * crypt/sha512-block.c: Likewise.
38683 * crypt/sha512-crypt.c: Likewise.
38684 * crypt/sha512.c: Likewise.
38685 * debug/backtrace-tst.c: Likewise.
38686 * debug/pcprofiledump.c: Likewise.
38687 * elf/cache.c: Likewise.
38688 * elf/dl-cache.c: Likewise.
38689 * elf/dl-misc.c: Likewise.
38690 * elf/dl-profile.c: Likewise.
38691 * elf/dl-support.c: Likewise.
38692 * elf/ldconfig.c: Likewise.
38693 * elf/sprof.c: Likewise.
38694 * iconv/dummy-repertoire.c: Likewise.
38695 * iconv/iconv_charmap.c: Likewise.
38696 * iconv/skeleton.c: Likewise.
38697 * iconvdata/8bit-generic.c: Likewise.
38698 * iconvdata/cp737.h: Likewise.
38699 * iconvdata/cp775.h: Likewise.
38700 * iconvdata/ibm1008.h: Likewise.
38701 * iconvdata/ibm1025.h: Likewise.
38702 * iconvdata/ibm1046.h: Likewise.
38703 * iconvdata/ibm1097.h: Likewise.
38704 * iconvdata/ibm1112.h: Likewise.
38705 * iconvdata/ibm1122.h: Likewise.
38706 * iconvdata/ibm1123.h: Likewise.
38707 * iconvdata/ibm1124.h: Likewise.
38708 * iconvdata/ibm1129.h: Likewise.
38709 * iconvdata/ibm1130.h: Likewise.
38710 * iconvdata/ibm1132.h: Likewise.
38711 * iconvdata/ibm1133.h: Likewise.
38712 * iconvdata/ibm1137.h: Likewise.
38713 * iconvdata/ibm1140.h: Likewise.
38714 * iconvdata/ibm1141.h: Likewise.
38715 * iconvdata/ibm1142.h: Likewise.
38716 * iconvdata/ibm1143.h: Likewise.
38717 * iconvdata/ibm1144.h: Likewise.
38718 * iconvdata/ibm1145.h: Likewise.
38719 * iconvdata/ibm1146.h: Likewise.
38720 * iconvdata/ibm1147.h: Likewise.
38721 * iconvdata/ibm1148.h: Likewise.
38722 * iconvdata/ibm1149.h: Likewise.
38723 * iconvdata/ibm1153.h: Likewise.
38724 * iconvdata/ibm1154.h: Likewise.
38725 * iconvdata/ibm1155.h: Likewise.
38726 * iconvdata/ibm1156.h: Likewise.
38727 * iconvdata/ibm1157.h: Likewise.
38728 * iconvdata/ibm1158.h: Likewise.
38729 * iconvdata/ibm1160.h: Likewise.
38730 * iconvdata/ibm1161.h: Likewise.
38731 * iconvdata/ibm1162.h: Likewise.
38732 * iconvdata/ibm1163.h: Likewise.
38733 * iconvdata/ibm1164.h: Likewise.
38734 * iconvdata/ibm1166.h: Likewise.
38735 * iconvdata/ibm1167.h: Likewise.
38736 * iconvdata/ibm12712.h: Likewise.
38737 * iconvdata/ibm1390.h: Likewise.
38738 * iconvdata/ibm1399.h: Likewise.
38739 * iconvdata/ibm16804.h: Likewise.
38740 * iconvdata/ibm4517.h: Likewise.
38741 * iconvdata/ibm4899.h: Likewise.
38742 * iconvdata/ibm4909.h: Likewise.
38743 * iconvdata/ibm4971.h: Likewise.
38744 * iconvdata/ibm5347.h: Likewise.
38745 * iconvdata/ibm803.h: Likewise.
38746 * iconvdata/ibm856.h: Likewise.
38747 * iconvdata/ibm901.h: Likewise.
38748 * iconvdata/ibm902.h: Likewise.
38749 * iconvdata/ibm9030.h: Likewise.
38750 * iconvdata/ibm9066.h: Likewise.
38751 * iconvdata/ibm921.h: Likewise.
38752 * iconvdata/ibm922.h: Likewise.
38753 * iconvdata/ibm9448.h: Likewise.
38754 * iconvdata/isiri-3342.h: Likewise.
38755 * iconvdata/jis0201.h: Likewise.
38756 * include/link.h: Likewise.
38757 * include/netdb.h: Likewise.
38758 * inet/check_native.c: Likewise.
38759 * inet/check_pf.c: Likewise.
38760 * inet/getipv4sourcefilter.c: Likewise.
38761 * inet/getnameinfo.c: Likewise.
38762 * inet/getsourcefilter.c: Likewise.
38763 * inet/htonl.c: Likewise.
38764 * inet/setipv4sourcefilter.c: Likewise.
38765 * inet/setsourcefilter.c: Likewise.
38766 * inet/test-inet6_opt.c: Likewise.
38767 * inet/tst-network.c: Likewise.
38768 * locale/C-collate.c: Likewise.
38769 * locale/C-ctype.c: Likewise.
38770 * locale/C-time.c: Likewise.
38771 * locale/C-translit.h: Likewise.
38772 * locale/loadarchive.c: Likewise.
38773 * locale/programs/3level.h: Likewise.
38774 * locale/programs/charmap.c: Likewise.
38775 * locale/programs/charmap.h: Likewise.
38776 * locale/programs/ld-address.c: Likewise.
38777 * locale/programs/ld-collate.c: Likewise.
38778 * locale/programs/ld-ctype.c: Likewise.
38779 * locale/programs/ld-identification.c: Likewise.
38780 * locale/programs/ld-measurement.c: Likewise.
38781 * locale/programs/ld-messages.c: Likewise.
38782 * locale/programs/ld-monetary.c: Likewise.
38783 * locale/programs/ld-name.c: Likewise.
38784 * locale/programs/ld-numeric.c: Likewise.
38785 * locale/programs/ld-paper.c: Likewise.
38786 * locale/programs/ld-telephone.c: Likewise.
38787 * locale/programs/ld-time.c: Likewise.
38788 * locale/programs/linereader.c: Likewise.
38789 * locale/programs/locale.c: Likewise.
38790 * locale/programs/locarchive.c: Likewise.
38791 * locale/programs/locfile.h: Likewise.
38792 * locale/programs/repertoire.c: Likewise.
38793 * locale/programs/simple-hash.c: Likewise.
38794 * locale/programs/simple-hash.h: Likewise.
38795 * malloc/memusage.c: Likewise.
38796 * malloc/memusagestat.c: Likewise.
38797 * nis/nis_defaults.c: Likewise.
38798 * nis/nis_hash.c: Likewise.
38799 * nis/nis_print.c: Likewise.
38800 * nis/nis_xdr.c: Likewise.
38801 * nscd/connections.c: Likewise.
38802 * nscd/hstcache.c: Likewise.
38803 * nscd/nscd_gethst_r.c: Likewise.
38804 * nscd/nscd_getserv_r.c: Likewise.
38805 * nscd/nscd_helper.c: Likewise.
38806 * nscd/servicescache.c: Likewise.
38807 * nss/makedb.c: Likewise.
38808 * nss/nss_db/db-XXX.c: Likewise.
38809 * nss/nss_db/db-initgroups.c: Likewise.
38810 * nss/nss_db/db-netgrp.c: Likewise.
38811 * nss/nss_files/files-network.c: Likewise.
38812 * nss/nss_files/files-parse.c: Likewise.
38813 * posix/bug-regex5.c: Likewise.
38814 * posix/fnmatch_loop.c: Likewise.
38815 * posix/regcomp.c: Likewise.
38816 * posix/regexec.c: Likewise.
38817 * posix/tst-rfc3484-2.c: Likewise.
38818 * posix/tst-rfc3484-3.c: Likewise.
38819 * posix/tst-rfc3484.c: Likewise.
38820 * resolv/nss_dns/dns-canon.c: Likewise.
38821 * resolv/nss_dns/dns-network.c: Likewise.
38822 * resolv/res_init.c: Likewise.
38823 * resolv/res_mkquery.c: Likewise.
38824 * resolv/tst-aton.c: Likewise.
38825 * stdlib/cxa_atexit.c: Likewise.
38826 * stdlib/cxa_finalize.c: Likewise.
38827 * stdlib/gen-fpioconst.c: Likewise.
38828 * stdlib/strtol_l.c: Likewise.
38829 * string/tst-endian.c: Likewise.
38830 * sunrpc/auth_des.c: Likewise.
38831 * sunrpc/clnt_udp.c: Likewise.
38832 * sunrpc/rtime.c: Likewise.
38833 * sunrpc/svcauth_des.c: Likewise.
38834 * sunrpc/xdr.c: Likewise.
38835 * sunrpc/xdr_intXX_t.c: Likewise.
38836 * sunrpc/xdr_rec.c: Likewise.
38837 * sysdeps/generic/ldconfig.h: Likewise.
38838 * sysdeps/generic/ldsodefs.h: Likewise.
38839 * sysdeps/generic/memusage.h: Likewise.
38840 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38841 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
38842 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
38843 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38844 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38845 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38846 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38847 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38848 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38849 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38850 * sysdeps/posix/getaddrinfo.c: Likewise.
38851 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38852 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38853 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38854 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38855 * sysdeps/powerpc/test-gettimebase.c: Likewise.
38856 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38857 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
38858 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
38859 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
38860 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
38861 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38862 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38863 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
38864 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
38865 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
38866 * sysdeps/x86_64/dl-tls.h: Likewise.
38867 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
38868 * time/alt_digit.c: Likewise.
38869 * time/era.c: Likewise.
38870 * wcsmbs/tst-c16c32-1.c: Likewise.
38871
38872 2013-05-16 Joseph Myers <joseph@codesourcery.com>
38873
38874 * math/libm-test.inc (struct test_sincos_data): New type.
38875 (RUN_TEST_LOOP_sincos): New macro.
38876 (sincos_test_data): New variable.
38877 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
38878
38879 2013-05-16 Richard Henderson <rth@redhat.com>
38880
38881 * math/atest-exp2.c (LIMB64): New macro.
38882 (CONSTSZ): New macro.
38883 (mp_exp1, mp_exp_m1, mp_log2): New variables.
38884 (hexdig): Move ...
38885 (print_mpn_fp): ... to function scope.
38886 (read_mpn_hex): Remove.
38887 (get_log2): Remove.
38888 (exp2_mpn): Use mp_log2.
38889 (main): Use mp_exp1.
38890
38891 2013-05-16 Joseph Myers <joseph@codesourcery.com>
38892
38893 * math/libm-test.inc: Remove comment about not testing "inexact"
38894 exceptions.
38895 (INEXACT_EXCEPTION): New macro.
38896 (NO_INEXACT_EXCEPTION): Likewise.
38897 (INVALID_EXCEPTION_OK): Update value.
38898 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38899 (OVERFLOW_EXCEPTION_OK): Likewise.
38900 (UNDERFLOW_EXCEPTION_OK): Likewise.
38901 (IGNORE_ZERO_INF_SIGN): Likewise.
38902 (ERRNO_UNCHANGED): Likewise.
38903 (ERRNO_EDOM): Likewise.
38904 (ERRNO_ERANGE): Likewise.
38905 (test_exceptions): Handle testing "inexact" exceptions.
38906 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
38907 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
38908 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
38909 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
38910 INEXACT_EXCEPTION.
38911 (rint_towardzero_test_data): Likewise.
38912 (rint_downward_test_data): Likewise.
38913 (rint_upward_test_data): Likewise.
38914
38915 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
38916 with OVERFLOW_EXCEPTION.
38917 (exp10_test_data): Likewise.
38918 (exp2_test_data): Likewise.
38919 (expm1_test_data): Likewise.
38920 (lgamma_test_data): Likewise.
38921 (pow_test_data): Likewise.
38922 (tgamma_test_data): Likewise.
38923 (yn_test_data): Remove duplicate test of overflow.
38924
38925 * math/libm-test.inc (struct test_cc_c_data): New type.
38926 (RUN_TEST_LOOP_cc_c): New macro.
38927 (cpow_test_data): New variable.
38928 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
38929
38930 * math/libm-test.inc (struct test_f_L_data): New type.
38931 (RUN_TEST_LOOP_f_L): New macro.
38932 (llrint_test_data): New variable.
38933 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
38934 (llrint_tonearest_test_data): New variable.
38935 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
38936 (llrint_towardzero_test_data): New variable.
38937 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
38938 (llrint_downward_test_data): New variable.
38939 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
38940 (llrint_upward_test_data): New variable.
38941 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
38942 (llround_test_data): New variable.
38943 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
38944
38945 2013-05-13 Peter Collingbourne <pcc@google.com>
38946
38947 * math/atest-exp2.c (get_log2): Remove const attribute.
38948
38949 2013-05-15 Joseph Myers <joseph@codesourcery.com>
38950
38951 * math/libm-test.inc (struct test_f_l_data): New type.
38952 (RUN_TEST_LOOP_f_l): New macro.
38953 (lrint_test_data): New variable.
38954 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
38955 (lrint_tonearest_test_data): New variable.
38956 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
38957 (lrint_towardzero_test_data): New variable.
38958 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
38959 (lrint_downward_test_data): New variable.
38960 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
38961 (lrint_upward_test_data): New variable.
38962 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
38963 (lround_test_data): New variable.
38964 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
38965
38966 2013-05-15 Peter Collingbourne <pcc@google.com>
38967
38968 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
38969 (EXTRACT_WORDS64) Use where appropriate.
38970 (INSERT_WORDS64) Likewise.
38971
38972 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
38973 constraints with x constraints.
38974 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
38975
38976 * malloc/obstack.c (_obstack_compat): Add initializer.
38977
38978 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
38979
38980 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
38981 si_trapno and add si_addr_lsb to _sifields.sigfault.
38982 (si_trapno): Remove macro.
38983 (si_addr_lsb): Define new macro.
38984 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
38985
38986 2013-05-15 Joseph Myers <joseph@codesourcery.com>
38987
38988 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
38989 instead of TEST_f_l.
38990 (llrint_test_tonearest): Likewise.
38991 (llrint_test_towardzero): Likewise.
38992 (llrint_test_downward): Likewise.
38993 (llrint_test_upward): Likewise.
38994 (llround_test): Likewise.
38995
38996 * math/libm-test.inc (struct test_f_i_data): Add comment.
38997 (RUN_TEST_LOOP_f_b): New macro.
38998 (RUN_TEST_LOOP_f_b_tg): Likewise.
38999 (finite_test_data): New variable.
39000 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
39001 (isfinite_test_data): New variable.
39002 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39003 (isinf_test_data): New variable.
39004 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39005 (isnan_test_data): New variable.
39006 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39007 (isnormal_test_data): New variable.
39008 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39009 (issignaling_test_data): New variable.
39010 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39011 (signbit_test_data): New variable.
39012 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39013
39014 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
39015 with INVALID_EXCEPTION.
39016 (acosh_test_data): Likewise.
39017 (asin_test_data): Likewise.
39018 (atanh_test_data): Likewise.
39019 (fmod_test_data): Likewise.
39020 (log_test_data): Likewise.
39021 (log10_test_data): Likewise.
39022 (log2_test_data): Likewise.
39023 (pow_test_data): Likewise.
39024 (sqrt_test_data): Likewise.
39025 (y0_test_data): Likewise.
39026 (y1_test_data): Likewise.
39027 (yn_test_data): Likewise.
39028
39029 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
39030 function contents.
39031
39032 * math/libm-test.inc (struct test_ff_i_data): New type.
39033 (RUN_TEST_LOOP_ff_i_tg): New macro.
39034 (isgreater_test_data): New variable.
39035 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39036 (isgreaterequal_test_data): New variable.
39037 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39038 (isless_test_data): New variable.
39039 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39040 (islessequal_test_data): New variable.
39041 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39042 (islessgreater_test_data): New variable.
39043 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39044 (isunordered_test_data): New variable.
39045 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39046
39047 2013-05-14 David S. Miller <davem@davemloft.net>
39048
39049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39050
39051 2013-05-14 Joseph Myers <joseph@codesourcery.com>
39052
39053 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
39054
39055 * math/libm-test.inc (struct test_fF_f1_data): Change type of
39056 extra_test to int.
39057 (struct test_f_i_data): Change type of max_ulp to int.
39058
39059 * math/libm-test.inc (test_ffI_f1_data): New type.
39060 (RUN_TEST_LOOP_ffI_f1): New macro.
39061 (remquo_test_data): New variable.
39062 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
39063
39064 * setjmp/tst-setjmp-fp.c: New file.
39065 * setjmp/Makefile (tests): Add tst-setjmp-fp.
39066 (link-libm): New variable.
39067 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
39068
39069 * math/libm-test.inc (struct test_f_i_data): New type.
39070 (RUN_TEST_LOOP_f_i): New macro.
39071 (RUN_TEST_LOOP_f_i_tg): Likewise.
39072 (fpclassify_test_data): New variable.
39073 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
39074 (ilogb_test_data): New variable.
39075 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
39076
39077 * math/libm-test.inc (scalbln_test): Correct function name in END
39078 call.
39079
39080 * math/libm-test.inc (struct test_f_f1_data): Add comment.
39081 (RUN_TEST_LOOP_fI_f1): New macro.
39082 (frexp_test_data): New variable.
39083 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
39084
39085 * math/libm-test.inc (struct test_fF_f1_data): New type.
39086 (RUN_TEST_LOOP_fF_f1): New macro.
39087 (modf_test_data): New variable.
39088 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
39089
39090 * math/libm-test.inc (struct test_f_f1_data): New type.
39091 (RUN_TEST_LOOP_f_f1): New macro.
39092 (gamma_test_data): New variable.
39093 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
39094 (lgamma_test_data): New variable.
39095 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
39096
39097 2013-05-13 Carlos O'Donell <carlos@redhat.com>
39098
39099 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
39100 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
39101 (main): Comment "tls" pseudo-hwcap.
39102
39103 2013-05-13 Joseph Myers <joseph@codesourcery.com>
39104
39105 * math/libm-test.inc (struct test_fl_f_data): New type.
39106 (RUN_TEST_LOOP_fl_f): New variable.
39107 (scalbln_test_data): New variable.
39108 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
39109
39110 * math/libm-test.inc (struct test_fi_f_data): New type.
39111 (RUN_TEST_LOOP_fi_f): New macro.
39112 (ldexp_test_data): New variable.
39113 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
39114 (scalbn_test_data): New variable.
39115 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
39116
39117 * math/libm-test.inc (struct test_c_f_data): New type.
39118 (RUN_TEST_LOOP_c_f): New macro.
39119 (cabs_test_data): New variable.
39120 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
39121 (carg_test_data): New variable.
39122 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
39123 (cimag_test_data): New variable.
39124 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
39125 (creal_test_data): New variable.
39126 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
39127
39128 * math/libm-test.inc (struct test_if_f_data): New type.
39129 (RUN_TEST_LOOP_if_f): New macro.
39130 (jn_test_data): New variable.
39131 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
39132 (yn_test_data): New variable.
39133 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
39134
39135 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
39136
39137 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39138
39139 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
39140 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
39141
39142 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
39143
39144 * benchtests/Makefile (CPPFLAGS-nonlib): Add
39145 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
39146 (bench-deps): Add bench-timing.h.
39147 * benchtests-bench-skeleton.c: Include bench-timing.h.
39148 (main): Use TIMING_* macros instead of clock_gettime.
39149 * benchtests/bench-timing.h: New file.
39150
39151 [BZ #14582]
39152 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
39153 Renamed from _LIB_VERSION.
39154 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
39155
39156 2013-05-12 Joseph Myers <joseph@codesourcery.com>
39157
39158 * math/libm-test.inc (struct test_fff_f_data): New type.
39159 (RUN_TEST_LOOP_fff_f): New macro.
39160 (fma_test_data): New variable.
39161 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
39162 (fma_towardzero_test_data): New variable.
39163 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
39164 (fma_downward_test_data): New variable.
39165 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
39166 (fma_upward_test_data): New variable.
39167 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
39168
39169 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
39170 (struct test_c_c_data): New type.
39171 (RUN_TEST_LOOP_c_c): New macro.
39172 (cacos_test_data): New variable.
39173 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
39174 (cacosh_test_data): New variable.
39175 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
39176 (casin_test_data): New variable.
39177 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
39178 (casinh_test_data): New variable.
39179 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
39180 (catan_test_data): New variable.
39181 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
39182 (catanh_test_data): New variable.
39183 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
39184 (ccos_test_data): New variable.
39185 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
39186 (ccosh_test_data): New variable.
39187 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
39188 (cexp_test_data): New variable.
39189 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
39190 (clog_test_data): New variable.
39191 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
39192 (clog10_test_data): New variable.
39193 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
39194 (conj_test_data): New variable.
39195 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
39196 (cproj_test_data): New variable.
39197 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
39198 (csin_test_data): New variable.
39199 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
39200 (csinh_test_data): New variable.
39201 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
39202 (csqrt_test_data): New variable.
39203 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
39204 (ctan_test_data): New variable.
39205 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
39206 (ctan_tonearest_test_data): New variable.
39207 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
39208 (ctan_towardzero_test_data): New variable.
39209 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
39210 (ctan_downward_test_data): New variable.
39211 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
39212 (ctan_upward_test_data): New variable.
39213 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
39214 (ctanh_test_data): New variable.
39215 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
39216 (ctanh_tonearest_test_data): New variable.
39217 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
39218 (ctanh_towardzero_test_data): New variable.
39219 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
39220 (ctanh_downward_test_data): New variable.
39221 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
39222 (ctanh_upward_test_data): New variable.
39223 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
39224 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
39225 of BUILD_COMPLEX.
39226
39227 * math/libm-test.inc (struct test_ff_f_data): New type.
39228 (struct test_ff_f_data_nexttoward): Likewise.
39229 (RUN_TEST_LOOP_2_f): New macro.
39230 (RUN_TEST_LOOP_ff_f): Likewise.
39231 (atan2_test_data): New variable.
39232 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
39233 (copysign_test_data): New variable.
39234 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
39235 (fdim_test_data): New variable.
39236 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
39237 (fmax_test_data): New variable.
39238 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
39239 (fmin_test_data): New variable.
39240 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
39241 (fmod_test_data): New variable.
39242 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
39243 (hypot_test_data): New variable.
39244 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
39245 (nextafter_test_data): New variable.
39246 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
39247 (nexttoward_test_data): New variable.
39248 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
39249 (pow_test_data): New variable.
39250 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
39251 (pow_tonearest_test_data): New variable.
39252 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
39253 (pow_towardzero_test_data): New variable.
39254 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
39255 (pow_downward_test_data): New variable.
39256 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
39257 (pow_upward_test_data): New variable.
39258 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
39259 (remainder_test_data): New variable.
39260 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
39261 (scalb_test_data): New variable.
39262 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
39263 * sysdeps/i386/fpu/libm-test-ulps: Update.
39264
39265 2013-05-11 Joseph Myers <joseph@codesourcery.com>
39266
39267 * math/libm-test.inc (fma_test): Use max_value instead of local
39268 variable fltmax.
39269 (nextafter_test): Likewise.
39270
39271 * math/libm-test.inc (acos_towardzero_test_data): New variable.
39272 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39273 (acos_downward_test_data): New variable.
39274 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39275 (acos_upward_test_data): New variable.
39276 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39277 (acosh_test_data): New variable.
39278 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
39279 (asin_test_data): New variable.
39280 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
39281 (asin_tonearest_test_data): New variable.
39282 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39283 (asin_towardzero_test_data): New variable.
39284 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39285 (asin_downward_test_data): New variable.
39286 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39287 (asin_upward_test_data): New variable.
39288 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39289 (asinh_test_data): New variable.
39290 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
39291 (atan_test_data): New variable.
39292 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
39293 (atanh_test_data): New variable.
39294 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
39295 (cbrt_test_data): New variable.
39296 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
39297 (ceil_test_data): New variable.
39298 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
39299 (cos_test_data): New variable.
39300 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
39301 (cos_tonearest_test_data): New variable.
39302 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39303 (cos_towardzero_test_data): New variable.
39304 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39305 (cos_downward_test_data): New variable.
39306 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39307 (cos_upward_test_data): New variable.
39308 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39309 (cosh_test_data): New variable.
39310 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
39311 (cosh_tonearest_test_data): New variable.
39312 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39313 (cosh_towardzero_test_data): New variable.
39314 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39315 (cosh_downward_test_data): New variable.
39316 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39317 (cosh_upward_test_data): New variable.
39318 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39319 (erf_test_data): New variable.
39320 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
39321 (erfc_test_data): New variable.
39322 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
39323 (exp_test_data): New variable.
39324 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
39325 (exp_tonearest_test_data): New variable.
39326 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39327 (exp_towardzero_test_data): New variable.
39328 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39329 (exp_downward_test_data): New variable.
39330 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39331 (exp_upward_test_data): New variable.
39332 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39333 (exp10_test_data): New variable.
39334 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
39335 (exp2_test_data): New variable.
39336 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
39337 (expm1_test_data): New variable.
39338 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
39339 (fabs_test_data): New variable.
39340 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
39341 (floor_test_data): New variable.
39342 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
39343 (j0_test_data): New variable.
39344 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
39345 (j1_test_data): New variable.
39346 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
39347 (log_test_data): New variable.
39348 (log_test): Run tests with RUN_TEST_LOOP_f_f.
39349 (log10_test_data): New variable.
39350 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
39351 (log1p_test_data): New variable.
39352 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
39353 (log2_test_data): New variable.
39354 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
39355 (logb_test_data): New variable.
39356 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
39357 (logb_downward_test_data): New variable.
39358 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39359 (nearbyint_test_data): New variable.
39360 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
39361 (rint_test_data): New variable.
39362 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
39363 (rint_tonearest_test_data): New variable.
39364 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39365 (rint_towardzero_test_data): New variable.
39366 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39367 (rint_downward_test_data): New variable.
39368 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39369 (rint_upward_test_data): New variable.
39370 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39371 (round_test_data): New variable.
39372 (round_test): Run tests with RUN_TEST_LOOP_f_f.
39373 (sin_test_data): New variable.
39374 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
39375 (sin_tonearest_test_data): New variable.
39376 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39377 (sin_towardzero_test_data): New variable.
39378 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39379 (sin_downward_test_data): New variable.
39380 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39381 (sin_upward_test_data): New variable.
39382 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39383 (sinh_test_data): New variable.
39384 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
39385 (sinh_tonearest_test_data): New variable.
39386 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39387 (sinh_towardzero_test_data): New variable.
39388 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39389 (sinh_downward_test_data): New variable.
39390 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39391 (sinh_upward_test_data): New variable.
39392 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39393 (sqrt_test_data): New variable.
39394 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
39395 (tan_test_data): New variable.
39396 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
39397 (tan_tonearest_test_data): New variable.
39398 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39399 (tan_towardzero_test_data): New variable.
39400 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39401 (tan_downward_test_data): New variable.
39402 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39403 (tan_upward_test_data): New variable.
39404 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39405 (tanh_test_data): New variable.
39406 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
39407 (tgamma_test_data): New variable.
39408 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
39409 (trunc_test_data): New variable.
39410 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
39411 (y0_test_data): New variable.
39412 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
39413 (y1_test_data): New variable.
39414 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
39415 (significand_test_data): New variable.
39416 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
39417
39418 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
39419
39420 [BZ #12387]
39421 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
39422
39423 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
39424
39425 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
39426
39427 2013-05-10 Andreas Jaeger <aj@suse.de>
39428
39429 [BZ #15448]
39430 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
39431 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
39432
39433 2013-05-10 Joseph Myers <joseph@codesourcery.com>
39434
39435 * math/gen-libm-test.pl (adjust_arg): New function.
39436 (special_functions): Handle generating output in both functions
39437 and arrays.
39438 (parse_args): Likewise.
39439 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
39440 $in_func argument to parse_args.
39441 * math/libm-test.inc (struct test_f_f_data): New type.
39442 (IF_ROUND_INIT_): New macro.
39443 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
39444 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
39445 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
39446 (IF_ROUND_INIT_FE_UPWARD): Likewise.
39447 (ROUND_RESTORE_): Likewise.
39448 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
39449 (ROUND_RESTORE_FE_TONEAREST): Likewise.
39450 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
39451 (ROUND_RESTORE_FE_UPWARD): Likewise.
39452 (RUN_TEST_LOOP_f_f): New macro.
39453 (acos_test_data): New variable.
39454 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
39455 (acos_tonearest_test_data): New variable.
39456 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39457
39458 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39459
39460 * benchtests/bench-skeleton.c (startup): Fix coding style.
39461
39462 2013-05-10 Joseph Myers <joseph@codesourcery.com>
39463
39464 [BZ #6809]
39465 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
39466 negative infinity argument.
39467 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
39468 negative infinity argument.
39469 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
39470 negative infinity argument.
39471 * math/libm-test.inc (tgamma_test): Expect errno to be set for
39472 domain errors.
39473
39474 2013-05-10 Florian Weimer <fweimer@redhat.com>
39475
39476 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
39477 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
39478 * iconv/iconv_prog.c (main): Likewise.
39479 * locale/programs/charmap-dir.c (charmap_readdir)
39480 (fopen_uncompressed): Likewise.
39481 * locale/programs/locfile.c (siblings_uncached)
39482 (write_locale_data): Use lstat64 instead of lstat.
39483 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
39484 stat.
39485
39486 2013-05-10 Andreas Jaeger <aj@suse.de>
39487
39488 [BZ #15395]
39489 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
39490 localization.
39491 Include <locale.h>.
39492
39493 2013-05-09 Carlos O'Donell <carlos@redhat.com>
39494
39495 * elf/dl-close.c (_dl_close_worker): Add comments.
39496
39497 2013-05-09 Joseph Myers <joseph@codesourcery.com>
39498
39499 [BZ #15359]
39500 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
39501 high part of pi/2.
39502 (__ieee754_rem_pio2l): Update comments.
39503
39504 [BZ #15429]
39505 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
39506 high part of pi/2.
39507 (__ieee754_rem_pio2l): Update comments.
39508
39509 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
39510 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
39511
39512 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
39513 M_PI_4l.
39514
39515 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
39516 (M_PI_34_LOG10El): Likewise.
39517 (M_PI2_LOG10El): Likewise.
39518 (M_PI4_LOG10El): Likewise.
39519 (M_PI_LOG10El): Likewise.
39520
39521 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39522
39523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39524
39525 2013-05-08 Joseph Myers <joseph@codesourcery.com>
39526
39527 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
39528 (MINUS_ZERO_INIT): Likewise.
39529 (PLUS_INFTY_INIT): Likewise.
39530 (MINUS_INFTY_INIT): Likewise.
39531 (QNAN_VALUE_INIT): Likewise.
39532 (MAX_VALUE_INIT): Likewise.
39533 (MIN_VALUE_INIT): Likewise.
39534 (MIN_SUBNORM_VALUE_INIT): Likewise.
39535 (plus_zero): Initialize with PLUS_ZERO_INIT.
39536 (minus_zero): Initialize with MINUS_ZERO_INIT.
39537 (plus_infty): Initialize with PLUS_INFTY_INIT.
39538 (minus_infty): Initialize with MINUS_INFTY_INIT.
39539 (qnan_value): Initialize with QNAN_VALUE_INIT.
39540 (max_value): Initialize with MAX_VALUE_INIT.
39541 (min_value): Initialize with MIN_VALUE_INIT.
39542 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
39543
39544 * math/libm-test.inc (RUN_TEST_if_f): New macro.
39545 (jn_test): Use TEST_if_f instead of TEST_ff_f.
39546 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
39547 (yn_test): Use TEST_if_f instead of TEST_ff_f.
39548
39549 * math/libm-test.inc (RUN_TEST_f_f): New macro.
39550 (RUN_TEST_2_f): Likewise.
39551 (RUN_TEST_ff_f): Likewise.
39552 (RUN_TEST_fi_f): Likewise.
39553 (RUN_TEST_fl_f): Likewise.
39554 (RUN_TEST_fff_f): Likewise.
39555 (RUN_TEST_c_f): Likewise.
39556 (RUN_TEST_f_f1): Likewise.
39557 (RUN_TEST_fF_f1): Likewise.
39558 (RUN_TEST_fI_f1): Likewise.
39559 (RUN_TEST_ffI_f1): Likewise.
39560 (RUN_TEST_c_c): Likewise.
39561 (RUN_TEST_cc_c): Likewise.
39562 (RUN_TEST_f_i): Likewise.
39563 (RUN_TEST_f_i_tg): Likewise.
39564 (RUN_TEST_ff_i_tg): Likewise.
39565 (RUN_TEST_f_b): Likewise.
39566 (RUN_TEST_f_b_tg): Likewise.
39567 (RUN_TEST_f_l): Likewise.
39568 (RUN_TEST_f_L): Likewise.
39569 (RUN_TEST_sincos): Likewise.
39570 * math/gen-libm-test.pl (new_test): Take new argument to indicate
39571 whether to show exceptions. Do not include ");\n" in return
39572 value.
39573 (special_functions): Output call to RUN_TEST_sincos instead of
39574 check_float calls. Update calls to new_test.
39575 (parse_args): Output call to single RUN_TEST_* macro instead of
39576 check_* calls and other assignments. Update calls to new_test.
39577
39578 [BZ #2546]
39579 [BZ #2560]
39580 [BZ #5159]
39581 [BZ #15426]
39582 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
39583 input to result for tgamma overflow.
39584 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
39585 (gamma_coeff): New variable.
39586 (NCOEFF): New macro.
39587 (gamma_positive): New function.
39588 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
39589 underflow here. Use gamma_positive instead of exp (lgamma) for
39590 other arguments.
39591 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
39592 (gamma_coeff): New variable.
39593 (NCOEFF): New macro.
39594 (gammaf_positive): New function.
39595 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
39596 underflow here. Use gamma_positive instead of exp (lgamma) for
39597 other arguments.
39598 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
39599 (gamma_coeff): New variable.
39600 (NCOEFF): New macro.
39601 (gammal_positive): New function.
39602 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
39603 underflow here. Use gamma_positive instead of exp (lgamma) for
39604 other arguments.
39605 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
39606 (gamma_coeff): New variable.
39607 (NCOEFF): New macro.
39608 (gammal_positive): New function.
39609 (__ieee754_gammal_r): Handle positive infinity, overflow and
39610 underflow here. Handle NaN the same as positive infinity. Remove
39611 check x < 0xffffffff for negative integers. Use gamma_positive
39612 instead of exp (lgamma) for other arguments.
39613 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
39614 (gamma_coeff): New variable.
39615 (NCOEFF): New macro.
39616 (gammal_positive): New function.
39617 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
39618 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
39619 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
39620 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
39621 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
39622 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
39623 * sysdeps/generic/math_private.h (__gamma_productf): New
39624 prototype.
39625 (__gamma_product): Likewise.
39626 (__gamma_productl): Likewise.
39627 * math/Makefile (libm-calls): Add gamma_product.
39628 * math/libm-test.inc (tgamma_test): Add more tests.
39629 * sysdeps/i386/fpu/libm-test-ulps: Update.
39630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39631
39632 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
39633
39634 * benchtests/bench-skeleton.c (main): Preheat CPU.
39635
39636 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
39637
39638 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
39639
39640 2013-05-07 Roland McGrath <roland@hack.frob.com>
39641
39642 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
39643 and _dl_skip_args_internal.
39644
39645 2013-05-07 Carlos O'Donell <carlos@redhat.com>
39646
39647 * manual/message.texi (Message Translation): Talk about users.
39648 Message to key mapping impacts design.
39649
39650 2013-05-06 Roland McGrath <roland@hack.frob.com>
39651
39652 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
39653
39654 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
39655
39656 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
39657 * sysdeps/wordsize-64/glob64.c: ... here.
39658
39659 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
39660 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
39661 New macros.
39662
39663 * debug/getlogin_r_chk.c: Moved to ...
39664 * login/getlogin_r_chk.c: ... here.
39665 * debug/Makefile (routines): Move getlogin_r_chk to ...
39666 * login/Makefile (routines): ... here.
39667 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
39668 * login/Versions (libc: GLIBC_2.4): ... here.
39669
39670 * io/poll.c (__poll): Renamed from poll.
39671 Add libc_hidden_def.
39672 (poll): Define as weak alias.
39673
39674 * debug/ptsname_r_chk.c: Moved to ...
39675 * login/ptsname_r_chk.c: ... here.
39676 * debug/Makefile (routines): Move ptsname_r_chk to ...
39677 * login/Makefile (routines): ... here.
39678 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
39679 * login/Versions (libc: GLIBC_2.4): ... here.
39680
39681 * posix/getlogin.c: Moved to ...
39682 * login/getlogin.c: ... here.
39683 * posix/getlogin_r.c: Moved to ...
39684 * login/getlogin_r.c: ... here.
39685 * posix/getlogin_r.c: Moved to ...
39686 * login/getlogin_r.c: ... here.
39687 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
39688 * login/Makefile (routines): ... here.
39689 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
39690 * login/Versions (libc: GLIBC_2.0): ... here.
39691
39692 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
39693 (setrlimit): Define as weak alias.
39694
39695 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
39696 Call __ names for open, ftruncate, and close.
39697 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
39698 (truncate): Define as weak alias.
39699
39700 2013-05-06 Joseph Myers <joseph@codesourcery.com>
39701
39702 * math/gen-libm-test.pl (parse_args): Initialize x before each
39703 test of frexp, modf and remquo.
39704
39705 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
39706 test signgam value.
39707
39708 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39709
39710 [BZ #15418]
39711 [BZ #15419]
39712 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
39713 internal tests.
39714 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39715
39716 2013-05-06 Roland McGrath <roland@hack.frob.com>
39717
39718 * elf/dl-writev.h: New file.
39719 * elf/dl-misc.c: Include it.
39720 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
39721 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
39722
39723 2013-05-04 Joseph Myers <joseph@codesourcery.com>
39724
39725 * math/libm-test.inc (noXFails): Remove variable.
39726 (noXPasses): Likewise.
39727 (BUILD_COMPLEX_INT): Remove macro.
39728 (print_screen): Remove xfail argument.
39729 (print_screen_max_error): Likewise.
39730 (update_stats): Likewise.
39731 (print_max_error): Likewise. Update calls to other affected
39732 functions.
39733 (print_complex_max_error): Likewise.
39734 (test_single_exception): Update calls to print_screen.
39735 (test_single_errno): Likewise.
39736 (check_float_internal): Remove xfail argument. Update calls to
39737 other affected functions.
39738 (check_float): Likewise.
39739 (check_complex): Likewise.
39740 (check_int): Likewise.
39741 (check_long): Likewise.
39742 (check_bool): Likewise.
39743 (check_longlong): Likewise.
39744 (main): Don't print noXFails and noXPasses.
39745 * math/gen-libm-test.pl (top level): Don't mention expected
39746 failure handling in comment.
39747 (new_test): Don't handle expected failures.
39748 (parse_args): Don't mention expected failure handling in comment.
39749 (generate_testfile): Don't handle expected failures.
39750 (parse_ulps): Likewise.
39751 (print_ulps_file): Likewise.
39752 (get_failure): Remove function.
39753 (output_test): Don't handle expected failures.
39754 * make/README.libm-test: Don't mention expected failure handling.
39755
39756 * math/libm-test.inc (plus_zero): Make const. Add initializer.
39757 (minus_zero): Likewise.
39758 (plus_infty): Likewise.
39759 (minus_infty): Likewise.
39760 (qnan_value): Likewise.
39761 (max_value): Likewise.
39762 (min_value): Likewise.
39763 (min_subnorm_value): Likewise.
39764 (initialize): Do not initialize those variables dynamically.
39765
39766 2013-05-03 Roland McGrath <roland@hack.frob.com>
39767
39768 * io/open.c (__open_2): Moved to ...
39769 * io/open_2.c: ... this new file.
39770 * io/open64.c (__open64_2): Moved to ...
39771 * io/open64_2.c: ... this new file.
39772 * io/openat.c (__openat_2): Moved to ...
39773 * io/openat_2.c: ... this new file.
39774 * io/openat64.c (__openat64_2): Moved to ...
39775 * io/openat64_2.c: ... this new file.
39776 * io/Makefile (routines): Add them.
39777 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
39778 * sysdeps/unix/sysv/linux/open_2.c: File removed.
39779 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
39780 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
39781 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
39782 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
39783 (__openat64): Add hidden_ver.
39784 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
39785 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
39786
39787 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
39788 Separately conditionalize setting of GLRO(dl_sysinfo) so
39789 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
39790 as well, but the actual setting is only under [NEED_DL_SYSINFO].
39791
39792 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39793
39794 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
39795 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
39796 definition.
39797 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
39798 * sysdeps/unix/sysv/linux/powerpc/init-first.c
39799 (_libc_vdso_platform_setup): Add __vdso_time initialization.
39800 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
39801 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
39802
39803 2013-05-03 Joseph Myers <joseph@codesourcery.com>
39804
39805 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
39806 test signgam value.
39807
39808 * math/libm-test.inc (hypot_test): Do not use
39809 IGNORE_ZERO_INF_SIGN.
39810
39811 2013-05-03 Andreas Jaeger <aj@suse.de>
39812
39813 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
39814 Linux 3.9.
39815 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
39816 (PF_MAX): Adjust for VSOCK change.
39817
39818 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39819
39820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39821
39822 2013-05-02 Carlos O'Donell <carlos@redhat.com>
39823
39824 [BZ #15264]
39825 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
39826 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
39827 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
39828
39829 2013-05-02 David S. Miller <davem@davemloft.net>
39830
39831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39832
39833 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
39834
39835 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
39836
39837 2013-05-01 Roland McGrath <roland@hack.frob.com>
39838
39839 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
39840
39841 2013-05-01 Richard Smith <richard@metafoo.co.uk>
39842
39843 [BZ #14952]
39844 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
39845 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
39846 Use __attribute__ ((__gnu_inline__)).
39847 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
39848 Don't use __attribute__ ((__gnu_inline__)).
39849
39850 2013-05-01 Joseph Myers <joseph@codesourcery.com>
39851
39852 [BZ #15423]
39853 * math/s_catan.c (__catan): Handle small real or imaginary part of
39854 input specially to avoid spurious underflow.
39855 * math/s_catanf.c (__catanf): Likewise.
39856 * math/s_catanh.c (__catanh): Likewise.
39857 * math/s_catanhf.c (__catanhf): Likewise.
39858 * math/s_catanhl.c (__catanhl): Likewise.
39859 * math/s_catanl.c (__catanl): Likewise.
39860 * math/libm-test.inc (catan_test): Add more tests.
39861 (catanh_test): Likewise.
39862 * sysdeps/i386/fpu/libm-test-ulps: Update.
39863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39864
39865 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39866
39867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39868
39869 2013-04-30 Joseph Myers <joseph@codesourcery.com>
39870
39871 [BZ #15416]
39872 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
39873 accurately for denominator in atan2.
39874 * math/s_catanf.c (__catanf): Likewise.
39875 * math/s_catanh.c (__catanh): Likewise.
39876 * math/s_catanhf.c (__catanhf): Likewise.
39877 * math/s_catanhl.c (__catanhl): Likewise.
39878 * math/s_catanl.c (__catanl): Likewise.
39879 * math/libm-test.inc (catan_test): Add more tests.
39880 (catanh_test): Likewise.
39881 * sysdeps/i386/fpu/libm-test-ulps: Update.
39882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39883
39884 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39885
39886 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
39887
39888 * benchtests/Makefile (bench): Remove slow benchmarks.
39889 * benchtests/atan-inputs: Add slow benchmark inputs.
39890 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
39891 (BENCH_FUNC): Accept variant offset.
39892 (VARIANT): Define.
39893 * benchtests/bench-skeleton.c (main): Run benchmark for each
39894 variant.
39895 * benchtests/cos-inputs: Add slow benchmark inputs.
39896 * benchtests/exp-inputs: Likewise.
39897 * benchtests/pow-inputs: Likewise.
39898 * benchtests/sin-inputs: Likewise.
39899 * benchtests/slowatan-inputs: Remove.
39900 * benchtests/slowatan.c: Remove.
39901 * benchtests/slowcos-inputs: Remove.
39902 * benchtests/slowcos.c: Remove.
39903 * benchtests/slowexp-inputs: Remove.
39904 * benchtests/slowexp.c: Remove.
39905 * benchtests/slowpow-inputs: Remove.
39906 * benchtests/slowpow.c: Remove.
39907 * benchtests/slowsin-inputs: Remove.
39908 * benchtests/slowsin.c: Remove.
39909 * benchtests/slowtan-inputs: Remove.
39910 * benchtests/slowtan.c: Remove.
39911 * benchtests/tan-inputs: Add slow benchmark inputs.
39912 * scripts/bench.pl: Parse comments and directives.
39913
39914 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
39915 in CPPFLAGS.
39916 ($(objpfx)bench-%.c): Remove *-ITER.
39917 * benchtests/bench-modf.c: Remove definition of ITER.
39918 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
39919 (main): Loop for DURATION seconds instead of fixed number of
39920 iterations.
39921 * scripts/bench.pl: Don't expect iterations in parameters.
39922
39923 2013-04-29 Roland McGrath <roland@hack.frob.com>
39924
39925 * io/fchdir.c (__fchdir): Renamed from fchdir.
39926 (fchdir): Define as weak alias.
39927
39928 2013-04-29 Joseph Myers <joseph@codesourcery.com>
39929
39930 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
39931 (ERRNO_EDOM): Likewise.
39932 (ERRNO_ERANGE): Likewise.
39933 (noErrnoTests): New variable.
39934 (init_max_error): Set errno to 0.
39935 (test_single_errno): New function.
39936 (test_errno): Likewise.
39937 (check_float_internal): Call test_errno. Set errno to 0.
39938 (check_complex): Refer to errno tests in comment.
39939 (check_int): Call test_errno. Set errno to 0.
39940 (check_long): Likewise.
39941 (check_bool): Likewise.
39942 (check_longlong): Likewise.
39943 (cos_test): Use ERRNO_* flags for errno tests instead of
39944 check_int.
39945 (expm1_test): Likewise.
39946 (fmod_test): Likewise.
39947 (ilogb_test): Likewise.
39948 (lgamma_test): Likewise.
39949 (pow_test): Likewise.
39950 (remainder_test): Likewise.
39951 (sin_test): Likewise.
39952 (tan_test): Likewise.
39953 (yn_test): Likewise.
39954 (initialize): Set errno to 0.
39955 (main): Print number of errno tests.
39956 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
39957
39958 2013-04-29 Andreas Jaeger <aj@suse.de>
39959
39960 [BZ #15084]
39961 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
39962 and RES_USEVC.
39963
39964 [BZ #15085]
39965 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
39966 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
39967 unimplemented.
39968
39969 [BZ #15380]
39970 * stdlib/random.c (__initstate): Return NULL if
39971 __initstate fails.
39972
39973 [BZ #15086]
39974 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
39975 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
39976 RES_SNGLKUPREOP.
39977
39978 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39979
39980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39981
39982 2013-04-29 Joseph Myers <joseph@codesourcery.com>
39983
39984 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
39985 of individual tests.
39986 (casin_test): Likewise.
39987 (casinh_test): Likewise.
39988
39989 2013-04-27 Joseph Myers <joseph@codesourcery.com>
39990
39991 [BZ #15409]
39992 * math/s_catan.c (__catan): Handle arguments with large real or
39993 imaginary part separately without squaring.
39994 * math/s_catanf.c (__catanf): Likewise.
39995 * math/s_catanh.c (__catanh): Likewise.
39996 * math/s_catanhf.c (__catanhf): Likewise.
39997 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39998 and redefine.
39999 (__catanhl): Handle arguments with large real or imaginary part
40000 separately without squaring.
40001 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
40002 and redefine.
40003 (__catanl): Handle arguments with large real or imaginary part
40004 separately without squaring.
40005 * math/libm-test.inc (catan_test): Add more tests.
40006 (catanh_test): Likewise.
40007 * sysdeps/i386/fpu/libm-test-ulps: Update.
40008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40009
40010 2013-04-27 Andreas Jaeger <aj@suse.de>
40011
40012 [BZ #15007]
40013 * stdlib/stdlib.h: Update guards for qecvt.
40014 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
40015 <stdlib.h>.
40016
40017 2013-04-27 Allan McRae <allan@archlinux.org>
40018
40019 * sysdeps/i386/fpu/libm-test-ulps: Update.
40020
40021 2013-04-26 Joseph Myers <joseph@codesourcery.com>
40022
40023 [BZ #15406]
40024 * math/s_catan.c: Include <float.h>.
40025 (__catan): Ensure underflow exception occurs for underflowed
40026 result.
40027 * math/s_catanf.c: Include <float.h>.
40028 (__catanf): Ensure underflow exception occurs for underflowed
40029 result.
40030 * math/s_catanh.c: Include <float.h>.
40031 (__catanh): Ensure underflow exception occurs for underflowed
40032 result.
40033 * math/s_catanhf.c: Include <float.h>.
40034 (__catanhf): Ensure underflow exception occurs for underflowed
40035 result.
40036 * math/s_catanhl.c: Include <float.h>.
40037 (__catanhl): Ensure underflow exception occurs for underflowed
40038 result.
40039 * math/s_catanl.c: Include <float.h>.
40040 (__catanl): Ensure underflow exception occurs for underflowed
40041 result.
40042 * math/libm-test.inc (catan_test): Add more tests.
40043 (catanh_test): Likewise.
40044
40045 [BZ #15405]
40046 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
40047 underflowed result.
40048 * math/s_ccoshf.c (__ccoshf): Likewise.
40049 * math/s_ccoshl.c (__ccoshl): Likewise.
40050 * math/s_csin.c (__csin): Likewise.
40051 * math/s_csinf.c (__csinf): Likewise.
40052 * math/s_csinh.c (__csinh): Likewise.
40053 * math/s_csinhf.c (__csinhf): Likewise.
40054 * math/s_csinhl.c (__csinhl): Likewise.
40055 * math/s_csinl.c (__csinl): Likewise.
40056 * math/libm-test.inc (ccos_test): Add more tests.
40057 (ccosh_test): Likewise.
40058 (csin_test): Likewise.
40059 (csinh_test): Likewise.
40060
40061 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40062
40063 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
40064 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
40065 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
40066 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
40067 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
40068 powerpc/power5+/fpu folders.
40069 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
40070
40071
40072 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
40073
40074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40075
40076 2013-04-25 Joseph Myers <joseph@codesourcery.com>
40077
40078 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
40079 additions to variable.
40080 [$(config-machine) = x86_64] (modules-names): Likewise.
40081 ($(objpfx)tst-audit3): Remove dependency.
40082 ($(objpfx)tst-audit3.out): Likewise.
40083 ($(objpfx)tst-audit4): Likewise.
40084 ($(objpfx)tst-audit4.out): Likewise.
40085 ($(objpfx)tst-audit5): Likewise.
40086 ($(objpfx)tst-audit5.out): Likewise.
40087 ($(objpfx)tst-audit6): Likewise.
40088 ($(objpfx)tst-audit6.out): Likewise.
40089 ($(objpfx)tst-audit7): Likewise.
40090 ($(objpfx)tst-audit7.out): Likewise.
40091 (tst-audit3-ENV): Remove variable.
40092 (tst-audit4-ENV): Likewise.
40093 (tst-audit5-ENV): Likewise.
40094 (tst-audit6-ENV): Likewise.
40095 (tst-audit7-ENV): Likewise.
40096 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
40097 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
40098 addition to variable.
40099 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
40100 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
40101 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
40102 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
40103 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
40104 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
40105 tst-audit3, tst-audit4 and tst-audit5.
40106 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
40107 tst-audit6 and tst-audit7.
40108 [$(subdir) = elf] (modules-names): Add audit modules for those
40109 tests.
40110 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
40111 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
40112 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
40113 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
40114 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
40115 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
40116 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
40117 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
40118 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
40119 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
40120 [$(subdir) = elf] (tst-audit3-ENV): New variable.
40121 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
40122 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
40123 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
40124 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
40125 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
40126 Likewise.
40127 [$(subdir) = elf && $(config-cflags-avx) = yes]
40128 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
40129 [$(subdir) = elf && $(config-cflags-avx) = yes]
40130 (CFLAGS-tst-auditmod4a.c): Likewise.
40131 [$(subdir) = elf && $(config-cflags-avx) = yes]
40132 (CFLAGS-tst-auditmod4b.c): Likewise.
40133 [$(subdir) = elf && $(config-cflags-avx) = yes]
40134 (CFLAGS-tst-auditmod6b.c): Likewise.
40135 [$(subdir) = elf && $(config-cflags-avx) = yes]
40136 (CFLAGS-tst-auditmod6c.c): Likewise.
40137 [$(subdir) = elf && $(config-cflags-avx) = yes]
40138 (CFLAGS-tst-auditmod7b.c): Likewise.
40139 * elf/tst-audit3.c: Move to ...
40140 * sysdeps/x86_64/tst-audit3.c: ... here.
40141 * elf/tst-audit4.c: Move to ...
40142 * sysdeps/x86_64/tst-audit4.c: ... here.
40143 * elf/tst-audit5.c: Move to ...
40144 * sysdeps/x86_64/tst-audit5.c: ... here.
40145 * elf/tst-audit6.c: Move to ...
40146 * sysdeps/x86_64/tst-audit6.c: ... here.
40147 * elf/tst-audit7.c: Move to ...
40148 * sysdeps/x86_64/tst-audit7.c: ... here.
40149 * elf/tst-auditmod3a.c: Move to ...
40150 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
40151 * elf/tst-auditmod3b.c: Move to ...
40152 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
40153 * elf/tst-auditmod4a.c: Move to ...
40154 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
40155 * elf/tst-auditmod4b.c: Move to ...
40156 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
40157 * elf/tst-auditmod5a.c: Move to ...
40158 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
40159 * elf/tst-auditmod5b.c: Move to ...
40160 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
40161 * elf/tst-auditmod6a.c: Move to ...
40162 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
40163 * elf/tst-auditmod6b.c: Move to ...
40164 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
40165 * elf/tst-auditmod6c.c: Move to ...
40166 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
40167 * elf/tst-auditmod7a.c: Move to ...
40168 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
40169 * elf/tst-auditmod7b.c: Move to ...
40170 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
40171
40172 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
40173
40174 [BZ #15366]
40175 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
40176 define unconditionally.
40177 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
40178 define unconditionally.
40179 (INT8_C, INT16_C, etc.): Likewise.
40180
40181 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
40182
40183 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
40184 __ehdr_start with hidden visibility.
40185
40186 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
40187
40188 2013-04-24 Carlos O'Donell <carlos@redhat.com>
40189
40190 * math/libm-test.inc (cos_test): Use accurate hex constants.
40191 (sincost_test): Likewise.
40192
40193 2013-04-24 Joseph Myers <joseph@codesourcery.com>
40194
40195 * math/libm-test.inc (catan_test): Add more tests.
40196 (catanh_test): Likewise.
40197
40198 * math/s_catanf.c (__catanf): Use suffixed floating-point
40199 constants.
40200 * math/s_catanhf.c (__catanhf): Likewise.
40201 * math/s_catanhl.c (__catanhl): Likewise.
40202 * math/s_catanl.c (__catanl): Likewise.
40203
40204 [BZ #15394]
40205 * math/s_catan.c (__catan): Calculate imaginary part of result
40206 with log1p not log unless computing log of number close to 0.
40207 * math/s_catanf.c (__catanf): Likewise.
40208 * math/s_catanl.c (__catanl): Likewise.
40209 * math/s_catanh.c (__catanh): Calculate real part of result with
40210 log1p not log unless computing log of number close to 0.
40211 * math/s_catanhf.c (__catanhf): Likewise.
40212 * math/s_catanhl.c (__catanhl): Likewise.
40213 * math/libm-test.inc (catan_test): Add more tests.
40214 (catanh_test): Likewise.
40215 * sysdeps/i386/fpu/libm-test-ulps: Update.
40216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40217
40218 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
40219
40220 * benchtests/Makefile: Mention files in which fast and slow
40221 paths of math functions are implemented.
40222
40223 2013-04-23 Roland McGrath <roland@hack.frob.com>
40224
40225 * sysdeps/posix/timespec_get.c: New file.
40226
40227 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40228
40229 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
40230 POWER.
40231 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
40232 for POWER.
40233 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
40234 powerpc/power5/fpu folders.
40235 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
40236 * benchtests/Makefile: Add modf testcase.
40237 * benchtests/bench-modf.c: New file: Benchmark test for mo
40238
40239 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
40240
40241 [BZ #14888]
40242 * time/Makefile (tests): Add tst-strptime-whitespace.
40243 * time/strptime_l.c (get_number): Use ISSPACE.
40244 (__strptime_internal): Likewise.
40245 * time/tst-strptime-whitespace.c: New test case.
40246
40247 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
40248
40249 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
40250 member.
40251 (_nss_files_init): Set it here.
40252
40253 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
40254
40255 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
40256 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
40257 unsigned.
40258
40259 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
40260
40261 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
40262
40263 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40264
40265 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
40266 size just once.
40267
40268 2013-04-21 David S. Miller <davem@davemloft.net>
40269
40270 * po/ru.po: Update Russion translation from translation project.
40271
40272 2013-04-17 Adam Conrad <adconrad@0c3.net>
40273
40274 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
40275 and setfsgid.
40276
40277 2013-04-17 Carlos O'Donell <carlos@redhat.com>
40278
40279 * configure.in: Remove i386 configure warning. Remove i386 case.
40280 * configure: Regenerate.
40281 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
40282 Add example to error message.
40283 * sysdeps/i386/configure: Regenerate.
40284
40285 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
40286
40287 * benchtests/Makefile (bench): Add cos, tan, slowcos and
40288 slowtan.
40289 * benchtests/cos-inputs: New file.
40290 * benchtests/slowcos-inputs: New file.
40291 * benchtests/slowcos.c: New file.
40292 * benchtests/slowtan-inputs: New file.
40293 * benchtests/slowtan.c: New file.
40294 * benchtests/tan-inputs: New file.
40295
40296 2013-04-16 Roland McGrath <roland@hack.frob.com>
40297
40298 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
40299 considered kosher.
40300
40301 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40302
40303 * benchtests/Makefile: Include cppflags-iterator.mk to add
40304 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
40305
40306 * Makefile.in (bench-clean): New target.
40307 * benchtests/Makefile (bench-clean): Likewise.
40308
40309 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
40310
40311 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
40312
40313 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
40314
40315 * stdio-common/tstdiomisc.c: Fix coding-style violation.
40316
40317 2013-04-15 Andreas Schwab <schwab@suse.de>
40318
40319 * nscd/grpcache.c (cache_addgr): Properly check for short write.
40320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40321 * nscd/pwdcache.c (cache_addpw): Likewise.
40322 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
40323 more than recsize.
40324
40325 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40326
40327 * benchtests/Makefile (bench): Write all output to
40328 bench-out.tmp together.
40329
40330 2013-04-15 Andreas Schwab <schwab@suse.de>
40331
40332 * nscd/nscd.c (main): Don't fork again after closing files.
40333
40334 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40335
40336 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
40337
40338 * benchtests/Rules (bench-deps): Collect dependencies into a
40339 single variable. Add Makefile to dependencies.
40340 ($(objpfx)bench-%.c): Depend on bench-deps.
40341
40342 2013-04-12 Roland McGrath <roland@hack.frob.com>
40343 Xavier Roche <roche+kml2@exalead.com>
40344
40345 [BZ #15361]
40346 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
40347 just that it's a file descriptor.
40348 * manual/llio.texi (Synchronizing AIO Operations): Update description
40349 for EBADF error from aio_fsync.
40350
40351 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
40352
40353 * Rules (bench): Move target definition...
40354 * benchtests/Makefile: ... here.
40355
40356 2013-04-11 Carlos O'Donell <carlos@redhat.com>
40357
40358 * math/libm-test.inc (cos_test): Fix PI/2 test.
40359 (sincos_test): Likewise.
40360 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40361 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
40362
40363 2013-04-11 Andreas Schwab <schwab@suse.de>
40364
40365 [BZ #13988]
40366 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
40367 accept exponent character only when digits were seen.
40368 * stdio-common/Makefile (tests): Add bug26.
40369 * stdio-common/bug26.c: New file.
40370
40371 [BZ #14293]
40372 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
40373 non-freeable.
40374
40375 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40376
40377 * Makeconfig (rtld-prefix): Define built linker prefix.
40378 * Rules (run-bench): Use it.
40379 * math/Makefile (run-regen-ulps): Likewise.
40380
40381 * Rules (bench): Remove eval.
40382
40383 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40384 Roland McGrath <roland@hack.frob.com>
40385 Ondrej Bilka <neleai@seznam.cz>
40386
40387 [BZ #15346]
40388 * time/getdate.c: Include ctype.h and alloca.h.
40389 (__getdate_r): Trim leading and trailing spaces of input.
40390 * time/tst-getdate.c (tests): Add tests with leading and
40391 trailing spaces.
40392
40393 2013-04-08 Roland McGrath <roland@hack.frob.com>
40394
40395 [BZ #14280]
40396 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
40397 when computing value.
40398
40399 2013-04-06 Carlos O'Donell <carlos@redhat.com>
40400
40401 * math/README.libm-test (How can I generate "libm-test-ulps"?):
40402 Use testrun.sh to run libm tests.
40403
40404 [BZ #15309]
40405 * elf/dl-open.c (dl_open_worker): memset all of seen array.
40406
40407 2013-04-06 Marko Myllynen <myllynen@redhat.com>
40408
40409 [BZ #15264]
40410 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
40411
40412 2013-04-06 Carlos O'Donell <carlos@redhat.com>
40413
40414 * Makefile.in (regen-ulps): New target.
40415 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
40416 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
40417 [ifneq (no,$(PERL)] (regen-ulps): New target.
40418 [ifeq (no,$(PERL)] (regen-ulps): New target.
40419 * math/libm-test.inc (ulps_file_name): Define.
40420 (output_dir): New variable.
40421 (options): Add "output-dir" option.
40422 (parse_opt): Handle 'o' case.
40423 (main): If output_dir is non-NULL use it as a prefix
40424 otherwise use "".
40425 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
40426
40427 2013-04-06 Carlos O'Donell <carlos@redhat.com>
40428
40429 [BZ #10060, #10062]
40430 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
40431 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
40432 fail configure if __sync_val_compare_and_swap is not inlined.
40433 * sysdeps/i386/configure: Regenerate.
40434 * configure.in: Build for i686 when configured for i386.
40435 * configure: Regenerate.
40436 * README: Remove i386 reference.
40437
40438 2013-04-06 Carlos O'Donell <carlos@redhat.com>
40439
40440 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
40441 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40442
40443 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
40444
40445 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
40446 (lmsnanval): New variables.
40447 (F): Add conversion tests.
40448 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
40449 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
40450
40451 * stdio-common/tstdiomisc.c (F): Properly collect individual
40452 tests' results.
40453
40454 [BZ #14686, #15336]
40455 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
40456 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
40457 Instead, use input NaN values or generate a qNaN by arithmetic
40458 operation. Also fix bugs to comply with the standard.
40459 * math/libm-test.inc (remainder_test): Add more tests.
40460
40461 [BZ #15335, #15342]
40462 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
40463 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
40464 input NaN values or generate a qNaN by arithmetic operation.
40465
40466 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
40467 unreachable code.
40468
40469 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
40470 definitions.
40471
40472 2013-04-03 Joseph Myers <joseph@codesourcery.com>
40473
40474 [BZ #14478]
40475 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
40476 underflowed result.
40477 * math/s_cexpf.c (__cexpf): Likewise.
40478 * math/s_cexpl.c (__cexpl): Likewise.
40479 * math/libm-test.inc (cexp_test): Add more tests.
40480
40481 2013-04-03 Andreas Schwab <schwab@suse.de>
40482
40483 [BZ #15330]
40484 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
40485 order arrays from heap if bigger than alloca cutoff.
40486
40487 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
40488
40489 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
40490 (SNAN_TESTS_double): Refer to GCC PR56831.
40491 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
40492 GCC PR56828.
40493
40494 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
40495
40496 * Rules (bench): Move bench.out after the run is complete.
40497
40498 * Rules (bench): Echo currently running benchmark.
40499
40500 * benchtests/Makefile (bench): Add atan and slowatan.
40501 * benchtests/atan-inputs: New file.
40502 * benchtests/slowatan-inputs: New file.
40503 * benchtests/slowatan.c: New file.
40504
40505 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
40506 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
40507 its value.
40508
40509 [BZ #15305]
40510 * sysdeps/unix/sysv/linux/kernel-features.h
40511 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
40512 __ASSUME_XFS_RESTRICTED_CHOWN.
40513 * sysdeps/unix/sysv/linux/pathconf.c
40514 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
40515 Save and restore errno.
40516
40517 2013-04-02 Joseph Myers <joseph@codesourcery.com>
40518
40519 [BZ #15327]
40520 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
40521 arguments using __kernel_casinh.
40522 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
40523 arguments using __kernel_casinhf.
40524 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
40525 arguments using __kernel_casinhl.
40526 * math/libm-test.inc (cacosh_test): Add more tests.
40527 * sysdeps/i386/fpu/libm-test-ulps: Update.
40528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40529
40530 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40531
40532 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
40533 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
40534
40535 * bench/Makefile (bench): Add sin and slowsin.
40536 * benchtests/sin-inputs: New file.
40537 * benchtests/slowsin-inputs: New file.
40538 * benchtests/slowsin.c: New file.
40539
40540 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
40541 (bench): Add slowexp and slowpow.
40542 (exp-ITER): Increase iterations.
40543 (pow-ITER): Likewise.
40544 * benchtests/exp-inputs: Change input.
40545 * benchtests/pow-inputs: Likewise.
40546 * benchtests/slowexp-inputs: New file.
40547 * benchtests/slowexp.c: New file.
40548 * benchtests/slowpow-inputs: New file.
40549 * benchtests/slowpow.c: New file.
40550
40551 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40552
40553 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
40554 instructions.
40555 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40556 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
40557 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
40558 * benchtests/Makefile: Add rint benchtest.
40559 * benchtests/rint-inputs: Input for rint benchtest.
40560
40561 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
40562
40563 * Versions.def (libm): Add GLIBC_2.18.
40564 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
40565 hidden libm prototypes.
40566 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
40567 * math/Makefile (libm-calls): Add s_issignaling.
40568 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
40569 __issignalingf, __issignalingl. Adjust all libm.abilist files.
40570 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
40571 declaration.
40572 * math/math.h [__USE_GNU] (issignaling): New macro.
40573 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
40574 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
40575 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
40576 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
40577 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
40578 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
40579 * manual/arith.texi (issignaling): New section.
40580 * manual/libm-err-tab.pl (@all_functions): Update comment.
40581 * math/gen-libm-test.pl (parse_args): Apply special handling for
40582 issignaling.
40583 * math/libm-test.inc (print_float, issignaling_test): New
40584 functions.
40585 (check_float_internal): Add issignaling checks.
40586 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
40587 default definition.
40588 * sysdeps/powerpc/math-tests.h: New file.
40589 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
40590 tests.
40591 * math/test-snan.c (TEST_FUNC): Likewise.
40592
40593 2013-03-30 David S. Miller <davem@davemloft.net>
40594
40595 * po/de.po: Update from translation team.
40596
40597 2013-03-30 Joseph Myers <joseph@codesourcery.com>
40598
40599 [BZ #10357]
40600 * math/k_casinh.c (__kernel_casinh): Handle arguments with
40601 imaginary part less than 1.0 and real part less than 0.5
40602 specially.
40603 * math/k_casinhf.c (__kernel_casinhf): Likewise.
40604 * math/k_casinhl.c (__kernel_casinhl): Likewise.
40605 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
40606 (cacos_test): Add more tests.
40607 (casin_test): Likewise.
40608 (casinh_test): Likewise.
40609 * sysdeps/i386/fpu/libm-test-ulps: Update.
40610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40611
40612 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40613
40614 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
40615 ONE with its value.
40616
40617 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
40618 (__pow_mp): Replace ONE and MONE with their values.
40619 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40620 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
40621 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40622 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
40623 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
40624 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40625
40626 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
40627
40628 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
40629 (__pow_mp): Replace ZERO and MZERO with their values.
40630 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
40631 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40632 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40634 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
40635 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
40636 (__sqr): Likewise.
40637
40638 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
40639
40640 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
40641
40642 2013-03-28 Roland McGrath <roland@hack.frob.com>
40643
40644 * include/stdlib.h [!SHARED] (__call_tls_dtors):
40645 Declare with __attribute__ ((weak)).
40646 * stdlib/exit.c (__libc_atexit) [!SHARED]:
40647 Call __call_tls_dtors only if it's not NULL.
40648
40649 2013-03-28 Roland McGrath <roland@hack.frob.com>
40650
40651 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
40652 didn't do it already, then set _dl_phdr and _dl_phnum based on the
40653 magic __ehdr_start linker symbol if it's defined.
40654 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
40655 them up here if it was already done.
40656
40657 * elf/dl-support.c (_dl_phdr): Make pointer to const.
40658 (_dl_aux_init): Use const in cast when setting it.
40659 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
40660 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
40661 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
40662
40663 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
40664 Declare them here.
40665 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
40666 * csu/libc-tls.c: Nor here.
40667 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
40668
40669 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
40670 (__libc_message): Never call vsyslog.
40671
40672 2013-03-28 Alan Modra <amodra@gmail.com>
40673
40674 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
40675 Define as empty.
40676 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
40677 Likewise.
40678
40679 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40680
40681 [BZ #15214]
40682 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
40683 underflow.
40684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40685
40686 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40687
40688 [BZ #15304]
40689 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40690 Don't add gid passed as argument.
40691
40692 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
40693
40694 2013-03-27 Joseph Myers <joseph@codesourcery.com>
40695
40696 [BZ #15307]
40697 * math/k_casinh.c (__kernel_casinh): Handle arguments with
40698 imaginary part between 1.0 and 1.5 and real part less than 0.5
40699 specially.
40700 * math/k_casinhf.c (__kernel_casinhf): Likewise.
40701 * math/k_casinhl.c (__kernel_casinhl): Likewise.
40702 * math/libm-test.inc (cacos_test): Add more tests.
40703 (casin_test): Likewise.
40704 (casinh_test): Likewise.
40705 * sysdeps/i386/fpu/libm-test-ulps: Update.
40706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40707
40708 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40709
40710 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
40711 constants.
40712 (norm): Likewise.
40713 (denorm): Likewise.
40714 (__dbl_mp): Likewise.
40715 (add_magnitudes): Likewise.
40716 (sub_magnitudes): Likewise.
40717 (__add): Likewise.
40718 (__sub): Likewise.
40719 (__mul): Likewise.
40720 (__sqr): Likewise.
40721 (__inv): Likewise.
40722 (__dvd): Likewise.
40723
40724 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
40725 commented code.
40726 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
40727 (__dubcos): Likewise.
40728 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
40729 (__ieee754_acos): Likewise.
40730 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
40731 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
40732 (__exp1): Likewise.
40733 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40734 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40735 (log1): Likewise.
40736 (my_log2): Likewise.
40737 (checkint): Likewise.
40738 * sysdeps/ieee754/dbl-64/e_remainder.c
40739 (__ieee754_remainder): Likewise.
40740 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
40741 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
40742 (bsloww): Likewise.
40743 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40744
40745 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
40746 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
40747 MANTISSA_STORE_T to store computations on mantissa. Use
40748 macros for rounding and division.
40749 (denorm): Likewise.
40750 (__dbl_mp): Likewise.
40751 (add_magnitudes): Likewise.
40752 (sub_magnitudes): Likewise.
40753 (__mul): Likewise.
40754 (__sqr): Likewise.
40755 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
40756 powers of two in terms of TWOPOW macro.
40757 (mp_no): Make type of mantissa as MANTISSA_T.
40758 [!RADIXI]: Define RADIXI.
40759 [!TWO52]: Define TWO52.
40760 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
40761
40762 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40763
40764 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
40765 llroundl symbol when building for PPC32.
40766
40767 2013-03-24 Mark H Weaver <mhw@netris.org>
40768
40769 * manual/arith.texi (Normalization Functions): Fix prototypes for
40770 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
40771
40772 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40773
40774 [BZ #13889]
40775 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
40776 high value to check if expl overflow.
40777 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
40778 to check for underflow and overflow.
40779 * math/libm-test.inc: Add exp test.
40780
40781 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
40782
40783 [BZ #11120]
40784 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
40785 with NOT_IN_libc.
40786
40787 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40788
40789 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
40790 symbol.
40791
40792 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
40793
40794 * math/gen-libm-test.pl (parse_args, special_functions): Properly
40795 wrap blocks consisting of several statements.
40796
40797 * sysdeps/generic/math-tests.h: New file.
40798 * sysdeps/i386/fpu/math-tests.h: Likewise.
40799 * math/test-snan.c: Include it.
40800 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
40801
40802 2013-03-21 Joseph Myers <joseph@codesourcery.com>
40803
40804 [BZ #15285]
40805 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
40806 (__ieee754_j0l): Do not improve calculations using cos of twice
40807 input for inputs above LDBL_MAX / 2.0L.
40808 (__ieee754_y0l): Likewise.
40809 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
40810 (__ieee754_j1l): Do not improve calculations using cos of twice
40811 input for inputs above LDBL_MAX / 2.0L.
40812 (__ieee754_y1l): Likewise.
40813 * math/libm-test.inc (j0_test): Add another test.
40814 (j1_test): Likewise.
40815 (y0_test): Likewise.
40816 (y1_test): Likewise.
40817 * sysdeps/i386/fpu/libm-test-ulps: Update.
40818
40819 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40820
40821 * Rules ($(objpfx)bench-%.c): Include code from a C source
40822 file.
40823
40824 2013-03-21 Joseph Myers <joseph@codesourcery.com>
40825
40826 [BZ #15287]
40827 * math/k_casinh.c (__kernel_casinh): Handle arguments with
40828 imaginary part 1.0 and real part less than 0.5 specially.
40829 * math/k_casinhf.c (__kernel_casinhf): Likewise.
40830 * math/k_casinhl.c (__kernel_casinhl): Likewise.
40831 * math/libm-test.inc (cacos_test): Add more tests.
40832 (casin_test): Likewise.
40833 (casinh_test): Likewise.
40834 * sysdeps/i386/fpu/libm-test-ulps: Update.
40835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40836
40837 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40838
40839 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
40840 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
40841
40842 2013-03-20 Joseph Myers <joseph@codesourcery.com>
40843
40844 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
40845 * config.make.in (config-cflags-sse4): Remove variable.
40846 (config-cflags-avx): Likewise.
40847 (config-cflags-sse2avx): Likewise.
40848 (config-cflags-novzeroupper): Likewise.
40849 (config-asflags-i686): Likewise.
40850 (have-mfma4): Likewise.
40851 (have-as-vis3): Likewise.
40852 (MIG): Likewise.
40853 * configure.in (MIG): Do not AC_SUBST.
40854 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
40855 (libc_cv_cc_sse4): Do not AC_SUBST.
40856 (libc_cv_cc_avx): Likewise.
40857 (libc_cv_cc_sse2avx): Likewise.
40858 (libc_cv_cc_novzeroupper): Likewise.
40859 (libc_cv_cc_fma4): Likewise.
40860 (libc_cv_as_i686): Likewise.
40861 (libc_cv_sparc_as_vis3): Likewise.
40862 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
40863 LIBC_CONFIG_VAR.
40864 (config-asflags-i686): Likewise.
40865 (config-cflags-avx): Likewise.
40866 (config-cflags-sse2avx): Likewise.
40867 (have-mfma4): Likewise.
40868 (config-cflags-novzeroupper): Likewise.
40869 * sysdeps/mach/configure.in (MIG): Likewise.
40870 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
40871 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
40872 LIBC_CONFIG_VAR.
40873 (config-cflags-avx): Likewise.
40874 (config-cflags-sse2avx): Likewise.
40875 (have-mfma4): Likewise.
40876 (config-cflags-novzeroupper): Likewise.
40877 * configure: Regenerated.
40878 * sysdeps/i386/configure: Likewise.
40879 * sysdeps/mach/configure: Likewise.
40880 * sysdeps/sparc/configure: Likewise.
40881 * sysdeps/x86_64/configure: Likewise.
40882
40883 2013-03-20 Roland McGrath <roland@hack.frob.com>
40884
40885 [BZ #14812]
40886 * locale/programs/localedef.c (options): Put N_ translation marker
40887 on argument names, not just descriptions.
40888
40889 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40890
40891 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
40892
40893 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
40894
40895 [BZ #14176]
40896 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
40897
40898 2013-03-19 Roland McGrath <roland@hack.frob.com>
40899
40900 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
40901 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
40902 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
40903 [!BEFORE_ABORT] (before_abort): New function.
40904 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
40905 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
40906 (writev_for_fatal): New function.
40907 (WRITEV_FOR_FATAL): New macro; call that.
40908 (backtrace_and_maps): New function.
40909 (BEFORE_ABORT): New macro; call that.
40910 (struct str_list): Type removed.
40911 (__libc_message, __libc_fatal): Functions removed.
40912 Include <sysdeps/posix/libc_fatal.c> instead.
40913
40914 2013-03-19 Joseph Myers <joseph@codesourcery.com>
40915
40916 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
40917 constants.
40918 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
40919 double constants.
40920
40921 2013-03-19 Andreas Schwab <schwab@suse.de>
40922
40923 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
40924 * sysdeps/gnu/configure: Regenerate.
40925
40926 * configure.in: Substitute libc_cv_rtlddir.
40927 * configure: Regenerate.
40928 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
40929 * Makeconfig (rtlddir, inst_rtlddir): New variables.
40930 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
40931 * elf/Makefile (install-others, CFLAGS-interp.c)
40932 (ldso_install, common-ldd-rewrite): Likewise.
40933 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
40934 $(inst_slibdir)/$(rtld-installed-name).
40935 * scripts/rellns-sh: Add -p option.
40936 * Makerules (make-shlib-link): Use rellns-sh to get relative name
40937 for source.
40938
40939 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40940
40941 * manual/nptl.texi: Renamed to ...
40942 * manual/threads.texi: ... this.
40943 * manual/Makefile (chapters): Update.
40944
40945 2013-03-18 Roland McGrath <roland@hack.frob.com>
40946
40947 [BZ #14812]
40948 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
40949 on argument names, not just descriptions.
40950 * malloc/memusagestat.c (options): Likewise.
40951 * nss/getent.c (options): Likewise.
40952
40953 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
40954
40955 [BZ #14812]
40956 * iconv/iconv_prog.c (options): Put N_ translation marker
40957 on argument names, not just descriptions.
40958 * iconv/iconvconfig.c (options): Likewise.
40959
40960 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
40961
40962 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
40963 implementation which is faster on all x86_64 architectures.
40964 Tested on AMD, Intel Nehalem, SNB, IVB.
40965 * sysdeps/x86_64/strnlen.S: Likewise.
40966
40967 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40968 Remove all multiarch strlen and strnlen versions.
40969 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40970 Remove strlen and strnlen related parts.
40971
40972 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
40973 Inline strlen part.
40974 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
40975
40976 * sysdeps/x86_64/multiarch/strlen.S: Remove.
40977 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
40978 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
40979 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
40980 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40981 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
40982
40983 2013-03-17 Carlos O'Donell <carlos@redhat.com>
40984
40985 * manual/memory.texi (Malloc Tunable Parameters):
40986 Sort parameters alphabetically. Add comments for missing entries.
40987
40988 2013-03-17 David S. Miller <davem@davemloft.net>
40989
40990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40991
40992 2013-03-16 Joseph Myers <joseph@codesourcery.com>
40993
40994 [BZ #15283]
40995 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
40996 for arguments at most half maximum finite value.
40997 * math/libm-test.inc (j0_test): Add more tests.
40998 (j1_test): Likewise.
40999 (y0_test): Likewise.
41000 (y1_test): Likewise.
41001 * sysdeps/i386/fpu/libm-test-ulps: Update.
41002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41003
41004 [BZ #14155]
41005 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
41006 1 / x and functions P and Q for arguments above 0x1p256L.
41007 (__ieee754_y0l): Likewise.
41008 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
41009 (__ieee754_y1l): Likewise.
41010 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
41011 (j1_test): Likewise.
41012 (y0_test): Likewise.
41013 (y1_test): Likewise.
41014
41015 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
41016
41017 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
41018 variable.
41019
41020 2013-03-15 Roland McGrath <roland@hack.frob.com>
41021
41022 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
41023 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
41024 zero since it's initialized to EXEC_PAGESIZE.
41025
41026 * sysdeps/unix/sysv/linux/ldsodefs.h
41027 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
41028 * sysdeps/generic/ldsodefs.h: ... here.
41029
41030 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
41031
41032 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
41033
41034 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
41035 math/test-snan.c.
41036 * math/test-snan.c: Renamed from
41037 sysdeps/powerpc/fpu/test-powerpc-snan.c.
41038 * math/Makefile (tests): Add test-snan.
41039 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
41040 test-powerpc-snan.
41041
41042 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
41043 SUFFIX. Initialize qNaN_var with __builtin_nan family of
41044 functions.
41045 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
41046 __builtin_nan family of functions.
41047 * math/libm-test.inc (initialize): Initialize qnan_value with
41048 __builtin_nan family of functions.
41049 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
41050 Remove variables.
41051 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
41052 Remove functions.
41053 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
41054 storage class. Initialize qNaN_var and sNaN_var with
41055 __builtin_nan and __builtin_nans families of functions,
41056 respectively.
41057
41058 * math/libm-test.inc (acosh_test): Also test with qNaN input.
41059 (sqrt_test): Remove duplicate test with qNaN input.
41060 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
41061 (round_test, signbit_test, significand_test): Note missing +/-Inf
41062 as well as qNaN tests.
41063
41064 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
41065 qNaN_var. Fix a few strings, too.
41066 * math/libm-test.inc (nan_value): Rename to qnan_value.
41067 * math/gen-libm-test.pl (%beautify): Adjust to that.
41068 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
41069 * math/test-misc.c (main): Likewise.
41070 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
41071 to __qnan_bytes, and __qnan_union, respectively.
41072 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
41073 Likewise.
41074 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
41075 and lqnanval, respectively.
41076 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
41077 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
41078 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
41079 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
41080
41081 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
41082 * math/test-misc.c (main) [__x86_64__]: Enable test for long
41083 doubles.
41084
41085 * math/test-misc.c (main): Fix copy'n'pastos.
41086 * misc/tst-efgcvt.c (special): Likewise.
41087
41088 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
41089 Remove declarations.
41090
41091 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41092
41093 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
41094 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
41095 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
41096 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
41097
41098 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41099
41100 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
41101 macro to return vdso values correctly in IFUNC implementations.
41102 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41103 Optimization by using IFUNC.
41104
41105 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41106 Richard Henderson <rth@redhat.com>
41107 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41108
41109 * Makefile.in (bench): New target.
41110 * NEWS: Mention the benchmark framework.
41111 * Rules (bench): Likewise.
41112 (binaries-bench): Generate binaries for functions to
41113 benchmark.
41114 * benchtests/Makefile: New makefile for benchmark tests.
41115 * benchtests/bench-skeleton.c: New skeleton file for benchmark
41116 programs.
41117 * benchtests/exp-inputs: New input file for EXP function.
41118 * benchtests/pow-inputs: New input file for POW function.
41119 * scripts/bench.pl: New script to generate source files for
41120 benchmark programs.
41121
41122 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41123
41124 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
41125 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
41126 computations on mantissa. Use macros for rounding and
41127 division.
41128 (denorm): Likewise.
41129 (__dbl_mp): Likewise.
41130 (add_magnitudes): Likewise.
41131 (sub_magnitudes): Likewise.
41132 (__mul): Likewise.
41133 (__sqr): Likewise.
41134 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
41135 powers of two in terms of TWOPOW macro.
41136 (mp_no): Make type of mantissa as MANTISSA_T.
41137 [!RADIXI]: Define RADIXI.
41138 [!TWO52]: Define TWO52.
41139 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
41140
41141 * manual/nptl.texi (cindex): Modify threads to pthreads.
41142
41143 2013-03-15 Joseph Myers <joseph@codesourcery.com>
41144
41145 * sysdeps/x86_64/preconfigure: Regenerated.
41146
41147 2013-03-14 Joseph Myers <joseph@codesourcery.com>
41148
41149 [BZ #14155]
41150 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
41151 0x1p28 and above.
41152 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
41153 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
41154 0x1p28 and above.
41155 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
41156 * math/libm-test.inc (j0_test): Do not allow one spurious
41157 underflow exception.
41158 (y1_test): Likewise.
41159
41160 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41161
41162 * manual/Makefile (chapters): Add nptl.
41163 * manual/debug.texi (Debugging Support): Add link to Threads
41164 chapter.
41165 * manual/nptl.texi: New file.
41166
41167 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
41168
41169 2013-03-14 Petr Baudis <pasky@ucw.cz>
41170
41171 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
41172 for non-NULL pointer before the memory validity test. Pointed
41173 out by Holger Brunck <holger.brunck@keymile.com>.
41174
41175 2013-03-13 Andreas Schwab <schwab@suse.de>
41176
41177 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
41178 instead of .os.
41179
41180 2013-03-13 Joseph Myers <joseph@codesourcery.com>
41181
41182 * timezone/zic.c: Update from tzcode 2013b.
41183
41184 2013-03-12 Carlos O'Donell <carlos@redhat.com>
41185
41186 * manual/install.texi (Configuring and compiling):
41187 Mention i686 and i586.
41188 * INSTALL: Regenerate.
41189
41190 2013-03-12 Roland McGrath <roland@hack.frob.com>
41191
41192 * sysdeps/init_array/elf-init.c: New file.
41193 * csu/elf-init.c
41194 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
41195 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
41196
41197 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
41198 __gmon_start__ as global, but as static with a .preinit_array pointer.
41199 * sysdeps/init_array/gmon-start.c: New file. Use that.
41200 * sysdeps/init_array/crti.S: New file, empty except for comments.
41201 * sysdeps/init_array/crtn.S: Likewise.
41202
41203 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
41204
41205 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
41206 definining bcopy.
41207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41208 Remove Prefer_SSE_for_memop.
41209 * sysdeps/x86_64/multiarch/init-arch.h: Remove
41210 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
41211 HAS_PREFER_SSE_FOR_MEMOP.
41212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
41213 memset-x86-64.
41214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41215 Remove bzero, memset ifunc support.
41216 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
41217 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
41218 * sysdeps/x86_64/multiarch/memset.S: Likewise.
41219 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41220
41221 2013-03-11 Andreas Schwab <schwab@suse.de>
41222
41223 [BZ #15234]
41224 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
41225 by SHLIB_COMPAT.
41226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
41227 (GLIBC_2.16): Remove pthread_atfork.
41228
41229 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
41230
41231 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
41232 (ptestcases.h): Likewise.
41233
41234 2013-03-08 Roland McGrath <roland@hack.frob.com>
41235
41236 * Makeconfig ($(common-objpfx)config.status): Depend on
41237 sysdeps/*/preconfigure{,.in} too.
41238
41239 2013-03-08 Joseph Myers <joseph@codesourcery.com>
41240
41241 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
41242 (__free_hook): Use void * instead of __malloc_ptr_t.
41243 (__malloc_hook): Likewise.
41244 (__realloc_hook): Likewise.
41245 (__memalign_hook): Likewise.
41246 (__after_morecore_hook): Likewise.
41247 * malloc/arena.c (save_malloc_hook): Likewise.
41248 (save_free_hook): Likewise.
41249 * malloc/hooks.c (malloc_hook_ini): Likewise.
41250 (realloc_hook_ini): Likewise.
41251 (memalign_hook_ini): Likewise.
41252 * malloc/malloc.c (malloc_hook_ini): Likewise.
41253 (realloc_hook_ini): Likewise.
41254 (memalign_hook_ini): Likewise.
41255 (__free_hook): Likewise.
41256 (__malloc_hook): Likewise.
41257 (__realloc_hook): Likewise.
41258 (__memalign_hook): Likewise.
41259 (__libc_malloc): Likewise.
41260 (__libc_free): Likewise.
41261 (__libc_realloc): Likewise.
41262 (__libc_memalign): Likewise.
41263 (__libc_valloc): Likewise.
41264 (__libc_pvalloc): Likewise.
41265 (__libc_calloc): Likewise.
41266 (__posix_memalign): Likewise.
41267 * malloc/morecore.c (__sbrk): Likewise.
41268 (__default_morecore): Likewise.
41269
41270 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
41271
41272 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
41273 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
41274 __malloc_ptrdiff_t.
41275
41276 * malloc/malloc.h (__malloc_size_t): Remove macro.
41277 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
41278 __malloc_size_t.
41279 (old_memalign_hook): Likewise.
41280 (old_realloc_hook): Likewise.
41281 (struct hdr): Likewise.
41282 (flood): Likewise.
41283 (mallochook): Likewise.
41284 (memalignhook): Likewise.
41285 (reallochook): Likewise.
41286 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
41287 (tr_old_realloc_hook): Likewise.
41288 (tr_old_memalign_hook): Likewise.
41289 (tr_mallochook): Likewise.
41290 (tr_reallochook): Likewise.
41291 (tr_memalignhook): Likewise.
41292
41293 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41294
41295 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
41296 default_ldbl_pack and using as default implementation.
41297 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
41298 implementation.
41299 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
41300 redundant definition.
41301 (ldbl_insert_mantissa): Likewise.
41302 (ldbl_canonicalize): Likewise.
41303 (ldbl_nearbyint): Likewise.
41304 (ldbl_pack): Rename to ldbl_pack_ppc.
41305 (ldbl_unpack): Rename to ldbl_unpack_ppc.
41306 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
41307 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
41308
41309 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
41310
41311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
41312 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
41313 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
41314 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
41315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
41316 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
41317 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
41318 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
41319
41320 2013-03-07 Andreas Jaeger <aj@suse.de>
41321
41322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41323 bits/mman-linux.h.
41324
41325 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
41326
41327 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
41328 Include mpa.h and declare __MPEXP.
41329 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
41330 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
41331 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
41332 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
41333 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
41334 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
41335 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
41336
41337 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
41338 (__slowpow): Use long double EXPL and LOGL functions to
41339 compute POW.
41340 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
41341 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
41342 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
41343 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
41344 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
41345 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
41346
41347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
41348 intermediate variable to calculate exponent.
41349 (__sqr): Likewise.
41350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
41351 Likewise.
41352 (__sqr): Likewise.
41353
41354 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
41355 [!NO__SQR]: Define __sqr.
41356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
41357 and NO__SQR. Remove all code except __mul and __sqr. Include
41358 sysdeps/ieee754/dbl-64/mpa.c.
41359 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41360
41361 [BZ #12723]
41362 * posix/Makefile (tests): Add tst-pathconf.
41363 * posix/tst-pathconf.c: New test case.
41364 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
41365 _PC_PIPE_BUF.
41366 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
41367
41368 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
41369
41370 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
41371
41372 2013-03-06 Andreas Jaeger <aj@suse.de>
41373
41374 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
41375 definition via __MAP_ANONYMOUS.
41376
41377 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
41378 it's not part of Linux headers.
41379
41380 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
41381 (MAP_HUGE_MASK): Define.
41382
41383 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
41384 Define.
41385 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41386 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
41387 Define.
41388 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41389 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
41390 Define.
41391 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41392 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
41393 Define.
41394 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41395
41396 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
41397 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
41398 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
41399 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
41400 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
41401 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
41402
41403 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41404 Handle f2fs.
41405
41406 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41407 Handle f2fs and efivarfs.
41408
41409 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
41410 f2fs.
41411
41412 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
41413 (EFIVARFS_MAGIC): Add.
41414 (F2FS_LINK_MAX): Add.
41415
41416 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41417
41418 * stdio-common/vfprintf.c: Replace __builtin_expect with
41419 __glibc_unlikely.
41420
41421 2013-03-06 Joseph Myers <joseph@codesourcery.com>
41422
41423 [BZ #13550]
41424 * sysdeps/generic/bp-sym.h: Remove file.
41425 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
41426 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
41427 <bp-sym.h> and <bp-asm.h>.
41428 (__longjmp): Don't use BP_SYM.
41429 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
41430 and <bp-asm.h>.
41431 (memcpy): Don't use BP_SYM.
41432 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
41433 <bp-sym.h> and <bp-asm.h>.
41434 (memcpy): Don't use BP_SYM.
41435 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
41436 <bp-asm.h>.
41437 (memcpy): Don't use BP_SYM.
41438 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
41439 <bp-asm.h>.
41440 (memset): Don't use BP_SYM.
41441 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
41442 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
41443 (__bzero): Don't use BP_SYM.
41444 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
41445 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
41446 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
41447 <bp-sym.h> and <bp-asm.h>.
41448 (memcmp): Don't use BP_SYM. Remove comment about bounded
41449 pointers.
41450 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
41451 <bp-sym.h> and <bp-asm.h>.
41452 (memcpy): Don't use BP_SYM.
41453 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
41454 <bp-sym.h> and <bp-asm.h>.
41455 (memset): Don't use BP_SYM.
41456 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
41457 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
41458 (__bzero): Don't use BP_SYM.
41459 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
41460 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
41461 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
41462 <bp-sym.h> and <bp-asm.h>.
41463 (strncmp): Don't use BP_SYM. Remove comment about bounded
41464 pointers.
41465 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
41466 <bp-sym.h> and <bp-asm.h>.
41467 (memcpy): Don't use BP_SYM.
41468 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
41469 <bp-sym.h> and <bp-asm.h>.
41470 (memset): Don't use BP_SYM.
41471 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
41472 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
41473 (__bzero): Don't use BP_SYM.
41474 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
41475 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
41476 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
41477 <bp-sym.h> and <bp-asm.h>.
41478 (__memchr): Don't use BP_SYM.
41479 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
41480 <bp-sym.h> and <bp-asm.h>.
41481 (memcmp): Don't use BP_SYM. Remove comment about bounded
41482 pointers.
41483 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
41484 <bp-sym.h> and <bp-asm.h>.
41485 (memcpy): Don't use BP_SYM.
41486 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
41487 <bp-sym.h> and <bp-asm.h>.
41488 (__mempcpy): Don't use BP_SYM.
41489 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
41490 <bp-sym.h> and <bp-asm.h>.
41491 (__memrchr): Don't use BP_SYM.
41492 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
41493 <bp-sym.h> and <bp-asm.h>.
41494 (memset): Don't use BP_SYM.
41495 (__bzero): Likewise.
41496 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
41497 <bp-sym.h> and <bp-asm.h>.
41498 (__rawmemchr): Don't use BP_SYM.
41499 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
41500 <bp-sym.h> and <bp-asm.h>.
41501 (__STRCMP): Don't use BP_SYM.
41502 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
41503 <bp-sym.h> and <bp-asm.h>.
41504 (strchr): Don't use BP_SYM.
41505 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
41506 <bp-sym.h> and <bp-asm.h>.
41507 (__strchrnul): Don't use BP_SYM.
41508 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
41509 <bp-sym.h> and <bp-asm.h>.
41510 (strlen): Don't use BP_SYM.
41511 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
41512 <bp-sym.h> and <bp-asm.h>.
41513 (strncmp): Don't use BP_SYM. Remove comment about bounded
41514 pointers.
41515 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
41516 <bp-sym.h> and <bp-asm.h>.
41517 (__strnlen): Don't use BP_SYM.
41518 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
41519 <bp-sym.h> and <bp-asm.h>.
41520 (__GI__setjmp): Don't use BP_SYM.
41521 (_setjmp): Likewise.
41522 (__sigsetjmp): Likewise.
41523 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
41524 (L(start_addresses)): Don't use BP_SYM.
41525 (_start): Likewise.
41526 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
41527 <bp-asm.h>.
41528 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
41529 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
41530 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
41531 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
41532 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
41533 <bp-asm.h>.
41534 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
41535 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
41536 about bounded pointers.
41537 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
41538 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
41539 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
41540 <bp-asm.h>.
41541 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
41542 about bounded pointers. Remove GKM FIXME comments.
41543 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
41544 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
41545 <bp-asm.h>.
41546 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
41547 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
41548 Remove GKM FIXME comments.
41549 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
41550 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
41551 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
41552 <bp-asm.h>.
41553 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
41554 about bounded pointers. Remove GKM FIXME comment.
41555 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
41556 and <bp-asm.h>.
41557 (strncmp): Don't use BP_SYM. Remove comment about bounded
41558 pointers.
41559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
41560 <bp-sym.h> and <bp-asm.h>.
41561 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
41562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
41563 <bp-sym.h> and <bp-asm.h>.
41564 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
41565 comment.
41566
41567 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41568
41569 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
41570 call free(NULL).
41571
41572 2013-03-05 David S. Miller <davem@davemloft.net>
41573
41574 * po/es.po: Update from translation team.
41575
41576 2013-03-05 Andreas Jaeger <aj@suse.de>
41577
41578 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
41579 <bits/mman-linux.h>.
41580 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
41581 is fine.
41582 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
41583 <bits/mman-linux.h> to end of file.
41584 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
41585 is fine.
41586 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
41587 <bits/mman-linux.h> to end of file.
41588 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
41589 is fine.
41590 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
41591 <bits/mman-linux.h> to end of file.
41592
41593 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
41594 (MCL_CURRENT, MCL_FUTURE): Define here.
41595
41596 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41597
41598 [BZ #15232]
41599 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
41600 attribute_hidden.
41601 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41602
41603 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41604
41605 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
41606 fourth parameter needed for rt_sigprocmask syscall.
41607 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
41608 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
41609 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
41610 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
41611 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
41612 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
41613
41614 2013-03-04 Joseph Myers <joseph@codesourcery.com>
41615
41616 [BZ #13550]
41617 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
41618 comment about bounded pointers.
41619 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
41620 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
41621
41622 2013-03-04 Andreas Jaeger <aj@suse.de>
41623
41624 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
41625 common definitions.
41626
41627 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
41628 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
41629 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
41630 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41631 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41632 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41633
41634 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41635
41636 [BZ #15055]
41637 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
41638 __ieee754_sqrl instead of __sqrl.
41639
41640 2013-03-01 Joseph Myers <joseph@codesourcery.com>
41641
41642 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
41643 * sysdeps/powerpc/fpu_control.h: ... here.
41644 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
41645 * sysdeps/powerpc/bits/fenvinline.h: ... here.
41646 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
41647 * sysdeps/powerpc/bits/mathinline.h: ... here.
41648
41649 2013-03-01 Roland McGrath <roland@hack.frob.com>
41650
41651 * elf/dl-hwcaps.c (_dl_important_hwcaps):
41652 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
41653 to just [NEED_DL_SYSINFO_DSO].
41654 * elf/dl-support.c: Likewise.
41655 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
41656 * elf/rtld.c (dl_main): Likewise.
41657 * elf/setup-vdso.h (setup_vdso): Likewise.
41658 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
41659 * sysdeps/unix/sysv/linux/dl-sysdep.c
41660 (_dl_discover_osversion): Likewise.
41661
41662 2013-03-01 Carlos O'Donell <carlos@redhat.com>
41663
41664 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
41665 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
41666
41667 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
41668
41669 * NEWS: Mention libm performance improvements and non-x86 PI
41670 futex support.
41671
41672 * csu/libc-start.c (__pthread_initialize_minimal): Change
41673 function arguments.
41674 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
41675
41676 2013-02-28 Joseph Myers <joseph@codesourcery.com>
41677
41678 [BZ #13550]
41679 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
41680 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
41681 <bp-sym.h> and <bp-asm.h>.
41682 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
41683 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
41684 and <bp-asm.h>.
41685 (memcpy): Don't use BP_SYM.
41686 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
41687 <bp-asm.h>.
41688 (__mpn_add_n): Don't use BP_SYM.
41689 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
41690 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
41691 and <bp-asm.h>.
41692 (__mpn_addmul_1): Don't use BP_SYM.
41693 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41694 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
41695 <bp-sym.h>.
41696 (_setjmp): Don't use BP_SYM.
41697 (__novmx_setjmp): Likewise.
41698 (__GI__setjmp): Likewise.
41699 (__vmx_setjmp): Likewise.
41700 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
41701 <bp-sym.h>.
41702 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
41703 (__bzero): Don't use BP_SYM.
41704 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
41705 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
41706 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
41707 <bp-sym.h> and <bp-asm.h>.
41708 (memcpy): Don't use BP_SYM.
41709 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
41710 <bp-sym.h> and <bp-asm.h>.
41711 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
41712 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
41713 <bp-sym.h> and <bp-asm.h>.
41714 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
41715 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
41716 <bp-asm.h>.
41717 (__mpn_lshift): Don't use BP_SYM.
41718 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41719 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
41720 <bp-asm.h>.
41721 (memset): Don't use BP_SYM.
41722 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
41723 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
41724 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
41725 <bp-asm.h>.
41726 (__mpn_mul_1): Don't use BP_SYM.
41727 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41728 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
41729 <bp-sym.h> and <bp-asm.h>.
41730 (memcmp): Don't use BP_SYM.
41731 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
41732 <bp-sym.h> and <bp-asm.h>.
41733 (memcpy): Don't use BP_SYM.
41734 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
41735 <bp-sym.h> and <bp-asm.h>.
41736 (memset): Don't use BP_SYM.
41737 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
41738 <bp-sym.h> and <bp-asm.h>.
41739 (strncmp): Don't use BP_SYM.
41740 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
41741 <bp-sym.h> and <bp-asm.h>.
41742 (memcpy): Don't use BP_SYM.
41743 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
41744 <bp-sym.h> and <bp-asm.h>.
41745 (memset): Don't use BP_SYM.
41746 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
41747 <bp-sym.h> and <bp-asm.h>.
41748 (__memchr): Don't use BP_SYM.
41749 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
41750 <bp-sym.h> and <bp-asm.h>.
41751 (memcmp): Don't use BP_SYM.
41752 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
41753 <bp-sym.h> and <bp-asm.h>.
41754 (memcpy): Don't use BP_SYM.
41755 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
41756 <bp-sym.h> and <bp-asm.h>.
41757 (__mempcpy): Don't use BP_SYM.
41758 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
41759 <bp-sym.h> and <bp-asm.h>.
41760 (__memrchr): Don't use BP_SYM.
41761 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
41762 <bp-sym.h> and <bp-asm.h>.
41763 (memset): Don't use BP_SYM.
41764 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
41765 <bp-sym.h> and <bp-asm.h>.
41766 (__rawmemchr): Don't use BP_SYM.
41767 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
41768 <bp-sym.h> and <bp-asm.h>.
41769 (__STRCMP): Don't use BP_SYM.
41770 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
41771 <bp-sym.h> and <bp-asm.h>.
41772 (strchr): Don't use BP_SYM.
41773 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
41774 <bp-sym.h> and <bp-asm.h>.
41775 (__strchrnul): Don't use BP_SYM.
41776 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
41777 <bp-sym.h> and <bp-asm.h>.
41778 (strlen): Don't use BP_SYM.
41779 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
41780 <bp-sym.h> and <bp-asm.h>.
41781 (strncmp): Don't use BP_SYM.
41782 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
41783 <bp-sym.h> and <bp-asm.h>.
41784 (__strnlen): Don't use BP_SYM.
41785 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
41786 <bp-asm.h>.
41787 (__mpn_rshift): Don't use BP_SYM.
41788 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41789 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
41790 <bp-sym.h> and <bp-asm.h>.
41791 (__sigsetjmp): Don't use BP_SYM.
41792 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
41793 (L(start_addresses)): Don't use BP_SYM.
41794 (_start): Likewise.
41795 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
41796 <bp-asm.h>.
41797 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
41798 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
41799 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
41800 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
41801 <bp-asm.h>.
41802 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
41803 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
41804 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
41805 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
41806 <bp-asm.h>.
41807 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
41808 comments.
41809 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
41810 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
41811 <bp-asm.h>.
41812 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
41813 FIXME comments.
41814 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
41815 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
41816 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
41817 <bp-asm.h>.
41818 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
41819 comment.
41820 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
41821 and <bp-asm.h>.
41822 (strncmp): Don't use BP_SYM,
41823 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
41824 <bp-asm.h>.
41825 (__mpn_sub_n): Don't use BP_SYM.
41826 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41827 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
41828 and <bp-asm.h>.
41829 (__mpn_submul_1): Don't use BP_SYM.
41830 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
41832 <bp-sym.h> and <bp-asm.h>.
41833 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
41834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
41835 <bp-sym.h> and <bp-asm.h>.
41836 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
41837 comment.
41838
41839 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41840
41841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
41842 Use ZK to minimize writes to Z.
41843 (sub_magnitudes): Simplify code a bit.
41844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
41845 Use ZK to minimize writes to Z.
41846 (sub_magnitudes): Simplify code a bit.
41847
41848 2013-02-27 Roland McGrath <roland@hack.frob.com>
41849
41850 * csu/gmon-start.c: Add special exception to license text.
41851
41852 2013-02-27 Richard Henderson <rth@redhat.com>
41853
41854 * scripts/config.guess: Update from config.git.
41855 * scripts/config.sub: Likewise.
41856
41857 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41858
41859 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
41860
41861 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
41862
41863 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
41864
41865 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
41866
41867 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
41868
41869 2013-02-26 Roland McGrath <roland@hack.frob.com>
41870
41871 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
41872 [$(build-shared = yes].
41873
41874 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41875
41876 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
41877 (__mul): Reduce iterations for calculating mantissa.
41878
41879 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
41880 MPTWO.
41881 (__mpranred): Likewise.
41882
41883 [BZ #15160]
41884 * malloc/memusagestat.c (main): Draw graphs for heap and stack
41885 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
41886
41887 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
41888
41889 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
41890 Define __attribute__.
41891
41892 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41893
41894 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
41895 unused.
41896 * posix/regex_internal.h (__attribute): Remove.
41897 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
41898 (re_string_context_at): Likewise.
41899 (bitset_not): Use __attribute__ and mark function as possibly
41900 unused.
41901 (bitset_merge): Likewise.
41902 (bitset_mask): Likewise.
41903 (re_string_char_size_at): Likewise.
41904 (re_string_wchar_at): Likewise.
41905 (re_string_elem_size_at): Likewise.
41906
41907 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41908
41909 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
41910 code.
41911 (cc32): Likewise.
41912
41913 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
41914 (__acr): Likewise.
41915 (__cpy): Likewise.
41916 (norm): Likewise.
41917 (denorm): Likewise.
41918 (__dbl_mp): Likewise.
41919 (add_magnitudes): Likewise.
41920 (sub_magnitudes): Likewise.
41921 (__mul): Likewise.
41922 (__inv): Likewise.
41923
41924 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
41925 style.
41926
41927 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
41928 style.
41929
41930 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
41931 code.
41932
41933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
41934 up changes with default code.
41935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
41936 Likewise.
41937
41938 2013-02-24 Allan McRae <allan@archlinux.org>
41939
41940 * manual/socket.texi (The Internet Namespace): Order menu items
41941 to match that in the file.
41942
41943 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
41944 node listing of the info page menu.
41945
41946 2013-02-21 Joseph Myers <joseph@codesourcery.com>
41947
41948 [BZ #13550]
41949 * sysdeps/i386/bp-asm.h: Remove file.
41950 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
41951 (PARMS): Do not use macros from bp-asm.h.
41952 (S1): Likewise.
41953 (S2): Likewise.
41954 (SIZE): Likewise.
41955 (__mpn_add_n): Do not use BP_SYM
41956 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
41957 "bp-asm.h".
41958 (PARMS): Do not use macros from bp-asm.h.
41959 (S1): Likewise.
41960 (SIZE): Likewise.
41961 (__mpn_addmul_1): Do not use BP_SYM
41962 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
41963 "bp-asm.h".
41964 (PARMS): Do not use macros from bp-asm.h.
41965 (SIGMSK): Likewise.
41966 (_setjmp): Likewise. Do not use BP_SYM.
41967 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
41968 "bp-asm.h".
41969 (PARMS): Do not use macros from bp-asm.h.
41970 (SIGMSK): Likewise.
41971 (setjmp): Likewise. Do not use BP_SYM.
41972 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
41973 "bp-asm.h".
41974 (PARMS): Do not use macros from bp-asm.h.
41975 (__frexp): Do not use BP_SYM.
41976 (frexp): Likewise.
41977 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
41978 "bp-asm.h".
41979 (PARMS): Do not use macros from bp-asm.h.
41980 (__frexpf): Do not use BP_SYM.
41981 (frexpf): Likewise.
41982 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
41983 "bp-asm.h".
41984 (PARMS): Do not use macros from bp-asm.h.
41985 (__frexpl): Do not use BP_SYM.
41986 (frexpl): Likewise.
41987 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
41988 "bp-asm.h".
41989 (PARMS): Do not use macros from bp-asm.h.
41990 (__remquo): Do not use BP_SYM.
41991 (remquo): Likewise.
41992 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
41993 "bp-asm.h".
41994 (PARMS): Do not use macros from bp-asm.h.
41995 (__remquof): Do not use BP_SYM.
41996 (remquof): Likewise.
41997 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
41998 "bp-asm.h".
41999 (PARMS): Do not use macros from bp-asm.h.
42000 (__remquol): Do not use BP_SYM.
42001 (remquol): Likewise.
42002 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
42003 "bp-asm.h".
42004 (PARMS): Do not use macros from bp-asm.h.
42005 (DEST): Likewise.
42006 (SRC): Likewise.
42007 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
42008 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
42009 "bp-asm.h".
42010 (PARMS): Do not use macros from bp-asm.h.
42011 (strlen): Do not use BP_SYM.
42012 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
42013 "bp-asm.h".
42014 (PARMS): Do not use macros from bp-asm.h.
42015 (S1): Likewise.
42016 (S2): Likewise.
42017 (SIZE): Likewise.
42018 (__mpn_add_n): Do not use BP_SYM.
42019 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
42020 "bp-asm.h".
42021 (PARMS): Do not use macros from bp-asm.h.
42022 (S1): Likewise.
42023 (SIZE): Likewise.
42024 (__mpn_addmul_1): Do not use BP_SYM.
42025 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
42026 weak_alias.
42027 (bzero): Likewise.
42028 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
42029 "bp-asm.h".
42030 (PARMS): Do not use macros from bp-asm.h.
42031 (S): Likewise.
42032 (SIZE): Likewise.
42033 (__mpn_lshift): Do not use BP_SYM.
42034 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
42035 "bp-asm.h".
42036 (PARMS): Do not use macros from bp-asm.h.
42037 (DEST): Likewise.
42038 (SRC): Likewise.
42039 (LEN): Likewise.
42040 (memcpy): Likewise. Do not use BP_SYM.
42041 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
42042 libc_hidden_def and weak_alias.
42043 (mempcpy): Do not use BP_SYM in weak_alias.
42044 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
42045 "bp-asm.h".
42046 (PARMS): Do not use macros from bp-asm.h.
42047 (DEST): Likewise.
42048 (LEN): Likewise.
42049 [!BZERO_P] (CHR): Likewise.
42050 (memset): Likewise. Do not use BP_SYM.
42051 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
42052 "bp-asm.h".
42053 (PARMS): Do not use macros from bp-asm.h.
42054 (S1): Likewise.
42055 (SIZE): Likewise.
42056 (__mpn_mul_1): Do not use BP_SYM.
42057 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
42058 "bp-asm.h".
42059 (PARMS): Do not use macros from bp-asm.h.
42060 (S): Likewise.
42061 (SIZE): Likewise.
42062 (__mpn_rshift): Do not use BP_SYM.
42063 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
42064 "bp-asm.h".
42065 (PARMS): Do not use macros from bp-asm.h.
42066 (STR): Likewise.
42067 (CHR): Likewise.
42068 (strchr): Likewise. Do not use BP_SYM.
42069 (index): Do not use BP_SYM in weak_alias.
42070 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
42071 "bp-asm.h".
42072 (PARMS): Do not use macros from bp-asm.h.
42073 (DEST): Likewise.
42074 (SRC): Likewise.
42075 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
42076 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
42077 "bp-asm.h".
42078 (PARMS): Do not use macros from bp-asm.h.
42079 (strlen): Do not use BP_SYM.
42080 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
42081 "bp-asm.h".
42082 (PARMS): Do not use macros from bp-asm.h.
42083 (S1): Likewise.
42084 (S2): Likewise.
42085 (SIZE): Likewise.
42086 (__mpn_sub_n): Do not use BP_SYM.
42087 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
42088 "bp-asm.h".
42089 (PARMS): Do not use macros from bp-asm.h.
42090 (S1): Likewise.
42091 (SIZE): Likewise.
42092 (__mpn_submul_1): Do not use BP_SYM.
42093 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
42094 "bp-asm.h".
42095 (PARMS): Do not use macros from bp-asm.h.
42096 (S1): Likewise.
42097 (S2): Likewise.
42098 (SIZE): Likewise.
42099 (__mpn_add_n): Do not use BP_SYM.
42100 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
42101 weak_alias.
42102 (bzero): Likewise.
42103 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
42104 "bp-asm.h".
42105 (PARMS): Do not use macros from bp-asm.h.
42106 (BLK2): Likewise.
42107 (LEN): Likewise.
42108 (memcmp): Do not use BP_SYM.
42109 (bcmp): Do not use BP_SYM in weak_alias.
42110 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
42111 "bp-asm.h".
42112 (PARMS): Do not use macros from bp-asm.h.
42113 (DEST): Likewise.
42114 (SRC): Likewise.
42115 (LEN): Likewise.
42116 (memcpy): Likewise. Do not use BP_SYM.
42117 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
42118 "bp-asm.h".
42119 (PARMS): Do not use macros from bp-asm.h.
42120 (DEST): Likewise.
42121 (SRC): Likewise.
42122 (LEN): Likewise.
42123 (memmove): Likewise. Do not use BP_SYM.
42124 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
42125 "bp-asm.h".
42126 (PARMS): Do not use macros from bp-asm.h.
42127 (DEST): Likewise.
42128 (SRC): Likewise.
42129 (LEN): Likewise.
42130 (__mempcpy): Likewise. Do not use BP_SYM.
42131 (mempcpy): Do not use BP_SYM in weak_alias.
42132 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
42133 "bp-asm.h".
42134 (PARMS): Do not use macros from bp-asm.h.
42135 (DEST): Likewise.
42136 (LEN): Likewise.
42137 [!BZERO_P] (CHR): Likewise.
42138 (memset): Likewise. Do not use BP_SYM.
42139 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
42140 "bp-asm.h".
42141 (PARMS): Do not use macros from bp-asm.h.
42142 (STR2): Likewise.
42143 (strcmp): Do not use BP_SYM.
42144 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
42145 "bp-asm.h".
42146 (PARMS): Do not use macros from bp-asm.h.
42147 (STR): Likewise.
42148 (DELIM): Likewise.
42149 [USE_AS_STRTOK_R] (SAVE): Likewise.
42150 (FUNCTION): Likewise. Do not use BP_SYM.
42151 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
42152 aliases.
42153 (strtok_r): Likewise.
42154 (__GI___strtok_r): Likewise.
42155 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
42156 (PARMS): Do not use macros from bp-asm.h.
42157 (S): Likewise.
42158 (SIZE): Likewise.
42159 (__mpn_lshift): Do not use BP_SYM.
42160 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
42161 (PARMS): Do not use macros from bp-asm.h.
42162 (STR): Likewise.
42163 (CHR): Likewise.
42164 (__memchr): Do not use BP_SYM.
42165 (memchr): Do not use BP_SYM in weak_alias.
42166 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
42167 (PARMS): Do not use macros from bp-asm.h.
42168 (BLK2): Likewise.
42169 (LEN): Likewise.
42170 (memcmp): Do not use BP_SYM.
42171 (bcmp): Do not use BP_SYM in weak_alias.
42172 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
42173 (PARMS): Do not use macros from bp-asm.h.
42174 (S1): Likewise.
42175 (SIZE): Likewise.
42176 (__mpn_mul_1): Do not use BP_SYM.
42177 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
42178 "bp-asm.h".
42179 (PARMS): Do not use macros from bp-asm.h.
42180 (STR): Likewise.
42181 (CHR): Likewise.
42182 (__rawmemchr): Do not use BP_SYM.
42183 (rawmemchr): Do not use BP_SYM in weak_alias.
42184 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
42185 (PARMS): Do not use macros from bp-asm.h.
42186 (S): Likewise.
42187 (SIZE): Likewise.
42188 (__mpn_rshift): Do not use BP_SYM.
42189 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
42190 (PARMS): Do not use macros from bp-asm.h.
42191 (SIGMSK): Likewise.
42192 (__sigsetjmp): Likewise. Do not use BP_SYM.
42193 * sysdeps/i386/start.S: Do not include "bp-sym.h".
42194 (_start): Do not use BP_SYM.
42195 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
42196 (PARMS): Do not use macros from bp-asm.h.
42197 (DEST): Likewise.
42198 (SRC): Likewise.
42199 (__stpcpy): Likewise. Do not use BP_SYM.
42200 (stpcpy): Do not use BP_SYM in weak_alias.
42201 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
42202 "bp-asm.h".
42203 (PARMS): Do not use macros from bp-asm.h.
42204 (DEST): Likewise.
42205 (SRC): Likewise.
42206 (LEN): Likewise.
42207 (__stpncpy): Likewise. Do not use BP_SYM.
42208 (stpncpy): Do not use BP_SYM in weak_alias.
42209 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
42210 (PARMS): Do not use macros from bp-asm.h.
42211 (STR): Likewise.
42212 (CHR): Likewise.
42213 (strchr): Likewise. Do not use BP_SYM.
42214 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
42215 "bp-asm.h".
42216 (PARMS): Do not use macros from bp-asm.h.
42217 (STR): Likewise.
42218 (CHR): Likewise.
42219 (__strchrnul): Likewise. Do not use BP_SYM.
42220 (strchrnul): Do not use BP_SYM in weak_alias.
42221 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
42222 "bp-asm.h".
42223 (PARMS): Do not use macros from bp-asm.h.
42224 (STOP): Likewise.
42225 (strcspn): Do not use BP_SYM.
42226 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
42227 "bp-asm.h".
42228 (PARMS): Do not use macros from bp-asm.h.
42229 (STR): Likewise.
42230 (STOP): Likewise.
42231 (strpbrk): Likewise. Do not use BP_SYM.
42232 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
42233 "bp-asm.h".
42234 (PARMS): Do not use macros from bp-asm.h.
42235 (STR): Likewise.
42236 (CHR): Likewise.
42237 (strrchr): Likewise. Do not use BP_SYM.
42238 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
42239 (PARMS): Do not use macros from bp-asm.h.
42240 (SKIP): Likewise.
42241 (strspn): Do not use BP_SYM.
42242 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
42243 (PARMS): Do not use macros from bp-asm.h.
42244 (STR): Likewise.
42245 (DELIM): Likewise.
42246 (SAVE): Likewise.
42247 (FUNCTION): Likewise. Do not use BP_SYM.
42248 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
42249 aliases.
42250 (strtok_r): Likewise.
42251 (__GI___strtok_r): Likewise.
42252 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
42253 (PARMS): Do not use macros from bp-asm.h.
42254 (S1): Likewise.
42255 (S2): Likewise.
42256 (SIZE): Likewise.
42257 (__mpn_sub_n): Do not use BP_SYM.
42258 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
42259 "bp-asm.h".
42260 (PARMS): Do not use macros from bp-asm.h.
42261 (S1): Likewise.
42262 (SIZE): Likewise.
42263 (__mpn_submul_1): Do not use BP_SYM.
42264 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
42265 <bp-sym.h>.
42266 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
42267 and <bp-asm.h>.
42268 (PARMS): Do not use macros from bp-asm.h.
42269 (FLAGS): Likewise.
42270 (PTID): Likewise.
42271 (TLS): Likewise.
42272 (CTID): Likewise.
42273 (__clone): Do not use BP_SYM.
42274 (clone): Do not use BP_SYM in weak_alias.
42275 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
42276 and <bp-asm.h>.
42277 (PARMS): Do not use macros from bp-asm.h.
42278 (LEN): Likewise.
42279 (__mmap64): Do not use BP_SYM.
42280 (mmap64): Do not use BP_SYM in weak_alias.
42281 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42282 <bp-sym.h> and <bp-asm.h>.
42283 (PARMS): Do not use macros from bp-asm.h.
42284 (__posix_fadvise64_l64): Do not use BP_SYM.
42285 * sysdeps/unix/sysv/linux/i386/semtimedop.S
42286 (PARMS): Do not use macros from bp-asm.h.
42287 (NSOPS): Likewise.
42288 (semtimedop): Do not use BP_SYM.
42289 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
42290 and <bp-asm.h>.
42291
42292 2013-02-21 Allan McRae <allan@archlinux.org>
42293
42294 * manual/message.texi (Charset conversion in gettext):
42295 Move @end statement to beginning of line.
42296
42297 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
42298
42299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
42300 static.
42301 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42302 Likewise.
42303
42304 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
42305 (denorm): Likewise.
42306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
42307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
42308
42309 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42310
42311 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
42312 tail-call to the resolved function if pltexit isn't needed.
42313
42314 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
42315
42316 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
42317 or Y being zero as being unlikely.
42318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
42319 Likewise.
42320
42321 2013-02-20 Carlos O'Donell <carlos@redhat.com>
42322
42323 * manual/nss.texi (System Databases and Name Service Switch):
42324 Remove frobnicate @pxref.
42325
42326 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
42327
42328 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
42329 __attribute__ ((unused)) to __attribute__ ((__unused__)).
42330
42331 2013-02-20 Petr Machata <pmachata@redhat.com>
42332
42333 * elf/elf.h (R_ARM_TARGET1): New macro.
42334 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
42335 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
42336 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
42337 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
42338 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
42339 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
42340 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
42341 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
42342 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
42343 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
42344 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
42345 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
42346 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
42347 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
42348 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
42349 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
42350 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
42351 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
42352 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
42353 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
42354 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
42355 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
42356 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
42357 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
42358 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
42359 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
42360 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
42361 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
42362 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
42363 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
42364 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
42365 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
42366 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
42367 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
42368 (R_ARM_THM_GOT_BREL12): Likewise.
42369 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
42370 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
42371 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
42372 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
42373 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
42374 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
42375 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
42376 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
42377 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
42378
42379 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
42380
42381 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
42382 __attribute_used__ to __attribute__ ((unused)).
42383
42384 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
42385
42386 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
42387 powerpc mpa.c.
42388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
42389 comment formatting.
42390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
42391
42392 2013-02-19 Joseph Myers <joseph@codesourcery.com>
42393
42394 [BZ #13550]
42395 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
42396 Remove macro.
42397 (ENTER): Remove both macro definitions.
42398 (LEAVE): Likewise.
42399 (CHECK_BOUNDS_LOW): Likewise.
42400 (CHECK_BOUNDS_HIGH): Likewise.
42401 (CHECK_BOUNDS_BOTH): Likewise.
42402 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
42403 (RETURN_BOUNDED_POINTER): Likewise.
42404 (RETURN_NULL_BOUNDED_POINTER): Likewise.
42405 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
42406 (POP_ERRNO_LOCATION_RETURN): Likewise.
42407 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
42408 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42409 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
42410 macros.
42411 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42412 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
42413 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
42414 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
42415 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
42416 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
42417 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
42418 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
42419 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
42420 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
42421 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
42422 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
42423 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42424 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
42425 removed macros.
42426 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42427 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
42428 macros.
42429 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42430 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
42431 * sysdeps/i386/i586/memset.S (memset): Likewise.
42432 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
42433 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42434 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
42435 macros.
42436 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42437 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
42438 Change uses of L(2) to L(out).
42439 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
42440 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
42441 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
42442 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42443 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
42444 removed macros.
42445 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42446 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
42447 macros.
42448 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42449 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
42450 (RETURN): Do not use macro LEAVE.
42451 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
42452 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
42453 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
42454 * sysdeps/i386/i686/memset.S (memset): Likewise.
42455 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
42456 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
42457 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42458 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
42459 Likewise.
42460 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42461 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
42462 L(1_2) and L(1_3) into L(1).
42463 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
42464 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
42465 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42466 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
42467 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42468 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
42469 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
42470 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42471 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
42472 macros.
42473 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
42474 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42475 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
42476 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
42477 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
42478 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42479 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
42480 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
42481 * sysdeps/i386/strcspn.S (strcspn): Likewise.
42482 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
42483 * sysdeps/i386/strrchr.S (strrchr): Likewise.
42484 * sysdeps/i386/strspn.S (strspn): Likewise.
42485 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
42486 conditional code.
42487 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42488 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
42489 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
42490 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
42491 L(1_3) into L(1_1).
42492 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
42493 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42494 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
42495 macros.
42496 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42497
42498 2013-02-19 Jakub Jelinek <jakub@redhat.com>
42499
42500 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
42501 macro.
42502
42503 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
42504
42505 * math/atest-exp.c (exp_mpn): Remove ROUND.
42506 * math/atest-exp2.c (exp_mpn): Likewise.
42507 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
42508
42509 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
42510 * stdlib/tst-tls-atexit-lib.c: Likewise.
42511 * stdlib/tst-tls-atexit.c: Likewise.
42512
42513 2013-02-18 Mike Frysinger <vapier@gentoo.org>
42514
42515 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
42516 and __attribute_alloc_size__.
42517
42518 2013-02-18 Mike Frysinger <vapier@gentoo.org>
42519
42520 * include/programs/xmalloc.h: Change __attribute_alloc_size to
42521 __attribute_alloc_size__.
42522 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
42523 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
42524
42525 2013-02-18 Mike Frysinger <vapier@gentoo.org>
42526
42527 * include/programs/xmalloc.h: New file.
42528 * catgets/gencat.c: Include it.
42529 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
42530 * elf/pldd.c: Likewise.
42531 * iconv/iconv_charmap.c: Likewise.
42532 * iconv/iconvconfig.c: Likewise.
42533 * iconv/strtab.c: Likewise.
42534 * locale/programs/locale.c: Likewise.
42535 * locale/programs/localedef.h: Likewise.
42536 * locale/programs/simple-hash.c: Likewise.
42537 * nscd/nscd.h: Likewise.
42538 * nss/makedb.c: Likewise.
42539 * sysdeps/generic/ldconfig.h: Likewise.
42540
42541 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
42542
42543 * Versions.def: Add GLIBC_2.18.
42544 * include/link.h (struct link_map): New member l_tls_dtor_count.
42545 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
42546 (__call_tls_dtors): Likewise.
42547 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
42548 __cxa_thread_atexit_impl.
42549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42550 Likewise.
42551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42552 Likewise.
42553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42554 Likewise.
42555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42556 Likewise.
42557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
42559 Likewise.
42560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
42561 Likewise.
42562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42564 Likewise.
42565 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
42566 (tests): Add test case tst-tls-atexit.
42567 (modules-names): Add shared library for tst-tls-atexit.
42568 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
42569 (GLIBC_PRIVATE): Add __call_tls_dtors.
42570 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
42571 for libstdc++.
42572 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
42573 * stdlib/tst-tls-atexit.c: New test case.
42574 * stdlib/tst-tls-atexit-lib.c: New test case.
42575
42576 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
42577
42578 * elf/Versions (ld): Add _dl_find_dso_for_object.
42579 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
42580 * elf/dl-open.c (_dl_find_dso_for_object): New function.
42581 (dl_open_worker): Use _dl_find_dso_for_object.
42582 * elf/dl-sym.c (do_sym): Likewise.
42583 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
42584
42585 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42586
42587 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
42588 Syntactic changes only.
42589 (_dl_runtime_profile): Do a tail-call to the resolved function.
42590
42591 2013-02-17 Joseph Myers <joseph@codesourcery.com>
42592
42593 [BZ #13550]
42594 * sysdeps/x86_64/bp-asm.h: Remove file.
42595 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
42596 <bp-sym.h> and <bp-asm.h>.
42597 (__clone): Do not use BP_SYM.
42598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
42599 <bp-sym.h> and <bp-asm.h>.
42600 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42601 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
42602 "bp-asm.h".
42603 (_setjmp): Do not use BP_SYM.
42604 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
42605 "bp-asm.h".
42606 (setjmp): Do not use BP_SYM.
42607 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
42608 libc_hidden_def.
42609 (mempcpy): Do not use BP_SYM in weak_alias.
42610 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
42611 "bp-asm.h".
42612 (strchr): Do not use BP_SYM.
42613 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
42614 "bp-asm.h".
42615 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
42616 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
42617 (_start): Do not use BP_SYM.
42618 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
42619 "bp-asm.h".
42620 (strcat): Do not use BP_SYM.
42621 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
42622 "bp-asm.h".
42623 (STRCMP): Do not use BP_SYM.
42624 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
42625 "bp-asm.h".
42626 (STRCPY): Do not use BP_SYM.
42627 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
42628 "bp-asm.h".
42629 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
42630 "bp-asm.h".
42631 (FUNCTION): Do not use BP_SYM.
42632 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
42633 weak_alias.
42634 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
42635
42636 2013-02-17 Andreas Jaeger <aj@suse.de>
42637
42638 * time/Versions: Sort entries.
42639 * string/Versions: Likewise.
42640 * resolv/Versions: Likewise.
42641 * posix/Versions: Likewise.
42642 * iconv/Versions: Likewise.
42643 * elf/Versions: Likewise.
42644 * wcsmbs/Versions: Likewise.
42645
42646 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
42647
42648 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
42649 loop termination condition.
42650
42651 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
42652 variable to calculate EZ.
42653 (__sqr): Likewise.
42654
42655 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
42656 the lower precision input.
42657
42658 2013-02-15 Joseph Myers <joseph@codesourcery.com>
42659
42660 [BZ #13550]
42661 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
42662 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
42663 (run-via-rtld-prefix): Do not handle %-bp tests.
42664 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
42665 (all-object-suffixes): Remove .ob.
42666 (bppfx): Remove variable.
42667 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
42668 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
42669 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
42670 [$(build-bounded) = yes] (libtype.ob): Likewise.
42671 * Makerules (elide-routines.ob): Remove variable.
42672 (do-tests-clean): Do not handle *-bp.out.
42673 (common-mostlyclean): Do not handle *-bp and *-bp.out.
42674 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
42675 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
42676 (tests): Do not include $(tests-bp.out).
42677 (xtests): Do not include $(xtests-bp.out).
42678 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
42679 [$(build-bounded) = yes] ($(addprefix
42680 $(objpfx),$(binaries-bounded))): Remove rule.
42681 ($(objpfx)%-bp.out): Remove rule.
42682 * config.make.in (build-bounded): Remove variable.
42683 * crypt/Makefile [$(build-bounded) = yes]
42684 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
42685 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
42686 append to variable.
42687 [$(build-bounded) = yes] (install-lib): Likewise.
42688 [$(build-bounded) = yes] (generated): Likewise.
42689 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
42690 Remove rule.
42691 * intl/Makefile [$(build-bounded) = yes]
42692 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
42693 * math/Makefile [$(build-bounded) = yes]
42694 ($(tests:%=$(objpfx)%-bp): Likewise.
42695 * misc/Makefile [$(build-bounded) = yes]
42696 ($(objpfx)tst-tsearch-bp): Likewise.
42697 * nptl/Makeconfig (bounded-thread-library): Remove variable.
42698 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
42699 Remove dependency.
42700 * string/Makefile (o-objects.ob): Remove variable.
42701 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
42702 (CFLAGS-.ob): Remove variable.
42703 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
42704 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
42705 both definitions of variable.
42706 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
42707 (ASFLAGS-.ob): Remove variable.
42708
42709 2013-02-14 Joseph Myers <joseph@codesourcery.com>
42710
42711 [BZ #13550]
42712 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
42713 Remove __BOUNDED_POINTERS__ from condition.
42714 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
42715 * string/bits/string2.h [!__NO_STRING_INLINES &&
42716 !__BOUNDED_POINTERS__]: Likewise.
42717 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
42718 Likewise.
42719 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
42720 Remove conditional code.
42721 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
42722 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
42723 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
42724 condition.
42725
42726 [BZ #13550]
42727 * csu/libc-start.c: Do not include <bp-sym.h>.
42728 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
42729 * elf/dl-open.c: Do not include <bp-sym.h>.
42730 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
42731 * math/fegetenv.c: Do not include <bp-sym.h>.
42732 (fegetenv): Do not use BP_SYM in versioned symbols.
42733 * nptl/sysdeps/pthread/bits/libc-lockP.h
42734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
42735 <bp-sym.h>.
42736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42737 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
42738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42739 (__pthread_mutex_destroy): Likewise.
42740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42741 (__pthread_mutex_lock): Likewise.
42742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42743 (__pthread_mutex_trylock): Likewise.
42744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42745 (__pthread_mutex_unlock): Likewise.
42746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42747 (__pthread_mutexattr_init): Likewise.
42748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42749 (__pthread_mutexattr_destroy): Likewise.
42750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42751 (__pthread_mutexattr_settype): Likewise.
42752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42753 (__pthread_rwlock_init): Likewise.
42754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42755 (__pthread_rwlock_destroy): Likewise.
42756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42757 (__pthread_rwlock_rdlock): Likewise.
42758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42759 (__pthread_rwlock_tryrdlock): Likewise.
42760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42761 (__pthread_rwlock_wrlock): Likewise.
42762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42763 (__pthread_rwlock_trywrlock): Likewise.
42764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42765 (__pthread_rwlock_unlock): Likewise.
42766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42767 (__pthread_key_create): Likewise.
42768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42769 (__pthread_setspecific): Likewise.
42770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42771 (__pthread_getspecific): Likewise.
42772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
42773 Likewise.
42774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42775 (_pthread_cleanup_push_defer): Likewise.
42776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42777 (_pthread_cleanup_pop_restore): Likewise.
42778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
42779 (pthread_setcancelstate): Likewise.
42780 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
42781 <bp-sym.h>.
42782 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
42783 (memchr): Do not use BP_SYM in weak_alias.
42784 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
42785 (fegetenv): Do not use BP_SYM in versioned symbols.
42786 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
42787 (fesetenv): Do not use BP_SYM in versioned symbols.
42788 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
42789 (feupdateenv): Do not use BP_SYM in versioned symbols.
42790 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
42791 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
42792 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
42793 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
42794 (open64): Do not use BP_SYM in weak_alias.
42795 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
42796 (fegetenv): Do not use BP_SYM in versioned symbols.
42797 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
42798 (fesetenv): Do not use BP_SYM in versioned symbols.
42799 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
42800 (feupdateenv): Do not use BP_SYM in versioned symbols.
42801 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
42802 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
42803 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
42804 (feraiseexcept): Do not use BP_SYM in versioned symbols.
42805 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
42806 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
42807 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
42808 <bp-sym.h>.
42809 (__libc_start_main): Do not use BP_SYM.
42810
42811 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
42812
42813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
42814 redundant return line.
42815 (norm): Likewise.
42816 (denorm): Likewise.
42817 (dbl_mp): Likewise.
42818 (sub_magnitudes): Likewise.
42819 (__add): Likewise.
42820 (__sub): Likewise.
42821 (__mul): Likewise.
42822 (__inv): Likewise.
42823 (__dvd): Likewise.
42824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
42825 (norm): Likewise.
42826 (denorm): Likewise.
42827 (dbl_mp): Likewise.
42828 (sub_magnitudes): Likewise.
42829 (__add): Likewise.
42830 (__sub): Likewise.
42831 (__mul): Likewise.
42832 (__inv): Likewise.
42833 (__dvd): Likewise.
42834
42835 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
42836 instead of __mul.
42837 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42838 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
42839 (cc32): Likewise.
42840
42841 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
42842 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
42843 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
42844 of __mul for squares.
42845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
42846 function
42847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
42848 Likewise.
42849 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
42850 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42851
42852 2013-02-13 Joseph Myers <joseph@codesourcery.com>
42853
42854 [BZ #13550]
42855 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
42856 code.
42857 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
42858 prototype or function definition. Rename ubp_* variables and
42859 parameters. Remove argv definitions conditional on
42860 [__BOUNDED_POINTERS__].
42861 * debug/backtrace.c (__backtrace): Do not use __unbounded.
42862 * elf/dl-runtime.c (_dl_fixup): Likewise.
42863 * include/set-hooks.h (RUN_HOOK): Likewise.
42864 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
42865 definition.
42866 * string/strcpy.c (strcpy): Do not use __unbounded.
42867 * sysdeps/generic/frame.h (struct layout): Likewise.
42868 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
42869 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
42870 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
42871 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
42872 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
42873 (__backtrace): Likewise.
42874 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
42875 use __ptrvalue.
42876 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
42877 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
42878 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
42879 Likewise.
42880 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
42881 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
42882 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
42883 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
42884 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
42885 Do not use __unbounded.
42886 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
42887 Rename __unboundedrlimits parameter to rlimits in prototype.
42888 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
42889 Do not use __unbounded.
42890 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
42891 not use __ptrvalue.
42892 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
42893 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
42894 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
42895 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
42896 __ptrvalue or __unbounded.
42897 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
42898 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
42899 use __unbounded.
42900 (__new_msgctl): Do not use __ptrvalue.
42901 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
42902 __unbounded.
42903 (__libc_msgrcv): Do not use __ptrvalue.
42904 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
42905 startup_info): Do not use __unbounded.
42906 (__libc_start_main): Likewise. Rename ubp_* variables and
42907 parameters. Remove argv definitions conditional on
42908 [__BOUNDED_POINTERS__].
42909 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
42910 __ptrvalue.
42911 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
42912 use __unbounded.
42913 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
42914 or __ptrvalue.
42915 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
42916 use __unbounded.
42917 (__new_shmctl): Do not use __ptrvalue.
42918 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
42919 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
42920 Likewise.
42921 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
42922 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
42923 (__libc_sigaction): Likewise.
42924 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
42925 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
42926 Likewise.
42927 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
42928
42929 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
42930
42931 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
42932
42933 * string/mempcpy.c: Implement by calling memcpy.
42934
42935 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
42936
42937 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
42938
42939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
42940 evaluation.
42941
42942 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
42943 values in the mantissa.
42944
42945 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
42946 minimize writes to Z.
42947 (sub_magnitudes): Simplify code a bit.
42948
42949 2013-02-12 Roland McGrath <roland@hack.frob.com>
42950
42951 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
42952 from the message. The linker prefixes all warnings with that already.
42953
42954 2013-02-12 Andreas Schwab <schwab@suse.de>
42955
42956 [BZ #15078]
42957 * posix/regexec.c (extend_buffers): Add parameter min_len.
42958 (check_matching): Pass minimum needed length.
42959 (clean_state_log_if_needed): Likewise.
42960 (get_subexp): Likewise.
42961 * posix/Makefile (tests): Add bug-regex34.
42962 (bug-regex34-ENV): Define.
42963 * posix/bug-regex34.c: New file.
42964
42965 [BZ #11561]
42966 * posix/regcomp.c (parse_bracket_exp): When looking up collating
42967 elements compare against the byte sequence of it, not its name.
42968 * posix/Makefile (tests): Add bug-regex35.
42969 (bug-regex35-ENV): Define.
42970 * posix/bug-regex35.c: New file.
42971
42972 2013-02-11 Tom de Vries <tom@codesourcery.com>
42973
42974 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
42975 comment.
42976 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
42977 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
42978 (CHECK_EOL): Add undef.
42979
42980 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
42981
42982 * bits/stdlib-bsearch.h: New file.
42983 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
42984 * stdlib/stdlib.h: Likewise.
42985
42986 2013-02-11 Roland McGrath <roland@hack.frob.com>
42987
42988 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
42989 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
42990 declaration.
42991 * manual/search.texi (Array Search Function): Add missing const in
42992 lfind prototype.
42993 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
42994 declaration to use rlim_t.
42995 (Basic Scheduling Functions): Remove erroneous const from
42996 sched_getparam prototype. Remove erroneous * from
42997 sched_get_priority_max and sched_get_priority_min prototypes.
42998 (Resource Usage): Fix summary @comment on vtimes to refer to
42999 sys/vtimes.h rather than vtimes.h.
43000 Add missing *s in vtimes prototype.
43001 (Limits on Resources): Fix ulimit prototype to return long int.
43002 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
43003 prototypes to use long int rather than double.
43004 (BSD Random): Fix initstate and setstate to use char *, not void *.
43005 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
43006 prototype to make second argument 'struct aiocb64 *const[]'.
43007 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
43008 (Status of AIO Operations): Remove erroneous const in aio_return and
43009 aio_return64 prototypes.
43010 (Synchronizing I/O): Fix sync prototype to return void.
43011 * manual/startup.texi (Suboptions): Remove an erroneous const in
43012 getsubopt prototype.
43013 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
43014 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
43015 use size_t rather than int.
43016 (Scanning All Users): Likewise for getpwent_r.
43017 (Setting Groups): Add missing const to setgroups prototype.
43018 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
43019 * manual/socket.texi (Host Names): Fix gethostbyaddr and
43020 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
43021 'const void *' rather than 'const char *'.
43022 (Host Address Functions): Likewise for inet_ntop.
43023 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
43024 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
43025 ssize_t for return value.
43026 (Sending Data): Likewise for send, sendto, sendmsg.
43027 (Socket Option Functions): Add a missing const in setsockopt prototype.
43028 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
43029 use wchar_t for the argument.
43030 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
43031 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
43032 take no arguments.
43033 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
43034 double/float/long double for second argument.
43035 Fix return types of significand, significandf, significandl.
43036 * manual/filesys.texi (Setting Permissions): Use mode_t for second
43037 argument in fchmod prototype.
43038 (File Owner): Use uid_t and gid_t in fchown prototype.
43039 (File Times): Add const to utimes, futimes, and lutimes prototypes.
43040 (Making Special Files): Use mode_t and dev_t in mknod prototype.
43041 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
43042 use 'const struct dirent **' as argument types to CMP function pointer
43043 argument.
43044 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
43045 (File Times): Fix summary magic @comment for struct utimbuf and utime
43046 to refer to utime.h, not time.h.
43047 * manual/string.texi (Argz Functions): Add missing const in
43048 argz_extract and argz_next prototypes.
43049 (Finding Tokens in a String): Likewise for basename.
43050 (String/Array Comparison): Fix typo in wcscasecmp prototype.
43051 (Copying and Concatenation): Fix typo in wmemmove prototype.
43052 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
43053 (Signal Stack): Remove erroneous const in sigstack prototype.
43054 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
43055 prototype.
43056 (Simple Calendar Time): Likewise for stime.
43057 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
43058 prototype.
43059 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
43060 say sys/sysctl.h instead.
43061 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
43062 and vsyslog prototypes.
43063
43064 2013-02-11 Tom de Vries <tom@codesourcery.com>
43065
43066 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
43067 Remove.
43068
43069 2013-02-11 Roland McGrath <roland@hack.frob.com>
43070
43071 * misc/sys/mman.h: Fix typo in mremap comment.
43072
43073 2013-02-08 Roland McGrath <roland@hack.frob.com>
43074
43075 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
43076 the '\0' terminator.
43077
43078 2013-02-08 Joseph Myers <joseph@codesourcery.com>
43079
43080 [BZ #13550]
43081 * debug/segfault.c: Don't include <bp-checks.h>.
43082 * sysdeps/generic/bp-checks.h: Remove file.
43083 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
43084 (__GETDENTS): Don't use CHECK_N.
43085 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
43086 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
43087 (__getgroups): Don't use CHECK_N.
43088 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
43089 (setgroups): Don't use CHECK_N.
43090 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
43091 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
43092 (__libc_msgrcv): Don't use CHECK_N.
43093 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
43094 (__libc_msgsnd): Don't use CHECK_N.
43095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
43096 <bp-checks.h>.
43097 (__libc_pread): Don't use CHECK_N.
43098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
43099 include <bp-checks.h>.
43100 (__libc_pread64): Don't use CHECK_N.
43101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
43102 include <bp-checks.h>.
43103 (__libc_pwrite): Don't use CHECK_N.
43104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
43105 include <bp-checks.h>.
43106 (__libc_pwrite64): Don't use CHECK_N.
43107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
43108 <bp-checks.h>.
43109 (__libc_pread): Don't use CHECK_N.
43110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
43111 include <bp-checks.h>.
43112 (__libc_pread64): Don't use CHECK_N.
43113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
43114 include <bp-checks.h>.
43115 (__libc_pwrite): Don't use CHECK_N.
43116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
43117 include <bp-checks.h>.
43118 (__libc_pwrite64): Don't use CHECK_N.
43119 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
43120 (do_pread): Don't use CHECK_N.
43121 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
43122 (do_pread64): Don't use CHECK_N.
43123 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
43124 (do_pwrite): Don't use CHECK_N.
43125 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
43126 (do_pwrite64): Don't use CHECK_N.
43127 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
43128 (__libc_readv): Don't use CHECK_N.
43129 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
43130 (semop): Don't use CHECK_N.
43131 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
43132 <bp-checks.h>.
43133 (semtimedop): Don't use CHECK_N.
43134 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
43135 (__libc_pread): Don't use CHECK_N.
43136 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
43137 <bp-checks.h>.
43138 (__libc_pread64): Don't use CHECK_N.
43139 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
43140 <bp-checks.h>.
43141 (__libc_pwrite): Don't use CHECK_N.
43142 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
43143 <bp-checks.h>.
43144 (__libc_pwrite64): Don't use CHECK_N.
43145 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
43146 <bp-checks.h>.
43147 (__libc_msgrcv): Don't use CHECK_N.
43148 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
43149 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
43150 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
43151 (__libc_writev): Don't use CHECK_N.
43152
43153 2013-02-08 Roland McGrath <roland@hack.frob.com>
43154
43155 * string/strcpy.c: Removed unused variable.
43156
43157 * Makeconfig (+sysdep-includes): Define with := rather than =.
43158 Use an existing include/ subdir of each sysdeps dir before it.
43159
43160 2013-02-08 Carlos O'Donell <carlos@redhat.com>
43161
43162 * nscd/connection.c (register_traced_file): Comment function.
43163 [HAVE_INOTIFY] (union __inev): Define.
43164 [HAVE_INOTIFY] (inotify_check_files): New function.
43165 [HAVE_INOTIFY] (clear_db_cache): Likewise.
43166 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
43167 clear_db_cache.
43168 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
43169
43170 2013-02-08 Carlos O'Donell <carlos@redhat.com>
43171
43172 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
43173 loaded if not already and that a failure is permanent.
43174
43175 2013-02-08 Carlos O'Donell <carlos@redhat.com>
43176
43177 [BZ #15006]
43178 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
43179 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
43180
43181 2013-02-08 Joseph Myers <joseph@codesourcery.com>
43182
43183 [BZ #13550]
43184 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
43185 (CHECK_1_NULL_OK): Likewise.
43186 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
43187 (__fxstat): Do not use CHECK_1.
43188 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
43189 <bp-checks.h>.
43190 (___fxstat64): Do not use CHECK_1.
43191 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43192 <bp-checks.h>.
43193 (__fxstatat): Do not use CHECK_1.
43194 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43195 <bp-checks.h>.
43196 (__fxstatat64): Do not use CHECK_1.
43197 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
43198 <bp-checks.h>.
43199 (__fxstat): Do not use CHECK_1.
43200 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43201 <bp-checks.h>.
43202 (__fxstatat): Do not use CHECK_1.
43203 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43204 <bp-checks.h>.
43205 (__getresgid): Do not use CHECK_1.
43206 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43207 <bp-checks.h>.
43208 (__getresuid): Do not use CHECK_1.
43209 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
43210 <bp-checks.h>.
43211 (__lxstat): Do not use CHECK_1.
43212 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43213 <bp-checks.h>.
43214 (__old_msgctl): Do not use CHECK_1.
43215 (__new_msgctl): Likewise.
43216 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
43217 <bp-checks.h>.
43218 (__new_setrlimit): Do not use CHECK_1.
43219 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43220 <bp-checks.h>.
43221 (__old_shmctl): Do not use CHECK_1.
43222 (__new_shmctl): Likewise.
43223 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
43224 <bp-checks.h>.
43225 (__xstat): Do not use CHECK_1.
43226 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
43227 (__lxstat): Do not use CHECK_1.
43228 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
43229 <bp-checks.h>.
43230 (___lxstat64): Do not use CHECK_1.
43231 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
43232 (__old_msgctl): Do not use CHECK_1.
43233 (__new_msgctl): Likewise.
43234 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
43235 <bp-checks.h>.
43236 (__gettimeofday): Do not use CHECK_1.
43237 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
43238 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
43239 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
43240 <bp-checks.h>.
43241 (__gettimeofday): Do not use CHECK_1.
43242 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
43243 (__old_shmctl): Do not use CHECK_1_NULL_OK.
43244 (__new_shmctl): Do not use CHECK_1.
43245 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
43246 <bp-checks.h>.
43247 (do_sigtimedwait): Do not use CHECK_1.
43248 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
43249 <bp-checks.h>.
43250 (do_sigwaitinfo): Do not use CHECK_1.
43251 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
43252 <bp-checks.h>.
43253 (msgctl): Do not use CHECK_1.
43254 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
43255 <bp-checks.h>.
43256 (shmctl): Do not use CHECK_1.
43257 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
43258 (ustat): Do not use CHECK_1.
43259 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
43260 <bp-checks.h>.
43261 (__fxstat): Do not use CHECK_1.
43262 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
43263 <bp-checks.h>.
43264 (__fxstatat): Do not use CHECK_1.
43265 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
43266 <bp-checks.h>.
43267 (__lxstat): Do not use CHECK_1.
43268 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
43269 <bp-checks.h>.
43270 (__xstat): Do not use CHECK_1.
43271 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
43272 (__xstat): Do not use CHECK_1.
43273 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
43274 (___xstat64): Do not use CHECK_1.
43275
43276 [BZ #13550]
43277 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
43278 definitions.
43279 (CHECK_BOUNDS_HIGH): Likewise.
43280 * string/strcpy.c: Do not include <bp-checks.h>.
43281 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
43282
43283 2013-02-07 Roland McGrath <roland@hack.frob.com>
43284
43285 * nscd/nscd-client.h (__nscd_drop_map_ref):
43286 Add __attribute__ ((unused)).
43287 * nis/nss-nisplus.h (niserr2nss): Likewise.
43288
43289 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
43290 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
43291
43292 * csu/libc-tls.c (init_static_tls, init_slotinfo):
43293 Remove inline keyword.
43294 * include/rounding-mode.h (round_away): Likewise.
43295 * libio/wfileops.c (adjust_wide_data): Likewise.
43296 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
43297 (__m128i_strloadu_tolower): Likewise.
43298 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
43299 (__m128i_strloadu_tolower): Likewise.
43300 * time/mktime.c (ydhms_diff): Likewise.
43301 * locale/elem-hash.h (elem_hash): Likewise.
43302 * locale/setlocale.c (setdata): Likewise.
43303 * posix/regex_internal.h (re_string_char_size_at): Likewise.
43304 (re_string_wchar_at): Likewise.
43305 (bitset_not, bitset_merge, bitset_mask): Likewise.
43306 [!(__GNUC__ > 3)] (inline): Remove macro.
43307 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
43308 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
43309 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
43310 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
43311 * string/memcmp.c (memcmp_bytes): Likewise.
43312 * locale/programs/locarchive.c (compute_hashval): Likewise.
43313 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
43314 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
43315 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
43316 * nss/getent.c (print_rpc, print_protocols): Likewise.
43317 (print_passwd, print_group, print_aliases): Likewise.
43318 * nis/nss-nisplus.h (niserr2nss): Likewise.
43319 * nscd/connections.c (restart_p): Likewise.
43320 Change return type to bool.
43321
43322 2013-02-05 Roland McGrath <roland@hack.frob.com>
43323
43324 * Makeconfig (all-Depend-files): Add existing
43325 $(sorted-subdirs:=/Depend) files.
43326 (all-subdirs): Remove nss.
43327 * sysdeps/unix/inet/Subdirs: Add it here instead.
43328 * hesiod/Depend: New file.
43329
43330 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
43331 instead of calling alloca.
43332
43333 * io/lseek.c (__lseek): Rename to __libc_lseek.
43334 Define __lseek as an alias.
43335
43336 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
43337
43338 2013-02-04 Carlos O'Donell <carlos@redhat.com>
43339
43340 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
43341 else clause and remove check for non-standard endianness.
43342
43343 2013-02-04 David S. Miller <davem@davemloft.net>
43344
43345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43346
43347 2013-02-04 Joseph Myers <joseph@codesourcery.com>
43348
43349 [BZ #13550]
43350 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
43351 (__ubp_memchr): Remove prototype.
43352 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
43353 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
43354 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
43355 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
43356 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
43357 Remove alias.
43358 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
43359 (__ubp_memchr): Likewise.
43360 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
43361 (__ubp_memchr): Likewise.
43362 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
43363 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
43364 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
43365 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
43366 CHECK_STRING.
43367 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
43368 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
43369 (__getcwd): Do not use CHECK_STRING.
43370 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
43371 <bp-checks.h>.
43372 (__real_chown): Do not use CHECK_STRING.
43373 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
43374 <bp-checks.h>.
43375 (fchownat): Do not use CHECK_STRING.
43376 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
43377 CHECK_STRING.
43378 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43379 <bp-checks.h>.
43380 (__lchown): Do not use CHECK_STRING.
43381 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
43382 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
43383 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
43384 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
43385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
43386 include <bp-checks.h>.
43387 (truncate64): Do not use CHECK_STRING.
43388 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
43389 <bp-checks.h>.
43390 (__real_chown): Do not use CHECK_STRING.
43391 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
43392 <bp-checks.h>.
43393 (__lchown): Do not use CHECK_STRING.
43394 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
43395 <bp-checks.h>.
43396 (__chown): Do not use CHECK_STRING.
43397 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
43398 <bp-checks.h>.
43399 (truncate64): Do not use CHECK_STRING.
43400 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
43401 Likewise.
43402 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
43403 (__xmknod): Do not use CHECK_STRING.
43404 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
43405 <bp-checks.h>.
43406 (__xmknodat): Do not use CHECK_STRING.
43407 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
43408 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
43409
43410 2013-02-04 Andreas Schwab <schwab@suse.de>
43411
43412 [BZ #14142]
43413 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
43414 * include/netdb.h: Likewise for h_errno.
43415 * elf/tst-stackguard1.c: Include <tls.h>.
43416
43417 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
43418
43419 * elf/link.h (struct link_map): Extend the l_addr comment.
43420 * include/link.h (struct link_map): Likewise.
43421
43422 2013-02-01 Joseph Myers <joseph@codesourcery.com>
43423
43424 [BZ #13550]
43425 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
43426 (BOUNDED_1): Remove macro.
43427 * debug/backtrace.c: Don't include <bp-checks.h>.
43428 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
43429 (__backtrace): Likewise.
43430 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
43431 <bp-checks.h>.
43432 (__backtrace): Don't use BOUNDED_1.
43433 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
43434 <bp-checks.h>.
43435 (__backtrace): Don't use BOUNDED_1.
43436 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
43437 (__backtrace): Don't use BOUNDED_1.
43438 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
43439 (shmat): Don't use BOUNDED_N.
43440
43441 2013-01-31 Joseph Myers <joseph@codesourcery.com>
43442
43443 [BZ #13550]
43444 * sysdeps/generic/bp-start.h: Remove file.
43445 * csu/libc-start.c: Don't include <bp-start.h>.
43446 (LIBC_START_MAIN): Set up __environ directly instead of using
43447 INIT_ARGV_and_ENVIRON.
43448 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
43449 <bp-start.h>.
43450
43451 [BZ #13550]
43452 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
43453 definitions.
43454 (CHECK_FCNTL): Likewise.
43455 (CHECK_N_PAGES): Likewise.
43456
43457 [BZ #13550]
43458 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
43459 definitions.
43460 (CHECK_SIGSET_NULL_OK): Likewise.
43461 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
43462 <bp-checks.h>.
43463 (sigpending): Don't use CHECK_SIGSET.
43464 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
43465 <bp-checks.h>.
43466 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
43467 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
43468 <bp-checks.h>.
43469 (do_sigsuspend): Don't use CHECK_SIGSET.
43470 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
43471 use CHECK_SIGSET.
43472 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
43473 (do_sigwait): Don't use CHECK_SIGSET.
43474 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
43475 use CHECK_SIGSET.
43476 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
43477 include <bp-checks.h>.
43478 (sigpending): Don't use CHECK_SIGSET.
43479 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
43480 include <bp-checks.h>.
43481 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
43482 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
43483 <bp-checks.h>.
43484 (sigpending): Don't use CHECK_SIGSET.
43485 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
43486 <bp-checks.h>.
43487 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
43488
43489 [BZ #13550]
43490 * sysdeps/generic/bp-semctl.h: Remove file.
43491 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
43492 <bp-checks.h> and <bp-semctl.h>.
43493 (__old_semctl): Don't use CHECK_SEMCTL.
43494 (__new_semctl): Likewise.
43495 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
43496 and <bp-semctl.h>.
43497 (__old_semctl): Don't use CHECK_SEMCTL.
43498 (__new_semctl): Likewise.
43499 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
43500 <bp-checks.h> and <bp-semctl.h>.
43501 (__old_semctl): Don't use CHECK_SEMCTL.
43502 (__new_semctl): Likewise.
43503 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
43504 <bp-checks.h> and <bp-semctl.h>.
43505 (semctl): Don't use CHECK_SEMCTL.
43506
43507 [BZ #13550]
43508 * Makerules (elide-bp-thunks): Remove variable.
43509 (elide-routines.oS): Don't use $(elide-bp-thunks).
43510 (elide-routines.os): Likewise.
43511 (elide-routines.o): Likewise.
43512 (elide-routines.op): Likewise.
43513 (elide-routines.og): Likewise.
43514 (objects): Don't use $(bp-thunks).
43515 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
43516 include.
43517 (common-generated): Do not add s-proto-bp.d.
43518 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
43519 (int): Likewise.
43520 (typ): Likewise.
43521 Do not generate makefile rules for bounded-pointer thunks.
43522 * sysdeps/generic/bp-thunks.h: Remove file.
43523 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
43524 * sysdeps/unix/s-proto-bp.S: Likewise.
43525
43526 [BZ #15062]
43527 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
43528 parts of result separately when argument is not close to line from
43529 -i to i and one part of argument is small.
43530 * math/k_casinhf.c (__kernel_casinhf): Likewise.
43531 * math/k_casinhl.c (__kernel_casinhl): Likewise.
43532 * math/libm-test.inc (cacos_test): Add more tests.
43533 (casin_test): Likewise.
43534 (casinh_test): Likewise.
43535 * sysdeps/i386/fpu/libm-test-ulps: Update.
43536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43537
43538 2013-01-31 David S. Miller <davem@davemloft.net>
43539
43540 * po/de.po: Update from translation team.
43541
43542 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
43543
43544 * time/tzfile.c: Include stdint.h for SIZE_MAX.
43545
43546 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
43547
43548 * configure.in (_AC_PROG_CC_C89): New definition.
43549 * configure: Regenerate.
43550
43551 * configure.in (AC_PROG_CPP): New definition.
43552 * configure: Regenerate.
43553
43554 2013-01-23 Joseph Myers <joseph@codesourcery.com>
43555
43556 * debug/tst-backtrace.h: New file.
43557 * debug/tst-backtrace2.c: Include tst-backtrace.h.
43558 (ret): Remove variable.
43559 (x): Likewise.
43560 (FAIL): Remove macro.
43561 (NO_INLINE): Likewise.
43562 (fn1): Use match function instead of strstr.
43563 * debug/tst-backtrace3.c: Include tst-backtrace.h.
43564 (ret): Remove variable.
43565 (x): Likewise.
43566 (FAIL): Remove macro.
43567 (NO_INLINE): Likewise.
43568 (fn): Use match function instead of strstr.
43569 * debug/tst-backtrace4.c: Include tst-backtrace.h.
43570 (ret): Remove variable.
43571 (x): Likewise.
43572 (FAIL): Remove macro.
43573 (NO_INLINE): Likewise.
43574 (handle_signal): Use match function instead of strstr.
43575 * debug/tst-backtrace5.c: Include tst-backtrace.h.
43576 (ret): Remove variable.
43577 (x): Likewise.
43578 (FAIL): Remove macro.
43579 (NO_INLINE): Likewise.
43580 (handle_signal): Use match function instead of strstr.
43581
43582 2013-01-23 Roland McGrath <roland@hack.frob.com>
43583
43584 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
43585
43586 2013-01-23 David S. Miller <davem@davemloft.net>
43587
43588 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
43589 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
43590 argument of CAS if possible.
43591 * sysdeps/sparc/sparc64/bits/atomic.h
43592 (__arch_compare_and_exchange_val_32_acq): Likewise.
43593 (__arch_compare_and_exchange_val_64_acq): Likewise.
43594
43595 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
43596
43597 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
43598 * sysdeps/posix/ulimit.c: ... this.
43599 Include <limits.h>.
43600 * sysdeps/unix/bsd/ulimit.c: Remove file.
43601
43602 2013-01-23 Adam Conrad <adconrad@0c3.net>
43603
43604 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
43605 (LDFLAGS-tst-array5): Likewise.
43606
43607 2013-01-23 Joseph Myers <joseph@codesourcery.com>
43608
43609 [BZ #15036]
43610 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
43611 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
43612 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
43613 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
43614
43615 2013-01-21 David S. Miller <davem@davemloft.net>
43616
43617 * sysdeps/sparc/backtrace.c: New file.
43618 * sysdeps/sparc/sparc32/backtrace.h: New file.
43619 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
43620 * sysdeps/sparc/sparc64/backtrace.h: New file.
43621 * sysdeps/sparc/sparc64/backtrace.c: Delete.
43622 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
43623 -funwind-tables.
43624
43625 2013-01-21 Andreas Schwab <schwab@suse.de>
43626
43627 [BZ #15020]
43628 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
43629 closed its stdout.
43630
43631 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
43632
43633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
43634 "mpa2.h".
43635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43636
43637 2013-01-18 Joseph Myers <joseph@codesourcery.com>
43638 Mark Mitchell <mark@codesourcery.com>
43639 Tom de Vries <tom@codesourcery.com>
43640 Paul Pluzhnikov <ppluzhnikov@google.com>
43641
43642 * debug/tst-backtrace2.c: New file.
43643 * debug/tst-backtrace3.c: Likewise.
43644 * debug/tst-backtrace4.c: Likewise.
43645 * debug/tst-backtrace5.c: Likewise.
43646 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
43647 (CFLAGS-tst-backtrace3.c): Likewise.
43648 (CFLAGS-tst-backtrace4.c): Likewise.
43649 (CFLAGS-tst-backtrace5.c): Likewise.
43650 (LDFLAGS-tst-backtrace2): Likewise.
43651 (LDFLAGS-tst-backtrace3): Likewise.
43652 (LDFLAGS-tst-backtrace4): Likewise.
43653 (LDFLAGS-tst-backtrace5): Likewise.
43654 (tests): Add new tests tst-backtrace2, tst-backtrace3,
43655 tst-backtrace4 and tst-backtrace5.
43656
43657 2013-01-18 Anton Blanchard <anton@samba.org>
43658 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43659
43660 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
43661 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
43662 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
43663 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
43664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
43665 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
43666 "+r" and remove output regs list as redundant. Add explicit inline
43667 asm to specify register of return val to work around compiler codegen
43668 bug. Remove (int) cast on return value. Add return type parameter to
43669 use in macro so that this macro does not truncate return value for
43670 64-bit values.
43671 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
43672 pass to INTERNAL_VSYSCALL_NCS.
43673 (INLINE_VSYSCALL): Add 'long int' as return type to
43674 INTERNAL_VSYSCALL_NCS macro invocation.
43675 (INTERNAL_VSYSCALL): Add 'long int' as return type to
43676 INTERNAL_VSYSCALL_NCS macro invocation.
43677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43678
43679 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
43680
43681 [BZ #14496]
43682 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
43683 Fix application of SIMD FP exception mask.
43684
43685 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
43686 mp_no from a power of two.
43687 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
43688 __mpexp_twomm1. Use __pow_mp.
43689
43690 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
43691 multiplication.
43692
43693 2013-01-17 David S. Miller <davem@davemloft.net>
43694
43695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43696
43697 2013-01-17 Joseph Myers <joseph@codesourcery.com>
43698
43699 [BZ #15023]
43700 * include/complex.h: Condition contents on [!_COMPLEX_H].
43701 (__kernel_casinhf): New prototype.
43702 (__kernel_casinh): Likewise.
43703 (__kernel_casinhl): Likewise.
43704 * math/Makefile (libm_calls): Add k_casinh.
43705 * math/k_casinh.c: New file.
43706 * math/k_casinhf.c: Likewise.
43707 * math/k_casinhl.c: Likewise.
43708 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
43709 finite nonzero arguments.
43710 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
43711 finite nonzero arguments.
43712 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
43713 finite nonzero arguments.
43714 * math/s_casinh.c: Do not include <float.h>.
43715 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
43716 * math/s_casinhf.c: Do not include <float.h>.
43717 (__casinhf): Move code for finite nonzero arguments to
43718 k_casinhf.c.
43719 * math/s_casinhl.c: Do not include <float.h>.
43720 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
43721 redefine.
43722 (__casinhl): Move code for finite nonzero arguments to
43723 k_casinhl.c.
43724 * math/libm-test.inc (cacos_test): Add more tests.
43725 * sysdeps/i386/fpu/libm-test-ulps: Update.
43726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43727
43728 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
43729
43730 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
43731 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
43732 [!HAVE_MREMAP]: Remove [defined linux] case.
43733 * malloc/arena.c: Do not include <malloc-sysdep.h>.
43734
43735 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
43736
43737 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
43738
43739 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
43740
43741 * elf/elf.h (R_386_SIZE32): New relocation.
43742 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
43743 R_386_SIZE32.
43744 (elf_machine_rela): Likewise.
43745 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43746 R_X86_64_SIZE64 and R_X86_64_SIZE32.
43747
43748 2013-01-17 Joseph Myers <joseph@codesourcery.com>
43749
43750 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
43751 (FP_FAST_FMA): Do not define.
43752 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
43753 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
43754 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
43755 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
43756 !_SOFT_FLOAT]: Likewise.
43757 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
43758 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
43759 value.
43760 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
43761 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
43762 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
43763 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
43764 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
43765 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
43766 file.
43767
43768 2013-01-16 Andreas Schwab <schwab@suse.de>
43769
43770 [BZ #14327]
43771 * include/stdlib.h (__mktemp): Add declaration.
43772 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
43773 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
43774
43775 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43776
43777 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
43778 definitions.
43779 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
43780 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
43781 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
43782 definitions here.
43783 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
43784 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
43785 definitions.
43786 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
43787 and ONE.
43788 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
43789 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
43790 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
43791 definitions.
43792 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
43793 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
43794 definitions.
43795 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
43796
43797 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
43798
43799 2013-01-15 David S. Miller <davem@davemloft.net>
43800
43801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
43802 trunc{,f} to libm-sysdep_routes.
43803 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
43804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
43805 file.
43806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
43807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
43808 file.
43809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
43810 file.
43811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
43812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
43813 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
43814 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
43815 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
43816 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
43817 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
43818 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
43819
43820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
43821 nearbyint{,f} to libm-sysdep_routes.
43822 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
43823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
43824 New file.
43825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
43826 file.
43827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
43828 New file.
43829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
43830 file.
43831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
43832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
43833 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
43834 file.
43835 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
43836 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
43837 file.
43838 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
43839 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
43840 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
43841
43842 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
43843 libc_feholdexcept and libc_fesetenv.
43844
43845 2013-01-15 Mike Frysinger <vapier@gentoo.org>
43846
43847 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
43848
43849 2013-01-14 David S. Miller <davem@davemloft.net>
43850
43851 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
43852 (SPARC_ASM_VIS2_IFUNC): Likewise.
43853 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
43854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
43855 use of 'siam' instruction.
43856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
43857 Likewise.
43858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
43859 Likewise.
43860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
43861 Likewise.
43862 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
43863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
43864 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
43865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
43866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
43867 file.
43868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
43869 file.
43870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
43871 file.
43872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
43873 file.
43874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
43875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
43876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
43877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
43878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
43879 new VIS2 routines.
43880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43883 Likewise.
43884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43886 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
43889 routines to libm-sysdep_routines.
43890 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
43891
43892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
43893 fdim/fdimf to libm-sysdep_routines.
43894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
43895 file.
43896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
43897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
43898 file.
43899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
43900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
43901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
43902 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
43903 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
43904 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
43905 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
43906
43907 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
43908
43909 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
43910 to optimize copies.
43911
43912 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
43913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43915
43916 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
43917 local variable MPTWO.
43918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
43919 Likewise.
43920
43921 2013-01-13 Mike Frysinger <vapier@gentoo.org>
43922
43923 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
43924 GLOB_NOESCAPE.
43925
43926 2013-01-13 Mike Frysinger <vapier@gentoo.org>
43927
43928 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
43929
43930 2013-01-13 Mike Frysinger <vapier@gentoo.org>
43931
43932 * manual/pattern.texi (glob_t): Document gl_flags.
43933 (glob64_t): Likewise.
43934
43935 2013-01-11 David S. Miller <davem@davemloft.net>
43936
43937 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
43938 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
43939 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
43940 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
43941 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
43942 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
43943 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
43944 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
43945 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
43946 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
43947 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
43948 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
43949 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
43950
43951 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
43952 sparc V9 rather than using V8 code.
43953 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
43954 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
43955
43956 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43957 Move to...
43958 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
43959 Here.
43960
43961 2013-01-11 Roland McGrath <roland@hack.frob.com>
43962
43963 [BZ #14941]
43964 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
43965 not in the main loop.
43966 * configure: Regenerated.
43967
43968 2013-01-11 Joseph Myers <joseph@codesourcery.com>
43969
43970 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
43971 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
43972 to just #else.
43973 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
43974 [!__GLIBC_HAVE_LONG_LONG] case.
43975 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
43976 condition to just #else.
43977 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
43978 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
43979 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
43980 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
43981 unconditional.
43982 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
43983 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
43984 #elif condition to just #else.
43985 * sysdeps/unix/sysv/linux/sys/sysmacros.h
43986 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
43987 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
43988 #elif condition to just #else.
43989
43990 2013-01-11 Steve Ellcey <sellcey@mips.com>
43991
43992 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
43993 (EF_MIPS_ARCH_64): Fix value.
43994 (EF_MIPS_ARCH_32R2): New.
43995 (EF_MIPS_ARCH_64R2): New.
43996
43997 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
43998
43999 * Makeconfig (+link-pie-before-libc): New.
44000 (+link-pie-after-libc): Likewise.
44001 (+link-pie-tests): Likewise.
44002 (+link-pie): Rewritten.
44003 (link-before-libc): Remove $(config-LDFLAGS).
44004 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
44005 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
44006 (config-LDFLAGS): Renamed to ...
44007 (rtld-LDFLAGS): This.
44008 (rtld-tests-LDFLAGS): New macro.
44009 (link-libc-rpath-link): Likewise.
44010 (link-libc-tests-rpath-link): Likewise.
44011 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
44012 (link-libc): Prepand $(link-libc-rpath-link).
44013 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
44014 (test-program-prefix): New macro.
44015 (test-via-rtld-prefix): Likewise.
44016 (test-program-cmd): Likewise.
44017 (host-test-program-cmd): Likewise.
44018 * Makefile ($(common-objpfx)testrun.sh): Replace
44019 $(run-program-prefix) with $(test-program-prefix).
44020 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
44021 $(rtld-LDFLAGS).
44022 ($(common-objpfx)shlib.lds): Likewise.
44023 (build-module-helper): Likewise.
44024 ($(common-objpfx)format.lds): Likewise.
44025 * Rules (binaries-pie-tests): New.
44026 (binaries-pie-notests): Likewise.
44027 (binaries-pie): Rewritten.
44028 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
44029 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
44030 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
44031 (make-test-out): Replace $(host-built-program-cmd) with
44032 $(host-test-program-cmd).
44033 * config.make.in (build-hardcoded-path-in-tests): New variable.
44034 * configure.in (--enable-hardcoded-path-in-tests): New configure
44035 option.
44036 (hardcoded_path_in_tests): New AC_SUBST.
44037 * configure: Regenerated.
44038 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
44039 $(built-program-cmd) with $(test-program-cmd).
44040 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
44041 (test_program_cmd): This.
44042 * elf/Makefile ($(objpfx)order.out): Run test with
44043 $(test-program-prefix).
44044 ($(objpfx)order2.out): Likewise.
44045 ($(objpfx)tst-initorder.out): Likewise.
44046 ($(objpfx)tst-initorder2.out): Likewise.
44047 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
44048 $(test-program-cmd).
44049 ($(objpfx)tst-array1-static.out): Likewise.
44050 ($(objpfx)tst-array2.out): Likewise.
44051 ($(objpfx)tst-array3.out): Likewise.
44052 ($(objpfx)tst-array4.out): Likewise.
44053 ($(objpfx)tst-array5.out): Likewise.
44054 ($(objpfx)tst-array5-static.out): Likewise.
44055 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
44056 $(test-program-cmd).
44057 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
44058 $(run-program-prefix) with $(test-program-prefix).
44059 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
44060 (test_program_prefix): This.
44061 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
44062 $(run-program-prefix) with $(test-program-prefix).
44063 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
44064 (test_program_prefix): This.
44065 * iconvdata/tst-tables.sh: Likewise.
44066 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
44067 $(run-program-prefix) with $(test-program-prefix).
44068 ($(objpfx)tst-translit.out): Likewise.
44069 ($(objpfx)tst-gettext2.out): Likewise.
44070 ($(objpfx)tst-gettext4.out): Likewise.
44071 ($(objpfx)tst-gettext6.out): Likewise.
44072 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
44073 (test_program_prefix): This.
44074 * intl/tst-gettext2.sh: Likewise.
44075 * intl/tst-gettext4.sh Likewise.
44076 * intl/tst-gettext6.sh: Likewise.
44077 * intl/tst-translit.sh: Likewise.
44078 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
44079 with $(test-program-cmd).
44080 * libio/Makefile ($(objpfx)test-freopen.out): Replace
44081 $(run-program-prefix) with $(test-program-prefix).
44082 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
44083 (test_program_prefix): This.
44084 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
44085 $(run-program-prefix) with $(test-program-prefix).
44086 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
44087 (test_program_prefix): This.
44088 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
44089 * posix/Makefile ($(objpfx)globtest.out): Replace
44090 $(run-via-rtld-prefix) and $(test-wrapper) with
44091 $(test-program-prefix) and $(test-via-rtld-prefix).
44092 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
44093 $(test-program-prefix).
44094 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
44095 $(host-test-program-cmd).
44096 (tst-spawn-ARGS): Likewise.
44097 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
44098 $(test-program-prefix).
44099 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
44100 (test_via_rtld_prefix): This.
44101 (test_wrapper): Renamed to ...
44102 (test_program_prefix): This.
44103 (run_program_prefix): Replaced by test_program_prefix.
44104 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
44105 (test_program_prefix): This.
44106 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
44107 with $(host-test-program-cmd).
44108 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
44109 $(run-program-prefix) with $(test-program-prefix).
44110 ($(objpfx)tst-printf.out): Likewise.
44111 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
44112 $(test-program-cmd).
44113 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
44114 (test_program_prefix): This.
44115 * stdio-common/tst-unbputc.sh: Likewise.
44116 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
44117 $(run-program-prefix) with $(test-program-prefix).
44118 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
44119 (test_program_prefix): This.
44120 * string/Makefile ($(objpfx)tst-svc.out): Replace
44121 $(built-program-cmd) with $(test-program-cmd).
44122
44123 2013-01-11 Andreas Jaeger <aj@suse.de>
44124
44125 [BZ #15003]
44126 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
44127 value. Sync with Linux 3.7.
44128
44129 2013-01-10 David S. Miller <davem@davemloft.net>
44130
44131 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
44132 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44133 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44134
44135 2013-01-10 Roland McGrath <roland@hack.frob.com>
44136
44137 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
44138 never set.
44139 * configure: Regenerated.
44140
44141 2013-01-10 David S. Miller <davem@davemloft.net>
44142
44143 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
44144 sparc V9 rather than using V8 code.
44145 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44146 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44147
44148 2013-01-10 Roland McGrath <roland@hack.frob.com>
44149
44150 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
44151 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
44152 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
44153 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
44154 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
44155 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
44156 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
44157 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
44158 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
44159 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
44160 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
44161 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
44162 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
44163 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
44164 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
44165 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
44166 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
44167 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
44168 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
44169 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
44170 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
44171 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
44172 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
44173 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
44174 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
44175 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
44176 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
44177
44178 2013-01-10 David S. Miller <davem@davemloft.net>
44179
44180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44181
44182 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
44183
44184 * posix/Makefile (tests-static): New variable.
44185 (tests): Add $(tests-static).
44186 (tst-exec-static-ARGS): New variable.
44187 (tst-spawn-static-ARGS): Likewise.
44188 * posix/tst-exec-static.c: New file.
44189 * posix/tst-spawn-static.c: Likewise.
44190 * posix/tst-exec.c: Support run directly.
44191 * posix/tst-spawn.c: Likewise.
44192
44193 2013-01-10 Joseph Myers <joseph@codesourcery.com>
44194
44195 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
44196 long.
44197 * math/bits/mathcalls.h (llrint): Likewise.
44198 (llround): Likewise.
44199 * stdlib/stdlib.h (struct drand48_data): Likewise.
44200 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
44201 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
44202 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
44203 Likewise.
44204 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
44205 Likewise.
44206 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
44207 (elf_greg_t): Likewise.
44208 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
44209 (__jmp_buf): Likewise.
44210 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
44211 definitions.
44212 (llrint): Likewise, for all definitions.
44213 (llrintl): Likewise.
44214
44215 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
44216 Remove [__GNUC__] condition.
44217 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
44218 condition to just [__USE_ISOC99].
44219 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
44220
44221 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
44222
44223 [BZ #14200]
44224 * sysdeps/unix/sysv/linux/x86/bits/environments.h
44225 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
44226 defined.
44227 (_POSIX_V6_ILP32_OFF32): Likewise.
44228 (_XBS5_ILP32_OFF32): Likewise.
44229 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
44230 (__ILP32_OFFBIG_LDFLAGS): Likewise.
44231
44232 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44233
44234 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
44235
44236 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
44237 doubles __mpexp_twomm1. Adjust usage.
44238 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
44239 Remove.
44240
44241 2013-01-10 Andreas Schwab <schwab@suse.de>
44242
44243 [BZ #14964]
44244 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
44245 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
44246
44247 2013-01-09 David S. Miller <davem@davemloft.net>
44248
44249 [BZ #15003]
44250 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
44251 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
44252 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
44253 (TCP_FASTOPEN): Define.
44254 (tcp_repair_opt): New structure.
44255 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
44256 enum values.
44257 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
44258 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
44259 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
44260 (tcp_cookie_transactions): New structure.
44261
44262 2013-01-09 Anton Blanchard <anton@samba.org>
44263
44264 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
44265 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
44266 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
44267 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
44268
44269 2013-01-09 Joseph Myers <joseph@codesourcery.com>
44270
44271 * include/features.h (__USE_ANSI): Remove.
44272
44273 2013-01-09 Roland McGrath <roland@hack.frob.com>
44274
44275 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
44276
44277 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
44278
44279 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
44280
44281 * sysdeps/s390/fpu/libm-test-ulps: Update.
44282
44283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44284
44285 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
44286 (__acr): Likewise.
44287 (__cpy): Likewise.
44288 (norm): Likewise.
44289 (denorm): Likewise.
44290 (__mp_dbl): Likewise.
44291 (__dbl_mp): Likewise.
44292 (add_magnitudes): Likewise.
44293 (sub_magnitudes): Likewise.
44294 (__add): Likewise.
44295 (__sub): Likewise.
44296 (__mul): Likewise.
44297 (__inv): Likewise.
44298 (__dvd): Likewise.
44299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
44300 (__acr): Likewise.
44301 (__cpy): Likewise.
44302 (norm): Likewise.
44303 (denorm): Likewise.
44304 (__mp_dbl): Likewise.
44305 (__dbl_mp): Likewise.
44306 (add_magnitudes): Likewise.
44307 (sub_magnitudes): Likewise.
44308 (__add): Likewise.
44309 (__sub): Likewise.
44310 (__mul): Likewise.
44311 (__inv): Likewise.
44312 (__dvd): Likewise.
44313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
44314 (__acr): Likewise.
44315 (__cpy): Likewise.
44316 (norm): Likewise.
44317 (denorm): Likewise.
44318 (__mp_dbl): Likewise.
44319 (__dbl_mp): Likewise.
44320 (add_magnitudes): Likewise.
44321 (sub_magnitudes): Likewise.
44322 (__add): Likewise.
44323 (__sub): Likewise.
44324 (__mul): Likewise.
44325 (__inv): Likewise.
44326 (__dvd): Likewise.
44327
44328 2013-01-08 Joseph Myers <joseph@codesourcery.com>
44329
44330 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
44331 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
44332 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
44333 2 && __USE_EXTERN_INLINES]: Likewise.
44334
44335 2013-01-08 Andreas Jaeger <aj@suse.de>
44336
44337 [BZ# 14985]
44338 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
44339 Remove.
44340 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
44341 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
44342
44343 2013-01-07 Anton Blanchard <anton@samba.org>
44344
44345 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
44346 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
44347 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
44348 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
44349 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44350 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44351 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
44352 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
44353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
44354 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44355 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44356 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44357 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44358 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44359 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44360 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44361 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44362 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44363 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44364 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
44365 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44366 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
44367 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44368 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44369 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
44370 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44371 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44372 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
44373 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
44374 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44375 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44377 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44378 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44379 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44380 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44381 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44382 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44383 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
44384 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
44385 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
44386 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44387 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44388
44389 2013-01-07 Joseph Myers <joseph@codesourcery.com>
44390
44391 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
44392 (__MALLOC_PMT): Likewise.
44393 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
44394 [__GNUC__], only on [_LIBC].
44395 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
44396 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
44397 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
44398 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
44399 forward declaration.
44400 (realloc_hook_ini): Likewise.
44401 (memalign_hook_ini): Likewise.
44402 (__libc_memalign): Do not use __MALLOC_PMT in variable
44403 declaration.
44404 (__libc_valloc): Likewise.
44405 (__libc_pvalloc): Likewise.
44406 (__libc_calloc): Likewise.
44407 (__posix_memalign): Likewise.
44408
44409 [BZ #14996]
44410 * math/s_casinh.c: Include <float.h>.
44411 (__casinh): Do not do computation with squaring and square root
44412 for large arguments.
44413 * math/s_casinhf.c: Include <float.h>.
44414 (__casinhf): Do not do computation with squaring and square root
44415 for large arguments.
44416 * math/s_casinhl.c: Include <float.h>.
44417 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
44418 (__casinhl): Do not do computation with squaring and square root
44419 for large arguments.
44420 * math/libm-test.inc (casin_test): Add more tests.
44421 (casinh_test): Likewise.
44422 * sysdeps/i386/fpu/libm-test-ulps: Update.
44423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44424
44425 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
44426
44427 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
44428 (__x86_64_raw_data_cache_size): Likewise.
44429 (__x86_64_data_cache_size_half): Likewise.
44430 (__x86_64_raw_data_cache_size_half): Likewise.
44431 (__x86_64_shared_cache_size): Likewise.
44432 (__x86_64_raw_shared_cache_size): Likewise.
44433 (__x86_64_shared_cache_size_half): Likewise.
44434 (__x86_64_raw_shared_cache_size_half): Likewise.
44435 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
44436 to ...
44437 (__x86_data_cache_size): This.
44438 (__x86_64_raw_data_cache_size): Renamed to ...
44439 (__x86_raw_data_cache_size): This.
44440 (__x86_64_data_cache_size_half): Renamed to ...
44441 (__x86_data_cache_size_half): This.
44442 (__x86_64_raw_data_cache_size_half): Renamed to ...
44443 (__x86_raw_data_cache_size_half): This.
44444 (__x86_64_shared_cache_size): Renamed to ...
44445 (__x86_shared_cache_size): This.
44446 (__x86_64_raw_shared_cache_size): Renamed to ...
44447 (__x86_raw_shared_cache_size): This.
44448 (__x86_64_shared_cache_size_half): Renamed to ...
44449 (__x86_shared_cache_size_half): This.
44450 (__x86_64_raw_shared_cache_size_half): Renamed to ...
44451 (__x86_raw_shared_cache_size_half): This.
44452 * sysdeps/x86_64/memcpy.S: Updated.
44453 * sysdeps/x86_64/memset.S: Likewise.
44454 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
44455 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44456 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44457
44458 2013-01-04 David S. Miller <davem@davemloft.net>
44459
44460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44461
44462 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
44463
44464 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
44465 1 to avoid redefinition warning.
44466 (__USE_GNU): Don't define.
44467 (init_signaling_nan): Protoize.
44468
44469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44470
44471 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44472
44473 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
44474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
44475 (__cpymn): Likewise.
44476 (norm): Remove commented code.
44477 (denorm): Likewise.
44478 (__mp_dbl): Likewise.
44479 (__inv): Likewise.
44480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
44481 (__cpymn): Likewise.
44482 (norm): Remove commented code.
44483 (denorm): Likewise.
44484 (__mp_dbl): Likewise.
44485 (__inv): Likewise.
44486
44487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
44488 mp_no value for 1.0 and 2.0.
44489 (norm): Use RADIXI instead of radixi.d.
44490 (denorm): Likewise.
44491 (__mul): Use 0.0 instead of zero.d.
44492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
44493 mp_no value for 1.0 and 2.0.
44494 (norm): Use RADIXI instead of radixi.d.
44495 (denorm): Likewise.
44496 (__mul): Use 0.0 instead of zero.d.
44497
44498 2013-01-04 Joseph Myers <joseph@codesourcery.com>
44499
44500 [BZ #14994]
44501 * math/s_casinh.c (__casinh): Reduce finite argument to first
44502 quadrant then set signs of results at the end.
44503 * math/s_casinhf.c (__casinhf): Likewise.
44504 * math/s_casinhl.c (__casinhl): Likewise.
44505 * math/libm-test.inc (casin_test): Add more tests.
44506 (casinh_test): Likewise.
44507 * sysdeps/i386/fpu/libm-test-ulps: Update.
44508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44509
44510 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44511
44512 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
44513
44514 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
44515
44516 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
44517 declarations.
44518 (denorm): Likewise.
44519 (__mp_dbl): Likewise.
44520 (__inv): Likewise.
44521
44522 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
44523 and adjust the header comment.
44524
44525 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
44526 variable name from declaration.
44527
44528 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
44529
44530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44531 Initialize COMMON_CPUID_INDEX_7 element.
44532 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
44533 (CPUID_RTM): Likewise.
44534 (HAS_RTM): Likewise.
44535 (COMMON_CPUID_INDEX_7): New enum.
44536
44537 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
44538
44539 [BZ #14981]
44540 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
44541 size is zero, record memory as freed.
44542
44543 2013-01-03 Andreas Jaeger <aj@suse.de>
44544
44545 * po/ia.po: Add new Interlingua translation.
44546
44547 2012-01-03 Allan McRae <allan@archlinux.org>
44548
44549 * locale/programs/localedef.c: Fix description of '--posix' flag.
44550
44551 2013-01-02 Joseph Myers <joseph@codesourcery.com>
44552
44553 * NEWS: Update dates in second copyright notice.
44554 * README: Update copyright dates in example.
44555 * manual/libc.texinfo: Update copyright dates.
44556 * scripts/test-installation.pl: Update copyright date in --version
44557 output.
44558
44559 * hurd/ctty-input.c: Fix copyright notice formatting.
44560 * hurd/ctty-output.c: Likewise.
44561 * hurd/dtable.c: Likewise.
44562 * hurd/hurd-raise.c: Likewise.
44563 * hurd/hurdprio.c: Likewise.
44564 * hurd/msgportdemux.c: Likewise.
44565 * misc/sys/file.h: Likewise.
44566 * misc/sys/ioctl.h: Likewise.
44567 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44568 * sysdeps/mach/hurd/chdir.c: Likewise.
44569 * sysdeps/mach/hurd/fchdir.c: Likewise.
44570 * sysdeps/mach/hurd/rename.c: Likewise.
44571 * sysdeps/mach/hurd/rmdir.c: Likewise.
44572 * sysdeps/mach/hurd/seekdir.c: Likewise.
44573 * sysdeps/mach/hurd/setsid.c: Likewise.
44574 * sysdeps/posix/wait3.c: Likewise.
44575
44576 * All files with FSF copyright notices: Update copyright dates
44577 using scripts/update-copyrights.
44578 * intl/plural.c: Regenerated.
44579 * locale/programs/charmap-kw.h: Likewise.
44580 * locale/programs/locfile-kw.h: Likewise.
44581
44582 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
44583
44584 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
44585 four values.
44586
44587 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
44588 calculation loop and add branch prediction.
44589
44590 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
44591 check access beyond bounds of m1np.
44592
44593 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
44594 MPTWO.
44595 (__inv): Remove local variable MPTWO to use the global
44596 constant.
44597 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
44598 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
44599 variable MPTWO.
44600 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
44601 MP3HALFS static const.
44602
44603 2013-01-01 David S. Miller <davem@davemloft.net>
44604
44605 * po/ca.po: Update from translation team.
44606
44607 2013-01-01 Joseph Myers <joseph@codesourcery.com>
44608
44609 * scripts/update-copyrights: New file.
44610 * Makeconfig: Reformat copyright notice.
44611 * ctype/ctype.h: Likewise.
44612 * debug/swprintf_chk.c: Likewise.
44613 * elf/dl-cache.c: Likewise.
44614 * elf/dl-debug.c: Likewise.
44615 * elf/dl-object.c: Likewise.
44616 * grp/initgroups.c: Likewise.
44617 * hurd/Makefile: Likewise.
44618 * hurd/hurd/signal.h: Likewise.
44619 * hurd/hurdfault.c: Likewise.
44620 * hurd/hurdioctl.c: Likewise.
44621 * hurd/hurdlookup.c: Likewise.
44622 * hurd/intr-msg.c: Likewise.
44623 * iconv/gconv_open.c: Likewise.
44624 * libio/swprintf.c: Likewise.
44625 * locale/lc-ctype.c: Likewise.
44626 * locale/nl_langinfo.c: Likewise.
44627 * mach/Machrules: Likewise.
44628 * mach/Makefile: Likewise.
44629 * malloc/obstack.h: Likewise.
44630 * manual/Makefile: Likewise.
44631 * manual/tsort.awk: Likewise.
44632 * misc/bits/stab.def: Likewise.
44633 * nis/nis_print_group_entry.c: Likewise.
44634 * nis/nis_table.c: Likewise.
44635 * nis/nss_compat/compat-pwd.c: Likewise.
44636 * nis/nss_compat/compat-spwd.c: Likewise.
44637 * po/Makefile: Likewise.
44638 * posix/fnmatch.c: Likewise.
44639 * posix/regex.h: Likewise.
44640 * resolv/Makefile: Likewise.
44641 * resolv/nss_dns/dns-network.c: Likewise.
44642 * resolv/res_hconf.c: Likewise.
44643 * scripts/gen-sorted.awk: Likewise.
44644 * soft-fp/soft-fp.h: Likewise.
44645 * stdio-common/printf.h: Likewise.
44646 * stdlib/monetary.h: Likewise.
44647 * stdlib/random.c: Likewise.
44648 * stdlib/random_r.c: Likewise.
44649 * sysdeps/generic/Makefile: Likewise.
44650 * sysdeps/gnu/Makefile: Likewise.
44651 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44652 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44653 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44654 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44655 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44656 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44657 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44658 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44659 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44661 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44662 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44663 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44664 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44665 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
44666 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44667 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44668 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44669 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44670 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44671 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44672 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44673 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44674 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
44675 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
44676 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44677 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
44678 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
44679 * sysdeps/mach/hurd/errnos.awk: Likewise.
44680 * sysdeps/mach/hurd/fork.c: Likewise.
44681 * sysdeps/mach/hurd/getcwd.c: Likewise.
44682 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
44683 * sysdeps/mach/hurd/mmap.c: Likewise.
44684 * sysdeps/mach/hurd/utimes.c: Likewise.
44685 * sysdeps/mach/hurd/xmknod.c: Likewise.
44686 * sysdeps/posix/profil.c: Likewise.
44687 * sysdeps/posix/readdir_r.c: Likewise.
44688 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44689 * sysdeps/powerpc/bits/setjmp.h: Likewise.
44690 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
44691 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
44692 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
44693 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44694 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44695 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44697 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44698 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44699 * sysdeps/pthread/lio_listio.c: Likewise.
44700 * sysdeps/sparc/dl-procinfo.h: Likewise.
44701 * sysdeps/unix/i386/sysdep.S: Likewise.
44702 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
44703 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
44704 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
44705 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
44706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44707 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
44708 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
44709 * sysdeps/unix/sysv/linux/speed.c: Likewise.
44710 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
44711 * sysdeps/wordsize-32/divdi3.c: Likewise.
44712 * time/sys/time.h: Likewise.
44713 * wcsmbs/Makefile: Likewise.
44714
44715 2013-01-01 David S. Miller <davem@davemloft.net>
44716
44717 * po/fr.po: Update from translation team.
44718
44719 * catgets/gencat.c: Update copyright year.
44720 * csu/version.c: Likewise.
44721 * debug/catchsegv.sh: Likewise.
44722 * debug/pcprofiledump.c: Likewise.
44723 * debug/xtrace.sh: Likewise.
44724 * elf/ldconfig.c: Likewise.
44725 * elf/ldd.bash.in: Likewise.
44726 * elf/pldd.c: Likewise.
44727 * elf/sotruss.ksh: Likewise.
44728 * elf/sprof.c: Likewise.
44729 * iconv/iconv_prog.c: Likewise.
44730 * iconv/iconvconfig.c: Likewise.
44731 * locale/programs/locale.c: Likewise.
44732 * locale/programs/localedef.c: Likewise.
44733 * login/programs/pt_chown.c: Likewise.
44734 * malloc/memusage.sh: Likewise.
44735 * malloc/memusagestat.c: Likewise.
44736 * malloc/mtrace.pl: Likewise.
44737 * nscd/nscd.c: Likewise.
44738 * nss/getent.c: Likewise.
44739 * nss/makedb.c: Likewise.
44740 * posix/getconf.c: Likewise.
44741
44742 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44743
44744 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
44745 numbers.
44746
44747 2012-12-30 Mike Frysinger <vapier@gentoo.org>
44748
44749 * math/bits/mathcalls.h (modf): Use __nonnull.
44750
44751 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
44752
44753 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
44754 (split): Use macro CN instead of the bare value.
44755 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
44756 could be used.
44757 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
44758 instead of the bare value.
44759 (power1): Likewise.
44760
44761 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44762
44763 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
44764 __ATAN_TWOM.
44765 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44766
44767 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
44768 their values.
44769 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
44770 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44771 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
44772 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
44773
44774 2012-12-28 Andreas Jaeger <aj@suse.de>
44775
44776 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
44777 values are from Linux 3.7.
44778
44779 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
44780 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
44781
44782 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44783
44784 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
44785 TRUE case.
44786
44787 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
44788 (norm): Likewise.
44789 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
44790 variables with preprocessor constants.
44791 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44792 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44793 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44794
44795 2012-12-27 Bruno Haible <bruno@clisp.org>
44796
44797 [BZ #14317]
44798 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
44799 only if needed.
44800
44801 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
44802
44803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
44804 and use variable directly.
44805 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
44806
44807 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
44808 MPONE.
44809 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
44810 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
44811 variable MPONE.
44812 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44813 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44814 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
44815 include directive. Remove local variable MPONE.
44816 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
44817 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
44818 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44819
44820 2012-12-25 David S. Miller <davem@davemloft.net>
44821
44822 * version.h (RELEASE): Set to "development".
44823 (VERSION): Set to "2.17.90".
44824 * NEWS: Add 2.18 section.
44825
44826 2012-12-21 David S. Miller <davem@davemloft.net>
44827
44828 * po/hr.po: Update from translation team.
44829
44830 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44831
44832 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
44833
44834 2012-12-19 Steve Ellcey <sellcey@mips.com>
44835
44836 * NEWS: Mention new memcpy for MIPS.
44837
44838 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44839
44840 * manual/contrib.texi (Contributors): Spelling correction.
44841
44842 2012-12-15 David S. Miller <davem@davemloft.net>
44843
44844 * po/ru.po: Update from translation team.
44845
44846 2012-12-13 David S. Miller <davem@davemloft.net>
44847
44848 * NEWS: Mention IFUNC testsuite enhancements.
44849
44850 * po/pl.po: Update from translation team.
44851 * po/bg.po: Likewise.
44852
44853 * manual/contrib.texi (Contributors): Update entries for Hongjiu
44854 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
44855
44856 2012-12-11 David S. Miller <davem@davemloft.net>
44857
44858 * po/sv.po: Update from translation team.
44859
44860 * po/vi.po: Update from translation team.
44861
44862 * po/cs.po: Update from translation team.
44863
44864 * po/de.po: Update from translation team.
44865 * po/eo.po: Likewise.
44866 * po/nl.po: Likewise.
44867
44868 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
44869
44870 [BZ #14246]
44871 * manual/argp.texi (Argp Helper Functions): Move node to follow
44872 Argp Parsing State.
44873
44874 [BZ #14872]
44875 * manual/conf.texi (Limits on File System Capacity): Mention if
44876 terminating null is included in the max size.
44877
44878 2012-12-10 Andreas Jaeger <aj@suse.de>
44879
44880 * po/cs.po: Update from translation team.
44881
44882 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
44883
44884 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
44885 void pointer and cast to uintptr_t.
44886 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
44887 path.
44888 * sysdeps/s390/s390-64/memcpy.S: Likewise.
44889 * sysdeps/s390/s390-64/memset.S: Likewise.
44890
44891 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
44892
44893 [BZ #14833]
44894 * menual/message.texi (Message Translation): Fix typos.
44895 (Helper programs for gettext): Likewise.
44896
44897 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
44898
44899 [BZ #14898]
44900 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
44901 Change to -1.
44902
44903 2012-12-07 David S. Miller <davem@davemloft.net>
44904
44905 * po/libc.pot: Update.
44906
44907 2012-12-07 Richard Henderson <rth@redhat.com>
44908
44909 [BZ #10114]
44910 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
44911 normal/normal case to before the switch.
44912 (_FP_DIV): Likewise.
44913
44914 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
44915 Mike Frysinger <vapier@gentoo.org>
44916
44917 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
44918 check for __NR_fadvise64_64.
44919
44920 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
44921
44922 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
44923 0, not just to plain "0" as a statement.
44924 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
44925 with cw.
44926
44927 2012-12-06 Joseph Myers <joseph@codesourcery.com>
44928
44929 * NEWS: Use sourceware.org in Bugzilla URL.
44930
44931 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
44932
44933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
44934 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
44935
44936 * stdio-common/tst-put-error.c (do_test): Add newline to the
44937 padded test to ensure flush.
44938
44939 2012-12-05 Jeff Law <law@redhat.com>
44940
44941 * sunrpc/etc.rpc (fedfs_admin): Add entry.
44942
44943 2012-12-05 Joseph Myers <joseph@codesourcery.com>
44944
44945 * README: Don't refer to ports add-on as distributed separately.
44946 Mention AArch64 in list of systems supported in the ports add-on.
44947
44948 * LICENSES: Add more non-FSF copyright and license notices.
44949
44950 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
44951 ((unused)).
44952
44953 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
44954
44955 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
44956 10000 as width of padded output.
44957
44958 2012-12-04 Joseph Myers <joseph@codesourcery.com>
44959
44960 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
44961
44962 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
44963 variable LX with __attribute__ ((unused)).
44964 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44965 Likewise.
44966 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44967 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44968 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
44969 with __attribute__ ((unused)).
44970
44971 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
44972
44973 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
44974
44975 2012-12-04 Joseph Myers <joseph@codesourcery.com>
44976
44977 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
44978 (CFLAGS-nldbl-acos.c): New variable.
44979 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
44980 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
44981 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
44982 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
44983 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
44984 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
44985 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
44986 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
44987 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
44988 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
44989 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
44990 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
44991 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
44992 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
44993 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
44994 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
44995 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
44996 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
44997 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
44998 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
44999 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
45000 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
45001 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
45002 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
45003 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
45004 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
45005 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
45006 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
45007 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
45008 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
45009 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
45010 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
45011 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
45012 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
45013 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
45014 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
45015 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
45016 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
45017 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
45018 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
45019 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
45020 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
45021 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
45022 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
45023 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
45024 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
45025 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
45026 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
45027 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
45028 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
45029 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
45030 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
45031 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
45032 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
45033 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
45034 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
45035 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
45036 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
45037 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
45038 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
45039 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
45040 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
45041 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
45042 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
45043 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
45044 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
45045 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
45046 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
45047 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
45048 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
45049 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
45050 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
45051 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
45052 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
45053 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
45054 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
45055 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
45056 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
45057 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
45058 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
45059 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
45060 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
45061 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
45062 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
45063 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
45064 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
45065 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
45066 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
45067 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
45068 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
45069 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
45070 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
45071 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
45072 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
45073 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
45074 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
45075 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
45076
45077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
45078 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
45079
45080 [BZ #14914]
45081 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
45082 whole low double instead of just low 47 bits when splitting values
45083 into two parts.
45084
45085 2012-12-03 Allan McRae <allan@archlinux.org>
45086
45087 * manual/stdio.texi (Predefined Printf Handlers): Remove
45088 @hsep and @vsep usage.
45089
45090 2012-12-03 Mike Frysinger <vapier@gentoo.org>
45091
45092 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
45093 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
45094
45095 2012-12-03 Jeff Law <law@redhat.com>
45096
45097 * time/sys/time.h (settimeofday): Do not mark TV argument
45098 as __nonnull.
45099
45100 2012-12-01 Mike Frysinger <vapier@gentoo.org>
45101
45102 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
45103 when currently writing and seek to current position when not.
45104 * libio/Makefile (tests): Remove bug-fclose1.
45105 * libio/bug-fclose1.c: Delete.
45106
45107 2012-12-01 Joseph Myers <joseph@codesourcery.com>
45108
45109 * manual/arith.texi (feenableexcept): Fix typo.
45110 (fedisableexcept): Likewise.
45111
45112 2012-11-30 Roland McGrath <roland@hack.frob.com>
45113
45114 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
45115 second, differently-typed declaration, rather than a cast.
45116
45117 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45118
45119 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
45120 * include/rpc/svc.h: ... here.
45121
45122 2012-11-30 Aurelien Jarno <aurel32@debian.org>
45123
45124 [BZ #13013]
45125 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
45126 depending n and resplen2 to catch cases where answer
45127 equals answerp2.
45128
45129 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
45130
45131 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
45132 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
45133
45134 2012-11-29 Mike Frysinger <vapier@gentoo.org>
45135
45136 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
45137
45138 2012-11-29 Roland McGrath <roland@hack.frob.com>
45139
45140 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
45141
45142 2012-11-28 Jeff Law <law@redhat.com>
45143
45144 [BZ #13761]
45145 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
45146 dataset_temporary. Track alloca usage into alloca_used.
45147 If dataset is large allocate and release it via malloc/free.
45148
45149 2012-06-04 Florian Weimer <fweimer@redhat.com>
45150
45151 [BZ #14197]
45152 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
45153
45154 2012-11-28 David S. Miller <davem@davemloft.net>
45155
45156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45157
45158 2012-11-28 Joseph Myers <joseph@codesourcery.com>
45159
45160 [BZ #14803]
45161 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
45162 of pi/2 rounded to nearest to 64 bits.
45163 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
45164 nearest to 64 bits.
45165 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
45166 bits.
45167
45168 2012-11-28 Jeff Law <law@redhat.com>
45169 Martin Osvald <mosvald@redhat.com>
45170
45171 [BZ #14889]
45172 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
45173 * sunrpc/svc.c: Include time.h.
45174 (__svc_accept_failed): New function.
45175 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
45176 any reason other than EINTR, call __svc_accept_failed.
45177 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
45178 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
45179
45180 2012-11-28 Andreas Schwab <schwab@suse.de>
45181
45182 * scripts/abilist.awk: Also handle indirect functions in .opd
45183 section.
45184
45185 2012-11-28 Joseph Myers <joseph@codesourcery.com>
45186
45187 [BZ #13881]
45188 * sysdeps/x86/fpu/powl_helper.c: New file.
45189 * sysdeps/x86/fpu/Makefile: Likewise.
45190 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
45191 (p3): New object.
45192 (__ieee754_powl): Use __powl_helper for finite arguments except
45193 integer exponents below 8.
45194 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
45195 (p3): New object.
45196 (__ieee754_powl): Use __powl_helper for finite arguments except
45197 integer exponents below 8.
45198 * math/libm-test.inc (pow_test): Add more tests and enable some
45199 previously disabled tests.
45200 * sysdeps/i386/fpu/libm-test-ulps: Update.
45201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45202
45203 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45204 Carlos O'Donell <carlos_odonell@mentor.com>
45205
45206 * nss/makedb.c (is_prime): Assert that input is odd and greater
45207 than 4. Note that fact in a comment too.
45208 (next_prime): Add 4 to input.
45209
45210 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
45211
45212 [BZ #11741]
45213 * libio/Makefile (tests): Add test case tst-fwrite-error.
45214 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
45215 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
45216 * libio/tst-fwrite-error.c: New test case.
45217
45218 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
45219
45220 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
45221 before casting to void *.
45222 * include/libc-internal.h (__pointer_type): New macro.
45223 (__integer_if_pointer_type_sub): Likewise.
45224 (__integer_if_pointer_type): Likewise.
45225 (cast_to_integer): Likewise.
45226 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
45227 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
45228 before casting to atomic64_t.
45229 (atomic_exchange_acq): Likewise.
45230 (__arch_exchange_and_add_body): Likewise.
45231 (__arch_add_body): Likewise.
45232 (atomic_add_negative): Likewise.
45233 (atomic_add_zero): Likewise.
45234
45235 2012-11-26 Joseph Myers <joseph@codesourcery.com>
45236
45237 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
45238 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
45239 (add_fdes): Likewise.
45240 (linear_search_fdes): Likewise.
45241 (binary_search_unencoded_fdes): Likewise.
45242
45243 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
45244
45245 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
45246
45247 2012-11-24 Adam Conrad <adconrad@0c3.net>
45248
45249 * configure.in: Autodetect C++ header directories.
45250 * configure: Regenerated.
45251
45252 2012-11-23 Mike Frysinger <vapier@gentoo.org>
45253
45254 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
45255
45256 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
45257
45258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45259
45260 2012-11-22 Joseph Myers <joseph@codesourcery.com>
45261
45262 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
45263 LDBL_MANT_DIG == 106]: Disable some tests.
45264 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
45265 Likewise.
45266 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
45267 Likewise.
45268
45269 [BZ #14871]
45270 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
45271 input for small inputs. Return +/- pi/2 for large inputs.
45272 * math/libm-test.inc (atan_test): Add more tests.
45273
45274 * sysdeps/generic/unwind-dw2-fde-glibc.c
45275 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
45276 __attribute__ ((unused)).
45277
45278 [BZ #14645]
45279 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
45280 x * y if x and y are nonzero and z is zero.
45281
45282 [BZ #14811]
45283 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
45284 nonzero exponents with absolute value below 0x1p-117 to +/-
45285 0x1p-117.
45286
45287 [BZ #14869]
45288 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
45289 up arguments below 2**-450, not just those below 2**-500.
45290 * math/libm-test.inc (hypot_test): Add another test.
45291
45292 [BZ #14868]
45293 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
45294 Return a+b for ratio over 2**120, not 2**60.
45295 * math/libm-test.inc (hypot_test): Add another test.
45296
45297 * math/libm-test.inc (clog_test): Use
45298 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
45299 (clog10_test): Likewise.
45300
45301 [BZ #6778]
45302 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
45303
45304 2012-11-22 Andreas Schwab <schwab@suse.de>
45305
45306 * sysdeps/i386/fpu/libm-test-ulps: Update.
45307
45308 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
45309
45310 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
45311 printf output with newline.
45312
45313 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
45314
45315 [BZ #14865]
45316 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
45317 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
45318 -z nodlopen, -z initfirst and -z execstack support.
45319 * configure: Regenerated.
45320
45321 * elf/elf.h (DF_1_NODIRECT): New macro.
45322 (DF_1_IGNMULDEF): Likewise.
45323 (DF_1_NOKSYMS): Likewise.
45324 (DF_1_NOHDR): Likewise.
45325 (DF_1_EDITED): Likewise.
45326 (DF_1_NORELOC): Likewise.
45327 (DF_1_SYMINTPOSE): Likewise.
45328 (DF_1_GLOBAUDIT): Likewise.
45329 (DF_1_SINGLETON): Likewise.
45330 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
45331 DT_1_SUPPORTED_MASK bits.
45332 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
45333
45334 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
45335
45336 * sysdeps/unix/make-syscalls.sh: Document prefixes.
45337
45338 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
45339
45340 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
45341 macro.
45342
45343 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
45344 (sendmmsg): Move declarations...
45345 * socket/sys/socket.h: ... here.
45346 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
45347 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
45348 include it from...
45349 * socket/recvmmsg.c: ... this new file.
45350 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
45351 (sendmmsg): Rename to __sendmmsg, create weak alias and make
45352 definition of __sendmmsg hidden.
45353 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
45354 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
45355 Move ENOSYS stub into and include it from...
45356 * socket/sendmmsg.c: ... this new file.
45357 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
45358 (sysdep_routines): Move recvmmsg and sendmmsg...
45359 * socket/Makefile (routines): ... here.
45360 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
45361 (GLIBC_PRIVATE): Add __sendmmsg.
45362 * include/sys/socket.h (__sendmmsg): Add declarations.
45363 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
45364 sendmmsg.
45365
45366 2012-11-20 Joseph Myers <joseph@codesourcery.com>
45367
45368 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
45369 variable I1 with __attribute__ ((unused)).
45370 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45371
45372 2012-11-19 Joseph Myers <joseph@codesourcery.com>
45373
45374 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
45375 DUMMY variables with __attribute__ ((unused)).
45376
45377 * bits/byteswap.h: Include <bits/types.h>.
45378 (__bswap_64): Use __uint64_t instead of unsigned long long int.
45379
45380 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
45381
45382 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
45383 string_t. Do not manually set errno.
45384 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
45385 length with __strnlen. Make sure to both set errno and return it on
45386 failure.
45387
45388 2012-11-19 David S. Miller <davem@davemloft.net>
45389
45390 With help from Joseph Myers.
45391 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
45392 very large arguments properly.
45393 * math/libm-test.inc (atan_test): New tests.
45394 (atan2_test): New tests.
45395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45397
45398 2012-11-19 Joseph Myers <joseph@codesourcery.com>
45399
45400 [BZ #14856]
45401 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
45402 Define to 3.
45403
45404 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
45405 [POSIX] (EADDRNOTAVAIL): Likewise.
45406 [POSIX] (EAFNOSUPPORT): Likewise.
45407 [POSIX] (EALREADY): Likewise.
45408 [POSIX] (ECONNABORTED): Likewise.
45409 [POSIX] (ECONNREFUSED): Likewise.
45410 [POSIX] (ECONNRESET): Likewise.
45411 [POSIX] (EDESTADDRREQ): Likewise.
45412 [POSIX] (EDQUOT): Likewise.
45413 [POSIX] (EHOSTUNREACH): Likewise.
45414 [POSIX] (EIDRM): Likewise.
45415 [POSIX] (EISCONN): Likewise.
45416 [POSIX] (ELOOP): Likewise.
45417 [POSIX] (EMULTIHOP): Likewise.
45418 [POSIX] (ENETDOWN): Likewise.
45419 [POSIX] (ENETUNREACH): Likewise.
45420 [POSIX] (ENOBUFS): Likewise.
45421 [POSIX] (ENODATA): Likewise.
45422 [POSIX] (ENOLINK): Likewise.
45423 [POSIX] (ENOMSG): Likewise.
45424 [POSIX] (ENOPROTOOPT): Likewise.
45425 [POSIX] (ENOSR): Likewise.
45426 [POSIX] (ENOSTR): Likewise.
45427 [POSIX] (ENOTCONN): Likewise.
45428 [POSIX] (ENOTSOCK): Likewise.
45429 [POSIX] (EOPNOTSUPP): Likewise.
45430 [POSIX] (EOVERFLOW): Likewise.
45431 [POSIX] (EPROTO): Likewise.
45432 [POSIX] (EPROTONOSUPPORT): Likewise.
45433 [POSIX] (EPROTOTYPE): Likewise.
45434 [POSIX] (ESTALE): Likewise.
45435 [POSIX] (ETIME): Likewise.
45436 [POSIX] (ETXTBSY): Likewise.
45437 [POSIX] (EWOULDBLOCK): Likewise.
45438 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
45439 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
45440 [POSIX] (SEEK_CUR): Likewise.
45441 [POSIX] (SEEK_END): Likewise.
45442 [POSIX || UNIX98] (mode_t): Do not require.
45443 [POSIX] (off_t): Likewise.
45444 [POSIX] (pid_t): Likewise.
45445 [POSIX] (sys/stat.h): Do not allow header.
45446 [POSIX] (unistd.h): Likewise.
45447 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
45448 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
45449 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
45450 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
45451 require.
45452 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
45453 sigevent): Specify elements.
45454 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
45455 entry.
45456 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
45457 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
45458
45459 * conform/data/cpio.h-data [POSIX]: Disable whole file.
45460 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
45461 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
45462 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
45463 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
45464 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
45465 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
45466 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
45467 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
45468 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
45469 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
45470 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
45471 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
45472 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
45473 Likewise.
45474 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
45475 Likewise.
45476 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
45477 Likewise.
45478 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
45479 Likewise.
45480 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
45481 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
45482 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
45483 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
45484 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
45485 Specify lower bound on value.
45486 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
45487 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
45488 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
45489 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
45490 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
45491 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
45492 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
45493 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
45494 value.
45495 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
45496 as optional.
45497 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
45498 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
45499 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
45500 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
45501 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
45502 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
45503 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
45504 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
45505 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
45506 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
45507 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
45508 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
45509 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
45510 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
45511 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
45512 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
45513 entry.
45514 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
45515 optional.
45516 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
45517 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
45518 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
45519 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
45520 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
45521 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
45522 Likewise.
45523 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
45524 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
45525 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
45526 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
45527 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
45528 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
45529 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
45530 as optional.
45531 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
45532 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
45533 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
45534 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
45535 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
45536 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
45537 specify as optional.
45538 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
45539 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
45540 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
45541 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
45542 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
45543 [XPG3] (NL_LANGMAX): Likewise.
45544 [POSIX || XPG3] (NL_MSGMAX): Likewise.
45545 [POSIX || XPG3] (NL_NMAX): Likewise.
45546 [POSIX || XPG3] (NL_SETMAX): Likewise.
45547 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
45548 [XPG3] (NZERO): Likewise.
45549 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
45550 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
45551 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
45552 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
45553 (REG_ERANGE): Expect.
45554 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
45555 optional-constant.
45556 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
45557 Use (void) in prototype.
45558 [POSIX] (*_t): Allow.
45559 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
45560 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
45561 (WRDE_BADVAL): Expect.
45562
45563 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
45564 expect.
45565 [XPG3 || XPG4] (O_RSYNC): Likewise.
45566 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
45567 Likewise.
45568 [XPG3 || XPG4] (pthread_sigmask): Likewise.
45569 [XPG3 || XPG4] (sigqueue): Likewise.
45570 [XPG3 || XPG4] (sigtimedwait): Likewise.
45571 [XPG3 || XPG4] (sigwaitinfo): Likewise.
45572 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
45573 [XPG3 || XPG4] (vsnprintf): Likewise.
45574 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
45575 Likewise.
45576 [XPG3 || XPG4] (blksize_t): Likewise.
45577 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
45578 Likewise.
45579 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
45580 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
45581 [XPG3 || XPG4] (struct itimerspec): Likewise.
45582 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
45583 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
45584 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
45585 [XPG3 || XPG4] (clockid_t): Likewise.
45586 [XPG3 || XPG4] (timer_t): Likewise.
45587 [XPG3 || XPG4] (clock_getres): Likewise.
45588 [XPG3 || XPG4] (clock_gettime): Likewise.
45589 [XPG3 || XPG4] (clock_settime): Likewise.
45590 [XPG3 || XPG4] (nanosleep): Likewise.
45591 [XPG3 || XPG4] (timer_create): Likewise.
45592 [XPG3 || XPG4] (timer_delete): Likewise.
45593 [XPG3 || XPG4] (timer_gettime): Likewise.
45594 [XPG3 || XPG4] (timer_getoverrun): Likewise.
45595 [XPG3 || XPG4] (timer_settime): Likewise.
45596 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
45597 [XPG3 || XPG4] (getlogin_r): Likewise.
45598 [XPG3 || XPG4] (pread): Likewise.
45599 [XPG3 || XPG4] (pthread_atfork): Likewise.
45600 [XPG3 || XPG4] (pwrite): Likewise.
45601
45602 [BZ #14835]
45603 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
45604 <bits/siginfo.h>.
45605
45606 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
45607
45608 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
45609 finalizing MALLSTREAM.
45610
45611 * sysdeps/mach/hurd/syncfs.c: New file.
45612
45613 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
45614
45615 [BZ #14719]
45616 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
45617 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
45618 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
45619 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
45620 (_nss_dns_gethostbyname4_r): Likewise.
45621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
45622 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
45623
45624 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
45625
45626 [BZ #13763]
45627 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
45628
45629 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
45630
45631 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
45632 * elf/cache.c (print_entry): Print ",AArch64" for
45633 FLAG_AARCH64_LIB64
45634
45635 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
45636 * elf/cache.c (print_entry): Print ",hard-float" for
45637 FLAG_ARM_LIBHF.
45638
45639 2012-11-18 David S. Miller <davem@davemloft.net>
45640
45641 With help from Joseph Myers.
45642 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
45643 cutoff to 2**-13.
45644 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
45645 cutoff to 2**-25.
45646 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
45647 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
45648 small.
45649 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
45650 * math/libm-test.inc (y0_test): New tests.
45651 (y1_test): New tests.
45652 * sysdeps/i386/fpu/libm-test-ulps: Update.
45653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45655
45656 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
45657
45658 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
45659 64-bit targets.
45660 * configure: Regenerated.
45661
45662 2012-11-17 David S. Miller <davem@davemloft.net>
45663
45664 [BZ #14811]
45665 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
45666 nonzero exponents with absolute value below 0x1p-128 to +/-
45667 0x1p-128.
45668
45669 2012-11-17 Joseph Myers <joseph@codesourcery.com>
45670
45671 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
45672
45673 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
45674
45675 * posix/getconf-speclist.c: New file.
45676 * posix/posix-envs.def: Likewise.
45677 * posix/confstr.c (START_ENV_GROUP): New macro.
45678 (END_ENV_GROUP): Likewise.
45679 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
45680 (KNOWN_PRESENT_ENV_STRING): Likewise.
45681 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
45682 (UNKNOWN_ENVIRONMENT): Likewise.
45683 (confstr): Include posix-envs.def instead of handling
45684 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
45685 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
45686 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
45687 (END_ENV_GROUP): Likewise.
45688 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
45689 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
45690 (UNKNOWN_ENVIRONMENT): Likewise.
45691 (__sysconf): Include posix-envs.def instead of handling associated
45692 cases directly here.
45693 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
45694 preprocessing getconf-speclist.c rather than running getconf or
45695 generating empty file.
45696
45697 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
45698
45699 * scripts/check-local-headers.sh: Ignore 'mach' headers.
45700
45701 2012-11-16 Andrej Lajovic <natrij@gmail.com>
45702
45703 [BZ #14672]
45704 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
45705
45706 2012-11-16 David S. Miller <davem@davemloft.net>
45707
45708 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
45709 smaller than LDBL_EPSILON/2.0L, just return xm1.
45710
45711 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
45712
45713 * elf/tst-array1.c (init): Set constructor priority to 1000.
45714 (fini): Set destructor priority to 1000.
45715 * elf/tst-array2dep.c: Likewise.
45716
45717 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
45718
45719 [BZ #11741]
45720 * libio/fileops.c (_IO_new_file_write): Correctly return error.
45721 (_IO_new_file_xsputn): Also return EOF if none of the input
45722 data was written when overflow failed.
45723 * libio/iopadn.c (_IO_padn): Likewise.
45724 * libio/iowpadn.c (_IO_wpadn): Likewise.
45725 * stdio-common/tst-put-error.c: Add copyright notice.
45726 (do_test): Add case for printing padded string.
45727 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
45728 _IO_padn returned error.
45729 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
45730 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
45731 return EOF.
45732
45733 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
45734
45735 * libio/libioP.h: Add comment note that the references to C++
45736 bits are now obsolete.
45737
45738 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
45739
45740 * math/libm-test.inc (check_complex): Use asprintf.
45741
45742 2012-11-14 Joseph Myers <joseph@codesourcery.com>
45743
45744 * debug/pcprofiledump.c (print_version): Update copyright year.
45745 * malloc/memusagestat.c (print_version): Likewise.
45746
45747 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
45748
45749 [BZ #14831]
45750 * elf/Makefile (tests): Add tst-audit8.
45751 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
45752 ($(objpfx)tst-audit8.out): New target.
45753 (tst-audit8-ENV): New variable.
45754 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
45755 audit if l_reloc_result is NULL.
45756 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
45757 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
45758 * elf/tst-audit8.c: New file.
45759
45760 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
45761
45762 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
45763 * misc/Makefile (CFLAGS-select.c): Define.
45764 * posix/Makefile (CFLAGS-pause.c): Define.
45765
45766 2012-11-13 David S. Miller <davem@davemloft.net>
45767
45768 * crypt/Makefile: Move test targets after toplevel Rules
45769 inclusion. Grab any necessary sysdep routines when linking.
45770 * crypt/md5.c (md5_process_block): Remove define, we will always
45771 name it __md5_process_block.
45772 (md5_finish_ctx): Update md5_process_block call.
45773 (md5_stream): Likewise.
45774 (md5_process_bytes): Likewise.
45775 (md5_process_block): Rename to __md5_process_block and move to ...
45776 * crypt/md5-block.c: ... here.
45777 * crypt/sha256.c (sha256_process_block): Move to ...
45778 * crypt/sha256-block.c: ... here.
45779 * crypt/sha512.c (sha512_process_block): Move to ...
45780 * crypt/sha512-block.c: ... here.
45781 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
45782 path.
45783 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
45784 * sysdeps/sparc/sparc64/multiarch/Makefile
45785 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
45786 crypt subdir.
45787 (localedef-aux): Add md5 crypto assembler when in locale subdir.
45788 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
45789 multiarch changes.
45790 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
45791 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
45792 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
45793 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
45794 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
45795 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
45796 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
45797 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
45798 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
45799 file.
45800 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
45801 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
45802 file.
45803 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
45804
45805 2012-11-13 Joseph Myers <joseph@codesourcery.com>
45806
45807 * timezone/tzselect.ksh: Update from tzcode git revision
45808 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
45809 * timezone/zdump.c: Likewise.
45810 * timezone/zic.c: Likewise.
45811 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
45812 in TZVERSION setting, not $(PKGVERSION).
45813 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
45814 REPORT_BUGS_TO settings.
45815
45816 [BZ #14838]
45817 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
45818 macro.
45819
45820 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
45821
45822 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
45823 detection to immediately after _FP_ROUND().
45824 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
45825 bits are 0.
45826
45827 2012-11-11 David S. Miller <davem@davemloft.net>
45828
45829 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
45830 inttypes.h
45831 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
45832 __close rather than their public counterparts.
45833
45834 2012-11-10 Joseph Myers <joseph@codesourcery.com>
45835
45836 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
45837 file.
45838 [UNIX98] (sem_timedwait): Do not expect.
45839 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
45840 [XPG4 || UNIX98] (sockatmark): Do not expect.
45841 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
45842 (clock_getcpuclockid): Do not expect.
45843 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
45844 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
45845 Do not expect.
45846 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
45847 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
45848 [UNIX98] (vwscanf): Likewise.
45849 [UNIX98] (vswscanf): Likewise.
45850
45851 2012-11-09 Joseph Myers <joseph@codesourcery.com>
45852
45853 * timezone/version.h: Remove file.
45854 * timezone/README: Do not refer to version.h.
45855 * timezone/Makefile ($(objpfx)zic.o): New dependency on
45856 $(objpfx)version.h.
45857 ($(objpfx)zdump.o): Likewise.
45858 ($(objpfx)version.h): New target.
45859
45860 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
45861 2012i.
45862 * timezone/README: Don't mention modification to tzselect.ksh.
45863 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
45864 work on unmodified tzselect.ksh. Substitute version numbers in
45865 tzselect.ksh.
45866
45867 * Makefile (format-me): Remove.
45868 (INSTALL): Adjust indentation. Use commands directly instead of
45869 using $(format-me).
45870
45871 * aclocal.m4 (ACX_PKGVERSION): New macro.
45872 (ACX_BUGURL): Likewise.
45873 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
45874 (PKGVERSION): New AC_DEFINE_UNQUOTED.
45875 (REPORT_BUGS_TO): Likewise.
45876 * configure: Regenerated.
45877 * config.h.in (PKGVERSION): New macro.
45878 (REPORT_BUGS_TO): Likewise.
45879 * config.make.in (PKGVERSION): New variable.
45880 (PKGVERSION_TEXI): Likewise.
45881 (REPORT_BUGS_TO): Likewise.
45882 (REPORT_BUGS_TEXI): Likewise.
45883 * Makefile (format-me): Use -I$(common-objpfx)manual.
45884 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
45885 ($(common-objpfx)manual/%): New target.
45886 (manual/%): Remove target.
45887 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
45888 (print_version): Use PKGVERSION.
45889 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
45890 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
45891 and REPORT_BUGS_TO.
45892 ($(objpfx)xtrace): Likewise.
45893 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
45894 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
45895 (print_version): Use PKGVERSION.
45896 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
45897 (do_version): Use PKGVERSION.
45898 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
45899 REPORT_BUGS_TO.
45900 (common-ldd-rewrite): Likewise.
45901 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
45902 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
45903 (print_version): Use PKGVERSION.
45904 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
45905 * elf/pldd.c (argp_program_bug_address): Remove variable.
45906 (more_help): New function.
45907 (argp): Use more_help.
45908 (print_version): Use PKGVERSION.
45909 * elf/sln.c (main): Use PKGVERSION.
45910 (usage): Use REPORT_BUGS_TO.
45911 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
45912 (top level): Use PKGVERSION.
45913 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
45914 (print_version): Use PKGVERSION.
45915 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
45916 (print_version): Use PKGVERSION.
45917 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
45918 (print_version): Use PKGVERSION.
45919 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
45920 (print_version): Use PKGVERSION.
45921 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
45922 (print_version): Use PKGVERSION.
45923 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
45924 (print_version): Use PKGVERSION.
45925 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
45926 and BUGURL.
45927 ($(objpfx)memusage): Likewise.
45928 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
45929 (do_version): Use PKGVERSION.
45930 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
45931 (print_version): Use PKGVERSION.
45932 * malloc/mtrace.pl ($PACKAGE): Remove variable.
45933 ($PKGVERSION): New variable.
45934 ($REPORT_BUGS_TO): Likewise.
45935 (usage): Use $REPORT_BUGS_TO.
45936 (top level): Use $PKGVERSION.
45937 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
45938 ($(objpfx)pkgvers.texi): New rule.
45939 ($(objpfx)stamp-pkgvers): Likewise.
45940 * manual/install.texi: Include pkgvers.texi.
45941 (--with-pkgversion): Document new configure option.
45942 (--with-bugurl): Likewise.
45943 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
45944 than necessarily for this particular distribution. Use
45945 REPORT_BUGS_TO for where to report bugs.
45946 * INSTALL: Regenerated.
45947 * manual/libc.texinfo: Include pkgvers.texi.
45948 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
45949 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
45950 (print_version): Use PKGVERSION.
45951 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
45952 (print_version): Use PKGVERSION.
45953 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
45954 (print_version): Use PKGVERSION.
45955 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
45956 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
45957 macro.
45958 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
45959 (print_version): Use PKGVERSION.
45960 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
45961 (print_version): Use PKGVERSION.
45962 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
45963 and PKGVERSION.
45964
45965 * timezone/checktab.awk: Update from tzcode 2012i.
45966 * timezone/ialloc.c: Likewise.
45967 * timezone/private.h: Likewise.
45968 * timezone/scheck.c: Likewise.
45969 * timezone/tzfile.h: Likewise.
45970 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
45971 (TZVERSION): Hardcode tzcode version number.
45972 * timezone/zdump.c: Update from tzcode 2012i.
45973 * timezone/zic.c: Likewise.
45974 * timezone/version.h: New file.
45975 * timezone/README: Describe version.h. Update upstream location.
45976
45977 [BZ #14824]
45978 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
45979 (mktemp): Enable declaration.
45980 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
45981 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
45982 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
45983 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
45984 Likewise.
45985 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
45986 Likewise.
45987 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
45988 Likewise.
45989 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
45990 Likewise.
45991 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
45992 Likewise.
45993 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
45994 Likewise.
45995
45996 [BZ #14821]
45997 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
45998 offset in buffer as u_int32_t not u_long. Consistently use memcpy
45999 for copies of such integer values.
46000 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46001 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46002
46003 2012-11-09 Andreas Jaeger <aj@suse.de>
46004
46005 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
46006 definitions and declarations that are provided by
46007 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
46008
46009 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46010
46011 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
46012 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
46013 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
46014 definition.
46015
46016 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
46017
46018 * elf/elf.h: Update comment before AArch64 relocations.
46019
46020 2012-11-07 David S. Miller <davem@davemloft.net>
46021
46022 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
46023 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46024 (__start_context): Declare.
46025 (__makecontext_ret): Delete.
46026 (__makecontext): Hook up __start_context instead of
46027 __makecontext_ret.
46028 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
46029 (sysdep_routines): Add __start_context when in stdlib.
46030
46031 2012-11-07 Joseph Myers <joseph@codesourcery.com>
46032
46033 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
46034 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
46035 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
46036 hardcoded "nm".
46037 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
46038 (READELF): New variable. Use it instead of hardcoded "readelf".
46039
46040 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
46041
46042 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
46043 * sysdeps/x86/Makefile: Here.
46044 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
46045 * sysdeps/x86/tst-xmmymm.sh: This.
46046
46047 2012-11-07 Joseph Myers <joseph@codesourcery.com>
46048
46049 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
46050 expectations.
46051 [UNIX98] (pthread_barrier_t): Do not expect.
46052 [UNIX98] (pthread_barrierattr_t): Likewise.
46053 [UNIX98] (pthread_spinlock_t): Likewise.
46054 [UNIX98] (pthread_barrier_destroy): Likewise.
46055 [UNIX98] (pthread_barrier_init): Likewise.
46056 [UNIX98] (pthread_barrier_wait): Likewise.
46057 [UNIX98] (pthread_barrierattr_destroy): Likewise.
46058 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
46059 [UNIX98] (pthread_barrierattr_init): Likewise.
46060 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
46061 [UNIX98] (pthread_getcpuclockid): Likewise.
46062 [UNIX98] (pthread_mutex_timedlock): Likewise.
46063 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
46064 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
46065 [UNIX98] (pthread_sigmask): Likewise.
46066 [UNIX98] (pthread_spin_destroy): Likewise.
46067 [UNIX98] (pthread_spin_init): Likewise.
46068 [UNIX98] (pthread_spin_lock): Likewise.
46069 [UNIX98] (pthread_spin_trylock): Likewise.
46070 [UNIX98] (pthread_spin_unlock): Likewise.
46071 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
46072 Do not expect.
46073 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
46074 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
46075 [XPG3 || XPG4] (pthread_cond_t): Likewise.
46076 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
46077 [XPG3 || XPG4] (pthread_key_t): Likewise.
46078 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
46079 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
46080 [XPG3 || XPG4] (pthread_once_t): Likewise.
46081 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
46082 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
46083 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
46084 [XPG3 || XPG4] (pthread_t): Likewise.
46085
46086 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
46087 not expect.
46088 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
46089
46090 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
46091 Change function return type to int.
46092
46093 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
46094 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
46095 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
46096 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
46097 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
46098 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
46099 [!POSIX] (posix_madvise): Likewise.
46100 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
46101 && !UNIX98].
46102 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
46103 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
46104 (mode_t): Likewise.
46105 (posix_mem_offset): Likewise.
46106 (posix_typed_mem_get_info): Likewise.
46107 (posix_typed_mem_open): Likewise.
46108
46109 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
46110 Change condition to [XOPEN2K8].
46111
46112 * conform/conformtest.pl: Preprocess allow-header data with -x c
46113 instead of from stdin.
46114 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
46115 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
46116 [C99-based standards] (cerfc): Likewise.
46117 [C99-based standards] (cexp2): Likewise.
46118 [C99-based standards] (cexpm1): Likewise.
46119 [C99-based standards] (clog10): Likewise.
46120 [C99-based standards] (clog1p): Likewise.
46121 [C99-based standards] (clog2): Likewise.
46122 [C99-based standards] (clgamma): Likewise.
46123 [C99-based standards] (ctgamma): Likewise.
46124 [C99-based standards] (cerff): Likewise.
46125 [C99-based standards] (cerfcf): Likewise.
46126 [C99-based standards] (cexp2f): Likewise.
46127 [C99-based standards] (cexpm1f): Likewise.
46128 [C99-based standards] (clog10f): Likewise.
46129 [C99-based standards] (clog1pf): Likewise.
46130 [C99-based standards] (clog2f): Likewise.
46131 [C99-based standards] (clgammaf): Likewise.
46132 [C99-based standards] (ctgammaf): Likewise.
46133 [C99-based standards] (cerfl): Likewise.
46134 [C99-based standards] (cerfcl): Likewise.
46135 [C99-based standards] (cexp2l): Likewise.
46136 [C99-based standards] (cexpm1l): Likewise.
46137 [C99-based standards] (clog10l): Likewise.
46138 [C99-based standards] (clog1pl): Likewise.
46139 [C99-based standards] (clog2l): Likewise.
46140 [C99-based standards] (clgammal): Likewise.
46141 [C99-based standards] (ctgammal): Likewise.
46142 * conform/data/inttypes.h-data [C99-based standards]: Include
46143 stdint.h-data. Remove all expectations for stdint.h contents.
46144 [C99-based standards] (PRI*): Do not allow.
46145 [C99-based standards] (SCN*): Likewise.
46146 [C99-based standards] (*_t): Likewise.
46147 [C99-based-standards] (PRId8): Expect macro.
46148 [C99-based-standards] (PRIi8): Likewise.
46149 [C99-based-standards] (PRIo8): Likewise.
46150 [C99-based-standards] (PRIu8): Likewise.
46151 [C99-based-standards] (PRIx8): Likewise.
46152 [C99-based-standards] (PRIX8): Likewise.
46153 [C99-based-standards] (SCNd8): Likewise.
46154 [C99-based-standards] (SCNi8): Likewise.
46155 [C99-based-standards] (SCNo8): Likewise.
46156 [C99-based-standards] (SCNu8): Likewise.
46157 [C99-based-standards] (SCNx8): Likewise.
46158 [C99-based-standards] (PRIdLEAST8): Likewise.
46159 [C99-based-standards] (PRIiLEAST8): Likewise.
46160 [C99-based-standards] (PRIoLEAST8): Likewise.
46161 [C99-based-standards] (PRIuLEAST8): Likewise.
46162 [C99-based-standards] (PRIxLEAST8): Likewise.
46163 [C99-based-standards] (PRIXLEAST8): Likewise.
46164 [C99-based-standards] (SCNdLEAST8): Likewise.
46165 [C99-based-standards] (SCNiLEAST8): Likewise.
46166 [C99-based-standards] (SCNoLEAST8): Likewise.
46167 [C99-based-standards] (SCNuLEAST8): Likewise.
46168 [C99-based-standards] (SCNxLEAST8): Likewise.
46169 [C99-based-standards] (PRIdFAST8): Likewise.
46170 [C99-based-standards] (PRIiFAST8): Likewise.
46171 [C99-based-standards] (PRIoFAST8): Likewise.
46172 [C99-based-standards] (PRIuFAST8): Likewise.
46173 [C99-based-standards] (PRIxFAST8): Likewise.
46174 [C99-based-standards] (PRIXFAST8): Likewise.
46175 [C99-based-standards] (SCNdFAST8): Likewise.
46176 [C99-based-standards] (SCNiFAST8): Likewise.
46177 [C99-based-standards] (SCNoFAST8): Likewise.
46178 [C99-based-standards] (SCNuFAST8): Likewise.
46179 [C99-based-standards] (SCNxFAST8): Likewise.
46180 [C99-based-standards] (PRId16): Likewise.
46181 [C99-based-standards] (PRIi16): Likewise.
46182 [C99-based-standards] (PRIo16): Likewise.
46183 [C99-based-standards] (PRIu16): Likewise.
46184 [C99-based-standards] (PRIx16): Likewise.
46185 [C99-based-standards] (PRIX16): Likewise.
46186 [C99-based-standards] (SCNd16): Likewise.
46187 [C99-based-standards] (SCNi16): Likewise.
46188 [C99-based-standards] (SCNo16): Likewise.
46189 [C99-based-standards] (SCNu16): Likewise.
46190 [C99-based-standards] (SCNx16): Likewise.
46191 [C99-based-standards] (PRIdLEAST16): Likewise.
46192 [C99-based-standards] (PRIiLEAST16): Likewise.
46193 [C99-based-standards] (PRIoLEAST16): Likewise.
46194 [C99-based-standards] (PRIuLEAST16): Likewise.
46195 [C99-based-standards] (PRIxLEAST16): Likewise.
46196 [C99-based-standards] (PRIXLEAST16): Likewise.
46197 [C99-based-standards] (SCNdLEAST16): Likewise.
46198 [C99-based-standards] (SCNiLEAST16): Likewise.
46199 [C99-based-standards] (SCNoLEAST16): Likewise.
46200 [C99-based-standards] (SCNuLEAST16): Likewise.
46201 [C99-based-standards] (SCNxLEAST16): Likewise.
46202 [C99-based-standards] (PRIdFAST16): Likewise.
46203 [C99-based-standards] (PRIiFAST16): Likewise.
46204 [C99-based-standards] (PRIoFAST16): Likewise.
46205 [C99-based-standards] (PRIuFAST16): Likewise.
46206 [C99-based-standards] (PRIxFAST16): Likewise.
46207 [C99-based-standards] (PRIXFAST16): Likewise.
46208 [C99-based-standards] (SCNdFAST16): Likewise.
46209 [C99-based-standards] (SCNiFAST16): Likewise.
46210 [C99-based-standards] (SCNoFAST16): Likewise.
46211 [C99-based-standards] (SCNuFAST16): Likewise.
46212 [C99-based-standards] (SCNxFAST16): Likewise.
46213 [C99-based-standards] (PRId32): Likewise.
46214 [C99-based-standards] (PRIi32): Likewise.
46215 [C99-based-standards] (PRIo32): Likewise.
46216 [C99-based-standards] (PRIu32): Likewise.
46217 [C99-based-standards] (PRIx32): Likewise.
46218 [C99-based-standards] (PRIX32): Likewise.
46219 [C99-based-standards] (SCNd32): Likewise.
46220 [C99-based-standards] (SCNi32): Likewise.
46221 [C99-based-standards] (SCNo32): Likewise.
46222 [C99-based-standards] (SCNu32): Likewise.
46223 [C99-based-standards] (SCNx32): Likewise.
46224 [C99-based-standards] (PRIdLEAST32): Likewise.
46225 [C99-based-standards] (PRIiLEAST32): Likewise.
46226 [C99-based-standards] (PRIoLEAST32): Likewise.
46227 [C99-based-standards] (PRIuLEAST32): Likewise.
46228 [C99-based-standards] (PRIxLEAST32): Likewise.
46229 [C99-based-standards] (PRIXLEAST32): Likewise.
46230 [C99-based-standards] (SCNdLEAST32): Likewise.
46231 [C99-based-standards] (SCNiLEAST32): Likewise.
46232 [C99-based-standards] (SCNoLEAST32): Likewise.
46233 [C99-based-standards] (SCNuLEAST32): Likewise.
46234 [C99-based-standards] (SCNxLEAST32): Likewise.
46235 [C99-based-standards] (PRIdFAST32): Likewise.
46236 [C99-based-standards] (PRIiFAST32): Likewise.
46237 [C99-based-standards] (PRIoFAST32): Likewise.
46238 [C99-based-standards] (PRIuFAST32): Likewise.
46239 [C99-based-standards] (PRIxFAST32): Likewise.
46240 [C99-based-standards] (PRIXFAST32): Likewise.
46241 [C99-based-standards] (SCNdFAST32): Likewise.
46242 [C99-based-standards] (SCNiFAST32): Likewise.
46243 [C99-based-standards] (SCNoFAST32): Likewise.
46244 [C99-based-standards] (SCNuFAST32): Likewise.
46245 [C99-based-standards] (SCNxFAST32): Likewise.
46246 [C99-based-standards] (PRId64): Likewise.
46247 [C99-based-standards] (PRIi64): Likewise.
46248 [C99-based-standards] (PRIo64): Likewise.
46249 [C99-based-standards] (PRIu64): Likewise.
46250 [C99-based-standards] (PRIx64): Likewise.
46251 [C99-based-standards] (PRIX64): Likewise.
46252 [C99-based-standards] (SCNd64): Likewise.
46253 [C99-based-standards] (SCNi64): Likewise.
46254 [C99-based-standards] (SCNo64): Likewise.
46255 [C99-based-standards] (SCNu64): Likewise.
46256 [C99-based-standards] (SCNx64): Likewise.
46257 [C99-based-standards] (PRIdLEAST64): Likewise.
46258 [C99-based-standards] (PRIiLEAST64): Likewise.
46259 [C99-based-standards] (PRIoLEAST64): Likewise.
46260 [C99-based-standards] (PRIuLEAST64): Likewise.
46261 [C99-based-standards] (PRIxLEAST64): Likewise.
46262 [C99-based-standards] (PRIXLEAST64): Likewise.
46263 [C99-based-standards] (SCNdLEAST64): Likewise.
46264 [C99-based-standards] (SCNiLEAST64): Likewise.
46265 [C99-based-standards] (SCNoLEAST64): Likewise.
46266 [C99-based-standards] (SCNuLEAST64): Likewise.
46267 [C99-based-standards] (SCNxLEAST64): Likewise.
46268 [C99-based-standards] (PRIdFAST64): Likewise.
46269 [C99-based-standards] (PRIiFAST64): Likewise.
46270 [C99-based-standards] (PRIoFAST64): Likewise.
46271 [C99-based-standards] (PRIuFAST64): Likewise.
46272 [C99-based-standards] (PRIxFAST64): Likewise.
46273 [C99-based-standards] (PRIXFAST64): Likewise.
46274 [C99-based-standards] (SCNdFAST64): Likewise.
46275 [C99-based-standards] (SCNiFAST64): Likewise.
46276 [C99-based-standards] (SCNoFAST64): Likewise.
46277 [C99-based-standards] (SCNuFAST64): Likewise.
46278 [C99-based-standards] (SCNxFAST64): Likewise.
46279 [C99-based-standards] (PRIdMAX): Likewise.
46280 [C99-based-standards] (PRIiMAX): Likewise.
46281 [C99-based-standards] (PRIoMAX): Likewise.
46282 [C99-based-standards] (PRIuMAX): Likewise.
46283 [C99-based-standards] (PRIxMAX): Likewise.
46284 [C99-based-standards] (PRIXMAX): Likewise.
46285 [C99-based-standards] (SCNdMAX): Likewise.
46286 [C99-based-standards] (SCNiMAX): Likewise.
46287 [C99-based-standards] (SCNoMAX): Likewise.
46288 [C99-based-standards] (SCNuMAX): Likewise.
46289 [C99-based-standards] (SCNxMAX): Likewise.
46290 [C99-based-standards] (PRIdPTR): Likewise.
46291 [C99-based-standards] (PRIiPTR): Likewise.
46292 [C99-based-standards] (PRIoPTR): Likewise.
46293 [C99-based-standards] (PRIuPTR): Likewise.
46294 [C99-based-standards] (PRIxPTR): Likewise.
46295 [C99-based-standards] (PRIXPTR): Likewise.
46296 [C99-based-standards] (SCNdPTR): Likewise.
46297 [C99-based-standards] (SCNiPTR): Likewise.
46298 [C99-based-standards] (SCNoPTR): Likewise.
46299 [C99-based-standards] (SCNuPTR): Likewise.
46300 [C99-based-standards] (SCNxPTR): Likewise.
46301 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
46302 allow.
46303 * conform/data/stdint.h-data: Update comments to clarify
46304 requirements.
46305 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
46306 type.
46307 [C99-based standards] (INT8_MAX): Likewise.
46308 [C99-based standards] (INT16_MIN): Likewise.
46309 [C99-based standards] (INT16_MAX): Likewise.
46310 [C99-based standards] (INT32_MIN): Likewise.
46311 [C99-based standards] (INT32_MAX): Likewise.
46312 [C99-based standards] (INT64_MIN): Likewise.
46313 [C99-based standards] (INT64_MAX): Likewise.
46314 [C99-based standards] (UINT8_MAX): Likewise.
46315 [C99-based standards] (UINT16_MAX): Likewise.
46316 [C99-based standards] (UINT32_MAX): Likewise.
46317 [C99-based standards] (UINT64_MAX): Likewise.
46318 [C99-based standards] (INT_LEAST8_MIN): Likewise.
46319 [C99-based standards] (INT_LEAST8_MAX): Likewise.
46320 [C99-based standards] (INT_LEAST16_MIN): Likewise.
46321 [C99-based standards] (INT_LEAST16_MAX): Likewise.
46322 [C99-based standards] (INT_LEAST32_MIN): Likewise.
46323 [C99-based standards] (INT_LEAST32_MAX): Likewise.
46324 [C99-based standards] (INT_LEAST64_MIN): Likewise.
46325 [C99-based standards] (INT_LEAST64_MAX): Likewise.
46326 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
46327 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
46328 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
46329 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
46330 [C99-based standards] (INT_FAST8_MIN): Likewise.
46331 [C99-based standards] (INT_FAST8_MAX): Likewise.
46332 [C99-based standards] (INT_FAST16_MIN): Likewise.
46333 [C99-based standards] (INT_FAST16_MAX): Likewise.
46334 [C99-based standards] (INT_FAST32_MIN): Likewise.
46335 [C99-based standards] (INT_FAST32_MAX): Likewise.
46336 [C99-based standards] (INT_FAST64_MIN): Likewise.
46337 [C99-based standards] (INT_FAST64_MAX): Likewise.
46338 [C99-based standards] (UINT_FAST8_MAX): Likewise.
46339 [C99-based standards] (UINT_FAST16_MAX): Likewise.
46340 [C99-based standards] (UINT_FAST32_MAX): Likewise.
46341 [C99-based standards] (UINT_FAST64_MAX): Likewise.
46342 [C99-based standards] (INTPTR_MIN): Likewise.
46343 [C99-based standards] (INTPTR_MAX): Likewise.
46344 [C99-based standards] (UINTPTR_MAX): Likewise.
46345 [C99-based standards] (INTMAX_MIN): Likewise.
46346 [C99-based standards] (INTMAX_MAX): Likewise.
46347 [C99-based standards] (UINTMAX_MAX): Likewise.
46348 [C99-based standards] (PTRDIFF_MIN): Likewise.
46349 [C99-based standards] (PTRDIFF_MAX): Likewise.
46350 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
46351 [C99-based standards] (SIZE_MAX): Likewise.
46352 [C99-based standards] (WCHAR_MAX): Likewise.
46353 [C99-based standards] (WINT_MAX): Likewise.
46354 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
46355 constraint on value.
46356 [C99-based standards] (WCHAR_MIN): Likewise.
46357 [C99-based standards] (WINT_MIN): Likewise.
46358 [C99-based standards] (*_t): Allow.
46359 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
46360 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
46361 Include math.h-data and complex.h-data. Remove all expectations
46362 of math.h and complex.h contents.
46363 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
46364 at end of line.
46365 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
46366 (struct tm): Expect tag.
46367 [C99-based-standards] (wcstof): Expect function.
46368 [C99-based-standards] (wcstold): Likewise.
46369 [C99-based-standards] (wcstoll): Likewise.
46370 [C99-based-standards] (wcstoull): Likewise.
46371 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
46372 macro-int-constant. Specify type.
46373 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
46374 constraint on value.
46375 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
46376 Specify type.
46377 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
46378 Specify value.
46379 [ISO C standards]: Do not allow headers.
46380 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
46381 wcs[abcdefghijklmnopqrstuvwxyz]*.
46382 [ISO C standards] (*_t): Do not allow.
46383 * conform/data/wctype.h-data [C99-based standards] (iswblank):
46384 Expect function.
46385 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
46386 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
46387 Specify type.
46388 [ISO C standards]: Do not allow headers.
46389 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
46390 is[abcdefghijklmnopqrstuvwxyz]*.
46391 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
46392 to[abcdefghijklmnopqrstuvwxyz]*.
46393 [ISO C standards] (*_t): Do not allow.
46394 * conform/data/stdalign.h-data: New file.
46395 * conform/data/stdbool.h-data: Likewise.
46396 * conform/data/stdnoreturn.h-data: Likewise.
46397
46398 2012-11-07 Roland McGrath <roland@hack.frob.com>
46399
46400 [BZ #14815]
46401 * manual/filesys.texi (Directory Entries): Typo fix.
46402 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
46403
46404 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
46405
46406 * elf/elf.h (EM_AARCH64): New macro.
46407 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
46408 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
46409 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
46410 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
46411 (R_AARCH64_TLSDESC): Likewise.
46412 (NT_ARM_TLS): Likewise.
46413 (NT_ARM_HW_BREAK): Likewise.
46414 (NT_ARM_HW_WATCH): Likewise.
46415
46416 2012-11-07 Joseph Myers <joseph@codesourcery.com>
46417
46418 [BZ #14811]
46419 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
46420 (__ieee754_powl): Saturate nonzero exponents with absolute value
46421 below 0x1p-79 to +/- 0x1p-79.
46422 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
46423 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
46424 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
46425 nonzero exponents with absolute value below 0x1p-32 to +/-
46426 0x1p-32.
46427 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
46428 (__ieee754_powl): Saturate nonzero exponents with absolute value
46429 below 0x1p-79 to +/- 0x1p-79.
46430 * math/libm-test.inc (pow_test): Add more tests.
46431
46432 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46433
46434 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
46435 _dl_s390_cap_flags with kernel. Increase string length.
46436 (_dl_s390_platforms): Add z196 and zEC12.
46437
46438 2012-11-07 Joseph Myers <joseph@codesourcery.com>
46439
46440 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
46441 Change XOPEN21K to XOPEN2K.
46442
46443 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
46444
46445 * string/memmove.c: Use memcpy when possible.
46446
46447 2012-11-06 Andreas Jaeger <aj@suse.de>
46448
46449 * po/eo.po: Update from translation team.
46450
46451 2012-11-06 Joseph Myers <joseph@codesourcery.com>
46452
46453 [BZ #14793]
46454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
46455 exponent and small x and y exponents, scale x or y up. Increase
46456 by 2 the exponent used in scaling up.
46457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46458 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46459 * math/libm-test.inc (fma_test): Add more tests.
46460 (fma_test_towardzero): Likewise.
46461 (fma_test_downward): Likewise.
46462 (fma_test_upward): Likewise.
46463
46464 2012-11-05 Joseph Myers <joseph@codesourcery.com>
46465
46466 [BZ #14805]
46467 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
46468 fenv_t *.
46469
46470 [BZ #14801]
46471 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
46472 namespace for names of struct fields.
46473 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
46474 fenv_t fields.
46475 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
46476 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
46477
46478 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
46479
46480 [BZ #3665]
46481 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
46482
46483 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
46484
46485 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
46486 PTR_DEMANGLE.
46487
46488 [BZ #5246]
46489 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
46490 PTR_DEMANGLE.
46491
46492 2012-11-04 Joseph Myers <joseph@codesourcery.com>
46493
46494 [BZ #14797]
46495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
46496 definitely overflow as x * y not x * y + z.
46497 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46498 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46499 * math/libm-test.inc (fma_test): Add more tests.
46500 (fma_test_towardzero): Likewise.
46501 (fma_test_downward): Likewise.
46502 (fma_test_upward): Likewise.
46503
46504 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
46505
46506 [BZ #157]
46507
46508 * include/stub-tag.h: Remove file.
46509 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
46510 '#include' of it.
46511 * manual/maint.texi (Porting): Don't reference it.
46512 * Makerules ($(objpfx)stubs): Likewise.
46513 * dirent/closedir.c: Don't include <stub-tag.h>.
46514 * dirent/dirfd.c: Likewise.
46515 * dirent/fdopendir.c: Likewise.
46516 * dirent/getdents.c: Likewise.
46517 * dirent/getdents64.c: Likewise.
46518 * dirent/opendir.c: Likewise.
46519 * dirent/readdir.c: Likewise.
46520 * dirent/readdir64.c: Likewise.
46521 * dirent/readdir64_r.c: Likewise.
46522 * dirent/readdir_r.c: Likewise.
46523 * dirent/rewinddir.c: Likewise.
46524 * dirent/seekdir.c: Likewise.
46525 * dirent/telldir.c: Likewise.
46526 * gmon/profil.c: Likewise.
46527 * grp/setgroups.c: Likewise.
46528 * inet/if_index.c: Likewise.
46529 * io/access.c: Likewise.
46530 * io/chdir.c: Likewise.
46531 * io/chmod.c: Likewise.
46532 * io/chown.c: Likewise.
46533 * io/close.c: Likewise.
46534 * io/dup.c: Likewise.
46535 * io/dup2.c: Likewise.
46536 * io/dup3.c: Likewise.
46537 * io/euidaccess.c: Likewise.
46538 * io/faccessat.c: Likewise.
46539 * io/fchdir.c: Likewise.
46540 * io/fchmod.c: Likewise.
46541 * io/fchmodat.c: Likewise.
46542 * io/fchown.c: Likewise.
46543 * io/fchownat.c: Likewise.
46544 * io/fcntl.c: Likewise.
46545 * io/flock.c: Likewise.
46546 * io/fstatfs.c: Likewise.
46547 * io/fstatfs64.c: Likewise.
46548 * io/fstatvfs.c: Likewise.
46549 * io/fstatvfs64.c: Likewise.
46550 * io/futimens.c: Likewise.
46551 * io/fxstat.c: Likewise.
46552 * io/fxstat64.c: Likewise.
46553 * io/fxstatat.c: Likewise.
46554 * io/fxstatat64.c: Likewise.
46555 * io/getcwd.c: Likewise.
46556 * io/isatty.c: Likewise.
46557 * io/lchmod.c: Likewise.
46558 * io/lchown.c: Likewise.
46559 * io/link.c: Likewise.
46560 * io/linkat.c: Likewise.
46561 * io/lseek.c: Likewise.
46562 * io/lseek64.c: Likewise.
46563 * io/lxstat64.c: Likewise.
46564 * io/mkdir.c: Likewise.
46565 * io/mkdirat.c: Likewise.
46566 * io/mkfifo.c: Likewise.
46567 * io/mkfifoat.c: Likewise.
46568 * io/open.c: Likewise.
46569 * io/open64.c: Likewise.
46570 * io/openat.c: Likewise.
46571 * io/openat64.c: Likewise.
46572 * io/pipe.c: Likewise.
46573 * io/pipe2.c: Likewise.
46574 * io/poll.c: Likewise.
46575 * io/posix_fadvise.c: Likewise.
46576 * io/posix_fadvise64.c: Likewise.
46577 * io/posix_fallocate.c: Likewise.
46578 * io/posix_fallocate64.c: Likewise.
46579 * io/read.c: Likewise.
46580 * io/readlink.c: Likewise.
46581 * io/readlinkat.c: Likewise.
46582 * io/rmdir.c: Likewise.
46583 * io/sendfile.c: Likewise.
46584 * io/sendfile64.c: Likewise.
46585 * io/statfs.c: Likewise.
46586 * io/statfs64.c: Likewise.
46587 * io/statvfs.c: Likewise.
46588 * io/statvfs64.c: Likewise.
46589 * io/symlink.c: Likewise.
46590 * io/symlinkat.c: Likewise.
46591 * io/ttyname.c: Likewise.
46592 * io/ttyname_r.c: Likewise.
46593 * io/umask.c: Likewise.
46594 * io/unlink.c: Likewise.
46595 * io/unlinkat.c: Likewise.
46596 * io/utime.c: Likewise.
46597 * io/utimensat.c: Likewise.
46598 * io/write.c: Likewise.
46599 * io/xmknod.c: Likewise.
46600 * io/xmknodat.c: Likewise.
46601 * io/xstat.c: Likewise.
46602 * io/xstat64.c: Likewise.
46603 * login/getpt.c: Likewise.
46604 * login/grantpt.c: Likewise.
46605 * login/unlockpt.c: Likewise.
46606 * math/e_acoshl.c: Likewise.
46607 * math/e_acosl.c: Likewise.
46608 * math/e_asinl.c: Likewise.
46609 * math/e_atan2l.c: Likewise.
46610 * math/e_atanhl.c: Likewise.
46611 * math/e_coshl.c: Likewise.
46612 * math/e_expl.c: Likewise.
46613 * math/e_fmodl.c: Likewise.
46614 * math/e_gammal_r.c: Likewise.
46615 * math/e_hypotl.c: Likewise.
46616 * math/e_j0l.c: Likewise.
46617 * math/e_j1l.c: Likewise.
46618 * math/e_jnl.c: Likewise.
46619 * math/e_lgammal_r.c: Likewise.
46620 * math/e_log10l.c: Likewise.
46621 * math/e_log2l.c: Likewise.
46622 * math/e_logl.c: Likewise.
46623 * math/e_powl.c: Likewise.
46624 * math/e_rem_pio2l.c: Likewise.
46625 * math/e_sinhl.c: Likewise.
46626 * math/e_sqrtl.c: Likewise.
46627 * math/fclrexcpt.c: Likewise.
46628 * math/fedisblxcpt.c: Likewise.
46629 * math/feenablxcpt.c: Likewise.
46630 * math/fegetenv.c: Likewise.
46631 * math/fegetexcept.c: Likewise.
46632 * math/fegetround.c: Likewise.
46633 * math/feholdexcpt.c: Likewise.
46634 * math/fesetenv.c: Likewise.
46635 * math/fesetround.c: Likewise.
46636 * math/feupdateenv.c: Likewise.
46637 * math/fgetexcptflg.c: Likewise.
46638 * math/fraiseexcpt.c: Likewise.
46639 * math/fsetexcptflg.c: Likewise.
46640 * math/ftestexcept.c: Likewise.
46641 * math/k_cosl.c: Likewise.
46642 * math/k_rem_pio2l.c: Likewise.
46643 * math/k_sinl.c: Likewise.
46644 * math/k_tanl.c: Likewise.
46645 * math/s_asinhl.c: Likewise.
46646 * math/s_atanl.c: Likewise.
46647 * math/s_cbrtl.c: Likewise.
46648 * math/s_erfl.c: Likewise.
46649 * math/s_expm1l.c: Likewise.
46650 * math/s_log1pl.c: Likewise.
46651 * math/s_tanhl.c: Likewise.
46652 * misc/acct.c: Likewise.
46653 * misc/brk.c: Likewise.
46654 * misc/chflags.c: Likewise.
46655 * misc/chroot.c: Likewise.
46656 * misc/fchflags.c: Likewise.
46657 * misc/fgetxattr.c: Likewise.
46658 * misc/flistxattr.c: Likewise.
46659 * misc/fremovexattr.c: Likewise.
46660 * misc/fsetxattr.c: Likewise.
46661 * misc/fsync.c: Likewise.
46662 * misc/ftruncate.c: Likewise.
46663 * misc/futimes.c: Likewise.
46664 * misc/futimesat.c: Likewise.
46665 * misc/getdomain.c: Likewise.
46666 * misc/getdtsz.c: Likewise.
46667 * misc/gethostid.c: Likewise.
46668 * misc/gethostname.c: Likewise.
46669 * misc/getloadavg.c: Likewise.
46670 * misc/getpagesize.c: Likewise.
46671 * misc/getsysstats.c: Likewise.
46672 * misc/getxattr.c: Likewise.
46673 * misc/gtty.c: Likewise.
46674 * misc/ioctl.c: Likewise.
46675 * misc/lgetxattr.c: Likewise.
46676 * misc/listxattr.c: Likewise.
46677 * misc/llistxattr.c: Likewise.
46678 * misc/lremovexattr.c: Likewise.
46679 * misc/lsetxattr.c: Likewise.
46680 * misc/lutimes.c: Likewise.
46681 * misc/madvise.c: Likewise.
46682 * misc/mincore.c: Likewise.
46683 * misc/mlock.c: Likewise.
46684 * misc/mlockall.c: Likewise.
46685 * misc/mmap.c: Likewise.
46686 * misc/mprotect.c: Likewise.
46687 * misc/msync.c: Likewise.
46688 * misc/munlock.c: Likewise.
46689 * misc/munlockall.c: Likewise.
46690 * misc/munmap.c: Likewise.
46691 * misc/preadv.c: Likewise.
46692 * misc/preadv64.c: Likewise.
46693 * misc/ptrace.c: Likewise.
46694 * misc/pwritev.c: Likewise.
46695 * misc/pwritev64.c: Likewise.
46696 * misc/readv.c: Likewise.
46697 * misc/reboot.c: Likewise.
46698 * misc/remap_file_pages.c: Likewise.
46699 * misc/removexattr.c: Likewise.
46700 * misc/revoke.c: Likewise.
46701 * misc/select.c: Likewise.
46702 * misc/setdomain.c: Likewise.
46703 * misc/setegid.c: Likewise.
46704 * misc/seteuid.c: Likewise.
46705 * misc/sethostid.c: Likewise.
46706 * misc/sethostname.c: Likewise.
46707 * misc/setregid.c: Likewise.
46708 * misc/setreuid.c: Likewise.
46709 * misc/setxattr.c: Likewise.
46710 * misc/sstk.c: Likewise.
46711 * misc/stty.c: Likewise.
46712 * misc/swapoff.c: Likewise.
46713 * misc/swapon.c: Likewise.
46714 * misc/sync.c: Likewise.
46715 * misc/syncfs.c: Likewise.
46716 * misc/syscall.c: Likewise.
46717 * misc/truncate.c: Likewise.
46718 * misc/ualarm.c: Likewise.
46719 * misc/usleep.c: Likewise.
46720 * misc/ustat.c: Likewise.
46721 * misc/utimes.c: Likewise.
46722 * misc/vhangup.c: Likewise.
46723 * misc/writev.c: Likewise.
46724 * posix/_exit.c: Likewise.
46725 * posix/alarm.c: Likewise.
46726 * posix/execve.c: Likewise.
46727 * posix/fexecve.c: Likewise.
46728 * posix/fork.c: Likewise.
46729 * posix/fpathconf.c: Likewise.
46730 * posix/getaddrinfo.c: Likewise.
46731 * posix/getegid.c: Likewise.
46732 * posix/geteuid.c: Likewise.
46733 * posix/getgid.c: Likewise.
46734 * posix/getgroups.c: Likewise.
46735 * posix/getlogin.c: Likewise.
46736 * posix/getlogin_r.c: Likewise.
46737 * posix/getpgid.c: Likewise.
46738 * posix/getpid.c: Likewise.
46739 * posix/getppid.c: Likewise.
46740 * posix/getresgid.c: Likewise.
46741 * posix/getresuid.c: Likewise.
46742 * posix/getsid.c: Likewise.
46743 * posix/getuid.c: Likewise.
46744 * posix/glob64.c: Likewise.
46745 * posix/nanosleep.c: Likewise.
46746 * posix/pathconf.c: Likewise.
46747 * posix/pause.c: Likewise.
46748 * posix/posix_madvise.c: Likewise.
46749 * posix/pread.c: Likewise.
46750 * posix/pread64.c: Likewise.
46751 * posix/pwrite.c: Likewise.
46752 * posix/pwrite64.c: Likewise.
46753 * posix/sched_getaffinity.c: Likewise.
46754 * posix/sched_getp.c: Likewise.
46755 * posix/sched_gets.c: Likewise.
46756 * posix/sched_primax.c: Likewise.
46757 * posix/sched_primin.c: Likewise.
46758 * posix/sched_rr_gi.c: Likewise.
46759 * posix/sched_setaffinity.c: Likewise.
46760 * posix/sched_setp.c: Likewise.
46761 * posix/sched_sets.c: Likewise.
46762 * posix/sched_yield.c: Likewise.
46763 * posix/setgid.c: Likewise.
46764 * posix/setlogin.c: Likewise.
46765 * posix/setpgid.c: Likewise.
46766 * posix/setresgid.c: Likewise.
46767 * posix/setresuid.c: Likewise.
46768 * posix/setsid.c: Likewise.
46769 * posix/setuid.c: Likewise.
46770 * posix/sleep.c: Likewise.
46771 * posix/spawni.c: Likewise.
46772 * posix/sysconf.c: Likewise.
46773 * posix/times.c: Likewise.
46774 * posix/wait.c: Likewise.
46775 * posix/wait3.c: Likewise.
46776 * posix/wait4.c: Likewise.
46777 * posix/waitpid.c: Likewise.
46778 * resolv/gai_sigqueue.c: Likewise.
46779 * resource/getpriority.c: Likewise.
46780 * resource/getrlimit.c: Likewise.
46781 * resource/getrusage.c: Likewise.
46782 * resource/nice.c: Likewise.
46783 * resource/setpriority.c: Likewise.
46784 * resource/setrlimit.c: Likewise.
46785 * resource/ulimit.c: Likewise.
46786 * rt/aio_cancel.c: Likewise.
46787 * rt/aio_fsync.c: Likewise.
46788 * rt/aio_read.c: Likewise.
46789 * rt/aio_sigqueue.c: Likewise.
46790 * rt/aio_suspend.c: Likewise.
46791 * rt/aio_write.c: Likewise.
46792 * rt/clock_getres.c: Likewise.
46793 * rt/clock_gettime.c: Likewise.
46794 * rt/clock_nanosleep.c: Likewise.
46795 * rt/clock_settime.c: Likewise.
46796 * rt/lio_listio.c: Likewise.
46797 * rt/mq_close.c: Likewise.
46798 * rt/mq_getattr.c: Likewise.
46799 * rt/mq_notify.c: Likewise.
46800 * rt/mq_open.c: Likewise.
46801 * rt/mq_receive.c: Likewise.
46802 * rt/mq_send.c: Likewise.
46803 * rt/mq_setattr.c: Likewise.
46804 * rt/mq_timedreceive.c: Likewise.
46805 * rt/mq_timedsend.c: Likewise.
46806 * rt/mq_unlink.c: Likewise.
46807 * rt/shm_open.c: Likewise.
46808 * rt/shm_unlink.c: Likewise.
46809 * rt/timer_create.c: Likewise.
46810 * rt/timer_delete.c: Likewise.
46811 * rt/timer_getoverr.c: Likewise.
46812 * rt/timer_gettime.c: Likewise.
46813 * rt/timer_settime.c: Likewise.
46814 * setjmp/__longjmp.c: Likewise.
46815 * setjmp/setjmp.c: Likewise.
46816 * signal/kill.c: Likewise.
46817 * signal/killpg.c: Likewise.
46818 * signal/raise.c: Likewise.
46819 * signal/sigaction.c: Likewise.
46820 * signal/sigaltstack.c: Likewise.
46821 * signal/sigblock.c: Likewise.
46822 * signal/sigignore.c: Likewise.
46823 * signal/sigintr.c: Likewise.
46824 * signal/signal.c: Likewise.
46825 * signal/sigpause.c: Likewise.
46826 * signal/sigpending.c: Likewise.
46827 * signal/sigqueue.c: Likewise.
46828 * signal/sigreturn.c: Likewise.
46829 * signal/sigset.c: Likewise.
46830 * signal/sigsetmask.c: Likewise.
46831 * signal/sigstack.c: Likewise.
46832 * signal/sigsuspend.c: Likewise.
46833 * signal/sigtimedwait.c: Likewise.
46834 * signal/sigvec.c: Likewise.
46835 * signal/sigwait.c: Likewise.
46836 * signal/sigwaitinfo.c: Likewise.
46837 * signal/sysv_signal.c: Likewise.
46838 * socket/accept.c: Likewise.
46839 * socket/accept4.c: Likewise.
46840 * socket/bind.c: Likewise.
46841 * socket/connect.c: Likewise.
46842 * socket/getpeername.c: Likewise.
46843 * socket/getsockname.c: Likewise.
46844 * socket/getsockopt.c: Likewise.
46845 * socket/isfdtype.c: Likewise.
46846 * socket/listen.c: Likewise.
46847 * socket/recv.c: Likewise.
46848 * socket/recvfrom.c: Likewise.
46849 * socket/recvmsg.c: Likewise.
46850 * socket/send.c: Likewise.
46851 * socket/sendmsg.c: Likewise.
46852 * socket/sendto.c: Likewise.
46853 * socket/setsockopt.c: Likewise.
46854 * socket/shutdown.c: Likewise.
46855 * socket/sockatmark.c: Likewise.
46856 * socket/socket.c: Likewise.
46857 * socket/socketpair.c: Likewise.
46858 * stdio-common/ctermid.c: Likewise.
46859 * stdio-common/cuserid.c: Likewise.
46860 * stdio-common/remove.c: Likewise.
46861 * stdio-common/rename.c: Likewise.
46862 * stdio-common/renameat.c: Likewise.
46863 * stdio-common/tempname.c: Likewise.
46864 * stdlib/getcontext.c: Likewise.
46865 * stdlib/makecontext.c: Likewise.
46866 * stdlib/setcontext.c: Likewise.
46867 * stdlib/swapcontext.c: Likewise.
46868 * stdlib/system.c: Likewise.
46869 * streams/fattach.c: Likewise.
46870 * streams/fdetach.c: Likewise.
46871 * streams/getmsg.c: Likewise.
46872 * streams/getpmsg.c: Likewise.
46873 * streams/putmsg.c: Likewise.
46874 * streams/putpmsg.c: Likewise.
46875 * sysdeps/unix/bsd/getpt.c: Likewise.
46876 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
46877 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
46878 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46880 Likewise.
46881 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
46882 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46883 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
46884 * sysvipc/msgctl.c: Likewise.
46885 * sysvipc/msgget.c: Likewise.
46886 * sysvipc/msgrcv.c: Likewise.
46887 * sysvipc/msgsnd.c: Likewise.
46888 * sysvipc/semctl.c: Likewise.
46889 * sysvipc/semget.c: Likewise.
46890 * sysvipc/semop.c: Likewise.
46891 * sysvipc/semtimedop.c: Likewise.
46892 * sysvipc/shmat.c: Likewise.
46893 * sysvipc/shmctl.c: Likewise.
46894 * sysvipc/shmdt.c: Likewise.
46895 * sysvipc/shmget.c: Likewise.
46896 * termios/tcdrain.c: Likewise.
46897 * termios/tcflow.c: Likewise.
46898 * termios/tcflush.c: Likewise.
46899 * termios/tcgetattr.c: Likewise.
46900 * termios/tcgetpgrp.c: Likewise.
46901 * termios/tcsendbrk.c: Likewise.
46902 * termios/tcsetattr.c: Likewise.
46903 * termios/tcsetpgrp.c: Likewise.
46904 * time/adjtime.c: Likewise.
46905 * time/clock.c: Likewise.
46906 * time/getitimer.c: Likewise.
46907 * time/gettimeofday.c: Likewise.
46908 * time/setitimer.c: Likewise.
46909 * time/settimeofday.c: Likewise.
46910 * time/stime.c: Likewise.
46911 * time/time.c: Likewise.
46912
46913 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
46914
46915 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
46916 /usr/old/bin.
46917
46918 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
46919 instead of spaces.
46920 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
46921
46922 2012-11-03 Joseph Myers <joseph@codesourcery.com>
46923
46924 [BZ #14796]
46925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
46926 FE_TONEAREST before applying Dekker multiplication and Knuth
46927 addition. Clear inexact exceptions and check for exact zero
46928 results afterwards.
46929 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46930 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46931 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46932 * math/libm-test.inc (fma_test): Add more tests.
46933 (fma_test_towardzero): Likewise.
46934 (fma_test_downward): Likewise.
46935 (fma_test_upward): Likewise.
46936 * sysdeps/generic/math_private.h (default_libc_fesetround): New
46937 function.
46938 (libc_fesetround): New macro.
46939 (libc_fesetroundf): Likewise.
46940 (libc_fesetroundl): Likewise.
46941 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
46942 function.
46943 (libc_fesetround_387): Likewise.
46944 (libc_fesetroundf): New macro.
46945 (libc_fesetround): Likewise.
46946 (libc_fesetroundl): Likewise.
46947 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
46948 function.
46949 (libc_fesetroundf): New macro.
46950 (libc_fesetround): Likewise.
46951 (libc_fesetroundl): Likewise.
46952 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
46953 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
46954 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
46955 libm_hidden_ver.
46956 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
46957 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
46958 libm_hidden_def.
46959 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
46960 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
46961 libm_hidden_ver.
46962 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
46963 libm_hidden_def.
46964
46965 [BZ #3439]
46966 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
46967 integer constant usable in #if and use that to give value to enum
46968 constant.
46969 (FE_DIVBYZERO): Likewise.
46970 (FE_UNDERFLOW): Likewise.
46971 (FE_OVERFLOW): Likewise.
46972 (FE_INVALID): Likewise.
46973 (FE_INVALID_SNAN): Likewise.
46974 (FE_INVALID_ISI): Likewise.
46975 (FE_INVALID_IDI): Likewise.
46976 (FE_INVALID_ZDZ): Likewise.
46977 (FE_INVALID_IMZ): Likewise.
46978 (FE_INVALID_COMPARE): Likewise.
46979 (FE_INVALID_SOFTWARE): Likewise.
46980 (FE_INVALID_SQRT): Likewise.
46981 (FE_INVALID_INTEGER_CONVERSION): Likewise.
46982 (FE_TONEAREST): Likewise.
46983 (FE_TOWARDZERO): Likewise.
46984 (FE_UPWARD): Likewise.
46985 (FE_DOWNWARD): Likewise.
46986 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
46987 (FE_DIVBYZERO): Likewise.
46988 (FE_OVERFLOW): Likewise.
46989 (FE_UNDERFLOW): Likewise.
46990 (FE_INEXACT): Likewise.
46991 (FE_TONEAREST): Likewise.
46992 (FE_DOWNWARD): Likewise.
46993 (FE_UPWARD): Likewise.
46994 (FE_TOWARDZERO): Likewise.
46995 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
46996 (FE_UNDERFLOW): Likewise.
46997 (FE_OVERFLOW): Likewise.
46998 (FE_DIVBYZERO): Likewise.
46999 (FE_INVALID): Likewise.
47000 (FE_TONEAREST): Likewise.
47001 (FE_TOWARDZERO): Likewise.
47002 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
47003 (FE_OVERFLOW): Likewise.
47004 (FE_UNDERFLOW): Likewise.
47005 (FE_DIVBYZERO): Likewise.
47006 (FE_INEXACT): Likewise.
47007 (FE_TONEAREST): Likewise.
47008 (FE_TOWARDZERO): Likewise.
47009 (FE_UPWARD): Likewise.
47010 (FE_DOWNWARD): Likewise.
47011 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
47012 (FE_DIVBYZERO): Likewise.
47013 (FE_OVERFLOW): Likewise.
47014 (FE_UNDERFLOW): Likewise.
47015 (FE_INEXACT): Likewise.
47016 (FE_TONEAREST): Likewise.
47017 (FE_DOWNWARD): Likewise.
47018 (FE_UPWARD): Likewise.
47019 (FE_TOWARDZERO): Likewise.
47020
47021 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
47022
47023 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
47024
47025 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
47026
47027 * scripts/cross-test-ssh.sh (command): Use newlines to separate
47028 commands. Quote $PWD.
47029 (blacklist_exports): Don't use remove_newlines. Replace "declare
47030 -x" by "export".
47031 (remove_newlines): Remove.
47032
47033 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
47034
47035 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
47036 * stdlib/stdlib.h (atof): Moved to ...
47037 * include/bits/stdlib-float.h: Here. New file.
47038 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
47039 * stdlib/bits/stdlib-float.h: New file.
47040 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
47041 -mno-sse -mno-mmx.
47042 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
47043 <xmmintrin.h>.
47044
47045 2012-11-02 Joseph Myers <joseph@codesourcery.com>
47046
47047 * conform/conformtest.pl (@headers): Add fenv.h.
47048 * conform/data/fenv.h-data: New file.
47049 * include/fenv.h [_ISOMAC]: Disable all contents of file except
47050 include of <math/fenv.h>.
47051
47052 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
47053 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
47054 && !UNIX98]. Enables tests for XOPEN2K8.
47055 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
47056 POSIX2008]: Likewise.
47057
47058 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
47059 (struct rusage): Do not expect type or its members.
47060
47061 [BZ #3439]
47062 * math/math.h (FP_NAN): Define macro to integer constant usable in
47063 #if and use that to give value to enum constant.
47064 (FP_INFINITE): Likewise.
47065 (FP_ZERO): Likewise.
47066 (FP_SUBNORMAL): Likewise.
47067 (FP_NORMAL): Likewise.
47068
47069 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
47070
47071 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
47072 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
47073 arguments.
47074
47075 2012-11-02 Roland McGrath <roland@hack.frob.com>
47076
47077 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
47078 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
47079 autoconf-time if not.
47080 * configure.in: Remove AC_PREREQ.
47081
47082 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47083
47084 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
47085 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
47086 of the internal implementation.
47087
47088 2012-11-02 Joseph Myers <joseph@codesourcery.com>
47089
47090 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
47091 except include of <misc/sys/syslog.h>.
47092
47093 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
47094
47095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
47096 function returns with a NULL context exit with zero.
47097
47098 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47099
47100 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
47101
47102 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
47103
47104 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
47105 (run_program_cmd): This.
47106 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
47107 (tst_langinfo): New variable. Use it.
47108
47109 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
47110
47111 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
47112 floating point opcodes.
47113
47114 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
47115
47116 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
47117 variable.
47118
47119 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
47120
47121 * sysdeps/mach/hurd/powerpc: Remove directory.
47122 * sysdeps/mach/powerpc: Likewise.
47123
47124 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
47125
47126 * scripts/check-local-headers.sh: Ignore c++ headers.
47127
47128 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
47129
47130 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
47131 __libc_cleanup_region_start argument.
47132
47133 2012-11-01 Joseph Myers <joseph@codesourcery.com>
47134
47135 [BZ #14784]
47136 [BZ #14785]
47137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
47138 x * y using scaling, not as x * y + z.
47139 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47140 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47141 * math/libm-test.inc (fma_test): Add more tests.
47142 (fma_test_towardzero): Likewise.
47143 (fma_test_downward): Likewise.
47144 (fma_test_upward): Likewise.
47145
47146 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
47147
47148 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
47149
47150 2012-10-31 Joseph Myers <joseph@codesourcery.com>
47151
47152 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
47153 New variable.
47154
47155 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
47156
47157 * rt/tst-shm.c (worker): Correct checking for mmap failure.
47158
47159 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
47160
47161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47162 Fix sort order.
47163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47164 Likewise.
47165
47166 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47167
47168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47169 Fix the order of the list for glibc 2.17.
47170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47171 Likewise.
47172
47173 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
47174
47175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47176
47177 2012-10-31 Joseph Myers <joseph@codesourcery.com>
47178
47179 [BZ #14610]
47180 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
47181 for low part of x being zero before using __atanl (y).
47182 * math/libm-test.inc (atan2_test): Add another test.
47183
47184 * manual/install.texi (Configuring and compiling): Document
47185 general use of test-wrapper and test-wrapper-env.
47186 * INSTALL: Regenerated.
47187
47188 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
47189 (__fma): Do not extract and scale down low bits on after-rounding
47190 systems when result rounded to normal precision would have normal
47191 exponent.
47192 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
47193 (__fmal): Do not extract and scale down low bits on after-rounding
47194 systems when result rounded to normal precision would have normal
47195 exponent.
47196 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
47197 (__fmal): Do not extract and scale down low bits on after-rounding
47198 systems when result rounded to normal precision would have normal
47199 exponent.
47200 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
47201 macro.
47202 (fma_test): Add more tests.
47203 (fma_test_towardzero): Likewise.
47204 (fma_test_downward): Likewise.
47205 (fma_test_upward): Likewise.
47206
47207 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
47208
47209 * sysdeps/i386/tininess.h: Renamed to ...
47210 * sysdeps/x86/tininess.h: This.
47211 * sysdeps/x86_64/tininess.h: Removed.
47212
47213 2012-10-30 Joseph Myers <joseph@codesourcery.com>
47214
47215 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
47216 input. Use $(build-program-cmd).
47217 ($(objpfx)tst-array1-static.out): Likewise.
47218 ($(objpfx)tst-array2.out): Likewise.
47219 ($(objpfx)tst-array3.out): Likewise.
47220 ($(objpfx)tst-array4.out): Likewise.
47221 ($(objpfx)tst-array5.out): Likewise.
47222 ($(objpfx)tst-array5-static.out): Likewise.
47223
47224 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
47225
47226 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
47227 if defined.
47228
47229 * nss/nsswitch.h (nss_interface_function): Provide new
47230 macro for use with NSS functions.
47231 * grp/initgroups.c: Use new macro.
47232 * nss/getXXbyYY.c: Likewise.
47233 * nss/getXXbyYY_r.c: Likewise.
47234 * nss/getXXent.c: Likewise.
47235 * nss/getXXent_r.c: Likewise.
47236 * sysdeps/posix/getaddrinfo.c: Likewise.
47237
47238 2012-10-30 Andreas Jaeger <aj@suse.de>
47239
47240 * po/ru.po: Update Russion translation from translation project.
47241
47242 2012-10-30 Joseph Myers <joseph@codesourcery.com>
47243
47244 [BZ #14152]
47245 [BZ #14783]
47246 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
47247 result and shift together with sticky bit instead of replicating
47248 round-to-nearest rounding.
47249 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47250 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47251 * math/libm-test.inc (fma_test): Add more tests. Do not permit
47252 missing underflow exceptions.
47253 (fma_test_towardzero): Add more tests.
47254 (fma_test_downward): Likewise.
47255 (fma_test_upward): Likewise.
47256
47257 [BZ #14047]
47258 * sysdeps/generic/tininess.h: New file.
47259 * sysdeps/i386/tininess.h: Likewise.
47260 * sysdeps/sh/tininess.h: Likewise.
47261 * sysdeps/x86_64/tininess.h: Likewise.
47262 * stdlib/tst-strtod-underflow.c: Likewise.
47263 * stdlib/tst-tininess.c: Likewise.
47264 * stdlib/strtod_l.c: Include <tininess.h>.
47265 (round_and_return): Do not set errno for exact underflow cases.
47266 Force an underflow exception when setting errno for underflow.
47267 Determine underflow based on rounding to normal precision if
47268 TININESS_AFTER_ROUNDING.
47269 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
47270 ERANGE for exact underflow cases.
47271 * stdlib/Makefile (tests): Add tst-tininess and
47272 tst-strtod-underflow.
47273 ($(objpfx)tst-tininess): Use $(link-libm).
47274 ($(objpfx)tst-strtod-underflow): Likewise.
47275
47276 2012-10-30 Andreas Jaeger <aj@suse.de>
47277
47278 [BZ#14767]
47279 * elf/Makefile (tests): Remove conditional for have-initfini-array
47280 since this is now always required and the variable does not exist
47281 anymore.
47282 (tests-static): Likewise.
47283 (modules-names): Likewise.
47284
47285 * po/eo.po: Add Esperanto translation from translation project.
47286
47287 * elf/tst-array1.c (fini_array): Make writeable so that it can be
47288 merged with constructor/destructor.
47289 (init_array): Likewise.
47290 * elf/tst-array2dep.c (fini_array): Likewise.
47291 (init_array): Likewise.
47292
47293 2012-10-29 Mike Frysinger <vapier@gentoo.org>
47294
47295 * manual/message.texi: Delete @cartouche tags.
47296
47297 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
47298
47299 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
47300 EOPNOTSUPP.
47301 * sysdeps/mach/hurd/fsync.c: Likewise.
47302
47303 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
47304 [_POSIX_REALTIME_SIGNALS]: Change condition to
47305 [_POSIX_REALTIME_SIGNALS > 0].
47306
47307 2012-10-27 Andreas Jaeger <aj@suse.de>
47308
47309 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
47310 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
47311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
47312 [__WORDSIZE != 64]: Likewise.
47313
47314 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
47315
47316 * iconvdata/tst-table.sh: Remove ${SHELL}.
47317 * iconvdata/tst-tables.sh: Likewise.
47318
47319 2012-10-25 David S. Miller <davem@davemloft.net>
47320
47321 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47322 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
47323 of strtoull.
47324
47325 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
47326 ifunc-impl-list.c
47327 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47328 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
47329 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
47330 file.
47331
47332 2012-10-25 Roland McGrath <roland@hack.frob.com>
47333
47334 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47335 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
47336 __getdirentries.
47337
47338 2012-10-25 Joseph Myers <joseph@codesourcery.com>
47339 Jim Blandy <jimb@codesourcery.com>
47340
47341 * scripts/cross-test-ssh.sh: New file.
47342 * manual/install.texi (Configuring and compiling): Document use of
47343 cross-test-ssh.sh.
47344 * INSTALL: Regenerated.
47345
47346 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
47347
47348 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
47349 EOPNOTSUPP.
47350
47351 2012-10-25 Joseph Myers <joseph@codesourcery.com>
47352
47353 * Makeconfig (run-program-prefix): Fix comment.
47354
47355 2012-10-24 Joseph Myers <joseph@codesourcery.com>
47356 Jim Blandy <jimb@codesourcery.com>
47357
47358 * Makeconfig (test-wrapper): New variable,
47359 (test-wrapper-env): Likewise.
47360 [$(cross-compiling) = yes && $(test-wrapper) != ""]
47361 (run-built-tests): Define to yes.
47362 (run-program-prefix): Use $(test-wrapper).
47363 (built-program-cmd): Likewise.
47364 * Rules (make-test-out): Use $(test-wrapper-env) and
47365 $(host-built-program-cmd).
47366 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
47367 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
47368 tst-pathopt.sh.
47369 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
47370 $(test-wrapper-env) to tst-rtld-load-self.sh.
47371 ($(objpfx)order2.out): Use $(test-wrapper).
47372 ($(objpfx)tst-initorder.out): Likewise.
47373 ($(objpfx)tst-initorder2.out): Likewise.
47374 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
47375 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
47376 (test_wrapper_env): New variable. Use it to run ld.so.
47377 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
47378 Use it to run ld.so.
47379 (test_wrapper_env): Likewise.
47380 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
47381 $(test-wrapper) to run-iconv-test.sh.
47382 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
47383 (ICONV): Use $test_wrapper.
47384 * posix/Makefile ($(objpfx)globtest.out): Pass
47385 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
47386 globtest.sh, not $(run-program-prefix).
47387 * posix/globtest.sh (run_via_rtld_prefix): New variable.
47388 (test_wrapper): Likewise.
47389 (test_wrapper_env): Likewise. Use it to run globtest with HOME
47390 set together with run_via_rtld_prefix.
47391 (run_program_prefix): Define in terms of test_wrapper and
47392 run_via_rtld_prefix.
47393
47394 2012-10-24 Roland McGrath <roland@hack.frob.com>
47395
47396 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
47397 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
47398 Targets removed.
47399
47400 [BZ #14743]
47401 * include/time.h: Remove librt_hidden_proto (clock_gettime).
47402 Declare __clock_getres, __clock_gettime, __clock_settime,
47403 __clock_nanosleep, and __clock_getcpuclockid.
47404 * rt/clock_gettime.c: Define __clock_gettime as an alias.
47405 Remove librt_hidden_def (clock_gettime).
47406 * sysdeps/unix/clock_gettime.c: Likewise.
47407 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
47408 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
47409 * rt/clock_getres.c: Define __clock_getres as an alias.
47410 * sysdeps/posix/clock_getres.c: Likewise.
47411 * rt/clock_settime.c: Define __clock_settime as an alias.
47412 * sysdeps/unix/clock_settime.c: Likewise.
47413 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
47414 * sysdeps/unix/clock_nanosleep.c: Likewise.
47415 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
47416 * rt/clock-compat.c: New file.
47417 * rt/Makefile (librt-routines): Add clock-compat and move
47418 $(clock-routines) to ...
47419 (routines): ... here, new variable.
47420 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
47421 Don't add get_clockfreq here.
47422 * rt/Versions (libc: GLIBC_2.17): New version set.
47423 Add clock_* symbols here.
47424 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
47425 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
47426 (GLIBC_2.17): Add clock_* symbols.
47427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47429 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47431 Likewise.
47432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47433 Likewise.
47434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47438 * NEWS: Mention the move.
47439
47440 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
47441 Use __open, __read, __close rather than their public counterparts.
47442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47443 (__get_clockfreq_via_cpuinfo): Likewise.
47444 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
47445 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
47446
47447 * config.h.in (HAVE_IFUNC): New #undef.
47448 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
47449 was successful.
47450 * configure: Regenerated.
47451
47452 2012-10-24 Mike Frysinger <vapier@gentoo.org>
47453
47454 * configure.in: Move READELF check to start of file.
47455 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
47456 libc_cv_asm_gnu_indirect_function in the process.
47457 * configure: Regenerated.
47458
47459 2012-10-24 Mike Frysinger <vapier@gentoo.org>
47460
47461 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
47462 send the output to /dev/null.
47463 (libc_cv_cc_with_libunwind): Likewise.
47464 (libc_cv_as_noexecstack): Likewise.
47465 * configure: Regenerate.
47466
47467 2012-10-24 Joseph Myers <joseph@codesourcery.com>
47468
47469 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
47470
47471 * posix/globtest.sh (TMPDIR): Do not set.
47472 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
47473 (testout): Likewise.
47474
47475 2012-10-24 Andreas Jaeger <aj@suse.de>
47476
47477 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
47478 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
47479 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
47480 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
47481 posix_fadvise64, posix_fallocate64.
47482
47483 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
47484 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
47485 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
47486 Likewise.
47487 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
47488 Likewise.
47489 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
47490
47491 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
47492 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
47493 <bits/fcntl-linux.h>.
47494 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
47495
47496 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
47497 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
47498 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
47499 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
47500 [__WORDSIZE != 64]: Likewise.
47501
47502 2012-10-23 Joseph Myers <joseph@codesourcery.com>
47503
47504 * Makeconfig (run-built-tests): New variable.
47505 * Rules [$(cross-compiling) = yes]: Change condition to
47506 [$(run-built-tests) = no].
47507 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
47508 to [$(run-built-tests) = yes].
47509 * elf/Makefile [$(cross-compiling) = no]: Likewise
47510 * grp/Makefile [$(cross-compiling) = no]: Likewise.
47511 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
47512 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
47513 * intl/Makefile [$(cross-compiling) = no]: Likewise.
47514 * io/Makefile [$(cross-compiling) = no]: Likewise.
47515 * libio/Makefile [$(cross-compiling) = no]: Likewise.
47516 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
47517 * misc/Makefile [$(cross-compiling) = no]: Likewise.
47518 * posix/Makefile [$(cross-compiling) = no]: Likewise.
47519 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
47520 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
47521 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
47522 * string/Makefile [$(cross-compiling) = no]: Likewise.
47523
47524 * posix/Makefile ($(objpfx)globtest.out): Pass
47525 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
47526 $(rtld-installed-name).
47527 * posix/globtest.sh (elf_objpfx): Remove variable.
47528 (rtld_installed_name): Likewise.
47529 (library_path): Likewise.
47530 (run_program_prefix): New variable. Use for running globtest
47531 binary.
47532
47533 2012-10-23 Jim Blandy <jimb@codesourcery.com>
47534 Joseph Myers <joseph@codesourcery.com>
47535
47536 * Makeconfig (host-built-program-cmd): New variable.
47537 * elf/Makefile (tst-stackguard1-ARGS): Use
47538 $(host-built-program-cmd).
47539 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
47540 (tst-spawn-ARGS): Likewise.
47541 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
47542
47543 2012-10-23 Joseph Myers <joseph@codesourcery.com>
47544 Jim Blandy <jimb@codesourcery.com>
47545
47546 * Makeconfig (run-via-rtld-prefix): New variable.
47547 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
47548 (built-program-cmd): Likewise.
47549
47550 2012-10-22 Andreas Jaeger <aj@suse.de>
47551
47552 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
47553 __O_RSYNC if it exists, otherwise to O_SYNC.
47554
47555 2012-10-22 Jim Blandy <jimb@codesourcery.com>
47556 Joseph Myers <joseph@codesourcery.com>
47557
47558 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
47559 /dev/null.
47560 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
47561 from /dev/null
47562 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
47563 /dev/null.
47564
47565 2012-10-22 Andreas Jaeger <aj@suse.de>
47566
47567 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
47568 Define always.
47569 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
47570
47571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47572 bits/fcntl-linux.h.
47573
47574 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
47575 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
47576
47577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
47578 to __O_LARGEFILE.
47579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
47580 to __O_LARGEFILE.
47581
47582 2012-10-21 Jim Blandy <jimb@codesourcery.com>
47583 Joseph Myers <joseph@codesourcery.com>
47584
47585 * config.make.in (NM): New variable.
47586
47587 2012-10-21 Andreas Jaeger <aj@suse.de>
47588
47589 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
47590 definitions and declarations that are provided by
47591 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
47592
47593 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
47594
47595 [BZ #14683]
47596 * elf/Makefile (tests-static): Add tst-leaks1-static.
47597 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
47598 ($(objpfx)tst-leaks1-static): New rule.
47599 ($(objpfx)tst-leaks1-static-mem): Likewise.
47600 (tst-leaks1-static-ENV): New macro.
47601 * elf/dl-open.c (dl_open_worker): Check the main application
47602 only if SHARED is defined.
47603 * elf/tst-leaks1-static.c: New file.
47604
47605 2012-10-20 Andreas Jaeger <aj@suse.de>
47606
47607 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
47608 generic values for Linux.
47609 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
47610 and declarations that are provided by <bits/fcntl-linux.h> and
47611 include <bits/fcntl-linux.h>.
47612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47613 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47614
47615 2012-10-20 Roland McGrath <roland@hack.frob.com>
47616
47617 * io/fcntl.h: Move include of <bits/types.h> to the top and
47618 include it unconditionally.
47619
47620 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
47621
47622 * wcsmbs/Makefile (tests-ifunc): New variable.
47623 (tests): Add $(tests-ifunc).
47624 * wcsmbs/test-wcschr-ifunc.c: New file.
47625 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
47626 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
47627 * wcsmbs/test-wcslen-ifunc.c: Likewise.
47628 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
47629 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
47630
47631 * string/Makefile (tests-ifunc): New variable.
47632 (tests): Add $(tests-ifunc).
47633 * string/test-memccpy.c (TEST_NAME): New macro.
47634 * string/test-memchr.c (TEST_NAME): Likewise.
47635 * string/test-memcmp.c (TEST_NAME): Likewise.
47636 * string/test-memcpy.c (TEST_NAME): Likewise.
47637 * string/test-memmem.c (TEST_NAME): Likewise.
47638 * string/test-memmove.c (TEST_NAME): Likewise.
47639 * string/test-memset.c (TEST_NAME): Likewise.
47640 * string/test-rawmemchr.c (TEST_NAME): Likewise.
47641 * string/test-stpcpy.c (TEST_NAME): Likewise.
47642 * string/test-stpncpy.c (TEST_NAME): Likewise.
47643 * string/test-strcasecmp.c (TEST_NAME): Likewise.
47644 * string/test-strcasestr.c (TEST_NAME): Likewise.
47645 * string/test-strcat.c (TEST_NAME): Likewise.
47646 * string/test-strchr.c (TEST_NAME): Likewise.
47647 * string/test-strcmp.c(TEST_NAME): Likewise.
47648 * string/test-strcpy.c (TEST_NAME): Likewise.
47649 * string/test-strcspn.c (TEST_NAME): Likewise.
47650 * string/test-strlen.c (TEST_NAME): Likewise.
47651 * string/test-strncasecmp.c (TEST_NAME): Likewise.
47652 * string/test-strncmp.c (TEST_NAME): Likewise.
47653 * string/test-strncpy.c (TEST_NAME): Likewise.
47654 * string/test-strnlen.c (TEST_NAME): Likewise.
47655 * string/test-strpbrk.c (TEST_NAME): Likewise.
47656 * string/test-strrchr.c (TEST_NAME): Likewise.
47657 * string/test-strspn.c (TEST_NAME): Likewise.
47658 * string/test-strstr.c (TEST_NAME): Likewise.
47659 * string/test-bcopy-ifunc.c: New file.
47660 * string/test-bzero-ifunc.c: Likewise.
47661 * string/test-memccpy-ifunc.c: Likewise.
47662 * string/test-memchr-ifunc.c: Likewise.
47663 * string/test-memcmp-ifunc.c: Likewise.
47664 * string/test-memcpy-ifunc.c: Likewise.
47665 * string/test-memmem-ifunc.c: Likewise.
47666 * string/test-memmove-ifunc.c: Likewise.
47667 * string/test-mempcpy-ifunc.c: Likewise.
47668 * string/test-memset-ifunc.c: Likewise.
47669 * string/test-rawmemchr-ifunc.c: Likewise.
47670 * string/test-stpcpy-ifunc.c: Likewise.
47671 * string/test-stpncpy-ifunc.c: Likewise.
47672 * string/test-strcasecmp-ifunc.c: Likewise.
47673 * string/test-strcasestr-ifunc.c: Likewise.
47674 * string/test-strcat-ifunc.c: Likewise.
47675 * string/test-strchr-ifunc.c: Likewise.
47676 * string/test-strchrnul-ifunc.c: Likewise.
47677 * string/test-strcmp-ifunc.c: Likewise.
47678 * string/test-strcpy-ifunc.c: Likewise.
47679 * string/test-strcspn-ifunc.c: Likewise.
47680 * string/test-strlen-ifunc.c: Likewise.
47681 * string/test-strncasecmp-ifunc.c: Likewise.
47682 * string/test-strncat-ifunc.c: Likewise.
47683 * string/test-strncmp-ifunc.c: Likewise.
47684 * string/test-strncpy-ifunc.c: Likewise.
47685 * string/test-strnlen-ifunc.c: Likewise.
47686 * string/test-strpbrk-ifunc.c: Likewise.
47687 * string/test-strrchr-ifunc.c: Likewise.
47688 * string/test-strspn-ifunc.c: Likewise.
47689 * string/test-strstr-ifunc.c: Likewise.
47690
47691 * debug/Makefile (tests-ifunc): New variable.
47692 (tests): Add $(tests-ifunc).
47693 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
47694 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
47695 * debug/test-stpcpy_chk-ifunc.c: New file.
47696 * debug/test-strcpy_chk-ifunc.c: Likewise.
47697
47698 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
47699
47700 [BZ #13601]
47701 * elf/dl-load.c (open_verify): Retry read if the entire ELF
47702 header is not read in.
47703
47704 2012-10-19 Joseph Myers <joseph@codesourcery.com>
47705
47706 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
47707 script to $(SHELL) as $<. Pass $(common-objpfx) to script
47708 directly. Pass built executable to script as
47709 $(built-program-cmd).
47710 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
47711 $testprogram without using LD_LIBRARY_PATH and $ldso.
47712
47713 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
47714 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
47715 $(rtld-installed-name).
47716 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
47717 (rtld_installed_name): Likewise.
47718 (library_path): Likewise.
47719 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
47720 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
47721 $(run-program-prefix) to tst-tables.sh.
47722 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
47723 it to run tst-table-from and tst-table-to.
47724 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
47725 Pass it to tst-table.sh.
47726 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
47727 $(run-program-prefix) to tst-gettext.sh.
47728 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
47729 tst-translit.sh.
47730 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
47731 tst-gettext2.sh.
47732 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
47733 to run tst-gettext.
47734 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
47735 to run tst-gettext2.
47736 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
47737 to run tst-translit.
47738 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
47739 $(run-program-prefix) to tst-mtrace.sh.
47740 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
47741 to run tst-mtrace.
47742 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
47743 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
47744 $(rtld-installed-name).
47745 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
47746 (rtld_installed_name): Likewise.
47747 (run_program_prefix): New variable. Use it to run wordexp-test.
47748
47749 * Makeconfig (ARCH): Remove all definitions.
47750 (machine): Likewise.
47751 [ARCH]: Remove conditional code.
47752 [!objdir]: Give error.
47753 [!objdir] (objpfx): Remove.
47754 [!objdir] (common-objpfx): Likewise.
47755 [!objdir] (common-objdir): Likewise.
47756 * configure.in (config_makefile): Remove. Hardcode Makefile in
47757 AC_CONFIG_FILES call.
47758 * configure: Regenerated.
47759
47760 [BZ #13888]
47761 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
47762 or TMPDIR.
47763 (testout): Likewise.
47764
47765 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
47766 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
47767 $(rtld-installed-name).
47768 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
47769 (rtld_installed_name): Likwise.
47770 (runit): Remove function.
47771 (run_getconf): New variable, Use it for running getconf binary.
47772
47773 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
47774
47775 [BZ #14716]
47776 * string/test-memmem.c (check_result): New function.
47777 (do_one_test): Use it.
47778 (check1): New function.
47779 (test_main): Use it.
47780
47781 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
47782
47783 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
47784
47785 2012-10-18 Joseph Myers <joseph@codesourcery.com>
47786
47787 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
47788 (_G_LSEEK64): Likewise.
47789 (_G_MMAP64): Likewise.
47790 (_G_FSTAT64): Likewise.
47791 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
47792 (_G_LSEEK64): Likewise.
47793 (_G_MMAP64): Likewise.
47794 (_G_FSTAT64): Likewise.
47795 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
47796 unconditional. Call __mmap64 directly.
47797 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
47798 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
47799 __lseek64 directly.
47800 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
47801 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
47802 __mmap64 directly.
47803 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
47804 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
47805 __lseek64 directly.
47806 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
47807 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
47808 __lseek64 directly.
47809 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
47810 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
47811 __lseek64 directly.
47812 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
47813 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
47814 __fxstat64 directly.
47815 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
47816 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
47817 unconditional.
47818 (freopen64) [!_G_OPEN64]: Remove conditional code.
47819 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
47820 unconditional.
47821 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
47822 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
47823 unconditional.
47824 (ftello64) [!_G_LSEEK64]: Remove conditional code.
47825 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
47826 unconditional.
47827 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
47828 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
47829 unconditional.
47830 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
47831 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
47832 unconditional.
47833 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
47834 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
47835 unconditional.
47836 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
47837 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
47838 unconditional.
47839 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
47840
47841 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
47842
47843 [BZ #12140]
47844 * manual/memory.texi (Malloc Tunable Parameters): Add note
47845 about free list pointers overwriting some perturb bytes.
47846 Wording suggested by Roland McGrath.
47847
47848 2012-10-17 Joseph Myers <joseph@codesourcery.com>
47849
47850 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
47851 (lgamma_test): Likewise.
47852 (tgamma_test): Likewise.
47853
47854 2012-10-16 Florian Weimer <fweimer@redhat.com>
47855
47856 [BZ #14700]
47857 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
47858 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
47859
47860 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
47861
47862 * NEWS: Mention BZ #14716.
47863 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
47864 when removing AVAILABLE1_USES_J macro.
47865
47866 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
47867
47868 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
47869 (__bswap_64): __uint64_t for unsigned 64-bit int.
47870
47871 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
47872
47873 * include/string.h (memmem): Declare libc hidden alias.
47874 * string/memmem.c (memmem): Define libc hidden alias.
47875 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
47876 __read, __close instead of open, read, close.
47877
47878 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
47879
47880 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
47881 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
47882 global and hidden.
47883 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
47884 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
47885 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
47886 Likewise.
47887 (__rawmemchr_sse2): Likewise.
47888 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
47889 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
47890 (__strchr_sse2): Likewise.
47891 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
47892 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
47893 (__strcasecmp_sse2): Likewise.
47894 (__strncasecmp_sse2): Likewise.
47895 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
47896 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
47897 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
47898 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
47899 (__strrchr_sse2): Likewise.
47900 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
47901 ifunc-impl-list.c.
47902 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
47903 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
47904 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
47905 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47906 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
47907 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
47908 * sysdeps/x86_64/multiarch/memset.S: Likewise.
47909 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47910 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
47911 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
47912 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
47913 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
47914 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
47915 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
47916 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
47917 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
47918 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
47919 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
47920 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
47921 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
47922 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
47923 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
47924 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
47925 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
47926 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
47927 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47928 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
47929 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47930 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
47931 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
47932
47933 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
47934 global and hidden.
47935 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
47936 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
47937 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
47938 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
47939 Likewise.
47940 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
47941 Likewise.
47942 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
47943 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
47944 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
47945 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
47946 ifunc-impl-list.c.
47947 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47948 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47949 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47950 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47951 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47952 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47953 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47954 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47955 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47956 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47957 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47958 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47959 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47960 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
47961 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
47962 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47963 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
47964 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
47965 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47966 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47967 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47968 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47969 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47970 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47971 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47972 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
47973 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
47974 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
47975 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
47976 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47977 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
47978 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47979 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47980 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
47981 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47982 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47983 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47984 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47985 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47986 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47987 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
47988
47989 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
47990 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
47991 * include/ifunc-impl-list.h: New file.
47992 * misc/ifunc-impl-list.c: Likewise.
47993 * misc/Makefile (routines): Add ifunc-impl-list.
47994 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
47995 * string/test-string.h: Include <ifunc-impl-list.h>.
47996 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
47997 TEST_NAME]: New variables.
47998 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
47999 are defined.
48000 (test_init): Call __libc_ifunc_impl_list to initialize
48001 func_list if TEST_IFUNC and TEST_NAME are defined.
48002
48003 * string/Makefile (strop-tests): Add bcopy and bzero.
48004 * string/test-bcopy.c: New file.
48005 * string/test-bzero.c: Likewise.
48006 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
48007 defined.
48008 * string/test-memset.c: Support bzero test if TEST_BZERO is
48009 defined.
48010 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
48011 __libc_memmove.
48012 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
48013 __libc_memset.
48014 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
48015 of memset.
48016
48017 2012-10-10 Joseph Myers <joseph@codesourcery.com>
48018
48019 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
48020 * configure: Regenerated.
48021
48022 * Makeconfig (+link-static-before-libc): Don't include
48023 $(link-static-libc).
48024
48025 * libio/libio.h (_IO_pos_t): Remove.
48026
48027 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
48028
48029 * NEWS: Add note about FIPS mode. Wording suggested by Roland
48030 McGrath.
48031
48032 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
48033
48034 * crypt/crypt-entry.c: Include fips-private.h.
48035 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
48036 * crypt/md5c-test.c (main): Tolerate disabled MD5.
48037 * sysdeps/unix/sysv/linux/fips-private.h: New file.
48038 * sysdeps/generic/fips-private.h: New file, dummy fallback.
48039
48040 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
48041
48042 * crypt/crypt-private.h: Include stdbool.h.
48043 (_ufc_setup_salt_r): Return bool.
48044 * crypt/crypt-entry.c: Include errno.h.
48045 (__crypt_r): Return NULL with EINVAL for bad salt.
48046 * crypt/crypt_util.c (bad_for_salt): New.
48047 (_ufc_setup_salt_r): Check that salt is long enough and within
48048 the specified alphabet.
48049 * crypt/badsalttest.c: New file.
48050 * crypt/Makefile (tests): Add it.
48051 ($(objpfx)badsalttest): New.
48052
48053 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
48054
48055 * NEWS: Add entry for BZ #14602.
48056
48057 2012-10-09 Joseph Myers <joseph@codesourcery.com>
48058
48059 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
48060 type-generic.
48061 * math/libm-test.inc: Update comment listing what functions and
48062 macros are tested.
48063 (isgreater_test): New function.
48064 (isgreaterequal_test): Likewise.
48065 (isless_test): Likewise.
48066 (islessequal_test): Likewise.
48067 (islessgreater_test): Likewise.
48068 (isunordered_test): Likewise.
48069 (main): Call the new functions.
48070
48071 2012-10-09 Roland McGrath <roland@hack.frob.com>
48072
48073 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
48074 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
48075 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
48076 * sysdeps/i386/configure: Regenerated.
48077 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
48078 * sysdeps/mach/configure: Regenerated.
48079 * sysdeps/mach/hurd/configure: Regenerated.
48080 * sysdeps/powerpc/configure: Regenerated.
48081 * sysdeps/powerpc/powerpc32/configure: Regenerated.
48082 * sysdeps/powerpc/powerpc64/configure: Regenerated.
48083 * sysdeps/s390/s390-32/configure: Regenerated.
48084 * sysdeps/s390/s390-64/configure: Regenerated.
48085 * sysdeps/sh/configure: Regenerated.
48086 * sysdeps/sparc/configure: Regenerated.
48087 * sysdeps/unix/sysv/linux/configure: Regenerated.
48088 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
48089 * sysdeps/x86_64/configure: Regenerated.
48090
48091 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
48092 defined. Don't check if MAP is NULL.
48093
48094 2012-10-09 Joseph Myers <joseph@codesourcery.com>
48095
48096 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
48097 (_G_stat64): Likewise.
48098 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
48099 (_G_stat64): Likewise.
48100 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
48101 instead of struct _G_stat64.
48102 * libio/fileops.c (mmap_remap_check): Likewise.
48103 (decide_maybe_mmap): Likewise.
48104 (_IO_new_file_seekoff): Likewise.
48105 (_IO_file_stat): Likewise.
48106 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
48107 _G_off64_t.
48108 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
48109 instead of struct _G_stat64.
48110 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
48111
48112 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
48113
48114 [BZ #14602]
48115 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48116 Replace with ...
48117 (CHECK_EOL): New macro.
48118 (two_way_short_needle): Check beginning of haystack for EOL. Use
48119 CHECK_EOL.
48120 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48121 Replace with CHECK_EOL.
48122 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48123 Replace with CHECK_EOL.
48124
48125 2012-10-08 Joseph Myers <joseph@codesourcery.com>
48126
48127 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
48128 type-generic.
48129 * math/libm-test.inc: Update comment listing what functions and
48130 macros are tested.
48131 (finite_test): New function.
48132 (isinf_test): Likewise.
48133 (isnan_test): Likewise.
48134 (fpclassify_test): Test subnormal input.
48135 (isfinite_test): Likewise.
48136 (isnormal_test): Likewise.
48137 (main): Call the new functions.
48138
48139 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
48140
48141 [BZ #14660]
48142 * Makerules (%.dynsym): Force C locale when running
48143 $(OBJDUMP) --dynamic-syms.
48144
48145 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
48146
48147 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
48148 <stdint.h>.
48149
48150 2012-10-06 David S. Miller <davem@davemloft.net>
48151
48152 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
48153 upper 32-bits of the length value in %o2 since we use branch-on-register
48154 tests which consider the entire 64-bit register.
48155
48156 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
48157
48158 * string/test-strstr.c (check2): Add a test for page boundary.
48159
48160 2012-10-05 David S. Miller <davem@davemloft.net>
48161
48162 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
48163 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
48164 file.
48165 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
48166 sysdep_routines.
48167 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
48168 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
48169 and bzero when HWCAP_SPARC_CRYPTO is present.
48170
48171 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
48172
48173 [BZ #14602]
48174 * string/test-strstr.c (check2): New function.
48175 (test_main): Call check2.
48176
48177 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
48178 and bug-strchr1.
48179 * string/bug-strcasestr1.c (do_test): Moved to ...
48180 * string/test-strcasestr.c (check1): Here. New function.
48181 (do_one_test): Break out result checking code into ...
48182 (check_result): This. New function.
48183 (do_one_test): Call check_result.
48184 (test_main): Call check1.
48185 * string/bug-strchr1.c (do_test): Moved to ...
48186 * string/test-strchr.c (check1): Here. New function.
48187 (do_one_test): Break out result checking code into ...
48188 (check_result): This. New function.
48189 (do_one_test): Call check_result.
48190 (test_main): Call check1.
48191 * string/bug-strstr1.c (main): Moved to ...
48192 * string/test-strstr.c (check1): Here. New function.
48193 (do_one_test): Break out result checking code into ...
48194 (check_result): This. New function.
48195 (do_one_test): Call check_result.
48196 (test_main): Call check1.
48197 * string/bug-strcasestr1.c: Removed.
48198 * string/bug-strchr1.c: Likewise.
48199 * string/bug-strstr1.c: Likewise.
48200
48201 * elf/Makefile (dl-routines): Add hwcaps.
48202 * elf/dl-support.c (_dl_important_hwcaps): Removed.
48203 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
48204 (_dl_important_hwcaps): Moved to ...
48205 * elf/dl-hwcaps.c: Here. New file.
48206 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
48207
48208 [BZ #14557]
48209 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
48210 if IS_IN_rtld isn't defined.
48211
48212 * elf/dl-support.c (_dl_sysinfo_map): New.
48213 Include "get-dynamic-info.h" and "setup-vdso.h".
48214 (_dl_non_dynamic_init): Call setup_vdso.
48215 * elf/dynamic-link.h: Don't include <assert.h>.
48216 (elf_get_dynamic_info): Moved to ...
48217 * elf/get-dynamic-info.h: Here. New file.
48218 * elf/dynamic-link.h: Include "get-dynamic-info.h".
48219 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
48220 * elf/setup-vdso.h: Here. New file.
48221 * elf/rtld.c: Include "setup-vdso.h".
48222 (dl_main): Call setup_vdso.
48223
48224 2012-10-05 Joseph Myers <joseph@codesourcery.com>
48225
48226 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
48227 creal in comment listing functions tested. List finite, isinf,
48228 isnan, isless, islessequal, isgreater, isgreaterequal,
48229 islessgreater, isunordered, lgamma_r and pow10 as functions and
48230 macros not tested. Mention which functions not tested are aliases
48231 for other functions. Fix typo. Note that signs of NaNs are not
48232 tested.
48233
48234 * scripts/config.guess: Update from config.git.
48235 * scripts/config.sub: Likewise.
48236
48237 2012-10-04 Roland McGrath <roland@hack.frob.com>
48238
48239 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
48240 * misc/madvise.c (madvise): Renamed to __madvise.
48241 Make madvise a weak alias.
48242 * include/sys/mman.h: Declare __madvise.
48243 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
48244 * sysdeps/unix/syscalls.list
48245 (madvise): Make __madvise the strong name, and madvise a weak alias.
48246 * sysdeps/unix/sysv/linux/syscalls.list
48247 (madvise, mmap): Remove redundant entries.
48248 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
48249 * malloc/malloc.c (mtrim): Likewise.
48250 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
48251
48252 2012-10-03 Roland McGrath <roland@hack.frob.com>
48253
48254 * sysdeps/mach/hurd/dl-cache.c: File removed.
48255 * config.h.in (USE_LDCONFIG): New #undef.
48256 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
48257 * configure: Regenerated.
48258 * elf/Makefile (dl-routines): Add dl-cache only under
48259 [$(use-ldconfig) = yes].
48260 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
48261 cache on [USE_LDCONFIG].
48262 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
48263 [USE_LDCONFIG].
48264 * elf/rtld.c (dl_main): Likewise.
48265
48266 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
48267
48268 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
48269 _SC_LEVEL4_CACHE_LINESIZE.
48270
48271 2012-10-03 Roland McGrath <roland@hack.frob.com>
48272
48273 * sysdeps/unix/bsd/confstr.h: File removed.
48274
48275 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
48276
48277 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
48278 sys/sdt-config.h.
48279
48280 2012-10-02 Roland McGrath <roland@hack.frob.com>
48281
48282 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
48283 Make 'mapoff' field ElfW(Off) rather than off_t.
48284
48285 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
48286
48287 * nscd/Makefile: Remove nscd-cflags and all its users.
48288 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
48289 (CFLAGS-nonlib): Add compiler flags for nscd modules.
48290
48291 [BZ #10631]
48292 * malloc.c (malloc_printerr): Clarify error message.
48293
48294 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
48295
48296 [BZ #14648]
48297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48298 Set bit_FMA_Usable if FMA is supported.
48299 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
48300 macro.
48301 (bit_FMA4_Usable): Updated.
48302 (index_FMA_Usable): New macro.
48303 (CPUID_FMA): Likewise
48304 (HAS_FMA): Defined with bit_FMA_Usable.
48305
48306 2012-10-01 Roland McGrath <roland@hack.frob.com>
48307
48308 * bits/types.h (__swblk_t): Type removed.
48309 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
48310 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
48311 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48312 (__SWBLK_T_TYPE): Likewise.
48313 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48314 (__SWBLK_T_TYPE): Likewise.
48315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48316 (__SWBLK_T_TYPE): Likewise.
48317 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48318 (__SWBLK_T_TYPE): Likewise.
48319
48320 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
48321 Honza Horak <hhorak@redhat.com>
48322
48323 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
48324 (xdr_mapname): Use YPMAXMAP as maxsize.
48325 (xdr_peername): Use YPMAXPEER as maxsize.
48326 (xdr_keydat): Use YPAXRECORD as maxsize.
48327 (xdr_valdat): Use YPMAXRECORD as maxsize.
48328
48329 2012-10-01 Roland McGrath <roland@hack.frob.com>
48330
48331 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
48332
48333 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
48334 * csu/init-first.c: ... here.
48335 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
48336 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
48337 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
48338 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
48339 * sysdeps/i386/init-first.c: File removed.
48340 * sysdeps/sh/init-first.c: File removed.
48341
48342 2012-10-01 Joseph Myers <joseph@codesourcery.com>
48343
48344 [BZ #14645]
48345 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
48346 if x * y might underflow to zero and z is zero.
48347 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48348 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48349 * math/libm-test.inc (min_subnorm_value): New variable.
48350 (fma_test): Add more tests.
48351 (fma_test_towardzero): Likewise.
48352 (fma_test_downward): Likewise
48353 (fma_test_upward): Likewise.
48354 (initialize): Set min_subnorm_value.
48355
48356 2012-09-29 Joseph Myers <joseph@codesourcery.com>
48357
48358 [BZ #14638]
48359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
48360 0 + 0.
48361 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
48362 mode for addition resulting in exact zero.
48363 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
48364 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
48365 exact 0 + 0.
48366 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
48367 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48368 * math/libm-test.inc (fma_test): Add more tests.
48369 (fma_test_towardzero): New function.
48370 (fma_test_downward): Likewise.
48371 (fma_test_upward): Likewise.
48372 (main): Call the new functions.
48373
48374 2012-09-28 David S. Miller <davem@davemloft.net>
48375
48376 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
48377
48378 2012-09-28 Roland McGrath <roland@hack.frob.com>
48379
48380 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
48381 instead of SIGALRM.
48382
48383 * sysdeps/gnu/_G_config.h: Moved to ...
48384 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
48385 * sysdeps/mach/hurd/_G_config.h: Moved to ...
48386 * sysdeps/generic/_G_config.h: ... here.
48387
48388 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
48389
48390 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
48391
48392 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
48393 Conditionalize target on [libnss_test1.so-version].
48394
48395 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
48396
48397 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
48398 (elfobjdir): Move out of conditionals.
48399
48400 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
48401 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
48402 (__nss_lookup_function): Conditionalize label remove_from_tree on
48403 [!DO_STATIC_NSS || SHARED], matching its only use.
48404
48405 2012-09-28 David S. Miller <davem@davemloft.net>
48406
48407 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
48408 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
48409 file.
48410 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
48411 sysdep_routines.
48412 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
48413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
48414 when HWCAP_SPARC_CRYPTO is present.
48415
48416 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
48417
48418 * io/tst-mknodat.c: Create a FIFO instead of a socket.
48419
48420 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
48421
48422 [BZ #6530]
48423 * stdio-common/vfprintf.c (process_string_arg): Revert
48424 2000-07-22 change.
48425
48426 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
48427
48428 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
48429 for testcase.
48430 * stdio-common/tst-sprintf.c: Include <locale.h>
48431 (main): Test sprintf's handling of incomplete multibyte
48432 characters.
48433
48434 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
48435
48436 * elf/dl-runtime.c (VERSYMIDX): Removed.
48437 * elf/dl-version.c (VERSYMIDX): Likewise.
48438 * elf/do-rel.h (VERSYMIDX): Likewise.
48439 (VALIDX): Likewise.
48440 * elf/dynamic-link.h (VERSYMIDX): Likewise.
48441 * elf/rtld.c (VALIDX): Likewise.
48442 (ADDRIDX): Likewise.
48443 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
48444 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
48445 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
48446 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
48447 (VALIDX): Likewise.
48448 (ADDRIDX): Likewise.
48449
48450 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
48451
48452 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
48453
48454 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
48455
48456 [BZ #11438]
48457 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
48458 to global scope.
48459 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
48460 addresses are in the same scope as 192.0.2/24.
48461 * posix/gai.conf: Document new scope table defaults.
48462
48463 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48464
48465 [BZ #5298]
48466 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
48467 for ftell. Compute offsets from write pointers instead.
48468 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
48469
48470 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48471
48472 [BZ #14543]
48473 * libio/Makefile (tests): New test case tst-fseek.
48474 * libio/tst-fseek.c: New test case to verify that fseek/ftell
48475 combination works in wide mode.
48476 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
48477 state when the external buffer state changes.
48478
48479 2012-09-27 David S. Miller <davem@davemloft.net>
48480
48481 [BZ #14376]
48482 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
48483 pass reloc->r_addend in as the 'high' argument to
48484 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
48485
48486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48487
48488 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
48489
48490 * rt/tst-aio2.c: Include <pthread.h>.
48491 * rt/tst-aio3.c: Likewise.
48492
48493 2012-09-27 Steve Ellcey <sellcey@mips.com>
48494
48495 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
48496
48497 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
48498
48499 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
48500 contents on [SHARED].
48501
48502 2012-09-26 Marek Polacek <polacek@redhat.com>
48503
48504 [BZ #14530]
48505 [BZ #13741]
48506 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
48507 for C++ and GCC <4.3 as well as for non GCC compilers.
48508
48509 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
48510
48511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48512
48513 2012-09-25 Roland McGrath <roland@hack.frob.com>
48514
48515 * Makefile.in (all, install): Declare with .PHONY.
48516 Reported by Michael Hope <michael.hope@linaro.org>.
48517
48518 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48519
48520 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
48521 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
48522 system header.
48523 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
48524 Likewise.
48525 (sydep_routines): Add the new and the internal functions.
48526 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
48527 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
48528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
48529 (GLIBC_2.17): Add the new function.
48530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48531 (GLIBC_2.17): Likewise.
48532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
48533 (GLIBC_2.17): Likewise.
48534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
48535 (GLIBC_2.17): Likewise.
48536 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
48537
48538 2012-09-25 Alan Modra <amodra@gmail.com>
48539
48540 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
48541 Add release barrier before setting once_control to say
48542 initialisation is done. Add hints on lwarx. Use macro in
48543 place of isync.
48544 (clear_once_control): Add release barrier.
48545
48546 2012-09-25 Joseph Myers <joseph@codesourcery.com>
48547
48548 [BZ #13629]
48549 * math/s_clog.c (__clog): Handle more values close to |z| = 1
48550 specially.
48551 * math/s_clog10.c (__clog10): Likewise.
48552 * math/s_clog10f.c (__clog10f): Likewise.
48553 * math/s_clog10l.c (__clog10l): Likewise.
48554 * math/s_clogf.c (__clogf): Likewise.
48555 * math/s_clogl.c (__clogl): Likewise.
48556 * math/Makefile (libm-calls): Add x2y2m1.
48557 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
48558 (__x2y2m1): Likewise.
48559 (__x2y2m1l): Likewise.
48560 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
48561 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
48562 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
48563 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
48564 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
48565 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
48566 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
48567 * sysdeps/i386/fpu/libm-test-ulps: Update.
48568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48569
48570 [BZ #14621]
48571 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
48572 int as type of variable DEPTH.
48573 (glob): Use size_t instead of int as type of variables NEWCOUNT
48574 and OLD_PATHC.
48575
48576 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48577
48578 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
48579 Add s_sincosf-sse2.
48580 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
48581 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
48582 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
48583 macros for using routine as __sincosf_ia32.
48584 Use macro for function declaration and weak_alias.
48585 * sysdeps/i386/fpu/libm-test-ulps: Update.
48586
48587 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
48588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48589
48590 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
48591 subnormal argument.
48592 * math/s_cexpf.c (__cexpf): Likewise.
48593 * math/s_csinf.c (__csinf): Likewise.
48594 * math/s_csinhf.c (__csinhf): Likewise.
48595 * math/s_ctanf.c (__ctanf): Likewise.
48596 * math/s_ctanhf.c (__ctanhf): Likewise.
48597 * math/s_ccosh.c (__ccoshf): Likewise.
48598 * math/s_cexp.c (__cexpl): Likewise.
48599 * math/s_csin.c (__csin): Likewise.
48600 * math/s_csinh.c (__csinh): Likewise.
48601 * math/s_ctan.c (__ctan): Likewise.
48602 * math/s_ctanh.c (ctanh): Likewise.
48603 * math/s_ccoshl.c (__ccoshl): Likewise.
48604 * math/s_cexpl.c (__cexpl): Likewise.
48605 * math/s_csinl.c (__csinl): Likewise.
48606 * math/s_csinhl.c (__csinhl): Likewise.
48607 * math/s_ctanl.c (__ctanl): Likewise.
48608 * math/s_ctanhl.c (__ctanhl): Likewise.
48609
48610 2012-09-25 Joseph Myers <joseph@codesourcery.com>
48611
48612 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
48613 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
48614 (_IO_off_t): Define to __off_t, not _G_off_t.
48615 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
48616 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
48617 (_IO_wint_t): Define to wint_t, not _G_wint_t.
48618 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
48619 type of __dummy and __dummy2 fields.
48620 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
48621 (_G_ssize_t): Likewise.
48622 (_G_off_t): Likewise.
48623 (_G_pid_t): Likewise.
48624 (_G_uid_t): Likewise.
48625 (_G_wchar_t): Likewise.
48626 (_G_wint_t): Likewise.
48627 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
48628 (_G_ssize_t): Likewise.
48629 (_G_off_t): Likewise.
48630 (_G_pid_t): Likewise.
48631 (_G_uid_t): Likewise.
48632 (_G_wchar_t): Likewise.
48633 (_G_wint_t): Likewise.
48634 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
48635 (_G_ssize_t): Likewise.
48636 (_G_off_t): Likewise.
48637 (_G_pid_t): Likewise.
48638 (_G_uid_t): Likewise.
48639 (_G_wchar_t): Likewise.
48640 (_G_wint_t): Likewise.
48641
48642 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48643
48644 * malloc/arena.c: Include malloc-sysdep.h.
48645 (shrink_heap): Use check_may_shrink_heap to decide if madvise
48646 is sufficient to shrink the heap or an unmap is needed.
48647 * sysdeps/generic/malloc-sysdep.h: New file. Define
48648 new function check_may_shrink_heap.
48649 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
48650 new function check_may_shrink_heap.
48651
48652 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48653
48654 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
48655 comments.
48656
48657 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
48658
48659 * catgets/test-gencat.sh: Add "set -e".
48660 * elf/tst-pathopt.sh: Likewise.
48661 * grp/tst_fgetgrent.sh: Likewise.
48662 * iconvdata/run-iconv-test.sh: Likewise.
48663 * intl/tst-gettext.sh: Likewise.
48664 * intl/tst-gettext2.sh: Likewise.
48665 * intl/tst-gettext4.sh: Likewise.
48666 * intl/tst-gettext6.sh: Likewise.
48667 * intl/tst-translit.sh: Likewise.
48668 * io/ftwtest-sh: Likewise.
48669 * libio/test-freopen.sh: Likewise.
48670 * malloc/tst-mtrace.sh: Likewise.
48671 * posix/globtest.sh: Likewise.
48672 * posix/tst-getconf.sh: Likewise.
48673 * posix/wordexp-tst.sh: Likewise.
48674 * stdio-common/tst-printf.sh: Likewise.
48675 * stdio-common/tst-unbputc.sh: Likewise.
48676 * stdlib/tst-fmtmsg.sh: Likewise.
48677 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
48678 * catgets/Makefile: Do not specify -e option when running
48679 testsuite shell scripts.
48680 * elf/Makefile: Likewise.
48681 * grp/Makefile: Likewise.
48682 * iconvdata/Makefile: Likewise.
48683 * intl/Makefile: Likewise.
48684 * io/Makefile: Likewise.
48685 * libio/Makefile: Likewise.
48686 * malloc/Makefile: Likewise.
48687 * posix/Makefile: Likewise.
48688 * stdio-common/Makefile: Likewise.
48689 * stdlib/Makefile: Likewise.
48690 * sysdeps/x86_64/Makefile: Likewise.
48691
48692 * io/ftwtest-sh: Add copyright header.
48693 * posix/globtest.sh: Likewise.
48694 * posix/tst-getconf.sh: Likewise.
48695 * posix/wordexp-tst.sh: Likewise.
48696 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
48697
48698 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
48699
48700 [BZ #13679]
48701 * Makeconfig (+link): Defined as $(+link-static) if
48702 $(build-shared) isn't yes.
48703 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
48704 isn't yes.
48705 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
48706
48707 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
48708
48709 [BZ #14562]
48710 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
48711 new chunk size with MALLOC_ALIGN_MASK.
48712
48713 2012-09-24 Joseph Myers <joseph@codesourcery.com>
48714
48715 [BZ #5044]
48716 * stdio-common/printf_fphex.c: Include <stdbool.h> and
48717 <rounding-mode.h>.
48718 (__printf_fphex): Determine rounding using get_rounding_mode and
48719 round_away.
48720 * stdio-common/tst-printf-round.c (struct hex_test): New
48721 structure.
48722 (hex_tests): New variable.
48723 (test_hex_in_one_mode): New function.
48724 (do_test): Also run tests for hex float output.
48725
48726 2012-09-21 Joseph Myers <joseph@codesourcery.com>
48727
48728 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
48729 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
48730 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
48731 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
48732 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
48733 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
48734 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
48735 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
48736
48737 2012-09-20 Joseph Myers <joseph@codesourcery.com>
48738
48739 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
48740 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
48741 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
48742 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
48743
48744 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
48745
48746 [BZ #14579]
48747 * elf/rtld.c (dl_main): Limit the check for self loading to normal
48748 mode only.
48749 * elf/tst-rtld-load-self.sh: New test.
48750 * elf/Makefile: Run it.
48751
48752 2012-09-18 Joseph Myers <joseph@codesourcery.com>
48753
48754 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
48755 (tst-writev-ENV): Remove.
48756 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
48757
48758 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
48759
48760 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
48761
48762 2012-09-17 Joseph Myers <joseph@codesourcery.com>
48763
48764 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
48765 unconditional.
48766 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
48767 Likewise.
48768 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
48769 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
48770 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
48771 Likewise.
48772
48773 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
48774
48775 [BZ #14587]
48776 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
48777 * config.make.in (have-cpp-asm-debuginfo): Removed.
48778 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
48779 * configure: Regenerated.
48780
48781 2012-09-14 Joseph Myers <joseph@codesourcery.com>
48782
48783 [BZ #5044]
48784 * stdio-common/printf_fp.c: Include <stdbool.h> and
48785 <rounding-mode.h>.
48786 (___printf_fp): Determine rounding using get_rounding_mode and
48787 round_away.
48788 * stdio-common/tst-printf-round.c: New file.
48789 * stdio-common/Makefile (tests): Add tst-printf-round.
48790 (link-libm): New variable.
48791 ($(objpfx)tst-printf-round): Depend in $(link-libm).
48792
48793 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
48794
48795 [BZ #14576]
48796 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
48797 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
48798 Likewise.
48799 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
48800 Likewise.
48801
48802 2012-09-13 Joseph Myers <joseph@codesourcery.com>
48803
48804 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
48805 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
48806 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
48807 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
48808
48809 2012-09-12 Joseph Myers <joseph@codesourcery.com>
48810
48811 [BZ #14518]
48812 * include/rounding-mode.h: New file.
48813 * sysdeps/generic/get-rounding-mode.h: Likewise.
48814 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
48815 * stdlib/strtod_l.c: Include <rounding-mode.h>.
48816 (MAX_VALUE): New macro.
48817 (MIN_VALUE): Likewise.
48818 (overflow_value): New function.
48819 (underflow_value): Likewise.
48820 (round_and_return): Use overflow_value and underflow_value to
48821 determine return values in overflow and underflow cases. Use
48822 round_away to determine rounding depending on rounding mode.
48823 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
48824 determine return values in overflow and underflow cases.
48825 * stdlib/tst-strtod-round.c: Include <fenv.h>.
48826 (struct test_results): New structure.
48827 (struct test): Use struct test_results to store expected results
48828 for all rounding modes.
48829 (TEST): Include expected results for all rounding modes.
48830 (test_in_one_mode): New function.
48831 (do_test): Use test_in_one_mode to compute and check results.
48832 Check results for all rounding modes.
48833 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
48834 $(link-libm).
48835
48836 2012-12-09 Allan McRae <allan@archlinux.org>
48837
48838 * sysdeps/i386/fpu/libm-test-ulps: Update
48839
48840 2012-09-11 Joseph Myers <joseph@codesourcery.com>
48841
48842 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
48843 (_G_int32_t): Likewise.
48844 (_G_uint16_t): Likewise.
48845 (_G_uint32_t): Likewise.
48846 (_G_HAVE_BOOL): Likewise.
48847 (_G_HAVE_ATEXIT): Likewise.
48848 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
48849 (_G_HAVE_IO_FILE_OPEN): Likewise.
48850 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
48851 (_G_int32_t): Likewise.
48852 (_G_uint16_t): Likewise.
48853 (_G_uint32_t): Likewise.
48854 (_G_HAVE_BOOL): Likewise.
48855 (_G_HAVE_ATEXIT): Likewise.
48856 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
48857 (_G_HAVE_IO_FILE_OPEN): Likewise.
48858 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
48859 (_G_int32_t): Likewise.
48860 (_G_uint16_t): Likewise.
48861 (_G_uint32_t): Likewise.
48862 (_G_HAVE_BOOL): Likewise.
48863 (_G_HAVE_ATEXIT): Likewise.
48864 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
48865 (_G_HAVE_IO_FILE_OPEN): Likewise.
48866
48867 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
48868
48869 * csu/libc-tls.c: Update copyright years.
48870
48871 2012-09-10 Joseph Myers <joseph@codesourcery.com>
48872
48873 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
48874 [!_G_USING_THUNKS]: Remove conditional code.
48875 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
48876 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
48877
48878 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
48879 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
48880 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
48881 (_G_VTABLE_LABEL_PREFIX): Likewise.
48882 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
48883 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
48884 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
48885 (_G_VTABLE_LABEL_PREFIX): Likewise.
48886 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
48887 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
48888 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
48889 (_G_VTABLE_LABEL_PREFIX): Likewise.
48890 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
48891
48892 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
48893
48894 * libio/Makefile: Include ../Makeconfig before tests.
48895 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
48896 only if $(build-shared) is yes.
48897
48898 * iconv/gconv_db.c: Update copyright years.
48899
48900 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48901
48902 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
48903 unwind info if defined PIC. Fix special cases description.
48904 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
48905
48906 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
48907 DP_HI_MASK entry.
48908 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
48909
48910 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
48911
48912 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
48913
48914 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
48915 is NULL.
48916
48917 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
48918 (LDLIBS-tst-chk4): This.
48919 (LDFLAGS-tst-chk5): Renamed to ...
48920 (LDLIBS-tst-chk5): This.
48921 (LDFLAGS-tst-chk6): Renamed to ...
48922 (LDLIBS-tst-chk6): This.
48923 (LDFLAGS-tst-lfschk4): Renamed to ...
48924 (LDLIBS-tst-lfschk4): This.
48925 (LDFLAGS-tst-lfschk5): Renamed to ...
48926 (LDLIBS-tst-lfschk5): This.
48927 (LDFLAGS-tst-lfschk6): Renamed to ...
48928 (LDLIBS-tst-lfschk6): This.
48929
48930 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
48931 on $(common-objpfx)soversions.mk.
48932
48933 2012-09-07 Joseph Myers <joseph@codesourcery.com>
48934
48935 [BZ #10014]
48936 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
48937 example host name.
48938
48939 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
48940
48941 * malloc/arena.c (arena_get_retry): New function that gets
48942 another arena for the caller to try its request on.
48943 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
48944 current arena cannot fulfill the request.
48945 (__libc_memalign): Likewise.
48946 (__libc_memalign): Likewise.
48947 (__libc_pvalloc): Likewise.
48948 (__libc_calloc): Likewise.
48949
48950 2012-09-05 John Tobey <john.tobey@gmail.com>
48951
48952 [BZ #13542]
48953 * manual/arith.texi (Operations on Complex): Fix description
48954 of carg branch cut.
48955
48956 2012-09-06 Joseph Myers <joseph@codesourcery.com>
48957
48958 [BZ #10014]
48959 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
48960 host name.
48961
48962 [BZ #10038]
48963 * manual/memory.texi (Memory): Make order of menu items match
48964 order of sections.
48965
48966 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
48967
48968 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
48969 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
48970 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
48971
48972 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
48973
48974 * csu/libc-tls.c (static_dtv): Renamed to ...
48975 (_dl_static_dtv): This. Make it global.
48976 (_dl_initial_dtv): Removed.
48977 (__libc_setup_tls): Updated.
48978 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
48979 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
48980 DL_INITIAL_DTV.
48981
48982 2012-09-06 Petr Machata <pmachata@redhat.com>
48983
48984 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
48985 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
48986 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
48987 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
48988
48989 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
48990
48991 [BZ #14545]
48992 * csu/libc-tls.c (_dl_initial_dtv): New variable.
48993 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
48994 freeing dtv[-1].
48995
48996 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
48997
48998 [BZ #14544]
48999 * Makeconfig (link-static-before-libc): Replace $(+prector)
49000 with $(+prectorT).
49001 (link-static-after-libc): Replace $(+postctor) with
49002 $(+postctorT).
49003 (link-bounded): Replace $(+prector)/$(+postctor) with
49004 $(+prectorT)/$(+postctorT).
49005 (+prectorT): New macro.
49006 (+postctorT): Likewise.
49007
49008 2012-09-06 Joseph Myers <joseph@codesourcery.com>
49009
49010 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
49011 (round_str): Handle values above the maximum for IBM long double
49012 as inexact.
49013 * stdlib/tst-strtod-round.c (tests): Regenerated.
49014
49015 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49016
49017 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
49018 assembler flag.
49019 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
49020 zarch_nohighgprs around the zarch optimized routines.
49021 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
49022 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
49023 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
49024 for zarch.
49025
49026 2012-09-05 David S. Miller <davem@davemloft.net>
49027
49028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49029
49030 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
49031 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
49032 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
49033 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49034 entries.
49035
49036 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
49037
49038 * malloc/arena.c: Fold copyright years.
49039 * malloc/mcheck.c, malloc/memusage.c: Likewise.
49040
49041 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
49042
49043 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
49044
49045 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
49046
49047 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
49048
49049 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
49050
49051 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
49052 change internal state upon failure.
49053
49054 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
49055
49056 * malloc/mcheck.c (mcheck_check_all): Fix typo.
49057 * malloc/memusage.c (mmap): Likewise.
49058 (mmap64, mremap): Likewise. Adjust name in comment.
49059
49060 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
49061
49062 * libio/fileops.c: Fix typos in comments.
49063 * libio/oldfileops.c: Likewise.
49064 * libio/wfileops.c: Likewise.
49065
49066 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
49067
49068 [BZ #1349]
49069 * malloc/Makefile (tests): Add tst-malloc-usable test case.
49070 (tst-malloc-usable-ENV): Set environment for test case.
49071 * malloc/hooks.c (malloc_check_get_size): New function to get
49072 requested size.
49073 * malloc/malloc.c (musable): Use malloc_check_get_size.
49074 * malloc/tst-malloc-usable.c: New test case.
49075
49076 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
49077
49078 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
49079
49080 2012-09-05 Allan McRae <allan@archlinux.org>
49081
49082 [BZ #13966]
49083 * configure.in (CXX_SYSINCLUDES): Use compiler output to
49084 determine header location.
49085 * configure: Regenerated.
49086
49087 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
49088
49089 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
49090 float format.
49091 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
49092 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
49093 format.
49094 (test): Regenerate.
49095
49096 2012-09-04 David S. Miller <davem@davemloft.net>
49097
49098 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
49099 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
49100 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
49101
49102 2012-09-04 Florian Weimer <fweimer@redhat.com>
49103
49104 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
49105 failures.
49106
49107 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
49108
49109 2012-09-04 Joseph Myers <joseph@codesourcery.com>
49110
49111 [BZ #9914]
49112 * libio/iogetdelim.c: Include <limits.h>.
49113 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
49114 + len + 1 would overflow.
49115
49116 2012-09-03 Andreas Jaeger <aj@suse.de>
49117
49118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49119 * sysdeps/i386/fpu/libm-test-ulps: Update.
49120
49121 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49122
49123 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
49124 Add s_sinf-sse2, s_conf-sse2.
49125
49126 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
49127 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
49128 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
49129 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
49130
49131 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
49132 for using routine as __sinf_ia32.
49133 Use macro for function declaration and weak_alias.
49134 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
49135 for using routine as __cosf_ia32.
49136 Use macro for function declaration and weak_alias.
49137
49138 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
49139 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
49140
49141 * sysdeps/x86_64/fpu/s_sinf.S: New file.
49142 * sysdeps/x86_64/fpu/s_cosf.S: New file.
49143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49144
49145 * math/libm-test.inc (cos_test): Add more test cases.
49146 (sin_test): Likewise.
49147 (sincos_test): Likewise.
49148
49149 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49150
49151 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
49152 (IFUNC_RESOLVE): Make pointers to the specialized implementations
49153 hidden.
49154 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49155
49156 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
49157
49158 [BZ #14538]
49159 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
49160 first element of the GOT.
49161 (elf_machine_load_address): Return the difference between
49162 the runtime address of _DYNAMIC and elf_machine_dynamic ().
49163
49164 2012-09-01 Allan McRae <allan@archlinux.org>
49165
49166 [BZ #13412]
49167 * configure.in (AWK): Require gawk version 3.0 or later.
49168 * configure: Regenerated.
49169
49170 2012-09-01 Joseph Myers <joseph@codesourcery.com>
49171
49172 * sysdeps/unix/sysv/linux/kernel-features.h
49173 (__ASSUME_POSIX_CPU_TIMERS): Remove.
49174 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49175 [__NR_clock_getres]: Make code unconditional.
49176 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
49177 (clock_getcpuclockid): Remove code left unreachable by removal of
49178 conditionals.
49179 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
49180 code unconditional.
49181 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
49182 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
49183 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
49184 Make code unconditional.
49185 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
49186 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
49187 * sysdeps/unix/sysv/linux/clock_settime.c
49188 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
49189 conditional code.
49190 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
49191 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
49192
49193 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
49194
49195 [BZ #14476]
49196 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
49197 scripts/test-installation.pl.
49198
49199 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
49200 and $ld_so_version if it is set.
49201
49202 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
49203
49204 [BZ #14516]
49205 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
49206 failure if reading from procfs failed.
49207 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
49208
49209 2012-08-27 Joseph Myers <joseph@codesourcery.com>
49210
49211 * sysdeps/unix/sysv/linux/kernel-features.h
49212 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
49213 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
49214 Remove conditional code.
49215 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49216 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
49217 Remove conditional code.
49218 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49219 * sysdeps/unix/sysv/linux/i386/fxstat.c
49220 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
49221 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49222 * sysdeps/unix/sysv/linux/i386/fxstatat.c
49223 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
49224 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49225 * sysdeps/unix/sysv/linux/i386/lxstat.c
49226 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
49227 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49228 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
49229 Remove conditional code.
49230 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49231 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
49232 Remove conditional code.
49233 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49234 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
49235 <kernel-features.h>.
49236 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
49237 Remove.
49238 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
49239 Remove conditional code.
49240 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49241 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
49242 Remove conditional.
49243
49244 2012-08-27 Mike Frysinger <vapier@gentoo.org>
49245
49246 [BZ #5400]
49247 * NEWS: Add fixed bug number.
49248
49249 2012-08-27 Joseph Myers <joseph@codesourcery.com>
49250
49251 [BZ #14519]
49252 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
49253 underflowing exponent in case of negative sign.
49254 * stdlib/tst-strtod-round-data: Add more tests.
49255 * stdlib/tst-strtod-round.c (tests): Regenerated.
49256
49257 [BZ #3479]
49258 * stdlib/strtod_l.c (NDIG): Remove.
49259 (HEXNDIG): Likewise.
49260 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
49261 smallest representable value.
49262 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
49263 lie within an exact representation of 1/2 ulp of the result.
49264 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
49265 unconditionally.
49266 (TENS_P9_IDX): Define unconditionally.
49267 (TENS_P9_SIZE): Likewise.
49268 (TENS_P10_IDX): Likewise.
49269 (TENS_P10_SIZE): Likewise.
49270 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
49271 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
49272 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
49273 entries for 10^2^13 and 10^2^14.
49274 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
49275 (TENS_P13_IDX): Define.
49276 (TENS_P13_SIZE): Likewise.
49277 (TENS_P14_IDX): Likewise.
49278 (TENS_P14_SIZE): Likewise.
49279 (_fpioconst_pow10): Change array size to
49280 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
49281 unconditional.
49282 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
49283 1024]: Add entries for 10^2^13 and 10^2^14.
49284 [LAST_POW10 > _LAST_POW10]: Remove #error.
49285 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
49286 (_fpioconst_pow10): Change array size to
49287 FPIOCONST_POW10_ARRAY_SIZE.
49288 * stdlib/gen-fpioconst.c: New file.
49289 * stdlib/gen-tst-strtod-round.c: Likewise.
49290 * stdlib/tst-strtod-round-data: Likewise.
49291 * stdlib/tst-strtod-round.c: Likewise.
49292 * stdlib/Makefile (tests): Add tst-strtod-round.
49293
49294 [BZ #14459]
49295 * stdlib/strtod_l.c: Include <stdint.h>.
49296 (NDEBUG): Do not define.
49297 (round_and_return): Change EXPONENT parameter to type intmax_t.
49298 Rearrange calculations to avoid internal overflow possibilities.
49299 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
49300 Rearrange calculations to avoid internal overflow possibilities.
49301 Assert that number fits inside MPNSIZE limbs.
49302 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
49303 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
49304 calculations and add assertions to avoid internal overflow
49305 possibilities. Add casts to avoid signed/unsigned operations.
49306 * stdlib/tst-strtod-overflow.c: New file.
49307 * stdlib/Makefile (tests): Add tst-strtod-overflow.
49308
49309 2012-08-25 Marek Polacek <polacek@redhat.com>
49310
49311 * time/time.h: Fix some typos in comments.
49312
49313 2012-08-23 Roland McGrath <roland@hack.frob.com>
49314
49315 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
49316 * posix/tst-rfc3484-2.c: Likewise.
49317 * posix/tst-rfc3484-3.c: Likewise.
49318
49319 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
49320
49321 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
49322 (EF_ARM_ABI_FLOAT_HARD): Likewise.
49323
49324 2012-08-23 Joseph Myers <joseph@codesourcery.com>
49325
49326 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
49327 #include of fxstatat64.c.
49328
49329 2012-08-22 Roland McGrath <roland@hack.frob.com>
49330
49331 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
49332 * shadow/getspent_r.c: Likewise.
49333 * shadow/getspnam.c: Likewise.
49334 * shadow/getspnam_r.c: Likewise.
49335 * gshadow/getsgent.c: Likewise.
49336 * gshadow/getsgent_r.c: Likewise.
49337 * gshadow/getsgnam.c: Likewise.
49338 * gshadow/getsgnam_r.c: Likewise.
49339 * inet/getnetbyad.c: Likewise.
49340 * inet/getnetbyad_r.c: Likewise.
49341 * inet/getnetbynm.c: Likewise.
49342 * inet/getnetbynm_r.c: Likewise.
49343 * inet/getnetent.c: Likewise.
49344 * inet/getnetent_r.c: Likewise.
49345 * inet/getproto.c: Likewise.
49346 * inet/getproto_r.c: Likewise.
49347 * inet/getprtent.c: Likewise.
49348 * inet/getprtent_r.c: Likewise.
49349 * inet/getprtname.c: Likewise.
49350 * inet/getprtname_r.c: Likewise.
49351 * inet/getrpcbyname.c: Likewise.
49352 * inet/getrpcbyname_r.c: Likewise.
49353 * inet/getrpcbynumber.c: Likewise.
49354 * inet/getrpcbynumber_r.c: Likewise.
49355 * inet/getrpcent.c: Likewise.
49356 * inet/getrpcent_r.c: Likewise.
49357 * inet/getaliasent.c: Likewise.
49358 * inet/getaliasent_r.c: Likewise.
49359 * inet/getaliasname.c: Likewise.
49360 * inet/getaliasname_r.c: Likewise.
49361 * nscd/getgrgid_r.c: Likewise.
49362 * nscd/getgrnam_r.c: Likewise.
49363 * nscd/gethstbyad_r.c: Likewise.
49364 * nscd/gethstbynm3_r.c: Likewise.
49365 * nscd/getpwnam_r.c: Likewise.
49366 * nscd/getpwuid_r.c: Likewise.
49367 * nscd/getsrvbynm_r.c: Likewise.
49368 * nscd/getsrvbypt_r.c: Likewise.
49369 * nscd/gai.c: Likewise.
49370
49371 * configure.in (build_nscd): New substituted variable, set
49372 by --disable-build-nscd and defaults to $use_nscd.
49373 * configure: Regenerated.
49374 * config.make.in (build-nscd): New substituted variable.
49375 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
49376 Change conditional to require [$(build-nscd) = yes] as well.
49377 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
49378
49379 [BZ# 13696]
49380 * configure.in (use_nscd): New substituted variable, set by
49381 --disable-nscd. If enabled, define USE_NSCD.
49382 * configure: Regenerated.
49383 * config.h.in: Add USE_NSCD.
49384 * config.make.in (use-nscd): New substituted variable.
49385 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
49386 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
49387 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
49388 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
49389 (CFLAGS-getgrnam_r.c): Likewise.
49390 (CFLAGS-initgroups.c): Likewise.
49391 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
49392 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
49393 Variables removed.
49394 * inet/getnetgrent_r.c
49395 (nscd_setnetgrent): New function, broken out of ...
49396 (setnetgrent): ... here. Call it.
49397 (innetgr): Conditionalize nscd bits on [USE_NSCD].
49398 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
49399 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
49400 * nscd/Makefile (routines, aux): Move definitions after include of
49401 Makeconfig. Conditionalize on [$(use-nscd) != no].
49402 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
49403 Conditionalize on [USE_NSCD].
49404 (is_nscd, nscd_init_cb): Likewise.
49405 (nss_load_library): Conditionalize init callback on [USE_NSCD].
49406 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
49407 * nss/nss_db/db-init.c: Likewise.
49408 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
49409 [USE_NSCD].
49410 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
49411 (make_request): Use it.
49412 (cache_valid_p): New function.
49413 (__check_pf): Use it.
49414 * NEWS: Add item for --disable-nscd.
49415
49416 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
49417
49418 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
49419 to support sed >= 4.2.1-20-ga9bf076.
49420 * configure: Regenerated.
49421
49422 2012-08-22 Roland McGrath <roland@hack.frob.com>
49423
49424 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
49425 Conditionalize whole body on [IREL].
49426
49427 2012-08-22 Jeff Law <law@redhat.com>
49428
49429 [BZ #14505]
49430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
49431 if the family is PF_UNSPEC.
49432
49433 2012-08-22 Mike Frysinger <vapier@gentoo.org>
49434
49435 * Makerules (lib-version): Rename from V.
49436 (install-lib-nosubdir): Change V to lib-version.
49437
49438 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
49439
49440 [BZ #14252]
49441 * powerpc32/power6/wcschr.c: New file.
49442 * powerpc32/power6/wcscpy.c: New file.
49443 * powerpc32/power6/wcsrchr.c: New file.
49444 * powerpc64/power6/wcschr.c: New file.
49445 * powerpc64/power6/wcscpy.c: New file.
49446 * powerpc64/power6/wcsrchr.c: New file.
49447
49448 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
49449
49450 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
49451 (two_way_short_needle): Use it.
49452 * string/strstr.c (AVAILABLE1_USES_J): Define.
49453 * string/strcasestr.c: Likewise.
49454
49455 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
49456 array references.
49457 * string/strcasestr.c (TOLOWER): Make side-effect safe.
49458
49459 [BZ #11607]
49460 * NEWS: Add an entry.
49461 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
49462 define their defaults.
49463 (two_way_short_needle): Detect end-of-string on-the-fly.
49464 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
49465 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
49466 * string/bug-strcasestr1.c: New test.
49467 * string/Makefile: Run it.
49468
49469 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
49470
49471 [BZ #11607]
49472 * string/str-two-way.h (two_way_short_needle): Optimize matching of
49473 the first character.
49474
49475 2012-08-21 Roland McGrath <roland@hack.frob.com>
49476
49477 * csu/elf-init.c (__libc_csu_irel): Function removed.
49478 * csu/libc-start.c (apply_irel): New function.
49479 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
49480
49481 2012-08-21 Joseph Myers <joseph@codesourcery.com>
49482
49483 * sysdeps/unix/sysv/linux/kernel-features.h
49484 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
49485 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
49486 <kernel-features.h>.
49487 [__NR_fadvise64_64]: Make code unconditional.
49488 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
49489 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
49490 !__NR_fadvise64_64)]: Likewise.
49491 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
49492 !__NR_fadvise64_64))]: Likewise.
49493 [__NR_fadvise64]: Make code unconditional.
49494 [!__NR_fadvise64]: Remove conditional code.
49495 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
49496 <kernel-features.h>.
49497 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
49498 unconditional.
49499 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
49500 conditional code.
49501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
49502 not include <kernel-features.h>.
49503 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
49504 unconditional.
49505 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
49506 conditional code.
49507 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
49508 include <kernel-features.h>.
49509 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
49510 unconditional.
49511 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
49512 conditional code.
49513
49514 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49515
49516 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
49517 slight instruction rearrangements per scrollpipe analysis.
49518 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
49519
49520 2012-08-20 Roland McGrath <roland@hack.frob.com>
49521
49522 * manual/syslog.texi (syslog; vsyslog, closelog):
49523 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
49524 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
49525
49526 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
49527 DSOCAPS to match condition on defining it.
49528
49529 2012-08-20 Joseph Myers <joseph@codesourcery.com>
49530
49531 * sysdeps/unix/sysv/linux/kernel-features.h
49532 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
49533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
49534 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
49535 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
49536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
49537 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
49538 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
49539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
49540 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
49541 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
49542
49543 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
49544 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
49545
49546 * sysdeps/unix/sysv/linux/kernel-features.h
49547 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
49548 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
49549 unconditional.
49550 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
49551 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
49552 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
49553 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
49554 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
49555 Make code unconditional.
49556 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
49557 (__mmap64) [!__NR_mmap2]: Likewise.
49558 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
49559 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
49560 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
49561 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
49562 [__NR_mmap2]: Make code unconditional.
49563 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
49564 (__mmap64) [!__NR_mmap2]: Likewise.
49565
49566 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49567
49568 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
49569
49570 2012-08-18 Andreas Jaeger <aj@suse.de>
49571
49572 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
49573
49574 2012-08-18 Mike Frysinger <vapier@gentoo.org>
49575
49576 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
49577 * include/unistd.h (__have_sock_cloexec): Likewise.
49578 (__have_pipe2): Likewise.
49579 (__have_dup3): Likewise.
49580
49581 2012-08-18 Mike Frysinger <vapier@gentoo.org>
49582
49583 [BZ #9685]
49584 * include/unistd.h (__have_pipe2): Change define into an extern int.
49585 (__have_dup3): Likewise.
49586 * socket/have_sock_cloexec.c: Include fcntl.h.
49587 (__have_pipe2): New variable.
49588 (__have_dup3): Likewise.
49589
49590 2012-08-17 Mike Frysinger <vapier@gentoo.org>
49591
49592 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
49593
49594 2012-08-17 Marek Polacek <polacek@redhat.com>
49595
49596 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
49597 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
49598
49599 2012-08-17 Roland McGrath <roland@hack.frob.com>
49600
49601 * configure.in: Add AC_SUBST for sysheaders.
49602 * configure: Regenerated.
49603 * config.make.in (sysheaders): New substituted variable.
49604
49605 * sysdeps/unix/mkfifo.c: Moved ...
49606 * sysdeps/posix/mkfifo.c: ... here.
49607 * sysdeps/unix/mkfifoat.c: Moved ...
49608 * sysdeps/posix/mkfifoat.c: ... here.
49609
49610 * sysdeps/unix/utime.c: Moved ...
49611 * sysdeps/posix/utime.c: ... here.
49612
49613 * sysdeps/unix/time.c: Moved ...
49614 * sysdeps/posix/time.c: ... here.
49615 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
49616 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
49617
49618 * sysdeps/unix/nice.c: Moved ...
49619 * sysdeps/posix/nice.c: ... here.
49620
49621 * sysdeps/unix/alarm.c: Moved ...
49622 * sysdeps/posix/alarm.c: ... here.
49623
49624 * intl/Makefile ($(codeset_mo)): Depend on the input file.
49625
49626 2012-08-17 Jeff Law <law@redhat.com>
49627
49628 * intl/Makefile (codeset_mo): New variable.
49629 ($(codeset_mo)): New target.
49630 (tst-codeset.out): Depend on that. Remove explicit rule.
49631 (tst-gettext3.out, tst-gettext5.out): Likewise.
49632 (LOCPATH-ENV, tst-codeset-ENV): New variables.
49633 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
49634 * intl/tst-codeset.sh: Remove.
49635 * intl/tst-gettext3.sh: Likewise.
49636 * intl/tst-gettext5.sh: Likewise.
49637
49638 2012-08-17 Roland McGrath <roland@hack.frob.com>
49639
49640 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
49641 * sysdeps/unix/syscalls.list: ... here.
49642
49643 * sysdeps/posix/getaddrinfo.c
49644 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
49645 (gaiconf_init, gaiconf_reload): Use them.
49646 [!_STATBUF_ST_NSEC]
49647 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
49648 Define using time_t rather than struct timespec.
49649
49650 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
49651 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
49652 Macros removed.
49653 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
49654 [!NO_THREADS].
49655 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
49656 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
49657 Likewise.
49658
49659 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
49660 __libc_cleanup_push argument.
49661
49662 * bits/param.h: New file.
49663 * misc/sys/param.h: New file.
49664 * include/sys/param.h: New file.
49665 * misc/Makefile (headers): Add bits/param.h.
49666 * sysdeps/generic/sys/param.h: File removed.
49667 * sysdeps/unix/sysv/linux/bits/param.h: New file.
49668 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
49669 * sysdeps/mach/hurd/bits/param.h: New file.
49670 * sysdeps/mach/hurd/sys/param.h: File removed.
49671
49672 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
49673 last change.
49674
49675 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
49676 [_IO_MTSAFE_IO].
49677 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
49678 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
49679 New macros.
49680
49681 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
49682 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
49683 rather than -D_IO_MTSAFE_IO conditionally.
49684 * stdio-common/Makefile (CPPFLAGS): Likewise.
49685 * wcsmbs/Makefile (CPPFLAGS): Likewise.
49686 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
49687 Use $(libio-mtsafe).
49688 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
49689 of -D_IO_MTSAFE_IO.
49690 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
49691 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
49692 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
49693 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
49694 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
49695 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
49696 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
49697 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
49698 (CFLAGS-fread_u_chk.c): Likewise.
49699 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
49700 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
49701 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
49702 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
49703 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
49704 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
49705 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
49706 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
49707 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
49708
49709 * libio/Makefile: Test [$(libc-reentrant) = yes]
49710 instead of [$(filter %REENTRANT, $(defines)) nonempty].
49711
49712 * Makeconfig
49713 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
49714 * sysdeps/pthread/configure: File removed.
49715 * sysdeps/pthread/Makeconfig: New file.
49716 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
49717 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
49718
49719 2012-08-16 Gary Benson <gbenson@redhat.com>
49720
49721 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
49722 unmapping the first object in a namespace.
49723
49724 2012-08-16 Roland McGrath <roland@hack.frob.com>
49725
49726 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
49727 (__internal_setnetgrent): ... this. Add internal_function to
49728 definition. Add libc_hidden_def.
49729 (setnetgrent): Update caller.
49730 (internal_endnetgrent): Renamed to ...
49731 (__internal_endnetgrent): ... this. Add internal_function to
49732 definition. Add libc_hidden_def.
49733 (endnetgrent): Update caller.
49734 (internal_getnetgrent_r): Renamed to ...
49735 (__internal_getnetgrent_r): ... this. Add internal_function to
49736 definition. Add libc_hidden_def.
49737 (__getnetgrent_r): Update caller.
49738 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
49739
49740 2012-08-16 Joseph Myers <joseph@codesourcery.com>
49741
49742 * stdlib/longlong.h: Update from GCC.
49743
49744 2012-08-16 Roland McGrath <roland@hack.frob.com>
49745
49746 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
49747 on _QL, which is set by umul_ppmm but never used.
49748 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
49749 variables, which are set by GMP macros but never used.
49750 * stdio-common/_itowa.c (_itowa): Likewise.
49751 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
49752 * stdlib/mod_1.c (mpn_mod_1): Likewise.
49753
49754 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
49755
49756 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
49757 struct La_sh_regs is not constant.
49758 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
49759 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
49760 and struct La_sparc64_regs are not constant.
49761
49762 2012-08-16 Joseph Myers <joseph@codesourcery.com>
49763
49764 * sysdeps/unix/sysv/linux/kernel-features.h
49765 (__ASSUME_POSIX_TIMERS): Remove.
49766 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49767 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
49768 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
49769 Make code unconditional.
49770 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
49771 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
49772 Make code unconditional.
49773 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
49774 * sysdeps/unix/sysv/linux/clock_nanosleep.c
49775 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
49776 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
49777 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
49778 Make code unconditional.
49779 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
49780 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
49781 (__libc_missing_posix_timers): Remove.
49782
49783 2012-08-15 Roland McGrath <roland@hack.frob.com>
49784
49785 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
49786 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
49787
49788 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
49789
49790 * elf/dl-sym.c: Include <stdlib.h>.
49791
49792 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
49793 constants, which avoids warnings in 32-bit builds.
49794
49795 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
49796 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
49797
49798 * misc/lseek.c: File moved to ...
49799 * io/lseek.c: ... here.
49800
49801 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
49802
49803 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
49804 shifting LEN more than 31 bits at once.
49805
49806 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49807
49808 [BZ #14195]
49809 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
49810 segmentation fault for a case of two empty input strings.
49811 * string/test-strncasecmp.c (check1): Renamed to...
49812 (bz12205): ...this.
49813 (bz14195): Add new testcase for two empty input strings and N > 0.
49814 (test_main): Call new testcase, adapt for renamed function.
49815
49816 2012-08-15 Andreas Jaeger <aj@suse.de>
49817
49818 [BZ #14090]
49819 * crypt/md5test2.c: New test, based on test supplied by Serge
49820 Belyshev <belyshev@depni.sinp.msu.ru>.
49821 * crypt/Makefile (xtests): Add md5test-giant..
49822 * crypt/Makefile ($(objpfx)md5test-giant): Add.
49823
49824 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
49825
49826 [BZ #14090]
49827 * crypt/md5.c (md5_process_block): Don't assume the buffer
49828 length is less than 2**32.
49829 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
49830 length is less than 2**64.
49831
49832 2012-08-15 Roland McGrath <roland@hack.frob.com>
49833
49834 * string/str-two-way.h: Include <sys/param.h>.
49835 (MAX): Macro removed.
49836
49837 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
49838 Move #define and #undef of memmove to just before and after
49839 including <string.h>.
49840
49841 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
49842 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
49843 and after including <string.h>. Move declarations of
49844 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
49845 to before #include "string/memmove.c".
49846
49847 * include/dirent.h: Declare __getdirentries.
49848
49849 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
49850 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
49851
49852 2012-08-14 Mike Frysinger <vapier@gentoo.org>
49853
49854 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
49855 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
49856 * sysdeps/i386/configure: Regenerated.
49857 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
49858 STABS_CURRENT_FILE, and STABS_FUN.
49859 (END): Remove call to STABS_FUN_END.
49860 (STABS_CURRENT_FILE1): Delete.
49861 (STABS_CURRENT_FILE): Likewise.
49862 (STABS_FUN): Likewise.
49863 (STABS_FUN_END): Likewise.
49864 (STABS_FUN2): Likewise.
49865 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
49866 * sysdeps/x86_64/configure: Regenerated.
49867
49868 2012-08-14 Roland McGrath <roland@hack.frob.com>
49869
49870 * elf/dl-open.c: Include <atomic.h>.
49871 * elf/dl-lookup.c: Likewise.
49872
49873 2012-08-14 Joseph Myers <joseph@codesourcery.com>
49874
49875 * sysdeps/unix/sysv/linux/kernel-features.h
49876 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
49877 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
49878 unconditionally.
49879 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
49880 unconditionally.
49881 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
49882 condition on __ASSUME_CLONE_THREAD_FLAGS.
49883
49884 2012-08-14 Andreas Jaeger <aj@suse.de>
49885
49886 * sysdeps/i386/fpu/libm-test-ulps: Update.
49887
49888 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
49889
49890 * include/atomic.h (atomic_exchange_and_add): Split into ...
49891 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
49892 New atomic macros.
49893
49894 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
49895
49896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49897
49898 2012-08-13 Jeff Law <law@redhat.com>
49899
49900 * manual/stdio.texi (snprintf): Clarify handling of the trailing
49901 null byte in the output string.
49902
49903 2012-08-10 Joseph Myers <joseph@codesourcery.com>
49904
49905 * sysdeps/unix/sysv/linux/kernel-features.h
49906 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
49907 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
49908 (__ASSUME_ARG_MAX_STACK_BASED): Define.
49909 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
49910 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
49911 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
49912 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
49913
49914 2012-08-09 Jeff Law <law@redhat.com>
49915
49916 [BZ #13939]
49917 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
49918 When avoid_arena is set, don't retry in the that arena. Pick the
49919 next one, whatever it might be.
49920 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
49921 (arena_lock): Pass in new parameter to arena_get2.
49922 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
49923 arena_get2.
49924 (__libc_malloc): Unify retrying after main arena failure with
49925 __libc_memalign version.
49926 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
49927
49928 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
49929
49930 [BZ #14166]
49931 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
49932 to __redirect_strstr.
49933 (__strstr_sse42): Use typeof __redirect_strstr.
49934 (__strstr_ia32): Likewise.
49935 (__libc_strstr): New prototype.
49936 (strstr): Renamed to ...
49937 (__libc_strstr): This.
49938 (strstr): New strong alias of __libc_strstr.
49939 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
49940 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
49941 __redirect_time.
49942 Include <time.h>.
49943 (__libc_time): New prototype.
49944 (time_ifunc): Replace time with __libc_time.
49945 (time): New strong alias and hidden definition of __libc_time.
49946 (__GI_time): Remove strong alias.
49947 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
49948 Include <stddef.h>.
49949 (memmove): Redefined to __redirect_memmove.
49950 (__memmove_sse2): Use typeof __redirect_memmove.
49951 (__memmove_ssse3): Likewise.
49952 (__memmove_ssse3_back): Likewise.
49953 (__libc_memmove): New prototype.
49954 (memmove): Renamed to ...
49955 (__libc_memmove): This.
49956 (memmove): New strong alias of __libc_memmove.
49957
49958 2012-08-08 Mark Salter <msalter@redhat.com>
49959
49960 * elf/elf.h
49961 (R_MN10300_TLS_GD): Define.
49962 (R_MN10300_TLS_LD): Likewise.
49963 (R_MN10300_TLS_LDO): Likewise.
49964 (R_MN10300_TLS_GOTIE): Likewise.
49965 (R_MN10300_TLS_IE): Likewise.
49966 (R_MN10300_TLS_LE): Likewise.
49967 (R_MN10300_TLS_DTPMOD): Likewise.
49968 (R_MN10300_TLS_DTPOFF): Likewise.
49969 (R_MN10300_TLS_TPOFF): Likewise.
49970 (R_MN10300_SYM_DIFF): Likewise.
49971 (R_MN10300_ALIGN): Likewise.
49972 (R_MN10300_NUM): Update.
49973
49974 2012-08-08 Joseph Myers <joseph@codesourcery.com>
49975
49976 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
49977 Remove.
49978
49979 2012-08-08 Roland McGrath <roland@hack.frob.com>
49980
49981 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
49982
49983 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
49984 sysdeps/unix -> sysdeps/posix move.
49985 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
49986
49987 2012-08-07 Allan McRae <allan@archlinux.org>
49988
49989 [BZ #14303]
49990 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
49991 (SUNOS_CPP): Likewise.
49992 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
49993 not found.
49994 (open_input): Call CPP using execvp.
49995
49996 2012-08-07 Joseph Myers <joseph@codesourcery.com>
49997
49998 * sysdeps/unix/sysv/linux/kernel-features.h
49999 (__ASSUME_PROT_GROWSUPDOWN): Remove.
50000 (__ASSUME_NO_CLONE_DETACHED): Likewise.
50001 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
50002 (__ASSUME_WAITID_SYSCALL): Likewise.
50003 * sysdeps/unix/sysv/linux/dl-execstack.c
50004 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
50005 code unconditional.
50006 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
50007 conditional code.
50008 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
50009 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
50010 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
50011 code.
50012 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
50013 unconditional.
50014 [__ASSUME_WAITID_SYSCALL]: Likewise.
50015 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
50016
50017 2012-08-07 Roland McGrath <roland@hack.frob.com>
50018
50019 * sysdeps/unix/closedir.c: Renamed to ...
50020 * sysdeps/posix/closedir.c: ... here.
50021 * sysdeps/unix/dirfd.c: Renamed to ...
50022 * sysdeps/posix/dirfd.c: ... here.
50023 * sysdeps/unix/dirstream.h: Renamed to ...
50024 * sysdeps/posix/dirstream.h: ... here.
50025 * sysdeps/unix/fdopendir.c: Renamed to ...
50026 * sysdeps/posix/fdopendir.c: ... here.
50027 * sysdeps/unix/opendir.c: Renamed to ...
50028 * sysdeps/posix/opendir.c: ... here.
50029 * sysdeps/unix/readdir.c: Renamed to ...
50030 * sysdeps/posix/readdir.c: ... here.
50031 * sysdeps/unix/readdir_r.c: Renamed to ...
50032 * sysdeps/posix/readdir_r.c: ... here.
50033 * sysdeps/unix/rewinddir.c: Renamed to ...
50034 * sysdeps/posix/rewinddir.c: ... here.
50035 * sysdeps/unix/seekdir.c: Renamed to ...
50036 * sysdeps/posix/seekdir.c: ... here.
50037 * sysdeps/unix/telldir.c: Renamed to ...
50038 * sysdeps/posix/telldir.c: ... here.
50039 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
50040 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
50041 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
50042 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
50043
50044 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
50045 * bits/fcntl.h: ... here.
50046
50047 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
50048 not 0.
50049 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
50050 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
50051 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
50052 (struct flock): Move l_start, l_len to the beginning.
50053 Use __pid_t for l_pid.
50054 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
50055 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
50056 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
50057 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
50058 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
50059 [__USE_LARGEFILE64] (struct flock64): New type.
50060 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
50061
50062 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
50063 * bits/dirent.h: ... here.
50064
50065 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
50066 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
50067
50068 2012-08-07 Joseph Myers <joseph@codesourcery.com>
50069
50070 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
50071 Change from 2.6.0 to 2.6.16.
50072 * sysdeps/unix/sysv/linux/configure: Regenerated.
50073 * sysdeps/unix/sysv/linux/kernel-features.h
50074 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
50075 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
50076 version.
50077 (__ASSUME_UTIMES): Likewise.
50078 (__ASSUME_CLONE_STOPPED): Remove.
50079 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
50080 architectures, not kernel version.
50081 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
50082 (__ASSUME_NO_CLONE_DETACHED): Likewise.
50083 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
50084 (__ASSUME_WAITID_SYSCALL): Likewise.
50085 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
50086 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
50087 * README: State 2.6.16 as minimum Linux kernel version. Do not
50088 refer to older versions.
50089
50090 2012-08-06 Roland McGrath <roland@hack.frob.com>
50091
50092 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
50093 Define alphasort64 as an alias.
50094 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
50095 Define versionsort64 as an alias.
50096 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
50097 Define scandir64 as an alias.
50098 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
50099 Define scandirat64 as an alias.
50100 * dirent/alphasort64.c (alphasort64):
50101 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
50102 * dirent/versionsort64.c: Likewise.
50103 * dirent/scandir64.c: Likewise.
50104 * dirent/scandirat64.c: Likewise.
50105 * sysdeps/wordsize-64/alphasort.c: File removed.
50106 * sysdeps/wordsize-64/alphasort64.c: File removed.
50107 * sysdeps/wordsize-64/scandir.c: File removed.
50108 * sysdeps/wordsize-64/scandir64.c: File removed.
50109 * sysdeps/wordsize-64/scandirat.c: File removed.
50110 * sysdeps/wordsize-64/scandirat64.c: File removed.
50111 * sysdeps/wordsize-64/versionsort.c: File removed.
50112 * sysdeps/wordsize-64/versionsort64.c: File removed.
50113 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
50114 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
50115 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
50116 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
50117 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
50118 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
50119 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
50120 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
50121
50122 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
50123 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
50124 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
50125 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50126 [defined __arch64__ || defined __sparcv9]
50127 (__INO_T_MATCHES_INO64_T): New macro.
50128 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50129 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
50130 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
50131 * sysdeps/unix/sysv/linux/bits/dirent.h
50132 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
50133 (_DIRENT_MATCHES_DIRENT64): New macro.
50134
50135 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
50136 Define lockf64 as an alias.
50137 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
50138 Define fseeko64 as an alias.
50139 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
50140 Define ftello64 as an alias.
50141 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
50142 Define _IO_fgetpos64 and fgetpos64 as aliases.
50143 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
50144 Define _IO_fsetpos64 and fsetpos64 as aliases.
50145 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
50146 Conditionalize body on this.
50147 * libio/fseeko64.c: Likewise.
50148 * libio/ftello64.c: Likewise.
50149 * libio/iofgetpos64.c: Likewise.
50150 * libio/iofsetpos64.c: Likewise.
50151 * sysdeps/wordsize-64/lockf.c: File removed.
50152 * sysdeps/wordsize-64/lockf64.c: File removed.
50153 * sysdeps/wordsize-64/fseeko.c: File removed.
50154 * sysdeps/wordsize-64/fseeko64.c: File removed.
50155 * sysdeps/wordsize-64/ftello.c: File removed.
50156 * sysdeps/wordsize-64/ftello64.c: File removed.
50157 * sysdeps/wordsize-64/iofgetpos.c: File removed.
50158 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
50159 * sysdeps/wordsize-64/iofsetpos.c: File removed.
50160 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
50161 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
50162 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
50163 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
50164 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
50165 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
50166 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
50167 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
50168 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
50169 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
50170 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
50171
50172 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
50173 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
50174 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
50175 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50176 [defined __arch64__ || defined __sparcv9]
50177 (__OFF_T_MATCHES_OFF64_T): New macro.
50178 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50179 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
50180 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50181 (__OFF_T_MATCHES_OFF64_T): New macro.
50182
50183 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
50184
50185 * stdlib/secure-getenv.c (__secure_getenv): Replace
50186 GLIBC_2_16 with GLIBC_2_17.
50187
50188 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
50189
50190 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
50191 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50192
50193 2012-08-03 David S. Miller <davem@davemloft.net>
50194
50195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50196
50197 2012-08-03 Joseph Myers <joseph@codesourcery.com>
50198
50199 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
50200 Remove.
50201 (__ASSUME_CORRECT_SI_PID): Likewise.
50202 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
50203 (__ASSUME_TMPFS_NAME): Likewise.
50204 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
50205 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
50206 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
50207 (HAVE_AUX_SECURE): Make definition unconditional.
50208 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
50209 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
50210
50211 2012-08-03 Roland McGrath <roland@hack.frob.com>
50212
50213 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
50214 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
50215 * sysdeps/mach/hurd/eloop-threshold.h: New file.
50216 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50217 __eloop_threshold instead of SYMLOOP_MAX.
50218
50219 * sysdeps/generic/eloop-threshold.h: New file.
50220 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
50221 of MAXSYMLINKS.
50222 * elf/chroot_canon.c (chroot_canon): Likewise.
50223
50224 2012-08-03 Joseph Myers <joseph@codesourcery.com>
50225
50226 [BZ #13717]
50227 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
50228 Change to 2.6.0 everywhere.
50229 * sysdeps/unix/sysv/linux/configure: Regenerated.
50230 * sysdeps/unix/sysv/linux/kernel-features.h
50231 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
50232 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
50233 kernel versions.
50234 (__ASSUME_POSIX_TIMERS): Define unconditionally.
50235 (__ASSUME_FUTEX_REQUEUE): Remove.
50236 (__ASSUME_STATFS64): Define unconditionally.
50237 (__ASSUME_AT_SECURE): Likewise.
50238 (__ASSUME_CORRECT_SI_PID): Likewise.
50239 (__ASSUME_TGKILL): Define without depending on kernel version for
50240 i386.
50241 (__ASSUME_UTIMES): Likewise.
50242 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
50243 kernel version.
50244 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
50245 (__ASSUME_TMPFS_NAME): Likewise.
50246 * README: Update reference to Linux kernel versions.
50247
50248 2012-08-02 Marek Polacek <polacek@redhat.com>
50249
50250 [BZ# 14150]
50251 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
50252 libc_cv_asm_type_prefix with %.
50253 * configure: Regenerated.
50254 * include/libc-symbols.h: Remove comment about
50255 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
50256 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
50257 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
50258 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
50259 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
50260 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
50261 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
50262 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
50263 * elf/tst-unique2mod1.c: Likewise.
50264 * elf/tst-unique1mod2.c: Likewise.
50265 * elf/tst-unique1mod1.c: Likewise.
50266 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
50267 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
50268 Replace ASM_TYPE_DIRECTIVE with .type.
50269 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50270 * sysdeps/i386/sysdep.h: Likewise.
50271 * sysdeps/x86_64/sysdep.h: Likewise.
50272 * sysdeps/sh/sysdep.h: Likewise.
50273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50274 Do not define ASM_TYPE_DIRECTIVE.
50275 * sysdeps/powerpc/sysdep.h: Likewise.
50276 * sysdeps/powerpc/powerpc32/sysdep.h:
50277 Replace ASM_TYPE_DIRECTIVE with .type.
50278 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
50279 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50280 * sysdeps/i386/fpu/e_powf.S: Likewise.
50281 * sysdeps/i386/fpu/e_expl.S: Likewise.
50282 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50283 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50284 * sysdeps/i386/fpu/e_pow.S: Likewise.
50285 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50286 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50287 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50288 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50289 * sysdeps/i386/fpu/e_log2.S: Likewise.
50290 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50291 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50292 * sysdeps/i386/fpu/e_powl.S: Likewise.
50293 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50294 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50295 * sysdeps/i386/fpu/e_logl.S: Likewise.
50296 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50297 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50298 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50299 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50300 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50301 * sysdeps/i386/fpu/e_log.S: Likewise.
50302 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50303 * sysdeps/i386/fpu/e_logf.S: Likewise.
50304 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50305 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50306 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50307 * sysdeps/i386/fpu/e_log10.S: Likewise.
50308 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50309 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50310 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50311 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50312 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50313 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
50314 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50315 * sysdeps/i386/i686/strtok.S: Likewise.
50316 * sysdeps/i386/i386-mcount.S: Likewise.
50317 * sysdeps/i386/strtok.S: Likewise.
50318 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
50319 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50320 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50321 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50322 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50323 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50324 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50325 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50326 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50327 * sysdeps/x86_64/_mcount.S: Likewise.
50328 * sysdeps/x86_64/strtok.S: Likewise.
50329 * sysdeps/sh/_mcount.S: Likewise.
50330
50331 2012-08-01 Roland McGrath <roland@hack.frob.com>
50332
50333 * libio/iofopen.c: Include <fcntl.h>.
50334 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
50335 (_IO_fopen64, fopen64): Define as aliases.
50336 * libio/iofopen64.c: Include <fcntl.h>.
50337 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
50338 Conditionalize body on this.
50339 * sysdeps/wordsize-64/iofopen.c: File removed.
50340 * sysdeps/wordsize-64/iofopen64.c: File removed.
50341
50342 2012-08-01 Marek Polacek <polacek@redhat.com>
50343
50344 * libc/Makeconfig: Use elf in place of binfmt-subdir.
50345 Use dlfcn directly instead of a variable.
50346 (binfmt-subdir): Do not define.
50347 (dlfcn): Likewise.
50348
50349 2012-08-01 Joseph Myers <joseph@codesourcery.com>
50350
50351 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
50352 Remove all definitions.
50353 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
50354 <kernel-features.h>.
50355 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
50356 (miss_F_GETOWN_EX): Remove all definitions.
50357 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
50358 macro definition.
50359 [!__ASSUME_FCNTL64]: Remove conditional code.
50360 [__ASSUME_FCNTL64]: Make code unconditional.
50361 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
50362 <kernel-features.h>.
50363 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
50364 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
50365 (lockf64) [__NR_fcntl64]: Make code unconditional.
50366 (lockf64) [__ASSUME_FCNTL64]: Likewise.
50367
50368 * sysdeps/unix/sysv/linux/kernel-features.h
50369 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
50370 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
50371 Make code unconditional.
50372 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
50373 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
50374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
50375 [__NR_vfork]: Make code unconditional.
50376 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
50377 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
50378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
50379 [__NR_vfork]: Make code unconditional.
50380 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
50381 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
50382
50383 2012-08-01 Roland McGrath <roland@hack.frob.com>
50384
50385 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
50386 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
50387
50388 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50389 Define mkstemp64 as an alias.
50390 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50391 Define mkstemps64 as an alias.
50392 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50393 Define mkostemp64 as an alias.
50394 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50395 Define mkostemps64 as an alias.
50396 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
50397 Conditionalize body on this.
50398 * misc/mkostemp64.c: Likewise.
50399 * misc/mkostemps64.c: Likewise.
50400 * misc/mkstemps64.c: Likewise.
50401 * sysdeps/wordsize-64/mkstemp64.c: File removed.
50402 * sysdeps/wordsize-64/mkostemp64.c: File removed.
50403 * sysdeps/wordsize-64/mkostemp.c: File removed.
50404 * sysdeps/wordsize-64/mkstemp.c: File removed.
50405 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
50406 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
50407 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
50408 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
50409
50410 [BZ #14138]
50411 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
50412 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
50413 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
50414 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
50415
50416 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
50417 compat_symbol macros from <shlib-compat.h> rather than the underlying
50418 default_symbol_version and symbol_version macros, so that DEFAULT
50419 lines in shlib-versions are respected.
50420 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
50421
50422 2012-08-01 Florian Weimer <fweimer@redhat.com>
50423
50424 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
50425 Declare with warn_unused_result.
50426 (setgid, setregid, setegid, setresgid): Likewise.
50427 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
50428 Likewise.
50429 * WUR-REPORT: Remove set*id functions.
50430
50431 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
50432
50433 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
50434
50435 2012-07-31 Roland McGrath <roland@hack.frob.com>
50436
50437 [BZ #10191]
50438 * include/sys/socket.h (__libc_accept, __libc_accept4):
50439 Add attribute_hidden.
50440 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
50441
50442 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
50443 use of PTR_MANGLE.
50444 * inet/getnetgrent_r.c (setup): Likewise.
50445
50446 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
50447
50448 2012-07-31 David S. Miller <davem@davemloft.net>
50449
50450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50451
50452 2012-07-31 Joseph Myers <joseph@codesourcery.com>
50453
50454 [BZ #13629]
50455 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
50456 value between 1.0 and 2.0 and smaller part has absolute value less
50457 than 1.0.
50458 * math/s_clog10.c (__clog10): Likewise.
50459 * math/s_clog10f.c (__clog10f): Likewise.
50460 * math/s_clog10l.c (__clog10l): Likewise.
50461 * math/s_clogf.c (__clogf): Likewise.
50462 * math/s_clogl.c (__clogl): Likewise.
50463 * math/libm-test.inc (clog_test): Add more tests.
50464 (clog10_test): Likewise.
50465 * sysdeps/i386/fpu/libm-test-ulps: Update.
50466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50467
50468 2012-07-31 Florian Weimer <fweimer@redhat.com>
50469
50470 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
50471 Exit with zero in case no suitable GID is found, and write a
50472 message to standard error.
50473
50474 2012-07-30 Roland McGrath <roland@hack.frob.com>
50475
50476 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
50477 rather than to 1.
50478 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
50479 (MAXPATHLEN): Removed.
50480 (NOGROUP, NODEV): New macros.
50481 (setbit, clrbit, isset, isclr): New macros.
50482 (howmany, roundup, powerof2): New macros.
50483 (DEV_BSIZE): New macro.
50484
50485 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
50486 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
50487
50488 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
50489 definition on [!__NO_LONG_DOUBLE_MATH].
50490
50491 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
50492 PTR_MANGLE and PTR_DEMANGLE.
50493
50494 * socket/accept4.c (accept4): Rename to __libc_accept4.
50495 Define accept4 as a weak alias.
50496
50497 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
50498 on [_DIRENT_HAVE_D_TYPE].
50499 * io/ftw.c (ftw_dir): Likewise.
50500
50501 * io/xmknod.c (__xmknod): Don't check PATH for being null.
50502
50503 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
50504
50505 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
50506 Use the BSD numbers rather than the arbitrary ones we had.
50507 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
50508 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
50509 (SIGXCPU, SIGXFSZ): New macros.
50510 (_NSIG): Now 32.
50511
50512 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
50513 initializer on [_LIBC_REENTRANT].
50514
50515 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
50516 definitions inside [_POSIX_MAPPED_FILES].
50517
50518 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
50519
50520 * dirent/opendir.c: Include <fcntl.h>.
50521
50522 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
50523 (__libc_getspecific): Likewise.
50524 (__libc_key_create): Likewise.
50525
50526 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
50527 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
50528 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
50529 (tmpfile64): Define as alias.
50530 * sysdeps/wordsize-64/tmpfile.c: File removed.
50531 * sysdeps/wordsize-64/tmpfile64.c: File removed.
50532 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
50533 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
50534
50535 * stdio-common/vfscanf.c: Include <stdbool.h>.
50536 * nss/makedb.c: Likewise.
50537 * stdio-common/_i18n_number.h: Likewise.
50538 * argp/argp-help.c: Likewise.
50539 * posix/wordexp.c: Likewise.
50540 * sysdeps/posix/spawni.c: Likewise.
50541 * nss/nss_files/files-initgroups.c: Likewise.
50542 * stdio-common/reg-modifier.c: Include <stdlib.h>.
50543 * nss/nss_files/files-initgroups.c: Likewise.
50544 * nss/nss_db/db-netgrp.c: Likewise.
50545 * nss/nss_db/db-initgroups.c: Likewise.
50546 * io/fchmodat.c: Include <sys/stat.h>.
50547
50548 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
50549 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
50550
50551 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
50552 [HAVE_MMAP].
50553
50554 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
50555 Add multiple inclusion protection.
50556
50557 2012-07-27 David S. Miller <davem@davemloft.net>
50558
50559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50560
50561 2012-07-27 Gary Benson <gbenson@redhat.com>
50562
50563 [BZ #14298]
50564 * elf/rtld.c: Include <stap-probe.h>.
50565 (dl_main): Added static probes "init_start" and "init_complete".
50566 * elf/dl-load.c: Include <stap-probe.h>.
50567 (lose): Take new parameter "nsid".
50568 Added static probe "map_failed".
50569 (_dl_map_object_from_fd): Pass namespace id to lose.
50570 Added static probe "map_start".
50571 (open_verify): Pass namespace id to lose.
50572 * elf/dl-open.c: Include <stap-probe.h>.
50573 (dl_open_worker) Added static probes "map_complete", "reloc_start"
50574 and "reloc_complete".
50575 * elf/dl-close.c: Include <stap-probe.h>.
50576 (_dl_close_worker): Added static probes "unmap_start" and
50577 "unmap_complete".
50578 * elf/rtld-debugger-interface.txt: New file documenting the above.
50579
50580 2012-07-26 Roland McGrath <roland@hack.frob.com>
50581
50582 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
50583 rather than a string variable.
50584 * sunrpc/rpc_main.c (h_output): Likewise.
50585 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
50586
50587 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
50588
50589 * inet/check_native.c: New file.
50590
50591 2012-07-26 Joseph Myers <joseph@codesourcery.com>
50592
50593 [BZ #13629]
50594 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
50595 if larger part has absolute value 1.0.
50596 * math/s_clog10.c (__clog10): Likewise.
50597 * math/s_clog10f.c (__clog10f): Likewise.
50598 * math/s_clog10l.c (__clog10l): Likewise.
50599 * math/s_clogf.c (__clogf): Likewise.
50600 * math/s_clogl.c (__clogl): Likewise.
50601 * math/libm-test.inc (clog_test): Add more tests.
50602 (clog10_test): Likewise.
50603 * sysdeps/i386/fpu/libm-test-ulps: Update.
50604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50605
50606 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
50607 (pltexit): Likewise.
50608 (La_regs): Likewise.
50609 (La_retval): Likewise.
50610 (int_retval): Likewise.
50611 Update #error for removed macros to refer only to definitions in
50612 tst-audit.h.
50613 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
50614 macro.
50615 (pltexit): Likewise.
50616 (La_regs): Likewise.
50617 (La_retval): Likewise.
50618 (int_retval): Likewise.
50619 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
50620 macro.
50621 (pltexit): Likewise.
50622 (La_regs): Likewise.
50623 (La_retval): Likewise.
50624 (int_retval): Likewise.
50625 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
50626 macro.
50627 (pltexit): Likewise.
50628 (La_regs): Likewise.
50629 (La_retval): Likewise.
50630 (int_retval): Likewise.
50631 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
50632 macro.
50633 (pltexit): Likewise.
50634 (La_regs): Likewise.
50635 (La_retval): Likewise.
50636 (int_retval): Likewise.
50637 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
50638 macro.
50639 (pltexit): Likewise.
50640 (La_regs): Likewise.
50641 (La_retval): Likewise.
50642 (int_retval): Likewise.
50643 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
50644 macro.
50645 (pltexit): Likewise.
50646 (La_regs): Likewise.
50647 (La_retval): Likewise.
50648 (int_retval): Likewise.
50649 * sysdeps/generic/tst-audit.h: Update comment to refer only to
50650 macro definitions in tst-audit.h.
50651 * sysdeps/i386/tst-audit.h: New file.
50652 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
50653 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
50654 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
50655 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
50656 * sysdeps/sh/tst-audit.h: Likewise.
50657 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
50658 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
50659 * sysdeps/x86_64/tst-audit.h: Likewise.
50660
50661 2012-07-26 Andreas Jaeger <aj@suse.de>
50662
50663 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
50664 ptrace.
50665
50666 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
50667 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
50668 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
50669 PTRACE_O_MASK.
50670 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
50671 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
50672 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
50673
50674 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
50675 value.
50676
50677 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
50678 _sigsys.
50679 (si_call_addr, si_syscall, si_arch): Define new macro.
50680 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
50681 _sigsys.
50682 (si_call_addr, si_syscall, si_arch): Define new marcro.
50683 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
50684 _sigsys.
50685 (si_call_addr, si_syscall, si_arch): Define new macro.
50686 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
50687 _sigsys.
50688 (si_call_addr, si_syscall, si_arch): Define new macro.
50689
50690 2012-07-25 Joseph Myers <joseph@codesourcery.com>
50691
50692 [BZ #13717]
50693 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
50694 Change to 2.4.21 where previously 2.4.1.
50695 * sysdeps/unix/sysv/linux/configure: Regenerated.
50696 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
50697 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
50698 Linux kernel version.
50699 (__ASSUME_STD_AUXV): Remove.
50700 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
50701 kernel version.
50702 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
50703 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
50704 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
50705 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
50706 (__ASSUME_NETLINK_SUPPORT): Likewise.
50707 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
50708 (__no_netlink_support): Remove conditional definition.
50709 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
50710 Remove.
50711 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
50712 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
50713 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
50714 (if_nameindex_ioctl): Remove.
50715 (if_nameindex_netlink): Do not handle __no_netlink_support.
50716 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
50717 code.
50718 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
50719 Remove conditional code.
50720 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
50721 code.
50722 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
50723 unconditional.
50724 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
50725 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
50726 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
50727 Remove.
50728 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
50729 [!__ASSUME_STD_AUXV]: Remove conditional code.
50730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
50731 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
50732 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
50733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
50734 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
50735 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
50736 code.
50737 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
50738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50739 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
50740 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
50741 conditional code.
50742 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
50743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
50744 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
50745 code.
50746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50747 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
50748 conditional code.
50749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
50750 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
50751 code unconditional.
50752 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
50753 conditional code.
50754 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
50755 unconditional.
50756 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
50757 conditional code.
50758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50759 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
50760 unconditional.
50761 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
50762 conditional code.
50763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
50764 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
50765 code unconditional.
50766 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
50767 conditional code.
50768 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
50769 unconditional.
50770 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
50771 conditional code.
50772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
50773 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
50774 code unconditional.
50775 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
50776 conditional code.
50777 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
50778 unconditional.
50779 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
50780 conditional code.
50781
50782 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
50783
50784 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
50785 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
50786 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
50787 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
50788 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
50789 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
50790 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
50791 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
50792 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
50793 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
50794 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
50795 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
50796 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
50797 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
50798 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
50799 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
50800 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
50801 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
50802 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
50803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
50804 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
50805 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
50806 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50807
50808 2012-07-25 Florian Weimer <fweimer@redhat.com>
50809
50810 * Versions.def: Add GLIBC_2.17.
50811 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
50812 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
50813 Introduce __libc_secure_getenv.
50814 * stdlib/Versions (2.17): Add secure_getenv
50815 (GLIBC_PRIVATE): Add __libc_secure_getenv.
50816 * stdlib/secure-getenv.c: Rename __secure_getenv to
50817 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
50818 symbol __secure_getenv for GLIBC_2.0.
50819 * stdlib/tst-secure-getenv.c: New.
50820 * stdlib/Makefile (tests): Add testcase.
50821 * manual/startup.texi (Environment Access): Document
50822 secure_getenv.
50823 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
50824 __libc_secure_getenv.
50825 * inet/ruserpass.c (ruserpass): Likewise.
50826 * malloc/mtrace.c (mtrace): Likewise.
50827 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
50828 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
50829 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
50830 * sysdeps/posix/tempname.c: Likewise. Evaluate
50831 HAVE_SECURE_GETENV.
50832 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
50833 __secure_getenv to __libc_secure_getenv.
50834 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
50835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50836 Likewise.
50837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50838 Likewise.
50839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
50840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
50841 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
50843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
50844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
50846
50847 2012-07-25 Joseph Myers <joseph@codesourcery.com>
50848
50849 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
50850 (struct La_i86_retval): Likewise.
50851 (struct La_x86_64_regs): Likewise.
50852 (struct La_x86_64_retval): Likewise.
50853 (struct La_x32_regs): Likewise.
50854 (struct La_x32_retval): Likewise.
50855 (struct La_ppc32_regs): Likewise.
50856 (struct La_ppc32_retval): Likewise.
50857 (struct La_ppc64_regs): Likewise.
50858 (struct La_ppc64_retval): Likewise.
50859 (struct La_sh_regs): Likewise.
50860 (struct La_sh_retval): Likewise.
50861 (struct La_s390_32_regs): Likewise.
50862 (struct La_s390_32_retval): Likewise.
50863 (struct La_s390_64_regs): Likewise.
50864 (struct La_s390_64_retval): Likewise.
50865 (struct La_sparc32_regs): Likewise.
50866 (struct La_sparc32_retval): Likewise.
50867 (struct La_sparc64_regs): Likewise.
50868 (struct La_sparc64_retval): Likewise.
50869 (struct audit_ifaces): Remove architecture-specific pltenter and
50870 pltexit members.
50871 * sysdeps/i386/ldsodefs.h: New file.
50872 * sysdeps/powerpc/ldsodefs.h: Likewise.
50873 * sysdeps/s390/ldsodefs.h: Likewise.
50874 * sysdeps/sh/ldsodefs.h: Likewise.
50875 * sysdeps/sparc/ldsodefs.h: Likewise.
50876 * sysdeps/x86_64/ldsodefs.h: Likewise.
50877
50878 2012-07-25 Marek Polacek <polacek@redhat.com>
50879
50880 [BZ #6808]
50881 * math/libm-test.inc (yn_test): Add another test.
50882 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
50883 to ERANGE when the result is +-Inf.
50884 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
50885 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
50886 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
50887 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
50888
50889 2012-07-24 Joseph Myers <joseph@codesourcery.com>
50890
50891 * conform/data/time.h-data (NULL): Use macro-constant. Require
50892 equal to 0.
50893 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
50894 clock_t.
50895 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
50896
50897 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
50898
50899 * configure.in <sysdeps resolving>: Correct printing
50900 Implies_before.
50901 * configure: Regenerate.
50902
50903 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
50904
50905 * math/w_ilogb.c: Include <limits.h>.
50906 * math/w_ilogbl.c: Likewise.
50907
50908 2012-07-20 Joseph Myers <joseph@codesourcery.com>
50909
50910 * manual/lang.texi (__va_copy): Document primarily as ISO C99
50911 va_copy. Document allowing for unavailable va_copy only as
50912 pre-C99 compatibility.
50913 * manual/string.texi (Copying and Concatenation): Use va_copy
50914 instead of __va_copy in concat example.
50915
50916 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
50917
50918 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
50919 (__sendto): Use create_address_port. Initialize APORT and deallocate
50920 it if not null.
50921
50922 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
50923 with O_NOLINK passed to __file_name_lookup.
50924
50925 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
50926 with O_NOLINK passed to __file_name_lookup.
50927
50928 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
50929 negative N or less than NGIDS.
50930
50931 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
50932 type to string_t. Set ERANGE as errno and return it if NAME is not big
50933 enough. Use memcpy instead of strncpy.
50934
50935 2012-07-20 Joseph Myers <joseph@codesourcery.com>
50936
50937 * elf/Makefile (check-data): Remove.
50938 (localplt.data): New vpath directive.
50939 ($(objpfx)check-localplt.out): Use localplt.data from vpath
50940 instead of $(check-data).
50941 * scripts/data/localplt-generic.data: Move to ...
50942 * sysdeps/generic/localplt.data: ... here.
50943 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
50944 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
50945 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
50946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
50947 ... here.
50948 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
50949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
50950 ... here.
50951 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
50952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
50953 ... here.
50954 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
50955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
50956 ... here.
50957 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
50958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
50959 ... here.
50960 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
50961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
50962 ... here.
50963
50964 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50965
50966 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
50967 PPC32 and PPC64 files.
50968 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
50969 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
50970
50971 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50972
50973 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
50974 __makecontext_ret to ...
50975 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
50976 ... here and call exit if uc_link is NULL. New file.
50977 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
50978 __makecontext_ret.S.
50979 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
50980 __makecontext_ret to ...
50981 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
50982 ... here and call exit if uc_link is NULL. New file.
50983 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
50984 __makecontext_ret.S.
50985
50986 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50987
50988 * elf/elf.h (R_390_IRELATIVE): New definition.
50989 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
50990 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
50991 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
50992 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50993 (elf_machine_lazy_rel): Likewise.
50994 * sysdeps/s390/dl-irel.h: New file.
50995 * sysdeps/s390/s390-64/memcpy.S: New asm code.
50996 * sysdeps/s390/s390-64/memset.S: New asm code.
50997 * sysdeps/s390/s390-64/memcmp.S: New asm code.
50998 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
50999 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
51000 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
51001 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
51002 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
51003 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
51004 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
51005 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
51006 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
51007 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
51008 * sysdeps/s390/s390-32/memcpy.S: New asm code.
51009 * sysdeps/s390/s390-32/memset.S: New asm code.
51010 * sysdeps/s390/s390-32/memcmp.S: New asm code.
51011
51012 2012-07-17 Marek Polacek <polacek@redhat.com>
51013
51014 [BZ #14349]
51015 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
51016 * sysdeps/s390/s390-64/configure.in: Likewise.
51017 * sysdeps/sparc/configure.in: Likewise.
51018 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
51019 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
51020 * sysdeps/i386/configure.in: Likewise.
51021 * sysdeps/x86_64/configure.in: Likewise.
51022 * sysdeps/sh/configure.in: Likewise.
51023 * sysdeps/s390/s390-32/configure: Regenerated.
51024 * sysdeps/s390/s390-64/configure: Likewise.
51025 * sysdeps/x86_64/configure: Likewise.
51026 * sysdeps/sh/configure: Likewise.
51027 * sysdeps/powerpc/powerpc64/configure: Likewise.
51028 * sysdeps/powerpc/powerpc32/configure: Likewise.
51029 * sysdeps/sparc/configure: Likwise.
51030 * sysdeps/i386/configure: Likewise.
51031
51032 * elf/dl-open.c: Comment fixes.
51033
51034 2012-07-17 Joseph Myers <joseph@codesourcery.com>
51035
51036 * Makefile [CXX] (check-data): Remove.
51037 [CXX] (c++-types.data): New vpath directive.
51038 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
51039 vpath. Do not allow for C++ type data being missing.
51040 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
51041 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
51042 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
51043 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
51044 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
51045 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
51046 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
51047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
51048 ... here.
51049 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
51050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
51051 ... here.
51052 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
51053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
51054 ... here.
51055 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
51056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
51057 ... here.
51058 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
51059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
51060 ... here.
51061 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
51062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
51063 ... here.
51064 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
51065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
51066 ... here.
51067 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
51068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
51069
51070 * elf/tls-macros.h (TLS_LE): Move architecture-specific
51071 definitions to architecture-specific files.
51072 (TLS_IE): Likewise.
51073 (TLS_LD): Likewise.
51074 (TLS_GD): Likewise.
51075 * sysdeps/i386/tls-macros.h: New file.
51076 * sysdeps/powerpc/tls-macros.h: Likewise.
51077 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
51078 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
51079 * sysdeps/sh/tls-macros.h: Likewise.
51080 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
51081 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
51082 * sysdeps/x86_64/tls-macros.h: Likewise.
51083
51084 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
51085
51086 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
51087 zero value for regular exit case.
51088
51089 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
51090 (__start_context): Preserve zero value for regular exit case.
51091
51092 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
51093 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51094
51095 * manual/setjmp.texi (setcontext): Clarify normal process
51096 termination when uc_link is the null pointer.
51097 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
51098 exit call.
51099
51100 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
51101
51102 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
51103 preprocessor. Test for each exception mask separately.
51104
51105 2012-07-16 Andreas Jaeger <aj@suse.de>
51106
51107 * po/ru.po: Update from translation team.
51108
51109 2012-07-15 Joseph Myers <joseph@codesourcery.com>
51110
51111 * conform/data/string.h-data (NULL): Use macro-constant. Require
51112 equal to 0.
51113 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
51114 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
51115 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
51116 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
51117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51118
51119 2012-07-13 Andreas Jaeger <aj@suse.de>
51120
51121 * po/fr.po: Update from translation team.
51122
51123 2012-07-12 Marek Polacek <polacek@redhat.com>
51124
51125 [BZ #14173]
51126 * math/libm-test.inc (yn_test): Add test for BZ #14173.
51127 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
51128 loop condition.
51129
51130 2012-07-12 Joseph Myers <joseph@codesourcery.com>
51131
51132 [BZ #13717]
51133 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51134 Change to 2.4.1 where previously 2.4.0.
51135 * sysdeps/unix/sysv/linux/configure: Regenerated.
51136 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
51137 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
51138 version.
51139 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
51140 (__ASSUME_AT_CLKTCK): Remove.
51141 (__ASSUME_AT_PAGESIZE): Likewise.
51142 (__ASSUME_AT_XID): Likewise.
51143 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
51144 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
51145 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
51146 unconditionally.
51147 (HAVE_AUX_PAGESIZE): Likewise.
51148 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
51149 [__ASSUME_AT_CLKTCK]: Make code unconditional.
51150 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
51151
51152 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
51153
51154 [BZ #14307]
51155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
51156 the temporary buffer used to invoke __gethostbyname2_r,
51157 __gethostbyaddr_r and gethostbyname4_r to make room for struct
51158 host_data / struct gaih_addrtuple.
51159 * resolv/nss_dns/dns-host.c (global scope): Move definition of
51160 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
51161 header file nss/nsswitch.h.
51162 * nss/nsswitch.h (global scope): Add definition of implementation
51163 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
51164 resolv/nss_dns/dns-host.c).
51165
51166 2012-07-11 Andreas Jaeger <aj@suse.de>
51167
51168 * po/fr.po: Update from translation team.
51169
51170 * po/sv.po: Update from translation team
51171 * po/fr.po: Another update from translation team.
51172
51173 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51174
51175 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
51176 for subnormals or multiply small sinh result by itself.
51177 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51179
51180 2012-07-11 David S. Miller <davem@davemloft.net>
51181
51182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51183
51184 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
51185
51186 [BZ #14347]
51187 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
51188 (INTERNAL_MARK): Shift it here.
51189
51190 2012-07-10 Marek Polacek <polacek@redhat.com>
51191
51192 [BZ #14151]
51193 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
51194 libc_cv_asm_global_directive with .globl.
51195 * configure: Regenerated.
51196 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
51197 with .globl.
51198 * sysdeps/i386/configure: Regenerated.
51199 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
51200 with .globl.
51201 * sysdeps/x86_64/configure: Regenerated.
51202 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
51203 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
51204 * elf/tst-unique2mod2.c: Likewise.
51205 * elf/tst-unique2mod1.c: Likewise.
51206 * elf/tst-unique1mod2.c: Likewise.
51207 * elf/tst-unique1mod1.c: Likewise.
51208 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51209 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
51210 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51211 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51212 * sysdeps/mach/sysdep.h: Likewise.
51213 * sysdeps/i386/sysdep.h: Likewise.
51214 * sysdeps/i386/i386-mcount.S: Likewise.
51215 * sysdeps/x86_64/_mcount.S: Likewise.
51216 * sysdeps/x86_64/sysdep.h: Likewise.
51217 * sysdeps/sh/_mcount.S: Likewise.
51218 * sysdeps/sh/sysdep.h: Likewise.
51219 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
51220 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
51221 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
51222 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51223 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
51224 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
51225 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
51226 * locale/localeinfo.h: Likewise.
51227 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
51228 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
51229
51230 2012-07-09 Roland McGrath <roland@hack.frob.com>
51231
51232 [BZ #14336]
51233 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
51234 system".
51235 * manual/message.texi (The Uniforum approach): Likewise.
51236 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
51237 (glibc iconv Implementation): Likewise.
51238
51239 2012-07-09 Joseph Myers <joseph@codesourcery.com>
51240
51241 [BZ #14337]
51242 * math/s_clog.c (__clog): Avoid scaling a value down where that
51243 could result in underflow.
51244 * math/s_clog10.c (__clog10): Likewise.
51245 * math/s_clog10f.c (__clog10f): Likewise.
51246 * math/s_clog10l.c (__clog10l): Likewise.
51247 * math/s_clogf.c (__clogf): Likewise.
51248 * math/s_clogl.c (__clogl): Likewise.
51249 * math/libm-test.inc (clog_test): Add more tests.
51250 (clog10_test): Likewise.
51251 * sysdeps/i386/fpu/libm-test-ulps: Update.
51252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51253
51254 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
51255
51256 [BZ #14283]
51257 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
51258 by 7 not 8 to examine high bit of fractional part.
51259
51260 [BZ #14042]
51261 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
51262 for call to __mcount_internal.
51263 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
51264 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
51265 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
51266
51267 2012-07-06 Joseph Myers <joseph@codesourcery.com>
51268
51269 [BZ #14154]
51270 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
51271 approximation for values within 0x1p-13f of an odd multiple of
51272 pi/4.
51273 * math/libm-test.inc (tan_test): Do not allow spurious underflow
51274 exception. Add more tests.
51275 * sysdeps/i386/fpu/libm-test-ulps: Update.
51276
51277 [BZ #6778]
51278 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
51279 inputs and return -1 for them. Do not check for +Inf in case not
51280 reachable for +Inf.
51281 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
51282 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
51283 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
51284 and return -1 for them. Do not check for +Inf in case not
51285 reachable for +Inf.
51286 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
51287 define.
51288 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
51289 and return -1 for them. Do not check for +Inf in case not
51290 reachable for +Inf.
51291 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
51292 spurious underflow.
51293 * sysdeps/i386/fpu/libm-test-ulps: Update.
51294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51295
51296 2012-07-06 Mike Frysinger <vapier@gentoo.org>
51297
51298 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
51299
51300 2012-07-05 Joseph Myers <joseph@codesourcery.com>
51301
51302 [BZ #14157]
51303 [BZ #14331]
51304 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
51305 could result in spurious underflow. Scale down values above
51306 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
51307 * math/s_csqrtf.c (__csqrtf): Likewise.
51308 * math/s_csqrtl.c (__csqrtl): Likewise.
51309 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
51310 spurious underflow.
51311 * sysdeps/i386/fpu/libm-test-ulps: Update.
51312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51313
51314 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
51315
51316 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
51317 xopen-msg.sed.
51318 * catgets/xopen-msg.awk: New file.
51319 * catgets/xopen-msg.sed: Removed.
51320
51321 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
51322 po2text.sed.
51323 * intl/po2test.awk: New file.
51324 * intl/po2test.sed: Removed.
51325
51326 2012-07-04 Joseph Myers <joseph@codesourcery.com>
51327
51328 [BZ #14328]
51329 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
51330 or multiply small sinh result by itself.
51331 * math/s_ctanf.c (__ctanf): Likewise.
51332 * math/s_ctanh.c (__ctanh): Likewise.
51333 * math/s_ctanhf.c (__ctanhf): Likewise.
51334 * math/s_ctanhl.c (__ctanhl): Likewise.
51335 * math/s_ctanl.c (__ctanl): Likewise.
51336 * math/libm-test.inc (ctan_test_tonearest): New function.
51337 (ctan_test_towardzero): Likewise.
51338 (ctan_test_downward): Likewise.
51339 (ctan_test_upward): Likewise.
51340 (ctanh_test_tonearest): Likewise.
51341 (ctanh_test_towardzero): Likewise.
51342 (ctanh_test_downward): Likewise.
51343 (ctanh_test_upward): Likewise.
51344 (main): Call these new functions.
51345 * sysdeps/i386/fpu/libm-test-ulps: Update.
51346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51347
51348 2012-07-03 Mike Frysinger <vapier@gentoo.org>
51349
51350 * .gitignore: Delete /ports entry.
51351
51352 2012-07-03 Andreas Jaeger <aj@suse.de>
51353
51354 * po/bg.po: Update from translation team.
51355 * po/cs.po: Likewise.
51356 * po/de.po: Likewise.
51357 * po/hr.po: Likewise.
51358 * po/nl.pl: Likewise.
51359 * po/pl.po: Likewise.
51360 * po/vi.po: Likewise.
51361
51362 2012-07-03 Joseph Myers <joseph@codesourcery.com>
51363
51364 * Makeconfig [!+link] (+link-before-libc): New variable.
51365 [!+link] (+link-after-libc): Likewise.
51366 [!+link] (+link-tests): Likewise.
51367 [!+link] (+link): Define in terms of $(+link-before-libc) and
51368 $(+link-after-libc).
51369 [!+link-static] (+link-static-before-libc): New variable.
51370 [!+link-static] (+link-static-after-libc): Likewise.
51371 [!+link-static] (+link-static-tests): Likewise.
51372 [!+link-static] (+link-static): Define in terms of
51373 $(+link-static-before-libc) and $(+link-static-after-libc).
51374 [build-shared] (link-libc-before-gnulib): New variable.
51375 [build-shared] (link-libc-tests): Likewise.
51376 [build-shared] (link-libc): Define in terms of
51377 $(link-libc-before-gnulib).
51378 [!build-shared] (link-libc-tests): New variable.
51379 (link-libc-static-tests): New variable.
51380 [!gnulib] (gnulib-arch): New variable.
51381 [!gnulib] (gnulib-tests): Likewise.
51382 [!gnulib] (static-gnulib-arch): Likewise.
51383 [!gnulib] (static-gnulib-tests): Likewise.
51384 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
51385 Define with "=" instead of ":=".
51386 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
51387 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
51388 * Rules (binaries-all-notests): New variable.
51389 (binaries-all-tests): Likewise.
51390 (binaries-static-notests): Likewise.
51391 (binaries-static-tests): Likewise.
51392 (binaries-all): Define using $(binaries-all-notests) and
51393 $(binaries-all-tests).
51394 (binaries-static): Define using $(binaries-static-notests) and
51395 $(binaries-static-tests).
51396 (binaries-shared-tests): New variable.
51397 (binaries-shared-notests): Likewise.
51398 (binaries-shared): Remove variable.
51399 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
51400 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
51401 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
51402 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
51403 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
51404 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
51405 * elf/Makefile (sln-modules): New variable.
51406 (extra-objs): Add $(sln-modules:=.o).
51407 (ldconfig-modules): Add static-stubs.
51408 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
51409 * elf/static-stubs.c: New file.
51410
51411 [BZ #14283]
51412 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
51413 by 7 not 8 to examine high bit of fractional part. Use volatile
51414 variables when splitting into final array of floats if
51415 __FLT_EVAL_METHOD__ != 0.
51416 * math/libm-test.inc (cos_test): Add another test.
51417 (sin_test): Likewise.
51418 * sysdeps/i386/fpu/libm-test-ulps: Update.
51419
51420 [BZ #14273]
51421 * math/libm-test.inc (cosh_test): Add more tests.
51422
51423 * version.h (RELEASE): Set to "development".
51424 (VERSION): Set to "2.16.90".
51425
51426 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
51427
51428 * NEWS: Update copyright. Remove last-updated date.
51429 Mention math library bug fixes and timezone data changes.
51430 * README: Mention GNU/Hurd, x32, and HPPA support status.
51431
51432 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
51433
51434 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
51435
51436 2012-06-27 Andreas Jaeger <aj@suse.de>
51437
51438 * manual/contrib.texi (Contributors): Add Samuel Thibault.
51439
51440 2012-06-25 Andreas Jaeger <aj@suse.de>
51441
51442 * sysdeps/s390/fpu/libm-test-ulps: Update.
51443
51444 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
51445 Thomas Schwinge <thomas@codesourcery.com>
51446
51447 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
51448 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
51449 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
51450 fanotify_mark.
51451
51452 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
51453
51454 * sysdeps/mach/start.c: Remove file.
51455 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
51456 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
51457 * sysdeps/sh/init-first.c: Likewise.
51458
51459 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
51460 registers for frame unwinding purposes, add CFI directives.
51461 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
51462 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
51463 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
51464 Likewise.
51465
51466 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
51467 __fortify_fail returning.
51468 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
51469
51470 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
51471 sysdeps/sh/____longjmp_chk.S.
51472 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
51473 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
51474 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
51475 (gen-as-const-headers): Append sigaltstack-offsets.sym.
51476
51477 * sysdeps/sh/abort-instr.h: New file.
51478 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
51479 process in case exit returns.
51480
51481 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
51482 initialize the GOT register before use.
51483
51484 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
51485 calculation of ARGC > 4.
51486
51487 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
51488 meaningful names to some local labels.
51489
51490 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51491 Kaz Kojima <kkojima@rr.iij4u.or.jp>
51492
51493 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
51494 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
51495 (__arch_compare_and_exchange_val_16_acq): Likewise.
51496 (__arch_compare_and_exchange_val_32_acq): Likewise.
51497 (atomic_exchange_and_add): Fix gUSA sequence.
51498 (atomic_add): Likewise.
51499 (atomic_add_negative): Likewise.
51500 (atomic_add_zero): Likewise.
51501 (atomic_bit_test_set): Likewise.
51502
51503 2012-06-22 Andreas Schwab <schwab@redhat.com>
51504
51505 [BZ #13579]
51506 * include/link.h (struct link_map): Add l_free_initfini.
51507 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
51508 l_initfini.
51509 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
51510 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
51511 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
51512 set.
51513
51514 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
51515
51516 * configure.in: Use AC_LANG_SOURCE.
51517 * configure: Regenerate.
51518
51519 2012-06-22 Roland McGrath <roland@hack.frob.com>
51520
51521 * configure.in (libc_cv_localstatedir): New substituted variable.
51522 * configure: Regenerated.
51523 * config.make.in (localstatedir): New variable, substituted from
51524 libc_cv_localstatedir.
51525 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
51526 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
51527 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
51528 * sysdeps/gnu/configure: Regenerated.
51529
51530 2012-06-21 Jeff Law <law@redhat.com>
51531
51532 [BZ #14277]
51533 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
51534 free. Simplify list management for _LIBC case.
51535
51536 2012-06-21 Joseph Myers <joseph@codesourcery.com>
51537
51538 [BZ #14273]
51539 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
51540 Clear sign bit of 64-bit integer value before comparing against
51541 overflow value.
51542
51543 * sysdeps/mach/configure: Regenerated.
51544
51545 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
51546
51547 [BZ #14278]
51548 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
51549
51550 2012-06-21 Jeff Law <law@redhat.com>
51551
51552 [BZ #13882]
51553 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
51554 uint16_t for elements in the "seen" array to avoid char overflows.
51555 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51556 * elf/dl-open.c (dl_open_worker): Likewise.
51557
51558 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
51559
51560 * scripts/list-sources.sh: Scan PORTS for translations.
51561 * po/libc.pot: Regenerated.
51562
51563 2012-06-21 Andreas Jaeger <aj@suse.de>
51564
51565 [BZ #12194]
51566 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
51567 warning.
51568 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
51569 * bits/byteswap-16.h (__bswap_16): Likewise.
51570 * bits/byteswap.h (__bswap_constant_16): Likewise.
51571
51572 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
51573
51574 [BZ #14117]
51575 * sysdeps/i386/fpu_control.h: Removed.
51576 * sysdeps/x86_64/fpu_control.h: Moved to ...
51577 * sysdeps/x86/fpu_control.h: Here.
51578
51579 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
51580 (_FPU_SETCW): Likewise.
51581
51582 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
51583
51584 [BZ #14117]
51585 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
51586 * sysdeps/x86/fpu/bits/mathinline.h: This.
51587 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
51588
51589 [BZ #14050]
51590 [BZ #14117]
51591 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
51592 functions if __x86_64__ is defined.
51593
51594 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
51595
51596 * string/endian.h: Add !__ASSEMBLER__ condition for including
51597 conversion interfaces.
51598
51599 2012-06-15 Joseph Myers <joseph@codesourcery.com>
51600
51601 [BZ #14241]
51602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
51603 of ABS(x) in calculating zero to negative powers other than odd
51604 integers.
51605 * math/libm-test.inc (pow_test): Add more tests.
51606
51607 2012-06-15 Andreas Jaeger <aj@suse.de>
51608
51609 * manual/contrib.texi (Contributors): Update entry of Liubov
51610 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
51611 Machado Filho.
51612
51613 2012-06-15 Cyril Hrubis <metan@ucw.cz>
51614
51615 * string/string.h: Add __wur to GNU version of strerror_r.
51616
51617 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
51618
51619 [BZ #14229]
51620 * string/Makefile (tests): Add tst-strtok_r.
51621 * string/tst-strtok_r.c: New file.
51622 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
51623 RAX_LP/RDX_LP on SAVE_PTR.
51624
51625 2012-06-14 Roland McGrath <roland@hack.frob.com>
51626
51627 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
51628
51629 2012-06-14 Joseph Myers <joseph@codesourcery.com>
51630
51631 * libm_test.inc (csqrt_test): Allow more spurious underflow
51632 exceptions.
51633 (j0_test): Likewise.
51634 (j1_test): Likewise.
51635 (y0_test): Likewise.
51636 (y1_test): Likewise.
51637
51638 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
51639
51640 * po/Makefile (libc.pot): Use UTF-8 charset.
51641
51642 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
51643
51644 [BZ #14210]
51645 Suppress sign-conversion warning from FD_SET.
51646 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
51647 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
51648 not unsigned long int.
51649 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
51650
51651 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
51652
51653 [BZ #14050]
51654 [BZ #14117]
51655 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
51656 __extern_always_inline instead of __extern_inline.
51657 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
51658 (__signbit): Likewise.
51659 (__signbitl): Support C++ namespace.
51660 (lrintf): New inline function.
51661 (lrint): Likewise.
51662 (llrintf): Likewise.
51663 (llrint): Likewise.
51664 (fmaxf): Likewise.
51665 (fmax): Likewise.
51666 (fminf): Likewise.
51667 (fmin): Likewise.
51668 (rint): Likewise.
51669 (rintf): Likewise.
51670 (ceil): Likewise.
51671 (ceilf): Likewise.
51672 (floor): Likewise.
51673 (floorf): Likewise.
51674 (nearbyint): Likewise.
51675 (nearbyintf): Likewise.
51676
51677 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
51678
51679 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
51680 non-default versions.
51681
51682 2012-06-11 Roland McGrath <roland@hack.frob.com>
51683
51684 [BZ #14218]
51685 * manual/argp.texi (Argp): Reword argp_parse description slightly.
51686
51687 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
51688
51689 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
51690 (FE_UPWARD, FE_DOWNWARD): Don't define.
51691 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
51692 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
51693
51694 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
51695 reading it.
51696 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
51697 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51698
51699 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
51700
51701 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51702 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
51703 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
51704 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
51705
51706 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
51707
51708 [BZ #14117]
51709 * sysdeps/i386/fpu/bits/fenv.h: Removed.
51710 * sysdeps/i386/fpu/Implies: New file.
51711 * sysdeps/x86_64/fpu/Implies: Likewise.
51712 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
51713 * sysdeps/x86/fpu/bits/fenv.h: This.
51714
51715 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
51716 __SSE_MATH__.
51717
51718 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
51719
51720 [BZ #14134]
51721 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
51722 character 0xffff that matches the last element of the
51723 conversion table.
51724
51725 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51726
51727 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
51728 fmodl commit.
51729
51730 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51731
51732 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
51733 values higher than 25.6283.
51734
51735 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51736
51737 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
51738 subnormal exponent extraction and add some __builtin_expect.
51739 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
51740 Fix for subnormal mantissa calculation.
51741
51742 2012-06-04 Mike Frysinger <vapier@gentoo.org>
51743
51744 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
51745 cpu2 is -1 and errno is not ENOSYS.
51746
51747 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
51748
51749 [BZ #14117]
51750 * sysdeps/i386/i486/bits/string.h: Renamed to ...
51751 * sysdeps/x86/bits/string.h: This.
51752 * sysdeps/x86_64/bits/string.h: Removed.
51753
51754 * sysdeps/i386/i486/bits/string.h: Define inline functions only
51755 if not compiling for x86-64, but compiling for >= i486.
51756
51757 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
51758 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
51759
51760 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
51761 New macro from Linux kernel 3.4.0.
51762 (FP_XSTATE_MAGIC2): Likewise.
51763 (FP_XSTATE_MAGIC2_SIZE): Likewise.
51764 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
51765 (struct _fpx_sw_bytes): New struct.
51766 (struct _xsave_hdr): Likewise.
51767 (struct _ymmh_state): Likewise.
51768 (struct _xstate): Likewise.
51769
51770 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
51771 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
51772 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
51773 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
51774 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
51775 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
51776
51777 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
51778 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
51779 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
51780 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
51781 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
51782 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
51783
51784 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51785
51786 [BZ #13743]
51787 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
51788 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
51789 (sysdep_headers): Include sys/platform/ppc.h.
51790 * sysdeps/powerpc/test-gettimebase.c: Test for
51791 __ppc_get_timebase() to catch future ISA opcode/insn changes.
51792 * manual/Makefile (appendices): Include platform.texi.
51793 * manual/contrib.texi (Contributors): Update @node pointers.
51794 * manual/maint.texi (Maintenance): Likewise.
51795 (Platform): New node.
51796 * manual/platform.texi: New file. Document the new features.
51797
51798 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
51799 Jakub Jelinek <jakub@redhat.com>
51800
51801 [BZ #14188]
51802 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
51803 where __builtin_expect is unavailable.
51804
51805 2012-06-03 David S. Miller <davem@davemloft.net>
51806
51807 * stdlib/longlong.h: Updated from GCC.
51808
51809 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
51810
51811 [BZ #14042]
51812 * sysdeps/powerpc/powerpc32/mcount.c: New file.
51813 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
51814 __mcount_internal.
51815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
51816 (GLIBC_2.16): Likewise.
51817
51818 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
51819
51820 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
51821
51822 2012-06-01 Joseph Myers <joseph@codesourcery.com>
51823
51824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
51825 (default-abi): New variable.
51826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
51827 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
51828 variable.
51829 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
51830 Likewise.
51831 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
51832 Likewise.
51833 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
51834 Likewise.
51835
51836 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
51837 definition. Document in comment.
51838
51839 2012-06-01 David S. Miller <davem@davemloft.net>
51840
51841 * stdlib/longlong.h: Updated from GCC.
51842
51843 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
51844
51845 [BZ #14117]
51846 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
51847 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
51848 sys/debugreg.h sys/io.h here.
51849 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
51850 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
51851 sys/io.h.
51852 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
51853 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
51854 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
51855 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
51856 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
51857 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
51858
51859 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
51860 Define only if __x86_64__ is defined.
51861
51862 2012-06-01 Joseph Myers <joseph@codesourcery.com>
51863
51864 [BZ #14048]
51865 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
51866 Use int64_t for variable i.
51867 * math/libm-test.inc (fmod_test): Add more tests.
51868
51869 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
51870 z computation is not scheduled after fetestexcept.
51871 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
51872 Use math_force_eval instead of asm to ensure calculation scheduled
51873 before exception test.
51874 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
51875 Ensure a1 + u.d computation is not scheduled after fetestexcept.
51876
51877 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
51878
51879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
51880 computation is not scheduled after fetestexcept.
51881
51882 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
51883
51884 [BZ #14117]
51885 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
51886 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
51887
51888 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51889
51890 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
51891 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51892
51893 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
51894
51895 [BZ #14117]
51896 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
51897 <bits/wordsize.h>.
51898 (__WCHAR_MIN): Support __WORDSIZE == 64.
51899 (__WCHAR_MAX): Likewise.
51900
51901 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
51902 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
51903
51904 [BZ #14183]
51905 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
51906 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
51907
51908 [BZ #14117]
51909 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
51910 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
51911
51912 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
51913 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
51914
51915 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
51916 Defined to 1 if __x86_64__ isn't defined.
51917 (_STAT_VER_LINUX_OLD): New.
51918 (st_atime): Remove duplicate.
51919 (st_mtime): Likewise.
51920 (st_ctime): Likewise.
51921
51922 2012-05-31 David S. Miller <davem@davemloft.net>
51923
51924 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
51925 entries.
51926
51927 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
51928
51929 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
51930 gen-libm-test.pl.
51931
51932 [BZ #14132]
51933 * elf/dl-reloc.c: Include <_itoa.h>.
51934 (_dl_reloc_bad_type): Remove use of INTUSE.
51935 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
51936 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
51937 * stdio-common/psiginfo.c (psiginfo): Likewise.
51938 * stdio-common/psignal.c (psignal): Likewise.
51939 * string/strsignal.c (strsignal): Likewise.
51940 * include/signal.h (_sys_siglist): Declare hidden proto.
51941 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
51942 INTVARDEF with libc_hidden_data_def.
51943 * stdio-common/itoa-udigits.c: Likewise.
51944 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
51945 (_itoa_lower_digits_internal): Remove declaration.
51946 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
51947 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
51948 (_sys_sigabbrev_internal): Remove aliases.
51949 (_sys_siglist): Define hidden alias.
51950
51951 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
51952
51953 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51954 bits/sysctl.h.
51955
51956 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
51957
51958 [BZ #14117]
51959 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
51960 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
51961
51962 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
51963 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
51964 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
51965 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
51966 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
51967 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
51968
51969 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
51970 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
51971 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
51972
51973 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
51974 with __addr.
51975 (insw): Likewise.
51976 (insl): Likewise.
51977 (outsb): Likewise.
51978 (outsw): Likewise.
51979 (outsl): Likewise.
51980
51981 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
51982 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
51983 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
51984
51985 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
51986 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
51987 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
51988 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
51989 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
51990 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
51991
51992 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
51993 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
51994
51995 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
51996 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
51997
51998 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
51999 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
52000 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
52001
52002 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
52003 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
52004 to ...
52005 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
52006
52007 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
52008 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
52009 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
52010
52011 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
52012 for x86-64.
52013 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
52014
52015 2012-05-31 Joseph Myers <joseph@codesourcery.com>
52016
52017 * math/math.h (M_El): Use two more decimal places.
52018 (M_LOG2El): Likewise.
52019 (M_LOG10El): Likewise.
52020 (M_LN2l): Likewise.
52021 (M_LN10l): Likewise.
52022 (M_PIl): Likewise.
52023 (M_PI_2l): Likewise.
52024 (M_PI_4l): Likewise.
52025 (M_1_PIl): Likewise.
52026 (M_2_PIl): Likewise.
52027 (M_2_SQRTPIl): Likewise.
52028 (M_SQRT2l): Likewise.
52029 (M_SQRT1_2l): Likewise.
52030
52031 2012-05-31 David S. Miller <davem@davemloft.net>
52032
52033 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
52034 values between float registers.
52035 * sysdeps/sparc/sparc64/memset.S: Likewise.
52036 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52037
52038 2012-05-31 Mike Frysinger <vapier@gentoo.org>
52039
52040 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
52041 -D_FORTIFY_SOURCE=1.
52042 (CPPFLAGS-tst-longjmp_chk.c): Define.
52043 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
52044 (CPPFLAGS-tst-longjmp_chk2.c): Define.
52045 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
52046 CFLAGS-tst-wchar-h.c.
52047
52048 2012-05-31 Marek Polacek <polacek@redhat.com>
52049
52050 [BZ #14132]
52051 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
52052 __endmntent_internal): Remove declaration.
52053 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
52054 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
52055 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
52056
52057 2012-05-30 David S. Miller <davem@davemloft.net>
52058
52059 * sysdeps/sparc/sparc32/soft-fp/q_util.c
52060 (___Q_simulate_exceptions): Use real FP ops rather than writing
52061 into the %fsr.
52062 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
52063 Likewise.
52064
52065 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
52066
52067 [BZ #14117]
52068 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
52069 * sysdeps/x86/bits/xtitypes.h: This.
52070
52071 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
52072 * sysdeps/x86/bits/wordsize.h: This.
52073
52074 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
52075 * sysdeps/x86/bits/huge_vall.h: This.
52076
52077 * sysdeps/i386/bits/select.h: Removed.
52078 * sysdeps/x86_64/bits/select.h: Renamed to ...
52079 * sysdeps/x86/bits/select.h: This.
52080
52081 * sysdeps/i386/bits/setjmp.h: Removed.
52082 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
52083 * sysdeps/x86/bits/setjmp.h: This.
52084
52085 * sysdeps/i386/bits/mathdef.h: Removed.
52086 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
52087 * sysdeps/x86/bits/mathdef.h: This.
52088
52089 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
52090
52091 [BZ #14132]
52092 * include/sys/socket.h (__connect_internal)
52093 (__libc_sa_len_internal): Remove declaration.
52094 (__connect, __libc_sa_len): Declare hidden_proto.
52095 (SA_LEN): Remove use of INTUSE.
52096 * socket/connect.c: Add libc_hidden_def.
52097 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
52098 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
52099 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
52100 alias.
52101 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
52102 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
52103 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
52104 of adding _internal alias.
52105
52106 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
52107
52108 [BZ #14117]
52109 * sysdeps/i386/bits/link.h: Removed.
52110 * sysdeps/i386/bits/linkmap.h: Likewise.
52111 * sysdeps/x86_64/bits/link.h: Renamed to ...
52112 * sysdeps/x86/bits/link.h: This.
52113 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
52114 * sysdeps/x86/bits/linkmap.h: This.
52115
52116 * sysdeps/i386/bits/endian.h: Removed.
52117 * sysdeps/x86_64/bits/endian.h: Renamed to ...
52118 * sysdeps/x86/bits/endian.h: This.
52119
52120 * sysdeps/i386/bits/byteswap.h: Removed.
52121 * sysdeps/i386/bits/byteswap-16.h: Likewise.
52122 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
52123 * sysdeps/x86/bits/byteswap.h: This.
52124 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
52125 * sysdeps/x86/bits/byteswap-16.h: This.
52126 * sysdeps/i386/Implies: Add x86.
52127 * sysdeps/x86_64/Implies: Likewise.
52128
52129 2012-05-30 David S. Miller <davem@davemloft.net>
52130
52131 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
52132 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
52133 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
52134 (FP_TRAPPING_EXCEPTIONS): Define.
52135 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
52136 (FP_TRAPPING_EXCEPTIONS): Define.
52137 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
52138 subnormals only when inexact has been signalled or underflow
52139 exceptions are enabled.
52140 (_FP_PACK_CANONICAL): Likewise.
52141
52142 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
52143
52144 [BZ #14183]
52145 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
52146 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
52147
52148 2012-05-30 Richard Henderson <rth@twiddle.net>
52149
52150 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
52151 with #ifndef NOT_IN_libc.
52152
52153 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
52154 marked to avoid plt entry.
52155
52156 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
52157
52158 [BZ #14112]
52159 * Makeconfig (default-abi): New macro.
52160 (abi-includes): Likewise.
52161 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
52162 $(abi-$(default-abi)-lib-soname) for soname if defined.
52163 ($(common-objpfx)gnu/lib-names.stmp): Generate from
52164 abi-variants.
52165 * Makefile (installed-stubs): Likewise.
52166 * include/stubs-biarch.h: Removed.
52167 * scripts/lib-names.awk: Only handle one library at a time.
52168 * scripts/soversions.awk: Remove WORDSIZE support.
52169 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
52170 entries.
52171 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
52172 Removed.
52173 (syscall-list-default-condition): Likewise.
52174 (syscall-list-default-condition): Likewise.
52175 (syscall-list-includes): Likewise.
52176 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
52177 syscall-list-* with abi-*. Handle undefined abi-variants.
52178 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
52179 * sysdeps/unix/sysv/linux/i386/Implies: New file.
52180 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
52181 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
52182 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
52183 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
52184 Removed.
52185 (syscall-list-32-options): Likewise.
52186 (syscall-list-32-condition): Likewise.
52187 (syscall-list-64-options): Likewise.
52188 (syscall-list-64-condition): Likewise.
52189 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
52190 macro.
52191 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
52192 Renamed to ...
52193 (abi-*): This.
52194 (abi-64-ld-soname): New macro.
52195 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
52196 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
52197 Renamed to ...
52198 (abi-*): This.
52199 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
52200 * sysdeps/x86_64/x32/shlib-versions: Likewise.
52201
52202 2012-05-30 Joseph Myers <joseph@codesourcery.com>
52203
52204 * sysdeps/unix/sysv/linux/kernel-features.h
52205 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
52206 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
52207 include <kernel-features.h>.
52208 [!__NR_ftruncate64]: Remove conditional code.
52209 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52210 [__NR_ftruncate64]: Make code unconditional.
52211 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52212 * sysdeps/unix/sysv/linux/truncate64.c: Do not
52213 include <kernel-features.h>.
52214 [!__NR_ftruncate64]: Remove conditional code.
52215 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52216 [__NR_ftruncate64]: Make code unconditional.
52217 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
52219 include <kernel-features.h>.
52220 [!__NR_ftruncate64]: Remove conditional code.
52221 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52222 [__NR_ftruncate64]: Make code unconditional.
52223 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52225 include <kernel-features.h>.
52226 [!__NR_ftruncate64]: Remove conditional code.
52227 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52228 [__NR_ftruncate64]: Make code unconditional.
52229 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52230
52231 * configure.in (libc_cv_fpie): Weaken to a compile test using
52232 LIBC_TRY_CC_OPTION.
52233 * configure: Regenerated.
52234
52235 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52236
52237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
52238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
52239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
52240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52241 Refreshed.
52242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
52243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
52244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
52245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
52246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
52247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52248 Refreshed.
52249
52250 2012-05-27 David S. Miller <davem@davemloft.net>
52251
52252 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
52253 (___Q_zero): New.
52254 (__Q_simulate_exceptions): Return void. Change to simulate
52255 exceptions by writing into the %fsr.
52256 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
52257 (__Qp_handle_exceptions): Likewise.
52258 (numbers): Delete.
52259 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
52260 __Qp_handle_exceptions.
52261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
52262 __Qp_handle_exceptions.
52263 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
52264 as unused and give dummy FP_RND_NEAREST initializer.
52265 (FP_INHIBIT_RESULTS): Define.
52266 (___Q_simulate_exceptions): Update declaration.
52267 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
52268 formatting.
52269 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
52270 as unused and give dummy FP_RND_NEAREST initializer.
52271 (__Qp_handle_exceptions): Update declaration.
52272 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
52273 formatting.
52274
52275 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
52276
52277 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
52278 the temporary FPU control word.
52279 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
52280 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
52281 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
52282 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
52283 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
52284 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
52285 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
52286 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
52287 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
52288 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
52289 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52290
52291 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52292
52293 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
52294 fields.
52295
52296 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
52297
52298 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
52299 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
52300 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
52301 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
52302 Likewise.
52303 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
52304 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
52305 Likewise.
52306
52307 2012-05-27 Ulrich Drepper <drepper@gmail.com>
52308
52309 * po/h.po: Update from translation team.
52310
52311 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
52312
52313 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
52314
52315 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
52316 handling of denormals.
52317 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52318 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
52319 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52320 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52321 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
52323 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
52324 Likewise.
52325
52326 2012-05-26 Marek Polacek <polacek@redhat.com>
52327
52328 [BZ #14152]
52329 * math/libm-test.inc (fma_test): Don't always expect underflow
52330 exception.
52331
52332 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
52333
52334 [BZ #12416]
52335 * elf/tst-execstack.c: Include stackinfo.h.
52336 (do_test): Adjust test case to ensure that pthread_getattr_np
52337 behaviour remains the same after marking stack executable.
52338
52339 2012-05-25 Joseph Myers <joseph@codesourcery.com>
52340
52341 * sysdeps/unix/sysv/linux/kernel-features.h
52342 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
52343 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
52344 kernel-features.h.
52345 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
52346 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
52347 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
52348 kernel-features.h.
52349 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
52350 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
52351
52352 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
52353
52354 * configure.in: Define the default includes to being none.
52355 * configure: Regenerated.
52356
52357 2012-05-25 Roland McGrath <roland@hack.frob.com>
52358
52359 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
52360 * sysdeps/x86_64/setjmp.S: Likewise.
52361 * sysdeps/i386/bsd-setjmp.S: Likewise.
52362 * sysdeps/i386/bsd-_setjmp.S: Likewise.
52363 * sysdeps/i386/setjmp.S: Likewise.
52364 * sysdeps/i386/__longjmp.S: Likewise.
52365 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
52366 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
52367
52368 * include/stap-probe.h: New file.
52369 * configure.in: Handle --enable-systemtap.
52370 * configure: Regenerated.
52371 * config.h.in (USE_STAP_PROBE): New #undef.
52372 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
52373 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
52374 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
52375
52376 2012-05-25 Joseph Myers <joseph@codesourcery.com>
52377
52378 [BZ #13717]
52379 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52380 to 2.4.0 where earlier.
52381 * sysdeps/unix/sysv/linux/configure: Regenerated.
52382 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52383 <kernel-features.h>.
52384 [__ASSUME_32BITUIDS]: Make code unconditional.
52385 [!__ASSUME_32BITUIDS]: Remove conditional code.
52386 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
52387 <kernel-features.h>.
52388 [__ASSUME_32BITUIDS]: Make code unconditional.
52389 [!__ASSUME_32BITUIDS]: Remove conditional code.
52390 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
52391 [__ASSUME_32BITUIDS]: Make code unconditional.
52392 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
52393 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
52394 <kernel-features.h>.
52395 [__ASSUME_32BITUIDS]: Make code unconditional.
52396 [!__ASSUME_32BITUIDS]: Remove conditional code.
52397 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
52398 <kernel-features.h>.
52399 [__ASSUME_32BITUIDS]: Make code unconditional.
52400 [!__ASSUME_32BITUIDS]: Remove conditional code.
52401 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
52402 <kernel-features.h>.
52403 [__ASSUME_32BITUIDS]: Make code unconditional.
52404 [!__ASSUME_32BITUIDS]: Remove conditional code.
52405 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
52406 <kernel-features.h>.
52407 [__ASSUME_32BITUIDS]: Make code unconditional.
52408 [!__ASSUME_32BITUIDS]: Remove conditional code.
52409 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52410 <kernel-features.h>.
52411 [__ASSUME_32BITUIDS]: Make code unconditional.
52412 [!__ASSUME_32BITUIDS]: Remove conditional code.
52413 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
52434 <kernel-features.h>.
52435 [__NR_setresgid] (__setresgid): Do not declare.
52436 [__ASSUME_32BITUIDS]: Make code unconditional.
52437 [!__ASSUME_32BITUIDS]: Remove conditional code.
52438 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
52439 <kernel-features.h>.
52440 [__NR_setresuid] (__setresuid): Do not declare.
52441 [__ASSUME_32BITUIDS]: Make code unconditional.
52442 [!__ASSUME_32BITUIDS]: Remove conditional code.
52443 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
52444 <kernel-features.h>.
52445 [__ASSUME_32BITUIDS]: Make code unconditional.
52446 [!__ASSUME_32BITUIDS]: Remove conditional code.
52447 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
52448 <kernel-features.h>.
52449 [__ASSUME_32BITUIDS]: Make code unconditional.
52450 [!__ASSUME_32BITUIDS]: Remove conditional code.
52451 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
52452 <kernel-features.h>.
52453 [__ASSUME_32BITUIDS]: Make code unconditional.
52454 [!__ASSUME_32BITUIDS]: Remove conditional code.
52455 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
52456 <kernel-features.h>.
52457 [__ASSUME_32BITUIDS]: Make code unconditional.
52458 [!__ASSUME_32BITUIDS]: Remove conditional code.
52459 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
52460 <kernel-features.h>.
52461 [__ASSUME_32BITUIDS]: Make code unconditional.
52462 [!__ASSUME_32BITUIDS]: Remove conditional code.
52463 * sysdeps/unix/sysv/linux/i386/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
52484 (__ASSUME_SETRESUID_SYSCALL): Remove.
52485 (__ASSUME_SETRESGID_SYSCALL): Likewise.
52486 (__ASSUME_32BITUIDS): Likewise.
52487 (__ASSUME_LDT_WORKS): Likewise.
52488 (__ASSUME_O_DIRECTORY): Likewise.
52489 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
52490 architecture but not kernel version.
52491 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52492 (__ASSUME_MMAP2_SYSCALL): Likewise.
52493 (__ASSUME_STAT64_SYSCALL): Likewise.
52494 (__ASSUME_IPC64): Likewise.
52495 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
52496 <kernel-features.h>.
52497 [__ASSUME_32BITUIDS]: Make code unconditional.
52498 [!__ASSUME_32BITUIDS]: Remove conditional code.
52499 * sysdeps/unix/sysv/linux/opendir.c: Do not include
52500 <kernel-features.h>.
52501 [__ASSUME_O_DIRECTORY]: Make code unconditional.
52502 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
52503 132096]: Remove conditional code.
52504 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
52505 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
52506 <kernel-features.h>.
52507 [__ASSUME_32BITUIDS]: Make code unconditional.
52508 [!__ASSUME_32BITUIDS]: Remove conditional code.
52509 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
52510 <kernel-features.h>.
52511 [__ASSUME_32BITUIDS]: Make code unconditional.
52512 [!__ASSUME_32BITUIDS]: Remove conditional code.
52513 * sysdeps/unix/sysv/linux/setegid.c: Do not include
52514 <kernel-features.h>.
52515 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
52516 unconditional.
52517 (__setresgid): Do not declare.
52518 [__ASSUME_32BITUIDS]: Make code unconditional.
52519 [!__ASSUME_32BITUIDS]: Remove conditional code.
52520 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
52521 <kernel-features.h>.
52522 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
52523 unconditional.
52524 (__setresuid): Do not declare.
52525 [__ASSUME_32BITUIDS]: Make code unconditional.
52526 [!__ASSUME_32BITUIDS]: Remove conditional code.
52527 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
52528 <kernel-features.h>.
52529 [__ASSUME_32BITUIDS]: Make code unconditional.
52530 [!__ASSUME_32BITUIDS]: Remove conditional code.
52531 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
52532 <kernel-features.h>.
52533 [__ASSUME_32BITUIDS]: Make code unconditional.
52534 [!__ASSUME_32BITUIDS]: Remove conditional code.
52535
52536 2012-05-25 Richard Henderson <rth@twiddle.net>
52537
52538 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
52539 dl_hwcap to ifunc resolver.
52540 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
52541 elf_ifunc_invoke.
52542 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
52543 dl_hwcap to ifunc resolver.
52544 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
52545
52546 2012-05-24 Joseph Myers <joseph@codesourcery.com>
52547
52548 [BZ #14153]
52549 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
52550 for |x| <= 2**-26, not 2**-57.
52551 * math/libm-test.inc (acos_test): Do not allow spurious underflow
52552 exception.
52553
52554 2012-05-24 Jeff Law <law@redhat.com>
52555
52556 * stdio-common/Makefile (tests): Add bug25.
52557 * stdio-common/bug25.c: New test.
52558
52559 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
52560
52561 [BZ #13576]
52562 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
52563 multiple of MALLOC_ALIGNMENT in size.
52564 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
52565
52566 2012-05-24 Joseph Myers <joseph@codesourcery.com>
52567
52568 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
52569 Require >= 256.
52570 (FILENAME_MAX): Use macro-int-constant.
52571 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
52572 (_IOFBF): Use macro-int-constant.
52573 (_IOLBF): Likewise.
52574 (_IONBF): Likewise.
52575 (SEEK_CUR): Likewise.
52576 (SEEK_END): Likewise.
52577 (SEEK_SET): Likewise.
52578 (TMP_MAX): Likewise.
52579 (EOF): Use macro-int-constant. Require < 0.
52580 (NULL): Use macro-constant. Require == 0.
52581 (stdin): Require type to be FILE *.
52582 (stdout): Likewise.
52583 (stderr): Likewise.
52584 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
52585 macro-int-constant.
52586 (EXIT_SUCCESS): Likewise.
52587 (NULL): Use macro-constant. Require == 0.
52588 (RAND_MAX): Use macro-int-constant.
52589 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
52590 [C99-based standards] (strtof): Require function.
52591 [C99-based standards] (strtold): Likewise.
52592 [C99-based standards] (strtoll): Likewise.
52593 [C99-based standards] (strtoull): Likewise.
52594 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
52595 [ISO || ISO99 || ISO11] (limits.h): Likewise.
52596 [ISO || ISO99 || ISO11] (math.h): Likewise.
52597 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
52598 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
52599 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52600
52601 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
52602
52603 [BZ #14132]
52604 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
52605 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
52606 * intl/dgettext.c (DCGETTEXT): Likewise.
52607 * intl/gettext.c (DCGETTEXT): Likewise.
52608 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
52609 * posix/regex_internal.h (gettext): Likewise.
52610 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
52611 Remove declaration.
52612 * include/argz.h (__argz_count_internal)
52613 (__argz_stringify_internal): Remove declaration.
52614 (__argz_count, __argz_stringify): Declare hidden proto.
52615 * intl/dcgettext.c: Remove use of INTDEF.
52616 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
52617 * string/argz-stringify.c: Likewise.
52618 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
52619 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
52620 Declare hidden proto.
52621 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
52622 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
52623 Declare hidden proto.
52624 * include/stdio.h (__asprintf_internal): Don't declare.
52625 (__asprintf): Don't define as macro. Declare hidden proto.
52626 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
52627 (__fsetlocking): Declare hidden proto.
52628 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
52629 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
52630 hidden proto.
52631 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
52632 (_IO_setlinebuf): Remove use of INTUSE.
52633 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
52634 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
52635 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
52636 Remove declaration.
52637 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
52638 (_IO_do_flush): Remove use of INTUSE.
52639 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
52640 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
52641 (_IO_adjust_column, _IO_least_wmarker)
52642 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
52643 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
52644 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
52645 (_IO_default_doallocate, _IO_wdefault_doallocate)
52646 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
52647 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
52648 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
52649 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
52650 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
52651 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
52652 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
52653 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
52654 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
52655 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
52656 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
52657 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
52658 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
52659 proto.
52660 (_IO_flush_all_internal, _IO_adjust_column_internal)
52661 (_IO_default_uflow_internal, _IO_default_finish_internal)
52662 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
52663 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
52664 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
52665 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
52666 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
52667 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
52668 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
52669 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
52670 (_IO_file_close_internal, _IO_file_close_it_internal)
52671 (_IO_file_underflow_internal, _IO_file_overflow_internal)
52672 (_IO_file_init_internal, _IO_file_attach_internal)
52673 (_IO_file_fopen_internal, _IO_file_read_internal)
52674 (_IO_file_sync_internal, _IO_file_seek_internal)
52675 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
52676 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
52677 (_IO_str_underflow_internal, _IO_str_overflow_internal)
52678 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
52679 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
52680 (_IO_list_all_internal, _IO_link_in_internal)
52681 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
52682 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
52683 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
52684 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
52685 (_IO_do_write_internal, _IO_padn_internal)
52686 (_IO_getline_info_internal, _IO_getline_internal)
52687 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
52688 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
52689 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
52690 (_IO_vfscanf_internal, _IO_vfprintf_internal)
52691 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
52692 (_IO_init_internal, _IO_un_link_internal): Don't declare.
52693 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
52694 with libc_hidden_ver, remove use of INTUSE.
52695 * libio/genops.c: Likewise.
52696 * libio/freopen.c: Likewise.
52697 * libio/freopen64.c: Likewise.
52698 * libio/iofclose.c: Likewise.
52699 * libio/iofdopen.c: Likewise.
52700 * libio/iofflush.c: Likewise.
52701 * libio/iofflush_u.c: Likewise.
52702 * libio/iofgets.c: Likewise.
52703 * libio/iofgets_u.c: Likewise.
52704 * libio/iofopen.c: Likewise.
52705 * libio/iofopncook.c: Likewise.
52706 * libio/iofread.c: Likewise.
52707 * libio/iofread_u.c: Likewise.
52708 * libio/ioftell.c: Likewise.
52709 * libio/iofwrite.c: Likewise.
52710 * libio/iogetline.c: Likewise.
52711 * libio/iogets.c: Likewise.
52712 * libio/iogetwline.c: Likewise.
52713 * libio/iopadn.c: Likewise.
52714 * libio/iopopen.c: Likewise.
52715 * libio/ioseekoff.c: Likewise.
52716 * libio/ioseekpos.c: Likewise.
52717 * libio/iosetbuffer.c: Likewise.
52718 * libio/iosetvbuf.c: Likewise.
52719 * libio/ioungetc.c: Likewise.
52720 * libio/ioungetwc.c: Likewise.
52721 * libio/iovdprintf.c: Likewise.
52722 * libio/iovsprintf.c: Likewise.
52723 * libio/iovsscanf.c: Likewise.
52724 * libio/memstream.c: Likewise.
52725 * libio/obprintf.c: Likewise.
52726 * libio/oldfileops.c: Likewise.
52727 * libio/oldiofclose.c: Likewise.
52728 * libio/oldiofdopen.c: Likewise.
52729 * libio/oldiofopen.c: Likewise.
52730 * libio/oldiopopen.c: Likewise.
52731 * libio/oldstdfiles.c: Likewise.
52732 * libio/putc.c: Likewise.
52733 * libio/setbuf.c: Likewise.
52734 * libio/setlinebuf.c: Likewise.
52735 * libio/stdfiles.c: Likewise.
52736 * libio/strops.c: Likewise.
52737 * libio/vasprintf.c: Likewise.
52738 * libio/vscanf.c: Likewise.
52739 * libio/vsnprintf.c: Likewise.
52740 * libio/vswprintf.c: Likewise.
52741 * libio/wfiledoalloc.c: Likewise.
52742 * libio/wfileops.c: Likewise.
52743 * libio/wgenops.c: Likewise.
52744 * libio/wmemstream.c: Likewise.
52745 * libio/wstrops.c: Likewise.
52746 * libio/__fpurge.c: Likewise.
52747 * libio/__fsetlocking.c: Likewise.
52748 * assert/assert.c: Likewise.
52749 * debug/fgets_chk.c: Likewise.
52750 * debug/fgets_u_chk.c: Likewise.
52751 * debug/fread_chk.c: Likewise.
52752 * debug/fread_u_chk.c: Likewise.
52753 * debug/gets_chk.c: Likewise.
52754 * debug/obprintf_chk.c: Likewise.
52755 * debug/vasprintf_chk.c: Likewise.
52756 * debug/vdprintf_chk.c: Likewise.
52757 * debug/vsnprintf_chk.c: Likewise.
52758 * debug/vsprintf_chk.c: Likewise.
52759 * malloc/mtrace.c: Likewise.
52760 * misc/error.c: Likewise.
52761 * misc/syslog.c: Likewise.
52762 * stdio-common/asprintf.c: Likewise.
52763 * stdio-common/fxprintf.c: Likewise.
52764 * stdio-common/getw.c: Likewise.
52765 * stdio-common/isoc99_fscanf.c: Likewise.
52766 * stdio-common/isoc99_scanf.c: Likewise.
52767 * stdio-common/isoc99_vfscanf.c: Likewise.
52768 * stdio-common/isoc99_vscanf.c: Likewise.
52769 * stdio-common/isoc99_vsscanf.c: Likewise.
52770 * stdio-common/printf-prs.c: Likewise.
52771 * stdio-common/printf_fp.c: Likewise.
52772 * stdio-common/printf_fphex.c: Likewise.
52773 * stdio-common/printf_size.c: Likewise.
52774 * stdio-common/putw.c: Likewise.
52775 * stdio-common/scanf.c: Likewise.
52776 * stdio-common/sprintf.c: Likewise.
52777 * stdio-common/tmpfile.c: Likewise.
52778 * stdio-common/vfprintf.c: Likewise.
52779 * stdio-common/vfscanf.c: Likewise.
52780 * stdlib/strfmon_l.c: Likewise.
52781 * sunrpc/openchild.c: Likewise.
52782 * sunrpc/xdr_stdio.c: Likewise.
52783 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
52784 * sysdeps/mach/hurd/tmpfile.c: Likewise.
52785
52786 2012-05-24 Roland McGrath <roland@hack.frob.com>
52787
52788 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
52789
52790 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
52791 in the third column, to generate for the shared library an IFUNC
52792 that uses _dl_vdso_vsym.
52793 * Makerules (COMPILE.c, compile-stdin.c): New variables.
52794 * Makeconfig (object-suffixes-noshared): New variable.
52795
52796 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
52797 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
52798 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
52799 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
52800
52801 [BZ #14132]
52802 * include/sys/time.h (__gettimeofday): Remove macro.
52803 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
52804 * time/gettimeofday.c (__gettimeofday): Remove #undef.
52805 Remove INTDEF.
52806 (__gettimeofday): Add libc_hidden_def.
52807 (gettimeofday): Add libc_hidden_weak.
52808 * sysdeps/mach/gettimeofday.c: Likewise.
52809 * sysdeps/posix/gettimeofday.c: Likewise.
52810 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
52811 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
52812 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
52813 (__gettimeofday_internal): Remove strong_alias.
52814 (__gettimeofday): Add libc_hidden_def.
52815 (gettimeofday): Add libc_hidden_weak.
52816 * sysdeps/unix/syscalls.list (gettimeofday):
52817 Remove __gettimeofday_internal alias.
52818
52819 2012-05-24 Daniel Jacobowitz <drow@false.org>
52820 H.J. Lu <hongjiu.lu@intel.com>
52821
52822 [BZ #12495]
52823 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
52824 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
52825 (largebin_index_32_big): New.
52826 (largebin_index): Use it for 16-byte alignment.
52827 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
52828 correction with front_misalign.
52829
52830 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
52831
52832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
52833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
52834 Likewise.
52835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
52836 Likewise.
52837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52838 Likewise.
52839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
52840 Likewise.
52841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
52842 Likewise.
52843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
52844 Likewise.
52845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
52846 Likewise.
52847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
52848 Likewise.
52849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
52850 Likewise.
52851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
52852 Likewise.
52853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
52854 Likewise.
52855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
52856 Likewise.
52857
52858 * scripts/data/c++-types-x32-linux-gnu.data: New file.
52859 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
52860
52861 2012-05-24 Joseph Myers <joseph@codesourcery.com>
52862
52863 [BZ #10846]
52864 [BZ #14036]
52865 * math/libm-test.inc (exp_test): Add test from bug 14036.
52866 (pow_test): Add test from bug 10846.
52867
52868 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
52869 and other flags.
52870 (special_function): Do not include flags in test name.
52871 (parse_args): Likewise.
52872 * sysdeps/i386/fpu/libm-test-ulps: Update.
52873 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52874 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52875 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52877
52878 * math/gen-libm-test.pl (%beautify): Add entries for underflow
52879 exceptions.
52880 * math/libm-test.inc ("Philosophy"): Update comment about
52881 exception testing.
52882 (UNDERFLOW_EXCEPTION): New macro.
52883 (UNDERFLOW_EXCEPTION_OK): Likewise.
52884 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
52885 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
52886 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
52887 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
52888 (INVALID_EXCEPTION_OK): Update value.
52889 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52890 (OVERFLOW_EXCEPTION_OK): Likewise.
52891 (IGNORE_ZERO_INF_SIGN): Likewise.
52892 (test_exceptions): Handle underflow exceptions.
52893 (acos_test): Update for underflow exception expectations.
52894 (cexp_test): Likewise.
52895 (clog_test): Likewise.
52896 (clog10_test): Likewise.
52897 (csqrt_test): Likewise.
52898 (ctan_test): Likewise.
52899 (ctanh_test): Likewise.
52900 (exp_test): Likewise.
52901 (exp10_test): Likewise.
52902 (exp2_test): Likewise.
52903 (expm1_test): Likewise.
52904 (fma_test): Likewise.
52905 (j0_test): Likewise.
52906 (jn_test): Likewise.
52907 (nexttoward_test): Likewise.
52908 (pow_test): Likewise.
52909 (scalbn_test): Likewise.
52910 (scalbln_test): Likewise.
52911 (tan_test): Likewise.
52912 (y1_test): Likewise.
52913 * sysdeps/i386/fpu/libm-test-ulps: Update.
52914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52915
52916 2012-05-23 David S. Miller <davem@davemloft.net>
52917
52918 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52919 (__libc_sigaction): Remove unused local variables.
52920
52921 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
52922
52923 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
52924
52925 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
52926
52927 mktime: avoid signed integer overflow
52928 * time/mktime.c (__mktime_internal): Do not mishandle the case
52929 where diff == INT_MIN.
52930
52931 mktime: simplify computation of average
52932 * time/mktime.c (ranged_convert): Use new time_t_avg function
52933 instead of rolling our own (probably-slower) code.
52934
52935 mktime: do not assume signed right shift propagates sign bit
52936 * time/mktime.c (isdst_differ): New static function.
52937 (__mktime_internal): No need to normalize tm_isdst now.
52938 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
52939 tm_isdst values.
52940
52941 mktime: merge another wrapv change from gnulib
52942 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
52943 from some compilers.
52944
52945 mktime: remove incorrect attempt at unusual arithmetics
52946 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
52947 The code didn't really work on such machines anyway.
52948 (TYPE_MINIMUM): Assume two's complement.
52949 (twos_complement_arithmetic): Verify that long_int and time_t
52950 are two's complement (or unsigned, in the latter case).
52951
52952 mktime: check signed shifts on long_int and time_t, too
52953 * time/mktime.c (SHR): Check that shifts work as desired
52954 on the types long_int and time_t too, as SHR is used on
52955 such types.
52956
52957 mktime: do not assume 'long' is wide enough
52958 * time/mktime.c (verify): Move decl up.
52959 (long_int): New type.
52960 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
52961 to remove assumption in the code that 'long' is wide enough to
52962 store year values. This assumption is not true on x32 and on
52963 some non-glibc platforms.
52964
52965 mktime: merge wrapv change from gnulib
52966 * time/mktime.c (WRAPV): New macro.
52967 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
52968 (guess_time_tm, __mktime_internal): Do not assume that signed
52969 integer overflow wraps around; modern compilers generate code
52970 where this assumption is no longer valid.
52971
52972 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
52973
52974 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
52975 Replace "jmp L(pseudo_end)" with "ret".
52976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
52977 Likewise.
52978
52979 2012-05-23 Andreas Jaeger <aj@suse.de>
52980
52981 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
52982 * sysdeps/unix/sysv/linux/poll.c: Remove file.
52983
52984 2012-05-23 Andreas Jaeger <aj@suse.de>
52985 Maximilian Attems <max@stro.at>
52986
52987 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
52988 New macros.
52989
52990 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
52991
52992 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
52993 code so that pseudo_end is just ret and the stack pointer is
52994 correct also for static library in error case.
52995
52996 2012-05-23 Joseph Myers <joseph@codesourcery.com>
52997
52998 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
52999 move to syscalls.list.
53000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
53001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
53002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
53003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
53004
53005 * manual/install.texi (Running make install): Do not mention Linux
53006 kernel version for which pt_chown is not needed.
53007 (Linux): Do not mention problems with nscd with 2.0 kernels.
53008 * INSTALL: Regenerated.
53009
53010 2012-05-23 Andreas Jaeger <aj@suse.de>
53011
53012 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
53013 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
53014 macro.
53015 * sysdeps/unix/sysv/linux/s390/bits/mman.h
53016 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53017 * sysdeps/unix/sysv/linux/sh/bits/mman.h
53018 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53019 * sysdeps/unix/sysv/linux/i386/bits/mman.h
53020 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53021 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
53022 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53023 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
53024 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53025 * sysdeps/unix/sysv/linux/bits/in.h
53026 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
53027
53028 2012-05-22 Roland McGrath <roland@hack.frob.com>
53029
53030 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
53031 (PREPARE_VERSION): Just use assert instead, it will be elided
53032 under [NDEBUG] anyway.
53033
53034 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
53035
53036 * sysdeps/unix/sysv/linux/Makefile: Include
53037 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
53038 (sysdep_routines): Remove sysctl.
53039 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
53040 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
53041 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
53042 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
53043 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
53044
53045 2012-05-22 Andreas Jaeger <aj@suse.de>
53046
53047 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
53048 that pseudo_end is just ret and the stack pointer is correct also
53049 for static library in error case.
53050
53051 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
53052
53053 [BZ #14122]
53054 * nss/nsswitch.c (defconfig_entries): New variable.
53055 (__nss_database_lookup): Don't leak defconfig entries.
53056 (nss_parse_service_list): Don't leak on error paths.
53057 (free_database_entries): New function.
53058 (free_defconfig): New function.
53059 (free_mem): Move common code to free_database_entries.
53060
53061 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
53062
53063 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
53064 Add arch_prctl.
53065 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
53066
53067 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
53068 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
53069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
53070 New macro.
53071 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
53072 (INTERNAL_SYSCALL_TYPES): Likewise.
53073 (LOAD_ARGS_TYPES_[1-6]): Likewise.
53074 (LOAD_REGS_TYPES_[1-6]): Likewise.
53075 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
53076 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
53077
53078 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53079
53080 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
53081 copysignl for GLIBC_2_0.
53082 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
53083 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
53084 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
53085 logbl for GLIBC_2_0.
53086 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
53087 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
53088
53089 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
53090
53091 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
53092 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
53093
53094 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
53095 Use "neg %eax".
53096
53097 * time/mktime.c: Update copyright years.
53098
53099 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
53100
53101 mktime: merge comment-quoting-style change from gnulib
53102 * time/mktime.c: Quote 'like this' in comments.
53103 The GNU coding standards suggest that we no longer quote `like this',
53104 as "`" and "'" are typically rendered asymmetrically nowadays.
53105 The typical gnulib style is to quote 'like this' when quoting
53106 code, and "like this" when quoting English.
53107
53108 * time/mktime.c (compile-command): Add "-I.".
53109
53110 mktime: merge mktime-internal.h change from gnulib
53111 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
53112
53113 mktime: merge time_r change from gnulib
53114 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
53115
53116 mktime: merge DEBUG change from gnulib
53117 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
53118 case system <time.h> has a #define.
53119
53120 mktime: merge <sys/types.h> change from gnulib
53121 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
53122 since <time.t> is now guaranteed to define time_t.
53123
53124 mktime: merge HAVE_CONFIG_H change from gnulib
53125 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
53126
53127 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
53128
53129 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
53130 Use "neg %eax".
53131
53132 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
53133 __rlim_t cast.
53134 (struct rusage): Use anonymous union to pad each field to
53135 __syscall_slong_t.
53136
53137 2012-05-21 David S. Miller <davem@davemloft.net>
53138
53139 * Makefules (o-iterator): Remove .s cases.
53140 (compile-command.s): Delete.
53141 (COMPILE.s): Delete.
53142 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
53143
53144 2012-05-21 Joseph Myers <joseph@codesourcery.com>
53145
53146 * configure.in (libc_cv_predef_stack_protector): Only consider
53147 "foobar" and "__stack_chk_fail" lines in libc_undefs.
53148 * configure: Regenerated.
53149
53150 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
53151
53152 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
53153 New macro. Use R*LP on int and pointer.
53154 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
53155 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
53156 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
53157 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
53158
53159 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
53160 [__WORDSIZE_TIME64_COMPAT32] instead of
53161 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
53162 (struct utmp): Likewise.
53163 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
53164 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
53165 Renamed to ...
53166 (__WORDSIZE_TIME64_COMPAT32): This.
53167 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
53168 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
53169 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
53170 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
53171 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
53172 (__WORDSIZE_TIME64_COMPAT32): New macro.
53173
53174 2012-05-21 Andreas Jaeger <aj@suse.de>
53175
53176 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
53177 only if [SHARED]. Add prototype for __wcschr_ia32.
53178
53179 2012-05-21 Roland McGrath <roland@hack.frob.com>
53180
53181 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
53182 of %rbp unmolested in the jmp_buf while mangling the low bits.
53183 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
53184 unmolested high bits of %rbp while demangling the low bits.
53185 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
53186
53187 2012-05-21 Andreas Jaeger <aj@suse.de>
53188
53189 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
53190 * sunrpc/svc_simple.c: Use it for registerrpc.
53191 * sunrpc/xcrypt.c: Use it for passwd2des.
53192
53193 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
53194
53195 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
53196
53197 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
53198 Don't define if [__SYSCALL_WORDSIZE != 32].
53199 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
53200 New macro.
53201
53202 2012-05-21 Bruno Haible <bruno@clisp.org>
53203 Andreas Jaeger <aj@suse.de>
53204
53205 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
53206 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
53207 inptr and inend for must_buffer_ch.
53208 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
53209 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
53210 * stdio-common/Makefile (tests): Remove bug15.
53211 (bug15-ENV): Remove macro.
53212 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
53213 anymore.
53214
53215 2012-05-19 Andreas Jaeger <aj@suse.de>
53216 Roland McGrath <roland@hack.frob.com>
53217
53218 * manual/contrib.texi: Completely rewritten. It contains now an
53219 alphabetical list of contributors and their contributions.
53220
53221 2012-05-21 Richard Henderson <rth@twiddle.net>
53222
53223 * misc/getauxval.c (__getauxval): Use unsigned long int.
53224 * misc/sys/auxv.h: Include <sys/cdefs.h>.
53225 (getauxval): Use unsigned long int.
53226
53227 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
53228
53229 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
53230
53231 2012-05-21 Roland McGrath <roland@hack.frob.com>
53232
53233 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
53234 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
53235 __alignof__ (long double).
53236
53237 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53238
53239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53240
53241 2012-05-20 Richard Henderson <rth@twiddle.net>
53242
53243 * misc/getauxval.c: New file.
53244 * misc/sys/auxv.h: New file.
53245 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
53246 (routines): Add getauxval.
53247 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
53248 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
53249 * elf/dl-sysdep.c (_dl_auxv): Remove.
53250 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
53251 * elf/dl-support.c (_dl_auxv): New variable.
53252 (_dl_aux_init): Initialize it.
53253 * manual/startup.texi (Auxiliary Vector): New node.
53254 * sysdeps/generic/bits/hwcap.h: New file.
53255 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
53256 * sysdeps/powerpc/sysdep.h: ... here. Include it.
53257 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
53258 * sysdeps/sparc/sysdep.h: ... here. Include it.
53259 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
53260 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
53261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53262 Update.
53263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
53264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
53265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
53266 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
53267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
53268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
53269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
53270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
53271
53272 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53273
53274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53275
53276 2012-05-19 David S. Miller <davem@davemloft.net>
53277
53278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53279
53280 2012-05-19 Joseph Myers <joseph@codesourcery.com>
53281
53282 [BZ #14123]
53283 * math/s_ccosh.c: Include <float.h>
53284 (__ccosh): Avoid internal overflow calculating sinh and cosh
53285 values before multiplying by sin and cos values.
53286 * math/s_ccoshf.c: Likewise.
53287 * math/s_ccoshl.c: Likewise.
53288 * math/s_csin.c: Likewise.
53289 * math/s_csinf.c: Likewise.
53290 * math/s_csinl.c: Likewise.
53291 * math/s_csinh.c: Likewise.
53292 * math/s_csinhf.c: Likewise.
53293 * math/s_csinhl.c: Likewise.
53294 * math/libm-test.inc (ccos_test): Add more tests.
53295 (ccosh_test): Likewise.
53296 (csin_test): Likewise.
53297 (csinh_test): Likewise.
53298 * sysdeps/i386/fpu/libm-test-ulps: Update.
53299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53300
53301 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
53302
53303 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
53304 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
53305
53306 * sysdeps/x86_64/x32/_itoa.h: Add comment.
53307
53308 2012-05-19 Joseph Myers <joseph@codesourcery.com>
53309
53310 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
53311 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
53312 * sysdeps/powerpc/soft-fp/Versions: Likewise.
53313 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
53314 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
53315 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
53316 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
53317 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
53318 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
53319 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
53320 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
53321 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
53322 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
53323 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
53324 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
53325 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
53326 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
53327 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
53328 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
53329 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
53330 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
53331 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
53332 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
53333 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
53334 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
53335 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
53336 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
53337 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
53338 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
53339 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
53340 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
53341
53342 2012-05-18 Andreas Jaeger <aj@suse.de>
53343
53344 * csu/.gitignore: Delete.
53345
53346 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
53347
53348 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
53349 (timex): Use __syscall_slong_t.
53350
53351 2012-05-18 Andreas Jaeger <aj@suse.de>
53352 Carlos O'Donell <carlos_odonell@mentor.com>
53353
53354 * manual/install.texi (Configuring and compiling): Update
53355 description about files modified in the source directory.
53356 * INSTALL: Regenerated.
53357
53358 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
53359
53360 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
53361 value. Use "or" to set return value to -1.
53362 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
53363 negate return value.
53364
53365 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53366
53367 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
53368 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
53369 failure if the compiler has Graphite support disabled.
53370 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
53371 Likewise.
53372 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
53373 (CFLAGS-memmove.c): Likewise.
53374 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
53375 Likewise.
53376
53377 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
53378
53379 * sysdeps/x86_64/x32/_itoa.h: New file.
53380
53381 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
53382 getdents system call only if kernel and user dirents have the
53383 same d_ino and d_off.
53384
53385 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53386 LLONG_MAX != LONG_MAX.
53387 (_itoa_word): Use _ITOA_WORD_TYPE on value.
53388 (_fitoa_word): Likewise.
53389
53390 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
53391 years.
53392 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
53393 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
53394 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
53395
53396 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
53397 include <bits/wordsize.h>. Check __x86_64__ instead of
53398 __WORDSIZE.
53399 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
53400 if __x86_64__ is defined. Use anonymous union on fpstate.
53401
53402 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
53403 anonymous union.
53404
53405 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
53406
53407 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
53408 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
53409 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
53410 Refer to _rtld_local_ro instead of _rtld_global_ro.
53411 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
53412 Likewise.
53413 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
53414 Likewise.
53415 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
53416 Likewise.
53417 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
53418 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
53419 of _rtld_global, and rtld_progname instead of _dl_argv[0].
53420
53421 [BZ #10882]
53422 * sysdeps/powerpc/powerpc32/dl-machine.c
53423 (__elf_machine_runtime_setup) [PROF]: Don't reference
53424 _dl_prof_resolve.
53425
53426 2012-05-18 Andreas Jaeger <aj@suse.de>
53427
53428 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
53429 function only available for GCCs before 3.4 since GCC 3.4
53430 introduced a builtin.
53431 (lrint): Likewise.
53432 (llrintf): Likewise.
53433 (llrint): Likewise.
53434 (fmaxf): Likewise.
53435 (fmax): Likewise.
53436 (fminf): Likewise.
53437 (fmin): Likewise.
53438 (rint): Likewise.
53439 (rintf): Likewise.
53440 (nearbyint): Likewise.
53441 (nearbyintf): Likewise.
53442 (ceil): Likewise.
53443 (ceilf): Likewise.
53444 (floor): Likewise.
53445 (floorf): Likewise.
53446
53447 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
53448
53449 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
53450 on both fields and cast pointer to __syscall_ulong_t.
53451
53452 * bits/types.h (__fsword_t): New type.
53453 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
53454 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
53455 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53456 (__FSWORD_T_TYPE): Likewise.
53457 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53458 (__FSWORD_T_TYPE): Likewise.
53459 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53460 (__FSWORD_T_TYPE): Likewise.
53461 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
53462 (__FSWORD_T_TYPE): Likewise.
53463 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
53464 __SWORD_TYPE with __fsword_t.
53465 (statfs64): Likewise.
53466
53467 2012-05-17 David S. Miller <davem@davemloft.net>
53468
53469 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
53470
53471 2012-05-17 Andreas Jaeger <aj@suse.de>
53472
53473 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
53474 warning.
53475
53476 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
53477
53478 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
53479
53480 2012-05-17 Andreas Jaeger <aj@suse.de>
53481
53482 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
53483 when it is used.
53484
53485 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
53486
53487 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
53488
53489 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
53490
53491 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
53492 * sysdeps/x86_64/tst-mallocalign1.c: New file.
53493
53494 2012-05-17 Andreas Jaeger <aj@suse.de>
53495 Carlos O'Donell <carlos_odonell@mentor.com>
53496
53497 [BZ #14059]
53498 * sysdeps/x86_64/multiarch/init-arch.h
53499 (bit_YMM_Usable): Rename to...
53500 (bit_AVX_Usable): ... this.
53501 (bit_FMA4_Usable): New macro.
53502 (bit_XMM_state): New macro.
53503 (bit_YMM_state): New macro.
53504 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
53505 [__ASSEMBLER__] (index_AVX_Usable): ... this.
53506 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
53507 (CPUID_OSXSAVE): New macro.
53508 (CPUID_AVX): New macro.
53509 (CPUID_FMA4): New macro.
53510 (index_YMM_Usable): Rename to...
53511 (index_AVX_Usable): ... this.
53512 (HAS_AVX): Use HAS_ARCH_FEATURE.
53513 (HAS_FMA4): Likewise.
53514 (HAS_YMM_USABLE): Remove.
53515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53516 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
53517 are present.
53518 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
53519 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
53520 * sysdeps/x86_64/multiarch/Makefile: Likewise.
53521 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
53522 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
53523
53524 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
53525
53526 * math/libm-test.c: Support platforms without multiple rounding modes.
53527 * math/bug-nextafter.c: Support platforms without FP exceptions.
53528 * math/bug-nexttoward.c: Likewise.
53529 * math/test-fenv.c: Likewise.
53530 * math/test-misc.c: Likewise.
53531 * stdlib/bug-getcontext.c: Likewise.
53532
53533 2012-05-17 Andreas Jaeger <aj@suse.de>
53534
53535 * manual/examples/search.c (critter_cmp): Change signature to
53536 avoid warnings.
53537 * manual/string.texi (Collation Functions): Likewise.
53538
53539 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
53540
53541 * bits/types.h: Fold copyright years.
53542 * bits/typesizes.h: Likewise.
53543 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
53544 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
53545 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
53546 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
53547 * time/time.h: Likewise.
53548
53549 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
53550
53551 [BZ #208]
53552 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
53553 in instead of returning them. Return void.
53554 (__libc_mallinfo): Accumulate over all arenas.
53555 (__malloc_stats): Adjust for change in int_mallinfo interface.
53556
53557 2012-05-16 Roland McGrath <roland@hack.frob.com>
53558
53559 [BZ #10375]
53560 * configure.in (NM): Add AC_CHECK_TOOL for it.
53561 (libc_extra_cflags): New substituted variable.
53562 Check for -fstack-protector being used implicitly.
53563 * configure: Regenerated.
53564 * config.make.in (config-extra-cflags): New variable,
53565 gets @libc_extra_cflags@.
53566 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
53567
53568 [BZ #10375]
53569 * configure.in: Check for _FORTIFY_SOURCE being predefined.
53570 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
53571 * configure: Regenerated.
53572 * config.make.in (CPPUNDEFS): New substituted variable.
53573 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
53574 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
53575 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
53576
53577 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
53578
53579 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
53580 (mq_attr): Use __syscall_slong_t.
53581
53582 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
53583
53584 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
53585 Check __x86_64__ instead of __WORDSIZE.
53586 (_STAT_VER_LINUX): Likewise.
53587 (stat): Check __x86_64__ instead of __WORDSIZE. Use
53588 __syscall_ulong_t and __syscall_slong_t.
53589 (stat64): Likewise.
53590
53591 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
53592
53593 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
53594
53595 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
53596
53597 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
53598
53599 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
53600
53601 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
53602 __syscall_ulong_t.
53603
53604 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
53605 include <bits/wordsize.h>. Check __x86_64__ instead of
53606 __WORDSIZE.
53607 (greg_t): Use "__extension__ long long int" if __x86_64__ is
53608 defined.
53609 (mcontext_t): Replace "unsigned long" with "unsigned long long".
53610
53611 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
53612 include <bits/wordsize.h>. Check __x86_64__ instead of
53613 __WORDSIZE.
53614 (user_regs_struct): Use "__extension__ unsigned long long"
53615 instead of "unsigned long" if __x86_64__ is defined.
53616 (user): Likewise. Pad after pointer field if __ILP32__ is
53617 defined.
53618
53619 2012-05-16 Joseph Myers <joseph@codesourcery.com>
53620
53621 * configure.in (makeinfo): Require version 4.5 or later. Allow
53622 versions 5 to 9.
53623 * configure: Regenerated.
53624 * manual/install.texi (texinfo): Increase version requirement to
53625 4.5 or later.
53626 * INSTALL: Regenerated.
53627
53628 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
53629
53630 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
53631
53632 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
53633
53634 * sysdeps/x86_64/x32/ffs.c: New file.
53635
53636 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
53637 __syscall_ulong_t.
53638 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
53639 defined. Use __syscall_ulong_t.
53640 (shminfo): Use __syscall_ulong_t.
53641 (shm_info): Likewise.
53642
53643 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
53644 __syscall_ulong_t.
53645
53646 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
53647 <bits/wordsize.h>.
53648 (msgqnum_t): Use __syscall_ulong_t.
53649 (msglen_t): Likewise.
53650 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
53651 __syscall_ulong_t.
53652
53653 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
53654 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
53655
53656 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
53657
53658 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
53659 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
53660
53661 * sysvipc/sys/msg.h (msgbuf): Replace long int with
53662 __syscall_slong_t.
53663
53664 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
53665 include <bits/wordsize.h>. Check __x86_64__ instead of
53666 __WORDSIZE.
53667
53668 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
53669 "unsigned long long int" if __x86_64__ is defined.
53670 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
53671
53672 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
53673 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
53674 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
53675
53676 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
53677 <stdint.h>.
53678 (GET_PC): Cast to uintptr_t first.
53679 (GET_FRAME): Likewise.
53680 (GET_STACK): Likewise.
53681
53682 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
53683 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
53684 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
53685 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
53686 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
53687 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
53688 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
53689 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
53690 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
53691 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
53692 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
53693 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
53694 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
53695 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
53696 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
53697 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
53698 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
53699 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
53700 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
53701 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
53702 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
53703 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
53704 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
53705 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
53706 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
53707 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
53708 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
53709 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
53710 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
53711
53712 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
53713
53714 * Makerules (+depfiles): Also collect depfiles from .oS in
53715 $(extra-objs).
53716 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
53717 .oS, $(libnldbl-routines)).
53718
53719 * Makerules (native-compile-mkdep-flags): Define.
53720 * sunrpc/Makefile (extra-objs): Add $(addprefix
53721 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
53722 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
53723 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
53724 calling $(make-target-directory).
53725
53726 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53727
53728 * bits/types.h (__snseconds_t): Removed.
53729 * time/time.h (struct timespec): Replace __snseconds_t with
53730 __syscall_slong_t.
53731 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
53732 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
53733 Likewise.
53734 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53735 (__SNSECONDS_T_TYPE): Likewise.
53736 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53737 (__SNSECONDS_T_TYPE): Likewise.
53738 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53739 (__SNSECONDS_T_TYPE): Likewise.
53740
53741 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53742
53743 * sysdeps/mach/hurd/bits/typesizes.h
53744 (__SYSCALL_SLONG_TYPE): New macro.
53745 (__SYSCALL_ULONG_TYPE): Likewise.
53746
53747 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53748
53749 * bits/types.h (__syscall_slong_t): New type.
53750 (__syscall_ulong_t): Likewise.
53751
53752 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
53753 (__SYSCALL_ULONG_TYPE): Likewise.
53754 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53755 (__SYSCALL_SLONG_TYPE): Likewise.
53756 (__SYSCALL_ULONG_TYPE): Likewise.
53757 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53758 (__SYSCALL_SLONG_TYPE): Likewise.
53759 (__SYSCALL_ULONG_TYPE): Likewise.
53760 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53761 (__SYSCALL_SLONG_TYPE): Likewise.
53762 (__SYSCALL_ULONG_TYPE): Likewise.
53763
53764 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53765
53766 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
53767 Add sigaltstack-offsets.sym.
53768 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
53769 <sigaltstack-offsets.h>.
53770 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
53771 longjmp_msg pointer.
53772 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
53773 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
53774 signal stack.
53775 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
53776
53777 2012-05-15 Joseph Myers <joseph@codesourcery.com>
53778
53779 * elf/stackguard-macros.h: Remove file.
53780 * sysdeps/generic/stackguard-macros.h: New file.
53781 * sysdeps/i386/stackguard-macros.h: Likewise.
53782 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
53783 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
53784 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
53785 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
53786 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
53787 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
53788 * sysdeps/x86_64/stackguard-macros.h: Likewise.
53789 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
53790 <elf/stackguard-macros.h>.
53791
53792 [BZ #14109]
53793 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
53794 __aligned__ in attribute.
53795 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
53796 (gregset_t): Likewise.
53797
53798 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53799
53800 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
53801 * sysdeps/x86_64/64/Implies-after: Here. New file.
53802 * sysdeps/x86_64/x32/Implies-after: New file.
53803
53804 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53805
53806 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
53807 and access return value for _dl_profile_fixup. Use R10_LP to
53808 load frame size.
53809
53810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53811
53812 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
53813
53814 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53815
53816 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
53817 * sysdeps/x86_64/x32/sysdep.h: New file.
53818
53819 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53820
53821 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
53822 * sysdeps/x86_64/setjmp.S: Likewise.
53823
53824 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53825
53826 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
53827 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
53828 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
53829 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
53830 remove unused global constant.
53831
53832 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
53833
53834 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
53835 include of <not-cancel.h>.
53836
53837 2012-05-15 Roland McGrath <roland@hack.frob.com>
53838
53839 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
53840
53841 2012-05-15 Jeff Law <law@redhat.com>
53842 Andreas Jaeger <aj@suse.de>
53843
53844 [BZ #13594]
53845 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
53846 out from...
53847 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
53848 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
53849 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
53850 code changing __hst_map_handle.map.
53851
53852 2012-05-15 Roland McGrath <roland@hack.frob.com>
53853
53854 * configure.in (sysnames): Look for Implies-before and Implies-after
53855 files.
53856 * configure: Regenerated.
53857
53858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53859
53860 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
53861 8-byte data alignment with LP_SIZE alignment.
53862
53863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53864
53865 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
53866 into R10_LP.
53867
53868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53869
53870 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
53871
53872 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53873
53874 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
53875 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
53876 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
53877 Likewise.
53878 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
53879
53880 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53881
53882 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
53883 (stackinfo_sub_sp): Likewise.
53884
53885 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53886
53887 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
53888 RAX_LP.
53889
53890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53891
53892 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
53893 into R*_LP.
53894
53895 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53896
53897 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
53898 sizes into R*_LP.
53899
53900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53901
53902 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
53903
53904 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53905
53906 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
53907 into R11_LP and load __x86_64_shared_cache_size_half into
53908 R8_LP.
53909
53910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53911
53912 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
53913 R8_LP.
53914
53915 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53916
53917 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
53918 logb for POWER7.
53919 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
53920 logbf for POWER7.
53921 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
53922 logbl for POWER7.
53923 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
53924 powerpc32/power7/fpu/s_logb.c via #include.
53925 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
53926 powerpc32/power7/fpu/s_logbf.c via #include.
53927 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
53928 powerpc32/power7/fpu/s_logbl.c via #include.
53929
53930 2012-05-15 Joseph Myers <joseph@codesourcery.com>
53931
53932 * README.libm: Remove file.
53933
53934 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
53935
53936 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
53937 count for x32. Use R*_LP and omit operand-size suffix.
53938
53939 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
53940
53941 * shlib-versions: Move x86_64-.*-linux.* entries to ...
53942 * sysdeps/x86_64/64/shlib-versions: Here. New file.
53943 * sysdeps/x86_64/x32/shlib-versions: New file.
53944
53945 2012-05-14 Roland McGrath <roland@hack.frob.com>
53946
53947 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
53948 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
53949 Use _dl_fatal_printf instead.
53950
53951 2012-05-14 Joseph Myers <joseph@codesourcery.com>
53952
53953 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
53954 set if not set by the user. Do not allow for being unset.
53955 * sysdeps/unix/sysv/linux/configure: Regenerated.
53956
53957 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
53958
53959 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
53960 the `q' suffix from lea and replace .quad with ASM_ADDR.
53961
53962 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
53963
53964 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
53965 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
53966 instead of $17.
53967 (PTR_DEMANGLE): Likewise.
53968
53969 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
53970
53971 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
53972 (LP_OP): Likewise.
53973 (ASM_ADDR): Likewise.
53974 (RAX_LP): Likewise.
53975 (RBP_LP): Likewise.
53976 (RBX_LP): Likewise.
53977 (RCX_LP): Likewise.
53978 (RDI_LP): Likewise.
53979 (RSI_LP): Likewise.
53980 (RSP_LP): Likewise.
53981 (R8_LP): Likewise.
53982 (R9_LP): Likewise.
53983 (R10_LP): Likewise.
53984 (R10_LP): Likewise.
53985 (R11_LP): Likewise.
53986 (R12_LP): Likewise.
53987 (R13_LP): Likewise.
53988 (R14_LP): Likewise.
53989 (R15_LP): Likewise.
53990
53991 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
53992
53993 * sysdeps/x86_64/x32/dl-machine.h: New file.
53994
53995 2012-05-14 Andreas Jaeger <aj@suse.de>
53996
53997 * manual/Makefile (subdir): Remove export of subdir.
53998 (all): Remove target.
53999 (.PHONY): Remove all from list.
54000 (mkinstalldirs): Remove.
54001 (.PHONY): Remove installdirs from list.
54002 ($(inst_infodir)/libc.info): Use make-target-directory.
54003 (installdirs): Remove.
54004 (subdir_%): Remove.
54005 (glibc-targets): Remove.
54006 (lib): Remove.
54007 (stubs): Remove.
54008 ($(objpfx)stubs ../po/manual.pot): Remove.
54009 ($(objpfx)stamp%): Remove.
54010 (make-target-directory): Remove.
54011 (subdir_install): Remove.
54012 (routines): Remove.
54013 (aux): Remove.
54014 (sources): Remove.
54015 (objects): Remove.
54016 (headers): Remove.
54017
54018 [BZ #13750]
54019 * manual/.gitignore: Remove, it's not needed anymore.
54020 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
54021 all files in it.
54022 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
54023 directory.
54024 (texis): Renamed to $(objpfx)texis.
54025 (texis-path): New, contains path to generated files.
54026 (chapters.%): Use texis-path for complete path, add extra argument
54027 libc-texinfo.sh.
54028 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
54029 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
54030 (summary,texi, stamp-summary): Use complete path of
54031 files. Generate files in build dir.
54032 (dir-add.texi): Build in build dir.
54033 (libm-err.texi,stamp-libm-err): Likewise.
54034 (version.texi, stamp-version): Likewise.
54035 (.%c.texi): Likewise.
54036 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
54037 (mostlyclean): Remove target.
54038 (realclean): Remove target.
54039 (generated): Add new variable with contents from mostlyclean and
54040 realclean, remove entries duplicated in common-mostlyclean, add
54041 stamp-libm-err and stamp-version.
54042 (generated-dirs): Add libc directory.
54043 ($(inst_infodir)/libc.info): Install files from build dir.
54044
54045 * manual/install.texi (Configuring and compiling): Adjust since
54046 the info files are not part of the tar ball anymore.
54047
54048 2012-05-14 Andreas Jaeger <aj@suse.de>
54049
54050 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
54051 variable.
54052
54053 2012-05-14 Joseph Myers <joseph@codesourcery.com>
54054
54055 [BZ #13717]
54056 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54057 to 2.2.0 where earlier.
54058 * sysdeps/unix/sysv/linux/configure: Regenerated.
54059 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
54060 Remove conditional code.
54061 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
54062 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
54063 Remove conditional code.
54064 [!__NR_lchown]: Likewise.
54065 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54066 [__NR_lchown]: Likewise.
54067 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
54068 comment referencing __ASSUME_LCHOWN_SYSCALL.
54069 * sysdeps/unix/sysv/linux/i386/sigaction.c
54070 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54071 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54072 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
54073 Remove conditional code.
54074 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
54075 (__protocol_available): Remove #if 0 code.
54076 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
54077 conditional code.
54078 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
54079 * sysdeps/unix/sysv/linux/kernel-features.h
54080 (__ASSUME_GETCWD_SYSCALL): Don't define.
54081 (__ASSUME_REALTIME_SIGNALS): Likewise.
54082 (__ASSUME_PREAD_SYSCALL): Likewise.
54083 (__ASSUME_PWRITE_SYSCALL): Likewise.
54084 (__ASSUME_POLL_SYSCALL): Likewise.
54085 (__ASSUME_LCHOWN_SYSCALL): Likewise.
54086 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
54087 non-SPARC.
54088 (__ASSUME_SIOCGIFNAME): Don't define.
54089 (__ASSUME_MSG_NOSIGNAL): Likewise.
54090 (__ASSUME_SENDFILE): Define unconditionally.
54091 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
54092 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
54093 conditional code.
54094 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
54095 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
54096 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
54097 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54098 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
54099 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
54100 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
54102 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54103 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
54105 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54106 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
54108 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54109 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
54111 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54112 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
54114 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54115 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
54117 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54118 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
54120 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54121 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
54123 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54124 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54125 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
54126 Remove conditional code.
54127 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54128 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
54129 Remove conditional code.
54130 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54131 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
54132 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
54133 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
54134 Remove conditional code.
54135 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54136 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
54137 Remove conditional code.
54138 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54139 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
54140 Remove conditional code.
54141 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54142 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
54143 Remove conditional code.
54144 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54145 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
54146 Remove conditional code.
54147 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54148 * sysdeps/unix/sysv/linux/sh/pwrite64.c
54149 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54150 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54151 * sysdeps/unix/sysv/linux/sigaction.c
54152 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54153 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54154 * sysdeps/unix/sysv/linux/sigpending.c
54155 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54156 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54157 * sysdeps/unix/sysv/linux/sigprocmask.c
54158 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54159 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54160 * sysdeps/unix/sysv/linux/sigsuspend.c
54161 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54162 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54163 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
54164 (__libc_missing_rt_sigs): Remove.
54165 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
54166 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
54167 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
54168 Remove conditional code.
54169 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
54170 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
54171 return 1.
54172 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
54173 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
54174 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
54175 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
54176
54177 2012-05-14 Andreas Jaeger <aj@suse.de>
54178
54179 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
54180 it's not used in glibc.
54181 (__coshm1): Likewise.
54182 (__acosh1p): Likewise.
54183 (__sgn): Likewise.
54184
54185 * manual/string.texi (Copying and Concatenation): Add missing
54186 variable in concat example.
54187 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
54188
54189 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
54190
54191 [BZ #14103]
54192 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
54193 __builtin_clzl with __builtin_clzll.
54194
54195 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
54196
54197 [BZ #14104]
54198 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
54199 libc_freeres_ptr.
54200
54201 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54202
54203 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
54204 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
54205 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
54206 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
54207
54208 2012-05-14 Mike Frysinger <vapier@gentoo.org>
54209
54210 * NEWS: Update ia64 info.
54211
54212 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
54213
54214 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
54215 used as bcopy.
54216
54217 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
54218
54219 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
54220 * sysdeps/unix/syscalls.list (dup3): Likewise.
54221 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
54222 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
54223
54224 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
54225
54226 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
54227 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
54228
54229 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
54230
54231 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
54232 thread pointer.
54233 (TLS_IE): Use mov/add instead of movq/addq to load thread
54234 pointer.
54235 (TLS_GD_PREFIX): New.
54236 (TLS_GD): Use it.
54237
54238 2012-05-11 David S. Miller <davem@davemloft.net>
54239
54240 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
54241 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
54242 (_FPU_SETCW): Likewise.
54243
54244 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
54245
54246 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
54247 is 32-byte aligned.
54248
54249 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
54250
54251 [BZ #11837]
54252 * iconvdata/gb18030.c: Update tables.
54253 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
54254 characters specially.
54255 (BODY for TO_LOOP): Add encoding of missing ranges.
54256
54257 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
54258
54259 [BZ #13673]
54260 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
54261 * sysdeps/mach/hurd/dup3.c: Likewise.
54262 * sysdeps/mach/hurd/readlinkat.c: Likewise.
54263 * sysdeps/powerpc/memmove.c:: Likewise.
54264
54265 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
54266
54267 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
54268 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
54269
54270 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
54271
54272 * elf/elf.h (R_X86_64_RELATIVE64): New.
54273 (R_X86_64_NUM): Updated.
54274 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54275 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
54276 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
54277 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
54278 tst-quad1pie tst-quad2pie
54279 (modules-names): Add tst-quadmod1 tst-quadmod2.
54280 ($(objpfx)tst-quad1): New dependency.
54281 ($(objpfx)tst-quad2): Likewise.
54282 ($(objpfx)tst-quad1pie): Likewise.
54283 ($(objpfx)tst-quad2pie): Likewise.
54284 * sysdeps/x86_64/tst-quad1.c: New file.
54285 * sysdeps/x86_64/tst-quad1pie.c: New file.
54286 * sysdeps/x86_64/tst-quad2.c: Likewise.
54287 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
54288 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
54289 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
54290 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
54291 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
54292
54293 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
54294
54295 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
54296 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
54297 * streams/stropts.h (t_scalar_t): Define type.
54298
54299 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
54300 (_PATH_PRESERVE): Set to "/var/lib".
54301 (_PATH_RWHODIR): Set to "/var/spool/rwho".
54302
54303 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
54304 instead of int.
54305
54306 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
54307 if __dir_mkfile succeeded.
54308
54309 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
54310 checking for _hurd_dtablesize. Unlock it right after having
54311 finished _hurd_dtable allocation.
54312
54313 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
54314
54315 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
54316 * sysdeps/mach/hurd/configure: Regenerated.
54317 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
54318 special-casing to...
54319 * sysdeps/gnu/configure.in: ... this new file.
54320 * sysdeps/unix/sysv/linux/configure: Regenerated.
54321 * sysdeps/gnu/configure: New generated file.
54322
54323 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
54324 for Linux: use nsec instead of usec, as well as:
54325 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
54326 members of type struct timespec.
54327 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
54328 New macros.
54329 (struct stat64): Likewise.
54330 (_STATBUF_ST_NSEC): New macro.
54331 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
54332
54333 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54334 __strtoul_internal rather than strtoul.
54335
54336 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
54337
54338 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
54339 and reject them.
54340
54341 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
54342
54343 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
54344 which preserves existing values.
54345 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
54346
54347 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
54348
54349 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
54350 TIMEOUT values. Return EINVAL for NFDS values either negative or
54351 greater than FD_SETSIZE.
54352
54353 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
54354
54355 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
54356 allocated, call __vm_protect to finish enabling the existing space, and
54357 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
54358 allocate the remainder.
54359
54360 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
54361
54362 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
54363 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
54364
54365 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
54366
54367 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
54368 sysdeps/mach/hurd/readlink.c.
54369
54370 * posix/tst-sysconf.c (posix_options): Only use
54371 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
54372 _POSIX_SYNCHRONIZED_IO when they are defined
54373 * sysdeps/mach/hurd/bits/posix_opt.h:
54374 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
54375 (_XOPEN_REALTIME): Undefine macro.
54376 (_XOPEN_REALTIME_THREADS): Undefine macro.
54377 (_XOPEN_SHM): Undefine macro.
54378 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
54379 macro to -1.
54380 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
54381 macro to -1.
54382 (_POSIX_ASYNC_IO): Undefine macro.
54383 (_POSIX_PRIORITIZED_IO): Undefine macro.
54384 (_POSIX_SPIN_LOCKS): Define macro to -1.
54385
54386 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
54387 SA_NODEFER, SA_RESETHAND.
54388 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
54389 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
54390 F_DUPFD_CLOEXEC.
54391
54392 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
54393
54394 * elf/Makefile (pldd-modules): Define unconditionally.
54395
54396 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
54397
54398 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
54399
54400 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
54401
54402 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
54403 Return ENOENT when name is empty.
54404 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
54405
54406 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
54407
54408 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
54409
54410 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
54411
54412 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
54413
54414 Fix mlock in all cases except non-readable pages.
54415 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
54416 instead of VM_PROT_ALL as parameter to __vm_wire function.
54417
54418 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
54419 (__mkdir): When path is `/', just fail with EEXIST.
54420 * sysdeps/mach/hurd/mkdirat.c: Likewise.
54421
54422 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
54423
54424 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
54425 <sys/uio.h> (for writev).
54426 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
54427 and <sys/param.h> (for MIN).
54428
54429 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
54430
54431 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
54432 REQUESTED_TIME. Properly set the remaining time and return EINTR
54433 if interrupted.
54434
54435 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
54436
54437 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
54438 Depend on against $(link-rpcuserlibs).
54439
54440 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
54441
54442 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
54443 (__libc_stack_end): Do not use attribute_relro.
54444 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
54445 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
54446 to libthread-provided value.
54447 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
54448 attribute_relro.
54449
54450 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
54451
54452 [BZ #3748]
54453 * bits/libc-lock.h (__libc_once_get): New macro.
54454 * sysdeps/mach/bits/libc-lock.h: Likewise.
54455 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
54456 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
54457 instead of using implementation details.
54458
54459 * libio/fileops.c: Unconditionally include <kernel-features.h>.
54460 * libio/freopen.c: Likewise.
54461 * libio/freopen64.c: Likewise.
54462 * misc/syslog.c: Likewise.
54463 * nscd/connections.c: Likewise.
54464 * nscd/netgroupcache.c: Likewise.
54465 * sysdeps/posix/getcwd.c: Likewise.
54466
54467 2012-05-10 Roland McGrath <roland@hack.frob.com>
54468
54469 * math/w_ilogbf.c: Add #include <limits.h>.
54470
54471 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
54472
54473 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
54474 path instead of returning without unlocking.
54475
54476 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
54477 immediate-write ioctls.
54478 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
54479
54480 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
54481
54482 * sysdeps/mach/hurd/i386/init-first.c (init): Use
54483 __builtin_frame_address instead of making assumptions about the
54484 location of the return address relative to DATA. Force early load of
54485 the return address.
54486 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
54487 __builtin_frame_address.
54488
54489 dup3 for GNU Hurd.
54490 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
54491 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
54492 implement dup3 and do some further code clean-ups.
54493 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
54494 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
54495
54496 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
54497
54498 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
54499
54500 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
54501 HURD_CRITICAL_END around holding _hurd_dtable_lock.
54502 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
54503 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
54504 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
54505 d->port.lock.
54506
54507 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
54508 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
54509 when handler == SIG_ERR, not when handler != SIG_ERR.
54510
54511 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
54512
54513 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
54514 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
54515 definitions.
54516
54517 accept4 for GNU Hurd.
54518 * include/sys/socket.h (__libc_accept4): New prototype.
54519 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
54520 to implement __libc_accept4.
54521 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
54522 __libc_accept4.
54523 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
54524
54525 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
54526 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
54527 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
54528 signal-defines.sym.
54529
54530 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
54531
54532 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
54533
54534 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
54535
54536 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
54537 assertion on O_CLOEXEC flag.
54538 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
54539 * hurd/intern-fd.c: Likewise.
54540 * hurd/port2fd.c: Likewise.
54541
54542 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
54543
54544 [BZ #3906]
54545 * bits/in.h (IPV6_PKTINFO): Define new macro.
54546 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
54547
54548 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54549
54550 [BZ #13954]
54551 [BZ #13955]
54552 [BZ #13956]
54553 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
54554 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54555 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
54556 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
54557 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54558 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
54559 * math/libm-test.inc (logb_test) : Additional logb tests.
54560
54561 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
54562 Andreas Jaeger <aj@suse.de>
54563
54564 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
54565 * configure: Regenerated.
54566 * config.h.in (LINK_OBSOLETE_RPC): New macro.
54567 * config.make.in (link-obsolete-rpc): New substituted variable.
54568 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
54569 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
54570 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
54571 (shared-only-routines): Don't set it under [link-obsolete-rpc],
54572 so that libc.a contains the symbols.
54573 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
54574 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
54575 * sunrpc/auth_none.c: Likewise.
54576 * sunrpc/auth_unix.c: Likewise.
54577 * sunrpc/authdes_prot.c: Likewise.
54578 * sunrpc/authuxprot.c: Likewise.
54579 * sunrpc/clnt_gen.c: Likewise.
54580 * sunrpc/clnt_perr.c: Likewise.
54581 * sunrpc/clnt_raw.c: Likewise.
54582 * sunrpc/clnt_simp.c: Likewise.
54583 * sunrpc/clnt_tcp.c: Likewise.
54584 * sunrpc/clnt_udp.c: Likewise.
54585 * sunrpc/clnt_unix.c: Likewise.
54586 * sunrpc/des_crypt.c: Likewise.
54587 * sunrpc/des_soft.c: Likewise.
54588 * sunrpc/get_myaddr.c: Likewise.
54589 * sunrpc/key_call.c: Likewise.
54590 * sunrpc/key_prot.c: Likewise.
54591 * sunrpc/netname.c: Likewise.
54592 * sunrpc/pm_getmaps.c: Likewise.
54593 * sunrpc/pm_getport.c: Likewise.
54594 * sunrpc/pmap_clnt.c: Likewise.
54595 * sunrpc/pmap_prot.c: Likewise.
54596 * sunrpc/pmap_prot2.c: Likewise.
54597 * sunrpc/pmap_rmt.c: Likewise.
54598 * sunrpc/publickey.c: Likewise.
54599 * sunrpc/rpc_cmsg.c: Likewise.
54600 * sunrpc/rpc_common.c: Likewise.
54601 * sunrpc/rpc_dtable.c: Likewise.
54602 * sunrpc/rpc_prot.c: Likewise.
54603 * sunrpc/rpc_thread.c: Likewise.
54604 * sunrpc/rtime.c: Likewise.
54605 * sunrpc/svc.c: Likewise.
54606 * sunrpc/svc_auth.c: Likewise.
54607 * sunrpc/svc_raw.c: Likewise.
54608 * sunrpc/svc_run.c: Likewise.
54609 * sunrpc/svc_tcp.c: Likewise.
54610 * sunrpc/svc_udp.c: Likewise.
54611 * sunrpc/svc_unix.c: Likewise.
54612 * sunrpc/svcauth_des.c: Likewise.
54613 * sunrpc/xcrypt.c: Likewise.
54614 * sunrpc/xdr.c: Likewise.
54615 * sunrpc/xdr_array.c: Likewise.
54616 * sunrpc/xdr_float.c: Likewise.
54617 * sunrpc/xdr_intXX_t.c: Likewise.
54618 * sunrpc/xdr_mem.c: Likewise.
54619 * sunrpc/xdr_rec.c: Likewise.
54620 * sunrpc/xdr_ref.c: Likewise.
54621 * sunrpc/xdr_sizeof.c: Likewise.
54622 * sunrpc/xdr_stdio.c: Likewise.
54623
54624 2012-05-10 Roland McGrath <roland@hack.frob.com>
54625
54626 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
54627 change. Update copyright years.
54628
54629 2012-05-10 Joseph Myers <joseph@codesourcery.com>
54630
54631 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
54632
54633 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
54634 Joseph Myers <joseph@codesourcery.com>
54635 Paul Pluzhnikov <ppluzhnikov@google.com>
54636
54637 [BZ #14012]
54638 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
54639 requiring rpcgen.
54640 [cross-compiling] (extra-libs): Likewise.
54641 [cross-compiling] (extra-libs-others): Likewise.
54642 [cross-compiling] (librpcsvc-routines): Likewise.
54643 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
54644 [cross-compiling] (omit-deps): Likewise.
54645 (sunrpc-CPPFLAGS): New variable.
54646 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
54647 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
54648 (cross-rpcgen-objs): New variable.
54649 (extra-objs): Append $(cross-rpcgen-objs).
54650 ($(cross-rpcgen-objs)): New rule.
54651 ($(objpfx)cross-rpcgen): Likewise.
54652 (rpcgen-cmd): Define to use $(built-program-file). Expand
54653 comment.
54654 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
54655 ($(objpfx)x%.stmp): Likewise.
54656 * sunrpc/proto.h [IS_IN_build] (_): Define.
54657 [IS_IN_build] (_libc_intl_domainname): Likewise.
54658
54659 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
54660
54661 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
54662 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
54663 and R_X86_64_TPOFF64.
54664
54665 2012-05-10 Joseph Myers <joseph@codesourcery.com>
54666
54667 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
54668 sysdeps/unix/sysv/syscalls.list.
54669 (stime): Likewise.
54670 (utime): Likewise.
54671 * sysdeps/unix/sysv/syscalls.list: Remove file.
54672
54673 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
54674
54675 [BZ #3440]
54676 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
54677 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
54678 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
54679 (__LC_IDENTIFICATION): Make these macros useful in #if
54680 expressions, as required by C99.
54681
54682 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
54683
54684 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
54685 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
54686 after this.
54687
54688 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
54689
54690 * stdlib/longlong.h: Updated from GCC.
54691
54692 2012-05-09 Andreas Jaeger <aj@suse.de>
54693
54694 * nscd/nscd.c (run_modes): Make named enum, reorder so that
54695 default is first entry.
54696 (run_mode): Set type.
54697 (main): Remove informal message about syslog.
54698 (options): Fix typo.
54699
54700 [BZ #14053]
54701 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
54702 to asm.
54703 (lrint): Likewise.
54704 (llrintf): Likewise.
54705 (llrint): Likewise.
54706 (rint): Likewise.
54707 (rintf): Likewise.
54708 (nearbyint): Likewise.
54709 (nearbyintf): Likewise.
54710
54711 2012-05-09 Andreas Jaeger <aj@suse.de>
54712 Pedro Alves <palves@redhat.com>
54713
54714 * nscd/nscd.c (run_mode): Use enum.
54715 (main): Cleanup coding style issue.
54716
54717 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
54718 Andreas Jaeger <aj@suse.de>
54719
54720 * nscd/nscd.c (go_background): Replaced with...
54721 (run_mode): ... this.
54722 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
54723 (options): Add -F --foreground.
54724 (main): Implement it.
54725 (parse_opt): Parse it.
54726
54727 2012-05-09 Andreas Jaeger <aj@suse.de>
54728
54729 [BZ #14083]
54730 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
54731 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
54732 -Wconversion warning.
54733 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
54734 Likewise.
54735
54736 2012-05-09 Joseph Myers <joseph@codesourcery.com>
54737
54738 * conform/data/locale.h-data (NULL): Use macro-constant. Require
54739 == 0.
54740 (LC_ALL): Use macro-int-constant.
54741 (LC_COLLATE): Likewise.
54742 (LC_CTYPE): Likewise.
54743 (LC_MESSAGES): Likewise.
54744 (LC_MONETARY): Likewise.
54745 (LC_NUMERIC): Likewise.
54746 (LC_TIME): Likewise.
54747 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
54748 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
54749 [ISO || ISO99 || ISO11] (*_t): Do not allow.
54750 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
54751 Specify type.
54752 [C99-based standards] (float_t): Expect type.
54753 [C99-based standards] (double_t): Expect type.
54754 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
54755 type.
54756 [C99-based standards] (HUGE_VALL): Likewise.
54757 [C99-based standards] (INFINITY): Likewise.
54758 [C99-based standards] (NAN): Likewise.
54759 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
54760 [C99-based standards] (FP_NAN): Likewise.
54761 [C99-based standards] (FP_NORMAL): Likewise.
54762 [C99-based standards] (FP_SUBNORMAL): Likewise.
54763 [C99-based standards] (FP_ZERO): Likewise.
54764 [C99-based standards] (FP_FAST_FMA): Use
54765 optional-macro-int-constant. Specify type. Require == 1.
54766 [C99-based standards] (FP_FAST_FMAF): Likewise.
54767 [C99-based standards] (FP_FAST_FMAL): Likewise.
54768 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
54769 [C99-based standards] (FP_ILOGBNAN): Likewise.
54770 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
54771 Specify type.
54772 [C99-based standards] (MATH_ERREXCEPT): Likewise.
54773 [C99-based standards] (math_errhandling): Specify type.
54774 [ISO99 || ISO11] (signgam): Do not allow.
54775 [non-C99-based standards] (copysignf): Do not allow.
54776 [non-C99-based standards] (exp2f): Likewise.
54777 [non-C99-based standards] (log2f): Likewise.
54778 [non-C99-based standards] (modff): Allow.
54779 [non-C99-based standards] (erff): Do not allow.
54780 [non-C99-based standards] (erfcf): Likewise.
54781 [non-C99-based standards] (gammaf): Likewise.
54782 [non-C99-based standards] (hypotf): Likewise.
54783 [non-C99-based standards] (j0f): Likewise.
54784 [non-C99-based standards] (j1f): Likewise.
54785 [non-C99-based standards] (jnf): Likewise.
54786 [non-C99-based standards] (lgammaf): Likewise.
54787 [non-C99-based standards] (tgammaf): Likewise.
54788 [non-C99-based standards] (y0f): Likewise.
54789 [non-C99-based standards] (y1f): Likewise.
54790 [non-C99-based standards] (ynf): Likewise.
54791 [non-C99-based standards] (isnanf): Likewise.
54792 [non-C99-based standards] (acoshf): Likewise.
54793 [non-C99-based standards] (asinhf): Likewise.
54794 [non-C99-based standards] (atanhf): Likewise.
54795 [non-C99-based standards] (cbrtf): Likewise.
54796 [non-C99-based standards] (expm1f): Likewise.
54797 [non-C99-based standards] (ilogbf): Likewise.
54798 [non-C99-based standards] (log1pf): Likewise.
54799 [non-C99-based standards] (logbf): Likewise.
54800 [non-C99-based standards] (nextafterf): Likewise.
54801 [non-C99-based standards] (remainderf): Likewise.
54802 [non-C99-based standards] (rintf): Likewise.
54803 [non-C99-based standards] (scalbf): Likewise.
54804 [non-C99-based standards] (copysignl): Likewise.
54805 [non-C99-based standards] (exp2l): Likewise.
54806 [non-C99-based standards] (log2l): Likewise.
54807 [non-C99-based standards] (modfl): Allow.
54808 [non-C99-based standards] (erfl): Do not allow.
54809 [non-C99-based standards] (erfcl): Likewise.
54810 [non-C99-based standards] (gammal): Likewise.
54811 [non-C99-based standards] (hypotl): Likewise.
54812 [non-C99-based standards] (j0l): Likewise.
54813 [non-C99-based standards] (j1l): Likewise.
54814 [non-C99-based standards] (jnl): Likewise.
54815 [non-C99-based standards] (lgammal): Likewise.
54816 [non-C99-based standards] (tgammal): Likewise.
54817 [non-C99-based standards] (y0l): Likewise.
54818 [non-C99-based standards] (y1l): Likewise.
54819 [non-C99-based standards] (ynl): Likewise.
54820 [non-C99-based standards] (isnanl): Likewise.
54821 [non-C99-based standards] (acoshl): Likewise.
54822 [non-C99-based standards] (asinhl): Likewise.
54823 [non-C99-based standards] (atanhl): Likewise.
54824 [non-C99-based standards] (cbrtl): Likewise.
54825 [non-C99-based standards] (expm1l): Likewise.
54826 [non-C99-based standards] (ilogbl): Likewise.
54827 [non-C99-based standards] (log1pl): Likewise.
54828 [non-C99-based standards] (logbl): Likewise.
54829 [non-C99-based standards] (nextafterl): Likewise.
54830 [non-C99-based standards] (remainderl): Likewise.
54831 [non-C99-based standards] (rintl): Likewise.
54832 [non-C99-based standards] (scalbl): Likewise.
54833 [ISO || ISO99 || ISO11] (*_t): Do not allow.
54834 [non-C99-based standards] (FP_*): Do not allow.
54835 [C99-based standards] (FP_*): Change to
54836 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
54837 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
54838 allow.
54839 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
54840 (SIG_ERR): Likewise.
54841 [X/Open-based standards] (SIG_HOLD): Likewise.
54842 (SIG_IGN): Likewise.
54843 (SIGABRT): Use macro-int-constant. Specify type. Require
54844 positive value.
54845 (SIGFPE): Likewise.
54846 (SIGILL): Likewise.
54847 (SIGINT): Likewise.
54848 (SIGSEGV): Likewise.
54849 (SIGTER): Likewise.
54850 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
54851 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
54852 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
54853 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
54854 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
54855 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
54856 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
54857 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
54858 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
54859 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
54860 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
54861 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
54862 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
54863 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
54864 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
54865 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
54866 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
54867 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
54868 [X/Open-based standards] (SIGTRAP): Likewise.
54869 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
54870 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
54871 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
54872 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
54873 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
54874 allow.
54875
54876 2012-05-08 Ian Wienand <ianw@vmware.com>
54877
54878 [BZ #14080]
54879 * time/tzset.c (__tzset_parse_tz): Update default rules for
54880 daylight time changes in the Energy Policy Act of 2005.
54881
54882 2012-05-09 Andreas Jaeger <aj@suse.de>
54883
54884 [BZ #13983]
54885 * elf/ldconfig.c (parse_conf): Change string to make clear that
54886 ldconfig only issued a warning if ld.so.conf does not exist.
54887
54888 2012-05-08 David S. Miller <davem@davemloft.net>
54889
54890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
54891 movxtod instead of popping the value on the stack.
54892
54893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54894
54895 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
54896
54897 * config.h.in: Add HAVE_ARM_PCS_VFP.
54898
54899 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
54900
54901 [BZ #13979]
54902 * include/features.h: Warn if user requests __FORTIFY_SOURCE
54903 checking but the checks are disabled for any reason.
54904
54905 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
54906
54907 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
54908 and ELF64_R_TYPE with ELFW(R_TYPE).
54909
54910 2012-05-08 Joseph Myers <joseph@codesourcery.com>
54911
54912 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
54913 (ulimit): Likewise.
54914
54915 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
54916 (settimeofday): Likewise.
54917
54918 2012-05-08 Mike Frysinger <vapier@gentoo.org>
54919
54920 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
54921 a struct th_u2 inside the union, and move tu_block/tu_code into
54922 a new th_u3 union of tu_block/tu_code inside of that. Move
54923 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
54924 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
54925 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
54926 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
54927 (th_stuff): Change to th_u1.tu_stuff.
54928 (th_data): Define.
54929 (th_msg): Change to th_u1.th_u2.tu_data.
54930
54931 2012-05-07 David S. Miller <davem@davemloft.net>
54932
54933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54934
54935 [BZ #14074]
54936 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
54937 (SETUP_PIC_REG): Use it.
54938 (SETUP_PIC_REG_LEAF): Use it.
54939
54940 2012-05-07 Joseph Myers <joseph@codesourcery.com>
54941
54942 [BZ #13885]
54943 [BZ #13923]
54944 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
54945 USE_AS_EXPM1L.
54946 (EXPL_FINITE): Likewise.
54947 (FLDLOG): Likewise.
54948 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
54949 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
54950 e_expl.S.
54951 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
54952 USE_AS_EXPM1L.
54953 (EXPL_FINITE): Likewise.
54954 (FLDLOG): Likewise.
54955 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
54956 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
54957 e_expl.S.
54958 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
54959 test of -max_value argument for long double.
54960 * sysdeps/i386/fpu/libm-test-ulps: Update.
54961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54962
54963 2012-05-06 David S. Miller <davem@davemloft.net>
54964
54965 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
54966 quad soft-float symbols whose references which are compiler
54967 generated.
54968 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54969
54970 2012-05-06 Joseph Myers <joseph@codesourcery.com>
54971
54972 [BZ #13884]
54973 [BZ #13914]
54974 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
54975 USE_AS_EXP10L.
54976 (EXPL_FINITE): Likewise.
54977 (FLDLOG): Likewise.
54978 (c0): Likewise.
54979 (c1): Likewise.
54980 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
54981 Adjust comments for base varying.
54982 (__expl_finite): Change alias to EXPL_FINITE.
54983 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
54984 e_expl.S.
54985 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
54986 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
54987 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
54988 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
54989 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
54990 USE_AS_EXP10L.
54991 (EXPL_FINITE): Likewise.
54992 (FLDLOG): Likewise.
54993 (c0): Likewise.
54994 (c1): Likewise.
54995 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
54996 Adjust comments for base varying.
54997 (__expl_finite): Change alias to EXPL_FINITE.
54998 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
54999 tests for bugs.
55000 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55001
55002 [BZ #14064]
55003 * math/libm-test.inc (check_float_internal): Correct ulp
55004 calculation for subnormal expected results.
55005
55006 2012-05-06 Andreas Jaeger <aj@suse.de>
55007
55008 * Makeconfig (+math-flags): New, set to -frounding-math.
55009 (+cflags): Add +math-flags so that all of glibc gets compiled with
55010 it.
55011
55012 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
55013
55014 2012-05-05 Joseph Myers <joseph@codesourcery.com>
55015
55016 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
55017 Disable one test.
55018
55019 [BZ #13787]
55020 [BZ #13922]
55021 [BZ #14036]
55022 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
55023 (__ieee754_expl): Allow for and saturate large arguments.
55024 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
55025 (u_threshold): Likewise.
55026 (__exp): Call __ieee754_exp before checking for overflow and
55027 underflow.
55028 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
55029 (u_threshold): Likewise.
55030 (__expf): Call __ieee754_expf before checking for overflow and
55031 underflow.
55032 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
55033 (u_threshold): Likewise.
55034 (__expl): Call __ieee754_expl before checking for overflow and
55035 underflow.
55036 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
55037 (__ieee754_expl): Allow for and saturate large arguments.
55038 * math/libm-test.inc (exp_test): Add another test. Do not allow
55039 missing overflow exception on overflow.
55040 (expm1_test): Do not allow missing overflow exception on overflow.
55041
55042 * sysdeps/i386/fpu/e_expl.c: Move to ...
55043 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
55044 rather than using inline asm.
55045 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
55046 * sysdeps/x86_64/fpu/e_expl.S: Copy from
55047 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
55048
55049 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
55050 (nice): Likewise.
55051 (poll): Likewise.
55052 (signal): Likewise.
55053 (time): Likewise.
55054 (times): Likewise.
55055
55056 2012-05-04 Joseph Myers <joseph@codesourcery.com>
55057
55058 * sysdeps/unix/syscalls.list (adjtime): Add entry from
55059 sysdeps/unix/common/syscalls.list.
55060 (fchmod): Likewise.
55061 (fchown): Likewise.
55062 (ftruncate): Likewise.
55063 (getrusage): Likewise.
55064 (gettimeofday): Likewise.
55065 (setpgid): Likewise.
55066 (setregid): Likewise.
55067 (setreuid): Likewise.
55068 (sigaction): Likewise.
55069 (truncate): Likewise.
55070 (vhangup): Likewise.
55071 * sysdeps/unix/common/syscalls.list: Remove file.
55072 * sysdeps/unix/bsd/Implies: Don't include unix/common.
55073 * sysdeps/unix/sysv/linux/Implies: Likewise.
55074
55075 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
55076
55077 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
55078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
55079 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
55080 Moved to ...
55081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
55082 Here.
55083 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
55084 to ...
55085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
55086 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
55087 to ...
55088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
55089 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
55090 to ...
55091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
55092 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
55093 to ...
55094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
55095 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
55096 to ...
55097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
55098 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
55099 to ...
55100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
55101 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
55102 to ...
55103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
55104 Here.
55105 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
55106 to ...
55107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
55108 Here.
55109 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
55110 to ...
55111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
55112 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
55113 Moved to ...
55114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
55115 Here.
55116 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
55117 to ...
55118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
55119
55120 2012-05-04 Joseph Myers <joseph@codesourcery.com>
55121
55122 * sysdeps/unix/common/bits/dirent.h: Remove file.
55123 * sysdeps/unix/common/bits/fcntl.h: Likewise.
55124
55125 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
55126 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
55127 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
55128 * sysdeps/unix/bsd/isatty.c: Likewise.
55129 * sysdeps/unix/bsd/tcdrain.c: Likewise.
55130 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
55131 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
55132
55133 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55134
55135 [BZ #13563]
55136 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
55137 long double comparison inaccuracies.
55138 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55140
55141 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
55142
55143 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
55144 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
55145
55146 2012-05-04 Joseph Myers <joseph@codesourcery.com>
55147
55148 [BZ #14049]
55149 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
55150 nonzero digits before rounding a hex value.
55151 * stdlib/tst-strtod.c (tests): Add another test.
55152
55153 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55154
55155 * sysdeps/s390/fpu/libm-test-ulps: Update.
55156
55157 2012-05-03 Andreas Jaeger <aj@suse.de>
55158
55159 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
55160 does not get optimized out.
55161 (malloc_opt_barrier): New.
55162
55163 2012-05-03 Andreas Jaeger <aj@suse.de>
55164 Roland McGrath <roland@hack.frob.com>
55165
55166 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
55167 intermediate file deletion.
55168 (generated): Add .symlist files.
55169
55170 2012-05-03 Joseph Myers <joseph@codesourcery.com>
55171
55172 [BZ #13775]
55173 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
55174 Redirect under this condition.
55175 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
55176 [__USE_GNU] (__dprintf_chk): Not under this condition.
55177 [__USE_GNU] (__vdprintf_chk): Likewise.
55178 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
55179 under this condition.
55180 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
55181 [__USE_XOPEN2K8] (dprintf): Define under this condition.
55182 [__USE_XOPEN2K8] (vdprintf): Likewise.
55183 [__USE_GNU] (__dprintf_chk): Not under this condition.
55184 [__USE_GNU] (__vdprintf_chk): Likewise.
55185 [__USE_GNU] (dprintf): Likewise.
55186 [__USE_GNU] (vdprintf): Likewise.
55187
55188 2012-05-03 Roland McGrath <roland@hack.frob.com>
55189
55190 * elf/Makefile (common-generated): Set this instead of generated for
55191 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
55192 $(all-built-dso)-derived lists.
55193
55194 2012-05-03 Andreas Jaeger <aj@suse.de>
55195
55196 * sysdeps/i386/fpu/libm-test-ulps: Update.
55197
55198 * FAQ: Removed.
55199 * FAQ.in: Likewise.
55200 * scripts/gen-FAQ.pl: Likewise.
55201 * manual/install.texi (Installation): Point to online location of
55202 FAQ.
55203 * Makefile (files-for-dist): Remove FAQ.
55204 (FAQ): Remove.
55205
55206 2012-05-02 Allan McRae <allan@archlinux.org>
55207
55208 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
55209 (LDFLAGS-reldepmod5.so): Likewise.
55210 (LDFLAGS-reldep6mod1.so): Likewise.
55211 (LDFLAGS-reldep6mod4.so): Likewise.
55212 (LDFLAGS-reldep8mod3.so): Likewise.
55213 (LDFLAGS-unload4mod1.so): Likewise.
55214 (LDFLAGS-unload4mod2.so): Likewise.
55215 (LDFLAGS-tst-initorder): Likewise.
55216 (LDFLAGS-tst-initordera2.so): Likewise.
55217 (LDFLAGS-tst-initordera3.so): Likewise.
55218 (LDFLAGS-tst-initordera4.so): Likewise.
55219 (LDFLAGS-tst-initorderb2.so): Likewise.
55220 (LDFLAGS-noload): Likewise.
55221 (LDFLAGS-next): Likewise.
55222 (LDFLAGS-order2mod1.so): Likewise.
55223 (LDFLAGS-order2mod2.so): Likewise.
55224 (LDFLAGS-tst-initorder2): Likewise.
55225 (LDFLAGS-tst-initorder2a.so): Likewise.
55226 (LDFLAGS-tst-initorder2b.so): Likewise.
55227 (LDFLAGS-tst-initorder2c.so): Likewise.
55228 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
55229
55230 2012-05-02 David S. Miller <davem@davemloft.net>
55231
55232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55233
55234 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
55235
55236 [BZ #14055]
55237 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
55238
55239 2012-05-02 Andreas Jaeger <aj@suse.de>
55240
55241 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
55242 since we manipulate rounding mode.
55243 (CPPFLAGS-test-idouble.c): Likewise.
55244 (CPPFLAGS-test-ifloat.c): Likewise.
55245 (CFLAGS-test-ldouble.c): Likewise.
55246 (CFLAGS-test-double.c): Likewise.
55247 (CFLAGS-test-float.c): Likewise.
55248 (CFLAGS-test-misc.c): Likewise.
55249 (CFLAGS-test-test-fenv.c): Likewise.
55250
55251 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55252
55253 [BZ #2550]
55254 [BZ #2570]
55255 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
55256 comparisons to determine direction to adjust input.
55257
55258 2012-05-01 Roland McGrath <roland@hack.frob.com>
55259
55260 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
55261 output to the target.
55262
55263 * scripts/localplt.awk: New file.
55264 * elf/Makefile ($(objpfx)check-localplt): Target removed.
55265 (check-localplt-CFLAGS): Variable removed.
55266 ($(all-built-dso:=.jmprel)): New static pattern rule.
55267 (generated): Add those targets.
55268 (localplt-built-dso): New variable.
55269 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
55270
55271 * elf/check-localplt.c: File removed.
55272
55273 * scripts/check-execstack.awk: New file.
55274 * elf/Makefile ($(objpfx)check-execstack): Target removed.
55275 (check-execstack-CFLAGS): Variable removed.
55276 ($(objpfx)check-execstack.h): Target removed.
55277 ($(objpfx)execstack-default): New target.
55278 (generated): Add that instead of check-execstack.h.
55279 ($(all-built-dso:=.phdr)): New static pattern rule.
55280 (generated): Add those targets.
55281 * elf/check-execstack.c: File removed.
55282
55283 * scripts/check-textrel.awk: New file.
55284 * elf/Makefile ($(objpfx)check-textrel): Target removed.
55285 (check-textrel-CFLAGS): Variable removed.
55286 (all-built-dso): Use := to define.o
55287 ($(all-built-dso:=.dyn)): New static pattern rule.
55288 (generated): Add those targets.
55289 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
55290 * config.make.in (READELF): New substituted variable.
55291 * elf/check-textrel.c: File removed.
55292
55293 2012-05-01 Joseph Myers <joseph@codesourcery.com>
55294
55295 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55296 allow.
55297 * conform/data/ctype.h-data [C99-based standards] (isblank):
55298 Expect function.
55299 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
55300 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
55301 [ISO || ISO99 || ISO11] (*_t): Do not allow.
55302 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
55303 Specify type. Require positive value.
55304 (EILSEQ): Likewise.
55305 (ERANGE): Likewise.
55306 [ISO || POSIX] (EILSEQ): Do not expect.
55307 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
55308 Specify type. Require positive value.
55309 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
55310 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
55311 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
55312 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
55313 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
55314 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
55315 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
55316 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
55317 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
55318 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
55319 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
55320 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
55321 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
55322 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
55323 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
55324 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
55325 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
55326 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
55327 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
55328 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
55329 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
55330 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
55331 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
55332 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
55333 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
55334 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
55335 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
55336 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
55337 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
55338 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
55339 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
55340 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
55341 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
55342 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
55343 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
55344 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
55345 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
55346 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
55347 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
55348 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
55349 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
55350 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
55351 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
55352 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
55353 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
55354 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
55355 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
55356 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
55357 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
55358 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
55359 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
55360 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
55361 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
55362 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
55363 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
55364 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
55365 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
55366 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
55367 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
55368 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
55369 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
55370 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
55371 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
55372 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
55373 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
55374 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
55375 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
55376 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
55377 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
55378 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
55379 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
55380 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
55381 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
55382 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
55383 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
55384 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
55385 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
55386 Require >= 2.
55387 (FLT_ROUNDS): Expect as macro, not constant.
55388 (FLT_MANT_DIG): Use macro-int-constant.
55389 (DBL_MANT_DIG): Likewise.
55390 (LDBL_MANT_DIG): Likewise.
55391 (FLT_DIG): Likewise.
55392 (DBL_DIG): Likewise.
55393 (LDBL_DIG): Likewise.
55394 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
55395 (DBL_MIN_EXP): Likewise.
55396 (LDBL_MIN_EXP): Likewise.
55397 (FLT_MAX_EXP): Use macro-int-constant.
55398 (DBL_MAX_EXP): Likewise.
55399 (LDBL_MAX_EXP): Likewise.
55400 (FLT_MAX_10_EXP): Likewise.
55401 (DBL_MAX_10_EXP): Likewise.
55402 (LDBL_MAX_10_EXP): Likewise.
55403 (FLT_MAX): Use macro-constant.
55404 (DBL_MAX): Likewise.
55405 (LDBL_MAX): Likewise.
55406 (FLT_EPSILON): Use macro-constant. Give upper bound.
55407 (DBL_EPSILON): Likewise.
55408 (LDBL_EPSILON): Likewise.
55409 (FLT_MIN): Likewise.
55410 (DBL_MIN): Likewise.
55411 (LDBL_MIN): Likewise.
55412 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
55413 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
55414 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
55415 [ISO11] (FLT_HAS_SUBNORM): Likewise.
55416 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
55417 [ISO11] (DBL_DECIMAL_DIG): Likewise.
55418 [ISO11] (FLT_DECIMAL_DIG): Likewise.
55419 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
55420 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
55421 [ISO11] (FLT_TRUE_MIN): Likewise.
55422 [ISO11] (LDBL_TRUE_MIN): Likewise.
55423 [ISO || ISO99 || ISO11] (*_t): Do not allow.
55424 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
55425 (SCHAR_MIN): Use macro-int-constant. Specify type.
55426 (SCHAR_MAX): Likewise.
55427 (UCHAR_MAX): Likewise.
55428 (CHAR_MIN): Likewise.
55429 (CHAR_MAX): Likewise.
55430 (MB_LEN_MAX): Use macro-int-constant.
55431 (SHRT_MIN): Use macro-int-constant. Specify type.
55432 (SHRT_MAX): Likewise.
55433 (USHRT_MAX): Likewise.
55434 (INT_MAX): Likewise.
55435 (INT_MIN): Use macro-int-constant. Specify type. Make upper
55436 bound negative.
55437 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
55438 bound with "U".
55439 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
55440 bound with "L".
55441 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
55442 bound negative. Suffix upper bound with "L".
55443 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
55444 bound with "UL".
55445 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
55446 Specify type.
55447 [C99-based standards] (LLONG_MAX): Likewise.
55448 [C99-based standards] (ULLONG_MAX): Likewise.
55449 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
55450 == 0.
55451 [ISO11] (max_align_t): Require type.
55452 [ISO || ISO99 || ISO11] (*_t): Do not allow.
55453
55454 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
55455 from $CFLAGS, without defining away __attribute__ calls.
55456 (checknamespace): Use $CFLAGS_namespace.
55457
55458 * conform/conformtest.pl (@keywords): Only include C99 keywords
55459 for standards based on C99 or C11.
55460
55461 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
55462 Disable tests.
55463 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
55464 UNIX98]: Likewise.
55465
55466 * conform/conformtest.pl: Handle "macro-int-constant" and test for
55467 usability of symbols in #if.
55468
55469 * conform/conformtest.pl: If macro or constant types start
55470 "promoted:", expect the symbol to be of the following type
55471 promoted by the integer promotions.
55472
55473 * conform/conformtest.pl: Parse all "constant" and "macro" lines
55474 in one place. Also handle "macro-constant".
55475
55476 * conform/conformtest.pl: Only accept expected macro values with
55477 "==". Parse all "macro" lines in one place.
55478 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
55479
55480 * conform/conformtest.pl: Handle braced types on "constant" lines
55481 instead of handling "typed-constant".
55482 * conform/data/signal.h-data: Use "constant" instead of
55483 "typed-constant".
55484
55485 * conform/conformtest.pl: Handle "optional-" at start of lines in
55486 one place rather than duplicating several cases. Handle each
55487 format of "macro" line with initial "optional-".
55488
55489 * conform/conformtest.pl: Only accept expected constant or
55490 optional-constant values with "==". Parse all "constant" lines in
55491 one place. Parse all "optional-constant" lines in one place.
55492 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
55493 * conform/data/fmtmsg.h-data: Likewise.
55494 * conform/data/netinet/in.h-data: Likewise.
55495 * conform/data/tar.h-data: Likewise.
55496 * conform/data/limits.h-data: Use "==" form on "constant" and
55497 "optional-constant" lines.
55498
55499 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
55500 Use -std=c99 for XOPEN2K.
55501 (@knownproblems): Remove.
55502 (newtoken): Don't check %isknown.
55503
55504 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
55505 Do not expect macro.
55506 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
55507 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
55508 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
55509 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
55510 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
55511 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
55512 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
55513 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
55514 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
55515 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
55516 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
55517 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
55518 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
55519 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
55520 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
55521 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
55522 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
55523 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
55524 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
55525 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
55526 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
55527 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
55528 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
55529 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
55530 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
55531 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
55532 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
55533 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
55534 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
55535 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
55536 [XPG3] (acosh): Likewise.
55537 [XPG3] (asinh): Likewise.
55538 [XPG3] (atanh): Likewise.
55539 [XPG3] (cbrt): Likewise.
55540 [XPG3] (expm1): Likewise.
55541 [XPG3] (ilogb): Likewise.
55542 [XPG3] (log1p): Likewise.
55543 [XPG3] (logb): Likewise.
55544 [XPG3] (nextafter): Likewise.
55545 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
55546 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
55547 [XPG3] (remainder): Likewise.
55548 [XPG3] (rint): Likewise.
55549 [XPG3 || XPG4 || UNIX98] (round): Likewise.
55550 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
55551 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
55552 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
55553 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
55554 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
55555 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
55556 [UNIX98 || XOPEN2K] (scalb): Expect.
55557 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
55558 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
55559 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
55560 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
55561 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
55562 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
55563 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
55564 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
55565 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
55566 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
55567 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
55568 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
55569 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
55570 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
55571 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
55572 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
55573 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
55574 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
55575 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
55576 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
55577 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
55578 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
55579 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
55580 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
55581 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
55582 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
55583 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
55584 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
55585 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
55586 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
55587 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
55588 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
55589 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
55590 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
55591 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
55592 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
55593 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
55594 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
55595 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
55596 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
55597 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
55598 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
55599 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
55600 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
55601 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
55602 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
55603 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
55604 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
55605 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
55606 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
55607 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
55608 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
55609 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
55610 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
55611 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
55612 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
55613 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
55614 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
55615 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
55616 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
55617 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
55618 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
55619 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
55620 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
55621 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
55622 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
55623 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
55624 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
55625 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
55626 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
55627 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
55628 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
55629 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
55630 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
55631 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
55632 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
55633 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
55634 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
55635 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
55636 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
55637 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
55638 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
55639 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
55640 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
55641 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
55642 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
55643 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
55644 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
55645 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
55646 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
55647 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
55648 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
55649 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
55650 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
55651 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
55652 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
55653 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
55654 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
55655 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
55656 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
55657 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
55658 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
55659 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
55660 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
55661 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
55662 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
55663 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
55664 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
55665 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
55666 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
55667 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
55668 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
55669 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
55670 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
55671 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
55672 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
55673 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
55674 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
55675 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
55676 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
55677 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
55678 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
55679 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
55680 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
55681 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
55682 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
55683 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
55684 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
55685 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
55686 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
55687 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
55688 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
55689 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
55690 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
55691 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
55692 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
55693 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
55694
55695 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
55696 _XOPEN_SOURCE_EXTENDED for XPG4.
55697
55698 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
55699
55700 * Makeconfig (localtime): Remove variable.
55701 (inst_localtime-file): Likewise.
55702
55703 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
55704
55705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
55706 Update.
55707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55708 Update.
55709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
55710 Update.
55711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
55712 Update.
55713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
55714 Update.
55715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
55716 Update.
55717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55718 Update.
55719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
55720 Update.
55721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
55722 Update.
55723
55724 2012-05-01 Joseph Myers <joseph@codesourcery.com>
55725
55726 [BZ #2550]
55727 [BZ #2570]
55728 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
55729 comparisons to determine direction to adjust input.
55730 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
55731 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
55732 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
55733 Likewise.
55734 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
55735 Likewise.
55736 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
55737 Likewise.
55738 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
55739 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
55740 Likewise.
55741 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
55742 Likewise.
55743 * math/libm-test.inc (nexttoward_test): Add more tests.
55744
55745 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
55746
55747 [BZ #14040]
55748 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
55749 in version GLIBC_2.1, not GLIBC_2.0.
55750 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
55751 Likewise.
55752
55753 2012-04-30 Joseph Myers <joseph@codesourcery.com>
55754
55755 [BZ #13942]
55756 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
55757 (1 - x) * (1 + x).
55758 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
55759 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
55760 * math/libm-test.inc (acos_test): Add more tests.
55761 (asin_test): Likewise.
55762 * sysdeps/i386/fpu/libm-test-ulps: Update.
55763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55764
55765 [BZ #14034]
55766 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
55767 of square root.
55768 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
55769 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
55770 * math/libm-test.inc (acos_test_tonearest): New function.
55771 (acos_test_towardzero): Likewise.
55772 (acos_test_downward): Likewise.
55773 (acos_test_upward): Likewise.
55774 (asin_test_tonearest): Likewise.
55775 (asin_test_towardzero): Likewise.
55776 (asin_test_downward): Likewise.
55777 (asin_test_upward): Likewise.
55778 (main): Call the new functions.
55779 * sysdeps/i386/fpu/libm-test-ulps: Update.
55780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55781
55782 [BZ #13884]
55783 [BZ #13924]
55784 * math/e_exp10.c: Include <float.h>.
55785 (__ieee754_exp10): Handle underflow here rather than multiplying
55786 large negative argument by M_LN10.
55787 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
55788 of __ieee754_expf.
55789 * math/e_exp10l.c: Include <float.h>.
55790 (__ieee754_exp10l): Handle underflow here rather than multiplying
55791 large negative argument by M_LN10l.
55792 * math/libm-test.inc (exp10_test): Add another test. Do not allow
55793 spurious overflow exception on underflow.
55794
55795 2012-04-29 Marek Polacek <polacek@redhat.com>
55796
55797 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
55798 (__fortify_function): New macro.
55799 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
55800 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
55801 __extern_always_inline.
55802 * libio/bits/stdio2.h: Likewise.
55803 * libio/bits/stdio.h: Likewise.
55804 * string/string.h: Likewise.
55805 * string/bits/string3.h: Likewise.
55806 * include/stdio.h: Likewise.
55807 * stdlib/bits/stdlib.h: Likewise.
55808 * stdlib/stdlib.h: Likewise.
55809 * rt/bits/mqueue2.h: Likewise.
55810 * rt/mqueue.h: Likewise.
55811 * posix/bits/unistd.h: Likewise.
55812 * posix/unistd.h: Likewise.
55813 * io/bits/poll2.h: Likewise.
55814 * io/bits/fcntl2.h: Likewise.
55815 * io/fcntl.h: Likewise.
55816 * io/sys/poll.h: Likewise.
55817 * misc/bits/syslog.h: Likewise.
55818 * misc/bits/syslog-ldbl.h: Likewise.
55819 * misc/sys/syslog.h: Likewise.
55820 * socket/bits/socket2.h: Likewise.
55821 * socket/sys/socket.h: Likewise.
55822 * debug/tst-chk1.c: Likewise.
55823 * wcsmbs/bits/wchar2.h: Likewise.
55824 * wcsmbs/bits/wchar-ldbl.h: Likewise.
55825 * wcsmbs/wchar.h: Likewise.
55826
55827 2012-04-29 Andreas Jaeger <aj@suse.de>
55828
55829 * Makerules (tests): Remove enable-check-abi protection.
55830 (check-abi-warn): Remove.
55831 (check-abi-%): Remove check-abi-warn usage.
55832
55833 * configure.in: Remove check-abi configure option.
55834 * configure: Regenerated.
55835 * config.make.in (enable-check-abi): Remove.
55836
55837 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
55838
55839 [BZ #14033]
55840 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
55841 double functions to double *_finite functions.
55842
55843 [BZ #13941]
55844 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
55845 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
55846 LDBL_MIN_EXP.
55847 * stdio-common/Makefile (tests): Add tst-sprintf3.
55848 * stdio-common/tst-sprintf3.c: New file.
55849
55850 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
55851 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
55852
55853 2012-04-28 Joseph Myers <joseph@codesourcery.com>
55854
55855 * conform/conformtest.pl: Remove duplicate typed-constant
55856 handling.
55857
55858 2012-04-28 David S. Miller <davem@davemloft.net>
55859
55860 * Makerules (%.abilist): Add vpath on sysdep_dirs.
55861 (check-abi-%): Remove AWK script prerequisite and explicit
55862 abilist directory.
55863 (check-abi): Rewrite to just diff the symlist with the abilist.
55864 (config-tls, config-abi-config): Delete, no longer used.
55865 (update-abi-%): Remove AWK script and explicit abilist directory.
55866 (update-abi): Rewrite to simply compare and conditionally copy the
55867 symlist and the sysdep abilist file. Remove update-abi-config
55868 checks.
55869 * abilist/ld.abilist: Remove.
55870 * abilist/libBrokenLocale.abilist: Remove.
55871 * abilist/libanl.abilist: Remove.
55872 * abilist/libcrypt.abilist: Remove.
55873 * abilist/libdl.abilist: Remove.
55874 * abilist/librt.abilist: Remove.
55875 * abilist/libthread_db.abilist: Remove.
55876 * abilist/libutil.abilist: Remove.
55877 * scripts/extract-abilist.awk: Remove.
55878 * scripts/merge-abilist.awk: Remove.
55879 * sysdeps/generic/libcidn.abilist: New file.
55880 * sysdeps/generic/libnss_compat.abilist: New file.
55881 * sysdeps/generic/libnss_db.abilist: New file.
55882 * sysdeps/generic/libnss_dns.abilist: New file.
55883 * sysdeps/generic/libnss_files.abilist: New file.
55884 * sysdeps/generic/libnss_hesiod.abilist: New file.
55885 * sysdeps/generic/libnss_nis.abilist: New file.
55886 * sysdeps/generic/libnss_nisplus.abilist: New file.
55887 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
55888 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
55889 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
55890 file.
55891 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
55892 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
55893 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
55894 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
55895 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
55896 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
55897 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
55898 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
55899 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
55900 file.
55901 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
55902 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
55903 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
55904 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
55905 file.
55906 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
55907 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
55908 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
55909 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
55910 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
55911 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
55912 file.
55913 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
55914 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
55915 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
55916 file.
55917 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
55918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
55919 New file.
55920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
55921 New file.
55922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
55923 New file.
55924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
55925 New file.
55926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
55927 New file.
55928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
55929 New file.
55930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
55931 New file.
55932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
55933 New file.
55934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
55935 New file.
55936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
55937 New file.
55938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
55939 New file.
55940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
55941 New file.
55942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
55943 New file.
55944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
55945 file.
55946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
55947 New file.
55948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
55949 New file.
55950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
55951 file.
55952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
55953 New file.
55954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
55955 New file.
55956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
55957 file.
55958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
55959 New file.
55960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
55961 New file.
55962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
55963 New file.
55964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
55965 New file.
55966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
55967 New file.
55968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
55969 New file.
55970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
55971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
55972 file.
55973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
55974 New file.
55975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
55976 file.
55977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
55978 file.
55979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
55980 file.
55981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
55982 file.
55983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
55984 file.
55985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55986 New file.
55987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
55988 file.
55989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
55990 file.
55991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
55992 New file.
55993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
55994 file.
55995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
55996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
55997 file.
55998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
55999 New file.
56000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
56001 file.
56002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
56003 file.
56004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
56005 file.
56006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
56007 file.
56008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
56009 file.
56010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56011 New file.
56012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
56013 file.
56014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
56015 file.
56016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
56017 New file.
56018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
56019 file.
56020 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56021 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
56022 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
56023 file.
56024 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
56025 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
56026 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
56027 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
56028 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
56029 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
56030 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
56031 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
56032 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
56033 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
56034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
56035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
56036 file.
56037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
56038 New file.
56039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
56040 file.
56041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
56042 file.
56043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
56044 file.
56045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
56046 file.
56047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
56048 file.
56049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
56050 New file.
56051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
56052 New file.
56053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
56054 file.
56055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
56056 New file.
56057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
56058 file.
56059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
56060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
56061 file.
56062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
56063 New file.
56064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
56065 file.
56066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
56067 file.
56068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
56069 file.
56070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
56071 file.
56072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
56073 file.
56074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
56075 New file.
56076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
56077 New file.
56078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
56079 file.
56080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
56081 New file.
56082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
56083 file.
56084
56085 2012-04-28 Joseph Myers <joseph@codesourcery.com>
56086
56087 * conform/conformtest.pl: Fix typo in handling typed-constant from
56088 allow-header.
56089
56090 2012-04-27 Joseph Myers <joseph@codesourcery.com>
56091
56092 * README: Cut down references to pre-2.6 Linux kernels and
56093 Linuxthreads. Update lists of configurations in libc and ports
56094 and sort alphabetically. Say "or newer" with Linux kernel version
56095 requirements.
56096
56097 * config.h.in [IS_IN_build]: Allow compiling without optimization.
56098
56099 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
56100
56101 [BZ #887]
56102 * math/libm-test.inc (logb_test_downward): New test to expose
56103 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
56104 rounding mode.
56105
56106 2012-04-27 Joseph Myers <joseph@codesourcery.com>
56107
56108 [BZ #14027]
56109 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
56110 to be done.
56111 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
56112 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
56113
56114 2012-04-26 Joseph Myers <joseph@codesourcery.com>
56115
56116 * sysdeps/unix/i386/brk.S: Remove file.
56117 * sysdeps/unix/i386/dl-brk.S: Likewise.
56118 * sysdeps/unix/i386/pipe.S: Likewise.
56119 * sysdeps/unix/i386/sigreturn.S: Likewise.
56120 * sysdeps/unix/i386/syscall.S: Likewise.
56121 * sysdeps/unix/i386/vfork.S: Likewise.
56122 * sysdeps/unix/i386/wait.S: Likewise.
56123
56124 * sysdeps/unix/common/tcsendbrk.c: Move to ...
56125 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
56126
56127 * configure.in (arm*-none*): Do not allow without
56128 --enable-hacker-mode.
56129 (netbsd*): Remove case setting base_os.
56130 (386bsd*): Likewise.
56131 (freebsd*): Likewise.
56132 (bsdi*): Likewise.
56133 (osf*): Likewise.
56134 (sunos*): Likewise.
56135 (ultrix*): Likewise.
56136 (newsos*): Likewise.
56137 (dynix*): Likewise.
56138 (*bsd*): Likewise.
56139 (sysv*): Likewise.
56140 (isc*): Likewise.
56141 (esix*): Likewise.
56142 (sco*): Likewise.
56143 (minix*): Likewise.
56144 (irix4*): Likewise.
56145 (irix6*): Likewise.
56146 (solaris[2-9]*): Likewise.
56147 (none): Likewise.
56148 * configure: Regenerated.
56149
56150 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56151
56152 [BZ #11521]
56153 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
56154 overflow or cancellation in calculating denominator.
56155 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
56156 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
56157 down expression to avoid unexpected rounding in newer GCCs.
56158 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
56159
56160 2012-04-26 David S. Miller <davem@davemloft.net>
56161
56162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
56163 long-double compat symbols.
56164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
56168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
56170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
56171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
56172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
56173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
56174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
56175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
56176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56177
56178 2012-04-25 David S. Miller <davem@davemloft.net>
56179
56180 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
56181 HWCAP_* values only after the memory barriers have been defined.
56182 (atomic_full_barrier): Define.
56183 (atomic_read_barrier): Define.
56184 (atomic_write_barrier): Define.
56185
56186 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
56187
56188 * shlib-versions: Add libgcc_s version information.
56189 * sysdeps/generic/libgcc_s.h: Remove.
56190 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
56191 libgcc_s.h.
56192 * sysdeps/gnu/unwind-resume.c: Likewise.
56193 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
56194
56195 2012-04-25 David S. Miller <davem@davemloft.net>
56196
56197 * sysdeps/unix/sparc/brk.S: Delete.
56198 * sysdeps/unix/sparc/dl-brk.S: Delete.
56199 * sysdeps/unix/sparc/pipe.S: Delete.
56200 * sysdeps/unix/sparc/sysdep.S: Delete.
56201 * sysdeps/unix/sparc/sysdep.h: Delete.
56202 * sysdeps/unix/sparc/vfork.S: Delete.
56203 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
56204 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
56205 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
56206 (ret_ERRVAL, r0, r1, MOVE): Define.
56207 (JUMPTARGET): Remove.
56208 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
56209 sysdeps/unix/sparc/sysdep.h
56210 (ENTRY, END): Remove.
56211 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56212
56213 2012-04-25 Joseph Myers <joseph@codesourcery.com>
56214
56215 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
56216 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
56217 -DIS_IN_build.
56218
56219 * timezone/README: Update upstream location and email address for
56220 tzcode and tzdata.
56221 * timezone/zdump.c: Update from tzcode 2012b.
56222 * timezone/zic.c: Likewise.
56223
56224 * configure.in (libc_cv_as_needed): Remove test.
56225 * configure: Regenerated.
56226 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
56227 conditional definition.
56228 [$(have-as-needed) != yes] (no-as-needed): Likewise.
56229 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
56230 * config.make.in (have-as-needed): Remove variable.
56231
56232 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
56233 Paul Pluzhnikov <ppluzhnikov@google.com>
56234
56235 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
56236 strings correctly.
56237
56238 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
56239
56240 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
56241 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
56242 * sysdeps/sh/strlen.S: Likewise.
56243
56244 2012-04-24 Joseph Myers <joseph@codesourcery.com>
56245
56246 * sysdeps/unix/fork.S: Remove file.
56247 * sysdeps/unix/i386/fork.S: Likewise.
56248 * sysdeps/unix/sparc/fork.S: Likewise.
56249
56250 * sysdeps/unix/system.c: Remove file.
56251 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
56252
56253 * sysdeps/unix/getegid.S: Remove file.
56254 * sysdeps/unix/geteuid.S: Likewise.
56255
56256 2012-04-24 Roland McGrath <roland@hack.frob.com>
56257
56258 * scripts/check-localplt.awk: New file.
56259 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
56260 of diff.
56261 * scripts/data/localplt-generic.data: Add a comment.
56262
56263 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
56264 NODE when __dir_mkfile failed.
56265 * sysdeps/mach/hurd/symlinkat.c: Likewise.
56266 Reported by Ludovic Courtès <ludo@gnu.org>.
56267
56268 2012-04-24 Andreas Jaeger <aj@suse.de>
56269
56270 * Makerules (common-clean): Also remove gen-as-const-headers
56271 files.
56272
56273 2012-04-24 Joseph Myers <joseph@codesourcery.com>
56274
56275 * Makerules (native-compile): Do not change working directory for
56276 build. Use $(OUTPUT_OPTION) in command.
56277 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
56278
56279 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56280
56281 [BZ #13886]
56282 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
56283 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
56284 * math/libm-test.inc (floor_test): Add more tests.
56285 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
56286
56287 2012-04-24 Joseph Myers <joseph@codesourcery.com>
56288
56289 * sysdeps/unix/getdents.c: Remove file.
56290 * sysdeps/unix/sysv/getdents.c: Likewise.
56291 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
56292
56293 * sysdeps/unix/syscalls.list (madvise): Add syscall from
56294 sysdeps/unix/mman/syscalls.list.
56295 (mmap): Likewise.
56296 (mprotect): Likewise.
56297 (msync): Likewise.
56298 (munmap): Likewise.
56299 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
56300 * sysdeps/unix/mman/syscalls.list: Remove.
56301 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
56302
56303 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
56304 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
56305 * configure: Regenerated.
56306 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
56307 $(libgcc_s_suffix).
56308 * config.make.in (libgcc_s_suffix): Remove variable.
56309
56310 2012-04-23 Joseph Myers <joseph@codesourcery.com>
56311
56312 * sysdeps/unix/sysv/gethostname.c: Move to ...
56313 * sysdeps/posix/gethostname.c: ... here.
56314
56315 * sysdeps/unix/execve.S: Remove file.
56316
56317 * sysdeps/unix/_exit.S: Remove file.
56318
56319 2012-04-23 Andreas Jaeger <aj@suse.de>
56320
56321 [BZ #13739]
56322 * manual/Makefile: Remove make dist support, there's no
56323 need for a stand-alone documentation tar ball.
56324 (TEXI2DVI): Define always, it's not in Makeconfig.
56325 (dist): Removed.
56326 (tar-it): Removed.
56327 (edition): Removed.
56328 (glibc-doc-$(edition).tar): Removed
56329 (%.Z): Removed.
56330 (%.gz): Removed.
56331 (%.uu): Removed.
56332 (ETAGS): Remove, it's in Makeconfig.
56333 (move-if-change): Remove, it's in Makeconfig.
56334
56335 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
56336
56337 [BZ #13970]
56338 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
56339 (strtod, strtof, strtold, strtol, strtoul, strtoq)
56340 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
56341 (strtod_l, strtof_l, strtold_l): Remove __wur.
56342 It is not necessarily an error to ignore strtol's return value.
56343 One can reliably look at the stored endptr to decide whether
56344 the number had valid syntax.
56345
56346 2012-04-21 Andreas Jaeger <aj@suse.de>
56347
56348 [BZ #13739]
56349 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
56350
56351 2012-04-21 Joseph Myers <joseph@codesourcery.com>
56352
56353 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
56354 * sysdeps/unix/sysv/Versions: Remove file.
56355
56356 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
56357
56358 [BZ #13927]
56359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56360
56361 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
56362
56363 [BZ #7064]
56364 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
56365 version from __vm86.
56366
56367 2012-04-20 Joseph Myers <joseph@codesourcery.com>
56368
56369 * sysdeps/unix/common/lxstat.c: Remove file.
56370 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
56371
56372 * sysdeps/unix/sysv/Makefile: Remove file.
56373
56374 * sysdeps/unix/sysv/direct.h: Remove file.
56375
56376 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
56377 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
56378 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
56379 * sysdeps/unix/sysv/bits/signum.h: Likewise.
56380 * sysdeps/unix/sysv/bits/stat.h: Likewise.
56381 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
56382 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
56383
56384 * sysdeps/unix/sysv/setrlimit.c: Remove file.
56385
56386 * sysdeps/unix/xmknod.c: Remove file.
56387 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
56388
56389 * sysdeps/unix/sysv/settimeofday.c: Remove file.
56390
56391 * sysdeps/unix/sysv/i386/time.S: Remove file.
56392
56393 * sysdeps/unix/fxstat.c: Remove file.
56394 * sysdeps/unix/xstat.c: Likewise.
56395 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
56396
56397 * sysdeps/unix/sysv/sigaction.c: Remove file.
56398
56399 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
56400 (sysdep_headers): Remove variable.
56401 [termio.h not in sysdep_headers] (generated): Likewise.
56402 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
56403 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
56404 * sysdeps/unix/sysv/tcdrain.c: Likewise.
56405 * sysdeps/unix/sysv/tcflow.c: Likewise.
56406 * sysdeps/unix/sysv/tcflush.c: Likewise.
56407 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
56408 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
56409 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
56410 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
56411 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
56412
56413 * sysdeps/unix/siglist.c: Remove file.
56414
56415 * sysdeps/unix/getppid.S: Remove file.
56416
56417 * sysdeps/unix/mkdir.c: Remove file.
56418 * sysdeps/unix/rmdir.c: Likewise.
56419
56420 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
56421
56422 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
56423 ERR_MAX value.
56424 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
56425 errlist-compat value.
56426
56427 2012-04-18 David S. Miller <davem@davemloft.net>
56428
56429 * sysdeps/generic/memcopy.h (reg_char): Delete.
56430 * debug/strcat_chk.c: Use char, not reg_char.
56431 * debug/strcpy_chk.c: Likewise.
56432 * debug/strncat_chk.c: Likewise.
56433 * debug/strncpy_chk.c: Likewise.
56434 * string/memchr.c: Likewise.
56435 * string/memrchr.c: Likewise.
56436 * string/rawmemchr.c: Likewise.
56437 * string/strcat.c: Likewise.
56438 * string/strchr.c: Likewise.
56439 * string/strchrnul.c: Likewise.
56440 * string/strcmp.c: Likewise.
56441 * string/strcpy.c: Likewise.
56442 * string/strncat.c: Likewise.
56443 * string/strncmp.c: Likewise.
56444 * string/strncpy.c: Likewise.
56445
56446 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
56447
56448 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
56449 __builtin_memcopy is called when src and dest ranges are known to not
56450 overlap.
56451
56452 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
56453
56454 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
56455 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
56456 fwd_align_merge macro call.
56457 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
56458 bwd_align_merge macro call.
56459 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
56460
56461 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
56462
56463 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
56464 bwd_align_merge macros.
56465 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
56466 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
56467 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
56468
56469 2012-04-18 David S. Miller <davem@davemloft.net>
56470
56471 * sysdeps/sparc/sparc64/memcopy.h: Delete.
56472
56473 2012-04-18 Andreas Jaeger <aj@suse.de>
56474
56475 [BZ# 6794]
56476 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
56477 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
56478 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
56479
56480 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
56481 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
56482 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
56483
56484 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
56485 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
56486 Adjust for changed ldbl-128 files.
56487
56488 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
56489 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
56490 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
56491
56492 2012-04-17 David S. Miller <davem@davemloft.net>
56493
56494 * sysdeps/sparc/sparc32/memcopy.h: Delete.
56495
56496 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
56497
56498 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
56499 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
56500 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
56501 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
56502 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
56503 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
56504
56505 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56506
56507 [BZ #6794]
56508 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
56509 * math/libm-test.inc: Add ilogb errno and exception tests.
56510 * math/w_ilogb.c: New file: ilogb wrapper.
56511 * math/w_ilogbf.c: New file: ilogbf wrapper.
56512 * math/w_ilogbl.c: New file: ilogbl wrapper.
56513 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
56514 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
56515 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
56516 exception being thrown with 0.0 as argument.
56517 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
56518 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
56519 exception being thrown with 0.0 as argument.
56520 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
56521 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
56522 exception being thrown with 0.0 as argument.
56523 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
56524 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
56525 exception being thrown with 0.0 as argument.
56526 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
56527 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
56528 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
56529 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
56530 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
56531 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
56532 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
56533 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
56534 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
56535
56536 2012-04-17 Petr Baudis <pasky@ucw.cz>
56537
56538 * include/sys/uio.h: Change __vector to __iovec to avoid clash
56539 with altivec.
56540
56541 2012-04-16 Marek Polacek <polacek@redhat.com>
56542
56543 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
56544
56545 2012-04-16 Marek Polacek <polacek@redhat.com>
56546
56547 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
56548 operands of fdivp instruction.
56549
56550 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
56551
56552 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
56553 * elf/tst-auditmod3b.c: Likewise.
56554 * elf/tst-auditmod4b.c: Likewise.
56555 * elf/tst-auditmod5b.c: Likewise.
56556 * elf/tst-auditmod6b.c: Likewise.
56557 * elf/tst-auditmod6c.c: Likewise.
56558 * elf/tst-auditmod7b.c: Likewise.
56559 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
56560 * sysdeps/x86_64/preconfigure.in: Likewise.
56561 * sysdeps/x86_64/preconfigure: Regenerated.
56562
56563 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
56564
56565 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
56566 __ILP32__.
56567
56568 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
56569
56570 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56571 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
56572
56573 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
56574
56575 [BZ #13973]
56576 * locale/iso-639.def: Fix gl language name. Spotted by
56577 Yaron Shahrabani.
56578
56579 2012-04-12 Roland McGrath <roland@hack.frob.com>
56580
56581 [BZ #2074]
56582 * libio/libio.h (__io_write_fn): Update comment.
56583
56584 2012-04-12 Petr Baudis <pasky@ucw.cz>
56585
56586 [BZ #2074]
56587 * stdio.texi (Hook Functions): The user provided writer function
56588 is not allowed to return -1.
56589
56590 2012-04-11 David S. Miller <davem@davemloft.net>
56591
56592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56593
56594 2012-04-11 Mike Frysinger <vapier@gentoo.org>
56595
56596 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
56597 Add a leading slash to rtkaio.
56598
56599 2012-04-11 Jim Meyering <meyering@redhat.com>
56600
56601 [BZ #11959]
56602 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
56603 It is not necessarily an error to ignore fwrite's return
56604 value. One can reliably use ferror to test for errors after
56605 the fact.
56606
56607 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
56608
56609 * bits/types.h (__snseconds_t): New type.
56610 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
56611
56612 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
56613 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56614 (__SNSECONDS_T_TYPE): Likewise.
56615 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56616 (__SNSECONDS_T_TYPE): Likewise.
56617 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56618 (__SNSECONDS_T_TYPE): Likewise.
56619
56620 2012-04-10 Andreas Jaeger <aj@suse.de>
56621
56622 [BZ #2636]
56623 * manual/time.texi (Processor Time): Return type of times is
56624 elapsed real time since an arbitrary point in the past.
56625 (CPU Time): Move CLK_TCK from here...
56626 (Processor Time): ...to here. Correct description.
56627 * manual/conf.texi (Constants for Sysconf): Correct description of
56628 _SC_CLK_TCK.
56629
56630 2012-04-10 David S. Miller <davem@davemloft.net>
56631
56632 [BZ #13967]
56633 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
56634 where the is a gap between DT_REL(A) and DT_JMPREL.
56635
56636 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
56637
56638 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
56639 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
56640 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
56641
56642 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
56643
56644 * elf/dl-support.c (_dl_inhibit_cache): New variable.
56645 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
56646 (dl_main): Handle --inhibit-cache.
56647 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
56648 _dl_inhibit_cache.
56649 * elf/dl-load.c (_dl_map_object): Use it.
56650 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
56651
56652 2012-04-09 Joseph Myers <joseph@codesourcery.com>
56653
56654 [BZ #13872]
56655 * sysdeps/i386/fpu/e_powl.S (p78): New object.
56656 (__ieee754_powl): Saturate large exponents rather than testing for
56657 overflow of y*log2(x).
56658 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56659 * math/libm-test.inc (pow_test): Do not permit spurious overflow
56660 exceptions.
56661
56662 [BZ #11521]
56663 * math/s_ctan.c: Include <float.h>.
56664 (__ctan): Avoid internal overflow or cancellation in calculating
56665 denominator.
56666 * math/s_ctanf.c: Likewise.
56667 * math/s_ctanl.c: Likewise.
56668 * math/s_ctanh.c: Likewise.
56669 * math/s_ctanhf.c: Likewise.
56670 * math/s_ctanhl.c: Likewise.
56671 * math/libm-test.inc (ctan_test): Add more tests.
56672 (ctanh_test): Likewise.
56673 * sysdeps/i386/fpu/libm-test-ulps: Update.
56674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56675
56676 2012-04-09 Andreas Jaeger <aj@suse.de>
56677
56678 [BZ #6894]
56679 * manual/filesys.texi (Directory Entries): Mention that d_namlen
56680 is an optional BSD extension.
56681
56682 [BZ #10254]
56683 * manual/stdio.texi (Opening Streams): Document additional fopen
56684 parameters.
56685
56686 2012-04-09 Roland McGrath <roland@hack.frob.com>
56687
56688 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
56689 %eax without telling the compiler.
56690
56691 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
56692
56693 [BZ # 13963]
56694 * manual/install.texi: Use sourceware.org.
56695
56696 2012-04-09 Joseph Myers <joseph@codesourcery.com>
56697
56698 [BZ #13873]
56699 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
56700 (__ieee754_pow): Generate overflow and underflow using huge*huge
56701 and tiny*tiny rather than just returning constant infinity or zero
56702 for large exponents.
56703 * math/libm-test.inc (pow_test): Require overflow exceptions for
56704 applicable cases of large exponents.
56705
56706 [BZ #706]
56707 * sysdeps/i386/fpu/e_pow.S (p10): New object.
56708 (__ieee754_pow): Use iterative multiplication algorithm only for
56709 integer exponents with absolute value below 1024. Check for odd
56710 integer exponents when using algorithm for real exponents.
56711 * math/libm-test.inc (pow_test): Add more tests.
56712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56713
56714 2012-04-08 Joseph Myers <joseph@codesourcery.com>
56715
56716 [BZ #13705]
56717 * math/libm-test.inc (exp_test): Do not allow overflow exception
56718 on underflow test.
56719
56720 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
56721
56722 [BZ #13705]
56723 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
56724 instead of __kernel_standard_f.
56725
56726 2012-04-08 Mike Frysinger <vapier@gentoo.org>
56727
56728 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
56729 * sysdeps/x86_64/memset_chk.S: Likewise.
56730
56731 2012-04-08 Andreas Jaeger <aj@suse.de>
56732
56733 [BZ #10153]
56734 * manual/startup.texi (Environment Access): Describe return value
56735 for putenv and setenv.
56736
56737 [BZ #6895]
56738 * manual/filesys.texi (Directory Entries): Add description for
56739 DT_LNK.
56740
56741 [BZ #6890]
56742 * manual/filesys.texi (Directory Entries): Clarify that it's file
56743 system not operating system in the description of DT_UNKNOWN.
56744
56745 [BZ #6578]
56746 * manual/syslog.texi (closelog): Fix reference, it's openlog.
56747
56748 2012-04-08 Stephen Compall <s11@member.fsf.org>
56749
56750 [BZ #6649]
56751 * manual/llio.texi (Opening and Closing Files): Add cross
56752 reference to explain mode argument.
56753
56754 2012-04-07 Mike Frysinger <vapier@gentoo.org>
56755
56756 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
56757 * sysdeps/x86_64/memset_chk.S: Likewise.
56758
56759 2012-04-07 David S. Miller <davem@davemloft.net>
56760
56761 * elf/elf.h (R_SPARC_WDISP10): Define.
56762 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
56763 R_SPARC_SIZE32.
56764 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
56765 R_SPARC_SIZE64 and R_SPARC_H34.
56766
56767 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
56768
56769 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
56770 conditions and remove no longer applicable assertion.
56771
56772 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
56773
56774 * bits/byteswap.h: Include <features.h>.
56775 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
56776 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
56777
56778 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
56779
56780 * bits/byteswap.h (__bswap_16): Removed.
56781 Include <bits/byteswap-16.h> to get __bswap_16.
56782 * sysdeps/i386/bits/byteswap.h: Likewise.
56783 * sysdeps/s390/bits/byteswap.h: Likewise.
56784 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56785 * bits/byteswap-16.h: New file.
56786 * sysdeps/i386/bits/byteswap-16.h: Likewise.
56787 * sysdeps/s390/bits/byteswap-16.h: Likewise.
56788 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
56789 * string/Makefile (headers): Add bits/byteswap-16.h.
56790
56791 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
56792
56793 [BZ #13895]
56794 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
56795 extra indirection.
56796 * nss/Makefile (tests-static, tests): Add tst-nss-static.
56797 * nss/tst-nss-static.c: New.
56798
56799 2012-04-06 Robert Millan <rmh@gnu.org>
56800
56801 [BZ #6486]
56802 * manual/llio.texi (File Position Primitive): lseek
56803 refers to WHENCE when it really means OFFSET.
56804
56805 2012-04-06 Andreas Jaeger <aj@suse.de>
56806
56807 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
56808 strncmp declarations.
56809
56810 * abilist/libc.abilist: Add __poll and __ppoll.
56811
56812 2012-04-05 David S. Miller <davem@davemloft.net>
56813
56814 * scripts/check-local-headers.sh: Accept a host triplet in the
56815 path matched by the exclude regexp.
56816
56817 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
56818 definition.
56819 * sysdeps/powerpc/powerpc32/dl-machine.h
56820 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
56821 * sysdeps/s390/s390-32/dl-machine.h
56822 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
56823 * sysdeps/sparc/sparc32/dl-machine.h
56824 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
56825 * sysdeps/sparc/sparc64/dl-machine.h
56826 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
56827
56828 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
56829 lazy binding.
56830 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
56831 undefined symbol errors.
56832
56833 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
56834 DT_NEEDED entries.
56835
56836 2012-04-05 Michael Matz <matz@suse.de>
56837
56838 [BZ #13592]
56839 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
56840
56841 2012-04-05 Andreas Jaeger <aj@suse.de>
56842
56843 [BZ #13908]
56844 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
56845 comment.
56846
56847 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56848
56849 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
56850 which ROUND is no valid rounding mode.
56851
56852 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56853
56854 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
56855 read again.
56856 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
56857
56858 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56859
56860 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
56861 an exception using FPU order intentionally.
56862
56863 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56864
56865 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
56866 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
56867 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
56868 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
56869
56870 2012-04-05 Simon Josefsson <simon@josefsson.org>
56871
56872 [BZ #12340]
56873 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
56874 EINVAL when BUFLEN is too smal.
56875
56876 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
56877
56878 [BZ #13553]
56879 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
56880 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
56881
56882 2012-04-03 Andreas Jaeger <aj@suse.de>
56883
56884 [BZ #13938]
56885 * manual/setjmp.texi (System V contexts): Fix sentence.
56886
56887 [BZ #13926]
56888 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
56889 New macro for this case.
56890 [!__GNUC__] (__bswap_64): New inline function for this case.
56891 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56892 * bits/byteswap.h: Likewise.
56893 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
56894 ull, guard with __GLIBC_HAVE_LONG_LONG.
56895
56896 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
56897 __GLIBC_HAVE_LONG_LONG.
56898
56899 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
56900 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
56901
56902 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56903
56904 [BZ #13691]
56905 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
56906 inptr and inend, rather than using last_ch.
56907
56908 2012-04-02 David S. Miller <davem@davemloft.net>
56909
56910 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
56911 * stdio-common/printf-parse.h (read_int): Change return type to
56912 'int', return -1 on INT_MAX overflow.
56913 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
56914 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
56915 overflows INT_MAX. Check for overflow of in-format-string precision
56916 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
56917 SIZE_MAX not INT_MAX for integer overflow test.
56918 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
56919 skip the construct in the format string but do not record anything.
56920 * stdio-common/bug22.c: Adjust to test both width/prevision
56921 INT_MAX overflow as well as total length INT_MAX overflow. Check
56922 explicitly for proper errno values.
56923
56924 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
56925
56926 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
56927 CHAR_MAX.
56928 * string/test-strcmp.c [! WIDE]: Likewise.
56929 * time/tst-mktime2.c: Likewise for INT_MAX.
56930 * string/test-string.h: #include <sys/param.h> for MIN.
56931
56932 * csu/init-first.c (__libc_init_first): Call __ctype_init.
56933 * sysdeps/i386/init-first.c (init): Likewise.
56934 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
56935 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
56936 * sysdeps/sh/init-first.c (init): Likewise.
56937
56938 2012-04-01 Ulrich Drepper <drepper@gmail.com>
56939
56940 * po/ru.po: Update from translation team.
56941 * po/vi.po: Likewise.
56942
56943 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
56944
56945 * resolv/nss_dns/dns-host.c: Merge copyright years.
56946
56947 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56948
56949 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56950 Optimize memcpy with prefetch if
56951 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
56952 src, dst pointers have unequal 16 byte alignments.
56953
56954 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
56955
56956 [BZ #13928]
56957 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
56958 from a CNAME entry and return the minimum ttl for the query.
56959 (gaih_getanswer_slice): Likewise.
56960
56961 2012-03-30 Jeff Law <law@redhat.com>
56962
56963 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
56964 due to long keys.
56965 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
56966 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
56967
56968 * resolv/nss_dns/dns-host.c: Update copyright year.
56969
56970 2012-03-30 Ulrich Drepper <drepper@gmail.com>
56971
56972 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
56973 requests to save a system call. Fix check that all bytes are sent.
56974
56975 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
56976 comments for sendmmsg.
56977
56978 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56979
56980 [BZ #13691]
56981 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
56982 with only 1 character between 0x0041 and 0x01b0.
56983 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
56984 * wcsmbs/tst-mbsnrtowcs.c: New file.
56985
56986 2012-03-29 David S. Miller <davem@davemloft.net>
56987
56988 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
56989 small copies by hand.
56990
56991 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
56992
56993 [BZ #13761]
56994 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
56995 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
56996 group memberships.
56997
56998 2012-03-28 David S. Miller <davem@davemloft.net>
56999
57000 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
57001 that branches into memcpy.
57002 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
57003 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
57004 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57005 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
57006 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
57007 bits.
57008 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
57009 implementation too.
57010 * sysdeps/sparc/mempcpy.S: New file.
57011
57012 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
57013 the IFUNC routine in the libc case.
57014 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57015
57016 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
57017 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
57018 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
57019 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
57020 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
57021 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
57022 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
57023 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
57024
57025 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
57026 loop to 256 bytes instead of 64 bytes and fix test signedness.
57027
57028 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
57029 * sysdeps/sparc/sparc32/Makefile: rather than here...
57030 * sysdeps/sparc/sparc64/Makefile: and here.
57031
57032 2012-03-28 Ulrich Drepper <drepper@gmail.com>
57033
57034 * malloc/mallocbug.c: Avoid warnings about unused variables.
57035
57036 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
57037
57038 [BZ #13760]
57039 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
57040 in the right place. Discard and retry query if response is
57041 larger than input buffer size.
57042
57043 2012-03-28 Joseph Myers <joseph@codesourcery.com>
57044
57045 [BZ #369]
57046 [BZ #2678]
57047 [BZ #3866]
57048 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
57049 x for large integer exponent.
57050 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
57051 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
57052 sign of result as needed afterwards.
57053 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
57054 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
57055 result for underflowing pow the same as for overflow.
57056 (__kernel_standard_l): Handle powl overflow and underflow here
57057 rather than calling __kernel_standard.
57058 * math/libm-test.inc (pow_test): Add more tests.
57059
57060 [BZ #3868]
57061 [BZ #13879]
57062 [BZ #13910]
57063 [BZ #13911]
57064 [BZ #13912]
57065 [BZ #13913]
57066 [BZ #13915]
57067 [BZ #13916]
57068 [BZ #13917]
57069 [BZ #13918]
57070 [BZ #13919]
57071 [BZ #13920]
57072 [BZ #13921]
57073 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
57074 * sysdeps/ieee754/k_standard.c: Include <float.h>.
57075 (__kernel_standard_l): New function.
57076 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
57077 __kernel_standard.
57078 * math/w_acosl.c (__acosl): Likewise.
57079 * math/w_asinl.c (__asinl): Likewise.
57080 * math/w_atan2l.c (__atan2l): Likewise.
57081 * math/w_atanhl.c (__atanhl): Likewise.
57082 * math/w_coshl.c (__coshl): Likewise.
57083 * math/w_exp10l.c (__exp10l): Likewise.
57084 * math/w_exp2l.c (__exp2l): Likewise.
57085 * math/w_fmodl.c (__fmodl): Likewise.
57086 * math/w_hypotl.c (__hypotl): Likewise.
57087 * math/w_j0l.c (__j0l, __y0l): Likewise.
57088 * math/w_j1l.c (__j1l, __y1l): Likewise.
57089 * math/w_jnl.c (__jnl, __ynl): Likewise.
57090 * math/w_lgammal.c (__lgammal): Likewise.
57091 * math/w_log10l.c (__log10l): Likewise.
57092 * math/w_log2l.c (__log2l): Likewise.
57093 * math/w_logl.c (__logl): Likewise.
57094 * math/w_powl.c (__powl): Likewise.
57095 * math/w_remainderl.c (__remainderl): Likewise.
57096 * math/w_scalbl.c (sysv_scalbl): Likewise.
57097 * math/w_sinhl.c (__sinhl): Likewise.
57098 * math/w_sqrtl.c (__sqrtl): Likewise.
57099 * math/w_tgammal.c (__tgammal): Likewise.
57100 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
57101 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
57102 * math/libm-test.inc (acos_test): Add more tests.
57103 (acosh_test): Likewise.
57104 (asin_test): Likewise.
57105 (atanh_test): Likewise.
57106 (exp_test): Likewise.
57107 (exp10_test): Likewise.
57108 (exp2_test): Likewise.
57109 (expm1_test): Likewise.
57110 (lgamma_test): Likewise.
57111 (log_test): Likewise.
57112 (log10_test): Likewise.
57113 (log1p_test): Likewise.
57114 (log2_test): Likewise.
57115 (pow_test): Do not allow some spurious overflow exceptions.
57116 (sqrt_test): Add more tests.
57117 (tgamma_test): Likewise.
57118 (y0_test): Likewise.
57119 (y1_test): Likewise.
57120 (yn_test): Likewise.
57121
57122 2012-03-27 Anton Blanchard <anton@samba.org>
57123
57124 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
57125 MAP_HUGETLB.
57126 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57127 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
57128 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57129
57130 2012-03-27 David S. Miller <davem@davemloft.net>
57131
57132 * conform/Makefile: Run run-conformtest.sh using $(BASH).
57133
57134 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
57135 have-as-vis3 check.
57136
57137 2012-03-27 Andreas Jaeger <aj@suse.de>
57138
57139 * sysdeps/x86_64/elf/configure.in: Moved to ...
57140 * sysdeps/x86_64/configure.in: ... here.
57141 * sysdeps/x86_64/elf/start.S: Moved to ...
57142 * sysdeps/x86_64/start.S: ... here.
57143 * sysdeps/x86_64/elf/configure: Delete.
57144
57145 * sysdeps/x86_64/configure.in: Merge contents from
57146 sysdeps/i386/configure.in (without i686 check).
57147
57148 * sysdeps/i386/elf/Versions: Merge into ...
57149 * sysdeps/i386/Versions: ... this.
57150 * sysdeps/i386/elf/Versions: Delete file.
57151 * sysdeps/i386/elf/start.S: Moved to ...
57152 * sysdeps/i386/start.S: ...here.
57153 * sysdeps/i386/elf/configure.in: Merge into...
57154 * sysdeps/i386/configure.in: ...here.
57155 * sysdeps/i386/elf/configure.in: Delete file.
57156 * sysdeps/i386/elf/configure: Delete file.
57157
57158 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
57159 * debug/backtracesyms.c: ... here.
57160 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
57161 * debug/backtracesymsfd.c: ... here.
57162 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
57163 * sysdeps/generic/ifunc-sel.h: ... here.
57164
57165 * sysdeps/unix/i386/start.c: Delete file.
57166 * sysdeps/unix/sparc/start.c: Delete file.
57167 * sysdeps/unix/start.c: Delete file.
57168
57169 * sysdeps/sh/elf/configure.in: Moved to ...
57170 * sysdeps/sh/configure.in: ... here.
57171 * sysdeps/sh/elf/start.S: Moved to ...
57172 * sysdeps/sh/start.S: ... here.
57173 * sysdeps/sh/elf/configure: Delete file.
57174
57175 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
57176 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
57177 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
57178 * sysdeps/powerpc/powerpc64/entry.h: ... here.
57179 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
57180 * sysdeps/powerpc/powerpc64/start.S: here.
57181 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
57182 * sysdeps/powerpc/powerpc64/Makefile: ... this.
57183 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
57184 * sysdeps/powerpc/powerpc64/configure.in: ... this.
57185 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
57186
57187 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
57188 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
57189 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
57190 * sysdeps/powerpc/powerpc32/start.S: ... here.
57191 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
57192 * sysdeps/powerpc/powerpc32/configure.in: ... this.
57193 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
57194
57195 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
57196 * sysdeps/powerpc/ifunc-sel.h: ... here.
57197 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
57198 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
57199
57200 * sysdeps/sparc/elf/configure.in: Moved to ...
57201 * sysdeps/sparc/configure.in: ... here.
57202 * sysdeps/sparc/elf/configure: Delete file.
57203 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
57204 * sysdeps/sparc/sparc32/start.S: ... here.
57205 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
57206 * sysdeps/sparc/sparc64/start.S: ... here.
57207 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
57208 * sysdeps/sparc/sparc32/Makefile: ... this.
57209 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
57210 * sysdeps/sparc/sparc64/Makefile: ... this.
57211
57212 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
57213 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
57214 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
57215 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
57216 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
57217 * sysdeps/s390/s390-32/setjmp.S: ... here.
57218 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
57219 * sysdeps/s390/s390-32/configure.in: ... here.
57220 * sysdeps/s390/s390-32/elf/configure: Delete file.
57221 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
57222 * sysdeps/s390/s390-32/start.S: ... here.
57223
57224 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
57225 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
57226 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
57227 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
57228 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
57229 * sysdeps/s390/s390-64/setjmp.S: ... here.
57230 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
57231 * sysdeps/s390/s390-64/configure.in: ... here
57232 * sysdeps/s390/s390-64/elf/configure: Delete file.
57233 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
57234 * sysdeps/s390/s390-64/start.S: ... here.
57235 * sysdeps/s390/s390-64/elf/configure: Delete.
57236
57237 * configure.in: Remove support for elf directories in sysdeps.
57238
57239 * configure: Regenerated.
57240 * sysdeps/i386/configure: Regenerated.
57241 * sysdeps/powerpc/powerpc32/configure: Regenerated.
57242 * sysdeps/powerpc/powerpc64/configure: Regenerated.
57243 * sysdeps/s390/s390-32/configure: Regenerated.
57244 * sysdeps/s390/s390-64/configure: Regenerated.
57245 * sysdeps/sh/configure: Regenerated.
57246 * sysdeps/sparc/configure: Regenerated.
57247 * sysdeps/x86_64/configure: Regenerated.
57248
57249 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
57250
57251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57252
57253 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
57254 denormal result into account.
57255
57256 2012-03-25 Roland McGrath <roland@hack.frob.com>
57257
57258 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
57259 Reported by Allan McRae <allan@archlinux.org>.
57260
57261 2012-03-23 Jeff Law <law@redhat.com>
57262
57263 * nss/getnssent.c (__nss_getent): Fix typo.
57264
57265 2012-03-23 David S. Miller <davem@davemloft.net>
57266
57267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57268
57269 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
57270
57271 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
57272 to pad to uint64_t for each field.
57273 (dl_tls_index): Replace unsigned long with uint64_t.
57274
57275 2012-03-23 Daniel Jacobowitz <dmj@google.com>
57276 Paul Pluzhnikov <ppluzhnikov@google.com>
57277
57278 [BZ #6528]
57279 * grp/Makefile (otherlibs): Don't set it.
57280 * inet/Makefile (otherlibs): Likewise.
57281 * login/Makefile (otherlibs): Likewise.
57282 * nscd/Makefile (otherlibs): Likewise.
57283 * posix/Makefile (otherlibs): Likewise.
57284 * pwd/Makefile (otherlibs): Likewise.
57285 * rt/Makefile (otherlibs): Likewise.
57286 * sunrpc/Makefile (otherlibs): Likewise.
57287 * nss/Makefile (otherlibs): Likewise.
57288 Add libnss_files to routines and static-only-routines.
57289 ($(objpfx)getent): Remove rule.
57290 * resolv/Makefile: Add libnss_dns and libresolv to routines and
57291 static-only-routines.
57292
57293 2012-03-22 Joseph Myers <joseph@codesourcery.com>
57294
57295 [BZ #13892]
57296 * math/s_cexp.c: Include <float.h>.
57297 (__cexp): Handle exp result overflowing not necessarily
57298 overflowing both real and imaginary parts of result.
57299 * math/s_cexpf.c: Likewise.
57300 * math/s_cexpl.c: Likewise.
57301 * math/libm-test.inc (cexp_test): Add more tests.
57302 * sysdeps/i386/fpu/libm-test-ulps: Update.
57303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57304
57305 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
57306
57307 * include/link.h (ELFW): New macro.
57308 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
57309 Replace ELF64_R_TYPE with ELFW(R_TYPE).
57310
57311 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
57312
57313 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
57314 with uint64_t.
57315
57316 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
57317
57318 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
57319 declaration.
57320 (struct La_x32_retval): Likewise.
57321
57322 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
57323
57324 * sysdeps/x86_64/preconfigure.in: New file.
57325 * sysdeps/x86_64/preconfigure: New generated file.
57326
57327 2012-03-22 Joseph Myers <joseph@codesourcery.com>
57328
57329 [BZ #13824]
57330 * math/e_exp2l.c: Include <float.h>.
57331 (__ieee754_exp2l): Handle overflow and underflow cases
57332 separately. Only pass fractional part of argument to
57333 __ieee754_expl.
57334 * math/libm-test.inc (exp2_test): Add more tests.
57335
57336 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
57337 negating x to take absolute value.
57338 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
57339 Likewise.
57340 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
57341 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
57342 Likewise.
57343 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
57344 computing low part if x was negated.
57345 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
57346
57347 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
57348
57349 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
57350 la_x32_gnu_pltexit.
57351 (pltexit): Cast int_retval to ptrdiff_t.
57352 * elf/tst-auditmod3b.c: Likewise.
57353 * elf/tst-auditmod4b.c: Likewise.
57354 * elf/tst-auditmod5b.c: Likewise.
57355 * elf/tst-auditmod6b.c: Likewise.
57356 * elf/tst-auditmod6c.c: Likewise.
57357 * elf/tst-auditmod7b.c: Likewise.
57358
57359 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
57360 and x32_gnu_pltexit.
57361
57362 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
57363 __ELF_NATIVE_CLASS.
57364 (La_x32_regs): New macro.
57365 (La_x32_retval): Likewise.
57366 (la_x32_gnu_pltenter): New function prototype.
57367 (la_x32_gnu_pltexit): Likewise.
57368
57369 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
57370
57371 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
57372 exponent.
57373
57374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57375
57376 * configure.in (libc_cv_cc_nofma): Check for option to disable
57377 generation of FMA instructions.
57378 * configure: Regenerate.
57379 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
57380 * sysdeps/ieee754/dbl-64/Makefile: New file.
57381 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
57382 Remove brandred-fma4.
57383 (CFLAGS-brandred-fma4.c): Remove.
57384 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
57385 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
57386 define.
57387 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
57388 define.
57389
57390 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
57391
57392 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57393 LLONG_MAX != LONG_MAX.
57394 (_itoa_word): Use _ITOA_WORD_TYPE on value.
57395 (_fitoa_word): Likewise.
57396 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
57397 LLONG_MAX != LONG_MAX.
57398 * stdio-common/_itowa.h: Include <_itoa.h>.
57399 (_itowa_word): Use _ITOA_WORD_TYPE on value.
57400 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
57401 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
57402 only if not defined.
57403 (_ITOA_WORD_TYPE): Likewise.
57404 (_itoa_word): Use _ITOA_WORD_TYPE on value.
57405 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
57406
57407 2012-03-21 David S. Miller <davem@davemloft.net>
57408
57409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57410
57411 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
57412
57413 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
57414 of x86_64 when setting libc_cv_slibdir, libdir and
57415 libc_cv_localedir.
57416 * sysdeps/unix/sysv/linux/configure: Regenerated.
57417
57418 2012-03-21 Joseph Myers <joseph@codesourcery.com>
57419
57420 * manual/lang.texi (Old Varargs): Remove section.
57421 (How Variadic): Update menu.
57422 (va_start): Do not mention varargs.h.
57423
57424 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
57425 Joseph Myers <joseph@codesourcery.com>
57426
57427 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
57428 link test.
57429 * configure: Regenerated.
57430
57431 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
57432
57433 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
57434 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
57435 conformtest.pl
57436
57437 2012-03-21 Joseph Myers <joseph@codesourcery.com>
57438
57439 * NOTES: Remove.
57440 * Makefile (files-for-dist): Remove NOTES.
57441 (NOTES): Remove rule.
57442 * README: Don't refer to NOTES.
57443 * manual/creature.texi: Don't include macros.texi.
57444 * manual/intro.texi (creature.texi): Remove comment referring to
57445 NOTES.
57446
57447 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
57448 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
57449 * configure: Regenerated.
57450 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
57451 LIBC_TRY_CC_OPTION.
57452 (libc_cv_as_i686): Likewise.
57453 (libc_cv_cc_avx): Likewise.
57454 (libc_cv_cc_sse2avx): Likewise.
57455 (libc_cv_cc_fma4): Likewise.
57456 (libc_cv_cc_novzeroupper): Likewise.
57457 * sysdeps/i386/configure: Regenerated.
57458
57459 [BZ #13883]
57460 * sysdeps/i386/fpu/s_cexp.S: Remove.
57461 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57462 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57463 * math/libm-test.inc (cexp_test): Add more tests.
57464 * sysdeps/i386/fpu/libm-test-ulps: Update.
57465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57466
57467 2012-03-21 Allan McRae <allan@archlinux.org>
57468
57469 * timezone/Makefile: Do not install iso3166.tab and zone.tab
57470
57471 2012-03-21 Joseph Myers <joseph@codesourcery.com>
57472
57473 [BZ #13871]
57474 * math/w_exp2.c: Do not include <float.h>.
57475 (o_threshold, u_threshold): Remove.
57476 (__exp2): Calculate result before checking finiteness and calling
57477 __kernel_standard.
57478 * math/w_exp2f.c: Likewise.
57479 * math/w_exp2l.c: Likewise.
57480 * math/libm-test.inc (exp2_test): Require overflow exception for
57481 1e6 input.
57482
57483 [BZ #3866]
57484 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
57485 range of signed 64-bit integers before using fistpll. Remove
57486 checks for whether integers fit in mantissa bits.
57487 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
57488 the range of signed 32-bit integers before using fistpl. Remove
57489 checks for whether integers fit in mantissa bits.
57490 * sysdeps/i386/fpu/e_powl.S (p64): New object.
57491 (__ieee754_powl): Test for y outside the range of signed 64-bit
57492 integers before using fistpll. Reduce 64-bit values to 63-bit
57493 ones as needed.
57494 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
57495 divide-by-zero is raised for zero to large negative powers.
57496 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
57497 (__ieee754_powl): Test for y outside the range of signed 64-bit
57498 integers before using fistpll. Reduce 64-bit values to 63-bit
57499 ones as needed.
57500 * math/libm-test.inc (pow_test): Add more tests.
57501
57502 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
57503
57504 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
57505 <stdio-common/_itoa.h>.
57506 * debug/segfault.c: Likewise.
57507 * elf/dl-cache.c: Likewise.
57508 * elf/dl-minimal.c: Likewise.
57509 * elf/dl-misc.c: Likewise.
57510 * elf/dl-sysdep.c: Likewise.
57511 * elf/dl-version.c: Likewise.
57512 * elf/rtld.c: Likewise.
57513 * hurd/hurdsock.c: Likewise.
57514 * hurd/lookup-retry.c: Likewise.
57515 * malloc/malloc.c: Likewise.
57516 * malloc/mtrace.c: Likewise.
57517 * nscd/nscd_getgr_r.c: Likewise.
57518 * nscd/nscd_getpw_r.c: Likewise.
57519 * nscd/nscd_getserv_r.c: Likewise.
57520 * posix/getopt_init.c: Likewise.
57521 * posix/wordexp.c: Likewise.
57522 * stdio-common/_itoa.c: Likewise.
57523 * stdio-common/printf_fphex.c: Likewise.
57524 * stdio-common/vfprintf.c: Likewise.
57525 * string/_strerror.c: Likewise.
57526 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
57527 * sysdeps/i386/i686/hp-timing.h: Likewise.
57528 * sysdeps/mach/_strerror.c: Likewise.
57529 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
57530 * sysdeps/mach/hurd/sethostid.c: Likewise.
57531 * sysdeps/mach/hurd/xmknodat.c: Likewise.
57532 * sysdeps/mach/xpg-strerror.c: Likewise.
57533 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57534 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57535 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
57536 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
57537 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
57538 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
57539 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
57540 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
57541 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
57542 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
57543 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
57544 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
57545 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
57546 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
57547 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
57548 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
57549 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
57550 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
57551 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
57552 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
57553 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
57554
57555 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
57556
57557 * stdio-common/_itoa.h: Moved to ...
57558 * sysdeps/generic/_itoa.h: Here.
57559
57560 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
57561
57562 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
57563 instead of "_itoa.h" and "_itowa.h".
57564 * stdio-common/vfprintf.: Likewise.
57565
57566 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
57567
57568 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
57569 <bits/wordsize.h>.
57570 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
57571 (__signbit): Likwise.
57572 (llrintf): Likwise.
57573 (llrint): Likwise.
57574
57575 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
57576
57577 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
57578 __WORDSIZE != 64.
57579
57580 2012-03-20 Joseph Myers <joseph@codesourcery.com>
57581
57582 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
57583 OVERFLOW_EXCEPTION_OK.
57584 * math/libm-test.inc ("Philosophy"): Update comment about
57585 exception testing.
57586 (OVERFLOW_EXCEPTION): Define.
57587 (OVERFLOW_EXCEPTION_OK): Likewise.
57588 (INVALID_EXCEPTION_OK): Renumber.
57589 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57590 (IGNORE_ZERO_INF_SIGN): Likewise.
57591 (test_exceptions): Handle FE_OVERFLOW.
57592 (exp10_test): Expect overflow exceptions.
57593 (exp2_test): Likewise.
57594 (expm1_test): Likewise.
57595 (nextafter_test): Likewise.
57596 (pow_test): Likewise.
57597 (scalbn_test): Likewise.
57598 (scalbln_test): Likewise.
57599
57600 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
57601
57602 * sysdeps/x86_64/bits/atomic.h
57603 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
57604 64bit integer.
57605 (atomic_exchange_acq): Likewise.
57606 (__arch_exchange_and_add_body): Likewise.
57607 (__arch_add_body): Likewise.
57608 (atomic_add_negative): Likewise.
57609 (atomic_add_zero): Likewise.
57610
57611 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
57612
57613 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
57614 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
57615
57616 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
57617
57618 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
57619 Check __x86_64__ instead of __WORDSIZE.
57620
57621 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
57622
57623 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
57624
57625 2012-03-19 David S. Miller <davem@davemloft.net>
57626
57627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57628
57629 * sysdeps/sparc/fpu/fenv_private.h: New file.
57630 * sysdeps/sparc/fpu/math_private.h: Use it.
57631 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
57632 Remove.
57633 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
57634 (libc_feholdexcept_setroundl): Remove.
57635 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
57636 Remove.
57637 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
57638 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
57639
57640 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
57641
57642 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
57643 int64_t instead of long int.
57644 (INSERT_WORDS64): Likwise.
57645
57646 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
57647
57648 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
57649 _Unwind_GetCFA return to _Unwind_Ptr first.
57650
57651 2012-03-19 Joseph Myers <joseph@codesourcery.com>
57652
57653 [BZ #13629]
57654 * math/s_clog.c: Include <float.h>.
57655 (__clog): Scale large or subnormal inputs.
57656 * math/s_clogf.c: Likewise.
57657 * math/s_clogl.c: Likewise.
57658 * math/s_clog10.c: Include <float.h>.
57659 (M_LOG10_2): Define.
57660 (__clog10): Scale large or subnormal inputs.
57661 * math/s_clog10f.c: Likewise.
57662 * math/s_clog10l.c: Likewise.
57663 * math/libm-test.inc (clog_test): Add more tests.
57664 (clog10_test): Likewise.
57665 * sysdeps/i386/fpu/libm-test-ulps: Update.
57666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57667
57668 [BZ #11451]
57669 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
57670 x and y.
57671 * math/libm-test.inc (atan2_test): Add another test.
57672
57673 * Makerules (common-objdir-compile): Remove.
57674 * sysdeps/unix/Makefile (config-generated): Do not add
57675 $(unix-generated) to variable.
57676 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
57677 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
57678 Remove rule.
57679 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
57680 Likewise.
57681 [generic bits/local_lim.h] (before-compile): Do not append to
57682 variable.
57683 [generic bits/local_lim.h] (common-generated): Likewise.
57684 [generic sys/param.h] (before-compile): Do not append to variable.
57685 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
57686 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
57687 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
57688 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
57689 include.
57690 [generic sys/param.h] (sys/param.h-includes): Remove variable.
57691 [generic sys/param.h] (sys/param.h-includes): Remove rule.
57692 [generic sys/param.h] ($(addprefix
57693 $(common-objpfx),$(sys/param.h-includes))): Likewise.
57694 [generic sys/param.h] (common-generated): Do not append to
57695 variable.
57696 [generic sys/param.h] (sysdep_headers): Likewise.
57697 [generic bits/errno.h] (before-compile): Do not append to
57698 variable.
57699 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
57700 rule.
57701 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
57702 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
57703 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
57704 [generic bits/errno.h] (common-generated): Do not append to
57705 variable.
57706 [generic bits/ioctls.h] (before-compile): Do not append to
57707 variable.
57708 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
57709 rule.
57710 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
57711 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
57712 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
57713 rule.
57714 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
57715 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
57716 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
57717 [generic bits/ioctls.h] (common-generated): Do not append to
57718 variable.
57719 [generic sys/syscall.h] (syscall.h): Remove variable.
57720 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
57721 rule.
57722 [generic sys/syscall.h] (before-compile): Do not append to
57723 variable.
57724 [generic sys/syscall.h] (common-generated): Likewise.
57725 * sysdeps/unix/errnos-tmpl.c: Remove file.
57726 * sysdeps/unix/errnos.awk: Likewise.
57727 * sysdeps/unix/ioctls-tmpl.c: Likewise.
57728 * sysdeps/unix/ioctls.awk: Likewise.
57729 * sysdeps/unix/mk-local_lim.c: Likewise.
57730 * sysdeps/unix/snarf-ioctls: Likewise.
57731
57732 2012-03-19 Richard Henderson <rth@twiddle.net>
57733
57734 * sysdeps/i386/fpu/fenv_private.h: New file.
57735 * sysdeps/i386/fpu/math_private.h: Use it.
57736 (math_opt_barrier, math_force_eval): Remove.
57737 (libc_feholdexcept_setround_53bit): Remove.
57738 (libc_feupdateenv_53bit): Remove.
57739 * sysdeps/x86_64/fpu/math_private.h: Likewise.
57740 (math_opt_barrier, math_force_eval): Remove.
57741 (libc_feholdexcept): Remove.
57742 (libc_feholdexcept_setround): Remove.
57743 (libc_fetestexcept, libc_fesetenv): Remove.
57744 (libc_feupdateenv_test): Remove.
57745 (libc_feupdateenv, libc_feholdsetround): Remove.
57746 (libc_feresetround): Remove.
57747
57748 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
57749 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
57750
57751 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
57752 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
57753 (libc_feupdateenv_testl): New.
57754 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
57755 (libc_feupdateenv_testf): New.
57756 (libc_feupdateenv): Use libc_feupdateenv_test.
57757 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
57758 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
57759
57760 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
57761 (libc_feholdsetroundf, libc_feholdsetroundl): New.
57762 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
57763 (libc_feresetround_noex): New.
57764 (libc_feresetround_noexf): New.
57765 (libc_feresetround_noexl): New.
57766 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
57767 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
57768 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
57769 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
57770 SET_RESTORE_ROUND.
57771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
57772 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
57773 (__cos): Likewise.
57774 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
57775 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
57776 SET_RESTORE_ROUND_NOEX.
57777 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
57778 SET_RESTORE_ROUND_NOEXF.
57779 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
57780 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
57781 (libc_feholdsetroundf): New.
57782 (libc_feresetround, libc_feresetroundf): New.
57783
57784 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
57785 (libc_feholdexcept_setround_53bit): Convert from macro to function.
57786 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
57787
57788 * sysdeps/generic/math_private.h: Include <fenv.h>.
57789 (default_libc_feholdexcept): New.
57790 (default_libc_feholdexcept_setround): New.
57791 (default_libc_fesetenv, default_libc_feupdateenv): New.
57792 (libc_feholdexcept): Only define if undefined.
57793 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
57794 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
57795 (libc_feholdexcept_setroundl): Likewise.
57796 (libc_feholdexcept_setround_53bit): Likewise.
57797 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
57798 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
57799 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
57800 (libc_feupdateenv_53bit): Likewise.
57801 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
57802 (libc_feholdexcept): Convert from macro to inline function.
57803 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
57804 (libc_fesetenv, libc_feupdateenv): Likewise.
57805
57806 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
57807 not previously defined.
57808 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
57809 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
57810 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
57811 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
57812 * sysdeps/ieee754/flt-32/math_private.h: New file.
57813 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
57814 math_private.h below SET_FLOAT_WORD.
57815 (__isnan, __isinf_ns, __finite): Remove.
57816 (__isnanf, __isinf_nsf, __finitef): Remove.
57817
57818 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
57819
57820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57821
57822 2012-03-17 David S. Miller <davem@davemloft.net>
57823
57824 [BZ #6471]
57825 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
57826 for 2.16.
57827
57828 2012-03-16 David S. Miller <davem@davemloft.net>
57829
57830 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
57831 warnings.
57832
57833 [BZ #6471]
57834 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
57835 properly.
57836 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
57837 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
57838 sysdep_routines when subdir is sysvipc.
57839 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
57840 __getshmlba helper.
57841
57842 * sysdeps/sparc/fpu/libm-test/ulps: Update.
57843
57844 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
57845
57846 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
57847 [__LP64__].
57848
57849 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
57850
57851 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
57852 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
57853 (__lround): Renamed to ...
57854 (__llround): This. Replace long int with long long int.
57855 Define lround functions as aliases of llround functions.
57856 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
57857
57858 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
57859
57860 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
57861 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
57862 adresses to uintptr_t. Replace "long int" and "unsigned long
57863 int" with "greg_t" on va_arg.
57864
57865 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
57866
57867 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
57868 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
57869
57870 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
57871 Move e_machine check before EI_CLASS check. Handle x32
57872 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
57873 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
57874 SKIP_EM_IA_64 and include
57875 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
57876
57877 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
57878 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
57879 (add_system_dir): New macro.
57880
57881 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
57882 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
57883
57884 2012-03-16 Joseph Myers <joseph@codesourcery.com>
57885
57886 [BZ #2551]
57887 [BZ #2552]
57888 [BZ #2553]
57889 [BZ #2554]
57890 [BZ #2562]
57891 [BZ #2563]
57892 [BZ #2565]
57893 [BZ #2566]
57894 [BZ #2576]
57895 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
57896 (y0): Likewise.
57897 * math/w_j0f.c (j0f): Likewise.
57898 (y0f): Likewise.
57899 * math/w_j0l.c (__j0l): Likewise.
57900 (__y0l): Likewise.
57901 * math/w_j1.c (j1): Likewise.
57902 (y1): Likewise.
57903 * math/w_j1f.c (j1f): Likewise.
57904 (y1f): Likewise.
57905 * math/w_j1l.c (__j1l): Likewise.
57906 (__y1l): Likewise.
57907 * math/w_jn.c (jn): Likewise.
57908 (yn): Likewise.
57909 * math/w_jnf.c (jnf): Likewise.
57910 (ynf): Likewise.
57911 * math/w_jnl.c (__jnl): Likewise.
57912 (__ynl): Likewise.
57913 * math/libm-test.inc (j0_test): Add more tests.
57914 (j1_test): Likewise.
57915 (jn_test): Likewise. Add trailing semicolon to existing test.
57916 (y0_test): Likewise.
57917 (y1_test): Likewise.
57918 * sysdeps/i386/fpu/libm-test-ulps: Update.
57919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57920
57921 [BZ #13851]
57922 [BZ #13854]
57923 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
57924 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
57925 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
57926 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
57927 (__tanl): Set errno for infinite argument.
57928 * sysdeps/i386/fpu/mptan.c: Remove.
57929 * sysdeps/i386/fpu/s_tan.S: Likewise.
57930 * sysdeps/i386/fpu/s_tanl.S: Likewise.
57931 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
57932 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
57933 * math/libm-test.inc (tan_test): Add more tests and enable more
57934 tests for double and long double.
57935 * sysdeps/i386/fpu/libm-test-ulps: Update.
57936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57937
57938 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
57939
57940 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
57941 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
57942
57943 2012-03-16 Roland McGrath <roland@hack.frob.com>
57944
57945 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
57946 * configure.in: Use it for both main tree and add-ons.
57947 * configure: Regenerated.
57948
57949 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
57950
57951 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
57952
57953 2012-03-16 Joseph Myers <joseph@codesourcery.com>
57954
57955 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
57956 in comment.
57957
57958 [BZ #13851]
57959 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
57960 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
57961 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
57962 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
57963 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
57964 infinite argument.
57965 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
57966 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
57967 != 0 for prec == 2.
57968 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
57969 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
57970 * sysdeps/i386/fpu/s_cosl.S: Likewise.
57971 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
57972 * sysdeps/i386/fpu/s_sinl.S: Likewise.
57973 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
57974 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
57975 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
57976 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
57977 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
57978 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
57979 * math/libm-test.inc (cos_test): Add more tests and enable more
57980 tests for long double.
57981 (sin_test): Likewise.
57982 (sincos_test): Likewise.
57983 * sysdeps/i386/fpu/libm-test-ulps: Update.
57984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57985
57986 2012-03-16 David S. Miller <davem@davemloft.net>
57987
57988 * sysdeps/sparc/fpu/math_private.h: New file.
57989
57990 2012-03-15 David S. Miller <davem@davemloft.net>
57991
57992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
57993 file.
57994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
57995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
57996 file.
57997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
57998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
57999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
58000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
58001 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
58002 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
58003 sysdep routines.
58004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
58005
58006 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
58007 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
58008
58009 * sysdeps/sparc/sparc-ifunc.h: New file.
58010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
58011 sparc-ifunc.h
58012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
58013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
58014 Likewise.
58015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
58016 Likewise.
58017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
58018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
58019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
58021 Likewise.
58022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
58023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
58024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
58025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
58026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
58027 Likewise.
58028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
58029 Likewise.
58030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
58031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
58032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
58033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
58034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
58035 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
58036 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
58037 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
58038 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
58039 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
58040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
58041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
58042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
58043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
58044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
58045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
58046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
58047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
58048 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
58049 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
58050 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
58051 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
58052 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
58053 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
58054
58055 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
58056
58057 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
58058 scaling.
58059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58060
58061 2012-03-15 Andreas Jaeger <aj@suse.de>
58062
58063 [BZ #13852]
58064 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
58065 ieee754/flt-32 implementation for sin, cos and sincos.
58066 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
58067 * sysdeps/i386/fpu/s_cosf.S: Likewise.
58068 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
58069 * sysdeps/i386/fpu/s_sinf.S: Likewise.
58070 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
58071 ieee754/flt-32 implementation for tan.
58072
58073 * math/libm-test.inc (cos_test): Enable some large input tests for
58074 float as well
58075 (sin_test): Likewise.
58076 (sincos_test): Likewise.
58077 (tan_test): Add tests for large input.
58078
58079 * sysdeps/i386/fpu/libm-test-ulps: Update.
58080
58081 2012-03-15 Andreas Jaeger <aj@suse.de>
58082
58083 [BZ #13658]
58084 * math/libm-test.inc (cos_test): Add more test cases.
58085 (sin_test): Likewise.
58086 (sincos_test): Likewise.
58087
58088 2012-03-15 Andreas Jaeger <aj@suse.de>
58089
58090 [BZ #13837]
58091 * math/libm-test.inc (cos_test): Add a test case for large input
58092 value.
58093 (sin_test): Likewise.
58094 (sincos_test): Likewise.
58095
58096 2012-03-15 Andreas Jaeger <aj@suse.de>
58097 Joseph Myers <joseph@codesourcery.com>
58098
58099 [BZ #13658]
58100 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
58101 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
58102 * sysdeps/i386/fpu/branred.c: Likewise.
58103 * sysdeps/i386/fpu/dosincos.c: Likewise.
58104 * sysdeps/i386/fpu/mpa.c: Likewise.
58105 * sysdeps/i386/fpu/s_cos.S: Likewise.
58106 * sysdeps/i386/fpu/s_sin.S: Likewise.
58107 * sysdeps/i386/fpu/s_sincos.S: Likewise.
58108 * sysdeps/i386/fpu/sincos32.c: Likewise.
58109
58110 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
58111 Define.
58112 (libc_feupdateenv_53bit): Define.
58113 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
58114 Define.
58115 (libc_feupdateenv_53bit): Define.
58116
58117 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
58118 53 bit (without extend i386 double precision).
58119
58120 * math/libm-test.inc (sincos_test): Add tests for large input.
58121 (sin): Likewise.
58122 (cos): Likewise.
58123
58124 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
58125
58126 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
58127
58128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58129
58130 2012-03-15 David S. Miller <davem@davemloft.net>
58131
58132 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
58133 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
58134 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
58135 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
58136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
58137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
58138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
58139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
58140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
58141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
58142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
58143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
58144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
58145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
58146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
58147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
58148 file.
58149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
58150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
58151 file.
58152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
58153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
58154 file.
58155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
58156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
58157 file.
58158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
58159 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
58160 fmin/fmax sysdep routines.
58161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
58162
58163 2012-03-14 David S. Miller <davem@davemloft.net>
58164
58165 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
58166 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
58167 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
58168 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
58169 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
58170 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
58171 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
58172 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
58173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
58174 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
58175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
58176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
58177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
58178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
58179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
58180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
58181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
58182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
58183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
58184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
58185 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
58186 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
58187 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
58188 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
58189 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
58190 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
58191 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
58192 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
58193 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
58194 routines.
58195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
58196 file.
58197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
58198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
58199 file.
58200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
58201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
58202 file.
58203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
58204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
58205 file.
58206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
58207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
58208 file.
58209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
58210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
58211 file.
58212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
58213 file.
58214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
58215 file.
58216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
58217 file.
58218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
58219 New file.
58220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
58221 file.
58222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
58223 file.
58224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
58225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
58226 file.
58227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
58228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
58229 file.
58230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
58231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
58232 file.
58233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
58234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
58235 VIS3 routines.
58236
58237 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
58238 New file.
58239
58240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58241
58242 * sysdeps/sparc/configure.in: New file.
58243 * sysdeps/sparc/configure: Generate.
58244 * configure.in (libc_cv_sparc_as_vis3): Substitute.
58245 * configure: Regenerate.
58246 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
58247 * config.make.in (have-as-vis3): New.
58248 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
58249 available use -Av9d instead of -Av9a.
58250 * sysdeps/sparc/sparc64/Makefile: Likewise.
58251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
58252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
58253 New file.
58254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
58255 file.
58256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
58257 New file.
58258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
58259 file.
58260 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
58261 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
58262 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
58263 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
58264 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
58265
58266 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
58267 fzeros/fnegs to load 0x80000000 into a float register instead of
58268 using the stack.
58269 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
58270
58271 2012-03-14 Joseph Myers <joseph@codesourcery.com>
58272
58273 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58274 bits/syscall.h.
58275 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
58276 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
58277 ($(inst_includedir)/bits/syscall.h): Remove rule.
58278 ($(objpfx)bits/syscall.d): Include instead of
58279 $(objpfx)syscall-list.d.
58280 (generated): Change syscall-list.h and syscall-list.d to
58281 bits/syscall.h and bits/syscall.d.
58282
58283 2012-03-14 Roland McGrath <roland@hack.frob.com>
58284
58285 [BZ #13846]
58286 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
58287
58288 2012-03-14 Joseph Myers <joseph@codesourcery.com>
58289
58290 [BZ #13841]
58291 * math/s_csqrt.c: Include <float.h>.
58292 (__csqrt): Scale large or subnormal inputs.
58293 * math/s_csqrtf.c: Likewise.
58294 * math/s_csqrtl.c: Likewise.
58295 * math/libm-test.inc (csqrt_test): Add more tests.
58296 * sysdeps/i386/fpu/libm-test-ulps: Update.
58297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58298
58299 [BZ #13840]
58300 * math/libm-test.inc (hypot_test): Add more tests.
58301
58302 2012-03-13 David S. Miller <davem@davemloft.net>
58303
58304 [BZ #13840]
58305 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
58306 double-precision for the calculation instead of scaling.
58307
58308 2012-03-13 Joseph Myers <joseph@codesourcery.com>
58309
58310 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
58311 manipulate bits before adding and subtracting TWO52[sx].
58312 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
58313 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
58314 Likewise.
58315 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
58316
58317 2012-03-13 David S. Miller <davem@davemloft.net>
58318
58319 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
58320 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
58321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
58322 rtld-global-offsets.h
58323 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58324
58325 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
58326 large parameters.
58327
58328 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
58329
58330 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
58331 'err' in the ifdef scope in which it is actually used.
58332
58333 * nss/nss_db/db-init.c: Include string.h
58334
58335 2012-03-12 David S. Miller <davem@davemloft.net>
58336
58337 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58338 masking out of the most significant byte of random value used.
58339 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58340 Fix coding style in previous change.
58341
58342 * sysdeps/unix/sysv/linux/kernel-features.h
58343 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
58344 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
58345 expression.
58346 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
58347 later.
58348
58349 2012-03-11 David S. Miller <davem@davemloft.net>
58350
58351 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58352 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
58353 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
58354 for 'resultvar' otherwise things get truncated on 64-bit.
58355
58356 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58357 Fix masking out of the most significant byte of random value used.
58358
58359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58360
58361 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
58362
58363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58364
58365 2012-03-09 David S. Miller <davem@davemloft.net>
58366
58367 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
58368 variables with appropriate CPP guards.
58369 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
58370 from the frame pointer, not the stack pointer. Correct layout
58371 comments. Fix test on resulting framesize and the management of
58372 the outregs buffer for pltexit. Preserve floating point return
58373 values across _dl_call_pltexit call.
58374 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
58375 framesize and the management of the outregs buffer for pltexit.
58376 Preserve floating point return values across _dl_call_pltexit
58377 call.
58378 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
58379 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
58380 (la_sparc64_gnu_pltexit): New functions.
58381 (print_exit): Fix format string for return register value.
58382
58383 2012-03-10 Joseph Myers <joseph@codesourcery.com>
58384
58385 * sunrpc/Makefile (others): Add rpcgen.
58386 ($(objpfx)rpcgen): Remove special build rule and dependency on
58387 libc.
58388 * sunrpc/rpcgen.c: New file.
58389
58390 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
58391
58392 [BZ #13673]
58393 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
58394 * stdio-common/bug-vfprintf-nargs.c: Likewise.
58395 * sysdeps/i386/crti.S: Likewise.
58396 * sysdeps/i386/crtn.S: Likewise.
58397 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
58398 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
58399 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
58400 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
58401 * sysdeps/sh/crti.S: Likewise.
58402 * sysdeps/sh/crtn.S: Likewise.
58403 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
58404
58405 [BZ #13673]
58406 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
58407 with URL.
58408 * locale/programs/locfile-kw.gperf: Likewise.
58409 * locale/programs/charmap-kw.h: Regenerated.
58410 * locale/programs/locfile-kw.h: Likewise.
58411
58412 [BZ #13673]
58413 * intl/plural.y: Replace FSF snail mail address with URL.
58414 * intl/plural.c: Regenerated.
58415
58416 2012-03-09 Richard Henderson <rth@twiddle.net>
58417
58418 * include/math_private.h: Remove file.
58419 * math/math_private.h: Move file ...
58420 * sysdeps/generic/math_private.h: ... here.
58421
58422 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
58423 * sysdeps/powerpc/fpu/math_private.h: Likewise.
58424 * sysdeps/x86_64/fpu/math_private.h: Likewise.
58425
58426 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
58427 and <math_private.h>.
58428 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58429 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58430 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58431 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58432 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58433 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
58434 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58435 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58436 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58437 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58439 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58440 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58441 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58442 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58443 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58444 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58445 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58446 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58447 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58449 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58450 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58451 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58452 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
58453 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58454 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58455 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58456 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58457 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58458 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58459 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58460 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
58461 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58462 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58463 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58464 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58465 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58466 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58467 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58468 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
58469 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58470 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58471 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
58472 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
58473 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58474 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
58475 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
58476 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58477 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58478 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
58479 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
58480 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
58481 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58482 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
58483 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58484 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58485 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
58486 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
58487 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
58488 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58489 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
58490 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58491 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58492 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
58493 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58494 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58495 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58496 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
58497 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
58498 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
58499 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58500 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
58501 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58502 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
58503 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
58504 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
58505 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58506 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
58507 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
58508 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
58509 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
58510 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
58511 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58512 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58513 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
58514 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
58515 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
58516 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58517 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58518 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58519 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58520 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58521 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58522 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58523 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58524 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58525 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58526 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58527 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58528 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58529 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58530 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58531 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58532 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58533 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58534 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58535 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58536 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58537 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58538 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58539 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58540 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58541 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58542 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
58543 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58544 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58545 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
58546 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58547 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58548 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58549 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
58550 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58551 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
58552 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58553 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
58554 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58555 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
58556 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
58557 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
58558 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
58559 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58560 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58561 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
58562 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
58563 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
58564 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58565 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
58566 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
58567 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58568 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58569 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
58570 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58571 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
58572 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
58573 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
58574 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
58575 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
58576 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
58577 * sysdeps/ieee754/k_standard.c: Likewise.
58578 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58579 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58580 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58581 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58582 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58583 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58584 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58585 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58586 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58587 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58588 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58589 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58590 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58591 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58592 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58593 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58594 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
58595 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58596 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58597 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
58598 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
58599 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
58600 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58601 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
58602 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
58603 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
58604 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
58605 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
58606 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
58607 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58608 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
58609 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58610 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
58611 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
58612 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
58613 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
58614 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
58615 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
58616 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
58617 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
58618 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
58619 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
58620 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
58621 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
58622 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
58623 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
58624 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
58625 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
58626 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
58627 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58628 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58629 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
58630 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
58631 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
58632 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58633 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58634 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
58635 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
58636 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
58637 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
58638 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58639 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
58640 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
58641 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58642 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58643 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58644 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58645 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58646 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58647 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58648 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58649 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58650 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58651 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58652 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58653 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58654 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
58655 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58656 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58657 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
58658 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
58659 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
58660 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
58661 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
58662 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
58663 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
58664 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
58665 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
58666 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
58667 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
58668 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
58669 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
58670 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
58671 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
58672 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
58673 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
58674 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
58675 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
58676 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
58677 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
58678 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
58679 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
58680 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58681 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
58682 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
58683 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58684 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58685 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
58686 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
58687 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
58688 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
58689 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
58690 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58691 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58692 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58693 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58694 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58695 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58696 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58697 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58698 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58699 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58700 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58701 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58702 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58703 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
58704 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58705 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
58706 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
58707 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58708 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58709 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58710 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58711 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
58712 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
58713 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
58714 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
58715 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
58716 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58717 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
58718 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
58719 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58720 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
58721 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
58722 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
58723 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58724 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58725 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
58726 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
58727 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
58728 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58729 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58730 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
58731 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58732 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
58733 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
58734 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
58735 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
58736 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
58737 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
58738 * sysdeps/ieee754/s_lib_version.c: Likewise.
58739 * sysdeps/ieee754/s_matherr.c: Likewise.
58740 * sysdeps/ieee754/s_signgam.c: Likewise.
58741 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58742 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58743 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
58744 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
58745 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
58746 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
58747 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
58748 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
58749 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
58750 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
58751 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
58752 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
58753 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
58754 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58755 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
58756 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
58757 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58758 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
58759 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58760 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58761 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58762
58763 2012-03-09 Joseph Myers <joseph@codesourcery.com>
58764
58765 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
58766 * sunrpc/rpc_main.c: Likewise.
58767 * sunrpc/rpc_svcout.c: Likewise.
58768
58769 2012-03-09 David S. Miller <davem@davemloft.net>
58770
58771 * include/math_private.h: New file.
58772
58773 2012-03-09 Joseph Myers <joseph@codesourcery.com>
58774
58775 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
58776 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
58777 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
58778 from <bits/socket_type.h>.
58779 (enum __socket_type): Don't define here.
58780 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
58781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58782 bits/socket_type.h.
58783
58784 [BZ #13566]
58785 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
58786 checking __USE_GNU.
58787
58788 * Makerules ($(inst_includedir)/%.h): New rule.
58789 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
58790 (install-others): Remove variable setting.
58791 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
58792
58793 2012-03-08 Richard Henderson <rth@twiddle.net>
58794
58795 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
58796 from macro to inline function; merge with the
58797 !__LIBC_INTERNAL_MATH_INLINES version.
58798 (__ieee754_sqrtf): Likewise.
58799
58800 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
58801 to inline function.
58802 (__rintf, __floor, __floorf): Likewise.
58803
58804 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
58805 macro to inline function.
58806 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
58807
58808 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
58809 not <math/math_private.h>.
58810
58811 2012-03-08 David S. Miller <davem@davemloft.net>
58812
58813 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
58814 copyright year.
58815 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
58816
58817 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
58818
58819 * resolv/gai_misc.c (handle_requests): Fix struct timespec
58820 normalization.
58821 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
58822 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
58823
58824 2012-03-08 Ulrich Drepper <drepper@gmail.com>
58825
58826 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
58827 be defined individually, they must be defined as a block. Define
58828 S for printing a string instead of hidint the different by using a
58829 macro for adding the 'l'.
58830 * stdio-common/tst-fphex-wide.c: Adjust.
58831
58832 2012-03-07 Marek Polacek <polacek@redhat.com>
58833
58834 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
58835
58836 2012-03-08 Marek Polacek <polacek@redhat.com>
58837
58838 [BZ #13806]
58839 * stdio-common/Makefile (tests): Add tst-fphex-wide.
58840 * stdio-common/tst-fphex.c: Define a few macros to make the
58841 test reusable. Use them.
58842 * stdio-common/tst-fphex-wide.c: New file.
58843
58844 2012-03-08 Joseph Myers <joseph@codesourcery.com>
58845
58846 [BZ #6911]
58847 * manual/macros.texi (gnusystems): New macro.
58848 (nongnusystems): Likewise.
58849 (gnulinuxhurdsystems): Likewise.
58850 (gnuhurdsystems): Likewise..
58851 (gnulinuxsystems): Likewise.
58852 * manual/charset.texi: Use new macros or @theglibc{} to refer to
58853 variants of the GNU system, not "GNU system".
58854 * manual/conf.texi: Likewise.
58855 * manual/errno.texi: Likewise. Update example of errno macro
58856 expansion.
58857 * manual/filesys.texi: Likewise.
58858 (getumask): Document as specific to GNU/Hurd.
58859 * manual/install.texi: Likewise. Reword some references to
58860 GNU/Linux.
58861 * manual/intro.texi: Likewise.
58862 * manual/io.texi: Likewise.
58863 (File Name Portability): Detail which constraints are inapplicable
58864 to all GNU systems and which are only inapplicable to GNU/Hurd.
58865 * manual/job.texi: Likewise.
58866 * manual/llio.texi: Likewise.
58867 (O_NOCTTY): Document as present on GNU/Linux.
58868 * manual/maint.texi: Likewise.
58869 * manual/memory.texi: Likewise.
58870 * manual/pattern.texi: Likewise.
58871 * manual/pipe.texi: Likewise.
58872 * manual/process.texi: Likewise.
58873 * manual/resource.texi: Likewise.
58874 (RUSAGE_CHILDREN): Remove statement about specifying a particular
58875 child on GNU/Hurd.
58876 * manual/setjmp.texi: Likewise.
58877 * manual/signal.texi: Likewise.
58878 * manual/startup.texi: Likewise.
58879 * manual/stdio.texi: Likewise.
58880 * manual/terminal.texi: Likewise.
58881 (ONLCR): Document as POSIX.
58882 (OXTABS): Document availability on GNU/Linux as XTABS.
58883 (ONOEOT): Document availability separately from other bits.
58884 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
58885 * manual/time.texi: Likewise.
58886 * manual/users.texi: Likewise.
58887 * INSTALL: Regenerated.
58888 * sysdeps/gnu/errlist.c: Regenerated.
58889
58890 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
58891 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
58892 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
58893 puts.
58894 * configure: Regenerated.
58895
58896 2012-03-07 Joseph Myers <joseph@codesourcery.com>
58897
58898 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
58899 default includes instead of AC_HEADER_CHECK.
58900 * sysdeps/i386/configure: Regenerated.
58901
58902 [BZ #10716]
58903 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
58904 * math/s_cacoshf.c (__cacoshf): Likewise.
58905 * math/s_cacoshl.c (__cacoshl): Likewise.
58906 * math/s_casinh.c (__casinh): Set signs of result from argument.
58907 * math/s_casinhf.c (__casinhf): Likewise.
58908 * math/s_casinhl.c (__casinhl): Likewise.
58909 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
58910 (casinh_test): Add more tests.
58911 * sysdeps/i386/fpu/libm-test-ulps: Update.
58912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58913
58914 2012-03-07 Ulrich Drepper <drepper@gmail.com>
58915
58916 * po/zh_TW.po: Update from translation team.
58917
58918 * login/Makefile (distribute): Remove variable.
58919 * catgets/Makefile: Likewise.
58920 * mach/Makefile: Likewise.
58921 * malloc/Makefile: Likewise.
58922 * misc/Makefile: Likewise.
58923 * iconv/Makefile: Likewise.
58924 * nscd/Makefile: Likewise.
58925 * hurd/Makefile: Likewise.
58926 * manual/Makefile: Likewise.
58927 * locale/Makefile: Likewise.
58928 * intl/Makefile: Likewise.
58929 * conform/Makefile: Likewise.
58930 * nss/Makefile: Likewise.
58931 * time/Makefile: Likewise.
58932 * soft-fp/Makefile: Likewise.
58933 * dirent/Makefile: Likewise.
58934 * gmon/Makefile: Likewise.
58935 * po/Makefile: Likewise.
58936 * rt/Makefile: Likewise.
58937 * socket/Makefile: Likewise.
58938 * math/Makefile: Likewise.
58939 * signal/Makefile: Likewise.
58940 * debug/Makefile: Likewise.
58941 * elf/Makefile: Likewise.
58942 * timezone/Makefile: Likewise.
58943 * stdlib/Makefile: Likewise.
58944 * iconvdata/Makefile: Likewise.
58945 * sunrpc/Makefile: Likewise.
58946 * io/Makefile: Likewise.
58947 * argp/Makefile: Likewise.
58948 * inet/Makefile: Likewise.
58949 * hesiod/Makefile: Likewise.
58950 * grp/Makefile: Likewise.
58951 * csu/Makefile: Likewise.
58952 * wctype/Makefile: Likewise.
58953 * crypt/Makefile: Likewise.
58954 * libio/Makefile: Likewise.
58955 * string/Makefile: Likewise.
58956 * nis/Makefile: Likewise.
58957 * resolv/Makefile: Likewise.
58958 * stdio-common/Makefile: Likewise.
58959 * wcsmbs/Makefile: Likewise.
58960 * dlfcn/Makefile: Likewise.
58961 * posix/Makefile: Likewise.
58962
58963 [BZ #6959]
58964 * timezone/Makefile: Don't install timezone files, just the programs
58965 and scripts.
58966
58967 2012-03-06 Ulrich Drepper <drepper@gmail.com>
58968
58969 * nss/databases.def: Add missing gshadow entry.
58970
58971 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
58972
58973 2012-03-06 Marek Polacek <polacek@redhat.com>
58974
58975 [BZ #13726]
58976 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
58977 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
58978 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
58979 * stdio-common/tst-long-dbl-fphex.c: New file.
58980
58981 2012-03-06 David S. Miller <davem@davemloft.net>
58982
58983 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58984 (set_obp_int): New function.
58985 (get_obp_int): New function.
58986 (__get_clockfreq_via_dev_openprom): Likewise.
58987 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
58988 Avoid unused variable warnings on 'val' and use builtin_expect.
58989 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
58990 __builtin_expect.
58991 (INLINE_CLONE_SYSCALL): Likewise.
58992
58993 2012-03-05 David S. Miller <davem@davemloft.net>
58994
58995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58996
58997 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
58998
58999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59000
59001 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
59002 only for |x| >= 40.
59003 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59004
59005 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
59006
59007 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
59008 Replace gettimeofday with __vdso_gettimeofday.
59009
59010 * sysdeps/unix/sysv/linux/x86_64/init-first.c
59011 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
59012 __vdso_clock_gettime and __vdso_getcpu.
59013
59014 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
59015 time with __vdso_time.
59016
59017 2012-03-05 Joseph Myers <joseph@codesourcery.com>
59018
59019 * manual/lang.texi (size_t): Note types to which size_t may be
59020 equivalent with the GNU C Library, but do not describe when
59021 differences between them are significant.
59022
59023 2012-03-05 Andreas Jaeger <aj@suse.de>
59024
59025 * sysdeps/i386/fpu/libm-test-ulps: Update.
59026
59027 2012-03-05 Joseph Myers <joseph@codesourcery.com>
59028
59029 [BZ #3976]
59030 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
59031 (__ieee754_pow): Save and restore rounding mode and use
59032 round-to-nearest for main computations.
59033 * math/libm-test.inc (pow_test_tonearest): New function.
59034 (pow_test_towardzero): Likewise.
59035 (pow_test_downward): Likewise.
59036 (pow_test_upward): Likewise.
59037 (main): Call the new functions.
59038 * sysdeps/i386/fpu/libm-test-ulps: Update.
59039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59040
59041 [BZ #3976]
59042 * math/libm-test.inc (cosh_test_tonearest): New function.
59043 (cosh_test_towardzero): Likewise.
59044 (cosh_test_downward): Likewise.
59045 (cosh_test_upward): Likewise.
59046 (sinh_test_tonearest): Likewise.
59047 (sinh_test_towardzero): Likewise.
59048 (sinh_test_downward): Likewise.
59049 (sinh_test_upward): Likewise.
59050 (main): Call the new functions.
59051 * sysdeps/i386/fpu/libm-test-ulps: Update.
59052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59053
59054 2012-03-05 Tom de Vries <tom@codesourcery.com>
59055
59056 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
59057 default stack guard is set in last bytes.
59058 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
59059
59060 2012-03-05 Kees Cook <keescook@chromium.org>
59061
59062 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
59063
59064 [BZ #13656]
59065 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
59066 possibly allocate from heap instead of stack.
59067 * stdio-common/bug-vfprintf-nargs.c: New file.
59068 * stdio-common/Makefile (tests): Add nargs overflow test.
59069
59070 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
59071
59072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59073
59074 2012-03-03 Marek Polacek <polacek@redhat.com>
59075
59076 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
59077 * math/math_private.h: Likewise.
59078 * stdlib/tst-strtod.c: Likewise.
59079 * sysdeps/i386/i486/bits/atomic.h: Likewise.
59080 * sysdeps/x86_64/bits/atomic.h: Likewise.
59081
59082 2012-03-02 David S. Miller <davem@davemloft.net>
59083
59084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
59085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
59086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
59087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
59088 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
59089 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
59090 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
59091 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
59092
59093 2012-03-02 Roland McGrath <roland@hack.frob.com>
59094
59095 [BZ #13792]
59096 * manual/examples/README: New file, says the example source files
59097 can be used under GPL>=2.
59098 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
59099 line containing just "*/".
59100 * manual/examples/add.c: Add copyright header (GPL>=2).
59101 * manual/examples/argp-ex1.c: Likewise.
59102 * manual/examples/argp-ex2.c: Likewise.
59103 * manual/examples/argp-ex3.c: Likewise.
59104 * manual/examples/argp-ex4.c: Likewise.
59105 * manual/examples/atexit.c: Likewise.
59106 * manual/examples/db.c: Likewise.
59107 * manual/examples/dir.c: Likewise.
59108 * manual/examples/dir2.c: Likewise.
59109 * manual/examples/execinfo.c: Likewise.
59110 * manual/examples/filecli.c: Likewise.
59111 * manual/examples/filesrv.c: Likewise.
59112 * manual/examples/fmtmsgexpl.c: Likewise.
59113 * manual/examples/genpass.c: Likewise.
59114 * manual/examples/inetcli.c: Likewise.
59115 * manual/examples/inetsrv.c: Likewise.
59116 * manual/examples/isockad.c: Likewise.
59117 * manual/examples/longopt.c: Likewise.
59118 * manual/examples/memopen.c: Likewise.
59119 * manual/examples/memstrm.c: Likewise.
59120 * manual/examples/mkfsock.c: Likewise.
59121 * manual/examples/mkisock.c: Likewise.
59122 * manual/examples/mygetpass.c: Likewise.
59123 * manual/examples/pipe.c: Likewise.
59124 * manual/examples/popen.c: Likewise.
59125 * manual/examples/rprintf.c: Likewise.
59126 * manual/examples/search.c: Likewise.
59127 * manual/examples/select.c: Likewise.
59128 * manual/examples/setjmp.c: Likewise.
59129 * manual/examples/sigh1.c: Likewise.
59130 * manual/examples/sigusr.c: Likewise.
59131 * manual/examples/stpcpy.c: Likewise.
59132 * manual/examples/strdupa.c: Likewise.
59133 * manual/examples/strftim.c: Likewise.
59134 * manual/examples/strncat.c: Likewise.
59135 * manual/examples/subopt.c: Likewise.
59136 * manual/examples/swapcontext.c: Likewise.
59137 * manual/examples/termios.c: Likewise.
59138 * manual/examples/testopt.c: Likewise.
59139 * manual/examples/testpass.c: Likewise.
59140 * manual/examples/timeval_subtract.c: Likewise.
59141
59142 [BZ #13792]
59143 * manual/time.texi (Elapsed Time): Move timeval_subtract example
59144 function to ...
59145 * manual/timeval_subtract.c.texi: ... here, new file.
59146
59147 2012-03-02 David S. Miller <davem@davemloft.net>
59148
59149 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
59150
59151 2012-03-02 Joseph Myers <joseph@codesourcery.com>
59152
59153 [BZ #3976]
59154 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
59155 (__sin): Save and restore rounding mode and use round-to-nearest
59156 for all computations.
59157 (__cos): Save and restore rounding mode and use round-to-nearest
59158 for all computations.
59159 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
59160 <fenv.h>.
59161 (tan): Save and restore rounding mode and use round-to-nearest for
59162 all computations.
59163 * math/libm-test.inc (cos_test_tonearest): New function.
59164 (cos_test_towardzero): Likewise.
59165 (cos_test_downward): Likewise.
59166 (cos_test_upward): Likewise.
59167 (sin_test_tonearest): Likewise.
59168 (sin_test_towardzero): Likewise.
59169 (sin_test_downward): Likewise.
59170 (sin_test_upward): Likewise.
59171 (tan_test_tonearest): Likewise.
59172 (tan_test_towardzero): Likewise.
59173 (tan_test_downward): Likewise.
59174 (tan_test_upward): Likewise.
59175 (main): Call the new functions.
59176 * sysdeps/i386/fpu/libm-test-ulps: Update.
59177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59178
59179 [BZ #10135]
59180 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
59181 small n, then large n, before computing and testing k+n.
59182 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
59183 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
59184 Likewise.
59185 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
59186 Likewise.
59187 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
59188 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
59189 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
59190 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
59191 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
59192 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
59193 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
59194 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
59195 * math/libm-test.inc (scalbn_test): Add more tests.
59196 (scalbln_test): Likewise.
59197
59198 * manual/filesys.texi (mode_t): Describe constraints on size and
59199 signedness, not exact equivalence to a particular type.
59200 (ino_t): Likewise.
59201 (ino64_t): Likewise.
59202 (dev_t): Likewise.
59203 (nlink_t): Likewise.
59204 (blkcnt_t): Likewise.
59205 (blkcnt64_t): Likewise.
59206 * manual/llio.texi (off_t): Likewise.
59207
59208 [BZ #3976]
59209 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
59210 (__ieee754_exp): Save and restore rounding mode and use
59211 round-to-nearest for all computations.
59212 * math/libm-test.inc (exp_test_tonearest): New function.
59213 (exp_test_towardzero): Likewise.
59214 (exp_test_downward): Likewise.
59215 (exp_test_upward): Likewise.
59216 (main): Call the new functions.
59217 * sysdeps/i386/fpu/libm-test-ulps: Update.
59218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59219
59220 2012-03-01 Chris Demetriou <cgd@google.com>
59221
59222 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
59223 have predictable order.
59224
59225 2012-03-01 David S. Miller <davem@davemloft.net>
59226
59227 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
59228
59229 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
59230 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
59231 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
59232 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
59233
59234 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
59235 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
59236 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
59237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
59238 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
59239 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
59240 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
59241 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
59242 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
59243
59244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59245
59246 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
59247 * sysdeps/sparc/fpu/libm-test-ulps: to here.
59248 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
59249
59250 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
59251 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59252 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
59253 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
59254 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
59255 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
59256 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
59257 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59258 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
59259 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
59260 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
59261 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
59262 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59263 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
59264 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59265 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59266 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
59267 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
59268 * sysdeps/sparc/elf/configure: Regenerated.
59269
59270 2012-03-01 Joseph Myers <joseph@codesourcery.com>
59271
59272 * configure.in (AS, LD): Require binutils 2.20 or later.
59273 * configure: Regenerated.
59274 * manual/install.texi (Tools for Compilation): Give binutils 2.20
59275 as required minimum version.
59276 * INSTALL: Regenerated.
59277
59278 [BZ #2541]
59279 [BZ #4108]
59280 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
59281 before squaring exponent.
59282 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
59283 bottom long double and 27 bits of top long double before squaring
59284 exponent.
59285 * math/libm-test.inc (erfc_test): Add more tests.
59286 * sysdeps/i386/fpu/libm-test-ulps: Update.
59287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59289
59290 2012-03-01 Kai Tietz <ktietz@redhat.com>
59291
59292 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
59293 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
59294 containing bit-fields.
59295 * soft-fp/extended.h (_FP_UNION_E): Likewise.
59296 * soft-fp/single.h (_FP_UNION_S): Likewise.
59297 * soft-fp/double.h (_FP_UNION_D): Likewise.
59298
59299 2012-02-29 Joseph Myers <joseph@codesourcery.com>
59300
59301 [BZ #13786]
59302 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
59303 not include ../strcmp.S.
59304 [USE_AS_STRNCASECMP_L]: Likewise.
59305 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
59306 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
59307 * sysdeps/i386/i686/multiarch/strncase_l-c.c
59308 (__strncasecmp_l_ia32): Define as alias to
59309 __strncasecmp_l_nonascii.
59310
59311 [BZ #5794]
59312 * math/libm-test.inc (expm1_test): Add test for bug 5794.
59313 * sysdeps/i386/fpu/libm-test-ulps: Update.
59314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59315
59316 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
59317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59318
59319 2012-02-29 Jeff Law <law@redhat.com>
59320
59321 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
59322 out of bounds read.
59323
59324 2012-02-29 Marek Polacek <polacek@redhat.com>
59325
59326 [BZ #13706]
59327 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
59328 * elf/Makefile: Add rules to run tst-unused-dep.out.
59329
59330 2012-02-28 David S. Miller <davem@davemloft.net>
59331
59332 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
59333 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
59334 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
59335 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
59336 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
59337 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
59338
59339 2012-02-29 Joseph Myers <joseph@codesourcery.com>
59340
59341 * math/libm-test.inc (llround_test): Move one test from
59342 lround_test. Use TEST_f_L in moved test.
59343 (lround_test): Move misplaced test to llround_test. Add testcase
59344 from bug 2561.
59345
59346 2012-02-28 Ulrich Drepper <drepper@gmail.com>
59347
59348 * sysdeps/x86_64/fpu/e_expf.S: New file.
59349 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
59350
59351 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
59352
59353 [BZ #13637]
59354 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
59355 of remain_len that may cause incomplete multi-byte character and
59356 false match.
59357 * posix/bug-regex33.c: New file.
59358 * posix/Makefile (tests): Add bug-regex33.
59359
59360 2012-02-28 Joseph Myers <joseph@codesourcery.com>
59361
59362 * manual/macros.texi: New file.
59363 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
59364 * manual/libc.texinfo: Include macros.texi.
59365 * manual/creatute.texi: Likewise.
59366 * manual/install.texi: Likewise.
59367 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
59368 @glibcadj{} in references to the GNU C Library.
59369 * manual/charset.texi: Likewise.
59370 * manual/conf.texi: Likewise.
59371 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
59372 when not using those macros.
59373 * manual/creature.texi: Likewise.
59374 * manual/crypt.texi: Likewise.
59375 * manual/errno.texi: Likewise.
59376 * manual/filesys.texi: Likewise.
59377 * manual/header.texi: Likewise.
59378 * manual/install.texi: Likewise.
59379 * manual/intro.texi: Likewise.
59380 * manual/io.texi: Likewise.
59381 * manual/job.texi: Likewise.
59382 * manual/lang.texi: Likewise.
59383 * manual/libc.texiinfo: Likewise.
59384 * manual/llio.texi: Likewise.
59385 * manual/locale.texi: Likewise.
59386 * manual/maint.texi: Likewise.
59387 * manual/math.texi: Likewise.
59388 * manual/memory.texi: Likewise.
59389 * manual/message.texi: Likewise.
59390 * manual/nss.texi: Likewise.
59391 * manual/pattern.texi: Likewise.
59392 * manual/process.texi: Likewise.
59393 * manual/resource.texi: Likewise.
59394 * manual/search.texi: Likewise.
59395 * manual/setjmp.texi: Likewise.
59396 * manual/signal.texi: Likewise.
59397 * manual/socket.texi: Likewise.
59398 * manual/startup.texi: Likewise.
59399 * manual/stdio.texi: Likewise.
59400 * manual/string.texi: Likewise.
59401 * manual/sysinfo.texi: Likewise.
59402 * manual/syslog.texi: Likewise.
59403 * manual/terminal.texi: Likewise.
59404 * manual/time.texi: Likewise.
59405 * manual/users.texi: Likewise.
59406 * INSTALL: Regenerated.
59407 * NOTES: Regenerated.
59408 * sysdeps/gnu/errlist.c: Regenerated.
59409
59410 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
59411
59412 * include/dirent.h: Include <dirstream.h> before
59413 <dirent/dirent.h>.
59414
59415 2012-02-28 David S. Miller <davem@davemloft.net>
59416
59417 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
59418 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
59419 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
59420 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
59421
59422 2012-02-27 David S. Miller <davem@davemloft.net>
59423
59424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
59425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
59426 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
59427 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
59428
59429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
59430 frame pointer instead of stack pointer relative arg slot.
59431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
59432 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
59433 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
59434
59435 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
59436
59437 [BZ #3992]
59438 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
59439
59440 2012-02-27 David S. Miller <davem@davemloft.net>
59441
59442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
59443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
59444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
59445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
59446 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
59447 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
59448 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
59449 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
59450
59451 2012-02-27 Joseph Myers <joseph@codesourcery.com>
59452
59453 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
59454 later. Allow versions 5-9.
59455 * configure: Regenerated.
59456 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
59457 required minimum version and 4.6 as recommended version. Do not
59458 mention bugs in GCC 2.7 and 2.8.
59459 * INSTALL: Regenerated.
59460
59461 2012-02-27 David S. Miller <davem@davemloft.net>
59462
59463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
59464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
59465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
59466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
59467 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
59468 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
59469 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
59470 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
59471
59472 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
59473 manipulate bits before adding and subtracting TWO112[sx].
59474 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
59475
59476 2012-02-27 Roland McGrath <roland@hack.frob.com>
59477
59478 [BZ #13775]
59479 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
59480 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
59481 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
59482 being in POSIX, because they are in 1003.1-2008.
59483
59484 * rt/tst-aio.c: Include <fcntl.h>.
59485 * rt/tst-aio7.c: Likewise.
59486 * rt/tst-aio64.c: Likewise.
59487
59488 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
59489
59490 2012-02-27 Joseph Myers <joseph@codesourcery.com>
59491
59492 * manual/install.texi (--with-headers): Describe headers as
59493 interface headers, not private headers.
59494 (Specific advice for GNU/Linux systems): Describe use of headers
59495 from "make headers_install", not private headers from older
59496 kernels.
59497 * INSTALL: Regenerated.
59498 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
59499 Change to 2.6.19.
59500 * sysdeps/unix/sysv/linux/configure: Regenerated.
59501
59502 * manual/llio.texi (fclean): Remove documentation.
59503
59504 * manual/Makefile (libc-texi-generated): New variable. Include
59505 version.texi.
59506 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
59507 $(libc-texi-generated), not duplicated list of files.
59508 (version.texi, stamp-version): New rules.
59509 (realclean): Remove $(libc-texi-generated), not individual files
59510 from that list. Do not remove dir-add.texinfo.
59511 * manual/libc.texinfo: Comment out uses of edition numbers and
59512 references to printed manual. Remove last-updated dates.
59513 (EDITION): Comment out.
59514 (ISBN): Likewise.
59515 (VERSION, UPDATED): Remove.
59516 (version.texi): Include.
59517
59518 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
59519
59520 * sysdeps/posix/spawni.c: Include <signal.h>.
59521 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
59522 * sysdeps/pthread/aio_fsync.c: Likewise.
59523
59524 2012-02-26 Ulrich Drepper <drepper@gmail.com>
59525
59526 * conform/Makefile (tests): Run only when not cross-compiling and
59527 when fast-check is not defined.
59528
59529 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
59530 * conform/data/limits.h-data: Fixes for POSIX2008.
59531 * conform/run-conformtest.sh: Run all tests.
59532 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
59533 headers.
59534 * include/bits/dlfcn.h: Likewise.
59535 * include/langinfo.h: Likewise.
59536 * include/monetary.h: Likewise.
59537 * include/sys/poll.h: Likewise.
59538
59539 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
59540 for __USE_GNU.
59541 * posix/spawn.h: Define __need_sigset_t.
59542 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
59543 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
59544 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
59545 to get sigevent_t only.
59546 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
59547 only for __USE_GNU.
59548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59549 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59550 process_vm_writev only for __USE_GNU.
59551 * termios/termios.h: Declare tcgetsid also for POSIX2008.
59552
59553 * conform/Makefile: For now ignore errors from run-conformtest.
59554 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
59555 POSIX to avoid namespace pollution. Don't prepend headers.
59556 * conform/data/aio.h-data: Fixes for POSIX testing.
59557 * conform/data/fcntl.h-data: Likewise.
59558 * conform/data/glob.h-data: Likewise.
59559 * conform/data/grp.h-data: Likewise.
59560 * conform/data/pthread.h-data: Likewise.
59561 * conform/data/pwd.h-data: Likewise.
59562 * conform/data/signal.h-data: Likewise.
59563 * conform/data/spawn.h-data: Likewise.
59564 * conform/data/stdio.h-data: Likewise.
59565 * conform/data/stdlib.h-data: Likewise.
59566 * conform/data/stropts.h-data: Likewise.
59567 * conform/data/sys/mman.h-data: Likewise.
59568 * conform/data/sys/stat.h-data: Likewise.
59569 * conform/data/sys/types.h-data: Likewise.
59570 * conform/data/sys/wait.h-data: Likewise.
59571 * conform/data/time.h-data: Likewise.
59572 * conform/data/unistd.h-data: Likewise.
59573 * conform/data/utime.h-data: Likewise.
59574
59575 * io/sys/stat.h: fchmod was always in POSIX.
59576 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
59577 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
59578 * rt/aio.h: Define __need_timespec before including <time.h>.
59579 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
59580 struct. Add forward declaration of pthread_attr_t and use it in
59581 sigevent.
59582 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59583 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59584 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
59585 always remove CLK_TCK definition.
59586
59587 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
59588
59589 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
59590
59591 2012-02-25 Ulrich Drepper <drepper@gmail.com>
59592
59593 * conform/run-conformtest.sh: New file.
59594 * conform/Makefile: Run run-conformtest for tests.
59595 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
59596 support.
59597
59598 * conform/data/uchar.h-data: New file.
59599 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
59600 * conform/data/arpa/inet.h-data: Likewise.
59601 * conform/data/assert.h-data: Likewise.
59602 * conform/data/complex.h-data: Likewise.
59603 * conform/data/cpio.h-data: Likewise.
59604 * conform/data/ctype.h-data: Likewise.
59605 * conform/data/dirent.h-data: Likewise.
59606 * conform/data/dlfcn.h-data: Likewise.
59607 * conform/data/errno.h-data: Likewise.
59608 * conform/data/fcntl.h-data: Likewise.
59609 * conform/data/float.h-data: Likewise.
59610 * conform/data/fmtmsg.h-data: Likewise.
59611 * conform/data/fnmatch.h-data: Likewise.
59612 * conform/data/ftw.h-data: Likewise.
59613 * conform/data/glob.h-data: Likewise.
59614 * conform/data/grp.h-data: Likewise.
59615 * conform/data/iconv.h-data: Likewise.
59616 * conform/data/inttypes.h-data: Likewise.
59617 * conform/data/langinfo.h-data: Likewise.
59618 * conform/data/libgen.h-data: Likewise.
59619 * conform/data/limits.h-data: Likewise.
59620 * conform/data/locale.h-data: Likewise.
59621 * conform/data/math.h-data: Likewise.
59622 * conform/data/monetary.h-data: Likewise.
59623 * conform/data/mqueue.h-data: Likewise.
59624 * conform/data/ndbm.h-data: Likewise.
59625 * conform/data/net/if.h-data: Likewise.
59626 * conform/data/netdb.h-data: Likewise.
59627 * conform/data/netinet/in.h-data: Likewise.
59628 * conform/data/nl_types.h-data: Likewise.
59629 * conform/data/poll.h-data: Likewise.
59630 * conform/data/pthread.h-data: Likewise.
59631 * conform/data/pwd.h-data: Likewise.
59632 * conform/data/regex.h-data: Likewise.
59633 * conform/data/sched.h-data: Likewise.
59634 * conform/data/search.h-data: Likewise.
59635 * conform/data/semaphore.h-data: Likewise.
59636 * conform/data/setjmp.h-data: Likewise.
59637 * conform/data/signal.h-data: Likewise.
59638 * conform/data/spawn.h-data: Likewise.
59639 * conform/data/stdarg.h-data: Likewise.
59640 * conform/data/stdio.h-data: Likewise.
59641 * conform/data/stdlib.h-data: Likewise.
59642 * conform/data/string.h-data: Likewise.
59643 * conform/data/strings.h-data: Likewise.
59644 * conform/data/stropts.h-data: Likewise.
59645 * conform/data/sys/ipc.h-data: Likewise.
59646 * conform/data/sys/mman.h-data: Likewise.
59647 * conform/data/sys/msg.h-data: Likewise.
59648 * conform/data/sys/resource.h-data: Likewise.
59649 * conform/data/sys/select.h-data: Likewise.
59650 * conform/data/sys/sem.h-data: Likewise.
59651 * conform/data/sys/shm.h-data: Likewise.
59652 * conform/data/sys/socket.h-data: Likewise.
59653 * conform/data/sys/stat.h-data: Likewise.
59654 * conform/data/sys/statvfs.h-data: Likewise.
59655 * conform/data/sys/time.h-data: Likewise.
59656 * conform/data/sys/timeb.h-data: Likewise.
59657 * conform/data/sys/times.h-data: Likewise.
59658 * conform/data/sys/types.h-data: Likewise.
59659 * conform/data/sys/uio.h-data: Likewise.
59660 * conform/data/sys/un.h-data: Likewise.
59661 * conform/data/sys/utsname.h-data: Likewise.
59662 * conform/data/sys/wait.h-data: Likewise.
59663 * conform/data/syslog.h-data: Likewise.
59664 * conform/data/tar.h-data: Likewise.
59665 * conform/data/termios.h-data: Likewise.
59666 * conform/data/utime.h-data: Likewise.
59667 * conform/data/utmpx.h-data: Likewise.
59668 * conform/data/varargs.h-data: Likewise.
59669 * conform/data/wchar.h-data: Likewise.
59670 * conform/data/wctype.h-data: Likewise.
59671 * conform/data/wordexp.h-data: Likewise.
59672
59673 * include/stropts.h: New file.
59674 * include/uchar.h: New file.
59675 * include/aio.h: Changes to allow conformtest.pl to use the headers.
59676 * include/assert.h: Likewise.
59677 * include/ctype.h: Likewise.
59678 * include/dirent.h: Likewise.
59679 * include/dlfcn.h: Likewise.
59680 * include/fcntl.h: Likewise.
59681 * include/fnmatch.h: Likewise.
59682 * include/glob.h: Likewise.
59683 * include/grp.h: Likewise.
59684 * include/libio.h: Likewise.
59685 * include/locale.h: Likewise.
59686 * include/math.h: Likewise.
59687 * include/net/if.h: Likewise.
59688 * include/netdb.h: Likewise.
59689 * include/netinet/in.h: Likewise.
59690 * include/pthread.h: Likewise.
59691 * include/pwd.h: Likewise.
59692 * include/regex.h: Likewise.
59693 * include/sched.h: Likewise.
59694 * include/search.h: Likewise.
59695 * include/setjmp.h: Likewise.
59696 * include/signal.h: Likewise.
59697 * include/stdio.h: Likewise.
59698 * include/stdlib.h: Likewise.
59699 * include/string.h: Likewise.
59700 * include/sys/cdefs.h: Likewise.
59701 * include/sys/mman.h: Likewise.
59702 * include/sys/msg.h: Likewise.
59703 * include/sys/resource.h: Likewise.
59704 * include/sys/select.h: Likewise.
59705 * include/sys/socket.h: Likewise.
59706 * include/sys/stat.h: Likewise.
59707 * include/sys/statvfs.h: Likewise.
59708 * include/sys/time.h: Likewise.
59709 * include/sys/times.h: Likewise.
59710 * include/sys/uio.h: Likewise.
59711 * include/sys/utsname.h: Likewise.
59712 * include/sys/wait.h: Likewise.
59713 * include/termios.h: Likewise.
59714 * include/time.h: Likewise.
59715 * include/ulimit.h: Likewise.
59716 * include/unistd.h: Likewise.
59717 * include/utime.h: Likewise.
59718 * include/wchar.h: Likewise.
59719 * include/wctype.h: Likewise.
59720 * include/wordexp.h: Likewise.
59721
59722 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
59723
59724 * time/time.h: TIME_UTC must be a macro.
59725 Make timespec_get available for ISO C11 only as well.
59726
59727 2012-02-24 Ulrich Drepper <drepper@gmail.com>
59728
59729 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
59730 Reported by Peng Haitao <penght@cn.fujitsu.com>.
59731
59732 2012-02-24 Joseph Myers <joseph@codesourcery.com>
59733
59734 * configure.in: Use -o not -a in test for unsupported multi-arch.
59735
59736 2012-02-24 Joseph Myers <joseph@codesourcery.com>
59737
59738 * manual/texinfo.tex: Update to version 2012-01-19.16.
59739
59740 2012-02-24 Joseph Myers <joseph@codesourcery.com>
59741
59742 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
59743
59744 2012-02-24 Roland McGrath <roland@hack.frob.com>
59745
59746 [BZ #13738]
59747 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
59748 * manual/fdl-1.3.texi: New file.
59749 * manual/fdl-1.1.texi: File removed.
59750
59751 [BZ #13738]
59752 * manual/libc.texinfo (FDL_VERSION): New @set.
59753 Use it for mention of FDL in cover text.
59754 (Documentation License): Use it in @include file name.
59755
59756 2012-02-22 Joseph Myers <joseph@codesourcery.com>
59757 Roland McGrath <roland@hack.frob.com>
59758
59759 [BZ #5461]
59760 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
59761 (not LONG_LONG_MAX and LONG_LONG_MIN.
59762 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
59763 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
59764 name.
59765 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
59766
59767 2012-02-22 Joseph Myers <joseph@codesourcery.com>
59768
59769 [BZ #2547]
59770 [BZ #11365]
59771 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
59772 manipulate bits before adding and subtracting TWO23[sx].
59773 * math/libm-test.inc (nearbyint_test): Add more tests.
59774
59775 2012-02-22 Joseph Myers <joseph@codesourcery.com>
59776
59777 [BZ #2548]
59778 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
59779 bits before adding and subtracting TWO23[sx].
59780 * math/libm-test.inc (rint_test): Add more tests.
59781 (rint_test_tonearest): Likewise.
59782 (rint_test_towardzero): Likewise.
59783 (rint_test_downward): Likewise.
59784 (rint_test_upward: Likewise.
59785
59786 2012-02-22 Joseph Myers <joseph@codesourcery.com>
59787
59788 [BZ #10110]
59789 * include/stdc-predef.h: New file. Extracted from features.h.
59790 * include/features.h: Include stdc-predef.h.
59791 * Makefile (headers): Add stdc-predef.h.
59792 * CONFORMANCE (Compiler limitations): Update.
59793
59794 2012-02-22 Joseph Myers <joseph@codesourcery.com>
59795
59796 * manual/libc.texinfo (VERSION, UPDATED): Revert.
59797
59798 2012-02-21 David S. Miller <davem@davemloft.net>
59799
59800 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
59801 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
59802
59803 2012-02-20 David S. Miller <davem@davemloft.net>
59804
59805 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
59806 using a normal save/restore sequence, rather than allocating a
59807 dummy stack frame just to store a frame pointer and restore.
59808 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
59809
59810 2012-02-21 Joseph Myers <joseph@codesourcery.com>
59811
59812 * manual/install.texi: Fix stray word in line-wrapped comment.
59813
59814 2012-02-20 David S. Miller <davem@davemloft.net>
59815
59816 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
59817 both binutils and gcc support GOTDATA.
59818
59819 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
59820 "rd %pc" in the PIC register setup sequences.
59821
59822 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
59823 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
59824 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
59825 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
59826 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
59827 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
59828 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59829 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
59830 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
59831 (SYSCALL_ERROR_HANDLER): Likewise.
59832 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
59833 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59834 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
59835 (SYSCALL_ERROR_HANDLER): Likewise.
59836
59837 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
59838 (HAVE_GCC_GOTDATA): New.
59839 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
59840 relocation support in both binutils and gcc.
59841 * sysdeps/sparc/elf/configure: Regenerate.
59842
59843 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
59844 * sysdeps/sparc/sparc32/elf/configure: Delete.
59845 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
59846 * sysdeps/sparc/sparc64/elf/configure: Delete.
59847 * sysdeps/sparc/elf/configure.in: New file.
59848 * sysdeps/sparc/elf/configure: Generate.
59849
59850 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
59851 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
59852 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59853 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
59854 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
59855
59856 2012-02-21 Joseph Myers <joseph@codesourcery.com>
59857
59858 * manual/install.texi: Do not mention specific glibc version
59859 numbers.
59860 * manual/libc.texinfo (VERSION, UPDATED): Update.
59861 (@copying): Use @copyright{} and range of years.
59862
59863 2012-02-21 Joseph Myers <joseph@codesourcery.com>
59864
59865 [BZ #13695]
59866 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
59867 [crti.S not in sysdirs] (generated): Do not append.
59868 [crti.S not in sysdirs] (omit-deps): Likewise.
59869 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
59870 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
59871 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
59872 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
59873 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
59874 Likewise.
59875 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
59876 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
59877 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
59878 * csu/defs.awk: Remove file.
59879 * sysdeps/generic/initfini.c: Likewise.
59880 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
59881 variable.
59882 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
59883 Likewise.
59884
59885 2012-02-20 Joseph Myers <joseph@codesourcery.com>
59886
59887 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
59888 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
59889 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
59890 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
59891 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59892 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
59893 <bits/epoll.h>.
59894 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
59895 (__EPOLL_PACKED): Define to empty if not defined by
59896 <bits/epoll.h>.
59897 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
59898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59899 bits/epoll.h.
59900
59901 2012-02-20 Joseph Myers <joseph@codesourcery.com>
59902
59903 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
59904 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
59905 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
59906 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
59907 <bits/timerfd.h>.
59908 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
59909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59910 bits/timerfd.h.
59911
59912 2012-02-20 Joseph Myers <joseph@codesourcery.com>
59913
59914 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
59915 in C locale.
59916 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59917 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59918 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
59919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59920
59921 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
59922
59923 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59924 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
59925
59926 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
59927
59928 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
59929 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
59930 defined.
59931 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
59932 Likewise.
59933 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
59934 entry for 2.16.
59935
59936 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
59937
59938 * math/w_acos.c: Use non-signaling floating-point comparisons.
59939 * math/w_acosf.c: Likewise.
59940 * math/w_acosh.c: Likewise.
59941 * math/w_acoshf.c: Likewise.
59942 * math/w_acoshl.c: Likewise.
59943 * math/w_acosl.c: Likewise.
59944 * math/w_asin.c: Likewise.
59945 * math/w_asinf.c: Likewise.
59946 * math/w_asinl.c: Likewise.
59947 * math/w_atanh.c: Likewise.
59948 * math/w_atanhf.c: Likewise.
59949 * math/w_atanhl.c: Likewise.
59950 * math/w_exp2.c: Likewise.
59951 * math/w_exp2f.c: Likewise.
59952 * math/w_exp2l.c: Likewise.
59953 * math/w_j0.c: Likewise.
59954 * math/w_j0f.c: Likewise.
59955 * math/w_j0l.c: Likewise.
59956 * math/w_j1.c: Likewise.
59957 * math/w_j1f.c: Likewise.
59958 * math/w_j1l.c: Likewise.
59959 * math/w_jn.c: Likewise.
59960 * math/w_jnf.c: Likewise.
59961 * math/w_log.c: Likewise.
59962 * math/w_log10.c: Likewise.
59963 * math/w_log10f.c: Likewise.
59964 * math/w_log10l.c: Likewise.
59965 * math/w_log2.c: Likewise.
59966 * math/w_log2f.c: Likewise.
59967 * math/w_log2l.c: Likewise.
59968 * math/w_logf.c: Likewise.
59969 * math/w_logl.c: Likewise.
59970 * math/w_sqrt.c: Likewise.
59971 * math/w_sqrtf.c: Likewise.
59972 * math/w_sqrtl.c: Likewise.
59973 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59974 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
59975 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59976 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59977 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59978
59979 2012-02-19 Joseph Myers <joseph@codesourcery.com>
59980
59981 [BZ #9739]
59982 * manual/string.texi (strnlen): Use correct parameter name in
59983 equivalent expression.
59984
59985 2012-02-19 Joseph Myers <joseph@codesourcery.com>
59986
59987 [BZ #11174]
59988 * manual/users.texi (seteuid): Consistently use neweuid for
59989 argument name.
59990
59991 2012-02-19 Joseph Myers <joseph@codesourcery.com>
59992
59993 [BZ #13704]
59994 * manual/nss.texi (Services in the NSS configuration): Correct
59995 list of services in example configuration file.
59996
59997 2012-02-19 Nick Bowler <nbowler@draconx.ca>
59998
59999 [BZ #11322]
60000 * manual/arith.texi: Remove statements about negative zero
60001 behaving identically to zero.
60002
60003 2012-02-18 Joseph Myers <joseph@codesourcery.com>
60004
60005 [BZ #5993]
60006 * manual/install.texi: Do not document upgrading from libc5.
60007
60008 2012-02-18 Joseph Myers <joseph@codesourcery.com>
60009
60010 [BZ #4596]
60011 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
60012
60013 2012-02-18 David S. Miller <davem@davemloft.net>
60014
60015 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
60016 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
60017 %o7 across the call.
60018 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
60019 instead.
60020 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
60021 SETUP_PIC_REG_LEAF.
60022 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60023 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
60024 * sysdeps/sparc/crtn.S: Likewise.
60025
60026 2012-02-17 Ulrich Drepper <drepper@gmail.com>
60027
60028 * aout/Makefile: Remove.
60029
60030 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
60031
60032 [BZ #13058]
60033 * manual/examples/argp-ex1.c (main): Format definition in GNU
60034 style.
60035 * manual/examples/argp-ex2.c (main): Likewise.
60036 * manual/examples/argp-ex3.c (main): Likewise.
60037 * manual/examples/argp-ex4.c (main): Likewise.
60038 * manual/examples/longopt.c (main): Use new-style prototype
60039 definition.
60040 * manual/examples/strncat.c (main): Specify return type and use
60041 (void) for arguments.
60042 * manual/examples/subopt.c (main): Use char **argv argument.
60043
60044 2012-02-17 Joseph Myers <joseph@codesourcery.com>
60045
60046 [BZ #5077]
60047 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
60048 rounding modes.
60049
60050 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
60051
60052 [BZ #6907]
60053 * manual/string.texi (strchr): Change when strchrnul is
60054 recommended.
60055
60056 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
60057
60058 [BZ #174]
60059 * manual/locale.texi (setlocale): Document LOCPATH.
60060
60061 2012-02-17 Joseph Myers <joseph@codesourcery.com>
60062
60063 [BZ #10210]
60064 * manual/process.texi (execle): Move @dots{} before last argument.
60065
60066 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
60067
60068 [BZ #12047]
60069 * manual/charset.texi (Generic Charset Conversion): Fix typo
60070 (LC_TYPE -> LC_CTYPE).
60071
60072 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
60073
60074 [BZ #5805]
60075 * manual/arith.texi (scalbn): Use @var{} on parameter names.
60076 (scalbnf): Likewise.
60077 (scalbnl): Likewise.
60078 (scalbln): Likewise.
60079 (scalblnf): Likewise.
60080 (scalblnl): Likewise.
60081 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
60082 (vwarnx): Likewise.
60083 (verr): Likewise.
60084 (verrx): Likewise.
60085 * manual/filesys.texi (telldir): Use braces around return type.
60086 * manual/llio.texi (mmap): Add space after comma.
60087 (mmap64): Likewise.
60088 * manual/math.texi (jn): Use @var{} on parameter names.
60089 (jnf): Likewise.
60090 (jnl): Likewise.
60091 (yn): Likewise.
60092 (ynf): Likewise.
60093 (ynl): Likewise.
60094 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
60095 line.
60096 * manual/resource.texi (ulimit): Use @dots{} instead of literal
60097 "...".
60098 (sched_get_priority_min): Remove semicolon on @deftypefun line.
60099 (sched_get_priority_max): Likewise.
60100 * manual/signal.texi (sigvec): Add space after comma.
60101 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
60102 names.
60103 (if_indextoname): Likewise.
60104 (if_freenameindex): Likewise.
60105 (sendto): Use ',' instead of '.' in prototype.
60106 * manual/startup.texi (syscall): Use @dots{} instead of literal
60107 "...".
60108 * manual/stdio.texi (__fpending): Separate initial words of
60109 paragraph from @deftypefun line.
60110 * manual/syslog.texi (syslog): Use @dots{} instead of literal
60111 "...".
60112 (vsyslog): Use @var{} on parameter names.
60113 * manual/terminal.texi (stty): Use @var{} on parameter names.
60114 * manual/users.texi (getutmp): Use @var{} on parameter names.
60115 (getutmpx): Likewise.
60116
60117 2012-02-17 Joseph Myers <joseph@codesourcery.com>
60118
60119 [BZ #6884]
60120 * manual/stdio.texi (fopen): Fix typos in description of
60121 ",ccs=STRING".
60122
60123 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
60124
60125 [BZ #4026]
60126 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
60127 get clock_id definition.
60128
60129 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
60130
60131 [BZ #4822]
60132 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
60133 (madvise): Cast every argument to void on its own.
60134
60135 2012-02-17 Joseph Myers <joseph@codesourcery.com>
60136
60137 [BZ #9902]
60138 * manual/startup.texi (Exit Status): Fix typo.
60139
60140 2012-02-17 Joseph Myers <joseph@codesourcery.com>
60141
60142 [BZ #10140]
60143 * manual/examples/argp-ex1.c: Include <stdlib.h>.
60144 * manual/examples/argp-ex2.c: Likewise.
60145 * manual/examples/argp-ex3.c: Likewise.
60146
60147 2012-02-16 Richard Henderson <rth@redhat.com>
60148
60149 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
60150 * sysdeps/s390/s390-32/initfini.c: Remove.
60151 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
60152 * sysdeps/s390/s390-64/initfini.c: Remove.
60153
60154 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
60155
60156 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
60157 compiler output for sysdeps/generic/initfini.c.
60158 * sysdeps/sh/elf/initfini.c: Remove file.
60159
60160 2012-02-16 David S. Miller <davem@davemloft.net>
60161
60162 [BZ #11494]
60163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
60164
60165 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
60166 * sysdeps/sparc/crti.S: New file.
60167 * sysdeps/sparc/crtn.S: New file.
60168 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
60169 * sysdeps/sparc/sparc64/Makefile: Likewise.
60170
60171 2012-02-15 Mike Frysinger <vapier@gentoo.org>
60172
60173 [BZ #3335]
60174 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
60175
60176 2012-02-15 Roland McGrath <roland@hack.frob.com>
60177
60178 [BZ #4822]
60179 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
60180
60181 * mach/devstream.c (cookie_io_functions_t): Macro removed.
60182 (write, read, close): Likewise.
60183 Patch by Aurelien Jarno <aurelien@aurel32.net>.
60184
60185 2012-02-15 Joseph Myers <joseph@codesourcery.com>
60186
60187 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
60188 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
60189 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
60190 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
60191 <bits/signalfd.h>.
60192 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
60193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60194 bits/signalfd.h.
60195
60196 2012-02-14 Marek Polacek <polacek@redhat.com>
60197
60198 * sysdeps/x86_64/crti.S: New file.
60199 * sysdeps/x86_64/crtn.S: New file.
60200 * sysdeps/x86_64/elf/initfini.c: Remove file.
60201
60202 2012-02-13 Joseph Myers <joseph@codesourcery.com>
60203
60204 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
60205 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
60206 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
60207 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
60208 <bits/inotify.h>.
60209 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
60210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60211 bits/inotify.h.
60212
60213 2012-02-13 Joseph Myers <joseph@codesourcery.com>
60214
60215 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
60216 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
60217 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
60218 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
60219 <bits/eventfd.h>.
60220 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
60221 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60222 bits/eventfd.h.
60223
60224 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
60225
60226 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
60227 __feraiseexcept instead of feraiseexcept.
60228
60229 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
60230 nanosleep invocations.
60231 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
60232 strings, and add error checking for a nanosleep invocations.
60233
60234 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
60235
60236 Replace FSF snail mail address with URLs, as per GNU coding standards.
60237 Most of the snail mail addresses were wrong anyway, and omitting
60238 them makes the source code easier to maintain. Almost all of the
60239 changes are to license notices and to locale LC_IDENTIFICATION
60240 addresses, except for this one:
60241 * manual/libc.texinfo: In "Published by", give the FSF's URL,
60242 not its snail mail address.
60243
60244 2012-02-09 Richard Henderson <rth@twiddle.net>
60245
60246 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
60247 of kernel-features.h.
60248
60249 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
60250
60251 2012-02-08 Marek Polacek <polacek@redhat.com>
60252
60253 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
60254 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
60255 * sysdeps/gnu/_G_config.h: Likewise.
60256 * sysdeps/generic/_G_config.h: Likewise.
60257
60258 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
60259
60260 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
60261 tests.
60262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60263
60264 * sysdeps/powerpc/powerpc32/crti.S: New file.
60265 * sysdeps/powerpc/powerpc32/crtn.S: New file.
60266 * sysdeps/powerpc/powerpc64/crti.S: New file.
60267 * sysdeps/powerpc/powerpc64/crtn.S: New file.
60268
60269 * Makeconfig (have-initfini): Don't set.
60270 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
60271 * configure.in (nopic_initfini): Don't substitute.
60272 * config.h.in (HAVE_INITFINI): Don't #undef.
60273 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
60274 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
60275
60276 2012-02-08 Joseph Myers <joseph@codesourcery.com>
60277
60278 Support crti.S and crtn.S provided directly by architectures.
60279 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
60280 [crti.S in sysdirs] (omit-deps): Likewise.
60281 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
60282 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
60283 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
60284 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
60285 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
60286 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
60287 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
60288 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
60289 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
60290 compiler output for sysdeps/generic/initfini.c.
60291 * sysdeps/i386/elf/Makefile: Remove file.
60292 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
60293
60294 2012-02-07 Marek Polacek <polacek@redhat.com>
60295
60296 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
60297 * sysdeps/gnu/_G_config.h: Likewise.
60298 * sysdeps/mach/hurd/_G_config.h: Likewise.
60299
60300 2012-02-07 Marek Polacek <polacek@redhat.com>
60301
60302 * math/Makefile (tests): Add tst-CMPLX2.
60303 * math/tst-CMPLX2.c: New file.
60304
60305 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
60306
60307 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60308
60309 * math/libm-test.inc (jn_test): Add missing L suffix.
60310
60311 2012-02-06 Marek Polacek <polacek@redhat.com>
60312
60313 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
60314 * sysdeps/i386/fpu/e_powf.S: Likewise.
60315 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60316 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
60317 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60318 * sysdeps/i386/fpu/e_pow.S: Likewise.
60319 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60320 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60321 * sysdeps/i386/fpu/s_expm1.S: Likewise.
60322 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60323 * sysdeps/i386/fpu/e_log2.S: Likewise.
60324 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60325 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60326 * sysdeps/i386/fpu/e_powl.S: Likewise.
60327 * sysdeps/i386/fpu/s_log1p.S: Likewise.
60328 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60329 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60330 * sysdeps/i386/fpu/e_logl.S: Likewise.
60331 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60332 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
60333 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60334 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60335 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60336 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60337 * sysdeps/i386/fpu/e_log.S: Likewise.
60338 * sysdeps/i386/fpu/s_cexp.S: Likewise.
60339 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60340 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
60341 * sysdeps/i386/fpu/e_logf.S: Likewise.
60342 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60343 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60344 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
60345 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60346 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
60347 * sysdeps/i386/fpu/e_log10.S: Likewise.
60348 * sysdeps/i386/fpu/s_frexp.S: Likewise.
60349 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60350 * sysdeps/i386/fpu/s_asinh.S: Likewise.
60351 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60352 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60353 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60354 * sysdeps/i386/asm-syntax.h: Likewise.
60355 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60356 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60357 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60358 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
60359 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
60360 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60361 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60362 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60363 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60364 * sysdeps/powerpc/sysdep.h: Likewise.
60365 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
60366 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60367
60368 2012-02-06 Joseph Myers <joseph@codesourcery.com>
60369
60370 [BZ #411]
60371 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
60372
60373 2012-02-06 Joseph Myers <joseph@codesourcery.com>
60374
60375 * sysdeps/i386/sysdep.h: Include <features.h>.
60376 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
60377 version.
60378
60379 2012-02-05 Joseph Myers <joseph@codesourcery.com>
60380
60381 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
60382 Define.
60383 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
60384 LOAD_PIC_REG_STR.
60385
60386 2012-02-03 Joseph Myers <joseph@codesourcery.com>
60387
60388 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
60389 (SETUP_PIC_REG): Use GET_PC_THUNK.
60390 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
60391 macro.
60392
60393 2012-02-03 Joseph Myers <joseph@codesourcery.com>
60394
60395 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
60396 for non-PIC compilation.
60397 (SETUP_PIC_REG): Add .p2align directive.
60398 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
60399 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
60400 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60401 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60402 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
60403 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60404 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
60405 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60406 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60407 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60408 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60409 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60410 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60411 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60412 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60413 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
60414 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
60415 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60416 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60417 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60418 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60419 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
60420 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60421 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60422 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
60423 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
60424 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60425 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
60426 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60427 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60428 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60429 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60430 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60431 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60432 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60433 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60434 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60435 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60436 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60437 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60438 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60439
60440 2012-02-03 Joseph Myers <joseph@codesourcery.com>
60441
60442 * math/tst-CMPLX.c: Include <stdio.h>.
60443
60444 2012-01-31 Joseph Myers <joseph@codesourcery.com>
60445
60446 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
60447 float.
60448 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
60449 * sysdeps/sparc/bits/mathdef.h: Likewise.
60450
60451 2012-01-31 Marek Polacek <polacek@redhat.com>
60452
60453 * libio/libio.h: Don't define _PARAMS.
60454 * locale/programs/config.h: Don't define PARAMS.
60455 * stdlib/strtol_l.c: Likewise.
60456 (__strtol_l): Remove PARAMS from the prototype.
60457
60458 2012-01-31 Ulrich Drepper <drepper@gmail.com>
60459
60460 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
60461 names. Just use the correct names. Remove unnecessary wrapper
60462 functions.
60463 * malloc/arena.c: Likewise.
60464 * malloc/hooks.c: Likewise.
60465
60466 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
60467 ARENA_TEST says not to. Simplify test for creation of a new arena.
60468 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
60469
60470 2012-01-30 Ulrich Drepper <drepper@gmail.com>
60471
60472 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
60473 into tail calls.
60474 (update_get_addr): New function.
60475 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
60476 GET_ADDR_MODULE parameter.
60477
60478 2012-01-30 Joseph Myers <joseph@codesourcery.com>
60479
60480 * crypt/cert.c: Remove __STDC__ conditionals.
60481 * crypt/crypt-entry.c: Likewise.
60482 * crypt/crypt_util.c: Likewise.
60483 * libio/filedoalloc.c: Likewise.
60484 * libio/fileops.c: Likewise.
60485 * libio/genops.c: Likewise.
60486 * libio/iofclose.c: Likewise.
60487 * libio/iofdopen.c: Likewise.
60488 * libio/iofopen.c: Likewise.
60489 * libio/iofopen64.c: Likewise.
60490 * libio/iogetdelim.c: Likewise.
60491 * libio/iopopen.c: Likewise.
60492 * libio/obprintf.c: Likewise.
60493 * libio/oldfileops.c: Likewise.
60494 * libio/oldiofclose.c: Likewise.
60495 * libio/oldiofdopen.c: Likewise.
60496 * libio/oldiofopen.c: Likewise.
60497 * libio/oldiopopen.c: Likewise.
60498 * libio/wfiledoalloc.c: Likewise.
60499 * libio/wgenops.c: Likewise.
60500 * locale/programs/xmalloc.c: Likewise.
60501 * misc/syslog.c: Likewise.
60502 * stdio-common/xbug.c: Likewise.
60503 * string/memchr.c: Likewise.
60504 * string/memcmp.c: Likewise.
60505 * string/memrchr.c: Likewise.
60506 * string/rawmemchr.c: Likewise.
60507 * sysdeps/posix/getcwd.c: Likewise.
60508 * time/strftime_l.c: Likewise.
60509
60510 2012-01-30 Joseph Myers <joseph@codesourcery.com>
60511
60512 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
60513 * config.make.in (config-cflags-sse2avx): Define.
60514 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
60515 Fix typo.
60516
60517 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
60518
60519 * scripts/config.guess: Update from upstream config git repository.
60520 * scripts/config.sub: Likewise.
60521
60522 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
60523
60524 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
60525 (EM_NUM): Update.
60526 (R_TILEPRO_*, R_TILEGX_*): New macros.
60527
60528 * scripts/firstversions.awk: Fix bug in version range handling.
60529
60530 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
60531
60532 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
60533
60534 * include/sys/epoll.h: New file.
60535 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
60536 libc_hidden_def.
60537
60538 2012-01-28 Ulrich Drepper <drepper@gmail.com>
60539
60540 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
60541 Avoid unnecessary __WORDSIZE == 64 test.
60542 (fmaxf): Use VEX format if possible.
60543 (fmax): Likewise.
60544 (fminf): Likewise.
60545 (fmin): Likewise.
60546
60547 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
60548 * math/math_private.h: Remove libc_fegetround* and
60549 libc_fesetround*.
60550 * sysdeps/i386/configure.in: Check for -msse2avx.
60551 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
60552 also if SSE2AVX is defined.
60553 Remove libc_fegetround* and libc_fesetround*.
60554 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
60555 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
60556 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
60557 of HAS_YMM_USABLE.
60558 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60559 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60560 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60561 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60562 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60563
60564 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
60565
60566 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60567
60568 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
60569 size is not set.
60570 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60571
60572 2012-01-27 Ulrich Drepper <drepper@gmail.com>
60573
60574 [BZ #13618]
60575 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
60576 relocation.
60577 * Makeconfig (libm): Define.
60578 * elf/Makefile: Add rules to build and run tst-relsort1.
60579 * elf/tst-relsort1.c: New file.
60580 * elf/tst-relsort1mod1.c: New file.
60581 * elf/tst-relsort1mod2.c: New file.
60582
60583 2012-01-27 Joseph Myers <joseph@codesourcery.com>
60584
60585 * math/s_ldexp.c: Remove __STDC__ conditionals.
60586 * math/s_ldexpf.c: Likewise.
60587 * math/s_ldexpl.c: Likewise.
60588 * math/s_nextafter.c: Likewise.
60589 * math/s_nexttowardf.c: Likewise.
60590 * math/s_significand.c: Likewise.
60591 * math/s_significandf.c: Likewise.
60592 * math/s_significandl.c: Likewise.
60593 * math/w_jnl.c: Likewise.
60594 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
60595 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
60596 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
60597 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
60598 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
60599 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60600 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
60601 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60602 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60603 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60604 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60605 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60606 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60607 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
60608 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60609 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60610 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60611 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60613 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60614 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60615 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60616 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60617 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60618 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60619 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60620 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60621 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60622 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
60623 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60624 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60625 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
60626 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60627 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
60628 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
60629 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60630 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
60631 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
60632 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
60633 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
60634 * sysdeps/ieee754/k_standard.c: Likewise.
60635 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60636 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
60637 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
60638 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
60639 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
60640 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
60641 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
60642 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
60643 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
60644 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
60645 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
60646 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
60647 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
60648 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
60649 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
60650 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
60651 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
60652 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
60653 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60654 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
60655 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
60656 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
60657 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
60658 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
60659 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
60660 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
60661 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60662 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60663 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60664 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
60665 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
60666 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
60667 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
60668 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
60669 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
60670 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
60671 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
60672 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
60673 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
60674 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
60675 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
60676 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
60677 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
60678 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
60679 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
60680 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
60681 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
60682 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
60683 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
60684 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
60685 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
60686 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
60687 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
60688 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
60689 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
60690 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
60691 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
60692 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60693 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60694 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60695 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60696 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
60697 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
60698 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
60699 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60700 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60701 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60702 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
60703 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
60704 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60705 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60706 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60707 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60708 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
60709 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
60710 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60711 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
60712 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
60713 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
60714 * sysdeps/ieee754/s_matherr.c: Likewise.
60715 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
60716 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
60717 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
60718 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
60719
60720 2012-01-26 Joseph Myers <joseph@codesourcery.com>
60721
60722 * crypt/md5.h: Remove __STDC__ conditionals.
60723 * libio/libioP.h: Likewise.
60724 * locale/programs/config.h: Likewise.
60725 * sysdeps/generic/sysdep.h: Likewise.
60726 * sysdeps/i386/asm-syntax.h: Likewise.
60727 * sysdeps/s390/asm-syntax.h: Likewise.
60728 * sysdeps/unix/sysdep.h: Likewise.
60729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
60730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60731
60732 2012-01-26 Joseph Myers <joseph@codesourcery.com>
60733
60734 * libio/libio.h: Remove __STDC__ conditionals.
60735 * malloc/obstack.h: Likewise.
60736 * math/complex.h: Likewise.
60737 * math/math.h: Likewise.
60738 * sysdeps/generic/_G_config.h: Likewise.
60739 * sysdeps/gnu/_G_config.h: Likewise.
60740 * sysdeps/mach/hurd/_G_config.h: Likewise.
60741 * sysdeps/powerpc/bits/mathdef.h: Likewise.
60742 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
60743 * sysdeps/sparc/bits/mathdef.h: Likewise.
60744
60745 2012-01-26 Ulrich Drepper <drepper@gmail.com>
60746
60747 [BZ #13583]
60748 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
60749 Clean up HAS_* macros.
60750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
60751 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
60752 possible.
60753 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
60754 HAS_AVX.
60755 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60756 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60757 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60758 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60759 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60760
60761 2012-01-25 Joseph Myers <joseph@codesourcery.com>
60762
60763 * elf/tst-unique3.cc (gets): Remove declaration.
60764 * elf/tst-unique3lib.cc (gets): Likewise.
60765 * elf/tst-unique3lib2.cc (gets): Likewise.
60766 * elf/tst-unique4.cc (gets): Likewise.
60767
60768 2012-01-24 Ulrich Drepper <drepper@gmail.com>
60769
60770 * include/stdio.h: Add C++ protection. Add gets declarations and
60771 definitions.
60772 * debug/tst-chk1.c: Don't declare gets here.
60773 * stdio-common/tst-gets.c: Likewise.
60774
60775 2012-01-24 Joseph Myers <joseph@codesourcery.com>
60776
60777 * posix/glob: Remove directory.
60778
60779 2012-01-24 Joseph Myers <joseph@codesourcery.com>
60780
60781 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
60782
60783 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
60784
60785 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
60786 of the non-standard EPFNOSUPPORT.
60787
60788 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
60789
60790 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
60791 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
60792 ANYWHERE set to 1 only on KERN_NO_SPACE error.
60793
60794 2012-01-21 Ulrich Drepper <drepper@gmail.com>
60795
60796 * wcsmbs/uchar.h: Test __STDC_VERSION__.
60797
60798 2012-01-20 Ulrich Drepper <drepper@gmail.com>
60799
60800 * nscd/aicache.c (addhstaiX): Do not cache negative results of
60801 transient errors.
60802 * nscd/grpcache.c (cache_addgr): Likewise.
60803 * nscd/hstcache.c (cache_addhst): Likewise.
60804 * nscd/initgrcache.c (addinitgroupsX): Likewise.
60805 * nscd/pwdcache.c (cache_addpw): Likewise.
60806 * nscd/servicescache.c (cache_addserv): Likewise.
60807
60808 2012-01-16 Ulrich Drepper <drepper@gmail.com>
60809
60810 * malloc/malloc.c: Various cleanups.
60811 * malloc/hooks.c: Likewise.
60812
60813 * stdlib/Makefile (tests): Add bug-fmtmsg1.
60814 * stdlib/bug-fmtmsg1.c: New file.
60815
60816 * stdlib/fmtmsg.c (init): Add missing unlock.
60817 Patch by Peng Haitao <penght@cn.fujitsu.com>.
60818
60819 2012-01-12 Marek Polacek <polacek@redhat.com>
60820
60821 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
60822 and _GNU_SOURCE.
60823
60824 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
60825
60826 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
60827 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
60828 macro to ensure uniqueness of label name.
60829 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
60830 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
60831
60832 2012-01-11 Ulrich Drepper <drepper@gmail.com>
60833
60834 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
60835
60836 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
60837 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
60838 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
60839 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
60840
60841 2012-01-10 Ulrich Drepper <drepper@gmail.com>
60842
60843 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
60844
60845 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
60846 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
60847 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
60848
60849 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
60850
60851 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
60852 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
60853 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60854 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
60855
60856 * math/bits/math-finite.h: Add ldexp support.
60857
60858 2012-01-10 Marek Polacek <polacek@redhat.com>
60859
60860 * locale/programs/localedef.h (show_archive_content): Add noreturn
60861 attribute.
60862
60863 2012-01-09 Ulrich Drepper <drepper@gmail.com>
60864
60865 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
60866
60867 2012-01-08 Ulrich Drepper <drepper@gmail.com>
60868
60869 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
60870
60871 * io/Makefile (headers): Add bits/poll2.h.
60872
60873 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
60874
60875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
60876 typo #include statement.
60877
60878 2012-01-08 Ulrich Drepper <drepper@gmail.com>
60879
60880 * include/sys/cdefs.h: Define __attribute_alloc_size.
60881 * catgets/gencat.c: Add alloc_size attribute and apply consistently
60882 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
60883 * elf/pldd.c: Likewise.
60884 * iconv/iconv_charmap.c: Likewise.
60885 * iconv/iconvconfig.c: Likewise.
60886 * iconv/strtab.c: Likewise.
60887 * locale/programs/locale.c: Likewise.
60888 * locale/programs/localedef.h: Likewise.
60889 * locale/programs/simple-hash.c: Likewise.
60890 * nscd/nscd.h: Likewise.
60891 * nss/makedb.c: Likewise.
60892 * sysdeps/generic/ldconfig.h: Likewise.
60893 * locale/programs/localedef.c: Remove xmalloc prototype.
60894 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
60895
60896 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
60897
60898 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
60899 appropriate.
60900
60901 2012-01-08 Ulrich Drepper <drepper@gmail.com>
60902
60903 * math/Makefile (tests): Add tst-CMPLX.
60904 * math/tst-CMPLX.c: New file.
60905
60906 * math/complex.h (CMPLXL): Fix typo.
60907
60908 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
60909 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
60910 GLIBC_2.16.
60911 * debug/tst-chk1.c: Add poll and ppoll tests.
60912 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
60913 * include/sys/poll.h: Add hidden proto for ppoll.
60914 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
60915 * sysdeps/mach/hurd/ppoll.c: Likewise.
60916 * io/ppoll.c: Likewise.
60917 * debug/poll_chk.c: New file.
60918 * debug/ppoll_chk.c: New file.
60919 * include/bits/poll2.h: New file.
60920 * io/bits/poll2.h: New file.
60921
60922 [BZ #1350]
60923 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
60924
60925 * configure.in: static is always set to yes. Remove.
60926 * config.make.in: Don't set build-static.
60927 * Makeconfig: Remove use of build-static.
60928 * dlfcn/Makefile: Likewise.
60929 * elf/Makefile: Likewise.
60930 * math/Makefile: Likewise.
60931 * misc/Makefile: Likewise.
60932 * nptl/Makefile: Likewise.
60933 * sysdeps/mach/hurd/Makefile: Likewise.
60934
60935 * configure.in: PWD_P is not used anymore.
60936 * config.make.in: Remove PWD_P entry.
60937
60938 * configure.in: Remove last remnants of RANLIB.
60939 No need to check for signed size_t anymore.
60940 Don't set libc_commonpagesize and libc_relro_required here for Alpha
60941 and IA-64.
60942 Remove __builtin_expect test because we require at least gcc 3.4.
60943 * aclocal.m4: Likewise.
60944
60945 * wcsmbs/mbrtoc16.c: Implement using towc function.
60946 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
60947 * wcsmbs/wcsmbsload.c: Likewise.
60948 * iconv/gconv_simple.c: Likewise.
60949 * iconv/gconv_int.h: Likewise.
60950 * iconv/gconv_builtin.h: Likewise.
60951 * iconv/iconv_prog.c: Remove CHAR16 handling.
60952
60953 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
60954
60955 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
60956
60957 * configure.in: Remove --with-elf and --enable-bounded options.
60958 Dont set base_machine for ia64. More non-ELF conditions removed.
60959 Remove testing and setting of leading underscore information.
60960 * config.make.in (build-bounded): Set to no.
60961 * config.h.in: Remove NO_UNDERSCORES entry.
60962 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
60963 them.
60964 * csu/start.c: Remove !NO_UNDERSCORE code.
60965 * locale/localeinfo.h: Likewise.
60966 * sysdeps/generic/machine-gmon.h: Likewise.
60967 * sysdeps/generic/sysdep.h: Likewise.
60968 * sysdeps/i386/sysdep.h: Likewise.
60969 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
60970 * sysdeps/mach/sysdep.h: Likewise.
60971 * sysdeps/s390/s390-32/sysdep.h: Likewise.
60972 * sysdeps/s390/s390-64/sysdep.h: Likewise.
60973 * sysdeps/sh/sysdep.h: Likewise.
60974 * sysdeps/sparc/sparc32/alloca.S: Likewise.
60975 * sysdeps/unix/i386/sysdep.S: Likewise.
60976 * sysdeps/unix/sparc/start.c: Likewise.
60977 * sysdeps/unix/sparc/sysdep.S: Likewise.
60978 * sysdeps/unix/sparc/sysdep.h: Likewise.
60979 * sysdeps/unix/start.c: Likewise.
60980 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60981 * sysdeps/x86_64/sysdep.h: Likewise.
60982
60983 2012-01-07 Ulrich Drepper <drepper@gmail.com>
60984
60985 [BZ #13553]
60986 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
60987 for non-gcc.
60988 * argp/argp-fmtstream.h: Use const instead __const.
60989 * argp/argp.h: Likewise.
60990 * assert/assert.h: Likewise.
60991 * bits/fenv.h: Likewise.
60992 * bits/sched.h: Likewise.
60993 * bits/sigset.h: Likewise.
60994 * bits/sigthread.h: Likewise.
60995 * catgets/nl_types.h: Likewise.
60996 * conform/data/pthread.h-data: Likewise.
60997 * crypt/crypt-private.h: Likewise.
60998 * crypt/crypt.h: Likewise.
60999 * crypt/crypt_util.c: Likewise.
61000 * ctype/ctype.h: Likewise.
61001 * debug/execinfo.h: Likewise.
61002 * debug/mbsnrtowcs_chk.c: Likewise.
61003 * debug/mbsrtowcs_chk.c: Likewise.
61004 * debug/wcsnrtombs_chk.c: Likewise.
61005 * debug/wcsrtombs_chk.c: Likewise.
61006 * debug/wcstombs_chk.c: Likewise.
61007 * dirent/dirent.h: Likewise.
61008 * dlfcn/dlfcn.h: Likewise.
61009 * elf/neededtest4.c: Likewise.
61010 * grp/grp.h: Likewise.
61011 * gshadow/gshadow.h: Likewise.
61012 * iconv/gconv.h: Likewise.
61013 * iconv/gconv_int.h: Likewise.
61014 * iconv/gconv_simple.c: Likewise.
61015 * iconv/iconv.h: Likewise.
61016 * iconv/loop.c: Likewise.
61017 * iconv/skeleton.c: Likewise.
61018 * include/aio.h: Likewise.
61019 * include/aliases.h: Likewise.
61020 * include/argz.h: Likewise.
61021 * include/arpa/inet.h: Likewise.
61022 * include/assert.h: Likewise.
61023 * include/dirent.h: Likewise.
61024 * include/dlfcn.h: Likewise.
61025 * include/execinfo.h: Likewise.
61026 * include/fcntl.h: Likewise.
61027 * include/fenv.h: Likewise.
61028 * include/glob.h: Likewise.
61029 * include/grp.h: Likewise.
61030 * include/libintl.h: Likewise.
61031 * include/mntent.h: Likewise.
61032 * include/netdb.h: Likewise.
61033 * include/pwd.h: Likewise.
61034 * include/rpc/netdb.h: Likewise.
61035 * include/sched.h: Likewise.
61036 * include/search.h: Likewise.
61037 * include/shadow.h: Likewise.
61038 * include/signal.h: Likewise.
61039 * include/stdio.h: Likewise.
61040 * include/stdlib.h: Likewise.
61041 * include/string.h: Likewise.
61042 * include/sys/socket.h: Likewise.
61043 * include/sys/stat.h: Likewise.
61044 * include/sys/statfs.h: Likewise.
61045 * include/sys/statvfs.h: Likewise.
61046 * include/sys/syslog.h: Likewise.
61047 * include/sys/time.h: Likewise.
61048 * include/sys/uio.h: Likewise.
61049 * include/time.h: Likewise.
61050 * include/unistd.h: Likewise.
61051 * include/utmp.h: Likewise.
61052 * include/wchar.h: Likewise.
61053 * include/wctype.h: Likewise.
61054 * inet/aliases.h: Likewise.
61055 * inet/arpa/inet.h: Likewise.
61056 * inet/netinet/ether.h: Likewise.
61057 * inet/netinet/in.h: Likewise.
61058 * intl/libintl.h: Likewise.
61059 * io/bits/fcntl2.h: Likewise.
61060 * io/fcntl.h: Likewise.
61061 * io/ftw.h: Likewise.
61062 * io/sys/poll.h: Likewise.
61063 * io/sys/stat.h: Likewise.
61064 * io/sys/statfs.h: Likewise.
61065 * io/sys/statvfs.h: Likewise.
61066 * io/utime.h: Likewise.
61067 * libio/bits/stdio.h: Likewise.
61068 * libio/bits/stdio2.h: Likewise.
61069 * libio/libio.h: Likewise.
61070 * libio/libioP.h: Likewise.
61071 * libio/stdio.h: Likewise.
61072 * locale/lc-ctype.c: Likewise.
61073 * locale/locale.h: Likewise.
61074 * login/utmp.h: Likewise.
61075 * malloc/arena.c: Likewise.
61076 * malloc/malloc.c: Likewise.
61077 * malloc/malloc.h: Likewise.
61078 * malloc/mcheck.c: Likewise.
61079 * malloc/mtrace.c: Likewise.
61080 * math/bits/mathcalls.h: Likewise.
61081 * math/fenv.h: Likewise.
61082 * math/math_private.h: Likewise.
61083 * misc/bits/error.h: Likewise.
61084 * misc/bits/syslog.h: Likewise.
61085 * misc/err.h: Likewise.
61086 * misc/error.h: Likewise.
61087 * misc/fstab.h: Likewise.
61088 * misc/mntent.h: Likewise.
61089 * misc/regexp.h: Likewise.
61090 * misc/search.h: Likewise.
61091 * misc/sgtty.h: Likewise.
61092 * misc/sys/mman.h: Likewise.
61093 * misc/sys/syslog.h: Likewise.
61094 * misc/sys/uio.h: Likewise.
61095 * misc/sys/xattr.h: Likewise.
61096 * misc/ttyent.h: Likewise.
61097 * nis/rpcsvc/ypclnt.h: Likewise.
61098 * nss/nss.h: Likewise.
61099 * posix/bits/unistd.h: Likewise.
61100 * posix/fnmatch.h: Likewise.
61101 * posix/glob.h: Likewise.
61102 * posix/sched.h: Likewise.
61103 * posix/spawn.h: Likewise.
61104 * posix/sys/wait.h: Likewise.
61105 * posix/unistd.h: Likewise.
61106 * posix/wordexp.h: Likewise.
61107 * pwd/pwd.h: Likewise.
61108 * resolv/netdb.h: Likewise.
61109 * resource/sys/resource.h: Likewise.
61110 * rt/aio.h: Likewise.
61111 * rt/bits/mqueue2.h: Likewise.
61112 * rt/mqueue.h: Likewise.
61113 * shadow/shadow.h: Likewise.
61114 * signal/signal.h: Likewise.
61115 * socket/send.c: Likewise.
61116 * socket/sendto.c: Likewise.
61117 * socket/sys/socket.h: Likewise.
61118 * stdio-common/printf.h: Likewise.
61119 * stdlib/bits/stdlib.h: Likewise.
61120 * stdlib/fmtmsg.h: Likewise.
61121 * stdlib/monetary.h: Likewise.
61122 * stdlib/stdlib.h: Likewise.
61123 * stdlib/ucontext.h: Likewise.
61124 * streams/stropts.h: Likewise.
61125 * string/argz.h: Likewise.
61126 * string/bits/string2.h: Likewise.
61127 * string/string.h: Likewise.
61128 * string/strings.h: Likewise.
61129 * sunrpc/rpc/auth.h: Likewise.
61130 * sunrpc/rpc/auth_des.h: Likewise.
61131 * sunrpc/rpc/clnt.h: Likewise.
61132 * sunrpc/rpc/netdb.h: Likewise.
61133 * sunrpc/rpc/pmap_clnt.h: Likewise.
61134 * sunrpc/rpc/xdr.h: Likewise.
61135 * sysdeps/generic/inttypes.h: Likewise.
61136 * sysdeps/generic/net/if.h: Likewise.
61137 * sysdeps/generic/sys/swap.h: Likewise.
61138 * sysdeps/gnu/net/if.h: Likewise.
61139 * sysdeps/gnu/utmpx.h: Likewise.
61140 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
61141 * sysdeps/i386/i486/bits/string.h: Likewise.
61142 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
61143 * sysdeps/s390/bits/string.h: Likewise.
61144 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
61145 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
61146 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
61147 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
61148 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
61149 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
61150 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
61151 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
61152 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
61153 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
61154 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
61155 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61156 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
61157 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61158 * sysdeps/unix/sysv/linux/readv.c: Likewise.
61159 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
61160 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61162 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
61163 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
61164 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
61165 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
61166 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
61167 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
61168 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
61169 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
61170 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
61171 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
61172 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
61173 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
61174 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
61175 * sysvipc/sys/ipc.h: Likewise.
61176 * sysvipc/sys/msg.h: Likewise.
61177 * sysvipc/sys/sem.h: Likewise.
61178 * sysvipc/sys/shm.h: Likewise.
61179 * termios/termios.h: Likewise.
61180 * time/sys/time.h: Likewise.
61181 * time/time.h: Likewise.
61182 * wcsmbs/bits/wchar2.h: Likewise.
61183 * wcsmbs/uchar.h: Likewise.
61184 * wcsmbs/wchar.h: Likewise.
61185 * wctype/wctype.h: Likewise.
61186
61187 [BZ #13551]
61188 * Makeconfig: Remove all but ELF support including AIX support.
61189 * Makerules: Likewise.
61190 * config.h.in: Likewise.
61191 * config.make.in: Likewise.
61192 * configure: Likewise.
61193 * configure.in: Likewise.
61194 * csu/Makefile: Likewise.
61195 * csu/version.c: Likewise.
61196 * debug/Makefile: Likewise.
61197 * dlfcn/Makefile: Likewise.
61198 * elf/Makefile: Likewise.
61199 * extra-lib.mk: Likewise.
61200 * iconv/Makefile: Likewise.
61201 * include/libc-symbols.h: Likewise.
61202 * include/shlib-compat.h: Likewise.
61203 * resolv/Makefile: Likewise.
61204 * resolv/res_libc.c: Likewise.
61205 * rt/Makefile: Likewise.
61206 * sysdeps/i386/asm-syntax.h: Likewise.
61207 * sysdeps/i386/sysdep.h: Likewise.
61208 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
61209 * sysdeps/mach/sysdep.h: Likewise.
61210 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
61211 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
61212 * sysdeps/s390/asm-syntax.h: Likewise.
61213 * sysdeps/s390/s390-32/sysdep.h: Likewise.
61214 * sysdeps/s390/s390-64/sysdep.h: Likewise.
61215 * sysdeps/sh/sysdep.h: Likewise.
61216 * sysdeps/unix/sparc/sysdep.h: Likewise.
61217 * sysdeps/wordsize-32/divdi3.c: Likewise.
61218 * sysdeps/x86_64/sysdep.h: Likewise.
61219
61220 * argp/Versions: Remove _argp_unlock_xxx.
61221
61222 [BZ #13559]
61223 * abilist/ld.abilist: Update. Adjust for removal of tls option.
61224 * abilist/libBrokenLocale.abilist: Likewise.
61225 * abilist/libanl.abilist: Likewise.
61226 * abilist/libc.abilist: Likewise.
61227 * abilist/libcrypt.abilist: Likewise.
61228 * abilist/libdl.abilist: Likewise.
61229 * abilist/libm.abilist: Likewise.
61230 * abilist/libnsl.abilist: Likewise.
61231 * abilist/libpthread.abilist: Likewise.
61232 * abilist/libresolv.abilist: Likewise.
61233 * abilist/librt.abilist: Likewise.
61234 * abilist/libthread_db.abilist: Likewise.
61235 * abilist/libutil.abilist: Likewise.
61236 * abilist/libnss_db.abilist: New file.
61237
61238 * scripts/abilist.awk: Add support for indirect functions.
61239
61240 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
61241
61242 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
61243
61244 * shlib-versions: Remove entries for ports architectures.
61245
61246 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
61247 files in ports.
61248 * elf/stackguard-macros.h: Remove support for IA-64.
61249 * elf/tst-auditmod1.c: Likewise.
61250 * sysdeps/generic/ldsodefs.h: Likewise.
61251
61252 * sysdeps/unix/sysv/linux/configure.in: Ports should define
61253 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
61254 configure files.
61255
61256 [BZ #13552]
61257 * configure.in: Remove --enable-omitfp support.
61258 * FAQ.in: Adjust.
61259 * config.make.in: Likewise.
61260 * Makeconfig: Likewise.
61261 * manual/install.texi: Likewise.
61262
61263 In case anyone cares, the IA-64 architecture could move to ports.
61264 * sysdeps/ia64/*: Removed.
61265 * sysdeps/unix/sysv/linux/ia64/*: Removed.
61266 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
61267
61268 [BZ #13555]
61269 * configure.in: Remove entries for unsupported architectures.
61270
61271 [BZ #13533]
61272 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
61273 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
61274 routines.
61275 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
61276 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
61277 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
61278 fall back to using wcrtomb.
61279 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
61280 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
61281 renaming.
61282 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
61283 * wcsmbs/tst-c16c32-1.c: New file.
61284
61285 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
61286 local variable.
61287
61288 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
61289
61290 * elf/tst-unique3.cc: Add explicit declaration of gets.
61291 * elf/tst-unique3lib.cc: Likewise.
61292 * elf/tst-unique3lib2.cc: Likewise.
61293 * elf/tst-unique4.cc: Likewise.
61294
61295 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
61296
61297 2012-01-06 Joseph Myers <joseph@codesourcery.com>
61298
61299 [BZ #13566]
61300 * assert/assert.h (static_assert): Don't define for C++.
61301 * libio/stdio.h (gets): Do declare for C++ <= C++11.
61302 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
61303
61304 2012-01-03 Ulrich Drepper <drepper@gmail.com>
61305
61306 * iconv/loop.c (single loop): Fix assertion in storing of
61307 remaining bytes.
61308
61309 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
61310
61311 2012-01-01 Ulrich Drepper <drepper@gmail.com>
61312
61313 * posix/getconf.c: Update copyright year.
61314 * nss/getent.c: Likewise.
61315 * nss/makedb.c: Likewise.
61316 * iconv/iconvconfig.c: Likewise.
61317 * iconv/iconv_prog.c: Likewise.
61318 * elf/ldconfig.c: Likewise.
61319 * elf/pldd.c: Likewise.
61320 * elf/sotruss.ksh: Likewise.
61321 * catgets/gencat.c: Likewise.
61322 * csu/version.c: Likewise.
61323 * elf/ldd.bash.in: Likewise.
61324 * elf/sprof.c (print_version): Likewise.
61325 * locale/programs/locale.c: Likewise.
61326 * locale/programs/localedef.c: Likewise.
61327 * login/programs/pt_chown.c: Likewise.
61328 * nscd/nscd.c (print_version): Likewise.
61329 * debug/xtrace.sh: Likewise.
61330 * malloc/memusage.sh: Likewise.
61331 * malloc/mtrace.pl: Likewise.
61332 * debug/catchsegv.sh: Likewise.
61333
61334 2011-12-30 Jakub Jelinek <jakub@redhat.com>
61335
61336 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
61337 pure attribute.
61338
61339 2011-12-24 Ulrich Drepper <drepper@gmail.com>
61340
61341 [BZ #13533]
61342 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
61343 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
61344 transformations.
61345 * iconv/gconv_int.h: Likewise.
61346 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
61347 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
61348 from libc for GLIBC_2.16.
61349 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
61350 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
61351 * wcsmbs/uchar.h: Really define mbstate_t.
61352 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
61353 * wcsmbs/c16rtomb.c: New file.
61354 * wcsmbs/mbrtoc16.c: New file.
61355 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
61356 for C/POSIX locale.
61357 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
61358 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
61359
61360 * wcsmbs/wchar.h: Add missing __restrict.
61361
61362 2011-12-23 Ulrich Drepper <drepper@gmail.com>
61363
61364 [BZ #13532]
61365 * time/Makefile (routines): Add timespec_get.
61366 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
61367 * time/time.h: Define TIME_UTC and declare timespec_get. Define
61368 timespec for ISO C11.
61369 * time/timespec_get.c: New file.
61370 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
61371 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
61372
61373 [BZ #13531]
61374 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
61375 * stdlib/stdlib.h: Declare aligned_alloc.
61376 * Versions.def: Add GLIBC_2.16 for libc.
61377 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
61378
61379 [BZ 13527]
61380 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
61381 ISO C11.
61382
61383 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
61384 code.
61385
61386 [BZ #13528]
61387 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
61388
61389 [BZ #13529]
61390 * assert/assert.h (static_assert): Define.
61391
61392 * version.h: Update for 2.16 development version.
61393
61394 [BZ #13526]
61395 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
61396 _ISOC11_SOURCE.
61397
61398 * version.h (RELEASE): Bump for 2.15 release.
61399 * include/features.h (__GLIBC_MINOR__): Bump to 15.
61400
61401 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
61402 Patch by Marek Polacek <mpolacek@redhat.com>.
61403
61404 * bits/byteswap.h: Protect long long constants with __extension__.
61405 * sysdeps/i386/bits/byteswap.h: Likewise.
61406 * sysdeps/ia64/bits/byteswap.h: Likewise.
61407 * sysdeps/s390/bits/byteswap.h: Likewise.
61408 * sysdeps/x86_64/bits/byteswap.h: Likewise.
61409
61410 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61411
61412 [BZ #13540]
61413 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
61414 destination buffer.
61415 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
61416
61417 2011-12-23 Marek Polacek <polacek@redhat.com>
61418
61419 * elf/dl-addr.c (determine_info): Add inline keyword.
61420 * elf/tst-auditmod4b.c (check_avx): Likewise.
61421 * elf/tst-auditmod6b.c (check_avx): Likewise.
61422 * elf/tst-auditmod6c.c (check_avx): Likewise.
61423 * elf/tst-auditmod7b.c (check_avx): Likewise.
61424
61425 2011-12-23 Ulrich Drepper <drepper@gmail.com>
61426
61427 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
61428 !__SSE_MATH__.
61429
61430 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61431
61432 [BZ #13540]
61433 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
61434 processing for last bytes.
61435
61436 2011-08-06 Bruno Haible <bruno@clisp.org>
61437
61438 [BZ #13061]
61439 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
61440 U+0385, not to U+1FEE.
61441
61442 [BZ #13062]
61443 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
61444 entry for U+00A5 U+0301.
61445
61446 2011-12-22 Ulrich Drepper <drepper@gmail.com>
61447
61448 [BZ #13166]
61449 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
61450 buffer for the output is too small.
61451
61452 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
61453 optimization.
61454
61455 [BZ #13185]
61456 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
61457 SSE flags if possible.
61458
61459 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61460
61461 [BZ #13540]
61462 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
61463 processing for last bytes.
61464
61465 2011-12-22 Joseph Myers <joseph@codesourcery.com>
61466
61467 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
61468 (syscall-list-default-options, syscall-list-default-condition)
61469 (syscall-list-includes): Define.
61470 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
61471 list of ABIs and options and #if conditions for each ABI. Do not
61472 handle common syscalls between ABIs specially.
61473 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
61474 Remove.
61475 (syscall-list-variants, syscall-list-32bit-options)
61476 (syscall-list-32bit-condition, syscall-list-64bit-options)
61477 (syscall-list-64bit-condition): Define.
61478 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
61479 (syscall-list-variants, syscall-list-32bit-options)
61480 (syscall-list-32bit-condition, syscall-list-64bit-options)
61481 (syscall-list-64bit-condition): Define.
61482 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
61483 Remove.
61484 (syscall-list-variants, syscall-list-32bit-options)
61485 (syscall-list-32bit-condition, syscall-list-64bit-options)
61486 (syscall-list-64bit-condition): Define.
61487 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
61488 Remove.
61489 (syscall-list-variants, syscall-list-32bit-options)
61490 (syscall-list-32bit-condition, syscall-list-64bit-options)
61491 (syscall-list-64bit-condition): Define.
61492
61493 2011-12-22 Ulrich Drepper <drepper@gmail.com>
61494
61495 * locale/iso-639.def: Add brx entry.
61496
61497 [BZ #13328]
61498 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
61499 Proposed by Mariusz_Cukr <marcukr@op.pl>.
61500
61501 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
61502 __feraiseexcept_renamed.
61503
61504 2011-12-21 Ulrich Drepper <drepper@gmail.com>
61505
61506 [BZ #13538]
61507 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
61508 EPOLLET with unsigned values.
61509 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
61510 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
61511
61512 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
61513 to large cancellation.
61514 * math/s_cacoshf.c: Likewise.
61515 * math/s_cacoshl.c: Likewise.
61516
61517 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
61518
61519 [BZ #13305]
61520 [BZ #12786]
61521 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
61522 * math/s_cacoshf.c: Likewise.
61523 * math/s_cacoshl.c: Likewise.
61524
61525 2011-12-21 Ulrich Drepper <drepper@gmail.com>
61526
61527 [BZ #13439]
61528 * iconv/gconv.h: Define __GCONV_SWAP.
61529 * iconvdata/unicode.c: The swap bit must be stored in __flags.
61530 * iconvdata/utf-16.c: Likewise.
61531 * iconvdata/utf-32.c: Likewise.
61532
61533 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
61534
61535 [BZ #13524]
61536 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
61537 numerator after shifting it by one limb.
61538
61539 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
61540
61541 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
61542 under [__USE_EXTERN_INLINES].
61543
61544 2011-12-17 Ulrich Drepper <drepper@gmail.com>
61545
61546 [BZ #13446]
61547 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
61548
61549 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61550
61551 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
61552 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
61553 optimized code.
61554 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
61555 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
61556 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
61557 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
61558 for strncasecmp/strncasecmp_l compilation.
61559 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
61560 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
61561
61562 2011-12-08 Marek Polacek <mpolacek@redhat.com>
61563
61564 [BZ #13484]
61565 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
61566 of __asm__.
61567
61568 2011-12-17 Ulrich Drepper <drepper@gmail.com>
61569
61570 [BZ #13506]
61571 * time/tzfile.c (__tzfile_read): Check values from file header.
61572
61573 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
61574
61575 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
61576 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
61577 * powerpc/powerpc32/dl-start.S: Likewise.
61578 * powerpc/powerpc32/elf/start.S: Likewise.
61579 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
61580 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
61581 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
61582 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
61583 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
61584 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
61585 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
61586 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
61587 * powerpc/powerpc32/fpu/s_round.S: Likewise.
61588 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
61589 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
61590 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
61591 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
61592 * powerpc/powerpc32/memset.S: Likewise.
61593 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
61594 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61595 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61596 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61597 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61598 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
61599 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
61600 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
61601 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
61602 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
61603 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
61604 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
61605 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
61606
61607 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61608
61609 * math/libm-test.inc: Added more nearbyint tests.
61610 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
61611 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
61612 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
61613 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
61614
61615 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
61616
61617 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
61618 FD_CLOEXEC.
61619
61620 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61621
61622 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
61623 Add wcscpy-ssse3 wcscpy-c.
61624 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
61625 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
61626 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
61627 * sysdeps/x86_64/wcschr.S: New file.
61628 * sysdeps/x86_64/wcsrchr.S: New file.
61629 * string/test-strcmp.c: Remove checking of wcscmp function for
61630 wrong alignments.
61631 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
61632 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
61633 wcsrchr-sse2 wcsrchr-c.
61634 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
61635 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
61636 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
61637 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
61638 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
61639 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
61640 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
61641 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
61642 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
61643 * wcsmbc/wcschr.c (WCSCHR): New macro.
61644
61645 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61646
61647 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
61648 * wcsmbs/test-wcsrchr.c: New file.
61649 * string/test-strrchr.c: Add wcsrchr support.
61650 (WIDE): New macro.
61651 * wcsmbs/test-wcscpy.c: New file.
61652 * string/test-strcpy.c: Add wcscpy support.
61653 (WIDE): New macro.
61654
61655 2011-12-10 Ulrich Drepper <drepper@gmail.com>
61656
61657 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
61658 the inner loop.
61659
61660 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
61661
61662 [BZ #13472]
61663 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
61664
61665 2011-12-04 Ulrich Drepper <drepper@gmail.com>
61666
61667 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
61668 Minor optimizations.
61669
61670 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
61671 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
61672 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
61673
61674 2011-12-03 Ulrich Drepper <drepper@gmail.com>
61675
61676 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
61677 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
61678 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
61679 for gcc to avoid warnings.
61680 * inet/Makefile (tests): Add tst-checks.
61681 * inet/tst-checks.c: New file.
61682
61683 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
61684 warning.
61685
61686 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
61687 __wmemcmp_sse2.
61688
61689 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
61690 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
61691
61692 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
61693
61694 2011-12-02 Ulrich Drepper <drepper@gmail.com>
61695
61696 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
61697 problem.
61698
61699 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
61700
61701 2011-11-29 Joseph Myers <joseph@codesourcery.com>
61702
61703 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
61704 conditional on GCC version.
61705 (__arch_compare_and_exchange_val_8_acq)
61706 (__arch_compare_and_exchange_val_16_acq)
61707 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
61708 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
61709 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
61710
61711 2011-12-02 Joseph Myers <joseph@codesourcery.com>
61712
61713 * sysdeps/sh/backtrace.c: New file.
61714
61715 2011-12-02 Andreas Schwab <schwab@redhat.com>
61716
61717 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
61718 parenthesis.
61719
61720 2011-12-01 Andreas Schwab <schwab@redhat.com>
61721
61722 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
61723 falling back to utime.
61724
61725 2011-11-30 Andreas Schwab <schwab@redhat.com>
61726
61727 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
61728 expectations for float.
61729
61730 2011-11-29 Andreas Schwab <schwab@redhat.com>
61731
61732 * locale/weight.h (findidx): Add parameter len.
61733 * locale/weightwc.h (findidx): Likewise.
61734 * posix/fnmatch_loop.c (FCT): Adjust caller.
61735 * posix/regcomp.c (build_equiv_class): Likewise.
61736 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
61737 * posix/regexec.c (check_node_accept_bytes): Likewise.
61738 * string/strcoll_l.c (STRCOLL): Likewise.
61739 * string/strxfrm_l.c (STRXFRM): Likewise.
61740
61741 2011-11-17 Ulrich Drepper <drepper@gmail.com>
61742
61743 * Makefile.in: Remove CVSOPT handling.
61744 * configure.in: Remove use of AC_REVISION.
61745 * iconvdata/Makefile (distribute): No need to filter out CVS.
61746 * scripts/list-sources.sh: Remove CVS, subversion and monotone
61747 handling.
61748
61749 2011-11-16 Andreas Schwab <schwab@redhat.com>
61750
61751 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
61752 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
61753 [USE_AS_STRNCASECMP_L]: Likewise.
61754 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
61755 NO_TLS_DIRECT_SEG_REFS.
61756 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
61757 Fix argument offsets for non-PIC.
61758 [USE_AS_STRNCASECMP_L]: Likewise.
61759 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
61760 NO_TLS_DIRECT_SEG_REFS.
61761
61762 2011-11-15 Ulrich Drepper <drepper@gmail.com>
61763
61764 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
61765 O_CLOEXEC.
61766 * locale/loadlocale.c (_nl_load_locale): Likewise.
61767
61768 2011-11-15 Andreas Schwab <schwab@redhat.com>
61769
61770 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
61771 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
61772 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
61773 (SYSCALL_GETTIME): Set errno on error.
61774
61775 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
61776 count references to noai6ai_cached.
61777
61778 2011-11-15 Ulrich Drepper <drepper@gmail.com>
61779
61780 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
61781
61782 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
61783 FD_CLOEXEC for /proc/self/maps.
61784
61785 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
61786 FD_CLOEXEC for /proc/meminfo.
61787
61788 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
61789 gai.conf.
61790
61791 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
61792 FD_CLOEXEC for given file.
61793
61794 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
61795
61796 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
61797 FD_CLOEXEC for /etc/hosts.
61798 (_gethtent): Likewise.
61799
61800 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
61801
61802 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
61803 cancellation and set FD_CLOEXEC for /etc/netgroup.
61804
61805 * nss/nss_files/files-key.c (search): Don't allow cancellation when
61806 reading /etc/publickey.
61807
61808 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
61809 allow cancellation when reading /etc/group.
61810
61811 * nss/nss_files/files-alias.c (internal_setent): Don't allow
61812 cancellation.
61813 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
61814
61815 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
61816 when using data file.
61817
61818 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
61819
61820 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
61821 (write_nis_obj): Use "c" and "e" in fopen.
61822
61823 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
61824
61825 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
61826
61827 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
61828
61829 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
61830
61831 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
61832 locale.alias.
61833
61834 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
61835
61836 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
61837
61838 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
61839
61840 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
61841 file parsing and set FD_CLOEXEC.
61842
61843 2011-11-14 Ulrich Drepper <drepper@gmail.com>
61844
61845 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
61846
61847 2011-11-14 Andreas Schwab <schwab@redhat.com>
61848
61849 * malloc/arena.c (arena_get2): Don't call reused_arena when
61850 _int_new_arena failed.
61851
61852 2011-11-14 Ulrich Drepper <drepper@gmail.com>
61853
61854 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
61855 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
61856 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
61857 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61858 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61859 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
61860 to compile strcasecmp and strncasecmp.
61861 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
61862 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
61863
61864 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
61865
61866 2011-11-13 Ulrich Drepper <drepper@gmail.com>
61867
61868 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
61869 locale-defines.sym to gen-as-const-headers.
61870 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
61871 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
61872 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
61873 to compile strcasecmp and strncasecmp.
61874 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
61875 strcasecmp_l and strncasecmp_l.
61876 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
61877 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
61878 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
61879 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
61880 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
61881 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
61882 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
61883 * sysdeps/i386/i686/multiarch/strncase.S: New file.
61884 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
61885 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
61886 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
61887
61888 2011-11-12 Ulrich Drepper <drepper@gmail.com>
61889
61890 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
61891 result of SYSDEP_GETTIME_CPU to retval.
61892 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
61893 parameter list to macro. Remove trailing semicolon. Adjust users.
61894
61895 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
61896 variable.
61897
61898 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
61899 mantissa words.
61900 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
61901
61902 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
61903 from unused variable.
61904
61905 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
61906 DWARF definitions.
61907 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
61908 for assembling.
61909
61910 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
61911 over namespaces.
61912
61913 * sunrpc/rpc_prot.c (rejected): Fix case value.
61914
61915 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
61916 unsigned long long int to avoid warnings in shift.
61917
61918 * posix/regex_internal.c (re_string_reconstruct): Actually use result
61919 of use of trans.
61920 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
61921 variable tmp.
61922
61923 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
61924 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
61925 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
61926
61927 * nis/nis_table.c (nis_list): Use variable of correct type for
61928 result of __follow_path call.
61929
61930 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61931
61932 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
61933 of math functions ceil, trunc, floor, round, and sqrt, when
61934 avaliable on the platform.
61935 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
61936 name clash.
61937 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61938 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
61939 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
61940
61941 2011-10-30 Marek Polacek <mpolacek@redhat.com>
61942
61943 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
61944 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
61945
61946 2011-11-11 Roland McGrath <roland@hack.frob.com>
61947
61948 * include/unistd.h: Fix __readlink return type.
61949 Reported by Chris Metcalf <cmetcalf@tilera.com>.
61950
61951 2011-11-11 Ulrich Drepper <drepper@gmail.com>
61952
61953 * stdlib/ucontext.h: Undo last change for makecontext.
61954
61955 2011-11-11 Andreas Schwab <schwab@redhat.com>
61956
61957 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
61958
61959 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
61960 * setjmp/setjmp.h: Mark functions as non-leaf.
61961 * setjmp/bits/setjmp2.h: Likewise.
61962 * stdlib/ucontext.h: Likewise.
61963
61964 2011-11-10 Andreas Schwab <schwab@redhat.com>
61965
61966 * malloc/arena.c (_int_new_arena): Don't increment narenas.
61967 (reused_arena): Don't check arena limit.
61968 (arena_get2): Atomically check arena limit.
61969
61970 2011-11-08 Ulrich Drepper <drepper@gmail.com>
61971
61972 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
61973 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
61974
61975 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
61976 instructions.
61977
61978 2011-11-07 Andreas Schwab <schwab@redhat.com>
61979
61980 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
61981 handler when locking.
61982
61983 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
61984 Fix size of allocated buffer.
61985
61986 2011-11-04 Andreas Schwab <schwab@redhat.com>
61987
61988 [BZ #10103]
61989 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
61990 declarations for long double functions.
61991 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
61992
61993 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
61994
61995 2011-11-03 Andreas Schwab <schwab@redhat.com>
61996
61997 * nscd/nscd.c (main): Don't start AVC thread until credentials are
61998 installed.
61999
62000 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
62001 is disabled.
62002
62003 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
62004
62005 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
62006
62007 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
62008
62009 * include/alloca.h (stackinfo_alloca_round): Define.
62010 (extend_alloca): Use it.
62011 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
62012 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
62013 here.
62014
62015 * scripts/check-local-headers.sh: Ignore libaudit.h.
62016
62017 * nscd/Makefile (extra-objs): Make recursively expanded.
62018
62019 2011-11-01 Ulrich Drepper <drepper@gmail.com>
62020
62021 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
62022 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
62023
62024 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
62025 * posix/tst-rfc3484-2.c: Likewise.
62026 * posix/tst-rfc3484-3.c: Likewise.
62027
62028 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
62029 process_vm_writev.
62030 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
62031 process_vm_writev.
62032 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
62033 process_vm_writev from libc using GLIBC_2.15 version.
62034
62035 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
62036
62037 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
62038
62039 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
62040 stack usage.
62041
62042 2011-10-31 Ulrich Drepper <drepper@gmail.com>
62043
62044 [BZ #13367]
62045 * nss/getent.c (initgroups_keys): Show error message in case no group
62046 names are given.
62047
62048 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
62049 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
62050 __bump_nl_timestamp.
62051 * nscd/connections (nscd_init): When host database is served open
62052 netlink socket and request notification about configuration changes.
62053 (main_loop_poll): Track netlink file descriptor and bump timestamp
62054 in case data becomes available.
62055 (main_loop_epoll): Likewise.
62056 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
62057 (database_pers_head): Add extra_data fileds.
62058 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
62059 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
62060 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
62061 Adjust caller.
62062 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
62063 in6ai data, call __free_in6ai.
62064 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
62065 Add -DHAVE_NETLINK.
62066 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
62067 interface information. Reuse previous data if netlink timestamp
62068 is not changed.
62069 (__bump_nl_timestamp): New function.
62070 (__free_in6ai): New function.
62071
62072 2011-10-30 Ulrich Drepper <drepper@gmail.com>
62073
62074 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
62075 close_not_cancel_no_status here.
62076 (__check_pf): Reorganize code a bit to not call close twice if OOM.
62077
62078 2011-10-29 Ulrich Drepper <drepper@gmail.com>
62079
62080 [BZ #13276]
62081 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
62082 return value.
62083
62084 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
62085 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
62086 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
62087
62088 2011-07-03 Andreas Jaeger <aj@suse.de>
62089
62090 [BZ #10709]
62091 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
62092 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
62093 * math/libm-test.inc (sin_test): Add test case.
62094
62095 2011-10-29 Ulrich Drepper <drepper@gmail.com>
62096
62097 [BZ #13337]
62098 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
62099 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
62100
62101 * elf/chroot_canon.c (chroot_canon): Cleanups.
62102
62103 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
62104
62105 [BZ #13335]
62106 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
62107 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
62108
62109 * string/test-strchr.c: Make usable for strchrnul testing.
62110 * string/test-strchrnul.c: New file.
62111 * string/Makefile (strop-tests): Add strchrnul.
62112
62113 * po/it.po: Update from translation team.
62114 * po/es.po: Likewise.
62115
62116 2011-10-28 Ulrich Drepper <drepper@gmail.com>
62117
62118 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
62119 the three constants needed as parameters. Drop the others.
62120 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
62121 __m128i_strloadu_tolower.
62122 Create and initialize variable zero and use it in all the places
62123 where _mm_setzero_si128 was used.
62124
62125 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
62126 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
62127 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
62128 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
62129 anymore.
62130 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
62131 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
62132 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
62133 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
62134 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
62135 __mpranred, __mptan.
62136 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
62137 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
62138 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
62139 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
62140 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
62141 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
62142 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
62143 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
62144 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
62145
62146 2011-10-28 Andreas Schwab <schwab@redhat.com>
62147
62148 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
62149 redefine if SHARED.
62150 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
62151
62152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
62153 wide char related routines to wcsmbs subdir.
62154
62155 2011-10-27 Andreas Schwab <schwab@redhat.com>
62156
62157 [BZ #13344]
62158 * misc/sys/cdefs.h (__THROWNL): Define.
62159 * posix/unistd.h: Use __THREADNL instead of __THREAD
62160 for memory synchronization functions.
62161
62162 2011-10-26 Roland McGrath <roland@hack.frob.com>
62163
62164 [BZ #13349]
62165 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
62166 doesn't exist.
62167 * manual/stdio.texi (Obstack Streams): Node removed.
62168
62169 2011-10-26 Andreas Schwab <schwab@redhat.com>
62170
62171 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
62172 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62173 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62174
62175 * math/math_private.h (math_force_eval): Allow non-addressable
62176 arguments.
62177 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
62178
62179 2011-10-25 Ulrich Drepper <drepper@gmail.com>
62180
62181 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
62182 file is not needed.
62183
62184 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
62185 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
62186 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62187 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62188 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62189 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62190 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62191 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
62192 Add AVX variants.
62193 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
62194 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
62195 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
62196 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
62197 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
62198 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
62199 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
62200 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
62201 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
62202 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
62203 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
62204 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
62205 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
62206 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
62207 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
62208 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
62209 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
62210 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
62211 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
62212
62213 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
62214 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
62215
62216 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
62217 place. Use VEX encoding when compiling for AVX.
62218
62219 2011-10-25 Andreas Schwab <schwab@redhat.com>
62220
62221 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
62222 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
62223
62224 * string/test-strchr.c (do_test): Don't generate NUL bytes.
62225
62226 2011-10-25 Ulrich Drepper <drepper@gmail.com>
62227
62228 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
62229 useless if() expression.
62230 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62231 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62232 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62233 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62234 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62235 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62236 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62237 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62238 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62239 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62240 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62241 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62242 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62243 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62244 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62245 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62246 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62247 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62248 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62249
62250 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
62251
62252 2011-10-25 Andreas Schwab <schwab@redhat.com>
62253
62254 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
62255 condition.
62256 * elf/dl-fini.c (_dl_sort_fini): Likewise.
62257
62258 2011-10-25 Ulrich Drepper <drepper@gmail.com>
62259
62260 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
62261 .text section. Avoid duplicate constants.
62262 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62263 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62264 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62265 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62266 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62267 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62268 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62269 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62270 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62271 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
62272 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62273 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62274 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62275 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62276 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62277 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62278 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62279 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62280 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62281 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62282 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62283 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62284 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62285 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
62286 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
62287 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
62288 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
62289 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
62290 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
62291 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
62292 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
62293 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
62294 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62295 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
62296 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
62297 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
62298 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
62299 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
62300 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
62301 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
62302 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
62303 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
62304 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
62305 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
62306 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
62307
62308 2011-10-24 Ulrich Drepper <drepper@gmail.com>
62309
62310 * sysdeps/x86_64/dla.h: Move to ...
62311 * sysdeps/x86_64/fpu/dla.h: ...here.
62312 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
62313 situations. Use __builtin_fma only for gcc 4.6 and up.
62314
62315 * config.make.in: Add have-mfma4 entry.
62316 * configure.in: Substitute libc_cv_cc_fma4.
62317 * math/Makefile (dbl-only-routines): Add sincostab.
62318 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
62319 Use __sincostab not sincos.
62320 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
62321 name is a macro.
62322 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62323 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62324 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62325 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
62326 using __copysign.
62327 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
62328 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
62329 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
62330 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
62331 and __inv.
62332 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
62333 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
62334 __copysign.
62335 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
62336 define aliases when function name is a macro.
62337 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
62338 sysdeps/ieee754/dbl-64/sincos.tbl.
62339 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
62340 fma4-enabled routines.
62341 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
62342 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
62343 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
62344 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
62345 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
62346 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
62347 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
62348 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
62349 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
62350 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
62351 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
62352 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
62353 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
62354 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
62355 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
62356 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
62357 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
62358 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
62359 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
62360 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
62361 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
62362 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
62363 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
62364 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
62365 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
62366 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
62367 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
62368 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
62369 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
62370 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
62371
62372 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
62373 rename.
62374 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62375 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62379 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62380 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62381 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62382
62383 2011-10-24 Andreas Schwab <schwab@redhat.com>
62384
62385 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
62386
62387 2011-10-23 Ulrich Drepper <drepper@gmail.com>
62388
62389 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
62390
62391 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
62392 prediction.
62393 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
62394
62395 * string/strnlen.c: Don't define STRNLEN, reverse logic.
62396 Remove unused variable magic_bits.
62397 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
62398
62399 * string/strnlen.c: Define and use STRNLEN macro.
62400 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
62401 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
62402 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
62403 * wcsmbs/wcslen.c: Define and use WCSLEN.
62404 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
62405 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
62406 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
62407 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
62408 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
62409 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
62410 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
62411
62412 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62413
62414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62415 strnlen-sse2-no-bsf.
62416 Rename strlen-no-bsf to strlen-sse2-no-bsf.
62417 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
62418 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
62419 Add strnlen support.
62420 (USE_AS_STRNLEN): New macro.
62421 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
62422 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
62423 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
62424 * sysdeps/x86_64/wcslen.S: New file.
62425
62426 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
62427
62428 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
62429 XMM-moves are used for copying on small sizes.
62430
62431 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62432
62433 * wcsmbs/Makefile (strop-tests): Add wcschr.
62434 * wcsmbs/test-wcschr.c: New file.
62435 * string/test-strchr.c: Update.
62436 Add wcschr support.
62437 (WIDE): New macro.
62438
62439 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62440
62441 * wcsmbs/Makefile (strop-tests): Add wcslen.
62442 * wcsmbs/test-wcslen.c: New file.
62443 * string/test-strlen.c: Update.
62444 Add wcslen support.
62445 (WIDE): New macro.
62446
62447 2011-10-23 Ulrich Drepper <drepper@gmail.com>
62448
62449 * po/it.po: Update from translation team.
62450
62451 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62452
62453 * sysdeps/x86_64/wcscmp.S: Update.
62454 Fix wrong comparison semantics.
62455 wcscmp shall use signed comparison not unsigned.
62456 Don't use substraction to avoid overflow bug.
62457 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
62458 * wcsmbc/wcscmp.c: Likewise.
62459 * string/test-strcmp.c: Likewise.
62460 Add new tests to check cases with negative values.
62461
62462 2011-10-23 Ulrich Drepper <drepper@gmail.com>
62463
62464 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
62465 * sysdeps/x86_64/dla.h: ...here. New file.
62466 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
62467 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62468 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62469 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62470 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62471 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62472 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62473 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62474 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62475
62476 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
62477
62478 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
62479 __ynl_finite aliases.
62480
62481 2011-10-22 Ulrich Drepper <drepper@gmail.com>
62482
62483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62484
62485 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
62486 define DLA_FMA.
62487 [DLA_FMA] (EMULV): Use DLA_FMA.
62488 [DLA_FMA] (MUL12): Use EMULV.
62489 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
62490 that are not needed.
62491 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62492 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62493 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62494 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62495 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62496 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62497 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62498
62499 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
62500
62501 * math/s_nan.c: Undef __nan.
62502 * math/s_nanf.c: Undef __nanf.
62503 * math/s_nanl.c: Undef __nanl.
62504 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
62505 "math_private.h".
62506
62507 2011-10-22 Ulrich Drepper <drepper@gmail.com>
62508
62509 * math/s_catan.c: Add branch predictions.
62510 * math/s_catanf.c: Likewise.
62511 * math/s_catanh.c: Likewise.
62512 * math/s_catanhf.c: Likewise.
62513 * math/s_catanhl.c: Likewise.
62514 * math/s_catanl.c: Likewise.
62515 * math/s_cexp.c: Likewise.
62516 * math/s_cexpf.c: Likewise.
62517 * math/s_cexpl.c: Likewise.
62518 * math/s_clog.c: Likewise.
62519 * math/s_clog10.c: Likewise.
62520 * math/s_clog10f.c: Likewise.
62521 * math/s_clog10l.c: Likewise.
62522 * math/s_clogf.c: Likewise.
62523 * math/s_clogl.c: Likewise.
62524 * math/s_csqrt.c: Likewise.
62525 * math/s_csqrtf.c: Likewise.
62526 * math/s_csqrtl.c: Likewise.
62527 * math/s_ctanf.c: Likewise.
62528 * math/s_ctanh.c: Likewise.
62529 * math/s_ctanhf.c: Likewise.
62530 * math/s_ctanhl.c: Likewise.
62531 * math/s_ctanl.c: Likewise.
62532
62533 * math/math_private.h: Define __nan, __nanf, __nanl.
62534 * math/s_cacosh.c: Include <math_private.h>.
62535 * math/s_cacoshl.c: Likewise.
62536 * math/s_casinh.c: Likewise.
62537 * math/s_casinhf.c: Likewise.
62538 * math/s_casinhl.c: Likewise.
62539 * math/s_ccos.c: Rely entire on ccosh.
62540 * math/s_ccosf.c: Rely entire on ccoshf.
62541 * math/s_ccosl.c: Rely entirely on ccoshl.
62542 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
62543 Remove tests for FE_INVALID.
62544 * math/s_ccoshf.c: Likewise.
62545 * math/s_ccoshl.c: Likewise.
62546 * math/s_csin.c: Likewise.
62547 * math/s_csinf.c: Likewise.
62548 * math/s_csinh.c Likewise.
62549 * math/s_csinhf.c: Likewise.
62550 * math/s_csinhl.c: Likewise.
62551 * math/s_csinl.c: Likewise.
62552 * math/s_ctan.c: Likewise.
62553 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
62554 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
62555 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
62556
62557 2011-10-21 Ulrich Drepper <drepper@gmail.com>
62558
62559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
62560 compilation problems.
62561
62562 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
62563 __builtin_expect.
62564
62565 2011-10-20 Ulrich Drepper <drepper@gmail.com>
62566
62567 * sysdeps/i386/configure.in: Test for -mfma4 option.
62568 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
62569 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
62570 COMMON_CPUID_INDEX_80000001.
62571 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
62572 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
62573 use it if FMA3 is not supported.
62574 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
62575
62576 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
62577 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62578
62579 2011-10-20 Andreas Schwab <schwab@redhat.com>
62580
62581 [BZ #12892]
62582 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
62583 it would create a cycle with a link time dependency.
62584
62585 2011-10-19 Ulrich Drepper <drepper@gmail.com>
62586
62587 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
62588 instruction.
62589 * string/Makefile (strop-tests): Add rawmemchr.
62590 * string/test-rawmemchr.c: New file.
62591
62592 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
62593 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
62594 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
62595 when compiling str{,n}casecmp and when AVX is available. Hook up
62596 new optimized code in initializers.
62597
62598 2011-10-19 Andreas Schwab <schwab@redhat.com>
62599
62600 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
62601 __feraiseexcept instead of feraiseexcept.
62602
62603 2011-10-18 Ulrich Drepper <drepper@gmail.com>
62604
62605 * math/math_private.h: Define defaults for libc_fetestexcept and
62606 libc_feupdateenv.
62607 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
62608 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
62609 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
62610 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
62611 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
62612 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
62613 libc_fetestexcept and libc_feupdateenv.
62614
62615 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
62616 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
62617 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
62618 * sysdeps/x86_64/fpu/math_private.h: Define special version of
62619 libc_feholdexcept_setround.
62620
62621 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
62622 Add s_nearbyint-c and s_nearbyintf-c.
62623 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
62624 nearbyintf inlines.
62625 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
62626 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
62627 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
62628 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
62629
62630 * math/math_private.h: Define defaults for libc_fegetround,
62631 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
62632 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
62633 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
62634 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
62635 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
62636 standard functions.
62637 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
62638 Remove comments and hacks for old compiler versions.
62639 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
62640 libc_fegetround, libc_fesetround, libc_feholdexcept, and
62641 libc_feholdexceptl.
62642
62643 2011-10-18 Andreas Schwab <schwab@redhat.com>
62644
62645 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
62646 (__feraiseexcept_renamed): Add __NTH.
62647 (feraiseexcept): Add __NTH. Rename local variables to fix
62648 namespace violations.
62649
62650 2011-10-17 Ulrich Drepper <drepper@gmail.com>
62651
62652 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
62653
62654 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
62655
62656 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
62657 recently added interfaces.
62658 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
62659
62660 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
62661 about macro parameter expansion.
62662
62663 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
62664 __NO_MATH_INLINES is defined. Cleanups.
62665
62666 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
62667 and __floorf is target has SSE4.1.
62668 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
62669 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
62670 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
62671 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
62672
62673 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
62674 name.
62675 (floorf): Likewise.
62676
62677 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
62678
62679 2011-10-17 Andreas Schwab <schwab@redhat.com>
62680
62681 * misc/sys/cdefs.h: Fix last change.
62682
62683 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
62684 database lookup.
62685
62686 2011-10-16 Ulrich Drepper <drepper@gmail.com>
62687
62688 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
62689
62690 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
62691 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62692 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62693 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62694 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62695 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
62696 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62697 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62698 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
62699 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
62700 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
62701 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
62702 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
62703 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
62704 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
62705 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
62706 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
62707 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
62708 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
62709 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
62710 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
62711 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
62712
62713 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
62714 ceil, ceilf, floor, floorf.
62715
62716 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
62717 Perform IRELATIVE relocations last.
62718
62719 * elf/do-rel.h: Add another parameter nrelative, replacing the
62720 local variable with the same name. Change name of the function
62721 to end in Rel or Rela (uppercase).
62722 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
62723 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
62724 elf_dynamic_do_##reloc function.
62725
62726 2011-10-15 Ulrich Drepper <drepper@gmail.com>
62727
62728 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
62729 is sufficient, at least on modern CPUs.
62730
62731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
62732
62733 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
62734 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
62735
62736 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
62737 __expl_finite.
62738 * math/bits/math-finite.h: Add entries for exp.
62739 * math/e_expl.c: Add __*_finite alias.
62740 * sysdeps/i386/fpu/e_exp.S: Likewise.
62741 * sysdeps/i386/fpu/e_expf.S: Likewise.
62742 * sysdeps/i386/fpu/e_expl.c: Likewise.
62743 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62744 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
62745 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62746 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62747 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
62748 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
62749 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
62750
62751 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
62752 is sufficient, at least on modern CPUs.
62753
62754 * ctype/ctype-info.c (__ctype_init): Define.
62755 * include/ctype.h (__ctype_init): Declare.
62756 (__ctype_b_loc): The variable is always initialized.
62757 (__ctype_toupper_loc): Likewise.
62758 (__ctype_tolower_loc): Likewise.
62759 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
62760 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
62761
62762 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
62763
62764 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
62765
62766 * configure.in: Also look in $cxxmachine/include for C++ system
62767 headers.
62768
62769 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62770
62771 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
62772 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
62773 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
62774 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
62775 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
62776 (USE_AS_WMEMCMP): New macro.
62777 Fixing indents.
62778 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
62779 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
62780 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
62781 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
62782 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62783 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
62784 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
62785 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
62786 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
62787 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
62788 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
62789 (USE_AS_WMEMCMP): New macro.
62790 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
62791 * sysdeps/string/test-memcmp.c: Update.
62792 Fix simple_wmemcmp.
62793 Add new tests.
62794 * wcsmbs/wmemcmp.c: Update.
62795 (WMEMCMP): New macro.
62796 Fix overflow bug.
62797
62798 2011-10-12 Andreas Jaeger <aj@suse.de>
62799
62800 [BZ #13268]
62801 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
62802
62803 2011-10-15 Ulrich Drepper <drepper@gmail.com>
62804
62805 * libio/iofwide.c (do_length): Avoid warning.
62806
62807 * ctype/ctype.h (__isctype_f): Add missing __THROW.
62808
62809 2011-10-14 Ulrich Drepper <drepper@gmail.com>
62810
62811 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
62812
62813 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
62814 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
62815 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
62816 * sysdeps/i386/i686/fpu/e_log.S: New file.
62817 * sysdeps/i386/i686/fpu/e_logf.S: New file.
62818 * sysdeps/i386/i686/fpu/e_logl.S: New file.
62819
62820 * ctype/ctype.h: Add support for inlined isXXX functions when
62821 compiling C++ code.
62822
62823 2011-10-14 Andreas Schwab <schwab@redhat.com>
62824
62825 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62826
62827 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
62828
62829 2011-10-13 Roland McGrath <roland@hack.frob.com>
62830
62831 [BZ #13291]
62832 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
62833
62834 2011-10-13 Andreas Schwab <schwab@redhat.com>
62835
62836 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
62837 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
62838 feraiseexcept.
62839
62840 * sysdeps/x86_64/memrchr.S: Check for zero size.
62841
62842 * string/stratcliff.c: Add memrchr tests.
62843
62844 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62845
62846 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62847 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
62848 rawmemchr-sse2 rawmemchr-sse2-bsf.
62849 * sysdeps/i386/i686/multiarch/memchr.S: New file.
62850 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
62851 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
62852 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
62853 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
62854 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
62855 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
62856 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
62857 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
62858 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
62859 * string/memrchr.c (MEMRCHR): New macro.
62860
62861 2011-10-12 Ulrich Drepper <drepper@gmail.com>
62862
62863 Add integration with gcc's -ffinite-math-only and optimize wrapper
62864 functions in libm.
62865 * Versions.def: Define GLIBC_2.15 version for libm.
62866 * math/Makefile (headers): Add bits/math-finite.h.
62867 * math/bits/math-finite.h: New file.
62868 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
62869 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
62870 * math/e_acoshl.c: Add __*_finite alias.
62871 * math/e_acosl.c: Likewise.
62872 * math/e_asinl.c: Likewise.
62873 * math/e_atan2l.c: Likewise.
62874 * math/e_atanhl.c: Likewise.
62875 * math/e_coshl.c: Likewise.
62876 * math/e_exp10.c: Likewise.
62877 * math/e_exp10f.c: Likewise.
62878 * math/e_exp10l.c: Likewise.
62879 * math/e_exp2l.c: Likewise.
62880 * math/e_fmodl.c: Likewise.
62881 * math/e_gammal_r.c: Likewise.
62882 * math/e_hypotl.c: Likewise.
62883 * math/e_j0l.c: Likewise.
62884 * math/e_j1l.c: Likewise.
62885 * math/e_jnl.c: Likewise.
62886 * math/e_lgammal_r.c: Likewise.
62887 * math/e_log10l.c: Likewise.
62888 * math/e_log2l.c: Likewise.
62889 * math/e_logl.c: Likewise.
62890 * math/e_powl.c: Likewise.
62891 * math/e_sinhl.c: Likewise.
62892 * math/e_sqrtl.c: Likewise.
62893 * math/e_scalb.c: Completely rewritten and optimized.
62894 * math/e_scalbf.c: Likewise.
62895 * math/e_scalbl.c: Likewise.
62896 * math/w_acos.c: Likewise.
62897 * math/w_acosf.c: Likewise.
62898 * math/w_acosl.c: Likewise.
62899 * math/w_acosh.c: Likewise.
62900 * math/w_acoshf.c: Likewise.
62901 * math/w_acoshl.c: Likewise.
62902 * math/w_asin.c: Likewise.
62903 * math/w_asinf.c: Likewise.
62904 * math/w_asinl.c: Likewise.
62905 * math/w_atan2.c: Likewise.
62906 * math/w_atan2f.c: Likewise.
62907 * math/w_atan2l.c: Likewise.
62908 * math/w_atanh.c: Likewise.
62909 * math/w_atanhf.c: Likewise.
62910 * math/w_atanhl.c: Likewise.
62911 * math/w_exp10.c: Likewise.
62912 * math/w_exp10f.c: Likewise.
62913 * math/w_exp10l.c: Likewise.
62914 * math/w_fmod.c: Likewise.
62915 * math/w_fmodf.c: Likewise.
62916 * math/w_fmodl.c: Likewise.
62917 * math/w_j0.c: Likewise.
62918 * math/w_j0f.c: Likewise.
62919 * math/w_j0l.c: Likewise.
62920 * math/w_j1.c: Likewise.
62921 * math/w_j1f.c: Likewise.
62922 * math/w_j1l.c: Likewise.
62923 * math/w_jn.c: Likewise.
62924 * math/w_jnf.c: Likewise.
62925 * math/w_log.c: Likewise.
62926 * math/w_logf.c: Likewise.
62927 * math/w_logl.c: Likewise.
62928 * math/w_log10.c: Likewise.
62929 * math/w_log10f.c: Likewise.
62930 * math/w_log10l.c: Likewise.
62931 * math/w_log2.c: Likewise.
62932 * math/w_log2f.c: Likewise.
62933 * math/w_log2l.c: Likewise.
62934 * math/w_pow.c: Likewise.
62935 * math/w_powf.c: Likewise.
62936 * math/w_powl.c: Likewise.
62937 * math/w_remainder.c: Likewise.
62938 * math/w_remainderf.c: Likewise.
62939 * math/w_remainderl.c: Likewise.
62940 * math/w_scalb.c: Likewise.
62941 * math/w_scalbf.c: Likewise.
62942 * math/w_scalbl.c: Likewise.
62943 * math/w_sqrt.c: Likewise.
62944 * math/w_sqrtf.c: Likewise.
62945 * math/w_sqrtl.c: Likewise.
62946 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
62947 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
62948 used.
62949 * math/math_private.h: Declare __kernel_standard_f.
62950 * math/w_cosh.c: Remove cruft and optimize a bit.
62951 * math/w_coshf.c: Likewise.
62952 * math/w_coshl.c: Likewise.
62953 * math/w_exp2.c: Likewise.
62954 * math/w_exp2f.c: Likewise.
62955 * math/w_exp2l.c: Likewise.
62956 * math/w_hypot.c: Likewise.
62957 * math/w_hypotf.c: Likewise.
62958 * math/w_hypotl.c: Likewise.
62959 * math/w_lgamma.c: Likewise.
62960 * math/w_lgamma_r.c: Likewise.
62961 * math/w_lgammaf.c: Likewise.
62962 * math/w_lgammaf_r.c: Likewise.
62963 * math/w_lgammal.c: Likewise.
62964 * math/w_lgammal_r.c: Likewise.
62965 * math/w_sinh.c: Likewise.
62966 * math/w_sinhf.c: Likewise.
62967 * math/w_sinhl.c: Likewise.
62968 * math/w_tgamma.c: Likewise.
62969 * math/w_tgammaf.c: Likewise.
62970 * math/w_tgammal.c: Likewise.
62971 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62972 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62973 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
62974 Minor optimizations. Pretty printing. Remove cruft.
62975 * sysdeps/i386/fpu/e_acosf.S: Likewise.
62976 * sysdeps/i386/fpu/e_acosh.S: Likewise.
62977 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62978 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62979 * sysdeps/i386/fpu/e_acosl.c: Likewise.
62980 * sysdeps/i386/fpu/e_asin.S: Likewise.
62981 * sysdeps/i386/fpu/e_asinf.S: Likewise.
62982 * sysdeps/i386/fpu/e_atan2.S: Likewise.
62983 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
62984 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
62985 * sysdeps/i386/fpu/e_atanh.S: Likewise.
62986 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62987 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62988 * sysdeps/i386/fpu/e_exp10.S: Likewise.
62989 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
62990 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
62991 * sysdeps/i386/fpu/e_exp2.S: Likewise.
62992 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
62993 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
62994 * sysdeps/i386/fpu/e_fmod.S: Likewise.
62995 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
62996 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
62997 * sysdeps/i386/fpu/e_hypot.S: Likewise.
62998 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
62999 * sysdeps/i386/fpu/e_log.S: Likewise.
63000 * sysdeps/i386/fpu/e_log10.S: Likewise.
63001 * sysdeps/i386/fpu/e_log10f.S: Likewise.
63002 * sysdeps/i386/fpu/e_log10l.S: Likewise.
63003 * sysdeps/i386/fpu/e_log2.S: Likewise.
63004 * sysdeps/i386/fpu/e_log2f.S: Likewise.
63005 * sysdeps/i386/fpu/e_log2l.S: Likewise.
63006 * sysdeps/i386/fpu/e_logf.S: Likewise.
63007 * sysdeps/i386/fpu/e_logl.S: Likewise.
63008 * sysdeps/i386/fpu/e_pow.S: Likewise.
63009 * sysdeps/i386/fpu/e_powf.S: Likewise.
63010 * sysdeps/i386/fpu/e_powl.S: Likewise.
63011 * sysdeps/i386/fpu/e_remainder.S: Likewise.
63012 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
63013 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
63014 * sysdeps/i386/fpu/e_scalb.S: Likewise.
63015 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63016 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63017 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
63018 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
63019 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
63020 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63021 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63022 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63023 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63024 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
63025 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63026 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
63027 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63028 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63029 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63030 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63031 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63032 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63033 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63034 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63035 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63036 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63037 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63038 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63039 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63040 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63041 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63042 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63043 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63044 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63045 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63046 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
63047 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63048 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
63049 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63050 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63051 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63052 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63053 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63054 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63055 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63056 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63057 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63058 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63059 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63060 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63061 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63062 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63063 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63064 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63065 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63066 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63067 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63068 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63069 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
63070 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63071 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63072 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63073 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63074 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63075 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63076 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63077 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63078 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63079 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63080 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63081 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63082 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63083 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63084 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63085 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63086 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63087 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63088 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
63089 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63090 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63091 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63092 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63093 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63094 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63095 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63096 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
63097 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63098 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63099 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63100 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63101 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63102 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
63103 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63104 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63105 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63106 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63107 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63108 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63109 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63110 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63111 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63112 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63113 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
63114 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63115 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
63116 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
63117 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
63118 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
63119 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
63120 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
63121 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
63122 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
63123 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
63124 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63125 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63126 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63127 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63128 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
63129 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63130 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
63131 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
63132 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
63133 (__isnanf): Likewise.
63134 (__isinf_ns): Likewise.
63135 (__isinf_nsf): Likewise.
63136 (__finite): Likewise.
63137 (__finitef): Likewise.
63138 (__ieee754_sqrt): Define as macro.
63139 (__ieee754_sqrtf): Define as macro.
63140 (__ieee754_sqrtl): Define as macro.
63141 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
63142 inlined copy.
63143 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
63144 __FINITE_MATH_ONLY__ consistent.
63145 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
63146
63147 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
63148
63149 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
63150 of rawmemchr.
63151
63152 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
63153
63154 2011-10-09 Ulrich Drepper <drepper@gmail.com>
63155
63156 * po/ja.po: Update from translation team.
63157
63158 2011-10-08 Roland McGrath <roland@hack.frob.com>
63159
63160 * locale/programs/locarchive.c (prepare_address_space): New function.
63161 (create_archive, enlarge_archive, open_archive): Use it.
63162
63163 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
63164 inside [SHARED], where it is used.
63165
63166 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
63167
63168 * nss/getent.c (netgroup_keys): Remove unused variable.
63169 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63170
63171 2011-10-08 Ulrich Drepper <drepper@gmail.com>
63172
63173 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
63174 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
63175 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
63176 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
63177 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
63178 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
63179 * math/Makefile (libm-calls): Add s_isinf_ns.
63180 * math/divtc3.c: Use __isinf_nsl instead of isinf.
63181 * math/multc3.c: Likewise.
63182 * math/s_casin.c: Likewise.
63183 * math/s_casinf.c: Likewise.
63184 * math/s_casinl.c: Likewise.
63185 * math/s_ccos.c: Likewise.
63186 * math/s_ccosf.c: Likewise.
63187 * math/s_ccosl.c: Likewise.
63188 * math/s_ctan.c: Likewise.
63189 * math/s_ctanf.c: Likewise.
63190 * math/s_ctanh.c: Likewise.
63191 * math/s_ctanhf.c: Likewise.
63192 * math/s_ctanhl.c: Likewise.
63193 * math/s_ctanl.c: Likewise.
63194 * math/w_fmod.c: Likewise.
63195 * math/w_fmodf.c: Likewise.
63196 * math/w_fmodl.c: Likewise.
63197 * math/w_remainder.c: Likewise.
63198 * math/w_remainderf.c: Likewise.
63199 * math/w_remainderl.c: Likewise.
63200 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
63201 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
63202 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
63203 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
63204 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
63205 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
63206 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
63207 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
63208
63209 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
63210 of the number.
63211 * stdio-common/printf_fphex.c: Likewise.
63212 * stdio-common/printf_size.c: Likewise.
63213
63214 * math/e_exp10.c: Include math_private.h using <...> not "...".
63215 * math/e_exp10f.c: Likewise.
63216 * math/e_exp10l.c: Likewise.
63217 * math/e_exp2l.c: Likewise.
63218 * math/e_j0l.c: Likewise.
63219 * math/e_j1l.c: Likewise.
63220 * math/e_jnl.c: Likewise.
63221 * math/e_lgammal_r.c: Likewise.
63222 * math/e_rem_pio2l.c: Likewise.
63223 * math/e_scalb.c: Likewise.
63224 * math/e_scalbf.c: Likewise.
63225 * math/e_scalbl.c: Likewise.
63226 * math/k_cosl.c: Likewise.
63227 * math/k_sinl.c: Likewise.
63228 * math/k_tanl.c: Likewise.
63229 * math/s_cacoshf.c: Likewise.
63230 * math/s_catan.c: Likewise.
63231 * math/s_catanf.c: Likewise.
63232 * math/s_catanh.c: Likewise.
63233 * math/s_catanhf.c: Likewise.
63234 * math/s_catanhl.c: Likewise.
63235 * math/s_catanl.c: Likewise.
63236 * math/s_ccosh.c: Likewise.
63237 * math/s_ccoshf.c: Likewise.
63238 * math/s_ccoshl.c: Likewise.
63239 * math/s_cexp.c: Likewise.
63240 * math/s_cexpf.c: Likewise.
63241 * math/s_cexpl.c: Likewise.
63242 * math/s_clog.c: Likewise.
63243 * math/s_clog10.c: Likewise.
63244 * math/s_clog10f.c: Likewise.
63245 * math/s_clog10l.c: Likewise.
63246 * math/s_clogf.c: Likewise.
63247 * math/s_clogl.c: Likewise.
63248 * math/s_csin.c: Likewise.
63249 * math/s_csinf.c: Likewise.
63250 * math/s_csinh.c: Likewise.
63251 * math/s_csinhf.c: Likewise.
63252 * math/s_csinhl.c: Likewise.
63253 * math/s_csinl.c: Likewise.
63254 * math/s_csqrt.c: Likewise.
63255 * math/s_csqrtf.c: Likewise.
63256 * math/s_csqrtl.c: Likewise.
63257 * math/s_ctan.c: Likewise.
63258 * math/s_ctanf.c: Likewise.
63259 * math/s_ctanh.c: Likewise.
63260 * math/s_ctanhf.c: Likewise.
63261 * math/s_ctanhl.c: Likewise.
63262 * math/s_ctanl.c: Likewise.
63263 * math/s_ldexp.c: Likewise.
63264 * math/s_ldexpf.c: Likewise.
63265 * math/s_ldexpl.c: Likewise.
63266 * math/s_significand.c: Likewise.
63267 * math/s_significandf.c: Likewise.
63268 * math/s_significandl.c: Likewise.
63269 * math/w_acos.c: Likewise.
63270 * math/w_acosf.c: Likewise.
63271 * math/w_acosh.c: Likewise.
63272 * math/w_acoshf.c: Likewise.
63273 * math/w_acoshl.c: Likewise.
63274 * math/w_acosl.c: Likewise.
63275 * math/w_asin.c: Likewise.
63276 * math/w_asinf.c: Likewise.
63277 * math/w_asinl.c: Likewise.
63278 * math/w_atan2.c: Likewise.
63279 * math/w_atan2f.c: Likewise.
63280 * math/w_atan2l.c: Likewise.
63281 * math/w_atanh.c: Likewise.
63282 * math/w_atanhf.c: Likewise.
63283 * math/w_atanhl.c: Likewise.
63284 * math/w_cosh.c: Likewise.
63285 * math/w_coshf.c: Likewise.
63286 * math/w_coshl.c: Likewise.
63287 * math/w_dremf.c: Likewise.
63288 * math/w_exp10.c: Likewise.
63289 * math/w_exp10f.c: Likewise.
63290 * math/w_exp10l.c: Likewise.
63291 * math/w_exp2.c: Likewise.
63292 * math/w_exp2f.c: Likewise.
63293 * math/w_fmod.c: Likewise.
63294 * math/w_fmodf.c: Likewise.
63295 * math/w_fmodl.c: Likewise.
63296 * math/w_hypot.c: Likewise.
63297 * math/w_hypotf.c: Likewise.
63298 * math/w_hypotl.c: Likewise.
63299 * math/w_j0.c: Likewise.
63300 * math/w_j0f.c: Likewise.
63301 * math/w_j0l.c: Likewise.
63302 * math/w_j1.c: Likewise.
63303 * math/w_j1f.c: Likewise.
63304 * math/w_j1l.c: Likewise.
63305 * math/w_jn.c: Likewise.
63306 * math/w_jnf.c: Likewise.
63307 * math/w_jnl.c: Likewise.
63308 * math/w_lgamma.c: Likewise.
63309 * math/w_lgamma_r.c: Likewise.
63310 * math/w_lgammaf.c: Likewise.
63311 * math/w_lgammaf_r.c: Likewise.
63312 * math/w_lgammal.c: Likewise.
63313 * math/w_lgammal_r.c: Likewise.
63314 * math/w_log.c: Likewise.
63315 * math/w_log10.c: Likewise.
63316 * math/w_log10f.c: Likewise.
63317 * math/w_log10l.c: Likewise.
63318 * math/w_log2.c: Likewise.
63319 * math/w_log2f.c: Likewise.
63320 * math/w_log2l.c: Likewise.
63321 * math/w_logf.c: Likewise.
63322 * math/w_logl.c: Likewise.
63323 * math/w_pow.c: Likewise.
63324 * math/w_powf.c: Likewise.
63325 * math/w_powl.c: Likewise.
63326 * math/w_remainder.c: Likewise.
63327 * math/w_remainderf.c: Likewise.
63328 * math/w_remainderl.c: Likewise.
63329 * math/w_scalb.c: Likewise.
63330 * math/w_scalbf.c: Likewise.
63331 * math/w_scalbl.c: Likewise.
63332 * math/w_sinh.c: Likewise.
63333 * math/w_sinhf.c: Likewise.
63334 * math/w_sinhl.c: Likewise.
63335 * math/w_sqrt.c: Likewise.
63336 * math/w_sqrtf.c: Likewise.
63337 * math/w_sqrtl.c: Likewise.
63338 * math/w_tgamma.c: Likewise.
63339 * math/w_tgammaf.c: Likewise.
63340 * math/w_tgammal.c: Likewise.
63341
63342 * po/ja.po: Update from translation team.
63343
63344 2011-09-29 Andreas Jaeger <aj@suse.de>
63345
63346 [BZ #13179]
63347 * sunrpc/netname.c (netname2host): Fix logic.
63348
63349 [BZ #6779]
63350 [BZ #6783]
63351 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
63352 correctly.
63353 * math/w_remainder.c (__remainder): Likewise.
63354 * math/w_remainderf.c (__remainderf): Likewise.
63355 * math/libm-test.inc (remainder_test): Add test cases.
63356
63357 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63358
63359 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
63360 sdiv_qrnnd.
63361
63362 2011-10-07 Ulrich Drepper <drepper@gmail.com>
63363
63364 * string/test-memcmp.c: Avoid unncessary #defines.
63365 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
63366
63367 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
63368
63369 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
63370 Use new sse2 version for core i3 - i7 as it's faster
63371 than sse42 version.
63372 (bit_Prefer_PMINUB_for_stringop): New.
63373 * sysdeps/x86_64/rawmemchr.S: Update.
63374 Replace with faster SSE2 version.
63375 * sysdeps/x86_64/memrchr.S: New file.
63376 * sysdeps/x86_64/memchr.S: Update.
63377 Replace with faster SSE2 version.
63378
63379 2011-09-12 Marek Polacek <mpolacek@redhat.com>
63380
63381 * elf/dl-load.c (lose): Add cast to avoid warning.
63382
63383 2011-10-07 Ulrich Drepper <drepper@gmail.com>
63384
63385 * po/ca.po: Update from translation team.
63386
63387 * inet/getnetgrent_r.c: Hook up nscd.
63388 * nscd/Makefile (routines): Add nscd_netgroup.
63389 (nscd-modules): Add netgroupcache.
63390 (CFLAGS-netgroupcache.c): Define.
63391 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
63392 (cache_search): Add const to second parameter.
63393 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
63394 INNETGR.
63395 (dbs): Add netgrdb entry.
63396 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
63397 (verify_persistent_db): Handle netgrdb.
63398 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
63399 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
63400 GETFDNETGR.
63401 (netgroup_response_header): Define.
63402 (innetgroup_response_header): Define.
63403 (datahead): Add netgroup_response_header and innetgroup_response_header
63404 elements.
63405 * nscd/nscd.conf: Add entries for netgroup cache.
63406 * nscd/nscd.h (dbtype): Add netgrdb.
63407 (_PATH_NSCD_NETGROUP_DB): Define.
63408 (netgroup_iov_disabled): Declare.
63409 (xmalloc, xcalloc, xrealloc): Move declarations here.
63410 (cache_search): Adjust prototype.
63411 Add netgroup-related prototypes.
63412 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
63413 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
63414 (__nscd_innetgr): Declare.
63415 * nscd/selinux.c (perms): Use access_vector_t as element type and
63416 add netgroup-related initializers.
63417 * nscd/netgroupcache.c: New file.
63418 * nscd/nscd_netgroup.c: New file.
63419 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
63420 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
63421 For four parameters use innetgr.
63422 * nss/nss_files/files-init.c: Add definition and callback for netgr.
63423 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
63424 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
63425 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
63426
63427 * nscd/connections.c (register_traced_file): Don't register file
63428 for disabled databases.
63429
63430 2011-10-06 Ulrich Drepper <drepper@gmail.com>
63431
63432 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
63433
63434 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
63435 from tree and freeing node.
63436
63437 2011-09-25 Jiri Olsa <jolsa@redhat.com>
63438
63439 * nss/nsswitch.c (__nss_database_lookup): Handle
63440 nss_parse_service_list out of memory case.
63441
63442 2011-09-15 Jiri Olsa <jolsa@redhat.com>
63443
63444 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
63445 out of memory case.
63446
63447 2011-10-04 Andreas Schwab <schwab@redhat.com>
63448
63449 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
63450 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
63451 pass it down.
63452 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
63453 elf_machine_rela, elf_machine_lazy_rel.
63454 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
63455 (ELF_DYNAMIC_DO_REL): Likewise.
63456 (ELF_DYNAMIC_DO_RELA): Likewise.
63457 (ELF_DYNAMIC_RELOCATE): Likewise.
63458 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
63459 to ELF_DYNAMIC_DO_REL.
63460 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
63461 (dl_main): In trace mode always set __RTLD_NOIFUNC.
63462 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
63463 elf_machine_rela.
63464 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
63465 skip_ifunc, don't call ifunc function if non-zero.
63466 (elf_machine_rela): Likewise.
63467 (elf_machine_lazy_rel): Likewise.
63468 (elf_machine_lazy_rela): Likewise.
63469 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
63470 (elf_machine_lazy_rel): Likewise.
63471 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
63472 Likewise.
63473 (elf_machine_lazy_rel): Likewise.
63474 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63475 Likewise.
63476 (elf_machine_lazy_rel): Likewise.
63477 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
63478 (elf_machine_lazy_rel): Likewise.
63479 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
63480 (elf_machine_lazy_rel): Likewise.
63481 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
63482 (elf_machine_lazy_rel): Likewise.
63483 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
63484 (elf_machine_lazy_rel): Likewise.
63485 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
63486 (elf_machine_lazy_rel): Likewise.
63487 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
63488 (elf_machine_lazy_rel): Likewise.
63489
63490 2011-09-28 Ulrich Drepper <drepper@gmail.com>
63491
63492 * nss/nss_files/files-init.c (_nss_files_init): Use static
63493 initialization for all the *_traced_file variables.
63494
63495 2011-09-28 Andreas Schwab <schwab@redhat.com>
63496
63497 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63498
63499 2011-09-27 Roland McGrath <roland@hack.frob.com>
63500
63501 [BZ #13226]
63502 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
63503
63504 2011-09-27 Andreas Schwab <schwab@redhat.com>
63505
63506 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
63507 Reread the line before reparsing it.
63508
63509 2011-09-26 Andreas Schwab <schwab@redhat.com>
63510
63511 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
63512
63513 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
63514 Maxim Kuvyrkov <maxim@codesourcery.com>
63515 Joseph Myers <joseph@codesourcery.com>
63516
63517 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
63518 if needed for __stack_chk_guard.
63519
63520 2011-09-19 Roland McGrath <roland@hack.frob.com>
63521
63522 * sysdeps/posix/spawni.c (script_execute): Always define it.
63523 It will be optimized away if unused.
63524 (maybe_script_execute): New function.
63525 (__spawni): Call it.
63526
63527 * Makerules: Don't include tls.make.
63528 (config-tls): Always set to thread.
63529 * tls.make.c: File removed.
63530
63531 2011-09-19 Mike Frysinger <vapier@gentoo.org>
63532
63533 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
63534 * config.make.in (CPPFLAGS-config): New substituted variable.
63535
63536 2011-09-15 Ulrich Drepper <drepper@gmail.com>
63537
63538 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
63539
63540 [BZ #13192]
63541 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
63542 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
63543
63544 2011-09-15 Roland McGrath <roland@hack.frob.com>
63545
63546 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
63547 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
63548 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63549 (CALL_FAIL): Likewise.
63550 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
63551 (CALL_FAIL): Macro removed.
63552 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
63553
63554 2011-09-15 Ulrich Drepper <drepper@gmail.com>
63555
63556 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
63557 for __FINITE_MATH_ONLY__ == 1.
63558
63559 2011-09-15 Andreas Schwab <schwab@redhat.com>
63560
63561 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
63562 __ieee754_sqrt instead of sqrt.
63563 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
63564 __ieee754_sqrtf instead of sqrtf.
63565 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
63566 __floorf instead of floorf.
63567 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
63568 __floorf, __truncf instead of floorf, truncf.
63569
63570 2011-09-14 Ulrich Drepper <drepper@gmail.com>
63571
63572 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
63573
63574 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
63575 __extern_always_inline.
63576 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
63577 32-bit.
63578
63579 2011-09-14 Andreas Schwab <schwab@redhat.com>
63580
63581 * elf/rtld.c (dl_main): Also relocate in dependency order when
63582 doing symbol dependency testing.
63583
63584 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
63585
63586 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63587 Always define `refsym'.
63588
63589 2011-09-13 Andreas Schwab <schwab@redhat.com>
63590
63591 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
63592 (__FD_ELT): Renamed from __FDELT.
63593 * misc/bits/select2.h (__FD_ELT): Likewise.
63594 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
63595 __FD_MASK instead of __FDELT, __FDMASK.
63596 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
63597 Likewise.
63598 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
63599 Likewise.
63600
63601 * elf/Makefile (gen-ldd): Fix pattern.
63602
63603 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
63604 (init_tls): Likewise.
63605
63606 2011-09-12 Ulrich Drepper <drepper@gmail.com>
63607
63608 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
63609
63610 2011-09-12 Andreas Schwab <schwab@redhat.com>
63611
63612 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
63613 `struct cmsghdr *' instead of `void *'.
63614 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
63615 Likewise.
63616
63617 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
63618
63619 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
63620 if non-absolute.
63621 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
63622 ldd_rewrite_script.
63623
63624 2011-09-11 Ulrich Drepper <drepper@gmail.com>
63625
63626 * configure.in: Remove --with-tls option.
63627 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
63628 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
63629 out in case it is missing.
63630 * sysdeps/ia64/elf/configure.in: Likewise.
63631 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
63632 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
63633 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
63634 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
63635 * sysdeps/sh/elf/configure.in: Likewise.
63636 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
63637 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
63638 * sysdeps/x86_64/elf/configure.in: Likewise.
63639 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
63640 * sysdeps/mach/hurd/tls.h: Likewise.
63641
63642 [BZ #13067]
63643 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
63644
63645 [BZ #13090]
63646 * configure.in: Fix use of AC_INIT.
63647
63648 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
63649
63650 2011-09-10 Ulrich Drepper <drepper@gmail.com>
63651
63652 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
63653 __set_errno.
63654 * malloc/hooks.c: Likewise.
63655
63656 [BZ #11929]
63657 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
63658 variables statically.
63659 (narenas): Initialize.
63660 (list_lock): Initialize.
63661 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
63662 initializtion of main_arena and list_lock. Small cleanups.
63663 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
63664 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
63665 Add initializers to main_arena and mp_.
63666 (malloc_state): Remove pagesize member. Change all users to use
63667 GLRO(dl_pagesize).
63668
63669 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
63670 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
63671 is always initialized.
63672
63673 * malloc/malloc.c: Removed unused configurations and dead code.
63674 * malloc/arena.c: Likewise.
63675 * malloc/hooks.c: Likewise.
63676 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
63677
63678 * include/tls.h: Removed. USE___THREAD must always be defined.
63679 * bits/libc-tsd.h: Don't handle !USE___THREAD.
63680 * elf/dl-libc.c: Likewise.
63681 * elf/dl-tsd.c: Likewise.
63682 * include/errno.h: Likewise.
63683 * include/netdb.h: Likewise.
63684 * include/resolv.h: Likewise.
63685 * inet/herrno-loc.c: Likewise.
63686 * inet/herrno.c: Likewise.
63687 * malloc/arena.c: Likewise.
63688 * malloc/hooks.c: Likewise.
63689 * malloc/malloc.c: Likewise.
63690 * resolv/res-state.c: Likewise.
63691 * resolv/res_libc.c: Likewise.
63692 * sysdeps/i386/dl-machine.h: Likewise.
63693 * sysdeps/ia64/dl-machine.h: Likewise.
63694 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
63695 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
63696 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
63697 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
63698 * sysdeps/sh/dl-machine.h: Likewise.
63699 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
63700 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
63701 * sysdeps/unix/i386/sysdep.S: Likewise.
63702 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
63703 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
63704 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
63705 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
63706 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
63707 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
63708 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
63709 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
63710 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
63712 * sysdeps/unix/x86_64/sysdep.S: Likewise.
63713 * sysdeps/x86_64/dl-machine.h: Likewise.
63714 * tls.make.c: Likewise.
63715
63716 * configure.in: Remove --with-__thread option. Make tests for
63717 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
63718 tls_model attribute fail if no support is available. Remove
63719 USE_IN_LIBIO.
63720 * Makeconfig: Adjust for dropped configure option. All features are
63721 now mandatory.
63722 * Makerules: Likewise.
63723 * Versions.def: Likewise.
63724 * argp/argp-fmtstream.c: Likewise.
63725 * argp/argp-fmtstream.h: Likewise.
63726 * argp/argp-help.c: Likewise.
63727 * assert/assert.c: Likewise.
63728 * config.h.in: Likewise.
63729 * config.make.in: Likewise.
63730 * configure: Likewise.
63731 * configure.in: Likewise.
63732 * csu/Versions: Likewise.
63733 * csu/init.c: Likewise.
63734 * elf/tst-audit2.c: Likewise.
63735 * elf/tst-tls10.c: Likewise.
63736 * elf/tst-tls10.h: Likewise.
63737 * elf/tst-tls11.c: Likewise.
63738 * elf/tst-tls12.c: Likewise.
63739 * elf/tst-tls14.c: Likewise.
63740 * elf/tst-tlsmod11.c: Likewise.
63741 * elf/tst-tlsmod12.c: Likewise.
63742 * elf/tst-tlsmod13.c: Likewise.
63743 * elf/tst-tlsmod13a.c: Likewise.
63744 * elf/tst-tlsmod14a.c: Likewise.
63745 * elf/tst-tlsmod15b.c: Likewise.
63746 * elf/tst-tlsmod16a.c: Likewise.
63747 * elf/tst-tlsmod16b.c: Likewise.
63748 * elf/tst-tlsmod7.c: Likewise.
63749 * elf/tst-tlsmod8.c: Likewise.
63750 * elf/tst-tlsmod9.c: Likewise.
63751 * gmon/gmon.c: Likewise.
63752 * grp/fgetgrent_r.c: Likewise.
63753 * grp/putgrent.c: Likewise.
63754 * hurd/fopenport.c: Likewise.
63755 * include/libc-symbols.h: Likewise.
63756 * include/tls.h: Likewise.
63757 * intl/gettextP.h: Likewise.
63758 * intl/loadinfo.h: Likewise.
63759 * locale/global-locale.c: Likewise.
63760 * locale/localeinfo.h: Likewise.
63761 * mach/devstream.c: Likewise.
63762 * malloc/arena.c: Likewise.
63763 * malloc/set-freeres.c: Likewise.
63764 * misc/err.c: Likewise.
63765 * misc/getttyent.c: Likewise.
63766 * misc/mntent_r.c: Likewise.
63767 * posix/getopt.c: Likewise.
63768 * posix/wordexp.c: Likewise.
63769 * pwd/fgetpwent_r.c: Likewise.
63770 * resolv/Versions: Likewise.
63771 * resolv/res_hconf.c: Likewise.
63772 * shadow/fgetspent_r.c: Likewise.
63773 * shadow/putspent.c: Likewise.
63774 * stdio-common/printf_fphex.c: Likewise.
63775 * stdio-common/tmpfile.c: Likewise.
63776 * stdlib/abort.c: Likewise.
63777 * stdlib/fmtmsg.c: Likewise.
63778 * sunrpc/auth_unix.c: Likewise.
63779 * sunrpc/clnt_perr.c: Likewise.
63780 * sunrpc/clnt_tcp.c: Likewise.
63781 * sunrpc/clnt_udp.c: Likewise.
63782 * sunrpc/clnt_unix.c: Likewise.
63783 * sunrpc/openchild.c: Likewise.
63784 * sunrpc/svc_simple.c: Likewise.
63785 * sunrpc/svc_tcp.c: Likewise.
63786 * sunrpc/svc_udp.c: Likewise.
63787 * sunrpc/svc_unix.c: Likewise.
63788 * sunrpc/xdr.c: Likewise.
63789 * sunrpc/xdr_array.c: Likewise.
63790 * sunrpc/xdr_rec.c: Likewise.
63791 * sunrpc/xdr_ref.c: Likewise.
63792 * sunrpc/xdr_stdio.c: Likewise.
63793
63794 2011-09-09 Ulrich Drepper <drepper@gmail.com>
63795
63796 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63797
63798 2011-07-03 Andreas Jaeger <aj@suse.de>
63799
63800 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
63801 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
63802 regenerate with gen-libm-tests.pl.
63803
63804 2010-05-12 Petr Baudis <pasky@suse.cz>
63805
63806 [BZ #11589]
63807 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
63808 around j0() zero points by switching to j1().
63809 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63810 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63811 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63812 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63813
63814 2011-09-09 Ulrich Drepper <drepper@gmail.com>
63815
63816 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
63817 instead of 0.
63818 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
63819 instead of 0.
63820 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63821 Patch in part by Pavel Roskin <proski@gnu.org>.
63822
63823 [BZ #13138]
63824 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
63825 realloc.
63826 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
63827 Free memory block if necessary.
63828
63829 [BZ #12847]
63830 * libio/genops.c (INTDEF): For string streams the _lock pointer can
63831 be NULL. Don't lock in this case.
63832
63833 2011-09-09 Roland McGrath <roland@hack.frob.com>
63834
63835 * elf/elf.h (ELFOSABI_GNU): New macro.
63836 (ELFOSABI_LINUX): Define to that.
63837
63838 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
63839
63840 * string/strncat.c (strncat): Undef the symbol in case it has been
63841 defined in bits/string.h.
63842
63843 2011-09-09 Ulrich Drepper <drepper@gmail.com>
63844
63845 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
63846
63847 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
63848 link map.
63849
63850 2011-08-17 Andreas Jaeger <aj@suse.de>
63851
63852 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
63853
63854 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
63855 Ian Lance Taylor <iant@google.com>
63856
63857 * math/libm-test.inc (lround_test): New testcase.
63858 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
63859
63860 2011-09-08 Ulrich Drepper <drepper@gmail.com>
63861
63862 * Makefile: Remove support for automatic cvs check-ins.
63863 * Makerules: Likewise.
63864 * config.make.in: Likewise.
63865 * configure.in: Likewise.
63866 * intl/Makefile: Likewise.
63867 * locale/Makefile: Likewise.
63868 * po/Makefile: Likewise.
63869 * posix/Makefile: Likewise.
63870 * sysdeps/gnu/Makefile: Likewise.
63871 * sysdeps/mach/hurd/Makefile: Likewise.
63872 * sysdeps/sparc/sparc32/Makefile: Likewise.
63873
63874 [BZ #13118]
63875 * posix/Makefile (bug-regex32-ENV): Define.
63876 Patch by John Stanley <jpsinthemix@verizon.net>.
63877
63878 * misc/Makefile (headers): Add bits/select2.h.
63879 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
63880 * misc/bits/select2.h: New file.
63881 * include/bits/select2.h: New file.
63882 * debug/Makefile (routines): Add fdelt_chk.
63883 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
63884 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
63885 FD_ISSET.
63886 * debug/fdelt_chk.c: New file.
63887
63888 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
63889 * wcsmbs/test-wmemcmp.c: Likewise.
63890 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
63891 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
63892
63893 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
63894
63895 * string/Makefile (strop-tests): Add memcmp.
63896 * string/test-wmemcmp.c: New file.
63897 * string/test-memcmp.c: Add wmemcmp support.
63898
63899 2011-09-08 Roland McGrath <roland@hack.frob.com>
63900
63901 [BZ #13153]
63902 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
63903 2011-07-19 change.
63904
63905 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
63906 garbage value in a __mach_port_mod_refs call in the cases of the
63907 task-self and thread-self ports.
63908
63909 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
63910
63911 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
63912
63913 2011-09-08 Andreas Schwab <schwab@redhat.com>
63914
63915 * elf/dl-load.c (lose): Check for non-null L.
63916
63917 2011-09-07 Ulrich Drepper <drepper@gmail.com>
63918
63919 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
63920
63921 * elf/dl-libc.c (dlerror_run): Pass back error code from
63922 dl_catch_error.
63923
63924 [BZ #13123]
63925 * elf/dl-load.c (lose): Free l_origin if it is valid.
63926
63927 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
63928 names.
63929 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
63930 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
63931 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
63932 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
63933 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
63934 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
63935
63936 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63937
63938 * sysdeps/powerpc/fpu/e_hypot.c: New file.
63939 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
63940 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
63941 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
63942 * sysdeps/powerpc/fpu/k_cosf.c: New file.
63943 * sysdeps/powerpc/fpu/k_sinf.c: New file.
63944 * sysdeps/powerpc/fpu/s_cosf.c: New file.
63945 * sysdeps/powerpc/fpu/s_sinf.c: New file.
63946 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
63947 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
63948
63949 2011-08-15 Alan Modra <amodra@gmail.com>
63950
63951 [BZ #13092]
63952 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
63953 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
63954 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
63955 ppc_mcount to static-only-routines.
63956 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
63957 __mcount_internal.
63958 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
63959 __mcount_internal with usual JUMPTARGET. Remove useless nop.
63960
63961 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
63962
63963 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
63964 for finite and infinity parameters.
63965
63966 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
63967
63968 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
63969 and add nop instructions for throughput optimization.
63970 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63971
63972 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
63973
63974 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
63975 aligned copy for power7 with vector-scalar instructions.
63976 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
63977
63978 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
63979
63980 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
63981 AVX check.
63982
63983 2011-09-07 Andreas Schwab <schwab@redhat.com>
63984
63985 [BZ #13144]
63986 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
63987 last change.
63988
63989 2011-09-07 Ulrich Drepper <drepper@gmail.com>
63990
63991 * sysdeps/unix/sysv/linux/x86_64/init-first.c
63992 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
63993 syscall wrapper around clock_gettime in __vdso_clock_gettime.
63994 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
63995 clock_gettime.
63996
63997 2011-09-06 Ulrich Drepper <drepper@gmail.com>
63998
63999 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
64000 Forgot to demangle the pointer.
64001
64002 * sysdeps/i386/sysdep.h: Define atom_text_section.
64003 * sysdeps/x86_64/sysdep.h: Likewise.
64004 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
64005 section with atom_text_section.
64006 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
64007 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
64008 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
64009 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
64010 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
64011
64012 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
64013 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
64014 already be defined. Change to take two parameters and don't assign
64015 result to variable. Adjust all users.
64016 Define INTERNAL_GETTIME if not already defined.
64017 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
64018 call.
64019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
64020 HAVE_CLOCK_GETTIME_VSYSCALL.
64021 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
64022
64023 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
64024 gettimeofday vsyscall, just use time.
64025
64026 2011-09-06 Andreas Schwab <schwab@redhat.com>
64027
64028 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
64029 <errno.h>.
64030
64031 2011-09-06 Ulrich Drepper <drepper@gmail.com>
64032
64033 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
64034 syscall on x86-64.
64035 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
64036 syscall.
64037 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
64038 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
64039 syscall if possible.
64040
64041 2011-09-05 Ulrich Drepper <drepper@gmail.com>
64042
64043 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
64044 e_ident. Don't pass to find_mapsXX.
64045 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
64046
64047 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64048
64049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64050 strchr-sse2-no-bsf strrchr-sse2-no-bsf
64051 * sysdeps/x86_64/multiarch/strchr.S: Update.
64052 Check bit_slow_BSF bit.
64053 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64054 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
64055 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
64056
64057 2011-09-05 Ulrich Drepper <drepper@gmail.com>
64058
64059 [BZ #13134]
64060 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
64061 before glibc 2.15.
64062 (tryshell): Define.
64063 (__spawni): Change last parameter to be flag. Test
64064 SPAWN_XFLAGS_USE_PATH flag to use path or not.
64065 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
64066 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
64067 * posix/spawni.c: Likewise.
64068 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
64069 * posix/spawnp.c: Likewise. Change normal version to use
64070 SPAWN_XFLAGS_USE_PATH.
64071 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
64072 SPAWN_XFLAGS_TRY_SHELL.
64073
64074 [BZ #13150]
64075 * posix/glob.h: Remove gcc 1.x support.
64076
64077 [BZ #13068]
64078 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
64079
64080 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64081
64082 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64083 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
64084 strrchr-sse2-bsf
64085 * sysdeps/i386/i686/multiarch/strchr.S: New file.
64086 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
64087 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
64088 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
64089 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
64090 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
64091
64092 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
64093
64094 * sysdeps/x86_64/wcscmp.S: New file.
64095
64096 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
64097 wcscmp-c wcscmp-sse2
64098 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
64099 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
64100 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
64101 * wcsmbs/wcscmp.c: Allow renaming.
64102
64103 2011-09-05 David S. Miller <davem@davemloft.net>
64104
64105 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
64106 stack slot, rather than the struct return pointer slot.
64107 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
64108 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
64109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
64110 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
64111
64112 2011-09-05 Ulrich Drepper <drepper@gmail.com>
64113
64114 * po/ja.po: Update from translation team.
64115
64116 [BZ #13144]
64117 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
64118 kernel in 64-bit binaries.
64119
64120 2011-09-01 David S. Miller <davem@davemloft.net>
64121
64122 * elf/elf.h (HWCAP_SPARC_*): Move to..
64123 * sysdeps/sparc/sysdep.h: this new file and add new values.
64124 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
64125 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
64126 _DL_HWCAP_COUNT to 24.
64127 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64128 entries.
64129 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
64130 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
64131 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
64132 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
64133 instead of magic constants.
64134 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64135
64136 2011-08-31 David S. Miller <davem@davemloft.net>
64137
64138 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
64139 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
64140 Reimplement to do errno handling inline.
64141 (SYSCALL_ERROR_HANDLER): New macro.
64142 (__SYSCALL_STRING): Do not do errno handling in asm.
64143 (__CLONE_SYSCALL_STRING): Delete.
64144 (__INTERNAL_SYSCALL_STRING): Delete.
64145 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
64146 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
64147 (PSEUDO): Reimplement to do errno handling inline.
64148 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
64149 (SYSCALL_ERROR_HANDLER): New macro.
64150 (__SYSCALL_STRING): Do not do errno handling in asm.
64151 (__CLONE_SYSCALL_STRING): Delete.
64152 (__INTERNAL_SYSCALL_STRING): Delete.
64153 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
64154 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
64155 i386.
64156 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
64157 (inline_syscall*): Add 'err' argument.
64158 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
64159 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
64160 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
64161 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
64162
64163 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
64164 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64165
64166 2011-08-30 Andreas Schwab <schwab@redhat.com>
64167
64168 * elf/rtld.c (dl_main): Relocate objects in dependency order.
64169
64170 2011-08-29 Jiri Olsa <jolsa@redhat.com>
64171
64172 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
64173 directive.
64174
64175 2011-08-24 David S. Miller <davem@davemloft.net>
64176
64177 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
64178
64179 2011-08-24 Andreas Schwab <schwab@redhat.com>
64180
64181 * elf/Makefile: Add rules to build and run unload8 test.
64182 * elf/unload8.c: New file.
64183 * elf/unload8mod1.c: New file.
64184 * elf/unload8mod1x.c: New file.
64185 * elf/unload8mod2.c: New file.
64186 * elf/unload8mod3.c: New file.
64187
64188 * elf/dl-close.c (_dl_close_worker): Reset private search list if
64189 it wasn't used.
64190
64191 2011-08-23 David S. Miller <davem@davemloft.net>
64192
64193 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
64194 subtract stack bias.
64195 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
64196 %sp not %fp in calculations.
64197 (_JMPBUF_UNWINDS_ADJ): Likewise.
64198
64199 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
64200 (aio_suspend): Call it to force an exception region around the
64201 AIO_MISC_WAIT() invocation.
64202
64203 2011-08-23 Andreas Schwab <schwab@redhat.com>
64204
64205 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
64206 backslash.
64207
64208 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
64209
64210 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
64211 protection macro.
64212 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
64213 and <dl-machine.h>.
64214 (Elf64_FuncDesc): Remove.
64215
64216 2011-08-22 David S. Miller <davem@davemloft.net>
64217
64218 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
64219 sigaltstack check, add missing cfi directives.
64220 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
64221 missing cfi directives, and sigaltstack handling.
64222
64223 2011-08-16 Andreas Schwab <schwab@redhat.com>
64224
64225 [BZ #11724]
64226 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
64227 object is seen twice.
64228 * elf/dl-fini.c (_dl_sort_fini): Likewise.
64229
64230 * elf/Makefile (distribute): Add tst-initorder2.c.
64231 (tests): Add tst-initorder2.
64232 (modules-names): Add tst-initorder2a tst-initorder2b
64233 tst-initorder2c tst-initorder2d. Add rules to build them.
64234 ($(objpfx)tst-initorder2.out): New rule.
64235 * elf/tst-initorder2.c: New file.
64236 * elf/tst-initorder2.exp: New file.
64237
64238 2011-08-22 Andreas Schwab <schwab@redhat.com>
64239
64240 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
64241
64242 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
64243 dependencies back to end of function.
64244
64245 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64246 $(elfobjdir)/ld.so.
64247
64248 2011-08-21 Ulrich Drepper <drepper@gmail.com>
64249
64250 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
64251 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
64252 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
64253 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
64254 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
64255 of __vdso_gettimeofday.
64256 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
64257 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
64258 attribute_hidden.
64259 (_libc_vdso_platform_setup): Remove initialization of
64260 __vdso_gettimeofday and __vdso_time.
64261
64262 2011-08-20 Ulrich Drepper <drepper@gmail.com>
64263
64264 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
64265 and fgetc_unlocked.
64266 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
64267 getc_unlocked.
64268
64269 * elf/dl-open.c (add_to_global): Report additions to the global scope
64270 for LD_DEBUG=scopes.
64271 (dl_open_worker): Also print scope of newly loaded dependencies.
64272 (_dl_show_scope): Indicate if there is no scope.
64273
64274 [BZ #13114]
64275 * stdio-common/Makefile (tests): Add bug24.
64276 * stdio-common/bug24.c: New file.
64277
64278 2011-08-19 Andreas Jaeger <aj@suse.de>
64279
64280 [BZ #13114]
64281 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
64282 non-existant file when using close-on-exec mode.
64283
64284 2011-08-20 Ulrich Drepper <drepper@gmail.com>
64285
64286 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
64287 the very first instruction.
64288
64289 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
64290 the CFI state in the end.
64291 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
64292 inclusion of dl-trampoline.h.
64293 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
64294
64295 2011-08-19 Andreas Schwab <schwab@redhat.com>
64296
64297 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
64298 expectations for long double.
64299
64300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
64301 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
64302
64303 2011-08-14 David S. Miller <davem@davemloft.net>
64304
64305 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
64306 artificual limit depends upon the system page size.
64307
64308 2011-08-17 Ulrich Drepper <drepper@gmail.com>
64309
64310 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
64311 * resolv/Makefile: Define CFLAGS-libresolv.
64312
64313 2011-08-17 Andreas Schwab <schwab@redhat.com>
64314
64315 * nss/makedb.c (compute_tables): Make variables used in nested
64316 function static.
64317
64318 2011-08-17 Ulrich Drepper <drepper@gmail.com>
64319
64320 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
64321 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
64322 if buffer was too small.
64323
64324 * elf/pldd.c (main): Attach to all threads in the process.
64325 Rewrite /proc handling to use *at functions.
64326
64327 2011-08-16 Ulrich Drepper <drepper@gmail.com>
64328
64329 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
64330 specifies first scope to show.
64331 (dl_open_worker): Update callers. Move printing scope of new
64332 object to before the relocation.
64333 * elf/rtld.c (dl_main): Update _dl_show_scope call.
64334 * sysdeps/generic/ldsodefs.h: Update declaration.
64335
64336 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
64337 string for the scope number.
64338
64339 2011-08-14 Ulrich Drepper <drepper@gmail.com>
64340
64341 * nscd/servicescache.c (cache_addserv): Make sure written is always
64342 initialized.
64343
64344 2011-08-14 Roland McGrath <roland@hack.frob.com>
64345
64346 * sysdeps/i386/i486/bits/atomic.h
64347 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
64348 statement expression, so as to suppress "set but not used" warning.
64349 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
64350
64351 * string/strncat.c (STRNCAT): Use prototype definition.
64352
64353 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
64354 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
64355 -Iprograms here.
64356 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
64357 (localedef-modules): Add localedef.
64358 (locale-modules): Add locale.
64359
64360 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
64361 * elf/rtld.c (dl_main): Invert order of assignment in last change,
64362 to avoid a warning.
64363
64364 2011-08-14 David S. Miller <davem@davemloft.net>
64365
64366 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
64367 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
64368
64369 2011-08-13 Ulrich Drepper <drepper@gmail.com>
64370
64371 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
64372 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
64373 * elf/rtld.c (dl_main): Set l_name of vDSO.
64374 Call _dl_show_scope when DL_DEBUG_SCOPES.
64375 (process_dl_debug): Recognize scopes flag and also set it for all.
64376 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
64377 Declare _dl_show_scope.
64378
64379 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
64380 (do_dlopen): Pass caller_dlopen to dl_open.
64381 (__libc_dlopen_mode): Initialize caller_dlopen.
64382
64383 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
64384 of libc. Make tolower call locale-independent. Optimize a bit by
64385 using isdigit instead of isalnum.
64386 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
64387
64388 2011-08-12 Ulrich Drepper <drepper@gmail.com>
64389
64390 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
64391 was a dependency or dynamically loaded.
64392
64393 2011-08-11 Ulrich Drepper <drepper@gmail.com>
64394
64395 * intl/l10nflist.c: Allow architecture-specific pop function.
64396 * sysdeps/x86_64/l10nflist.c: New file.
64397
64398 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
64399 classification.
64400
64401 2011-08-10 Andreas Schwab <schwab@redhat.com>
64402
64403 * include/dirent.h: Add libc_hidden_proto for scandirat and
64404 scandirat64. Don't declare __scandirat64.
64405 * dirent/scandirat.c: Add libc_hidden_def.
64406 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
64407 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
64408
64409 2011-08-10 David S. Miller <davem@davemloft.net>
64410
64411 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
64412 enum.
64413 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64414 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64415 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64416
64417 2011-08-09 Ulrich Drepper <drepper@gmail.com>
64418
64419 * Versions.def [libc]: Add GLIBC_2.15.
64420 * dirent/Makefile (routines): Add scandirat and scandirat64.
64421 * dirent/Versions [libc]: Export scandirat and scandirat64 for
64422 GLIBC_2.15.
64423 * dirent/dirent.h: Declare scandirat and scandirat64.
64424 * dirent/scandirat.c: New file.
64425 * dirent/scandirat64.c: New file.
64426 * sysdeps/wordsize-64/scandirat.c: New file.
64427 * sysdeps/wordsize-64/scandirat64.c: New file.
64428 * dirent/opendir.c: Define opendirat.
64429 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
64430 using scandirat.
64431 * dirent/scandir64.c: Adjust for scandir.c change.
64432 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
64433 __scandirat64, and __scandir_cancel_handler.
64434 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
64435 additional parameter and use openat instead of open (outside of ld.so).
64436 Add new __opendir as wrapper around __opendirat.
64437 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
64438 here without requiring old scandirat implementation.
64439
64440 2011-08-08 Ulrich Drepper <drepper@gmail.com>
64441
64442 * dirent/scandir.c (cancel_handler): Renamed to
64443 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
64444 defined. Adjust users.
64445 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
64446 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
64447
64448 2011-08-04 Ulrich Drepper <drepper@gmail.com>
64449
64450 * string/test-string.h (IMPL): Use __STRING to expand name and then
64451 stringify it.
64452
64453 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
64454 of cleanups.
64455
64456 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
64457
64458 * string/Makefile: Update.
64459 (strop-tests): Append strncat.
64460 * string/test-wcscmp.c: New file.
64461 New comprehensive test for wcscmp.
64462 * string/test-strcmp.c: Update.
64463 (WIDE): New define.
64464
64465 2011-07-22 Andreas Schwab <schwab@redhat.com>
64466
64467 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
64468 line.
64469
64470 2011-07-26 Andreas Schwab <schwab@redhat.com>
64471
64472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64473 encoding to ACE if AI_IDN.
64474
64475 2011-08-01 Jakub Jelinek <jakub@redhat.com>
64476
64477 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
64478 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
64479
64480 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64481
64482 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
64483 Fix overflow bug in strncat.
64484 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
64485
64486 * string/test-strncat.c: Update.
64487 Add new tests for checking overflow bugs.
64488
64489 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64490
64491 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64492 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
64493 * sysdeps/i386/i686/multiarch/strcat.S: New file.
64494 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
64495 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
64496 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
64497 * sysdeps/i386/i686/multiarch/strncat.S: New file.
64498 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
64499 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
64500
64501 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
64502 (USE_AS_STRCAT): Define.
64503 Add strcat and strncat support.
64504 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
64505
64506 2011-07-25 Andreas Schwab <schwab@redhat.com>
64507
64508 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
64509 __n bigger than INT_MAX+1.
64510 (__strncmp_g): Likewise.
64511
64512 2011-07-23 Ulrich Drepper <drepper@gmail.com>
64513
64514 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
64515 * libio/stido.h: Likewise.
64516
64517 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
64518 (AF_NFC): Define.
64519 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
64520 (AF_NFC): Define.
64521
64522 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
64523 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64524 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64525 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
64526 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64527
64528 [BZ #13021]
64529 * scripts/test-installation.pl: Don't expect libnss_test1 to be
64530 installed.
64531
64532 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
64533 typo.
64534 (_dl_x86_64_save_sse): Likewise.
64535
64536 2011-07-22 Ulrich Drepper <drepper@gmail.com>
64537
64538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
64539 OSXSAVE.
64540 (_dl_x86_64_save_sse): Likewise.
64541
64542 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
64543
64544 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
64545
64546 2011-07-21 Andreas Schwab <schwab@redhat.com>
64547
64548 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
64549 change.
64550 (_dl_x86_64_save_sse): Use correct AVX check.
64551
64552 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
64553
64554 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
64555 bug in strncpy/strncat.
64556 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
64557
64558 2011-07-21 Ulrich Drepper <drepper@gmail.com>
64559
64560 * string/tester.c (test_strcat): Add tests for different alignments
64561 of source and destination.
64562 (test_strncat): Likewise.
64563
64564 2011-07-20 Ulrich Drepper <drepper@gmail.com>
64565
64566 [BZ #12852]
64567 * posix/glob.c (glob): Check passed in values before using them in
64568 expressions to avoid some overflows.
64569 (glob_in_dir): Likewise.
64570
64571 [BZ #13007]
64572 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
64573 check for AVX enablement so that we don't crash with old kernels and
64574 new hardware.
64575 * elf/tst-audit4.c: Add same checks here.
64576 * elf/tst-audit6.c: Likewise.
64577
64578 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
64579
64580 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
64581
64582 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
64583
64584 2011-07-20 Ulrich Drepper <drepper@gmail.com>
64585
64586 * po/cs.po: Update from translation team.
64587 * po/bg.po: Likewise.
64588
64589 2011-07-12 Marek Polacek <mpolacek@redhat.com>
64590
64591 * misc/sys/cdefs.h: Add support for const attribute.
64592 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
64593 to gnu_dev_{major,minor,makedev} functions.
64594
64595 2011-07-20 Marek Polacek <mpolacek@redhat.com>
64596
64597 * intl/dcigettext.c (get_output_charset): Add missing bracket.
64598
64599 2011-07-20 Andreas Schwab <schwab@redhat.com>
64600
64601 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
64602 strlen results.
64603
64604 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64605
64606 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
64607 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
64608 register in order to avoid conflicts with the soft frame pointer
64609 being held in r11 when necessary.
64610 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
64611 (INTERNAL_VSYSCALL_NCS): Likewise.
64612
64613 2011-07-14 Marek Polacek <mpolacek@redhat.com>
64614
64615 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
64616 * elf/dl-fini.c (_dl_fini): Adjust caller.
64617 * elf/dl-close.c (_dl_close_worker): Likewise.
64618 * sysdeps/generic/ldsodefs.h: Adjust declaration.
64619
64620 2011-07-15 Marek Polacek <mpolacek@redhat.com>
64621
64622 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
64623 "aux_cache->nlibs < 0".
64624
64625 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
64626 in the reload-count case.
64627
64628 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64629
64630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64631 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
64632 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
64633 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
64634 * sysdeps/x86_64/multiarch/strcat.S: New file.
64635 * sysdeps/x86_64/multiarch/strncat.S: New file.
64636 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
64637 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
64638 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
64639 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
64640 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
64641 (USE_AS_STRCAT): Define.
64642 Add strcat and strncat support.
64643 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
64644 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64645 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
64646 * string/strncat.c: Update.
64647 (USE_AS_STRNCAT): Define.
64648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64649 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
64650 and i7.
64651 * sysdeps/x86_64/multiarch/init-arch.h
64652 (bit_Prefer_PMINUB_for_stringop): New.
64653 (index_Prefer_PMINUB_for_stringop): Likewise.
64654 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
64655 bit_Prefer_PMINUB_for_stringop.
64656
64657 2011-07-19 Ulrich Drepper <drepper@gmail.com>
64658
64659 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
64660 buffer64.
64661 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
64662 of casting of buffer.
64663 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
64664 buffer32 and buffer64.
64665 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
64666 writes instead of casting of buffer.
64667 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
64668 buffer32.
64669 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
64670 casting of buffer.
64671
64672 2011-07-19 Andreas Schwab <schwab@redhat.com>
64673
64674 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
64675
64676 2011-07-19 Ulrich Drepper <drepper@gmail.com>
64677
64678 * nscd/nscd.c (termination_handler): Don't do anything for a database
64679 if it has not yet been initialized.
64680
64681 2011-07-18 Ulrich Drepper <drepper@gmail.com>
64682
64683 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
64684
64685 2011-07-15 Marek Polacek <mpolacek@redhat.com>
64686
64687 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
64688
64689 2011-07-18 Ulrich Drepper <drepper@gmail.com>
64690
64691 * po/nl.po: Update from translation team.
64692 * po/sv.po: Likewise.
64693
64694 2011-07-16 Roland McGrath <roland@hack.frob.com>
64695
64696 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
64697 now disallowed by GCC.
64698
64699 * configure.in (use-default-link): Default to yes if a test -shared
64700 link meets our qualifications.
64701 * configure: Regenerated.
64702
64703 * config.make.in (output-format): New variable.
64704 * configure.in: Check for ld --print-output-format support.
64705 * configure: Regenerated.
64706 * Makerules ($(common-objpfx)format.lds)
64707 [$(output-format) != unknown]: Just use $(output-format),
64708 instead of the linker-script munging.
64709
64710 2011-07-14 Roland McGrath <roland@hack.frob.com>
64711
64712 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
64713 of $(common-objpfx)shlib.lds.
64714 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
64715
64716 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
64717 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
64718
64719 * configure.in (-z relro check): Adjust test code to add a large
64720 writable data section after it.
64721 * configure: Regenerated.
64722
64723 2011-07-11 Roland McGrath <roland@hack.frob.com>
64724
64725 * configure.in (-z relro check): Fix test code to make the variable
64726 truly const.
64727 * configure: Regenerated.
64728
64729 2011-07-11 Ulrich Drepper <drepper@gmail.com>
64730
64731 * nscd/nscd.h (struct traced_file): Define.
64732 (struct database_dyn): Remove inotify_descr, reset_res, and filename
64733 elements. Add traced_files.
64734 (inotify_fd): Declare.
64735 (register_traced_file): Declare.
64736 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
64737 (inotify_fd): Export.
64738 (resolv_conf_descr): Remove.
64739 (nscd_init): Move inotify descriptor creation to main.
64740 Don't register files for notification here.
64741 (register_traced_file): New function.
64742 (invalidate_cache): Don't use reset_res to determine whether to call
64743 res_init, go through the list of registered files.
64744 (main_loop_poll): The inotify descriptors are now stored in the
64745 structures for the traced files.
64746 (main_loop_epoll): Likewise
64747 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
64748 to __nss_disable_nscd.
64749 * nscd/cache.c (prune_cache): There is no single inotify descriptor
64750 for a database anymore. Check the records for all the registered
64751 files instead.
64752 * nss/Makefile (libnss_files-routines): Add files-init.
64753 (libnss_db-routines): Add db-init.
64754 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
64755 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
64756 * nss/nss_db/db-init.c: New file.
64757 * nss/nss_files/files-init.c: New file.
64758 * nss/nsswitch.c (nss_load_library): New function. Broken out of
64759 __nss_lookup_function.
64760 (__nss_lookup_function): Call nss_load_library.
64761 (nss_load_all_libraries): New function.
64762 (__nss_disable_nscd): Take parameter with callback function for files
64763 to register. Set is_nscd. Load all the DSOs for the NSS modules
64764 used for the cached services.
64765 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
64766 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
64767 options for features to all the files in nscd.
64768
64769 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
64770
64771 2011-07-10 Roland McGrath <roland@hack.frob.com>
64772
64773 * csu/elf-init.c (__libc_csu_init): Comment typo.
64774
64775 2011-07-09 Ulrich Drepper <drepper@gmail.com>
64776
64777 * po/pl.po: Update from translation team.
64778 * po/ja.po: Likewise.
64779 * po/ru.po: Likewise.
64780 * po/ko.po: Likewise.
64781 * po/fr.po: Likewise.
64782
64783 2011-07-09 Roland McGrath <roland@hack.frob.com>
64784
64785 * configure.in (.ctors/.dtors header and trailer check):
64786 Use an empirical test on a built program.
64787 * configure: Regenerated.
64788
64789 * configure.in (-z relro check): Use an empirical test on a built DSO.
64790 Detect, but do not require, on ia64.
64791 * configure: Regenerated.
64792
64793 * configure.in (READELF): Find it with AC_CHECK_TOOL.
64794 Update tests that use readelf to use $READELF instead.
64795 * configure: Regenerated.
64796
64797 2011-07-08 Ulrich Drepper <drepper@gmail.com>
64798
64799 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
64800 if the result is not used.
64801
64802 2011-07-05 Andreas Jaeger <aj@suse.de>
64803
64804 [BZ#9696]
64805 * stdlib/tst-strtod.c: Add testcase.
64806
64807 2011-07-07 Ulrich Drepper <drepper@gmail.com>
64808
64809 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
64810 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
64811 The latter has a higher limit. Take additional parameter to pass to
64812 the new function.
64813 (__pathconf): Pass file to __statfs_link_max.
64814 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
64815 __statfs_link_max.
64816 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
64817 __statfs_link_max.
64818
64819 [BZ #12868]
64820 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
64821 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64822 Handle Lustre.
64823 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
64824 (__statfs_filesize_max): Likewise.
64825 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
64826
64827 2011-07-05 Andreas Jaeger <aj@suse.de>
64828
64829 * resolv/res_comp.c (dn_skipname): Remove unused variable.
64830
64831 2011-07-06 Marek Polacek <mpolacek@redhat.com>
64832
64833 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
64834 `status' variable.
64835 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
64836 Likewise.
64837
64838 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
64839
64840 * Makefile (strop-tests): Add strncat.
64841 * string/test-strncat.c: New file.
64842
64843 2011-06-30 Marek Polacek <mpolacek@redhat.com>
64844
64845 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
64846
64847 2011-06-21 Andreas Jaeger <aj@suse.de>
64848
64849 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
64850 Copy rule from iconvdata/Makefile.
64851
64852 2011-07-06 Ulrich Drepper <drepper@gmail.com>
64853
64854 [BZ #12922]
64855 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
64856 but no long options are defined, just return 'W'.
64857
64858 2011-06-22 Marek Polacek <mpolacek@redhat.com>
64859
64860 [BZ #9696]
64861 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
64862
64863 2011-07-06 Ulrich Drepper <drepper@gmail.com>
64864
64865 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
64866 netgroups to read.
64867 (innetgr): Likewise.
64868
64869 2011-07-05 Roland McGrath <roland@hack.frob.com>
64870
64871 * config.make.in (install_root): Default to $(DESTDIR).
64872
64873 2011-07-05 Ulrich Drepper <drepper@gmail.com>
64874
64875 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
64876
64877 2011-07-02 Roland McGrath <roland@hack.frob.com>
64878
64879 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
64880
64881 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
64882 containing directory rather than embedding absolute directory names.
64883
64884 * scripts/check-local-headers.sh: Rewritten using awk.
64885 Match by word, not by line. Print error messages for matches.
64886 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
64887
64888 * Makerules [shlib-lds-flags empty]:
64889 ($(common-objpfx)libc_pic.opts): New target.
64890 ($(common-objpfx)libc_pic.os.clean): New target.
64891 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
64892
64893 * config.make.in (OBJCOPY): New variable.
64894 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
64895 * configure: Regenerated.
64896
64897 * config.make.in (use-default-link): New variable.
64898 * configure.in (use_default_link): Grok --with-default-link to set it.
64899 * configure: Regenerated.
64900 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
64901 (shlib-lds, shlib-lds-flags): Define to empty.
64902
64903 * Makerules (shlib-lds): New variable.
64904 (shlib-lds-flags): New variable.
64905 (build-shlib, build-moduile, build-module-asneeded): Use it.
64906 ($(common-objpfx)libc.so): Use $(shlib-lds).
64907 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
64908 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
64909
64910 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
64911 DT_FLAGS/DT_FLAGS_1 with zero flags.
64912
64913 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
64914 linker script munging.
64915
64916 2011-07-02 Ulrich Drepper <drepper@gmail.com>
64917
64918 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
64919 as 128-bit value.
64920 * crypt/sha512.c (sha512_process_block): Perform total addition using
64921 128-bit if possible.
64922 (__sha512_finish_ctx): Likewise.
64923 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
64924 as 64-bit value.
64925 * crypt/sha256.c (SWAP64): Define.
64926 (sha256_process_block): Perform total addition using 64-bit if
64927 possible.
64928 (__sha256_finish_ctx): Likewise.
64929
64930 2011-07-01 Ulrich Drepper <drepper@gmail.com>
64931
64932 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
64933 * nscd/initgrcache.c (addinitgroupsX): Likewise.
64934 * nscd/hstcache.c (cache_addhst): Likewise.
64935 * nscd/grpcache.c (cache_addgr): Likewise.
64936 * nscd/aicache.c (addhstaiX): Likewise
64937 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
64938
64939 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
64940
64941 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
64942 * nscd/initgrcache.c (addinitgroupsX): Likewise.
64943 * nscd/hstcache.c (cache_addhst): Likewise.
64944 * nscd/grpcache.c (cache_addgr): Likewise.
64945 * nscd/aicache.c (addhstaiX): Likewise
64946
64947 2011-07-01 Andreas Schwab <schwab@redhat.com>
64948
64949 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
64950 domain only when needed.
64951
64952 2011-06-30 Andreas Schwab <schwab@redhat.com>
64953
64954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
64955 is always restored.
64956
64957 2011-06-29 Ulrich Drepper <drepper@gmail.com>
64958
64959 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
64960 are re-adding the entry.
64961 * nscd/servicescache.c (cache_addserv): Likewise.
64962
64963 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
64964
64965 * sysdeps/generic/dl-irel.h: fix protection against multiple
64966 inclusions.
64967 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
64968
64969 2011-06-28 Ulrich Drepper <drepper@gmail.com>
64970
64971 [BZ #12935]
64972 * malloc/memusage.sh: Fix quoting in message.
64973 * debug/xtrace.sh: Likewise.
64974
64975 * configure.in: Remove support for --experimental-malloc option, make
64976 it the default.
64977 * config.make.in: Likewise.
64978 * malloc/Makefile: Likewise.
64979
64980 2011-06-27 Andreas Schwab <schwab@redhat.com>
64981
64982 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
64983 two-byte characters.
64984
64985 2011-06-27 Roland McGrath <roland@hack.frob.com>
64986
64987 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
64988 AC_CACHE_CHECK invocation.
64989 * configure: Regenerated.
64990
64991 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
64992
64993 2011-06-27 Ulrich Drepper <drepper@gmail.com>
64994
64995 [BZ #12350]
64996 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
64997 bit from old_res_options.
64998
64999 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
65000
65001 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
65002 value type for setfct.
65003
65004 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
65005
65006 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
65007 __gettimeofday instead of gettimeofday.
65008
65009 2011-06-26 Ulrich Drepper <drepper@gmail.com>
65010
65011 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
65012
65013 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
65014
65015 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
65016
65017 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
65018 info.
65019
65020 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
65021
65022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65023 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
65024 strcpy-sse2-unaligned strncpy-sse2-unaligned
65025 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
65026 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
65027 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
65028 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
65029 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
65030 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
65031 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
65032 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
65033 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
65034 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
65035 (STRCPY): Support SSE2 and SSSE3 versions.
65036
65037 2011-06-24 Ulrich Drepper <drepper@gmail.com>
65038
65039 [BZ #12874]
65040 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
65041 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
65042 kernels which artificially limit size of requests.
65043
65044 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
65045
65046 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65047 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
65048 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
65049 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
65050 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
65051 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
65052 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
65053 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
65054 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
65055 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
65056 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
65057 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
65058 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
65059 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
65060 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
65061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65062 Enable unaligned load optimization for Intel Core i3, i5 and i7
65063 processors.
65064 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
65065 Define.
65066 (index_Fast_Unaligned_Load): Define.
65067 (HAS_FAST_UNALIGNED_LOAD): Define.
65068
65069 2011-06-23 Marek Polacek <mpolacek@redhat.com>
65070
65071 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
65072
65073 2011-06-22 Ulrich Drepper <drepper@gmail.com>
65074
65075 [BZ #12907]
65076 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
65077 until it is clear that the information is realy needed.
65078 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
65079
65080 2011-06-22 Andreas Schwab <schwab@redhat.com>
65081
65082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
65083
65084 2011-06-22 Ulrich Drepper <drepper@gmail.com>
65085
65086 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
65087 /sys/devices/system/cpu/online if it is usable.
65088
65089 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
65090 reading the information from the /proc filesystem to once a second.
65091
65092 2011-06-21 Andreas Jaeger <aj@suse.de>
65093
65094 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
65095 NULL after inclusion of kernel headers.
65096
65097 2011-06-21 Ulrich Drepper <drepper@gmail.com>
65098
65099 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
65100 calls to internal_setent.
65101
65102 [BZ #12885]
65103 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
65104 addresses using gethostbyname4_r ignore IPv4 addresses.
65105
65106 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
65107 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
65108
65109 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
65110
65111 2011-06-20 David S. Miller <davem@davemloft.net>
65112
65113 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
65114 inclusions.
65115 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
65116
65117 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
65118 (elf_irel): Use it.
65119 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
65120 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
65121 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
65122 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
65123 * sysdeps/x86_64/dl-irel.h: Likewise.
65124
65125 * elf/dl-runtime.c: Use elf_ifunc_invoke.
65126 * elf/dl-sym.c: Likewise.
65127
65128 2011-06-15 Ulrich Drepper <drepper@gmail.com>
65129
65130 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
65131 need to dereference resplen2.
65132
65133 2011-06-14 Andreas Schwab <schwab@redhat.com>
65134
65135 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
65136
65137 2011-06-15 Ulrich Drepper <drepper@gmail.com>
65138
65139 * Makeconfig: Define vardbdir and inst_vardbdir.
65140 * nss/Makefile: Add rules to install db-Makefile.
65141
65142 * nss/nss_db/db-XXX.c: Cleanup.
65143
65144 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
65145 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
65146 GLIBC_PRIVATE.
65147 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
65148 * nss/makedb.c: Implement -g option to specify that value strings
65149 are generated and should not be added to table iterated over for
65150 get*ent calls.
65151 * nss/nss_db/db-initgroups.c: New file.
65152
65153 * nss/getent.c: Add support for initgroups lookups through getgrouplist
65154 interface.
65155
65156 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
65157 (internal_getgrouplist): Adjust to name change.
65158 Update use_initgroups_entry if this is not the first call.
65159 * nss/databases.def: Add initgroups entry.
65160
65161 * nss/makedb.c (compute_tables): Check result of multiple hash table
65162 sizes to minimize maximum chain length.
65163
65164 2011-06-14 Ulrich Drepper <drepper@gmail.com>
65165
65166 * Versions.def: Add entry for libnss_db.
65167 * shlib-versions: Likewise.
65168 * nss/Makefile: Add rules to build libnss_db.
65169 * nss/Versions: Add libnss_db information. Organize libnss_files
65170 entries better.
65171 * nss/db-Makefile: Add gshadow support. Change rules for the new
65172 makedb progra. Some minor improvements to generate smaller files.
65173 * nss/nss_db/nss_db.h: Move NSS database header data structures to
65174 here from...
65175 * nss/makedb.c: ...here.
65176 Improve database format to be smaller and require less memory at
65177 runtime.
65178 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
65179 db anymore.
65180 * nss/nss_db/db-netgrp.c: Likewise.
65181 * nss/nss_db/db-open.c: Likewise.
65182 * nss/nss_files/flies-XXX.x: Adjust comments.
65183 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
65184 * nss/nss_files/files-grp.c: Likewise.
65185 * nss/nss_files/files-hosts.c: Likewise.
65186 * nss/nss_files/files-network.c: Likewise.
65187 * nss/nss_files/files-proto.c: Likewise.
65188 * nss/nss_files/files-pwd.c: Likewise.
65189 * nss/nss_files/files-rpc.c: Likewise.
65190 * nss/nss_files/files-service.c: Likewise.
65191 * nss/nss_files/files-sgrp.c: Likewise.
65192 * nss/nss_files/files-spwd.c: Likewise.
65193 * nss/nss_db/db-alias.c: Removed.
65194 * nss/nss_db/dummy-db.h: Removed.
65195
65196 2011-06-02 Ulrich Drepper <drepper@gmail.com>
65197
65198 * nss/makedb.c: Rewritten to not use database library.
65199 * nss/Makefile: Update to build new makedb program.
65200
65201 2011-06-14 Andreas Jaeger <aj@suse.de>
65202
65203 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
65204 memset declaration.
65205
65206 2011-06-10 Andreas Schwab <schwab@redhat.com>
65207
65208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
65209 tmpbuf.
65210
65211 2011-06-10 Roland McGrath <roland@hack.frob.com>
65212
65213 * Makerules (shlib.lds): Fail if the linker script comes out empty.
65214 * elf/Makefile ($(objpfx)ld.so): Likewise.
65215
65216 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
65217 Don't list ld.so twice in dependencies.
65218
65219 * posix/bug-regex31.c: Include <stdlib.h>.
65220
65221 * nscd/hstcache.c (cache_addhst): Remove unused variable.
65222
65223 * nis/nss_compat/compat-spwd.c
65224 (getspent_next_nss_netgr): Remove unused variable.
65225 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
65226
65227 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
65228 nonmembers" output to use the right array.
65229
65230 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
65231
65232 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
65233
65234 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
65235 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
65236 * catgets/gencat.c (read_input_file): Likewise.
65237 * locale/programs/locarchive.c (enlarge_archive): Likewise.
65238
65239 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
65240 variable definition inside #if's controlling its use.
65241
65242 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
65243
65244 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
65245
65246 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
65247
65248 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
65249 unreachable code.
65250
65251 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
65252
65253 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
65254 * configure: Regenerated.
65255
65256 * Makerules: Revert last change.
65257 * elf/Makefile: Likewise.
65258
65259 2011-06-09 Roland McGrath <roland@hack.frob.com>
65260
65261 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
65262 * elf/Makefile ($(objpfx)librtld.os): Likewise.
65263 (reloc-link): Likewise.
65264
65265 2011-06-09 Ulrich Drepper <drepper@gmail.com>
65266
65267 * elf/Makefile: Add rules to build pldd.
65268 * elf/pldd.c: New file.
65269 * elf/pldd-xx.c: New file.
65270
65271 2011-06-07 Ulrich Drepper <drepper@gmail.com>
65272
65273 * version.h: Update for 2.15 development version.
65274
65275 2011-06-07 David S. Miller <davem@davemloft.net>
65276
65277 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
65278 ifuncs.
65279 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
65280 elf_machine_lazy_rel): Likewise.
65281 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
65282 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
65283 elf_machine_lazy_rel): Likewise.
65284 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
65285 dl_hwcap via passed in argument.
65286 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
65287 Likewise.
65288
65289 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65290
65291 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
65292
65293 2011-06-06 Roland McGrath <roland@hack.frob.com>
65294
65295 [BZ #12849]
65296 * manual/fdl-1.1.texi: New file, verbatim from:
65297 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
65298 * manual/lgpl-2.1.texi: New file, verbatim from:
65299 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
65300 * manual/Makefile (licenses): New variable, list those new file names.
65301 (texis): Use it.
65302 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
65303
65304 * manual/fdl.texi: File removed.
65305 * manual/lesser.texi: File removed.
65306 * manual/libc.texinfo (Copying, Documentation License):
65307 Use new @include file names, put @appendix directive before @include.
65308
65309 2011-06-04 Jakub Jelinek <jakub@redhat.com>
65310
65311 [BZ #12841]
65312 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
65313 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
65314 (mq_open): Add __NTH.
65315
65316 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
65317
65318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65319 Assume Intel Core i3/i5/i7 processor if AVX is available.
65320
65321 2011-05-31 Ulrich Drepper <drepper@gmail.com>
65322
65323 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
65324 typo.
65325
65326 2011-05-31 Andreas Schwab <schwab@redhat.com>
65327
65328 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
65329 memory. Use alloca_account. Fix memory leak when retrying.
65330
65331 2011-05-31 Ulrich Drepper <drepper@gmail.com>
65332
65333 * version.h (RELEASE): Bump for 2.14 release.
65334 * include/features.h (__GLIBC_MINOR__): Bump to 14.
65335
65336 * config.make.in (RANLIB): Remove entry.
65337
65338 2011-05-30 Ulrich Drepper <drepper@gmail.com>
65339
65340 * po/Makefile (po-sed-cmd): Add ksh to extensions.
65341 (libc.pot): Work around missing support for .ksh extension in xgettext.
65342
65343 [BZ #12684]
65344 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
65345 if both request failed.
65346 (send_dg): In case of server errors clear resplen or *resplen2.
65347
65348 [BZ #12454]
65349 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
65350 when there are multiple maps.
65351 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
65352 (_dl_fini): Remove test here.
65353
65354 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
65355
65356 2011-05-29 Ulrich Drepper <drepper@gmail.com>
65357
65358 [BZ #12350]
65359 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
65360 bit from old_res_options.
65361 (gaih_inet): Likewise.
65362
65363 [BZ #11099]
65364 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
65365 as signed.
65366
65367 * resolv/res_init.c (res_setoptions): Make the code more compact.
65368
65369 [BZ #11558]
65370 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
65371 set RES_USEVC.
65372
65373 [BZ #11634]
65374 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
65375
65376 * malloc/malloc.h: Mark malloc hook variables as deprecated.
65377
65378 [BZ #11781]
65379 * malloc/malloc.h: Declare malloc hook variables as volatile.
65380
65381 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
65382 in last patch.
65383
65384 [BZ #11799]
65385 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
65386 raise in the comment.
65387 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
65388 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65389 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
65390
65391 2011-05-28 Ulrich Drepper <drepper@gmail.com>
65392
65393 [BZ #12811]
65394 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
65395 grow the buffers more if it already has to be sufficient.
65396 (build_wcs_upper_buffer): Likewise.
65397 * posix/regexec.c (check_matching): Likewise.
65398 (clean_state_log_if_needed): Likewise.
65399 (extend_buffers): Don't enlarge buffers beyond size of the input
65400 buffer.
65401 Patches mostly by Emil Wojak <emil@wojak.eu>.
65402 * posix/bug-regex32.c: New file.
65403 * posix/Makefile (tests): Add bug-regex32.
65404
65405 * locale/findlocale.c (_nl_find_locale): Return right away if
65406 _nl_explode_name failed.
65407 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
65408
65409 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
65410
65411 * debug/xtrace.sh: Unify messages.
65412 * malloc/memusage.sh: Likewise.
65413
65414 [BZ #12813]
65415 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
65416 time symbol from vDSO. Substitute with vsyscall if not available.
65417 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
65418 __vdso_time.
65419
65420 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
65421 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
65422 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
65423 Add sendmmsg and internal_sendmmsg.
65424 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
65425 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
65426 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
65427
65428 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
65429 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
65430 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
65431
65432 2011-05-27 Ulrich Drepper <drepper@gmail.com>
65433
65434 [BZ #12813]
65435 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
65436 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
65437 available.
65438 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
65439 __vdso_getcpu.
65440
65441 [BZ #12814]
65442 * iconvdata/Makefile (tests): Add bug-iconv9.
65443 * iconvdata/bug-iconv9.c: New file.
65444
65445 2011-05-27 Andreas Schwab <schwab@redhat.com>
65446
65447 [BZ #12814]
65448 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
65449
65450 2011-05-25 Jakub Jelinek <jakub@redhat.com>
65451
65452 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
65453 (struct user_regs_struct): Change intcs field back to cs.
65454
65455 2011-05-25 Ulrich Drepper <drepper@gmail.com>
65456
65457 * po/ja.po: Update from translation team.
65458
65459 2011-05-23 Ulrich Drepper <drepper@gmail.com>
65460
65461 [BZ #12795]
65462 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
65463 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
65464
65465 2011-05-20 Andreas Schwab <schwab@redhat.com>
65466
65467 * stdlib/longlong.h: Update from GCC.
65468
65469 2011-05-23 Andreas Schwab <schwab@redhat.com>
65470
65471 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
65472 parameter name.
65473 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
65474 Add parameter name.
65475 (__sysconf): Pass it down.
65476
65477 2011-05-22 Ulrich Drepper <drepper@gmail.com>
65478
65479 [BZ #12671]
65480 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
65481 some situations.
65482 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
65483 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
65484 add in in __libc_use_alloca calls. Adjust callers.
65485 (glob): Use malloc in some situations.
65486
65487 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
65488 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
65489 pltexit.
65490
65491 2011-05-21 Ulrich Drepper <drepper@gmail.com>
65492
65493 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
65494 and CLOCK_BOOTTIME_ALARM.
65495
65496 [BZ #12782]
65497 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
65498 is returned.
65499
65500 * string/_strerror.c (__strerror_r): Print negative errors as signed
65501 numbers.
65502
65503 [BZ #12777]
65504 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
65505 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
65506 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
65507
65508 * configure.in: Fix typo in redirection and correct removal of test
65509 files in two cases.
65510
65511 [BZ #12788]
65512 * locale/setlocale.c (new_composite_name): Fix test to check for
65513 identical name of all categories.
65514
65515 [BZ #12792]
65516 * libio/filedoalloc.c (local_isatty): New function.
65517 (_IO_file_doallocate): Use local_isatty.
65518 * stdio-common/perror.c (perror): In case a new stream is used
65519 forward the stream error.
65520 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
65521 error flag.
65522
65523 2011-05-20 Ulrich Drepper <drepper@gmail.com>
65524
65525 [BZ #11869]
65526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
65527 alloca.
65528 * include/alloca.h (extend_alloca_account): Define.
65529
65530 [BZ #11857]
65531 * posix/regex.h: Fix comments with documentation of user-accessible
65532 fields after compilation and describe correct free'ing of pattern
65533 after re_compile_pattern.
65534 Patch by Reuben Thomas <rrt@sc3d.org>.
65535
65536 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
65537
65538 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
65539 and -mno-altivec to prevent the compiler from using Altivec and/or
65540 VSX instructions when the corresponding registers are not available.
65541
65542 2011-05-19 Andreas Schwab <schwab@redhat.com>
65543
65544 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
65545
65546 2011-05-19 Ulrich Drepper <drepper@gmail.com>
65547
65548 * libio/freopen.c (freopen): Use __dup2, not dup2.
65549 * libio/freopen64.c (freopen64): Likewise.
65550
65551 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
65552
65553 [BZ #12775]
65554 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
65555 * math/Makefile (tests): Add test-powl.
65556 (CFLAGS-test-powl.c): Define.
65557 * math/test-powl.c: New file.
65558
65559 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
65560
65561 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
65562
65563 2011-05-17 Ulrich Drepper <drepper@gmail.com>
65564
65565 [BZ #11837]
65566 * iconvdata/gb18030.c: Update to GB18020-2005.
65567
65568 2011-05-16 Ulrich Drepper <drepper@gmail.com>
65569
65570 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
65571 RE_SYNTAX_POSIX_AWK): Update to match recent development.
65572 Patch by Aharon Robbins <arnold@skeeve.com>.
65573
65574 [BZ #11892]
65575 * stdlib/putenv.c (putenv): Don't always create copy of the variable
65576 on the stack.
65577
65578 [BZ #11895]
65579 * misc/pselect.c (__pselect): Handle timeout value errors hidden
65580 through underflows.
65581
65582 [BZ #12766]
65583 * misc/error.c (error_at_line): Ensure file_name and old_file_name
65584 point to strings before performing equality test for error_one_per_line
65585 mode.
65586
65587 [BZ #11697]
65588 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
65589
65590 [BZ #11820]
65591 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
65592 (struct user_fpregs_struct): Avoid __uint*_t types.
65593
65594 [BZ #6420]
65595 * malloc/mtrace.c (tr_where): Add additional parameter to point to
65596 symbol info. Use it instead of calling _dl_addr locally.
65597 (lock_and_info): New function.
65598 (tr_freehook): Call lock_and_info and pass symbol info as additional
65599 parameter to tr_where.
65600 (tr_mallochook): Likewise.
65601 (tr_reallochook): Likewise.
65602 (tr_memalignhook): Likewise.
65603
65604 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
65605 used and couldn't be at all thread-safe.
65606
65607 2011-05-15 Ulrich Drepper <drepper@gmail.com>
65608
65609 * libio/freopen.c (freopen): Don't close old file descriptor
65610 before the new one is opened. Instead dup the new file descriptor
65611 to the old one after the new stream is created.
65612 * libio/freopen64.c (freopen64): Likewise.
65613 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
65614 * libio/fileops.c (_IO_new_file_close_it): Handle new
65615 _IO_FLAGS2_NOCLOSE flag.
65616 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
65617 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
65618 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
65619 _IO_FLAGS2_NOCLOSE flag.
65620 * include/unistd.h: Add hidden_proto for dup3.
65621 Define __have_dup3.
65622 * io/dup3.c: Define hidden symbol.
65623 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
65624
65625 [BZ #7101]
65626 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
65627 when an incomplete long option is used.
65628 * posix/tst-getopt_long1.c: New file.
65629 * posix/Makefile (tests): Add tst-getopt_long1.
65630
65631 [BZ #10138]
65632 * scripts/config.guess: Update from autoconf-2.68.
65633 * scripts/config.sub: Likewise.
65634
65635 [BZ #10157]
65636 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
65637 tests into ...
65638 (has_cpuclock): ...this. New function.
65639 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
65640 macro here based on has_cpuclock code.
65641
65642 [BZ #10149]
65643 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65644 First byte (not low byte) is now always NUL.
65645 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
65646
65647 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65648 Use non-cancelable interfaces.
65649
65650 [BZ #9809]
65651 * locale/iso-639.def: Add entry for Sorani.
65652
65653 [BZ #11901]
65654 * include/stdlib.h: Move include protection to the right place.
65655 Define abort_msg_s. Declare __abort_msg with it.
65656 * stdlib/abort.c (__abort_msg): Adjust type.
65657 * assert/assert.c (__assert_fail_base): New function. Majority
65658 of code from __assert_fail. Allocate memory for __abort_msg with
65659 mmap.
65660 (__assert_fail): Now call __assert_fail_base.
65661 * assert/assert-perr.c: Remove bulk of implementation. Use
65662 __assert_fail_base.
65663 * include/assert.hL Declare __assert_fail_base.
65664 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
65665 mmap.
65666 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
65667
65668 2011-05-14 Ulrich Drepper <drepper@gmail.com>
65669
65670 [BZ #11952]
65671 [BZ #12453]
65672 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
65673 until all modules are registered in the DTV.
65674 * elf/Makefile: Add rules to build and run tst-tls19.
65675 * elf/tst-tls19.c: New file.
65676 * elf/tst-tls19mod1.c: New file.
65677 * elf/tst-tls19mod2.c: New file.
65678 * elf/tst-tls19mod3.c: New file.
65679 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
65680
65681 [BZ #12083]
65682 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
65683 correctly.
65684
65685 [BZ #12601]
65686 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
65687 two-byte sequence errors.
65688 * iconvdata/Makefile (tests): Add bug-iconv8.
65689 * iconvdata/bug-iconv8.c: New file.
65690
65691 [BZ #12626]
65692 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
65693 buf2 definition.
65694
65695 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
65696
65697 [BZ #12432]
65698 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
65699 (dummy_getcfa): New function.
65700 (init): Get _Unwind_GetCFA address, use dummy if not found.
65701 (backtrace_helper): In recursion check, also check whether CFA changes.
65702 (__backtrace): Completely initialize arg.
65703
65704 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
65705 storing incomplete byte sequence in state object. Avoid testing for
65706 guaranteed too small input if we know there is enough data available.
65707
65708 2011-05-11 Andreas Schwab <schwab@redhat.com>
65709
65710 * Makeconfig (+link-pie): Indent.
65711 * Rules (binaries-pie): Define if $(have-fpie) and
65712 $(build-shared).
65713 (binaries-shared): Also filter out $(binaries-pie).
65714 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
65715 * nscd/Makefile (others-pie): Add nscd.
65716 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
65717 ($(objpfx)nscd): Remove command override.
65718 * login/Makefile (others-pie): Add pt_chown.
65719 ($(objpfx)pt_chown): Remove command override.
65720 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
65721 remove command overrides.
65722
65723 2011-05-13 Ulrich Drepper <drepper@gmail.com>
65724
65725 * libio/tst_putwc.c: Fix error messages.
65726
65727 [BZ #12724]
65728 * libio/fileops.c (_IO_new_file_close_it): Always flush when
65729 currently writing and seek to current position when not.
65730 * libio/Makefile (tests): Add bug-fclose1.
65731 * libio/bug-fclose1.c: New file.
65732
65733 2011-05-12 Ulrich Drepper <drepper@gmail.com>
65734
65735 [BZ #12511]
65736 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
65737 don't set DF_1_NODELETE here.
65738 (do_lookup_x): When entering new entry test for copy relocation
65739 and if necessary set DF_1_NODELETE flag.
65740 * elf/tst-unique4.cc: New file.
65741 * elf/tst-unique4.h: New file.
65742 * elf/tst-unique4lib.cc: New file.
65743 * elf/Makefile: Add rules to build and run tst-unique4.
65744 Patch by Piotr Bury <pbury@goahead.com>.
65745
65746 2011-05-11 Ulrich Drepper <drepper@gmail.com>
65747
65748 [BZ #12052]
65749 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
65750
65751 [BZ #12625]
65752 * misc/mntent_r.c (addmntent): Flush the stream after the output
65753
65754 [BZ #12393]
65755 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
65756 (is_trusted_path_normalize): Skip initial colon. Append slash
65757 to empty buffer. Duplicate is_trusted_path code but allow
65758 constructed patch to be prefix.
65759 (is_dst): Allow $ORIGIN followed by /.
65760 (_dl_dst_substitute): Correct clearing of check_for_trusted.
65761 Correct testing of result of is_trusted_path_normalize
65762 (decompose_rpath): Fix warning.
65763
65764 2011-05-10 Ulrich Drepper <drepper@gmail.com>
65765
65766 [BZ #11257]
65767 * grp/initgroups.c (internal_getgrouplist): When we found the service
65768 list through the initgroups entry in nsswitch.conf do not always
65769 continue on a successful lookup. Don't always use the
65770 __nss_group_database value if it is set.
65771 * nss/nsswitch.conf (initgroups): Change action for successful db
65772 lookup to continue for compatibility.
65773
65774 2011-05-09 Ulrich Drepper <drepper@gmail.com>
65775
65776 [BZ #11532]
65777 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
65778 and CP774 modules.
65779 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
65780 and CP774 modules.
65781 * iconvdata/tst-tables.sh: Likewise.
65782 * iconvdata/cp770.c: New file.
65783 * iconvdata/cp771.c: New file.
65784 * iconvdata/cp772.c: New file.
65785 * iconvdata/cp773.c: New file.
65786 * iconvdata/cp774.c: New file.
65787 * iconvdata/testdata/CP770: New file.
65788 * iconvdata/testdata/CP770..UTF8: New file.
65789 * iconvdata/testdata/CP771: New file.
65790 * iconvdata/testdata/CP771..UTF8: New file.
65791 * iconvdata/testdata/CP772: New file.
65792 * iconvdata/testdata/CP772..UTF8: New file.
65793 * iconvdata/testdata/CP773: New file.
65794 * iconvdata/testdata/CP773..UTF8: New file.
65795 * iconvdata/testdata/CP774: New file.
65796 * iconvdata/testdata/CP774..UTF8: New file.
65797
65798 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
65799 END CHARMAP line.
65800 * iconvdata/gen-8bit-gap.sh: Likewise.
65801 * iconvdata/gen-8bit.sh: Likewise.
65802
65803 * locale/iso-639.def: Add ary entry.
65804
65805 [BZ #11258]
65806 * locale/C-translit.h.in: Add U20A1 transliteration.
65807
65808 [BZ #12178]
65809 * locale/iso-639.def: Add wae entry.
65810 Patch by Kevin Bortis <bortis@translate-wae.ch>.
65811
65812 [BZ #12545]
65813 * locale/programs/localedef.c (construct_output_path): Use ssize_t
65814 for n.
65815
65816 [BZ #12711]
65817 * locale/C-translit.h.in: Add entry for U20B9.
65818 Patch by pravin.d.s@gmail.com.
65819
65820 2011-05-08 Ulrich Drepper <drepper@gmail.com>
65821
65822 [BZ #12713]
65823 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
65824 ENAMETOOLONG use generic getcwd.
65825 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
65826 in rtld. Use *stat64.
65827 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
65828 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
65829 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
65830 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
65831 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
65832 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
65833 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
65834 __fstatat64 macros.
65835 * include/dirent.h: Add libc_hidden_proto for rewinddir.
65836 * dirent/rewinddir.c: Add libc_hidden_def.
65837 * sysdeps/mach/hurd/rewinddir.c: Likewise.
65838 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
65839
65840 * include/dirent.h (__alloc_dir): Add flags parameter.
65841 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
65842 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
65843 __alloc_dir.
65844 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
65845 from fdopendir if O_CLOEXEC is already set.
65846
65847 2011-03-15 Alan Modra <amodra@gmail.com>
65848
65849 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
65850 l_tls_firstbyte_offset non-zero. Save padding offset in
65851 l_tls_firstbyte_offset for later use.
65852 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
65853 freeing static tls block.
65854
65855 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
65856
65857 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
65858 where #ifdef was intended. The intent is to prevent ARG_MAX from
65859 being defined by the kernel headers.
65860
65861 2011-05-07 Ulrich Drepper <drepper@gmail.com>
65862
65863 [BZ #12734]
65864 * resolv/resolv.h: Define RES_NOTLDQUERY.
65865 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
65866 no-tld-query and set RES_NOTLDQUERY.
65867 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
65868 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
65869 modern BIND to search name as TLD unless forbidden.
65870
65871 2011-05-07 Petr Baudis <pasky@suse.cz>
65872 Ulrich Drepper <drepper@gmail.com>
65873
65874 [BZ #12393]
65875 * elf/dl-load.c (fillin_rpath): Move trusted path check...
65876 (is_trusted_path): ...to here.
65877 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
65878 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
65879 using is_trusted_path_normalize() in setuid scripts.
65880
65881 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
65882
65883 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
65884 __BEGIN/__END_DECLS.
65885
65886 2011-05-06 Ulrich Drepper <drepper@gmail.com>
65887
65888 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
65889 NSS_STATUS_NOTFOUND if no record was found.
65890
65891 2011-05-05 Andreas Schwab <schwab@redhat.com>
65892
65893 * sunrpc/Makefile (headers): Add rpc/netdb.h.
65894 (headers-not-in-tirpc): Remove rpc/netdb.h
65895 * resolv/netdb.h: Revert last change.
65896
65897 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
65898
65899 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
65900 circular dependency between libgcc.a and libc.a.
65901
65902 2011-05-05 Andreas Schwab <schwab@redhat.com>
65903
65904 * resolv/netdb.h: Don't include <rpc/netdb.h>.
65905 * nis/Makefile: Don't install rpcsvc/*.
65906 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
65907 instead of <rpc/types.h>.
65908 (MAXHOSTNAMELEN): Define.
65909
65910 2011-05-03 Andreas Schwab <schwab@redhat.com>
65911
65912 * elf/ldconfig.c (add_dir): Don't crash on empty path.
65913
65914 2011-04-28 Maciej Babinski <mbabinski@google.com>
65915
65916 [BZ #12714]
65917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
65918 gethostbyname4_r when IPv6 results are possible.
65919
65920 2011-05-02 Ulrich Drepper <drepper@gmail.com>
65921
65922 [BZ #12723]
65923 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
65924 _PC_PIPE_BUF handling.
65925
65926 2011-04-30 Bruno Haible <bruno@clisp.org>
65927
65928 [BZ #12717]
65929 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
65930 * resolv/netdb.h (getnameinfo): Change type of flags parameter
65931 to 'int'.
65932 * inet/getnameinfo.c (getnameinfo): Likewise.
65933
65934 2011-04-29 Ulrich Drepper <drepper@gmail.com>
65935
65936 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
65937 to groups setting in database lookup.
65938 * nss/nsswitch.conf: Add initgroups entry.
65939
65940 2011-04-22 Ulrich Drepper <drepper@gmail.com>
65941
65942 [BZ #12685]
65943 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
65944 mode string.
65945 Patch by Eric Blake <eblake@redhat.com>.
65946
65947 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
65948
65949 * sunrpc/Makefile (need-export-routines): Add svc_run.
65950 (routines): Remove svc_run.
65951 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
65952 * sunrpc/clnt_perr.c (clnt_perrno): Export.
65953 * sunrpc/svc_run.c (svc_run): Likewise.
65954 * sunrpc/svc_udp.c (svcudp_create): Likewise.
65955
65956 2011-04-21 Ulrich Drepper <drepper@gmail.com>
65957
65958 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
65959 problem in reallocation in last patch.
65960
65961 2011-04-20 Ulrich Drepper <drepper@gmail.com>
65962
65963 * sunrpc/Makefile: Move inclusion of Rules.
65964
65965 2011-04-19 Ulrich Drepper <drepper@gmail.com>
65966
65967 * nss/nss_files/files-initgroups.c: New file.
65968 * nss/Makefile (libnss_files-routines): Add files-initgroups.
65969 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
65970 _nss_files_initgroups_dyn.
65971
65972 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
65973
65974 * elf/elf.h (R_ARM_IRELATIVE): Define.
65975
65976 2011-04-19 Ulrich Drepper <drepper@gmail.com>
65977
65978 * po/ru.po: Update from translation team.
65979
65980 2011-04-17 Ulrich Drepper <drepper@gmail.com>
65981
65982 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
65983 dependencies.
65984
65985 2011-02-06 Mike Frysinger <vapier@gentoo.org>
65986
65987 [BZ #12653]
65988 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
65989 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
65990 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
65991 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
65992 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
65993
65994 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
65995
65996 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
65997 differing bytes.
65998 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
65999 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66000 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66001
66002 2011-04-17 Ulrich Drepper <drepper@gmail.com>
66003
66004 [BZ #12420]
66005 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
66006 storing it.
66007 * stdlib/bug-getcontext.c: New file.
66008 * stdlib/Makefile: Add rules to build and run bug-getcontext.
66009
66010 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66011
66012 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
66013 instructions into .machine "z9-109".
66014 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
66015 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
66016
66017 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66018
66019 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
66020 between environment variables and auxiliary vector.
66021
66022 2011-04-16 Ulrich Drepper <drepper@gmail.com>
66023
66024 * Makefile: Add rules to build linkobj/libc.so.
66025 * include/libc-symbols.h: Define libc_hidden_nolink.
66026 * include/rpc/auth.h: Mark functions which are to be hidden.
66027 * include/rpc/auth_des.h: Likewise.
66028 * include/rpc/auth_unix.h: Likewise.
66029 * include/rpc/clnt.h: Likewise.
66030 * include/rpc/des_crypt.h: Likewise.
66031 * include/rpc/key_prot.h: Likewise.
66032 * include/rpc/pmap_clnt.h: Likewise.
66033 * include/rpc/pmap_prot.h: Likewise.
66034 * include/rpc/pmap_rmt.h: Likewise.
66035 * include/rpc/rpc_msg.h: Likewise.
66036 * include/rpc/svc.h: Likewise.
66037 * include/rpc/svc_auth.h: Likewise.
66038 * include/rpc/xdr.h: Likewise.
66039 * nis/Makefile: Link all DSOs against linkobj/libc.so.
66040 * nss/Makefile: Likewise.
66041 * sunrpc/Makefile: Don't install headers. Build library with normal
66042 entry points. Don't build rpcinfo. Link RPC tests appropriately.
66043 * sunrpc/auth_des.c: Hide exported symbols by default, export some
66044 for the compat linking library. Remove use of INTDEF/INTUSE.
66045 * sunrpc/auth_none.c: Likewise.
66046 * sunrpc/auth_unix.c: Likewise.
66047 * sunrpc/authdes_prot.c: Likewise.
66048 * sunrpc/authuxprot.c: Likewise.
66049 * sunrpc/clnt_gen.c: Likewise.
66050 * sunrpc/clnt_perr.c: Likewise.
66051 * sunrpc/clnt_raw.c: Likewise.
66052 * sunrpc/clnt_simp.c: Likewise.
66053 * sunrpc/clnt_tcp.c: Likewise.
66054 * sunrpc/clnt_udp.c: Likewise.
66055 * sunrpc/clnt_unix.c: Likewise.
66056 * sunrpc/des_crypt.c: Likewise.
66057 * sunrpc/des_soft.c: Likewise.
66058 * sunrpc/get_myaddr.c: Likewise.
66059 * sunrpc/key_call.c: Likewise.
66060 * sunrpc/key_prot.c: Likewise.
66061 * sunrpc/netname.c: Likewise.
66062 * sunrpc/pm_getmaps.c: Likewise.
66063 * sunrpc/pm_getport.c: Likewise.
66064 * sunrpc/pmap_clnt.c: Likewise.
66065 * sunrpc/pmap_prot.c: Likewise.
66066 * sunrpc/pmap_prot2.c: Likewise.
66067 * sunrpc/pmap_rmt.c: Likewise.
66068 * sunrpc/publickey.c: Likewise.
66069 * sunrpc/rpc_cmsg.c: Likewise.
66070 * sunrpc/rpc_common.c: Likewise.
66071 * sunrpc/rpc_dtable.c: Likewise.
66072 * sunrpc/rpc_prot.c: Likewise.
66073 * sunrpc/rpc_thread.c: Likewise.
66074 * sunrpc/rtime.c: Likewise.
66075 * sunrpc/svc.c: Likewise.
66076 * sunrpc/svc_auth.c: Likewise.
66077 * sunrpc/svc_authux.c: Likewise.
66078 * sunrpc/svc_raw.c: Likewise.
66079 * sunrpc/svc_run.c: Likewise.
66080 * sunrpc/svc_simple.c: Likewise.
66081 * sunrpc/svc_tcp.c: Likewise.
66082 * sunrpc/svc_udp.c: Likewise.
66083 * sunrpc/svc_unix.c: Likewise.
66084 * sunrpc/svcauth_des.c: Likewise.
66085 * sunrpc/xcrypt.c: Likewise.
66086 * sunrpc/xdr.c: Likewise.
66087 * sunrpc/xdr_array.c: Likewise.
66088 * sunrpc/xdr_float.c: Likewise.
66089 * sunrpc/xdr_intXX_t.c: Likewise.
66090 * sunrpc/xdr_mem.c: Likewise.
66091 * sunrpc/xdr_rec.c: Likewise.
66092 * sunrpc/xdr_ref.c: Likewise.
66093 * sunrpc/xdr_sizeof.c: Likewise.
66094 * sunrpc/xdr_stdio.c: Likewise.
66095
66096 2011-04-10 Ulrich Drepper <drepper@gmail.com>
66097
66098 [BZ #12650]
66099 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
66100 * sysdeps/ia64/dl-tls.h: Likewise.
66101 * sysdeps/powerpc/dl-tls.h: Likewise.
66102 * sysdeps/s390/dl-tls.h: Likewise.
66103 * sysdeps/sh/dl-tls.h: Likewise.
66104 * sysdeps/sparc/dl-tls.h: Likewise.
66105 * sysdeps/x86_64/dl-tls.h: Likewise.
66106 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
66107
66108 2011-03-14 Andreas Schwab <schwab@redhat.com>
66109
66110 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
66111 rpath element also skip the following colon.
66112 (expand_dynamic_string_token): Add is_path parameter and pass
66113 down to DL_DST_REQUIRED and _dl_dst_substitute.
66114 (decompose_rpath): Call expand_dynamic_string_token with
66115 non-zero is_path. Ignore empty rpaths.
66116 (_dl_map_object_from_fd): Call expand_dynamic_string_token
66117 with zero is_path.
66118
66119 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
66120
66121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
66122 Make cancelable.
66123
66124 2011-04-09 Ulrich Drepper <drepper@gmail.com>
66125
66126 [BZ #12655]
66127 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
66128 Patch by Filipe David Manana <fdmanana@apache.org>.
66129
66130 2011-04-07 Andreas Schwab <schwab@redhat.com>
66131
66132 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
66133 Maintain aligned stack.
66134 (CHECK_RSP): Remove unused macro.
66135
66136 2011-04-03 Ulrich Drepper <drepper@gmail.com>
66137
66138 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
66139 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
66140
66141 2011-04-02 Ulrich Drepper <drepper@gmail.com>
66142
66143 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
66144
66145 * include/features.h: Mention __USE_XOPEN2K8 in comment.
66146
66147 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
66148
66149 [BZ #12518]
66150 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
66151 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
66152 * sysdeps/x86_64/memmove.c: New file.
66153 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
66154 (memcpy): Renamed to ...
66155 (__new_memcpy): This.
66156 (memcpy): Provide GLIBC_2_14 memcpy.
66157 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
66158 (memcpy): Provide GLIBC_2_2_5 memcpy.
66159
66160 2011-04-01 Ulrich Drepper <drepper@gmail.com>
66161
66162 [BZ #12631]
66163 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
66164
66165 2011-03-30 Andreas Schwab <schwab@redhat.com>
66166
66167 * misc/syncfs.c: New file.
66168 * misc/Makefile (routines): Add syncfs.
66169 * posix/unistd.h: Declare syncfs.
66170 * sysdeps/unix/syscalls.list: Add syncfs.
66171
66172 2011-04-01 Andreas Schwab <schwab@redhat.com>
66173
66174 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
66175 open_by_handle_at.
66176 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66177 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66179 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66180 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66181 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
66182 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66183
66184 2011-04-01 Ulrich Drepper <drepper@gmail.com>
66185
66186 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
66187 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66188 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
66189 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66190 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66191 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66192 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66193
66194 * io/Makefile: Compile fallocate.c, fallocate64.c, and
66195 sync_file_range.c with -fexceptions.
66196 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
66197 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
66198 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
66199 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
66200 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
66201 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
66202 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
66203 sync_file_range as cancellation point
66204 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
66205 now a wrapper around __call_sync_file_range with cancellation handling.
66206 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
66207 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
66208 function name to __call_sync_file_range.
66209 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
66210 Add call_sync_file_range.
66211
66212 2011-04-01 Andreas Schwab <schwab@redhat.com>
66213
66214 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66215 bits/timex.h.
66216
66217 2011-04-01 Ulrich Drepper <drepper@gmail.com>
66218
66219 * iconv/iconv.h: Fix typo in comment.
66220 * io/fcntl.h: Likewise.
66221 * libio/stdio.h: Likewise.
66222 * posix/spawn.h: Likewise.
66223 * posix/unistd.h: Likewise.
66224 * stdlib/stdlib.h: Likewise.
66225 * time/time.h: Likewise.
66226 * wcsmbs/wchar.h: Likewise.
66227
66228 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
66229 open_by_handle): Add.
66230 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
66231 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
66232 Augment a few comments.
66233 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66234 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66235 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66237 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66238 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
66239 open_by_handle.
66240
66241 * io/fcntl.h (AT_EMPTY_PATH): Define.
66242
66243 2011-03-30 Ulrich Drepper <drepper@gmail.com>
66244
66245 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
66246 * sysdeps/unix/sysv/linux/bits/time.h: New file.
66247 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
66248 to...
66249 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
66250 * Versions.def: Add GLIBC_2.14.
66251 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
66252 Export.
66253
66254 2011-03-22 Ulrich Drepper <drepper@gmail.com>
66255
66256 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
66257 round counter.
66258 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
66259
66260 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
66261
66262 [BZ #12597]
66263 * string/test-strncmp.c (do_page_test): New function.
66264 (check2): Likewise.
66265 (test_main): Call check2.
66266 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
66267
66268 2011-03-20 Ulrich Drepper <drepper@gmail.com>
66269
66270 [BZ #12587]
66271 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
66272 Handle cache information in CPU leaf 4.
66273 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
66274
66275 2011-03-18 Ulrich Drepper <drepper@gmail.com>
66276
66277 [BZ #12583]
66278 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
66279 character representation.
66280 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
66281
66282 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
66283
66284 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
66285 END(__isnan) to END(__isnanf) to match function entry point/label
66286 EALIGN(__isnanf,...).
66287
66288 2011-03-10 Jakub Jelinek <jakub@redhat.com>
66289
66290 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
66291
66292 2011-03-10 Ulrich Drepper <drepper@gmail.com>
66293
66294 [BZ #12510]
66295 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
66296 copy from the symbol referenced in the relocation to initialize the
66297 used variable.
66298 Patch by Piotr Bury <pbury@goahead.com>.
66299 * elf/Makefile: Add rules to build and tst-unique3.
66300 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
66301 * elf/tst-unique3.cc: New file.
66302 * elf/tst-unique3.h: New file.
66303 * elf/tst-unique3lib.cc: New file.
66304 * elf/tst-unique3lib2.cc: New file.
66305
66306 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
66307
66308 2011-03-10 Mike Frysinger <vapier@gentoo.org>
66309
66310 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
66311 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
66312 to _start.
66313
66314 2011-03-06 Ulrich Drepper <drepper@gmail.com>
66315
66316 * elf/dl-load.c (_dl_map_object): If we are looking for the first
66317 to-be-loaded object along a path to loader is ld.so.
66318
66319 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
66320 Ulrich Drepper <drepper@gmail.com>
66321
66322 * sysdeps/x86_64/memset.S: After aligning destination, code
66323 branches to different locations depending on the value of
66324 misalignment, when multiarch is enabled. Fix this.
66325
66326 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
66327
66328 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
66329 Set _x86_64_preferred_memory_instruction for AMD processsors.
66330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66331 Set bit_Prefer_SSE_for_memop for AMD processors.
66332
66333 2011-03-04 Ulrich Drepper <drepper@gmail.com>
66334
66335 * libio/fmemopen.c (fmemopen): Optimize a bit.
66336
66337 2011-03-03 Andreas Schwab <schwab@redhat.com>
66338
66339 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
66340
66341 2011-03-03 Roland McGrath <roland@redhat.com>
66342
66343 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
66344
66345 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
66346
66347 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
66348 __bzero_ultra1 instead of __memset_ultra1.
66349
66350 2011-02-23 Andreas Schwab <schwab@redhat.com>
66351 Ulrich Drepper <drepper@gmail.com>
66352
66353 [BZ #12509]
66354 * include/link.h (struct link_map): Add l_orig_initfini.
66355 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
66356 returning unsuccessfully.
66357 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
66358 close of a file loaded at startup, restore the original l_initfini
66359 list.
66360 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
66361 list, store the pointer.
66362 * elf/Makefile ($(objpfx)noload-mem): New rule.
66363 (noload-ENV): Define.
66364 (tests): Add $(objpfx)noload-mem.
66365 * elf/noload.c: Include <memcheck.h>.
66366 (main): Call mtrace. Close all opened handles.
66367
66368 2011-02-17 Andreas Schwab <schwab@redhat.com>
66369
66370 [BZ #12454]
66371 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
66372 dependencies are missing.
66373
66374 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
66375
66376 Fix __if_freereq crash: Unlike the generic version which uses free,
66377 Hurd needs munmap.
66378 * sysdeps/mach/hurd/ifreq.h: New file.
66379
66380 2011-01-27 Petr Baudis <pasky@suse.cz>
66381 Ulrich Drepper <drepper@gmail.com>
66382
66383 [BZ 12445]#
66384 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
66385 to extend_alloca().
66386 * stdio-common/bug23.c: New file.
66387 * stdio-common/Makefile (tests): Add bug23.
66388
66389 2010-09-28 Andreas Schwab <schwab@redhat.com>
66390 Ulrich Drepper <drepper@gmail.com>
66391
66392 [BZ #12489]
66393 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
66394 before performing relro protection. At old place add assertion
66395 to make sure nothing changed.
66396
66397 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
66398 Glauber de Oliveira Costa <glommer@gmail.com>
66399
66400 * elf/elf.h: Add new ARM TLS relocs.
66401
66402 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
66403
66404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
66405 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
66406 cast from r3.
66407 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
66408 'tests' variable.
66409 * sysdeps/wordsize-64/tst-writev.c: New file.
66410
66411 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
66412
66413 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
66414 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
66415 insns in _dl_start to prevent a TOC reference before relocs are
66416 resolved.
66417
66418 2011-02-15 Ulrich Drepper <drepper@gmail.com>
66419
66420 [BZ #12469]
66421 * Makeconfig: Remove RANLIB definition.
66422 * Makerules: Don't use RANLIB.
66423 * aclocal.m4: Remove ranlib test.
66424 * configure.in: No need to check for ranlib.
66425 * elf/rtld-Rules: Don't use RANLIB.
66426
66427 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
66428
66429 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
66430 protection macro.
66431 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
66432 inclusion protection macro.
66433
66434 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
66435 SIGRTMIN and SIGRTMAX and print information in that case only when
66436 SIGRTMIN is defined.
66437
66438 2011-02-11 Jakub Jelinek <jakub@redhat.com>
66439
66440 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
66441 arginfo fn returning -1.
66442
66443 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
66444 and thousands string is zero terminated.
66445
66446 2011-02-03 Andreas Schwab <schwab@redhat.com>
66447
66448 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
66449 sysdeps/unix/sysv/linux/bits/socket.h.
66450
66451 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
66452
66453 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
66454 (__CPU_COUNT): Remove old macros.
66455 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
66456 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
66457 (__CPU_ALLOC, __CPU_FREE): Add macros.
66458 (__sched_cpualloc, __sched_cpufree): Add declarations.
66459
66460 2011-02-05 Ulrich Drepper <drepper@gmail.com>
66461
66462 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
66463 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
66464 * nscd/aicache.c (addhstaiX): Return timeout of added value.
66465 (readdhstai): Return value of addhstaiX call.
66466 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
66467 (addgrbyX): Return value returned by cache_addgr.
66468 (readdgrbyname): Return value returned by addgrbyX.
66469 (readdgrbygid): Likewise.
66470 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
66471 (addpwbyX): Return value returned by cache_addpw.
66472 (readdpwbyname): Return value returned by addhstbyX.
66473 (readdpwbyuid): Likewise.
66474 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
66475 (addservbyX): Return value returned by cache_addserv.
66476 (readdservbyname): Return value returned by addservbyX:
66477 (readdservbyport): Likewise.
66478 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
66479 (addhstbyX): Return value returned by cache_addhst.
66480 (readdhstbyname): Return value returned by addhstbyX.
66481 (readdhstbyaddr): Likewise.
66482 (readdhstbynamev6): Likewise.
66483 (readdhstbyaddrv6): Likewise.
66484 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
66485 (readdinitgroups): Return value returned by addinitgroupsX.
66486 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
66487 (prune_cache): Keep track of timeout value of re-added entries.
66488 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
66489 * nscd/nscd.h: Adjust prototypes of readd* functions.
66490
66491 2011-02-04 Roland McGrath <roland@redhat.com>
66492
66493 * nis/nis_server.c (nis_servstate): Use the right name for 0.
66494 (nis_stats): Likewise.
66495 * nis/nis_modify.c (nis_modify): Likewise.
66496 * nis/nis_remove.c (nis_remove): Likewise.
66497 * nis/nis_add.c (nis_add): Likewise.
66498
66499 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
66500
66501 * posix/fnmatch_loop.c: Add some consts.
66502
66503 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
66504
66505 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
66506
66507 [BZ #12460]
66508 * config.make.in (config-cflags-novzeroupper): Define.
66509 * configure.in: Substitute libc_cv_cc_novzeroupper.
66510 * elf/Makefile (AVX-CFLAGS): Define.
66511 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
66512 (CFLAGS-tst-auditmod4a.c): Likewise.
66513 (CFLAGS-tst-auditmod4b.c): Likewise.
66514 (CFLAGS-tst-auditmod6b.c): Likewise.
66515 (CFLAGS-tst-auditmod6c.c): Likewise.
66516 (CFLAGS-tst-auditmod7b.c): Likewise.
66517 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
66518
66519 2011-02-02 Ulrich Drepper <drepper@gmail.com>
66520
66521 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
66522 function to the callback.
66523 Patch partly by Jiri Olsa <jolsa@redhat.com>.
66524
66525 2011-02-02 Andreas Schwab <schwab@redhat.com>
66526
66527 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
66528 of errno.
66529
66530 2011-01-19 Ulrich Drepper <drepper@gmail.com>
66531
66532 [BZ #11724]
66533 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
66534 of constructors.
66535 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
66536 of destructors.
66537 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
66538
66539 [BZ #11724]
66540 * elf/Makefile: Add rules to build and run new test.
66541 * elf/tst-initorder.c: New file.
66542 * elf/tst-initorder.exp: New file.
66543 * elf/tst-initordera1.c: New file.
66544 * elf/tst-initordera2.c: New file.
66545 * elf/tst-initordera3.c: New file.
66546 * elf/tst-initordera4.c: New file.
66547 * elf/tst-initorderb1.c: New file.
66548 * elf/tst-initorderb2.c: New file.
66549 * elf/tst-order-a1.c: New file.
66550 * elf/tst-order-a2.c: New file.
66551 * elf/tst-order-a3.c: New file.
66552 * elf/tst-order-a4.c: New file.
66553 * elf/tst-order-b1.c: New file.
66554 * elf/tst-order-b2.c: New file.
66555 * elf/tst-order-main.c: New file.
66556 New test case by George Gensure <werkt0@gmail.com>.
66557
66558 2010-10-01 Andreas Schwab <schwab@redhat.com>
66559
66560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
66561 decoding ACE if AI_CANONIDN.
66562
66563 2011-01-18 Ulrich Drepper <drepper@gmail.com>
66564
66565 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
66566
66567 2011-01-17 Ulrich Drepper <drepper@gmail.com>
66568
66569 * version.h (RELEASE): Bump for 2.13 release.
66570 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
66571
66572 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
66573
66574 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
66575 MADV_NOHUGEPAGE.
66576 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
66577 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
66578 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66579 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66580 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66581 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
66582
66583 * posix/getconf.c: Update copyright year.
66584 * catgets/gencat.c: Likewise.
66585 * csu/version.c: Likewise.
66586 * debug/catchsegv.sh: Likewise.
66587 * debug/xtrace.sh: Likewise.
66588 * elf/ldconfig.c: Likewise.
66589 * elf/ldd.bash.in: Likewise.
66590 * elf/sprof.c (print_version): Likewise.
66591 * iconv/iconv_prog.c: Likewise.
66592 * iconv/iconvconfig.c: Likewise.
66593 * locale/programs/locale.c: Likewise.
66594 * locale/programs/localedef.c: Likewise.
66595 * malloc/memusage.sh: Likewise.
66596 * malloc/mtrace.pl: Likewise.
66597 * nscd/nscd.c (print_version): Likewise.
66598 * nss/getent.c: Likewise.
66599
66600 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
66601 PF_CAIF, and PF_ALG.
66602 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66603
66604 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
66605
66606 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
66607 (modules-names): Use them.
66608 (ifunc-test-modules, ifunc-pie-tests): Define.
66609 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
66610 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
66611 (test-extras): Likewise.
66612 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
66613 $(compile-command.c).
66614 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
66615 (all-built-dso): Define.
66616 (check-textrel.out, check-execstack.out): Depend on it.
66617
66618 * configure.in: Don't override --enable-multi-arch.
66619
66620 2011-01-15 Ulrich Drepper <drepper@gmail.com>
66621
66622 [BZ #6812]
66623 * nscd/hstcache.c (tryagain): Define.
66624 (cache_addhst): Return tryagain not notfound for temporary errors.
66625 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
66626 failed.
66627
66628 2011-01-14 Ulrich Drepper <drepper@gmail.com>
66629
66630 [BZ #10563]
66631 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
66632 to make the syscall.
66633 * sysdeps/unix/sysv/linux/setgroups.c: New file.
66634
66635 [BZ #12378]
66636 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
66637 and fall back to matching as normal character if the string ends before
66638 the matching ']' is found. This is what POSIX requires.
66639 * posix/testfnm.c: Adjust test result.
66640 * posix/globtest.sh: Adjust test result. Add new test.
66641 * posix/tst-fnmatch.input: Likewise.
66642 * posix/tst-fnmatch2.c: Add new test.
66643
66644 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
66645
66646 * elf/Makefile (check-execstack): Revert last change. Depend on
66647 check-execstack.h.
66648 (check-execstack.h): New target.
66649 (generated): Add check-execstack.h.
66650 * elf/check-execstack.c: Include "check-execstack.h".
66651 (main): Revert last change.
66652 (handle_file): Return zero if GNU_STACK is absent and
66653 DEFAULT_STACK_PERMS doesn't include PF_X.
66654
66655 2011-01-13 Ulrich Drepper <drepper@gmail.com>
66656
66657 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
66658 in child fails because the descriptor is already closed.
66659 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
66660 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
66661 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
66662
66663 [BZ #12397]
66664 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
66665 syscall.
66666
66667 [BZ #10484]
66668 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
66669 temporary buffer used to handle multi lookups locally.
66670 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
66671
66672 2011-01-12 Ulrich Drepper <drepper@gmail.com>
66673
66674 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
66675 loader is ld.so.
66676
66677 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
66678
66679 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
66680 alignment for SSE2.
66681
66682 2011-01-12 Ulrich Drepper <drepper@gmail.com>
66683
66684 [BZ #12394]
66685 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
66686 characters. When rounding increased number of integer digits recompute
66687 number of groups.
66688 * stdio-common/tst-grouping.c: New file.
66689 * stdio-common/Makefile: Add rules to build and run tst-grouping.
66690
66691 2011-01-09 Ulrich Drepper <drepper@gmail.com>
66692
66693 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
66694 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
66695
66696 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
66697 void.
66698 * bits/select.h: Likewise.
66699
66700 2011-01-08 Ulrich Drepper <drepper@gmail.com>
66701
66702 * po/ja.po: Update from translation team.
66703
66704 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
66705
66706 [BZ #11155]
66707 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
66708 implementation just like for lxstat, fxstatat, et al.
66709
66710 2010-12-27 Jim Meyering <meyering@redhat.com>
66711
66712 [BZ #12348]
66713 * posix/regexec.c (build_trtable): Return failure indication upon
66714 calloc failure. Otherwise, re_search_internal could infloop on OOM.
66715
66716 2010-12-25 Ulrich Drepper <drepper@gmail.com>
66717
66718 [BZ #12201]
66719 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
66720 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
66721 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
66722 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
66723
66724 [BZ #12207]
66725 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
66726
66727 [BZ #12204]
66728 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
66729 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
66730
66731 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
66732
66733 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
66734 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
66735 script has SORT_BY_INIT_PRIORITY.
66736 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
66737 NO_CTORS_DTORS_SECTIONS is defined.
66738 * elf/soinit.c: Likewise.
66739 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
66740 NO_CTORS_DTORS_SECTIONS is defined.
66741 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
66742 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
66743 * sysdeps/sh/init-first.c: Likewise.
66744 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
66745
66746 2010-12-24 Ulrich Drepper <drepper@gmail.com>
66747
66748 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
66749 always use the slow path.
66750
66751 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
66752
66753 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
66754 similar rule which adds the sysdep directories to the header search in
66755 order to pick up the correct platform stackinfo.h.
66756 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
66757 perform test if it is, otherwise return successfully without testing.
66758 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
66759 DEFAULT_STACK_PERMS define in stackinfo.h.
66760 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
66761 defined in stackinfo.h.
66762 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
66763 DEFAULT_STACK_PERMS defined in stackinfo.h.
66764 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
66765 * sysdeps/ia64/stackinfo.h: Likewise.
66766 * sysdeps/s390/stackinfo.h: Likewise.
66767 * sysdeps/sh/stackinfo.h: Likewise.
66768 * sysdeps/sparc/stackinfo.h: Likewise.
66769 * sysdeps/x86_64/stackinfo.h: Likewise.
66770 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
66771 PF_X for powerpc64. Retain PF_X for powerpc32.
66772
66773 2010-12-19 Ulrich Drepper <drepper@gmail.com>
66774
66775 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
66776 accurately.
66777 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
66778 GETDENTS_64BIT_ALIGNED.
66779
66780 2010-12-14 Ulrich Drepper <dreper@gmail.com>
66781
66782 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
66783
66784 2010-12-10 Andreas Schwab <schwab@redhat.com>
66785
66786 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
66787 _GNU_SOURCE.
66788
66789 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
66790 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
66791 Remove __restrict.
66792 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
66793 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
66794
66795 2010-12-09 Ulrich Drepper <drepper@gmail.com>
66796
66797 [BZ #11655]
66798 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
66799 are initialized.
66800
66801 2010-12-09 Jakub Jelinek <jakub@redhat.com>
66802
66803 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
66804
66805 2010-12-03 Ulrich Drepper <drepper@gmail.com>
66806
66807 * po/it.po: Update from translation team.
66808
66809 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
66810
66811 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
66812 unused codes.
66813
66814 2010-11-30 Ulrich Drepper <drepper@gmail.com>
66815
66816 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
66817
66818 2010-11-24 Andreas Schwab <schwab@redhat.com>
66819
66820 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
66821 specially.
66822 (gaih_getanswer_slice): Likewise.
66823
66824 2010-10-20 Jakub Jelinek <jakub@redhat.com>
66825
66826 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
66827
66828 2010-05-31 Petr Baudis <pasky@suse.cz>
66829
66830 [BZ #11149]
66831 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
66832 silently even in the chroot mode.
66833
66834 2010-11-22 Ulrich Drepper <drepper@gmail.com>
66835
66836 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
66837 last patch a bit. Pretty printing
66838
66839 2010-05-31 Petr Baudis <pasky@suse.cz>
66840
66841 [BZ #10085]
66842 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
66843 initialization of skip_initgroups_dyn.
66844
66845 2010-11-19 Ulrich Drepper <drepper@gmail.com>
66846
66847 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
66848 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
66849
66850 2010-11-16 Ulrich Drepper <drepper@gmail.com>
66851
66852 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
66853
66854 2010-11-11 Andreas Schwab <schwab@redhat.com>
66855
66856 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
66857 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
66858 (tst-fnmatch-ENV): Set MALLOC_TRACE.
66859 ($(objpfx)tst-fnmatch-mem): New rule.
66860 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
66861 * posix/tst-fnmatch.c (main): Call mtrace.
66862
66863 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
66864
66865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66866 Support Intel processor model 6 and model 0x2c.
66867
66868 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
66869
66870 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
66871 signed comparison.
66872
66873 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
66874
66875 [BZ #12205]
66876 * string/test-strncasecmp.c (check_result): New function.
66877 (do_one_test): Use it.
66878 (check1): New function.
66879 (test_main): Use it.
66880 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
66881 Support strcasecmp and strncasecmp.
66882
66883 2010-11-08 Ulrich Drepper <drepper@gmail.com>
66884
66885 [BZ #12194]
66886 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
66887 * sysdeps/x86_64/bits/byteswap.h: Likewise.
66888
66889 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
66890
66891 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
66892 IFUNC support.
66893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66894 memset-x86-64.
66895 * sysdeps/x86_64/multiarch/bzero.S: New file.
66896 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
66897 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
66898 * sysdeps/x86_64/multiarch/memset.S: New file.
66899 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
66900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66901 Set bit_Prefer_SSE_for_memop for Intel processors.
66902 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
66903 Define.
66904 (index_Prefer_SSE_for_memop): Define.
66905 (HAS_PREFER_SSE_FOR_MEMOP): Define.
66906
66907 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
66908
66909 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
66910 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
66911
66912 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
66913
66914 [BZ #12191]
66915 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
66916 (__x86_64_raw_data_cache_size_half): Likewise.
66917 (__x86_64_raw_shared_cache_size): Likewise.
66918 (__x86_64_raw_shared_cache_size_half): Likewise.
66919
66920 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
66921 (__x86_64_raw_data_cache_size_half): Likewise.
66922 (__x86_64_raw_shared_cache_size): Likewise.
66923 (__x86_64_raw_shared_cache_size_half): Likewise.
66924 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
66925 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
66926 and __x86_64_raw_shared_cache_size_half. Round
66927 __x86_64_data_cache_size_half, __x86_64_data_cache_size
66928 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
66929 to multiple of 256 bytes.
66930
66931 2010-11-03 Ulrich Drepper <drepper@gmail.com>
66932
66933 [BZ #12167]
66934 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
66935 of inacessible symlinks. Verify result of symlink before returning it.
66936 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
66937 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
66938
66939 2010-10-28 Erich Ritz <erichritz@gmail.com>
66940
66941 * math/math.h (isinf): Fix typo in comment.
66942
66943 2010-11-01 Ulrich Drepper <drepper@gmail.com>
66944
66945 * po/da.po: Update from translation team.
66946
66947 2010-10-26 Ulrich Drepper <drepper@gmail.com>
66948
66949 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
66950 is added to the list.
66951
66952 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66953 Ulrich Drepper <drepper@gmail.com>
66954
66955 * elf/dl-object.c (_dl_new_object): Don't append the new object to
66956 the global list here. Move code to...
66957 (_dl_add_to_namespace_list): ...here. New function.
66958 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
66959 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
66960 * elf/dl-load.c (lose): Don't remove the element from the list.
66961 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
66962 (_dl_map_object): Likewise.
66963
66964 2010-10-25 Ulrich Drepper <drepper@gmail.com>
66965
66966 [BZ #12159]
66967 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
66968 into all bytes of SSE register.
66969 Patch by Richard Li <richardpku@gmail.com>.
66970
66971 2010-10-24 Ulrich Drepper <drepper@gmail.com>
66972
66973 [BZ #12140]
66974 * malloc/malloc.c (_int_free): Fill correct number of bytes when
66975 perturbing.
66976
66977 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
66978
66979 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
66980 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
66981 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
66982 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
66983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
66984 submachine.
66985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
66986
66987 2010-10-22 Andreas Schwab <schwab@redhat.com>
66988
66989 * include/dlfcn.h (__RTLD_SECURE): Define.
66990 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
66991 mode & __RTLD_SECURE instead.
66992 (open_path): Rename preloaded parameter to secure.
66993 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
66994 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
66995 * elf/dl-deps.c (openaux): Likewise.
66996 * elf/rtld.c (struct map_args): Remove is_preloaded.
66997 (map_doit): Don't use it.
66998 (dl_main): Likewise.
66999 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
67000 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
67001
67002 2010-09-09 Andreas Schwab <schwab@redhat.com>
67003
67004 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
67005 (sysd-rules-targets): Remove duplicates.
67006 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
67007 rtld-%.$o dependency.
67008
67009 2010-10-18 Andreas Schwab <schwab@redhat.com>
67010
67011 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
67012 _dl_map_object do it.
67013
67014 2010-10-19 Ulrich Drepper <drepper@gmail.com>
67015
67016 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
67017 fast fma builtins, define the macros in the C99 standard.
67018 (FP_FAST_FMAF): Likewise.
67019 (FP_FAST_FMAL): Likewise.
67020 * sysdeps/x86_64/bits/mathdef.h: Likewise.
67021
67022 * bits/mathdef.h: Update copyright year.
67023 * sysdeps/powerpc/bits/mathdef.h: Likewise.
67024
67025 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
67026
67027 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
67028 builtins, define the macros in the C99 standard.
67029 (FP_FAST_FMAF): Likewise.
67030 (FP_FAST_FMAL): Likewise.
67031 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
67032 multiply/add.
67033 (FP_FAST_FMAF): Likewise.
67034
67035 2010-10-15 Jakub Jelinek <jakub@redhat.com>
67036
67037 [BZ #3268]
67038 * math/libm-test.inc (fma_test): Some new testcases.
67039 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
67040 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
67041 y and infinite z. Do multiplication by C already in long double.
67042 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
67043 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
67044 y and infinite z. Do bitwise or of inexact bit into u.d.
67045 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
67046 * sysdeps/i386/fpu/s_fmaf.S: Removed.
67047 * sysdeps/i386/fpu/s_fma.S: Removed.
67048 * sysdeps/i386/fpu/s_fmal.S: Removed.
67049
67050 2010-10-16 Jakub Jelinek <jakub@redhat.com>
67051
67052 [BZ #3268]
67053 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
67054 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
67055 computation is not scheduled after fetestexcept. Fix value
67056 of minimum denormal long double.
67057
67058 2010-10-14 Jakub Jelinek <jakub@redhat.com>
67059
67060 [BZ #3268]
67061 * math/libm-test.inc (fma_test): Add some more tests.
67062 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
67063 correctly.
67064
67065 2010-10-15 Andreas Schwab <schwab@redhat.com>
67066
67067 * scripts/data/localplt-s390-linux-gnu.data: New file.
67068 * scripts/data/localplt-s390x-linux-gnu.data: New file.
67069
67070 2010-10-13 Jakub Jelinek <jakub@redhat.com>
67071
67072 [BZ #3268]
67073 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
67074 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
67075 instead of dbl-64.
67076 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
67077 inlines.
67078 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
67079 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
67080 if one of x and y is very large and the other is subnormal.
67081 * sysdeps/s390/fpu/s_fmaf.c: New file.
67082 * sysdeps/s390/fpu/s_fma.c: New file.
67083 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
67084 * sysdeps/powerpc/fpu/s_fma.S: New file.
67085 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
67086 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
67087 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
67088
67089 2010-10-12 Jakub Jelinek <jakub@redhat.com>
67090
67091 [BZ #3268]
67092 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
67093 fma tests.
67094 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
67095 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
67096 * sysdeps/i386/i686/multiarch/s_fma.c: Include
67097 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
67098 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
67099 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
67100 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
67101
67102 2010-10-12 Ulrich Drepper <drepper@redhat.com>
67103
67104 [BZ #12078]
67105 * posix/regcomp.c (parse_branch): One more memory leak plugged.
67106 * posix/bug-regex31.input: Add test case.
67107
67108 2010-10-11 Ulrich Drepper <drepper@gmail.com>
67109
67110 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
67111 * posix/bug-regex31.input: New file.
67112
67113 [BZ #12078]
67114 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
67115 (parse_sub_exp): Fix last change, use postorder.
67116
67117 * posix/bug-regex31.c: New file.
67118 * posix/Makefile: Add rules to build and run bug-regex31.
67119
67120 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
67121
67122 [BZ #12078]
67123 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
67124
67125 [BZ #12108]
67126 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
67127 to have entries in sys_siglist.
67128
67129 [BZ #12093]
67130 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
67131 be NULL.
67132
67133 2010-10-07 Jakub Jelinek <jakub@redhat.com>
67134
67135 [BZ #3268]
67136 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
67137 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
67138 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
67139 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
67140 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67141 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
67142 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
67143 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
67144 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
67145 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
67146 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
67147 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
67148 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
67149 * math/ftestexcept.c (fetestexcept): Likewise.
67150 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
67151 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
67152 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
67153 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
67154 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
67155 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
67156 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67157
67158 2010-10-11 Ulrich Drepper <drepper@gmail.com>
67159
67160 [BZ #12107]
67161 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
67162 newline.
67163
67164 2010-10-06 Ulrich Drepper <drepper@gmail.com>
67165
67166 * string/bug-strstr1.c: New file.
67167 * string/Makefile: Add rules to build and run bug-strstr1.
67168
67169 2010-10-05 Eric Blake <eblake@redhat.com>
67170
67171 [BZ #12092]
67172 * string/str-two-way.h (two_way_long_needle): Always clear memory
67173 when skipping input due to the shift table.
67174
67175 2010-10-03 Ulrich Drepper <drepper@gmail.com>
67176
67177 [BZ #12005]
67178 * malloc/mcheck.c: Handle large requests.
67179
67180 [BZ #12077]
67181 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
67182 for strncmp and strncasecmp.
67183 * string/stratcliff.c: Add tests for strcmp and strncmp.
67184 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
67185
67186 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
67187
67188 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
67189 __set_fpscr.
67190
67191 2010-09-30 Andreas Jaeger <aj@suse.de>
67192
67193 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
67194 (CGROUP_SUPER_MAGIC): Define.
67195 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67196 Handle btrfs and cgroup file systems.
67197 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
67198 Likewise.
67199
67200 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
67201
67202 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
67203 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
67204
67205 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67206
67207 [BZ #12067]
67208 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
67209 trying to locate the ELF header.
67210
67211 2010-09-27 Andreas Schwab <schwab@redhat.com>
67212
67213 [BZ #11611]
67214 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
67215 Mask out sign-bit copies when constructing f_fsid.
67216
67217 2010-09-24 Petr Baudis <pasky@suse.cz>
67218
67219 * debug/stack_chk_fail_local.c: Add missing licence exception.
67220 * debug/warning-nop.c: Likewise.
67221
67222 2010-09-15 Joseph Myers <joseph@codesourcery.com>
67223
67224 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
67225 implementing getdents64 using getdents syscall, set d_type if
67226 __ASSUME_GETDENTS32_D_TYPE.
67227
67228 2010-09-16 Andreas Schwab <schwab@redhat.com>
67229
67230 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
67231 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
67232
67233 2010-09-21 Ulrich Drepper <drepper@redhat.com>
67234
67235 [BZ #12037]
67236 * posix/unistd.h: Undo change of feature selection for ftruncate from
67237 2010-01-11.
67238
67239 2010-09-20 Ulrich Drepper <drepper@redhat.com>
67240
67241 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
67242 detection.
67243
67244 2010-09-20 Andreas Schwab <schwab@redhat.com>
67245
67246 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
67247 fanotify_mark.
67248 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
67249
67250 2010-09-14 Andreas Schwab <schwab@redhat.com>
67251
67252 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
67253 variables after CHECK_SP call.
67254 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
67255
67256 2010-09-13 Andreas Schwab <schwab@redhat.com>
67257 Ulrich Drepper <drepper@redhat.com>
67258
67259 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
67260 re-relocationg ld.so.
67261 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
67262 _dl_init_paths call.
67263 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
67264 here anymore.
67265
67266 2010-09-14 Ulrich Drepper <drepper@redhat.com>
67267
67268 * resolv/res_init.c (__res_vinit): Count the default server we added.
67269
67270 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
67271 Ulrich Drepper <drepper@redhat.com>
67272
67273 [BZ #11968]
67274 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
67275 (____longjmp_chk): Use %ebx for saving value across system call.
67276 Add unwind info.
67277
67278 2010-09-06 Andreas Schwab <schwab@redhat.com>
67279
67280 * manual/Makefile: Don't mix pattern rules with normal rules.
67281
67282 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
67283
67284 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
67285 operation.
67286 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
67287 * libio/iofopncook.c (_IO_cookie_init): Likewise.
67288 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
67289 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
67290 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67291 Likewise.
67292
67293 2010-09-04 Ulrich Drepper <drepper@redhat.com>
67294
67295 [BZ #11979]
67296 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
67297 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
67298
67299 2010-09-02 Ulrich Drepper <drepper@redhat.com>
67300
67301 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
67302 * sysdeps/x86_64/addmul_1.S: Likewise.
67303 * sysdeps/x86_64/lshift.S: Likewise.
67304 * sysdeps/x86_64/mul_1.S: Likewise.
67305 * sysdeps/x86_64/rshift.S: Likewise.
67306 * sysdeps/x86_64/sub_n.S: Likewise.
67307 * sysdeps/x86_64/submul_1.S: Likewise.
67308
67309 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
67310
67311 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
67312 Define __sched_param instead of SCHED_* and sched_param when
67313 <bits/sched.h> is included with __need_schedparam defined.
67314 * bits/sched.h [__need_schedparam]
67315 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
67316 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
67317 (__defined_schedparam): Define to 1.
67318 (__sched_param): New structure, identical to sched_param.
67319 (__need_schedparam): Undefine.
67320
67321 2010-08-31 Mike Frysinger <vapier@gentoo.org>
67322
67323 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
67324 (epoll_create1): Declare.
67325
67326 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
67327
67328 2010-08-31 Andreas Schwab <schwab@redhat.com>
67329
67330 [BZ #7066]
67331 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
67332 shifting retval into place.
67333
67334 2010-09-01 Ulrich Drepper <drepper@redhat.com>
67335
67336 * nis/rpcsvc/nis.h: Update copyright notice.
67337 * nis/rpcsvc/nis.x: Likewise.
67338 * nis/rpcsvc/nis_callback.h: Likewise.
67339 * nis/rpcsvc/nis_callback.x: Likewise.
67340 * nis/rpcsvc/nis_object.x: Likewise.
67341 * nis/rpcsvc/nis_tags.h: Likewise.
67342 * nis/rpcsvc/yp.h: Likewise.
67343 * nis/rpcsvc/yp.x: Likewise.
67344 * nis/rpcsvc/ypupd.h: Likewise.
67345 * nis/yp_xdr.c: Likewise.
67346 * nis/ypupdate_xdr.c: Likewise.
67347
67348 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
67349 mainly the body of pmap_getport. Add parameters to specify timeouts.
67350 (pmap_getport): Use __libc_rpc_getport.
67351 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
67352 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
67353 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
67354
67355 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
67356
67357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
67358 fanotify_mark.
67359
67360 2010-08-27 Roland McGrath <roland@redhat.com>
67361
67362 * sysdeps/i386/i686/multiarch/Makefile
67363 (CFLAGS-varshift.c): New variable.
67364
67365 2010-08-27 Ulrich Drepper <drepper@redhat.com>
67366
67367 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
67368 * sysdeps/i386/i686/multiarch/varshift.c: New file.
67369
67370 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
67371
67372 * sysdeps/x86_64/strlen.S: Minimal code improvement.
67373
67374 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
67375
67376 * sysdeps/x86_64/strlen.S: Unroll the loop.
67377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67378 strlen-sse2 strlen-sse2-bsf.
67379 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
67380 __strlen_no_bsf if bit_Slow_BSF is set.
67381 (__strlen_sse42): Removed.
67382 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
67383 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
67384
67385 2010-08-25 Roland McGrath <roland@redhat.com>
67386
67387 * sysdeps/x86_64/multiarch/varshift.S: File removed.
67388 * sysdeps/x86_64/multiarch/varshift.c: New file.
67389 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
67390 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
67391 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
67392 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
67393
67394 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
67395
67396 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67397 strlen-sse2 strlen-sse2-bsf.
67398 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
67399 __strlen_sse2_bsf if bit_Slow_BSF is unset.
67400 (__strlen_sse2): Removed.
67401 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
67402 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
67403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
67404 bit_Slow_BSF for Atom.
67405 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
67406 (index_Slow_BSF): Define.
67407 (HAS_SLOW_BSF): Define.
67408
67409 2010-08-25 Ulrich Drepper <drepper@redhat.com>
67410
67411 [BZ #10851]
67412 * resolv/res_init.c (__res_vinit): When no server address at all
67413 is given default to loopback.
67414
67415 2010-08-24 Roland McGrath <roland@redhat.com>
67416
67417 * configure.in: Remove config-name.h generation.
67418 * configure: Regenerated.
67419 * config-name.in: File removed.
67420 * scripts/config-uname.sh: New file.
67421 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
67422 ($(objdir)config-name.h): New target.
67423
67424 * sunrpc/rpc_parse.h: Avoid nested comment.
67425
67426 2010-08-24 Richard Henderson <rth@redhat.com>
67427 Ulrich Drepper <drepper@redhat.com>
67428 H.J. Lu <hongjiu.lu@intel.com>
67429
67430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
67431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
67432 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
67433 Replace _mm_srli_si128 with __m128i_shift_right. Replace
67434 _mm_alignr_epi8 with _mm_loadu_si128.
67435 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
67436 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
67437 (__m128i_shift_right): Removed.
67438 * sysdeps/i386/i686/multiarch/varshift.h: New file.
67439 * sysdeps/i386/i686/multiarch/varshift.S: New file.
67440 * sysdeps/x86_64/multiarch/varshift.h: New file.
67441 * sysdeps/x86_64/multiarch/varshift.S: New file.
67442
67443 2010-08-21 Mike Frysinger <vapier@gentoo.org>
67444
67445 * configure.in: Move assembler checks to before sysdep dir checking.
67446
67447 2010-08-20 Petr Baudis <pasky@suse.cz>
67448
67449 * LICENSES: Sync the sunrpc license.
67450
67451 2010-08-19 Ulrich Drepper <drepper@redhat.com>
67452
67453 * sunrpc/auth_des.c: Update copyright notice once again.
67454 * sunrpc/auth_none.c: Likewise.
67455 * sunrpc/auth_unix.c: Likewise.
67456 * sunrpc/authdes_prot.c: Likewise.
67457 * sunrpc/authuxprot.c: Likewise.
67458 * sunrpc/bindrsvprt.c: Likewise.
67459 * sunrpc/clnt_gen.c: Likewise.
67460 * sunrpc/clnt_perr.c: Likewise.
67461 * sunrpc/clnt_raw.c: Likewise.
67462 * sunrpc/clnt_simp.c: Likewise.
67463 * sunrpc/clnt_tcp.c: Likewise.
67464 * sunrpc/clnt_udp.c: Likewise.
67465 * sunrpc/clnt_unix.c: Likewise.
67466 * sunrpc/des_crypt.c: Likewise.
67467 * sunrpc/des_soft.c: Likewise.
67468 * sunrpc/get_myaddr.c: Likewise.
67469 * sunrpc/getrpcport.c: Likewise.
67470 * sunrpc/key_call.c: Likewise.
67471 * sunrpc/key_prot.c: Likewise.
67472 * sunrpc/openchild.c: Likewise.
67473 * sunrpc/pm_getmaps.c: Likewise.
67474 * sunrpc/pm_getport.c: Likewise.
67475 * sunrpc/pmap_clnt.c: Likewise.
67476 * sunrpc/pmap_prot.c: Likewise.
67477 * sunrpc/pmap_prot2.c: Likewise.
67478 * sunrpc/pmap_rmt.c: Likewise.
67479 * sunrpc/rpc/auth.h: Likewise.
67480 * sunrpc/rpc/auth_unix.h: Likewise.
67481 * sunrpc/rpc/clnt.h: Likewise.
67482 * sunrpc/rpc/des_crypt.h: Likewise.
67483 * sunrpc/rpc/key_prot.h: Likewise.
67484 * sunrpc/rpc/netdb.h: Likewise.
67485 * sunrpc/rpc/pmap_clnt.h: Likewise.
67486 * sunrpc/rpc/pmap_prot.h: Likewise.
67487 * sunrpc/rpc/pmap_rmt.h: Likewise.
67488 * sunrpc/rpc/rpc.h: Likewise.
67489 * sunrpc/rpc/rpc_des.h: Likewise.
67490 * sunrpc/rpc/rpc_msg.h: Likewise.
67491 * sunrpc/rpc/svc.h: Likewise.
67492 * sunrpc/rpc/svc_auth.h: Likewise.
67493 * sunrpc/rpc/types.h: Likewise.
67494 * sunrpc/rpc/xdr.h: Likewise.
67495 * sunrpc/rpc_clntout.c: Likewise.
67496 * sunrpc/rpc_cmsg.c: Likewise.
67497 * sunrpc/rpc_common.c: Likewise.
67498 * sunrpc/rpc_cout.c: Likewise.
67499 * sunrpc/rpc_dtable.c: Likewise.
67500 * sunrpc/rpc_hout.c: Likewise.
67501 * sunrpc/rpc_main.c: Likewise.
67502 * sunrpc/rpc_parse.c: Likewise.
67503 * sunrpc/rpc_parse.h: Likewise.
67504 * sunrpc/rpc_prot.c: Likewise.
67505 * sunrpc/rpc_sample.c: Likewise.
67506 * sunrpc/rpc_scan.c: Likewise.
67507 * sunrpc/rpc_scan.h: Likewise.
67508 * sunrpc/rpc_svcout.c: Likewise.
67509 * sunrpc/rpc_tblout.c: Likewise.
67510 * sunrpc/rpc_util.c: Likewise.
67511 * sunrpc/rpc_util.h: Likewise.
67512 * sunrpc/rpcinfo.c: Likewise.
67513 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
67514 * sunrpc/rpcsvc/key_prot.x: Likewise.
67515 * sunrpc/rpcsvc/klm_prot.x: Likewise.
67516 * sunrpc/rpcsvc/mount.x: Likewise.
67517 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
67518 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
67519 * sunrpc/rpcsvc/rex.x: Likewise.
67520 * sunrpc/rpcsvc/rstat.x: Likewise.
67521 * sunrpc/rpcsvc/rusers.x: Likewise.
67522 * sunrpc/rpcsvc/sm_inter.x: Likewise.
67523 * sunrpc/rpcsvc/spray.x: Likewise.
67524 * sunrpc/rpcsvc/yppasswd.x: Likewise.
67525 * sunrpc/rtime.c: Likewise.
67526 * sunrpc/svc.c: Likewise.
67527 * sunrpc/svc_auth.c: Likewise.
67528 * sunrpc/svc_authux.c: Likewise.
67529 * sunrpc/svc_raw.c: Likewise.
67530 * sunrpc/svc_run.c: Likewise.
67531 * sunrpc/svc_simple.c: Likewise.
67532 * sunrpc/svc_tcp.c: Likewise.
67533 * sunrpc/svc_udp.c: Likewise.
67534 * sunrpc/svc_unix.c: Likewise.
67535 * sunrpc/svcauth_des.c: Likewise.
67536 * sunrpc/xcrypt.c: Likewise.
67537 * sunrpc/xdr.c: Likewise.
67538 * sunrpc/xdr_array.c: Likewise.
67539 * sunrpc/xdr_float.c: Likewise.
67540 * sunrpc/xdr_mem.c: Likewise.
67541 * sunrpc/xdr_rec.c: Likewise.
67542 * sunrpc/xdr_ref.c: Likewise.
67543 * sunrpc/xdr_sizeof.c: Likewise.
67544 * sunrpc/xdr_stdio.c: Likewise.
67545
67546 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
67547 handling.
67548
67549 2010-08-19 Andreas Schwab <schwab@redhat.com>
67550
67551 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
67552
67553 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
67554
67555 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
67556 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
67557 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
67558 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
67559 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
67560 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
67561 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
67562 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
67563 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
67564 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
67565 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
67566 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
67567 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
67568 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
67569
67570 2010-07-26 Anton Blanchard <anton@samba.org>
67571
67572 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
67573 * malloc/arena.c (heap_trim): Likewise.
67574
67575 2010-08-16 Ulrich Drepper <drepper@redhat.com>
67576
67577 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
67578 here. Not...
67579 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
67580 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
67581
67582 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
67583
67584 * sysdeps/i386/elf/Makefile: New file.
67585
67586 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
67587
67588 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
67589 from fanotify_init.
67590 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
67591 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
67592
67593 2010-08-15 Ulrich Drepper <drepper@redhat.com>
67594
67595 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
67596 of strncasecmp_l.
67597 * sysdeps/multiarch/strcmp.S: Likewise.
67598
67599 2010-08-14 Ulrich Drepper <drepper@redhat.com>
67600
67601 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
67602 strncase_l-nonascii.
67603 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
67604 Add strncase_l-ssse3.
67605 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
67606 * sysdeps/x86_64/strcmp.S: Likewise.
67607 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
67608 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
67609 * sysdeps/x86_64/strncase.S: New file.
67610 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
67611 * sysdeps/x86_64/strncase_l.S: New file.
67612 * string/Makefile (strop-tests): Add strncasecmp.
67613 * string/test-strncasecmp.c: New file.
67614
67615 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
67616 warning.
67617
67618 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
67619 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
67620
67621 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
67622
67623 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
67624
67625 2010-08-12 Ulrich Drepper <drepper@redhat.com>
67626
67627 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
67628 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
67629 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
67630
67631 2010-05-01 Alan Modra <amodra@gmail.com>
67632
67633 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
67634 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
67635 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
67636 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
67637 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
67638 tidying. Don't tail-call __sigjmp_save for static lib.
67639 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
67640 save location.
67641 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
67642 (CALL_MCOUNT): Add eh info, and nop after bl.
67643 (TAIL_CALL_SYSCALL_ERROR): New macro.
67644 (PSEUDO_RET): Use it.
67645 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
67646 Correct save location of integer regs and cr.
67647 (_dl_profile_resolve): Correct cr save location. Delete nops
67648 after bl when SHARED. Reduce cfi size a little by better
67649 placement of cfi directives.
67650 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
67651 make a stack frame. Instead use parm save area as a temp.
67652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
67653 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
67654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
67655 Don't make a stack frame for parent, use parm save area.
67656 Increase child stack frame to 112 bytes. Don't save unused reg,
67657 and adjust reg usage. Set up cfi on error recovery and
67658 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
67659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
67660 (__makecontext): Add dummy nop after jump to exit.
67661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
67662 Use correct parm save area and cr save, reduce stack frame.
67663 Correct cfi for possible PSEUDO_RET frame setup.
67664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
67665 Branch to local label emitted by PSEUDO_RET rather than
67666 __syscall_error.
67667
67668 2010-08-12 Andreas Schwab <schwab@redhat.com>
67669
67670 [BZ #11904]
67671 * locale/programs/locale.c (print_assignment): New function.
67672 (show_locale_vars): Use it.
67673
67674 2010-08-11 Ulrich Drepper <drepper@redhat.com>
67675
67676 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
67677 field.
67678 (struct statfs64): Likewise.
67679 (_STATFS_F_FLAGS): Define.
67680 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
67681 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67682 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
67683 (ST_VALID): Define locally.
67684 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
67685 __statvfs_getflags, use the provided value.
67686 * sysdeps/unix/sysv/linux/kernel-features.h: Define
67687 __ASSUME_STATFS_F_FLAGS.
67688
67689 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
67690
67691 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
67692 Add sys/fanotify.h.
67693 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
67694 fanotify_mask for GLIBC_2.13.
67695 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
67696 fanotify_init and fanotify_mark.
67697 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
67698 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
67699
67700 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
67701 Add prlimit.
67702 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
67703 prlimit64 for GLIBC_2.13.
67704 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
67705 prlimit64.
67706 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
67707 syscall.
67708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
67709 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
67710 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
67711 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
67712 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
67713 add prlimit alias.
67714 * sysdeps/unix/sysv/linux/prlimit.c: New file.
67715
67716 [BZ #11903]
67717 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
67718 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
67719
67720 * nss/Makefile: Add rules to build and run tst-nss-test1.
67721 * shlib-versions: Add entry for libnss_test1.
67722 * nss/nss_test1.c: New file.
67723 * nss/tst-nss-test1.c: New file.
67724
67725 * nss/nsswitch.c (__nss_database_custom): Define new variable.
67726 (__nss_configure_lookup): Set appropriate entry in
67727 __nss_configure_lookup to true.
67728 * nss/nsswitch.h: Define enum with indeces of databases in
67729 databases and __nss_database_custom arrays. Declare
67730 __nss_database_custom.
67731 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
67732 to avoid using nscd when custom rules are installed.
67733 * nss/getXXbyYY_r.c: Likewise.
67734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
67735
67736 * nss/nss_files/files-parse.c: Whitespace fixes.
67737
67738 2010-08-09 Ulrich Drepper <drepper@redhat.com>
67739
67740 [BZ #11883]
67741 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
67742 * posix/fnmatch_loop.c: Likewise.
67743
67744 2010-07-17 Andi Kleen <ak@linux.intel.com>
67745
67746 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
67747 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
67748 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
67749 * Versions.def [GLIBC_2.13]: Add.
67750
67751 2010-08-06 Ulrich Drepper <drepper@redhat.com>
67752
67753 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
67754 Also fail if tpwd after pwuid call is NULL.
67755
67756 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
67757
67758 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
67759 when converting to ms.
67760
67761 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
67762
67763 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
67764 EOPNOTSUPP errors with ENOTTY.
67765 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
67766 EOPNOTSUPP errors with ENOTTY.
67767
67768 2010-07-31 Ulrich Drepper <drepper@redhat.com>
67769
67770 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
67771 Add strcasecmp_l-ssse3.
67772 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
67773 strcasecmp.
67774 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
67775 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
67776 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
67777
67778 2010-07-30 Ulrich Drepper <drepper@redhat.com>
67779
67780 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
67781
67782 * string/Makefile (strop-tests): Add strcasecmp.
67783 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
67784 strcasecmp_l-nonascii.
67785 (gen-as-const-headers): Add locale-defines.sym.
67786 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
67787 * sysdeps/x86_64/strcasecmp.S: New file.
67788 * sysdeps/x86_64/strcasecmp_l.S: New file.
67789 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
67790 * sysdeps/x86_64/locale-defines.sym: New file.
67791 * string/test-strcasecmp.c: New file.
67792
67793 * string/test-strcasestr.c: Test both ends of the range of characters.
67794 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
67795
67796 2010-07-29 Roland McGrath <roland@redhat.com>
67797
67798 [BZ #11856]
67799 * manual/locale.texi (Yes-or-No Questions): Fix example code.
67800
67801 2010-07-27 Ulrich Drepper <drepper@redhat.com>
67802
67803 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
67804 for ld.so.
67805
67806 2010-07-27 Andreas Schwab <schwab@redhat.com>
67807
67808 * manual/memory.texi (Malloc Tunable Parameters): Document
67809 M_PERTURB.
67810
67811 2010-07-26 Roland McGrath <roland@redhat.com>
67812
67813 [BZ #11840]
67814 * configure.in (-fgnu89-inline check): Set and substitute
67815 gnu89_inline, not libc_cv_gnu89_inline.
67816 * configure: Regenerated.
67817 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
67818
67819 2010-07-26 Ulrich Drepper <drepper@redhat.com>
67820
67821 * string/test-strnlen.c: New file.
67822 * string/Makefile (strop-tests): Add strnlen.
67823 * string/tester.c (test_strnlen): Add a few more test cases.
67824 * string/tst-strlen.c: Better error reporting.
67825
67826 * sysdeps/x86_64/strnlen.S: New file.
67827
67828 2010-07-24 Ulrich Drepper <drepper@redhat.com>
67829
67830 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
67831 lower-latency instructions.
67832
67833 2010-07-23 Ulrich Drepper <drepper@redhat.com>
67834
67835 * string/test-strcasestr.c: New file.
67836 * string/test-strstr.c: New file.
67837 * string/Makefile (strop-tests): Add strstr and strcasestr.
67838 * string/str-two-way.h: Don't undefine MAX.
67839 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
67840
67841 2010-07-21 Andreas Schwab <schwab@redhat.com>
67842
67843 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67844 strcasestr-nonascii.
67845 (CFLAGS-strcasestr-nonascii.c): Define.
67846 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
67847 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
67848 Remove unused attribute.
67849
67850 2010-07-20 Roland McGrath <roland@redhat.com>
67851
67852 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
67853 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
67854 ld.so.cache was broken. With it, there is no way to disable dsocaps
67855 like LD_HWCAP_MASK can disable hwcaps.
67856
67857 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
67858
67859 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
67860
67861 2010-07-16 Ulrich Drepper <drepper@redhat.com>
67862
67863 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
67864 call in strcasestr.
67865 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
67866 __strcasestr_sse42_nonascii.
67867 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
67868 strcasestr-nonascii.c.
67869 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
67870
67871 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
67872
67873 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
67874 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
67875 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
67876 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
67877
67878 2010-07-09 Ulrich Drepper <drepper@redhat.com>
67879
67880 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
67881 fcntl.
67882
67883 2010-07-06 Andreas Schwab <schwab@redhat.com>
67884
67885 [BZ #11577]
67886 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
67887 dl_signal_cerror.
67888
67889 2010-07-06 Ulrich Drepper <drepper@redhat.com>
67890
67891 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
67892 _PC_PIPE_BUF using F_GETPIPE_SZ.
67893
67894 2010-07-05 Roland McGrath <roland@redhat.com>
67895
67896 * manual/arith.texi (Rounding Functions): Fix rint description
67897 implicit in round description.
67898
67899 2010-07-02 Ulrich Drepper <drepper@redhat.com>
67900
67901 * elf/Makefile: Fix linking for a few tests to make recent linker
67902 happy.
67903
67904 2010-06-30 Andreas Schwab <schwab@redhat.com>
67905
67906 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
67907 $(common-objpfx)libc_nonshared.a.
67908
67909 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
67910
67911 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
67912 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
67913 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
67914 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
67915 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
67916 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
67917 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
67918 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
67919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
67920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
67921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
67922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
67923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
67924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
67925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
67926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
67927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
67928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
67929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
67930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
67931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
67932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
67933 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
67934 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
67935 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
67936 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
67937 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
67938 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
67939 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
67940 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
67941 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
67942 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
67943 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
67944 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
67945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
67946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
67947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
67948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
67949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
67950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
67951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
67952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
67953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
67954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
67955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
67956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
67957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
67958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
67959
67960 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
67961
67962 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
67963 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
67964 * string/memmove.c (memmove): Renamed to ...
67965 (MEMMOVE): ...this. Default to memmove.
67966 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
67967 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
67968 (END_CHK): Define.
67969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67970 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
67971 mempcpy-ssse3-back memmove-ssse3-back.
67972 * sysdeps/x86_64/multiarch/bcopy.S: New file .
67973 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
67974 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
67975 * sysdeps/x86_64/multiarch/memcpy.S: New file.
67976 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
67977 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
67978 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
67979 * sysdeps/x86_64/multiarch/memmove.c: New file.
67980 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
67981 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
67982 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
67983 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
67984 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
67985 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
67986 Define.
67987 (index_Fast_Copy_Backward): Define.
67988 (HAS_ARCH_FEATURE): Define.
67989 (HAS_FAST_REP_STRING): Define.
67990 (HAS_FAST_COPY_BACKWARD): Define.
67991
67992 2010-06-21 Andreas Schwab <schwab@redhat.com>
67993
67994 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
67995 Restore proper fallback handling.
67996
67997 2010-06-19 Ulrich Drepper <drepper@redhat.com>
67998
67999 [BZ #11701]
68000 * posix/group_member.c (__group_member): Correct checking loop.
68001
68002 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
68003 OOM in getpwuid_r correctly. Return error number when the caller
68004 should return, otherwise -1.
68005 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
68006 call returning > 0 value.
68007 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
68008
68009 2010-06-07 Andreas Schwab <schwab@redhat.com>
68010
68011 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
68012 libc_nonshared.a from targets in modules-names.
68013
68014 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
68015
68016 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
68017 requires it.
68018
68019 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
68020
68021 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
68022 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
68023 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
68024 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
68025
68026 2010-06-02 Andreas Schwab <schwab@redhat.com>
68027
68028 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
68029
68030 2010-06-14 Ulrich Drepper <drepper@redhat.com>
68031
68032 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
68033 and F_GETPIPE_SZ.
68034 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
68035 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68036 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68037 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68038 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68039 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
68040
68041 2010-06-14 Roland McGrath <roland@redhat.com>
68042
68043 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
68044
68045 2010-06-07 Jakub Jelinek <jakub@redhat.com>
68046
68047 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
68048 __REDIRECT followed by __THROW.
68049 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
68050 * posix/getopt.h (getopt): Likewise.
68051
68052 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
68053
68054 * hurd/lookup-at.c (__file_name_lookup_at): Accept
68055 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
68056 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
68057 in AT_FLAGS.
68058 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
68059 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
68060
68061 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
68062
68063 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
68064
68065 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
68066
68067 [BZ #11640]
68068 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68069 Properly check family and model.
68070
68071 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
68072
68073 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
68074
68075 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
68076
68077 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
68078
68079 2010-05-21 Ulrich Drepper <drepper@redhat.com>
68080
68081 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
68082 symbol reference.
68083
68084 2010-05-19 Andreas Schwab <schwab@redhat.com>
68085
68086 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
68087 symbol reference.
68088
68089 2010-05-21 Andreas Schwab <schwab@redhat.com>
68090
68091 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
68092 and internal_recvmmsg.
68093 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
68094 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
68095 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
68096 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
68097
68098 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
68099 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68100 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68101
68102 2010-05-20 Andreas Schwab <schwab@redhat.com>
68103
68104 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
68105
68106 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
68107
68108 POWER7 optimizations.
68109 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
68110 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
68111
68112 2010-05-19 Ulrich Drepper <drepper@redhat.com>
68113
68114 * version.h: Update for 2.13 development version.
68115
68116 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
68117
68118 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
68119 exceptions. Return 0.
68120
68121 2010-05-07 Roland McGrath <roland@redhat.com>
68122
68123 * elf/ldconfig.c (main): Add a const.
68124
68125 2010-05-06 Ulrich Drepper <drepper@redhat.com>
68126
68127 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
68128 (args_options): Add no-idn option.
68129 (ahosts_keys_int): Add idn_flags to ai_flags.
68130 (parse_option): Handle 'i' option to clear idn_flags.
68131
68132 * malloc/malloc.c (_int_free): Possible race in the most recently
68133 added check. Only act on the data if no current modification
68134 happened.
68135
68136 See ChangeLog.17 for earlier changes.