1 2012-11-07 Roland McGrath <roland@hack.frob.com>
4 * manual/filesys.texi (Directory Entries): Typo fix.
5 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9 * elf/elf.h (EM_AARCH64): New macro.
10 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14 (R_AARCH64_TLSDESC): Likewise.
15 (NT_ARM_TLS): Likewise.
16 (NT_ARM_HW_BREAK): Likewise.
17 (NT_ARM_HW_WATCH): Likewise.
19 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23 (__ieee754_powl): Saturate nonzero exponents with absolute value
24 below 0x1p-79 to +/- 0x1p-79.
25 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28 nonzero exponents with absolute value below 0x1p-32 to +/-
30 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31 (__ieee754_powl): Saturate nonzero exponents with absolute value
32 below 0x1p-79 to +/- 0x1p-79.
33 * math/libm-test.inc (pow_test): Add more tests.
35 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38 _dl_s390_cap_flags with kernel. Increase string length.
39 (_dl_s390_platforms): Add z196 and zEC12.
41 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
44 Change XOPEN21K to XOPEN2K.
46 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
48 * string/memmove.c: Use memcpy when possible.
50 2012-11-06 Andreas Jaeger <aj@suse.de>
52 * po/eo.po: Update from translation team.
54 2012-11-06 Joseph Myers <joseph@codesourcery.com>
57 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58 exponent and small x and y exponents, scale x or y up. Increase
59 by 2 the exponent used in scaling up.
60 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62 * math/libm-test.inc (fma_test): Add more tests.
63 (fma_test_towardzero): Likewise.
64 (fma_test_downward): Likewise.
65 (fma_test_upward): Likewise.
67 2012-11-05 Joseph Myers <joseph@codesourcery.com>
70 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
75 namespace for names of struct fields.
76 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
78 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
79 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
81 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
84 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
86 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
88 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
92 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
95 2012-11-04 Joseph Myers <joseph@codesourcery.com>
98 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
99 definitely overflow as x * y not x * y + z.
100 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
101 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
102 * math/libm-test.inc (fma_test): Add more tests.
103 (fma_test_towardzero): Likewise.
104 (fma_test_downward): Likewise.
105 (fma_test_upward): Likewise.
107 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
111 * include/stub-tag.h: Remove file.
112 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
114 * manual/maint.texi (Porting): Don't reference it.
115 * Makerules ($(objpfx)stubs): Likewise.
116 * dirent/closedir.c: Don't include <stub-tag.h>.
117 * dirent/dirfd.c: Likewise.
118 * dirent/fdopendir.c: Likewise.
119 * dirent/getdents.c: Likewise.
120 * dirent/getdents64.c: Likewise.
121 * dirent/opendir.c: Likewise.
122 * dirent/readdir.c: Likewise.
123 * dirent/readdir64.c: Likewise.
124 * dirent/readdir64_r.c: Likewise.
125 * dirent/readdir_r.c: Likewise.
126 * dirent/rewinddir.c: Likewise.
127 * dirent/seekdir.c: Likewise.
128 * dirent/telldir.c: Likewise.
129 * gmon/profil.c: Likewise.
130 * grp/setgroups.c: Likewise.
131 * inet/if_index.c: Likewise.
132 * io/access.c: Likewise.
133 * io/chdir.c: Likewise.
134 * io/chmod.c: Likewise.
135 * io/chown.c: Likewise.
136 * io/close.c: Likewise.
137 * io/dup.c: Likewise.
138 * io/dup2.c: Likewise.
139 * io/dup3.c: Likewise.
140 * io/euidaccess.c: Likewise.
141 * io/faccessat.c: Likewise.
142 * io/fchdir.c: Likewise.
143 * io/fchmod.c: Likewise.
144 * io/fchmodat.c: Likewise.
145 * io/fchown.c: Likewise.
146 * io/fchownat.c: Likewise.
147 * io/fcntl.c: Likewise.
148 * io/flock.c: Likewise.
149 * io/fstatfs.c: Likewise.
150 * io/fstatfs64.c: Likewise.
151 * io/fstatvfs.c: Likewise.
152 * io/fstatvfs64.c: Likewise.
153 * io/futimens.c: Likewise.
154 * io/fxstat.c: Likewise.
155 * io/fxstat64.c: Likewise.
156 * io/fxstatat.c: Likewise.
157 * io/fxstatat64.c: Likewise.
158 * io/getcwd.c: Likewise.
159 * io/isatty.c: Likewise.
160 * io/lchmod.c: Likewise.
161 * io/lchown.c: Likewise.
162 * io/link.c: Likewise.
163 * io/linkat.c: Likewise.
164 * io/lseek.c: Likewise.
165 * io/lseek64.c: Likewise.
166 * io/lxstat64.c: Likewise.
167 * io/mkdir.c: Likewise.
168 * io/mkdirat.c: Likewise.
169 * io/mkfifo.c: Likewise.
170 * io/mkfifoat.c: Likewise.
171 * io/open.c: Likewise.
172 * io/open64.c: Likewise.
173 * io/openat.c: Likewise.
174 * io/openat64.c: Likewise.
175 * io/pipe.c: Likewise.
176 * io/pipe2.c: Likewise.
177 * io/poll.c: Likewise.
178 * io/posix_fadvise.c: Likewise.
179 * io/posix_fadvise64.c: Likewise.
180 * io/posix_fallocate.c: Likewise.
181 * io/posix_fallocate64.c: Likewise.
182 * io/read.c: Likewise.
183 * io/readlink.c: Likewise.
184 * io/readlinkat.c: Likewise.
185 * io/rmdir.c: Likewise.
186 * io/sendfile.c: Likewise.
187 * io/sendfile64.c: Likewise.
188 * io/statfs.c: Likewise.
189 * io/statfs64.c: Likewise.
190 * io/statvfs.c: Likewise.
191 * io/statvfs64.c: Likewise.
192 * io/symlink.c: Likewise.
193 * io/symlinkat.c: Likewise.
194 * io/ttyname.c: Likewise.
195 * io/ttyname_r.c: Likewise.
196 * io/umask.c: Likewise.
197 * io/unlink.c: Likewise.
198 * io/unlinkat.c: Likewise.
199 * io/utime.c: Likewise.
200 * io/utimensat.c: Likewise.
201 * io/write.c: Likewise.
202 * io/xmknod.c: Likewise.
203 * io/xmknodat.c: Likewise.
204 * io/xstat.c: Likewise.
205 * io/xstat64.c: Likewise.
206 * login/getpt.c: Likewise.
207 * login/grantpt.c: Likewise.
208 * login/unlockpt.c: Likewise.
209 * math/e_acoshl.c: Likewise.
210 * math/e_acosl.c: Likewise.
211 * math/e_asinl.c: Likewise.
212 * math/e_atan2l.c: Likewise.
213 * math/e_atanhl.c: Likewise.
214 * math/e_coshl.c: Likewise.
215 * math/e_expl.c: Likewise.
216 * math/e_fmodl.c: Likewise.
217 * math/e_gammal_r.c: Likewise.
218 * math/e_hypotl.c: Likewise.
219 * math/e_j0l.c: Likewise.
220 * math/e_j1l.c: Likewise.
221 * math/e_jnl.c: Likewise.
222 * math/e_lgammal_r.c: Likewise.
223 * math/e_log10l.c: Likewise.
224 * math/e_log2l.c: Likewise.
225 * math/e_logl.c: Likewise.
226 * math/e_powl.c: Likewise.
227 * math/e_rem_pio2l.c: Likewise.
228 * math/e_sinhl.c: Likewise.
229 * math/e_sqrtl.c: Likewise.
230 * math/fclrexcpt.c: Likewise.
231 * math/fedisblxcpt.c: Likewise.
232 * math/feenablxcpt.c: Likewise.
233 * math/fegetenv.c: Likewise.
234 * math/fegetexcept.c: Likewise.
235 * math/fegetround.c: Likewise.
236 * math/feholdexcpt.c: Likewise.
237 * math/fesetenv.c: Likewise.
238 * math/fesetround.c: Likewise.
239 * math/feupdateenv.c: Likewise.
240 * math/fgetexcptflg.c: Likewise.
241 * math/fraiseexcpt.c: Likewise.
242 * math/fsetexcptflg.c: Likewise.
243 * math/ftestexcept.c: Likewise.
244 * math/k_cosl.c: Likewise.
245 * math/k_rem_pio2l.c: Likewise.
246 * math/k_sinl.c: Likewise.
247 * math/k_tanl.c: Likewise.
248 * math/s_asinhl.c: Likewise.
249 * math/s_atanl.c: Likewise.
250 * math/s_cbrtl.c: Likewise.
251 * math/s_erfl.c: Likewise.
252 * math/s_expm1l.c: Likewise.
253 * math/s_log1pl.c: Likewise.
254 * math/s_tanhl.c: Likewise.
255 * misc/acct.c: Likewise.
256 * misc/brk.c: Likewise.
257 * misc/chflags.c: Likewise.
258 * misc/chroot.c: Likewise.
259 * misc/fchflags.c: Likewise.
260 * misc/fgetxattr.c: Likewise.
261 * misc/flistxattr.c: Likewise.
262 * misc/fremovexattr.c: Likewise.
263 * misc/fsetxattr.c: Likewise.
264 * misc/fsync.c: Likewise.
265 * misc/ftruncate.c: Likewise.
266 * misc/futimes.c: Likewise.
267 * misc/futimesat.c: Likewise.
268 * misc/getdomain.c: Likewise.
269 * misc/getdtsz.c: Likewise.
270 * misc/gethostid.c: Likewise.
271 * misc/gethostname.c: Likewise.
272 * misc/getloadavg.c: Likewise.
273 * misc/getpagesize.c: Likewise.
274 * misc/getsysstats.c: Likewise.
275 * misc/getxattr.c: Likewise.
276 * misc/gtty.c: Likewise.
277 * misc/ioctl.c: Likewise.
278 * misc/lgetxattr.c: Likewise.
279 * misc/listxattr.c: Likewise.
280 * misc/llistxattr.c: Likewise.
281 * misc/lremovexattr.c: Likewise.
282 * misc/lsetxattr.c: Likewise.
283 * misc/lutimes.c: Likewise.
284 * misc/madvise.c: Likewise.
285 * misc/mincore.c: Likewise.
286 * misc/mlock.c: Likewise.
287 * misc/mlockall.c: Likewise.
288 * misc/mmap.c: Likewise.
289 * misc/mprotect.c: Likewise.
290 * misc/msync.c: Likewise.
291 * misc/munlock.c: Likewise.
292 * misc/munlockall.c: Likewise.
293 * misc/munmap.c: Likewise.
294 * misc/preadv.c: Likewise.
295 * misc/preadv64.c: Likewise.
296 * misc/ptrace.c: Likewise.
297 * misc/pwritev.c: Likewise.
298 * misc/pwritev64.c: Likewise.
299 * misc/readv.c: Likewise.
300 * misc/reboot.c: Likewise.
301 * misc/remap_file_pages.c: Likewise.
302 * misc/removexattr.c: Likewise.
303 * misc/revoke.c: Likewise.
304 * misc/select.c: Likewise.
305 * misc/setdomain.c: Likewise.
306 * misc/setegid.c: Likewise.
307 * misc/seteuid.c: Likewise.
308 * misc/sethostid.c: Likewise.
309 * misc/sethostname.c: Likewise.
310 * misc/setregid.c: Likewise.
311 * misc/setreuid.c: Likewise.
312 * misc/setxattr.c: Likewise.
313 * misc/sstk.c: Likewise.
314 * misc/stty.c: Likewise.
315 * misc/swapoff.c: Likewise.
316 * misc/swapon.c: Likewise.
317 * misc/sync.c: Likewise.
318 * misc/syncfs.c: Likewise.
319 * misc/syscall.c: Likewise.
320 * misc/truncate.c: Likewise.
321 * misc/ualarm.c: Likewise.
322 * misc/usleep.c: Likewise.
323 * misc/ustat.c: Likewise.
324 * misc/utimes.c: Likewise.
325 * misc/vhangup.c: Likewise.
326 * misc/writev.c: Likewise.
327 * posix/_exit.c: Likewise.
328 * posix/alarm.c: Likewise.
329 * posix/execve.c: Likewise.
330 * posix/fexecve.c: Likewise.
331 * posix/fork.c: Likewise.
332 * posix/fpathconf.c: Likewise.
333 * posix/getaddrinfo.c: Likewise.
334 * posix/getegid.c: Likewise.
335 * posix/geteuid.c: Likewise.
336 * posix/getgid.c: Likewise.
337 * posix/getgroups.c: Likewise.
338 * posix/getlogin.c: Likewise.
339 * posix/getlogin_r.c: Likewise.
340 * posix/getpgid.c: Likewise.
341 * posix/getpid.c: Likewise.
342 * posix/getppid.c: Likewise.
343 * posix/getresgid.c: Likewise.
344 * posix/getresuid.c: Likewise.
345 * posix/getsid.c: Likewise.
346 * posix/getuid.c: Likewise.
347 * posix/glob64.c: Likewise.
348 * posix/nanosleep.c: Likewise.
349 * posix/pathconf.c: Likewise.
350 * posix/pause.c: Likewise.
351 * posix/posix_madvise.c: Likewise.
352 * posix/pread.c: Likewise.
353 * posix/pread64.c: Likewise.
354 * posix/pwrite.c: Likewise.
355 * posix/pwrite64.c: Likewise.
356 * posix/sched_getaffinity.c: Likewise.
357 * posix/sched_getp.c: Likewise.
358 * posix/sched_gets.c: Likewise.
359 * posix/sched_primax.c: Likewise.
360 * posix/sched_primin.c: Likewise.
361 * posix/sched_rr_gi.c: Likewise.
362 * posix/sched_setaffinity.c: Likewise.
363 * posix/sched_setp.c: Likewise.
364 * posix/sched_sets.c: Likewise.
365 * posix/sched_yield.c: Likewise.
366 * posix/setgid.c: Likewise.
367 * posix/setlogin.c: Likewise.
368 * posix/setpgid.c: Likewise.
369 * posix/setresgid.c: Likewise.
370 * posix/setresuid.c: Likewise.
371 * posix/setsid.c: Likewise.
372 * posix/setuid.c: Likewise.
373 * posix/sleep.c: Likewise.
374 * posix/spawni.c: Likewise.
375 * posix/sysconf.c: Likewise.
376 * posix/times.c: Likewise.
377 * posix/wait.c: Likewise.
378 * posix/wait3.c: Likewise.
379 * posix/wait4.c: Likewise.
380 * posix/waitpid.c: Likewise.
381 * resolv/gai_sigqueue.c: Likewise.
382 * resource/getpriority.c: Likewise.
383 * resource/getrlimit.c: Likewise.
384 * resource/getrusage.c: Likewise.
385 * resource/nice.c: Likewise.
386 * resource/setpriority.c: Likewise.
387 * resource/setrlimit.c: Likewise.
388 * resource/ulimit.c: Likewise.
389 * rt/aio_cancel.c: Likewise.
390 * rt/aio_fsync.c: Likewise.
391 * rt/aio_read.c: Likewise.
392 * rt/aio_sigqueue.c: Likewise.
393 * rt/aio_suspend.c: Likewise.
394 * rt/aio_write.c: Likewise.
395 * rt/clock_getres.c: Likewise.
396 * rt/clock_gettime.c: Likewise.
397 * rt/clock_nanosleep.c: Likewise.
398 * rt/clock_settime.c: Likewise.
399 * rt/lio_listio.c: Likewise.
400 * rt/mq_close.c: Likewise.
401 * rt/mq_getattr.c: Likewise.
402 * rt/mq_notify.c: Likewise.
403 * rt/mq_open.c: Likewise.
404 * rt/mq_receive.c: Likewise.
405 * rt/mq_send.c: Likewise.
406 * rt/mq_setattr.c: Likewise.
407 * rt/mq_timedreceive.c: Likewise.
408 * rt/mq_timedsend.c: Likewise.
409 * rt/mq_unlink.c: Likewise.
410 * rt/shm_open.c: Likewise.
411 * rt/shm_unlink.c: Likewise.
412 * rt/timer_create.c: Likewise.
413 * rt/timer_delete.c: Likewise.
414 * rt/timer_getoverr.c: Likewise.
415 * rt/timer_gettime.c: Likewise.
416 * rt/timer_settime.c: Likewise.
417 * setjmp/__longjmp.c: Likewise.
418 * setjmp/setjmp.c: Likewise.
419 * signal/kill.c: Likewise.
420 * signal/killpg.c: Likewise.
421 * signal/raise.c: Likewise.
422 * signal/sigaction.c: Likewise.
423 * signal/sigaltstack.c: Likewise.
424 * signal/sigblock.c: Likewise.
425 * signal/sigignore.c: Likewise.
426 * signal/sigintr.c: Likewise.
427 * signal/signal.c: Likewise.
428 * signal/sigpause.c: Likewise.
429 * signal/sigpending.c: Likewise.
430 * signal/sigqueue.c: Likewise.
431 * signal/sigreturn.c: Likewise.
432 * signal/sigset.c: Likewise.
433 * signal/sigsetmask.c: Likewise.
434 * signal/sigstack.c: Likewise.
435 * signal/sigsuspend.c: Likewise.
436 * signal/sigtimedwait.c: Likewise.
437 * signal/sigvec.c: Likewise.
438 * signal/sigwait.c: Likewise.
439 * signal/sigwaitinfo.c: Likewise.
440 * signal/sysv_signal.c: Likewise.
441 * socket/accept.c: Likewise.
442 * socket/accept4.c: Likewise.
443 * socket/bind.c: Likewise.
444 * socket/connect.c: Likewise.
445 * socket/getpeername.c: Likewise.
446 * socket/getsockname.c: Likewise.
447 * socket/getsockopt.c: Likewise.
448 * socket/isfdtype.c: Likewise.
449 * socket/listen.c: Likewise.
450 * socket/recv.c: Likewise.
451 * socket/recvfrom.c: Likewise.
452 * socket/recvmsg.c: Likewise.
453 * socket/send.c: Likewise.
454 * socket/sendmsg.c: Likewise.
455 * socket/sendto.c: Likewise.
456 * socket/setsockopt.c: Likewise.
457 * socket/shutdown.c: Likewise.
458 * socket/sockatmark.c: Likewise.
459 * socket/socket.c: Likewise.
460 * socket/socketpair.c: Likewise.
461 * stdio-common/ctermid.c: Likewise.
462 * stdio-common/cuserid.c: Likewise.
463 * stdio-common/remove.c: Likewise.
464 * stdio-common/rename.c: Likewise.
465 * stdio-common/renameat.c: Likewise.
466 * stdio-common/tempname.c: Likewise.
467 * stdlib/getcontext.c: Likewise.
468 * stdlib/makecontext.c: Likewise.
469 * stdlib/setcontext.c: Likewise.
470 * stdlib/swapcontext.c: Likewise.
471 * stdlib/system.c: Likewise.
472 * streams/fattach.c: Likewise.
473 * streams/fdetach.c: Likewise.
474 * streams/getmsg.c: Likewise.
475 * streams/getpmsg.c: Likewise.
476 * streams/putmsg.c: Likewise.
477 * streams/putpmsg.c: Likewise.
478 * sysdeps/unix/bsd/getpt.c: Likewise.
479 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
480 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
481 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
484 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
485 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
486 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
487 * sysvipc/msgctl.c: Likewise.
488 * sysvipc/msgget.c: Likewise.
489 * sysvipc/msgrcv.c: Likewise.
490 * sysvipc/msgsnd.c: Likewise.
491 * sysvipc/semctl.c: Likewise.
492 * sysvipc/semget.c: Likewise.
493 * sysvipc/semop.c: Likewise.
494 * sysvipc/semtimedop.c: Likewise.
495 * sysvipc/shmat.c: Likewise.
496 * sysvipc/shmctl.c: Likewise.
497 * sysvipc/shmdt.c: Likewise.
498 * sysvipc/shmget.c: Likewise.
499 * termios/tcdrain.c: Likewise.
500 * termios/tcflow.c: Likewise.
501 * termios/tcflush.c: Likewise.
502 * termios/tcgetattr.c: Likewise.
503 * termios/tcgetpgrp.c: Likewise.
504 * termios/tcsendbrk.c: Likewise.
505 * termios/tcsetattr.c: Likewise.
506 * termios/tcsetpgrp.c: Likewise.
507 * time/adjtime.c: Likewise.
508 * time/clock.c: Likewise.
509 * time/getitimer.c: Likewise.
510 * time/gettimeofday.c: Likewise.
511 * time/setitimer.c: Likewise.
512 * time/settimeofday.c: Likewise.
513 * time/stime.c: Likewise.
514 * time/time.c: Likewise.
516 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
518 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
521 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
523 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
525 2012-11-03 Joseph Myers <joseph@codesourcery.com>
528 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
529 FE_TONEAREST before applying Dekker multiplication and Knuth
530 addition. Clear inexact exceptions and check for exact zero
532 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
533 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
534 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
535 * math/libm-test.inc (fma_test): Add more tests.
536 (fma_test_towardzero): Likewise.
537 (fma_test_downward): Likewise.
538 (fma_test_upward): Likewise.
539 * sysdeps/generic/math_private.h (default_libc_fesetround): New
541 (libc_fesetround): New macro.
542 (libc_fesetroundf): Likewise.
543 (libc_fesetroundl): Likewise.
544 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
546 (libc_fesetround_387): Likewise.
547 (libc_fesetroundf): New macro.
548 (libc_fesetround): Likewise.
549 (libc_fesetroundl): Likewise.
550 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
552 (libc_fesetroundf): New macro.
553 (libc_fesetround): Likewise.
554 (libc_fesetroundl): Likewise.
555 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
556 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
557 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
559 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
560 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
562 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
563 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
565 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
569 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
570 integer constant usable in #if and use that to give value to enum
572 (FE_DIVBYZERO): Likewise.
573 (FE_UNDERFLOW): Likewise.
574 (FE_OVERFLOW): Likewise.
575 (FE_INVALID): Likewise.
576 (FE_INVALID_SNAN): Likewise.
577 (FE_INVALID_ISI): Likewise.
578 (FE_INVALID_IDI): Likewise.
579 (FE_INVALID_ZDZ): Likewise.
580 (FE_INVALID_IMZ): Likewise.
581 (FE_INVALID_COMPARE): Likewise.
582 (FE_INVALID_SOFTWARE): Likewise.
583 (FE_INVALID_SQRT): Likewise.
584 (FE_INVALID_INTEGER_CONVERSION): Likewise.
585 (FE_TONEAREST): Likewise.
586 (FE_TOWARDZERO): Likewise.
587 (FE_UPWARD): Likewise.
588 (FE_DOWNWARD): Likewise.
589 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
590 (FE_DIVBYZERO): Likewise.
591 (FE_OVERFLOW): Likewise.
592 (FE_UNDERFLOW): Likewise.
593 (FE_INEXACT): Likewise.
594 (FE_TONEAREST): Likewise.
595 (FE_DOWNWARD): Likewise.
596 (FE_UPWARD): Likewise.
597 (FE_TOWARDZERO): Likewise.
598 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
599 (FE_UNDERFLOW): Likewise.
600 (FE_OVERFLOW): Likewise.
601 (FE_DIVBYZERO): Likewise.
602 (FE_INVALID): Likewise.
603 (FE_TONEAREST): Likewise.
604 (FE_TOWARDZERO): Likewise.
605 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
606 (FE_OVERFLOW): Likewise.
607 (FE_UNDERFLOW): Likewise.
608 (FE_DIVBYZERO): Likewise.
609 (FE_INEXACT): Likewise.
610 (FE_TONEAREST): Likewise.
611 (FE_TOWARDZERO): Likewise.
612 (FE_UPWARD): Likewise.
613 (FE_DOWNWARD): Likewise.
614 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
615 (FE_DIVBYZERO): Likewise.
616 (FE_OVERFLOW): Likewise.
617 (FE_UNDERFLOW): Likewise.
618 (FE_INEXACT): Likewise.
619 (FE_TONEAREST): Likewise.
620 (FE_DOWNWARD): Likewise.
621 (FE_UPWARD): Likewise.
622 (FE_TOWARDZERO): Likewise.
624 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
626 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
628 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
630 * scripts/cross-test-ssh.sh (command): Use newlines to separate
631 commands. Quote $PWD.
632 (blacklist_exports): Don't use remove_newlines. Replace "declare
634 (remove_newlines): Remove.
636 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
638 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
639 * stdlib/stdlib.h (atof): Moved to ...
640 * include/bits/stdlib-float.h: Here. New file.
641 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
642 * stdlib/bits/stdlib-float.h: New file.
643 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
645 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
648 2012-11-02 Joseph Myers <joseph@codesourcery.com>
650 * conform/conformtest.pl (@headers): Add fenv.h.
651 * conform/data/fenv.h-data: New file.
652 * include/fenv.h [_ISOMAC]: Disable all contents of file except
653 include of <math/fenv.h>.
655 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
656 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
657 && !UNIX98]. Enables tests for XOPEN2K8.
658 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
659 POSIX2008]: Likewise.
661 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
662 (struct rusage): Do not expect type or its members.
665 * math/math.h (FP_NAN): Define macro to integer constant usable in
666 #if and use that to give value to enum constant.
667 (FP_INFINITE): Likewise.
669 (FP_SUBNORMAL): Likewise.
670 (FP_NORMAL): Likewise.
672 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
674 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
675 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
678 2012-11-02 Roland McGrath <roland@hack.frob.com>
680 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
681 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
682 autoconf-time if not.
683 * configure.in: Remove AC_PREREQ.
685 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
687 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
688 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
689 of the internal implementation.
691 2012-11-02 Joseph Myers <joseph@codesourcery.com>
693 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
694 except include of <misc/sys/syslog.h>.
696 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
699 function returns with a NULL context exit with zero.
701 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
703 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
705 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
707 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
708 (run_program_cmd): This.
709 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
710 (tst_langinfo): New variable. Use it.
712 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
714 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
715 floating point opcodes.
717 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
719 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
722 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
724 * sysdeps/mach/hurd/powerpc: Remove directory.
725 * sysdeps/mach/powerpc: Likewise.
727 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
729 * scripts/check-local-headers.sh: Ignore c++ headers.
731 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
733 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
734 __libc_cleanup_region_start argument.
736 2012-11-01 Joseph Myers <joseph@codesourcery.com>
740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
741 x * y using scaling, not as x * y + z.
742 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
743 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
744 * math/libm-test.inc (fma_test): Add more tests.
745 (fma_test_towardzero): Likewise.
746 (fma_test_downward): Likewise.
747 (fma_test_upward): Likewise.
749 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
751 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
753 2012-10-31 Joseph Myers <joseph@codesourcery.com>
755 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
758 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
760 * rt/tst-shm.c (worker): Correct checking for mmap failure.
762 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
769 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
772 Fix the order of the list for glibc 2.17.
773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
776 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
780 2012-10-31 Joseph Myers <joseph@codesourcery.com>
783 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
784 for low part of x being zero before using __atanl (y).
785 * math/libm-test.inc (atan2_test): Add another test.
787 * manual/install.texi (Configuring and compiling): Document
788 general use of test-wrapper and test-wrapper-env.
789 * INSTALL: Regenerated.
791 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
792 (__fma): Do not extract and scale down low bits on after-rounding
793 systems when result rounded to normal precision would have normal
795 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
796 (__fmal): Do not extract and scale down low bits on after-rounding
797 systems when result rounded to normal precision would have normal
799 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
800 (__fmal): Do not extract and scale down low bits on after-rounding
801 systems when result rounded to normal precision would have normal
803 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
805 (fma_test): Add more tests.
806 (fma_test_towardzero): Likewise.
807 (fma_test_downward): Likewise.
808 (fma_test_upward): Likewise.
810 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
812 * sysdeps/i386/tininess.h: Renamed to ...
813 * sysdeps/x86/tininess.h: This.
814 * sysdeps/x86_64/tininess.h: Removed.
816 2012-10-30 Joseph Myers <joseph@codesourcery.com>
818 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
819 input. Use $(build-program-cmd).
820 ($(objpfx)tst-array1-static.out): Likewise.
821 ($(objpfx)tst-array2.out): Likewise.
822 ($(objpfx)tst-array3.out): Likewise.
823 ($(objpfx)tst-array4.out): Likewise.
824 ($(objpfx)tst-array5.out): Likewise.
825 ($(objpfx)tst-array5-static.out): Likewise.
827 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
829 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
832 * nss/nsswitch.h (nss_interface_function): Provide new
833 macro for use with NSS functions.
834 * grp/initgroups.c: Use new macro.
835 * nss/getXXbyYY.c: Likewise.
836 * nss/getXXbyYY_r.c: Likewise.
837 * nss/getXXent.c: Likewise.
838 * nss/getXXent_r.c: Likewise.
839 * sysdeps/posix/getaddrinfo.c: Likewise.
841 2012-10-30 Andreas Jaeger <aj@suse.de>
843 * po/ru.po: Update Russion translation from translation project.
845 2012-10-30 Joseph Myers <joseph@codesourcery.com>
849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
850 result and shift together with sticky bit instead of replicating
851 round-to-nearest rounding.
852 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
853 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
854 * math/libm-test.inc (fma_test): Add more tests. Do not permit
855 missing underflow exceptions.
856 (fma_test_towardzero): Add more tests.
857 (fma_test_downward): Likewise.
858 (fma_test_upward): Likewise.
861 * sysdeps/generic/tininess.h: New file.
862 * sysdeps/i386/tininess.h: Likewise.
863 * sysdeps/sh/tininess.h: Likewise.
864 * sysdeps/x86_64/tininess.h: Likewise.
865 * stdlib/tst-strtod-underflow.c: Likewise.
866 * stdlib/tst-tininess.c: Likewise.
867 * stdlib/strtod_l.c: Include <tininess.h>.
868 (round_and_return): Do not set errno for exact underflow cases.
869 Force an underflow exception when setting errno for underflow.
870 Determine underflow based on rounding to normal precision if
871 TININESS_AFTER_ROUNDING.
872 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
873 ERANGE for exact underflow cases.
874 * stdlib/Makefile (tests): Add tst-tininess and
875 tst-strtod-underflow.
876 ($(objpfx)tst-tininess): Use $(link-libm).
877 ($(objpfx)tst-strtod-underflow): Likewise.
879 2012-10-30 Andreas Jaeger <aj@suse.de>
882 * elf/Makefile (tests): Remove conditional for have-initfini-array
883 since this is now always required and the variable does not exist
885 (tests-static): Likewise.
886 (modules-names): Likewise.
888 * po/eo.po: Add Esperanto translation from translation project.
890 * elf/tst-array1.c (fini_array): Make writeable so that it can be
891 merged with constructor/destructor.
892 (init_array): Likewise.
893 * elf/tst-array2dep.c (fini_array): Likewise.
894 (init_array): Likewise.
896 2012-10-29 Mike Frysinger <vapier@gentoo.org>
898 * manual/message.texi: Delete @cartouche tags.
900 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
902 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
904 * sysdeps/mach/hurd/fsync.c: Likewise.
906 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
907 [_POSIX_REALTIME_SIGNALS]: Change condition to
908 [_POSIX_REALTIME_SIGNALS > 0].
910 2012-10-27 Andreas Jaeger <aj@suse.de>
912 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
913 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
914 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
915 [__WORDSIZE != 64]: Likewise.
917 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
919 * iconvdata/tst-table.sh: Remove ${SHELL}.
920 * iconvdata/tst-tables.sh: Likewise.
922 2012-10-25 David S. Miller <davem@davemloft.net>
924 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
925 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
928 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
930 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
931 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
932 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
935 2012-10-25 Roland McGrath <roland@hack.frob.com>
937 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
938 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
941 2012-10-25 Joseph Myers <joseph@codesourcery.com>
942 Jim Blandy <jimb@codesourcery.com>
944 * scripts/cross-test-ssh.sh: New file.
945 * manual/install.texi (Configuring and compiling): Document use of
947 * INSTALL: Regenerated.
949 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
951 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
954 2012-10-25 Joseph Myers <joseph@codesourcery.com>
956 * Makeconfig (run-program-prefix): Fix comment.
958 2012-10-24 Joseph Myers <joseph@codesourcery.com>
959 Jim Blandy <jimb@codesourcery.com>
961 * Makeconfig (test-wrapper): New variable,
962 (test-wrapper-env): Likewise.
963 [$(cross-compiling) = yes && $(test-wrapper) != ""]
964 (run-built-tests): Define to yes.
965 (run-program-prefix): Use $(test-wrapper).
966 (built-program-cmd): Likewise.
967 * Rules (make-test-out): Use $(test-wrapper-env) and
968 $(host-built-program-cmd).
969 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
970 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
972 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
973 $(test-wrapper-env) to tst-rtld-load-self.sh.
974 ($(objpfx)order2.out): Use $(test-wrapper).
975 ($(objpfx)tst-initorder.out): Likewise.
976 ($(objpfx)tst-initorder2.out): Likewise.
977 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
978 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
979 (test_wrapper_env): New variable. Use it to run ld.so.
980 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
982 (test_wrapper_env): Likewise.
983 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
984 $(test-wrapper) to run-iconv-test.sh.
985 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
986 (ICONV): Use $test_wrapper.
987 * posix/Makefile ($(objpfx)globtest.out): Pass
988 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
989 globtest.sh, not $(run-program-prefix).
990 * posix/globtest.sh (run_via_rtld_prefix): New variable.
991 (test_wrapper): Likewise.
992 (test_wrapper_env): Likewise. Use it to run globtest with HOME
993 set together with run_via_rtld_prefix.
994 (run_program_prefix): Define in terms of test_wrapper and
997 2012-10-24 Roland McGrath <roland@hack.frob.com>
999 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1000 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1004 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1005 Declare __clock_getres, __clock_gettime, __clock_settime,
1006 __clock_nanosleep, and __clock_getcpuclockid.
1007 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1008 Remove librt_hidden_def (clock_gettime).
1009 * sysdeps/unix/clock_gettime.c: Likewise.
1010 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1011 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1012 * rt/clock_getres.c: Define __clock_getres as an alias.
1013 * sysdeps/posix/clock_getres.c: Likewise.
1014 * rt/clock_settime.c: Define __clock_settime as an alias.
1015 * sysdeps/unix/clock_settime.c: Likewise.
1016 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1017 * sysdeps/unix/clock_nanosleep.c: Likewise.
1018 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1019 * rt/clock-compat.c: New file.
1020 * rt/Makefile (librt-routines): Add clock-compat and move
1021 $(clock-routines) to ...
1022 (routines): ... here, new variable.
1023 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1024 Don't add get_clockfreq here.
1025 * rt/Versions (libc: GLIBC_2.17): New version set.
1026 Add clock_* symbols here.
1027 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1028 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1029 (GLIBC_2.17): Add clock_* symbols.
1030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1032 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1041 * NEWS: Mention the move.
1043 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1044 Use __open, __read, __close rather than their public counterparts.
1045 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1046 (__get_clockfreq_via_cpuinfo): Likewise.
1047 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1048 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1050 * config.h.in (HAVE_IFUNC): New #undef.
1051 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1053 * configure: Regenerated.
1055 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1057 * configure.in: Move READELF check to start of file.
1058 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1059 libc_cv_asm_gnu_indirect_function in the process.
1060 * configure: Regenerated.
1062 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1064 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1065 send the output to /dev/null.
1066 (libc_cv_cc_with_libunwind): Likewise.
1067 (libc_cv_as_noexecstack): Likewise.
1068 * configure: Regenerate.
1070 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1072 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1074 * posix/globtest.sh (TMPDIR): Do not set.
1075 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1076 (testout): Likewise.
1078 2012-10-24 Andreas Jaeger <aj@suse.de>
1080 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1081 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1082 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1083 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1084 posix_fadvise64, posix_fallocate64.
1086 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1087 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1088 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1090 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1092 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1094 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1095 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1096 <bits/fcntl-linux.h>.
1097 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1099 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1100 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1101 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1102 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1103 [__WORDSIZE != 64]: Likewise.
1105 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1107 * Makeconfig (run-built-tests): New variable.
1108 * Rules [$(cross-compiling) = yes]: Change condition to
1109 [$(run-built-tests) = no].
1110 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1111 to [$(run-built-tests) = yes].
1112 * elf/Makefile [$(cross-compiling) = no]: Likewise
1113 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1114 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1115 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1116 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1117 * io/Makefile [$(cross-compiling) = no]: Likewise.
1118 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1119 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1120 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1121 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1122 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1123 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1124 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1125 * string/Makefile [$(cross-compiling) = no]: Likewise.
1127 * posix/Makefile ($(objpfx)globtest.out): Pass
1128 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1129 $(rtld-installed-name).
1130 * posix/globtest.sh (elf_objpfx): Remove variable.
1131 (rtld_installed_name): Likewise.
1132 (library_path): Likewise.
1133 (run_program_prefix): New variable. Use for running globtest
1136 2012-10-23 Jim Blandy <jimb@codesourcery.com>
1137 Joseph Myers <joseph@codesourcery.com>
1139 * Makeconfig (host-built-program-cmd): New variable.
1140 * elf/Makefile (tst-stackguard1-ARGS): Use
1141 $(host-built-program-cmd).
1142 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1143 (tst-spawn-ARGS): Likewise.
1144 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1146 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1147 Jim Blandy <jimb@codesourcery.com>
1149 * Makeconfig (run-via-rtld-prefix): New variable.
1150 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1151 (built-program-cmd): Likewise.
1153 2012-10-22 Andreas Jaeger <aj@suse.de>
1155 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1156 __O_RSYNC if it exists, otherwise to O_SYNC.
1158 2012-10-22 Jim Blandy <jimb@codesourcery.com>
1159 Joseph Myers <joseph@codesourcery.com>
1161 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1163 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1165 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1168 2012-10-22 Andreas Jaeger <aj@suse.de>
1170 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1172 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1174 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1177 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1178 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1180 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1182 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1185 2012-10-21 Jim Blandy <jimb@codesourcery.com>
1186 Joseph Myers <joseph@codesourcery.com>
1188 * config.make.in (NM): New variable.
1190 2012-10-21 Andreas Jaeger <aj@suse.de>
1192 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1193 definitions and declarations that are provided by
1194 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1196 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1199 * elf/Makefile (tests-static): Add tst-leaks1-static.
1200 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1201 ($(objpfx)tst-leaks1-static): New rule.
1202 ($(objpfx)tst-leaks1-static-mem): Likewise.
1203 (tst-leaks1-static-ENV): New macro.
1204 * elf/dl-open.c (dl_open_worker): Check the main application
1205 only if SHARED is defined.
1206 * elf/tst-leaks1-static.c: New file.
1208 2012-10-20 Andreas Jaeger <aj@suse.de>
1210 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1211 generic values for Linux.
1212 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1213 and declarations that are provided by <bits/fcntl-linux.h> and
1214 include <bits/fcntl-linux.h>.
1215 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1216 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1218 2012-10-20 Roland McGrath <roland@hack.frob.com>
1220 * io/fcntl.h: Move include of <bits/types.h> to the top and
1221 include it unconditionally.
1223 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1225 * wcsmbs/Makefile (tests-ifunc): New variable.
1226 (tests): Add $(tests-ifunc).
1227 * wcsmbs/test-wcschr-ifunc.c: New file.
1228 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1229 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1230 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1231 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1232 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1234 * string/Makefile (tests-ifunc): New variable.
1235 (tests): Add $(tests-ifunc).
1236 * string/test-memccpy.c (TEST_NAME): New macro.
1237 * string/test-memchr.c (TEST_NAME): Likewise.
1238 * string/test-memcmp.c (TEST_NAME): Likewise.
1239 * string/test-memcpy.c (TEST_NAME): Likewise.
1240 * string/test-memmem.c (TEST_NAME): Likewise.
1241 * string/test-memmove.c (TEST_NAME): Likewise.
1242 * string/test-memset.c (TEST_NAME): Likewise.
1243 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1244 * string/test-stpcpy.c (TEST_NAME): Likewise.
1245 * string/test-stpncpy.c (TEST_NAME): Likewise.
1246 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1247 * string/test-strcasestr.c (TEST_NAME): Likewise.
1248 * string/test-strcat.c (TEST_NAME): Likewise.
1249 * string/test-strchr.c (TEST_NAME): Likewise.
1250 * string/test-strcmp.c(TEST_NAME): Likewise.
1251 * string/test-strcpy.c (TEST_NAME): Likewise.
1252 * string/test-strcspn.c (TEST_NAME): Likewise.
1253 * string/test-strlen.c (TEST_NAME): Likewise.
1254 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1255 * string/test-strncmp.c (TEST_NAME): Likewise.
1256 * string/test-strncpy.c (TEST_NAME): Likewise.
1257 * string/test-strnlen.c (TEST_NAME): Likewise.
1258 * string/test-strpbrk.c (TEST_NAME): Likewise.
1259 * string/test-strrchr.c (TEST_NAME): Likewise.
1260 * string/test-strspn.c (TEST_NAME): Likewise.
1261 * string/test-strstr.c (TEST_NAME): Likewise.
1262 * string/test-bcopy-ifunc.c: New file.
1263 * string/test-bzero-ifunc.c: Likewise.
1264 * string/test-memccpy-ifunc.c: Likewise.
1265 * string/test-memchr-ifunc.c: Likewise.
1266 * string/test-memcmp-ifunc.c: Likewise.
1267 * string/test-memcpy-ifunc.c: Likewise.
1268 * string/test-memmem-ifunc.c: Likewise.
1269 * string/test-memmove-ifunc.c: Likewise.
1270 * string/test-mempcpy-ifunc.c: Likewise.
1271 * string/test-memset-ifunc.c: Likewise.
1272 * string/test-rawmemchr-ifunc.c: Likewise.
1273 * string/test-stpcpy-ifunc.c: Likewise.
1274 * string/test-stpncpy-ifunc.c: Likewise.
1275 * string/test-strcasecmp-ifunc.c: Likewise.
1276 * string/test-strcasestr-ifunc.c: Likewise.
1277 * string/test-strcat-ifunc.c: Likewise.
1278 * string/test-strchr-ifunc.c: Likewise.
1279 * string/test-strchrnul-ifunc.c: Likewise.
1280 * string/test-strcmp-ifunc.c: Likewise.
1281 * string/test-strcpy-ifunc.c: Likewise.
1282 * string/test-strcspn-ifunc.c: Likewise.
1283 * string/test-strlen-ifunc.c: Likewise.
1284 * string/test-strncasecmp-ifunc.c: Likewise.
1285 * string/test-strncat-ifunc.c: Likewise.
1286 * string/test-strncmp-ifunc.c: Likewise.
1287 * string/test-strncpy-ifunc.c: Likewise.
1288 * string/test-strnlen-ifunc.c: Likewise.
1289 * string/test-strpbrk-ifunc.c: Likewise.
1290 * string/test-strrchr-ifunc.c: Likewise.
1291 * string/test-strspn-ifunc.c: Likewise.
1292 * string/test-strstr-ifunc.c: Likewise.
1294 * debug/Makefile (tests-ifunc): New variable.
1295 (tests): Add $(tests-ifunc).
1296 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1297 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1298 * debug/test-stpcpy_chk-ifunc.c: New file.
1299 * debug/test-strcpy_chk-ifunc.c: Likewise.
1301 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1304 * elf/dl-load.c (open_verify): Retry read if the entire ELF
1305 header is not read in.
1307 2012-10-19 Joseph Myers <joseph@codesourcery.com>
1309 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
1310 script to $(SHELL) as $<. Pass $(common-objpfx) to script
1311 directly. Pass built executable to script as
1312 $(built-program-cmd).
1313 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
1314 $testprogram without using LD_LIBRARY_PATH and $ldso.
1316 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1317 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1318 $(rtld-installed-name).
1319 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1320 (rtld_installed_name): Likewise.
1321 (library_path): Likewise.
1322 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
1323 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1324 $(run-program-prefix) to tst-tables.sh.
1325 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
1326 it to run tst-table-from and tst-table-to.
1327 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
1328 Pass it to tst-table.sh.
1329 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
1330 $(run-program-prefix) to tst-gettext.sh.
1331 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
1333 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
1335 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
1337 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
1338 to run tst-gettext2.
1339 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
1340 to run tst-translit.
1341 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
1342 $(run-program-prefix) to tst-mtrace.sh.
1343 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
1345 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
1346 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
1347 $(rtld-installed-name).
1348 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
1349 (rtld_installed_name): Likewise.
1350 (run_program_prefix): New variable. Use it to run wordexp-test.
1352 * Makeconfig (ARCH): Remove all definitions.
1353 (machine): Likewise.
1354 [ARCH]: Remove conditional code.
1355 [!objdir]: Give error.
1356 [!objdir] (objpfx): Remove.
1357 [!objdir] (common-objpfx): Likewise.
1358 [!objdir] (common-objdir): Likewise.
1359 * configure.in (config_makefile): Remove. Hardcode Makefile in
1360 AC_CONFIG_FILES call.
1361 * configure: Regenerated.
1364 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
1366 (testout): Likewise.
1368 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
1369 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
1370 $(rtld-installed-name).
1371 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
1372 (rtld_installed_name): Likwise.
1373 (runit): Remove function.
1374 (run_getconf): New variable, Use it for running getconf binary.
1376 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
1379 * string/test-memmem.c (check_result): New function.
1380 (do_one_test): Use it.
1381 (check1): New function.
1382 (test_main): Use it.
1384 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
1386 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
1388 2012-10-18 Joseph Myers <joseph@codesourcery.com>
1390 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
1391 (_G_LSEEK64): Likewise.
1392 (_G_MMAP64): Likewise.
1393 (_G_FSTAT64): Likewise.
1394 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
1395 (_G_LSEEK64): Likewise.
1396 (_G_MMAP64): Likewise.
1397 (_G_FSTAT64): Likewise.
1398 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
1399 unconditional. Call __mmap64 directly.
1400 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
1401 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
1403 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
1404 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
1406 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
1407 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
1409 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
1410 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
1412 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
1413 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
1415 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
1416 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
1417 __fxstat64 directly.
1418 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
1419 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
1421 (freopen64) [!_G_OPEN64]: Remove conditional code.
1422 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
1424 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
1425 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
1427 (ftello64) [!_G_LSEEK64]: Remove conditional code.
1428 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
1430 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1431 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
1433 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
1434 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
1436 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1437 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
1439 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1440 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
1442 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1444 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1447 * manual/memory.texi (Malloc Tunable Parameters): Add note
1448 about free list pointers overwriting some perturb bytes.
1449 Wording suggested by Roland McGrath.
1451 2012-10-17 Joseph Myers <joseph@codesourcery.com>
1453 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
1454 (lgamma_test): Likewise.
1455 (tgamma_test): Likewise.
1457 2012-10-16 Florian Weimer <fweimer@redhat.com>
1460 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
1461 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
1463 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
1465 * NEWS: Mention BZ #14716.
1466 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
1467 when removing AVAILABLE1_USES_J macro.
1469 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
1471 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
1472 (__bswap_64): __uint64_t for unsigned 64-bit int.
1474 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
1476 * include/string.h (memmem): Declare libc hidden alias.
1477 * string/memmem.c (memmem): Define libc hidden alias.
1478 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
1479 __read, __close instead of open, read, close.
1481 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1483 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
1484 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
1486 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
1487 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
1488 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
1490 (__rawmemchr_sse2): Likewise.
1491 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
1492 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
1493 (__strchr_sse2): Likewise.
1494 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
1495 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
1496 (__strcasecmp_sse2): Likewise.
1497 (__strncasecmp_sse2): Likewise.
1498 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
1499 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
1500 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
1501 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
1502 (__strrchr_sse2): Likewise.
1503 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
1505 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1506 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1507 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1508 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1509 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1510 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1511 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1512 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1513 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
1514 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
1515 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1516 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
1517 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
1518 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1519 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1520 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1521 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1522 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1523 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
1524 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1525 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1526 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1527 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1528 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1529 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1530 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1531 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1532 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1533 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1534 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1536 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
1538 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
1539 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
1540 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
1541 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
1543 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
1545 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
1546 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
1547 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
1548 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
1550 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1551 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1552 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1553 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1554 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1555 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1556 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1557 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1558 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1559 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1560 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1561 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1562 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1563 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
1564 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
1565 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1566 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
1567 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
1568 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1569 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1570 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1571 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1572 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1573 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1574 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1575 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
1576 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
1577 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
1578 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
1579 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1580 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
1581 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1582 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1583 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
1584 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1585 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1586 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1587 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1588 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1589 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1590 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
1592 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
1593 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
1594 * include/ifunc-impl-list.h: New file.
1595 * misc/ifunc-impl-list.c: Likewise.
1596 * misc/Makefile (routines): Add ifunc-impl-list.
1597 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
1598 * string/test-string.h: Include <ifunc-impl-list.h>.
1599 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
1600 impl_array): New variables.
1601 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
1603 (test_init): Call __libc_ifunc_impl_list to initialize
1604 func_list if TEST_IFUNC and TEST_NAME are defined.
1606 * string/Makefile (strop-tests): Add bcopy and bzero.
1607 * string/test-bcopy.c: New file.
1608 * string/test-bzero.c: Likewise.
1609 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
1611 * string/test-memset.c: Support bzero test if TEST_BZERO is
1613 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
1615 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
1617 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
1620 2012-10-10 Joseph Myers <joseph@codesourcery.com>
1622 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
1623 * configure: Regenerated.
1625 * Makeconfig (+link-static-before-libc): Don't include
1626 $(link-static-libc).
1628 * libio/libio.h (_IO_pos_t): Remove.
1630 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1632 * NEWS: Add note about FIPS mode. Wording suggested by Roland
1635 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1637 * crypt/crypt-entry.c: Include fips-private.h.
1638 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
1639 * crypt/md5c-test.c (main): Tolerate disabled MD5.
1640 * sysdeps/unix/sysv/linux/fips-private.h: New file.
1641 * sysdeps/generic/fips-private.h: New file, dummy fallback.
1643 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1645 * crypt/crypt-private.h: Include stdbool.h.
1646 (_ufc_setup_salt_r): Return bool.
1647 * crypt/crypt-entry.c: Include errno.h.
1648 (__crypt_r): Return NULL with EINVAL for bad salt.
1649 * crypt/crypt_util.c (bad_for_salt): New.
1650 (_ufc_setup_salt_r): Check that salt is long enough and within
1651 the specified alphabet.
1652 * crypt/badsalttest.c: New file.
1653 * crypt/Makefile (tests): Add it.
1654 ($(objpfx)badsalttest): New.
1656 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
1658 * NEWS: Add entry for BZ #14602.
1660 2012-10-09 Joseph Myers <joseph@codesourcery.com>
1662 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
1664 * math/libm-test.inc: Update comment listing what functions and
1666 (isgreater_test): New function.
1667 (isgreaterequal_test): Likewise.
1668 (isless_test): Likewise.
1669 (islessequal_test): Likewise.
1670 (islessgreater_test): Likewise.
1671 (isunordered_test): Likewise.
1672 (main): Call the new functions.
1674 2012-10-09 Roland McGrath <roland@hack.frob.com>
1676 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
1677 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
1678 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
1679 * sysdeps/i386/configure: Regenerated.
1680 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
1681 * sysdeps/mach/configure: Regenerated.
1682 * sysdeps/mach/hurd/configure: Regenerated.
1683 * sysdeps/powerpc/configure: Regenerated.
1684 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1685 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1686 * sysdeps/s390/s390-32/configure: Regenerated.
1687 * sysdeps/s390/s390-64/configure: Regenerated.
1688 * sysdeps/sh/configure: Regenerated.
1689 * sysdeps/sparc/configure: Regenerated.
1690 * sysdeps/unix/sysv/linux/configure: Regenerated.
1691 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1692 * sysdeps/x86_64/configure: Regenerated.
1694 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1695 defined. Don't check if MAP is NULL.
1697 2012-10-09 Joseph Myers <joseph@codesourcery.com>
1699 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1700 (_G_stat64): Likewise.
1701 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1702 (_G_stat64): Likewise.
1703 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1704 instead of struct _G_stat64.
1705 * libio/fileops.c (mmap_remap_check): Likewise.
1706 (decide_maybe_mmap): Likewise.
1707 (_IO_new_file_seekoff): Likewise.
1708 (_IO_file_stat): Likewise.
1709 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1711 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1712 instead of struct _G_stat64.
1713 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1715 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
1718 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1720 (CHECK_EOL): New macro.
1721 (two_way_short_needle): Check beginning of haystack for EOL. Use
1723 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1724 Replace with CHECK_EOL.
1725 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1726 Replace with CHECK_EOL.
1728 2012-10-08 Joseph Myers <joseph@codesourcery.com>
1730 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1732 * math/libm-test.inc: Update comment listing what functions and
1734 (finite_test): New function.
1735 (isinf_test): Likewise.
1736 (isnan_test): Likewise.
1737 (fpclassify_test): Test subnormal input.
1738 (isfinite_test): Likewise.
1739 (isnormal_test): Likewise.
1740 (main): Call the new functions.
1742 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
1745 * Makerules (%.dynsym): Force C locale when running
1746 $(OBJDUMP) --dynamic-syms.
1748 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
1750 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1753 2012-10-06 David S. Miller <davem@davemloft.net>
1755 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1756 upper 32-bits of the length value in %o2 since we use branch-on-register
1757 tests which consider the entire 64-bit register.
1759 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1761 * string/test-strstr.c (check2): Add a test for page boundary.
1763 2012-10-05 David S. Miller <davem@davemloft.net>
1765 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1766 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1768 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1770 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1771 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1772 and bzero when HWCAP_SPARC_CRYPTO is present.
1774 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1777 * string/test-strstr.c (check2): New function.
1778 (test_main): Call check2.
1780 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1782 * string/bug-strcasestr1.c (do_test): Moved to ...
1783 * string/test-strcasestr.c (check1): Here. New function.
1784 (do_one_test): Break out result checking code into ...
1785 (check_result): This. New function.
1786 (do_one_test): Call check_result.
1787 (test_main): Call check1.
1788 * string/bug-strchr1.c (do_test): Moved to ...
1789 * string/test-strchr.c (check1): Here. New function.
1790 (do_one_test): Break out result checking code into ...
1791 (check_result): This. New function.
1792 (do_one_test): Call check_result.
1793 (test_main): Call check1.
1794 * string/bug-strstr1.c (main): Moved to ...
1795 * string/test-strchr.c (check1): Here. New function.
1796 (do_one_test): Break out result checking code into ...
1797 (check_result): This. New function.
1798 (do_one_test): Call check_result.
1799 (test_main): Call check1.
1800 * string/bug-strcasestr1.c: Removed.
1801 * string/bug-strchr1.c: Likewise.
1802 * string/bug-strstr1.c: Likewise.
1804 * elf/Makefile (dl-routines): Add hwcaps.
1805 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1806 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1807 (_dl_important_hwcaps): Moved to ...
1808 * elf/dl-hwcaps.c: Here. New file.
1809 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1812 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1813 if IS_IN_rtld isn't defined.
1815 * elf/dl-support.c (_dl_sysinfo_map): New.
1816 Include "get-dynamic-info.h" and "setup-vdso.h".
1817 (_dl_non_dynamic_init): Call setup_vdso.
1818 * elf/dynamic-link.h: Don't include <assert.h>.
1819 (elf_get_dynamic_info): Moved to ...
1820 * elf/get-dynamic-info.h: Here. New file.
1821 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1822 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1823 * elf/setup-vdso.h: Here. New file.
1824 * elf/rtld.c: Include "setup-vdso.h".
1825 (dl_main): Call setup_vdso.
1827 2012-10-05 Joseph Myers <joseph@codesourcery.com>
1829 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1830 creal in comment listing functions tested. List finite, isinf,
1831 isnan, isless, islessequal, isgreater, isgreaterequal,
1832 islessgreater, isunordered, lgamma_r and pow10 as functions and
1833 macros not tested. Mention which functions not tested are aliases
1834 for other functions. Fix typo. Note that signs of NaNs are not
1837 * scripts/config.guess: Update from config.git.
1838 * scripts/config.sub: Likewise.
1840 2012-10-04 Roland McGrath <roland@hack.frob.com>
1842 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1843 * misc/madvise.c (madvise): Renamed to __madvise.
1844 Make madvise a weak alias.
1845 * include/sys/mman.h: Declare __madvise.
1846 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1847 * sysdeps/unix/syscalls.list
1848 (madvise): Make __madvise the strong name, and madvise a weak alias.
1849 * sysdeps/unix/sysv/linux/syscalls.list
1850 (madvise, mmap): Remove redundant entries.
1851 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1852 * malloc/malloc.c (mtrim): Likewise.
1853 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1855 2012-10-03 Roland McGrath <roland@hack.frob.com>
1857 * sysdeps/mach/hurd/dl-cache.c: File removed.
1858 * config.h.in (USE_LDCONFIG): New #undef.
1859 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1860 * configure: Regenerated.
1861 * elf/Makefile (dl-routines): Add dl-cache only under
1862 [$(use-ldconfig) = yes].
1863 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1864 cache on [USE_LDCONFIG].
1865 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1867 * elf/rtld.c (dl_main): Likewise.
1869 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1871 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1872 _SC_LEVEL4_CACHE_LINESIZE.
1874 2012-10-03 Roland McGrath <roland@hack.frob.com>
1876 * sysdeps/unix/bsd/confstr.h: File removed.
1878 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
1880 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1883 2012-10-02 Roland McGrath <roland@hack.frob.com>
1885 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1886 Make 'mapoff' field ElfW(Off) rather than off_t.
1888 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1890 * nscd/Makefile: Remove nscd-cflags and all its users.
1891 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1892 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1895 * malloc.c (malloc_printerr): Clarify error message.
1897 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1901 Set bit_FMA_Usable if FMA is supported.
1902 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1904 (bit_FMA4_Usable): Updated.
1905 (index_FMA_Usable): New macro.
1906 (CPUID_FMA): Likewise
1907 (HAS_FMA): Defined with bit_FMA_Usable.
1909 2012-10-01 Roland McGrath <roland@hack.frob.com>
1911 * bits/types.h (__swblk_t): Type removed.
1912 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1913 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1914 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1915 (__SWBLK_T_TYPE): Likewise.
1916 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1917 (__SWBLK_T_TYPE): Likewise.
1918 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1919 (__SWBLK_T_TYPE): Likewise.
1920 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1921 (__SWBLK_T_TYPE): Likewise.
1923 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
1924 Honza Horak <hhorak@redhat.com>
1926 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1927 (xdr_mapname): Use YPMAXMAP as maxsize.
1928 (xdr_peername): Use YPMAXPEER as maxsize.
1929 (xdr_keydat): Use YPAXRECORD as maxsize.
1930 (xdr_valdat): Use YPMAXRECORD as maxsize.
1932 2012-10-01 Roland McGrath <roland@hack.frob.com>
1934 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1936 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1937 * csu/init-first.c: ... here.
1938 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1939 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1940 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1941 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1942 * sysdeps/i386/init-first.c: File removed.
1943 * sysdeps/sh/init-first.c: File removed.
1945 2012-10-01 Joseph Myers <joseph@codesourcery.com>
1948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1949 if x * y might underflow to zero and z is zero.
1950 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1951 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1952 * math/libm-test.inc (min_subnorm_value): New variable.
1953 (fma_test): Add more tests.
1954 (fma_test_towardzero): Likewise.
1955 (fma_test_downward): Likewise
1956 (fma_test_upward): Likewise.
1957 (initialize): Set min_subnorm_value.
1959 2012-09-29 Joseph Myers <joseph@codesourcery.com>
1962 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1964 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1965 mode for addition resulting in exact zero.
1966 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1967 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1969 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1970 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1971 * math/libm-test.inc (fma_test): Add more tests.
1972 (fma_test_towardzero): New function.
1973 (fma_test_downward): Likewise.
1974 (fma_test_upward): Likewise.
1975 (main): Call the new functions.
1977 2012-09-28 David S. Miller <davem@davemloft.net>
1979 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1981 2012-09-28 Roland McGrath <roland@hack.frob.com>
1983 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1986 * sysdeps/gnu/_G_config.h: Moved to ...
1987 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1988 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1989 * sysdeps/generic/_G_config.h: ... here.
1991 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1993 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1995 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1996 Conditionalize target on [libnss_test1.so-version].
1998 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2000 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2001 (elfobjdir): Move out of conditionals.
2003 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2004 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2005 (__nss_lookup_function): Conditionalize label remove_from_tree on
2006 [!DO_STATIC_NSS || SHARED], matching its only use.
2008 2012-09-28 David S. Miller <davem@davemloft.net>
2010 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2011 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2013 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2015 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2017 when HWCAP_SPARC_CRYPTO is present.
2019 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2021 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2023 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2026 * stdio-common/vfprintf.c (process_string_arg): Revert
2029 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2031 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2033 * stdio-common/tst-sprintf.c: Include <locale.h>
2034 (main): Test sprintf's handling of incomplete multibyte
2037 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2039 * elf/dl-runtime.c (VERSYMIDX): Removed.
2040 * elf/dl-version.c (VERSYMIDX): Likewise.
2041 * elf/do-rel.h (VERSYMIDX): Likewise.
2043 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2044 * elf/rtld.c (VALIDX): Likewise.
2045 (ADDRIDX): Likewise.
2046 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2047 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2048 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
2049 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2051 (ADDRIDX): Likewise.
2053 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2055 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2057 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2060 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2062 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2063 addresses are in the same scope as 192.0.2/24.
2064 * posix/gai.conf: Document new scope table defaults.
2066 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2069 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2070 for ftell. Compute offsets from write pointers instead.
2071 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2073 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2076 * libio/Makefile (tests): New test case tst-fseek.
2077 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2078 combination works in wide mode.
2079 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2080 state when the external buffer state changes.
2082 2012-09-27 David S. Miller <davem@davemloft.net>
2085 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2086 pass reloc->r_addend in as the 'high' argument to
2087 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2091 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2093 * rt/tst-aio2.c: Include <pthread.h>.
2094 * rt/tst-aio3.c: Likewise.
2096 2012-09-27 Steve Ellcey <sellcey@mips.com>
2098 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2100 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2102 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2103 contents on [SHARED].
2105 2012-09-26 Marek Polacek <polacek@redhat.com>
2109 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2110 for C++ and GCC <4.3 as well as for non GCC compilers.
2112 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2116 2012-09-25 Roland McGrath <roland@hack.frob.com>
2118 * Makefile.in (all, install): Declare with .PHONY.
2119 Reported by Michael Hope <michael.hope@linaro.org>.
2121 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2123 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2124 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2126 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2128 (sydep_routines): Add the new and the internal functions.
2129 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2130 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2132 (GLIBC_2.17): Add the new function.
2133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2134 (GLIBC_2.17): Likewise.
2135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2136 (GLIBC_2.17): Likewise.
2137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2138 (GLIBC_2.17): Likewise.
2139 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2141 2012-09-25 Alan Modra <amodra@gmail.com>
2143 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2144 Add release barrier before setting once_control to say
2145 initialisation is done. Add hints on lwarx. Use macro in
2147 (clear_once_control): Add release barrier.
2149 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2152 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2154 * math/s_clog10.c (__clog10): Likewise.
2155 * math/s_clog10f.c (__clog10f): Likewise.
2156 * math/s_clog10l.c (__clog10l): Likewise.
2157 * math/s_clogf.c (__clogf): Likewise.
2158 * math/s_clogl.c (__clogl): Likewise.
2159 * math/Makefile (libm-calls): Add x2y2m1.
2160 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2161 (__x2y2m1): Likewise.
2162 (__x2y2m1l): Likewise.
2163 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2164 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2165 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2166 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2167 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2168 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2169 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2170 * sysdeps/i386/fpu/libm-test-ulps: Update.
2171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2174 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2175 int as type of variable DEPTH.
2176 (glob): Use size_t instead of int as type of variables NEWCOUNT
2179 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2181 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2183 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2184 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2185 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2186 macros for using routine as __sincosf_ia32.
2187 Use macro for function declaration and weak_alias.
2188 * sysdeps/i386/fpu/libm-test-ulps: Update.
2190 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2193 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
2195 * math/s_cexpf.c (__cexpf): Likewise.
2196 * math/s_csinf.c (__csinf): Likewise.
2197 * math/s_csinhf.c (__csinhf): Likewise.
2198 * math/s_ctanf.c (__ctanf): Likewise.
2199 * math/s_ctanhf.c (__ctanhf): Likewise.
2200 * math/s_ccosh.c (__ccoshf): Likewise.
2201 * math/s_cexp.c (__cexpl): Likewise.
2202 * math/s_csin.c (__csin): Likewise.
2203 * math/s_csinh.c (__csinh): Likewise.
2204 * math/s_ctan.c (__ctan): Likewise.
2205 * math/s_ctanh.c (ctanh): Likewise.
2206 * math/s_ccoshl.c (__ccoshl): Likewise.
2207 * math/s_cexpl.c (__cexpl): Likewise.
2208 * math/s_csinl.c (__csinl): Likewise.
2209 * math/s_csinhl.c (__csinhl): Likewise.
2210 * math/s_ctanl.c (__ctanl): Likewise.
2211 * math/s_ctanhl.c (__ctanhl): Likewise.
2213 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2215 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2216 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2217 (_IO_off_t): Define to __off_t, not _G_off_t.
2218 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2219 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2220 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2221 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2222 type of __dummy and __dummy2 fields.
2223 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2224 (_G_ssize_t): Likewise.
2225 (_G_off_t): Likewise.
2226 (_G_pid_t): Likewise.
2227 (_G_uid_t): Likewise.
2228 (_G_wchar_t): Likewise.
2229 (_G_wint_t): Likewise.
2230 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2231 (_G_ssize_t): Likewise.
2232 (_G_off_t): Likewise.
2233 (_G_pid_t): Likewise.
2234 (_G_uid_t): Likewise.
2235 (_G_wchar_t): Likewise.
2236 (_G_wint_t): Likewise.
2237 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2238 (_G_ssize_t): Likewise.
2239 (_G_off_t): Likewise.
2240 (_G_pid_t): Likewise.
2241 (_G_uid_t): Likewise.
2242 (_G_wchar_t): Likewise.
2243 (_G_wint_t): Likewise.
2245 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2247 * malloc/arena.c: Include malloc-sysdep.h.
2248 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2249 is sufficient to shrink the heap or an unmap is needed.
2250 * sysdeps/generic/malloc-sysdep.h: New file. Define
2251 new function check_may_shrink_heap.
2252 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2253 new function check_may_shrink_heap.
2255 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2257 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2260 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2262 * catgets/test-gencat.sh: Add "set -e".
2263 * elf/tst-pathopt.sh: Likewise.
2264 * grp/tst_fgetgrent.sh: Likewise.
2265 * iconvdata/run-iconv-test.sh: Likewise.
2266 * intl/tst-gettext.sh: Likewise.
2267 * intl/tst-gettext2.sh: Likewise.
2268 * intl/tst-gettext4.sh: Likewise.
2269 * intl/tst-gettext6.sh: Likewise.
2270 * intl/tst-translit.sh: Likewise.
2271 * io/ftwtest-sh: Likewise.
2272 * libio/test-freopen.sh: Likewise.
2273 * malloc/tst-mtrace.sh: Likewise.
2274 * posix/globtest.sh: Likewise.
2275 * posix/tst-getconf.sh: Likewise.
2276 * posix/wordexp-tst.sh: Likewise.
2277 * stdio-common/tst-printf.sh: Likewise.
2278 * stdio-common/tst-unbputc.sh: Likewise.
2279 * stdlib/tst-fmtmsg.sh: Likewise.
2280 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2281 * catgets/Makefile: Do not specify -e option when running
2282 testsuite shell scripts.
2283 * elf/Makefile: Likewise.
2284 * grp/Makefile: Likewise.
2285 * iconvdata/Makefile: Likewise.
2286 * intl/Makefile: Likewise.
2287 * io/Makefile: Likewise.
2288 * libio/Makefile: Likewise.
2289 * malloc/Makefile: Likewise.
2290 * posix/Makefile: Likewise.
2291 * stdio-common/Makefile: Likewise.
2292 * stdlib/Makefile: Likewise.
2293 * sysdeps/x86_64/Makefile: Likewise.
2295 * io/ftwtest-sh: Add copyright header.
2296 * posix/globtest.sh: Likewise.
2297 * posix/tst-getconf.sh: Likewise.
2298 * posix/wordexp-tst.sh: Likewise.
2299 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2301 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2304 * Makeconfig (+link): Defined as $(+link-static) if
2305 $(build-shared) isn't yes.
2306 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2308 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2310 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2313 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2314 new chunk size with MALLOC_ALIGN_MASK.
2316 2012-09-24 Joseph Myers <joseph@codesourcery.com>
2319 * stdio-common/printf_fphex.c: Include <stdbool.h> and
2321 (__printf_fphex): Determine rounding using get_rounding_mode and
2323 * stdio-common/tst-printf-round.c (struct hex_test): New
2325 (hex_tests): New variable.
2326 (test_hex_in_one_mode): New function.
2327 (do_test): Also run tests for hex float output.
2329 2012-09-21 Joseph Myers <joseph@codesourcery.com>
2331 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2332 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2333 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
2334 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2335 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2336 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
2337 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2338 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2340 2012-09-20 Joseph Myers <joseph@codesourcery.com>
2342 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
2343 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
2344 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
2345 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
2347 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
2350 * elf/rtld.c (dl_main): Limit the check for self loading to normal
2352 * elf/tst-rtld-load-self.sh: New test.
2353 * elf/Makefile: Run it.
2355 2012-09-18 Joseph Myers <joseph@codesourcery.com>
2357 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
2358 (tst-writev-ENV): Remove.
2359 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
2361 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
2363 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
2365 2012-09-17 Joseph Myers <joseph@codesourcery.com>
2367 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
2369 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
2371 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
2372 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
2373 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2376 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
2379 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
2380 * config.make.in (have-cpp-asm-debuginfo): Removed.
2381 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
2382 * configure: Regenerated.
2384 2012-09-14 Joseph Myers <joseph@codesourcery.com>
2387 * stdio-common/printf_fp.c: Include <stdbool.h> and
2389 (___printf_fp): Determine rounding using get_rounding_mode and
2391 * stdio-common/tst-printf-round.c: New file.
2392 * stdio-common/Makefile (tests): Add tst-printf-round.
2393 (link-libm): New variable.
2394 ($(objpfx)tst-printf-round): Depend in $(link-libm).
2396 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
2399 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
2400 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
2402 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
2405 2012-09-13 Joseph Myers <joseph@codesourcery.com>
2407 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
2408 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2409 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2410 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2412 2012-09-12 Joseph Myers <joseph@codesourcery.com>
2415 * include/rounding-mode.h: New file.
2416 * sysdeps/generic/get-rounding-mode.h: Likewise.
2417 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
2418 * stdlib/strtod_l.c: Include <rounding-mode.h>.
2419 (MAX_VALUE): New macro.
2420 (MIN_VALUE): Likewise.
2421 (overflow_value): New function.
2422 (underflow_value): Likewise.
2423 (round_and_return): Use overflow_value and underflow_value to
2424 determine return values in overflow and underflow cases. Use
2425 round_away to determine rounding depending on rounding mode.
2426 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
2427 determine return values in overflow and underflow cases.
2428 * stdlib/tst-strtod-round.c: Include <fenv.h>.
2429 (struct test_results): New structure.
2430 (struct test): Use struct test_results to store expected results
2431 for all rounding modes.
2432 (TEST): Include expected results for all rounding modes.
2433 (test_in_one_mode): New function.
2434 (do_test): Use test_in_one_mode to compute and check results.
2435 Check results for all rounding modes.
2436 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
2439 2012-12-09 Allan McRae <allan@archlinux.org>
2441 * sysdeps/i386/fpu/libm-test-ulps: Update
2443 2012-09-11 Joseph Myers <joseph@codesourcery.com>
2445 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
2446 (_G_int32_t): Likewise.
2447 (_G_uint16_t): Likewise.
2448 (_G_uint32_t): Likewise.
2449 (_G_HAVE_BOOL): Likewise.
2450 (_G_HAVE_ATEXIT): Likewise.
2451 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2452 (_G_HAVE_IO_FILE_OPEN): Likewise.
2453 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
2454 (_G_int32_t): Likewise.
2455 (_G_uint16_t): Likewise.
2456 (_G_uint32_t): Likewise.
2457 (_G_HAVE_BOOL): Likewise.
2458 (_G_HAVE_ATEXIT): Likewise.
2459 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2460 (_G_HAVE_IO_FILE_OPEN): Likewise.
2461 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
2462 (_G_int32_t): Likewise.
2463 (_G_uint16_t): Likewise.
2464 (_G_uint32_t): Likewise.
2465 (_G_HAVE_BOOL): Likewise.
2466 (_G_HAVE_ATEXIT): Likewise.
2467 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2468 (_G_HAVE_IO_FILE_OPEN): Likewise.
2470 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
2472 * csu/libc-tls.c: Update copyright years.
2474 2012-09-10 Joseph Myers <joseph@codesourcery.com>
2476 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
2477 [!_G_USING_THUNKS]: Remove conditional code.
2478 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
2479 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
2481 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
2482 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
2483 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2484 (_G_VTABLE_LABEL_PREFIX): Likewise.
2485 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2486 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2487 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2488 (_G_VTABLE_LABEL_PREFIX): Likewise.
2489 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2490 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2491 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2492 (_G_VTABLE_LABEL_PREFIX): Likewise.
2493 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2495 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
2497 * libio/Makefile: Include ../Makeconfig before tests.
2498 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
2499 only if $(build-shared) is yes.
2501 * iconv/gconv_db.c: Update copyright years.
2503 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2505 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
2506 unwind info if defined PIC. Fix special cases description.
2507 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
2509 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
2511 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
2513 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
2515 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
2517 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
2520 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
2521 (LDLIBS-tst-chk4): This.
2522 (LDFLAGS-tst-chk5): Renamed to ...
2523 (LDLIBS-tst-chk5): This.
2524 (LDFLAGS-tst-chk6): Renamed to ...
2525 (LDLIBS-tst-chk6): This.
2526 (LDFLAGS-tst-lfschk4): Renamed to ...
2527 (LDLIBS-tst-lfschk4): This.
2528 (LDFLAGS-tst-lfschk5): Renamed to ...
2529 (LDLIBS-tst-lfschk5): This.
2530 (LDFLAGS-tst-lfschk6): Renamed to ...
2531 (LDLIBS-tst-lfschk6): This.
2533 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
2534 on $(common-objpfx)soversions.mk.
2536 2012-09-07 Joseph Myers <joseph@codesourcery.com>
2539 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
2542 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2544 * malloc/arena.c (arena_get_retry): New function that gets
2545 another arena for the caller to try its request on.
2546 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
2547 current arena cannot fulfill the request.
2548 (__libc_memalign): Likewise.
2549 (__libc_memalign): Likewise.
2550 (__libc_pvalloc): Likewise.
2551 (__libc_calloc): Likewise.
2553 2012-09-05 John Tobey <john.tobey@gmail.com>
2556 * manual/arith.texi (Operations on Complex): Fix description
2559 2012-09-06 Joseph Myers <joseph@codesourcery.com>
2562 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
2566 * manual/memory.texi (Memory): Make order of menu items match
2569 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2571 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
2572 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
2573 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
2575 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2577 * csu/libc-tls.c (static_dtv): Renamed to ...
2578 (_dl_static_dtv): This. Make it global.
2579 (_dl_initial_dtv): Removed.
2580 (__libc_setup_tls): Updated.
2581 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
2582 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
2585 2012-09-06 Petr Machata <pmachata@redhat.com>
2587 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
2588 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
2589 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
2590 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
2592 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2595 * csu/libc-tls.c (_dl_initial_dtv): New variable.
2596 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
2599 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2602 * Makeconfig (link-static-before-libc): Replace $(+prector)
2604 (link-static-after-libc): Replace $(+postctor) with
2606 (link-bounded): Replace $(+prector)/$(+postctor) with
2607 $(+prectorT)/$(+postctorT).
2608 (+prectorT): New macro.
2609 (+postctorT): Likewise.
2611 2012-09-06 Joseph Myers <joseph@codesourcery.com>
2613 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
2614 (round_str): Handle values above the maximum for IBM long double
2616 * stdlib/tst-strtod-round.c (tests): Regenerated.
2618 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2620 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
2622 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
2623 zarch_nohighgprs around the zarch optimized routines.
2624 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2625 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2626 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
2629 2012-09-05 David S. Miller <davem@davemloft.net>
2631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2633 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
2634 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
2635 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
2636 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
2639 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2641 * malloc/arena.c: Fold copyright years.
2642 * malloc/mcheck.c, malloc/memusage.c: Likewise.
2644 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2646 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
2648 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2650 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
2652 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2654 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
2655 change internal state upon failure.
2657 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2659 * malloc/mcheck.c (mcheck_check_all): Fix typo.
2660 * malloc/memusage.c (mmap): Likewise.
2661 (mmap64, mremap): Likewise. Adjust name in comment.
2663 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2665 * libio/fileops.c: Fix typos in comments.
2666 * libio/oldfileops.c: Likewise.
2667 * libio/wfileops.c: Likewise.
2669 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2672 * malloc/Makefile (tests): Add tst-malloc-usable test case.
2673 (tst-malloc-usable-ENV): Set environment for test case.
2674 * malloc/hooks.c (malloc_check_get_size): New function to get
2676 * malloc/malloc.c (musable): Use malloc_check_get_size.
2677 * malloc/tst-malloc-usable.c: New test case.
2679 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2681 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
2683 2012-09-05 Allan McRae <allan@archlinux.org>
2686 * configure.in (CXX_SYSINCLUDES): Use compiler output to
2687 determine header location.
2688 * configure: Regenerated.
2690 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2692 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
2694 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
2695 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2699 2012-09-04 David S. Miller <davem@davemloft.net>
2701 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2702 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2703 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2705 2012-09-04 Florian Weimer <fweimer@redhat.com>
2707 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2710 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2712 2012-09-04 Joseph Myers <joseph@codesourcery.com>
2715 * libio/iogetdelim.c: Include <limits.h>.
2716 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2717 + len + 1 would overflow.
2719 2012-09-03 Andreas Jaeger <aj@suse.de>
2721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2722 * sysdeps/i386/fpu/libm-test-ulps: Update.
2724 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2726 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2727 Add s_sinf-sse2, s_conf-sse2.
2729 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2730 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2731 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2732 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2734 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2735 for using routine as __sinf_ia32.
2736 Use macro for function declaration and weak_alias.
2737 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2738 for using routine as __cosf_ia32.
2739 Use macro for function declaration and weak_alias.
2741 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2742 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2744 * sysdeps/x86_64/fpu/s_sinf.S: New file.
2745 * sysdeps/x86_64/fpu/s_cosf.S: New file.
2746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2748 * math/libm-test.inc (cos_test): Add more test cases.
2749 (sin_test): Likewise.
2750 (sincos_test): Likewise.
2752 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2754 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2755 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2757 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2759 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2762 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2763 first element of the GOT.
2764 (elf_machine_load_address): Return the difference between
2765 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2767 2012-09-01 Allan McRae <allan@archlinux.org>
2770 * configure.in (AWK): Require gawk version 3.0 or later.
2771 * configure: Regenerated.
2773 2012-09-01 Joseph Myers <joseph@codesourcery.com>
2775 * sysdeps/unix/sysv/linux/kernel-features.h
2776 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2777 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2778 [__NR_clock_getres]: Make code unconditional.
2779 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2780 (clock_getcpuclockid): Remove code left unreachable by removal of
2782 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2784 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2785 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2786 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2787 Make code unconditional.
2788 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2789 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2790 * sysdeps/unix/sysv/linux/clock_settime.c
2791 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2793 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2794 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2796 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2799 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2800 scripts/test-installation.pl.
2802 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2803 and $ld_so_version if it is set.
2805 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2808 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2809 failure if reading from procfs failed.
2810 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2812 2012-08-27 Joseph Myers <joseph@codesourcery.com>
2814 * sysdeps/unix/sysv/linux/kernel-features.h
2815 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2816 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2817 Remove conditional code.
2818 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2819 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2820 Remove conditional code.
2821 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2822 * sysdeps/unix/sysv/linux/i386/fxstat.c
2823 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2824 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2825 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2826 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2827 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2828 * sysdeps/unix/sysv/linux/i386/lxstat.c
2829 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2830 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2831 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2832 Remove conditional code.
2833 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2834 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2835 Remove conditional code.
2836 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2837 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2838 <kernel-features.h>.
2839 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2841 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2842 Remove conditional code.
2843 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2844 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2847 2012-08-27 Mike Frysinger <vapier@gentoo.org>
2850 * NEWS: Add fixed bug number.
2852 2012-08-27 Joseph Myers <joseph@codesourcery.com>
2855 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2856 underflowing exponent in case of negative sign.
2857 * stdlib/tst-strtod-round-data: Add more tests.
2858 * stdlib/tst-strtod-round.c (tests): Regenerated.
2861 * stdlib/strtod_l.c (NDIG): Remove.
2862 (HEXNDIG): Likewise.
2863 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2864 smallest representable value.
2865 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2866 lie within an exact representation of 1/2 ulp of the result.
2867 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2869 (TENS_P9_IDX): Define unconditionally.
2870 (TENS_P9_SIZE): Likewise.
2871 (TENS_P10_IDX): Likewise.
2872 (TENS_P10_SIZE): Likewise.
2873 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2874 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2875 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2876 entries for 10^2^13 and 10^2^14.
2877 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2878 (TENS_P13_IDX): Define.
2879 (TENS_P13_SIZE): Likewise.
2880 (TENS_P14_IDX): Likewise.
2881 (TENS_P14_SIZE): Likewise.
2882 (_fpioconst_pow10): Change array size to
2883 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2885 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2886 1024]: Add entries for 10^2^13 and 10^2^14.
2887 [LAST_POW10 > _LAST_POW10]: Remove #error.
2888 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2889 (_fpioconst_pow10): Change array size to
2890 FPIOCONST_POW10_ARRAY_SIZE.
2891 * stdlib/gen-fpioconst.c: New file.
2892 * stdlib/gen-tst-strtod-round.c: Likewise.
2893 * stdlib/tst-strtod-round-data: Likewise.
2894 * stdlib/tst-strtod-round.c: Likewise.
2895 * stdlib/Makefile (tests): Add tst-strtod-round.
2898 * stdlib/strtod_l.c: Include <stdint.h>.
2899 (NDEBUG): Do not define.
2900 (round_and_return): Change EXPONENT parameter to type intmax_t.
2901 Rearrange calculations to avoid internal overflow possibilities.
2902 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2903 Rearrange calculations to avoid internal overflow possibilities.
2904 Assert that number fits inside MPNSIZE limbs.
2905 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2906 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2907 calculations and add assertions to avoid internal overflow
2908 possibilities. Add casts to avoid signed/unsigned operations.
2909 * stdlib/tst-strtod-overflow.c: New file.
2910 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2912 2012-08-25 Marek Polacek <polacek@redhat.com>
2914 * time/time.h: Fix some typos in comments.
2916 2012-08-23 Roland McGrath <roland@hack.frob.com>
2918 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2919 * posix/tst-rfc3484-2.c: Likewise.
2920 * posix/tst-rfc3484-3.c: Likewise.
2922 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2924 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2925 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2927 2012-08-23 Joseph Myers <joseph@codesourcery.com>
2929 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2930 #include of fxstatat64.c.
2932 2012-08-22 Roland McGrath <roland@hack.frob.com>
2934 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2935 * shadow/getspent_r.c: Likewise.
2936 * shadow/getspnam.c: Likewise.
2937 * shadow/getspnam_r.c: Likewise.
2938 * gshadow/getsgent.c: Likewise.
2939 * gshadow/getsgent_r.c: Likewise.
2940 * gshadow/getsgnam.c: Likewise.
2941 * gshadow/getsgnam_r.c: Likewise.
2942 * inet/getnetbyad.c: Likewise.
2943 * inet/getnetbyad_r.c: Likewise.
2944 * inet/getnetbynm.c: Likewise.
2945 * inet/getnetbynm_r.c: Likewise.
2946 * inet/getnetent.c: Likewise.
2947 * inet/getnetent_r.c: Likewise.
2948 * inet/getproto.c: Likewise.
2949 * inet/getproto_r.c: Likewise.
2950 * inet/getprtent.c: Likewise.
2951 * inet/getprtent_r.c: Likewise.
2952 * inet/getprtname.c: Likewise.
2953 * inet/getprtname_r.c: Likewise.
2954 * inet/getrpcbyname.c: Likewise.
2955 * inet/getrpcbyname_r.c: Likewise.
2956 * inet/getrpcbynumber.c: Likewise.
2957 * inet/getrpcbynumber_r.c: Likewise.
2958 * inet/getrpcent.c: Likewise.
2959 * inet/getrpcent_r.c: Likewise.
2960 * inet/getaliasent.c: Likewise.
2961 * inet/getaliasent_r.c: Likewise.
2962 * inet/getaliasname.c: Likewise.
2963 * inet/getaliasname_r.c: Likewise.
2964 * nscd/getgrgid_r.c: Likewise.
2965 * nscd/getgrnam_r.c: Likewise.
2966 * nscd/gethstbyad_r.c: Likewise.
2967 * nscd/gethstbynm3_r.c: Likewise.
2968 * nscd/getpwnam_r.c: Likewise.
2969 * nscd/getpwuid_r.c: Likewise.
2970 * nscd/getsrvbynm_r.c: Likewise.
2971 * nscd/getsrvbypt_r.c: Likewise.
2972 * nscd/gai.c: Likewise.
2974 * configure.in (build_nscd): New substituted variable, set
2975 by --disable-build-nscd and defaults to $use_nscd.
2976 * configure: Regenerated.
2977 * config.make.in (build-nscd): New substituted variable.
2978 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2979 Change conditional to require [$(build-nscd) = yes] as well.
2980 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2983 * configure.in (use_nscd): New substituted variable, set by
2984 --disable-nscd. If enabled, define USE_NSCD.
2985 * configure: Regenerated.
2986 * config.h.in: Add USE_NSCD.
2987 * config.make.in (use-nscd): New substituted variable.
2988 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2989 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2990 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2991 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2992 (CFLAGS-getgrnam_r.c): Likewise.
2993 (CFLAGS-initgroups.c): Likewise.
2994 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2995 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2997 * inet/getnetgrent_r.c
2998 (nscd_setnetgrent): New function, broken out of ...
2999 (setnetgrent): ... here. Call it.
3000 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3001 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3002 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3003 * nscd/Makefile (routines, aux): Move definitions after include of
3004 Makeconfig. Conditionalize on [$(use-nscd) != no].
3005 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3006 Conditionalize on [USE_NSCD].
3007 (is_nscd, nscd_init_cb): Likewise.
3008 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3009 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3010 * nss/nss_db/db-init.c: Likewise.
3011 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3013 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3014 (make_request): Use it.
3015 (cache_valid_p): New function.
3016 (__check_pf): Use it.
3017 * NEWS: Add item for --disable-nscd.
3019 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3021 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3022 to support sed >= 4.2.1-20-ga9bf076.
3023 * configure: Regenerated.
3025 2012-08-22 Roland McGrath <roland@hack.frob.com>
3027 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3028 Conditionalize whole body on [IREL].
3030 2012-08-22 Jeff Law <law@redhat.com>
3033 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3034 if the family is PF_UNSPEC.
3036 2012-08-22 Mike Frysinger <vapier@gentoo.org>
3038 * Makerules (lib-version): Rename from V.
3039 (install-lib-nosubdir): Change V to lib-version.
3041 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3044 * powerpc32/power6/wcschr.c: New file.
3045 * powerpc32/power6/wcscpy.c: New file.
3046 * powerpc32/power6/wcsrchr.c: New file.
3047 * powerpc64/power6/wcschr.c: New file.
3048 * powerpc64/power6/wcscpy.c: New file.
3049 * powerpc64/power6/wcsrchr.c: New file.
3051 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3053 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3054 (two_way_short_needle): Use it.
3055 * string/strstr.c (AVAILABLE1_USES_J): Define.
3056 * string/strcasestr.c: Likewise.
3058 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3060 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3063 * NEWS: Add an entry.
3064 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3065 define their defaults.
3066 (two_way_short_needle): Detect end-of-string on-the-fly.
3067 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3068 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3069 * string/bug-strcasestr1.c: New test.
3070 * string/Makefile: Run it.
3072 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3075 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3076 the first character.
3078 2012-08-21 Roland McGrath <roland@hack.frob.com>
3080 * csu/elf-init.c (__libc_csu_irel): Function removed.
3081 * csu/libc-start.c (apply_irel): New function.
3082 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3084 2012-08-21 Joseph Myers <joseph@codesourcery.com>
3086 * sysdeps/unix/sysv/linux/kernel-features.h
3087 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3088 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3089 <kernel-features.h>.
3090 [__NR_fadvise64_64]: Make code unconditional.
3091 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3092 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3093 !__NR_fadvise64_64)]: Likewise.
3094 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3095 !__NR_fadvise64_64))]: Likewise.
3096 [__NR_fadvise64]: Make code unconditional.
3097 [!__NR_fadvise64]: Remove conditional code.
3098 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3099 <kernel-features.h>.
3100 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3102 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3105 not include <kernel-features.h>.
3106 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3108 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3110 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3111 include <kernel-features.h>.
3112 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3114 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3117 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3119 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3120 slight instruction rearrangements per scrollpipe analysis.
3121 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3123 2012-08-20 Roland McGrath <roland@hack.frob.com>
3125 * manual/syslog.texi (syslog; vsyslog, closelog):
3126 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3127 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3129 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3130 DSOCAPS to match condition on defining it.
3132 2012-08-20 Joseph Myers <joseph@codesourcery.com>
3134 * sysdeps/unix/sysv/linux/kernel-features.h
3135 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3137 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3138 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3140 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3141 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3143 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3144 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3146 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3147 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3149 * sysdeps/unix/sysv/linux/kernel-features.h
3150 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3151 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3153 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3154 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3155 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3156 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3157 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3158 Make code unconditional.
3159 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3160 (__mmap64) [!__NR_mmap2]: Likewise.
3161 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3162 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3163 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3164 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3165 [__NR_mmap2]: Make code unconditional.
3166 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3167 (__mmap64) [!__NR_mmap2]: Likewise.
3169 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3171 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3173 2012-08-18 Andreas Jaeger <aj@suse.de>
3175 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3177 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3179 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3180 * include/unistd.h (__have_sock_cloexec): Likewise.
3181 (__have_pipe2): Likewise.
3182 (__have_dup3): Likewise.
3184 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3187 * include/unistd.h (__have_pipe2): Change define into an extern int.
3188 (__have_dup3): Likewise.
3189 * socket/have_sock_cloexec.c: Include fcntl.h.
3190 (__have_pipe2): New variable.
3191 (__have_dup3): Likewise.
3193 2012-08-17 Mike Frysinger <vapier@gentoo.org>
3195 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3197 2012-08-17 Marek Polacek <polacek@redhat.com>
3199 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3200 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3202 2012-08-17 Roland McGrath <roland@hack.frob.com>
3204 * configure.in: Add AC_SUBST for sysheaders.
3205 * configure: Regenerated.
3206 * config.make.in (sysheaders): New substituted variable.
3208 * sysdeps/unix/mkfifo.c: Moved ...
3209 * sysdeps/posix/mkfifo.c: ... here.
3210 * sysdeps/unix/mkfifoat.c: Moved ...
3211 * sysdeps/posix/mkfifoat.c: ... here.
3213 * sysdeps/unix/utime.c: Moved ...
3214 * sysdeps/posix/utime.c: ... here.
3216 * sysdeps/unix/time.c: Moved ...
3217 * sysdeps/posix/time.c: ... here.
3218 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3219 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
3221 * sysdeps/unix/nice.c: Moved ...
3222 * sysdeps/posix/nice.c: ... here.
3224 * sysdeps/unix/alarm.c: Moved ...
3225 * sysdeps/posix/alarm.c: ... here.
3227 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3229 2012-08-17 Jeff Law <law@redhat.com>
3231 * intl/Makefile (codeset_mo): New variable.
3232 ($(codeset_mo)): New target.
3233 (tst-codeset.out): Depend on that. Remove explicit rule.
3234 (tst-gettext3.out, tst-gettext5.out): Likewise.
3235 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3236 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3237 * intl/tst-codeset.sh: Remove.
3238 * intl/tst-gettext3.sh: Likewise.
3239 * intl/tst-gettext5.sh: Likewise.
3241 2012-08-17 Roland McGrath <roland@hack.frob.com>
3243 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3244 * sysdeps/unix/syscalls.list: ... here.
3246 * sysdeps/posix/getaddrinfo.c
3247 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3248 (gaiconf_init, gaiconf_reload): Use them.
3250 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3251 Define using time_t rather than struct timespec.
3253 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3254 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3256 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3258 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3259 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3262 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3263 __libc_cleanup_push argument.
3265 * bits/param.h: New file.
3266 * misc/sys/param.h: New file.
3267 * include/sys/param.h: New file.
3268 * misc/Makefile (headers): Add bits/param.h.
3269 * sysdeps/generic/sys/param.h: File removed.
3270 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3271 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3272 * sysdeps/mach/hurd/bits/param.h: New file.
3273 * sysdeps/mach/hurd/sys/param.h: File removed.
3275 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3278 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3280 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3281 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3284 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3285 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3286 rather than -D_IO_MTSAFE_IO conditionally.
3287 * stdio-common/Makefile (CPPFLAGS): Likewise.
3288 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3289 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3290 Use $(libio-mtsafe).
3291 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3293 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3294 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3295 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3296 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3297 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3298 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3299 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3300 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3301 (CFLAGS-fread_u_chk.c): Likewise.
3302 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3303 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3304 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3305 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3306 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3307 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3308 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3309 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3310 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3312 * libio/Makefile: Test [$(libc-reentrant) = yes]
3313 instead of [$(filter %REENTRANT, $(defines)) nonempty].
3316 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3317 * sysdeps/pthread/configure: File removed.
3318 * sysdeps/pthread/Makeconfig: New file.
3319 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3320 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3322 2012-08-16 Gary Benson <gbenson@redhat.com>
3324 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3325 unmapping the first object in a namespace.
3327 2012-08-16 Roland McGrath <roland@hack.frob.com>
3329 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
3330 (__internal_setnetgrent): ... this. Add internal_function to
3331 definition. Add libc_hidden_def.
3332 (setnetgrent): Update caller.
3333 (internal_endnetgrent): Renamed to ...
3334 (__internal_endnetgrent): ... this. Add internal_function to
3335 definition. Add libc_hidden_def.
3336 (endnetgrent): Update caller.
3337 (internal_getnetgrent_r): Renamed to ...
3338 (__internal_getnetgrent_r): ... this. Add internal_function to
3339 definition. Add libc_hidden_def.
3340 (__getnetgrent_r): Update caller.
3341 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
3343 2012-08-16 Joseph Myers <joseph@codesourcery.com>
3345 * stdlib/longlong.h: Update from GCC.
3347 2012-08-16 Roland McGrath <roland@hack.frob.com>
3349 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
3350 on _QL, which is set by umul_ppmm but never used.
3351 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
3352 variables, which are set by GMP macros but never used.
3353 * stdio-common/_itowa.c (_itowa): Likewise.
3354 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
3355 * stdlib/mod_1.c (mpn_mod_1): Likewise.
3357 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
3359 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
3360 struct La_sh_regs is not constant.
3361 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
3362 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
3363 and struct La_sparc64_regs are not constant.
3365 2012-08-16 Joseph Myers <joseph@codesourcery.com>
3367 * sysdeps/unix/sysv/linux/kernel-features.h
3368 (__ASSUME_POSIX_TIMERS): Remove.
3369 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3370 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3371 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
3372 Make code unconditional.
3373 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3374 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
3375 Make code unconditional.
3376 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3377 * sysdeps/unix/sysv/linux/clock_nanosleep.c
3378 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
3379 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3380 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
3381 Make code unconditional.
3382 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3383 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
3384 (__libc_missing_posix_timers): Remove.
3386 2012-08-15 Roland McGrath <roland@hack.frob.com>
3388 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
3389 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
3391 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
3393 * elf/dl-sym.c: Include <stdlib.h>.
3395 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
3396 constants, which avoids warnings in 32-bit builds.
3398 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
3399 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
3401 * misc/lseek.c: File moved to ...
3402 * io/lseek.c: ... here.
3404 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
3406 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
3407 shifting LEN more than 31 bits at once.
3409 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3412 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
3413 segmentation fault for a case of two empty input strings.
3414 * string/test-strncasecmp.c (check1): Renamed to...
3416 (bz14195): Add new testcase for two empty input strings and N > 0.
3417 (test_main): Call new testcase, adapt for renamed function.
3419 2012-08-15 Andreas Jaeger <aj@suse.de>
3422 * crypt/md5test2.c: New test, based on test supplied by Serge
3423 Belyshev <belyshev@depni.sinp.msu.ru>.
3424 * crypt/Makefile (xtests): Add md5test-giant..
3425 * crypt/Makefile ($(objpfx)md5test-giant): Add.
3427 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
3430 * crypt/md5.c (md5_process_block): Don't assume the buffer
3431 length is less than 2**32.
3432 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
3433 length is less than 2**64.
3435 2012-08-15 Roland McGrath <roland@hack.frob.com>
3437 * string/str-two-way.h: Include <sys/param.h>.
3438 (MAX): Macro removed.
3440 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
3441 Move #define and #undef of memmove to just before and after
3442 including <string.h>.
3444 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
3445 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
3446 and after including <string.h>. Move declarations of
3447 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
3448 to before #include "string/memmove.c".
3450 * include/dirent.h: Declare __getdirentries.
3452 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
3453 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
3455 2012-08-14 Mike Frysinger <vapier@gentoo.org>
3457 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
3458 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
3459 * sysdeps/i386/configure: Regenerated.
3460 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
3461 STABS_CURRENT_FILE, and STABS_FUN.
3462 (END): Remove call to STABS_FUN_END.
3463 (STABS_CURRENT_FILE1): Delete.
3464 (STABS_CURRENT_FILE): Likewise.
3465 (STABS_FUN): Likewise.
3466 (STABS_FUN_END): Likewise.
3467 (STABS_FUN2): Likewise.
3468 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
3469 * sysdeps/x86_64/configure: Regenerated.
3471 2012-08-14 Roland McGrath <roland@hack.frob.com>
3473 * elf/dl-open.c: Include <atomic.h>.
3474 * elf/dl-lookup.c: Likewise.
3476 2012-08-14 Joseph Myers <joseph@codesourcery.com>
3478 * sysdeps/unix/sysv/linux/kernel-features.h
3479 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
3480 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
3482 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
3484 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
3485 condition on __ASSUME_CLONE_THREAD_FLAGS.
3487 2012-08-14 Andreas Jaeger <aj@suse.de>
3489 * sysdeps/i386/fpu/libm-test-ulps: Update.
3491 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
3493 * include/atomic.h (atomic_exchange_and_add): Split into ...
3494 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
3497 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
3499 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3501 2012-08-13 Jeff Law <law@redhat.com>
3503 * manual/stdio.texi (snprintf): Clarify handling of the trailing
3504 null byte in the output string.
3506 2012-08-10 Joseph Myers <joseph@codesourcery.com>
3508 * sysdeps/unix/sysv/linux/kernel-features.h
3509 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
3510 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
3511 (__ASSUME_ARG_MAX_STACK_BASED): Define.
3512 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3513 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
3514 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
3515 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
3517 2012-08-09 Jeff Law <law@redhat.com>
3520 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
3521 When avoid_arena is set, don't retry in the that arena. Pick the
3522 next one, whatever it might be.
3523 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
3524 (arena_lock): Pass in new parameter to arena_get2.
3525 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
3527 (__libc_malloc): Unify retrying after main arena failure with
3528 __libc_memalign version.
3529 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
3531 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
3534 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
3535 to __redirect_strstr.
3536 (__strstr_sse42): Use typeof __redirect_strstr.
3537 (__strstr_ia32): Likewise.
3538 (__libc_strstr): New prototype.
3539 (strstr): Renamed to ...
3540 (__libc_strstr): This.
3541 (strstr): New strong alias of __libc_strstr.
3542 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3543 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
3546 (__libc_time): New prototype.
3547 (time_ifunc): Replace time with __libc_time.
3548 (time): New strong alias and hidden definition of __libc_time.
3549 (__GI_time): Remove strong alias.
3550 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
3552 (memmove): Redefined to __redirect_memmove.
3553 (__memmove_sse2): Use typeof __redirect_memmove.
3554 (__memmove_ssse3): Likewise.
3555 (__memmove_ssse3_back): Likewise.
3556 (__libc_memmove): New prototype.
3557 (memmove): Renamed to ...
3558 (__libc_memmove): This.
3559 (memmove): New strong alias of __libc_memmove.
3561 2012-08-08 Mark Salter <msalter@redhat.com>
3564 (R_MN10300_TLS_GD): Define.
3565 (R_MN10300_TLS_LD): Likewise.
3566 (R_MN10300_TLS_LDO): Likewise.
3567 (R_MN10300_TLS_GOTIE): Likewise.
3568 (R_MN10300_TLS_IE): Likewise.
3569 (R_MN10300_TLS_LE): Likewise.
3570 (R_MN10300_TLS_DTPMOD): Likewise.
3571 (R_MN10300_TLS_DTPOFF): Likewise.
3572 (R_MN10300_TLS_TPOFF): Likewise.
3573 (R_MN10300_SYM_DIFF): Likewise.
3574 (R_MN10300_ALIGN): Likewise.
3575 (R_MN10300_NUM): Update.
3577 2012-08-08 Joseph Myers <joseph@codesourcery.com>
3579 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
3582 2012-08-08 Roland McGrath <roland@hack.frob.com>
3584 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
3586 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
3587 sysdeps/unix -> sysdeps/posix move.
3588 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3590 2012-08-07 Allan McRae <allan@archlinux.org>
3593 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
3594 (SUNOS_CPP): Likewise.
3595 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
3597 (open_input): Call CPP using execvp.
3599 2012-08-07 Joseph Myers <joseph@codesourcery.com>
3601 * sysdeps/unix/sysv/linux/kernel-features.h
3602 (__ASSUME_PROT_GROWSUPDOWN): Remove.
3603 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3604 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3605 (__ASSUME_WAITID_SYSCALL): Likewise.
3606 * sysdeps/unix/sysv/linux/dl-execstack.c
3607 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
3609 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
3611 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
3612 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
3613 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
3615 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
3617 [__ASSUME_WAITID_SYSCALL]: Likewise.
3618 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
3620 2012-08-07 Roland McGrath <roland@hack.frob.com>
3622 * sysdeps/unix/closedir.c: Renamed to ...
3623 * sysdeps/posix/closedir.c: ... here.
3624 * sysdeps/unix/dirfd.c: Renamed to ...
3625 * sysdeps/posix/dirfd.c: ... here.
3626 * sysdeps/unix/dirstream.h: Renamed to ...
3627 * sysdeps/posix/dirstream.h: ... here.
3628 * sysdeps/unix/fdopendir.c: Renamed to ...
3629 * sysdeps/posix/fdopendir.c: ... here.
3630 * sysdeps/unix/opendir.c: Renamed to ...
3631 * sysdeps/posix/opendir.c: ... here.
3632 * sysdeps/unix/readdir.c: Renamed to ...
3633 * sysdeps/posix/readdir.c: ... here.
3634 * sysdeps/unix/readdir_r.c: Renamed to ...
3635 * sysdeps/posix/readdir_r.c: ... here.
3636 * sysdeps/unix/rewinddir.c: Renamed to ...
3637 * sysdeps/posix/rewinddir.c: ... here.
3638 * sysdeps/unix/seekdir.c: Renamed to ...
3639 * sysdeps/posix/seekdir.c: ... here.
3640 * sysdeps/unix/telldir.c: Renamed to ...
3641 * sysdeps/posix/telldir.c: ... here.
3642 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
3643 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
3644 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3645 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
3647 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
3648 * bits/fcntl.h: ... here.
3650 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
3652 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
3653 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
3654 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
3655 (struct flock): Move l_start, l_len to the beginning.
3656 Use __pid_t for l_pid.
3657 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
3658 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
3659 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
3660 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
3661 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
3662 [__USE_LARGEFILE64] (struct flock64): New type.
3663 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
3665 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
3666 * bits/dirent.h: ... here.
3668 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
3669 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
3671 2012-08-07 Joseph Myers <joseph@codesourcery.com>
3673 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3674 Change from 2.6.0 to 2.6.16.
3675 * sysdeps/unix/sysv/linux/configure: Regenerated.
3676 * sysdeps/unix/sysv/linux/kernel-features.h
3677 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
3678 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
3680 (__ASSUME_UTIMES): Likewise.
3681 (__ASSUME_CLONE_STOPPED): Remove.
3682 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
3683 architectures, not kernel version.
3684 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
3685 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3686 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3687 (__ASSUME_WAITID_SYSCALL): Likewise.
3688 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
3689 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
3690 * README: State 2.6.16 as minimum Linux kernel version. Do not
3691 refer to older versions.
3693 2012-08-06 Roland McGrath <roland@hack.frob.com>
3695 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3696 Define alphasort64 as an alias.
3697 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3698 Define versionsort64 as an alias.
3699 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3700 Define scandir64 as an alias.
3701 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3702 Define scandirat64 as an alias.
3703 * dirent/alphasort64.c (alphasort64):
3704 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3705 * dirent/versionsort64.c: Likewise.
3706 * dirent/scandir64.c: Likewise.
3707 * dirent/scandirat64.c: Likewise.
3708 * sysdeps/wordsize-64/alphasort.c: File removed.
3709 * sysdeps/wordsize-64/alphasort64.c: File removed.
3710 * sysdeps/wordsize-64/scandir.c: File removed.
3711 * sysdeps/wordsize-64/scandir64.c: File removed.
3712 * sysdeps/wordsize-64/scandirat.c: File removed.
3713 * sysdeps/wordsize-64/scandirat64.c: File removed.
3714 * sysdeps/wordsize-64/versionsort.c: File removed.
3715 * sysdeps/wordsize-64/versionsort64.c: File removed.
3716 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3717 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3718 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3719 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3720 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3721 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3722 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3723 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3725 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3726 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3727 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3728 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3729 [defined __arch64__ || defined __sparcv9]
3730 (__INO_T_MATCHES_INO64_T): New macro.
3731 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3732 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3733 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3734 * sysdeps/unix/sysv/linux/bits/dirent.h
3735 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3736 (_DIRENT_MATCHES_DIRENT64): New macro.
3738 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3739 Define lockf64 as an alias.
3740 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3741 Define fseeko64 as an alias.
3742 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3743 Define ftello64 as an alias.
3744 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3745 Define _IO_fgetpos64 and fgetpos64 as aliases.
3746 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3747 Define _IO_fsetpos64 and fsetpos64 as aliases.
3748 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3749 Conditionalize body on this.
3750 * libio/fseeko64.c: Likewise.
3751 * libio/ftello64.c: Likewise.
3752 * libio/iofgetpos64.c: Likewise.
3753 * libio/iofsetpos64.c: Likewise.
3754 * sysdeps/wordsize-64/lockf.c: File removed.
3755 * sysdeps/wordsize-64/lockf64.c: File removed.
3756 * sysdeps/wordsize-64/fseeko.c: File removed.
3757 * sysdeps/wordsize-64/fseeko64.c: File removed.
3758 * sysdeps/wordsize-64/ftello.c: File removed.
3759 * sysdeps/wordsize-64/ftello64.c: File removed.
3760 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3761 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3762 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3763 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3764 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3765 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3766 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3767 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3768 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3769 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3770 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3771 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3772 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3773 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3775 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3776 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3777 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3778 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3779 [defined __arch64__ || defined __sparcv9]
3780 (__OFF_T_MATCHES_OFF64_T): New macro.
3781 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3782 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3783 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3784 (__OFF_T_MATCHES_OFF64_T): New macro.
3786 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3788 * stdlib/secure-getenv.c (__secure_getenv): Replace
3789 GLIBC_2_16 with GLIBC_2_17.
3791 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3793 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3794 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3796 2012-08-03 David S. Miller <davem@davemloft.net>
3798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3800 2012-08-03 Joseph Myers <joseph@codesourcery.com>
3802 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3804 (__ASSUME_CORRECT_SI_PID): Likewise.
3805 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3806 (__ASSUME_TMPFS_NAME): Likewise.
3807 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3808 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3809 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3810 (HAVE_AUX_SECURE): Make definition unconditional.
3811 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3812 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3814 2012-08-03 Roland McGrath <roland@hack.frob.com>
3816 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3817 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3818 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3819 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3820 __eloop_threshold instead of SYMLOOP_MAX.
3822 * sysdeps/generic/eloop-threshold.h: New file.
3823 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3825 * elf/chroot_canon.c (chroot_canon): Likewise.
3827 2012-08-03 Joseph Myers <joseph@codesourcery.com>
3830 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3831 Change to 2.6.0 everywhere.
3832 * sysdeps/unix/sysv/linux/configure: Regenerated.
3833 * sysdeps/unix/sysv/linux/kernel-features.h
3834 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3835 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3837 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3838 (__ASSUME_FUTEX_REQUEUE): Remove.
3839 (__ASSUME_STATFS64): Define unconditionally.
3840 (__ASSUME_AT_SECURE): Likewise.
3841 (__ASSUME_CORRECT_SI_PID): Likewise.
3842 (__ASSUME_TGKILL): Define without depending on kernel version for
3844 (__ASSUME_UTIMES): Likewise.
3845 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3847 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3848 (__ASSUME_TMPFS_NAME): Likewise.
3849 * README: Update reference to Linux kernel versions.
3851 2012-08-02 Marek Polacek <polacek@redhat.com>
3854 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3855 libc_cv_asm_type_prefix with %.
3856 * configure: Regenerated.
3857 * include/libc-symbols.h: Remove comment about
3858 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3859 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3860 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3861 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3862 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3863 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3864 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3865 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3866 * elf/tst-unique2mod1.c: Likewise.
3867 * elf/tst-unique1mod2.c: Likewise.
3868 * elf/tst-unique1mod1.c: Likewise.
3869 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3870 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3871 Replace ASM_TYPE_DIRECTIVE with .type.
3872 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3873 * sysdeps/i386/sysdep.h: Likewise.
3874 * sysdeps/x86_64/sysdep.h: Likewise.
3875 * sysdeps/sh/sysdep.h: Likewise.
3876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3877 Do not define ASM_TYPE_DIRECTIVE.
3878 * sysdeps/powerpc/sysdep.h: Likewise.
3879 * sysdeps/powerpc/powerpc32/sysdep.h:
3880 Replace ASM_TYPE_DIRECTIVE with .type.
3881 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3882 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3883 * sysdeps/i386/fpu/e_powf.S: Likewise.
3884 * sysdeps/i386/fpu/e_expl.S: Likewise.
3885 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3886 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3887 * sysdeps/i386/fpu/e_pow.S: Likewise.
3888 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3889 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3890 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3891 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3892 * sysdeps/i386/fpu/e_log2.S: Likewise.
3893 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3894 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3895 * sysdeps/i386/fpu/e_powl.S: Likewise.
3896 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3897 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3898 * sysdeps/i386/fpu/e_logl.S: Likewise.
3899 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3900 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3901 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3902 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3903 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3904 * sysdeps/i386/fpu/e_log.S: Likewise.
3905 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3906 * sysdeps/i386/fpu/e_logf.S: Likewise.
3907 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3908 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3909 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3910 * sysdeps/i386/fpu/e_log10.S: Likewise.
3911 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3912 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3913 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3914 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3915 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3916 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3917 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3918 * sysdeps/i386/i686/strtok.S: Likewise.
3919 * sysdeps/i386/i386-mcount.S: Likewise.
3920 * sysdeps/i386/strtok.S: Likewise.
3921 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3922 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3923 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3924 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3925 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3926 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3927 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3928 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3929 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3930 * sysdeps/x86_64/_mcount.S: Likewise.
3931 * sysdeps/x86_64/strtok.S: Likewise.
3932 * sysdeps/sh/_mcount.S: Likewise.
3934 2012-08-01 Roland McGrath <roland@hack.frob.com>
3936 * libio/iofopen.c: Include <fcntl.h>.
3937 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3938 (_IO_fopen64, fopen64): Define as aliases.
3939 * libio/iofopen64.c: Include <fcntl.h>.
3940 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3941 Conditionalize body on this.
3942 * sysdeps/wordsize-64/iofopen.c: File removed.
3943 * sysdeps/wordsize-64/iofopen64.c: File removed.
3945 2012-08-01 Marek Polacek <polacek@redhat.com>
3947 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3948 Use dlfcn directly instead of a variable.
3949 (binfmt-subdir): Do not define.
3952 2012-08-01 Joseph Myers <joseph@codesourcery.com>
3954 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3955 Remove all definitions.
3956 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3957 <kernel-features.h>.
3958 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3959 (miss_F_GETOWN_EX): Remove all definitions.
3960 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3962 [!__ASSUME_FCNTL64]: Remove conditional code.
3963 [__ASSUME_FCNTL64]: Make code unconditional.
3964 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3965 <kernel-features.h>.
3966 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3967 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3968 (lockf64) [__NR_fcntl64]: Make code unconditional.
3969 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3971 * sysdeps/unix/sysv/linux/kernel-features.h
3972 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3973 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3974 Make code unconditional.
3975 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3976 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3978 [__NR_vfork]: Make code unconditional.
3979 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3980 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3982 [__NR_vfork]: Make code unconditional.
3983 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3984 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3986 2012-08-01 Roland McGrath <roland@hack.frob.com>
3988 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3989 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3991 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3992 Define mkstemp64 as an alias.
3993 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3994 Define mkstemps64 as an alias.
3995 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3996 Define mkostemp64 as an alias.
3997 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3998 Define mkostemps64 as an alias.
3999 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4000 Conditionalize body on this.
4001 * misc/mkostemp64.c: Likewise.
4002 * misc/mkostemps64.c: Likewise.
4003 * misc/mkstemps64.c: Likewise.
4004 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4005 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4006 * sysdeps/wordsize-64/mkostemp.c: File removed.
4007 * sysdeps/wordsize-64/mkstemp.c: File removed.
4008 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4009 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4010 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4011 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4014 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4015 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4016 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4017 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4019 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4020 compat_symbol macros from <shlib-compat.h> rather than the underlying
4021 default_symbol_version and symbol_version macros, so that DEFAULT
4022 lines in shlib-versions are respected.
4023 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4025 2012-08-01 Florian Weimer <fweimer@redhat.com>
4027 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4028 Declare with warn_unused_result.
4029 (setgid, setregid, setegid, setresgid): Likewise.
4030 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4032 * WUR-REPORT: Remove set*id functions.
4034 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4036 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4038 2012-07-31 Roland McGrath <roland@hack.frob.com>
4040 * include/sys/socket.h (__libc_accept, __libc_accept4):
4041 Add attribute_hidden.
4042 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4044 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4046 * inet/getnetgrent_r.c (setup): Likewise.
4048 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4050 2012-07-31 David S. Miller <davem@davemloft.net>
4052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4054 2012-07-31 Joseph Myers <joseph@codesourcery.com>
4057 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4058 value between 1.0 and 2.0 and smaller part has absolute value less
4060 * math/s_clog10.c (__clog10): Likewise.
4061 * math/s_clog10f.c (__clog10f): Likewise.
4062 * math/s_clog10l.c (__clog10l): Likewise.
4063 * math/s_clogf.c (__clogf): Likewise.
4064 * math/s_clogl.c (__clogl): Likewise.
4065 * math/libm-test.inc (clog_test): Add more tests.
4066 (clog10_test): Likewise.
4067 * sysdeps/i386/fpu/libm-test-ulps: Update.
4068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4070 2012-07-31 Florian Weimer <fweimer@redhat.com>
4072 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4073 Exit with zero in case no suitable GID is found, and write a
4074 message to standard error.
4076 2012-07-30 Roland McGrath <roland@hack.frob.com>
4078 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4080 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4081 (MAXPATHLEN): Removed.
4082 (NOGROUP, NODEV): New macros.
4083 (setbit, clrbit, isset, isclr): New macros.
4084 (howmany, roundup, powerof2): New macros.
4085 (DEV_BSIZE): New macro.
4087 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4088 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4090 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4091 definition on [!__NO_LONG_DOUBLE_MATH].
4093 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4094 PTR_MANGLE and PTR_DEMANGLE.
4096 * socket/accept4.c (accept4): Rename to __libc_accept4.
4097 Define accept4 as a weak alias.
4099 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4100 on [_DIRENT_HAVE_D_TYPE].
4101 * io/ftw.c (ftw_dir): Likewise.
4103 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4105 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4107 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4108 Use the BSD numbers rather than the arbitrary ones we had.
4109 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4110 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4111 (SIGXCPU, SIGXFSZ): New macros.
4114 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4115 initializer on [_LIBC_REENTRANT].
4117 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4118 definitions inside [_POSIX_MAPPED_FILES].
4120 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4122 * dirent/opendir.c: Include <fcntl.h>.
4124 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4125 (__libc_getspecific): Likewise.
4126 (__libc_key_create): Likewise.
4128 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4129 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4130 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4131 (tmpfile64): Define as alias.
4132 * sysdeps/wordsize-64/tmpfile.c: File removed.
4133 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4134 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4135 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4137 * stdio-common/vfscanf.c: Include <stdbool.h>.
4138 * nss/makedb.c: Likewise.
4139 * stdio-common/_i18n_number.h: Likewise.
4140 * argp/argp-help.c: Likewise.
4141 * posix/wordexp.c: Likewise.
4142 * sysdeps/posix/spawni.c: Likewise.
4143 * nss/nss_files/files-initgroups.c: Likewise.
4144 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4145 * nss/nss_files/files-initgroups.c: Likewise.
4146 * nss/nss_db/db-netgrp.c: Likewise.
4147 * nss/nss_db/db-initgroups.c: Likewise.
4148 * io/fchmodat.c: Include <sys/stat.h>.
4150 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4151 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4153 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4156 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4157 Add multiple inclusion protection.
4159 2012-07-27 David S. Miller <davem@davemloft.net>
4161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4163 2012-07-27 Gary Benson <gbenson@redhat.com>
4166 * elf/rtld.c: Include <stap-probe.h>.
4167 (dl_main): Added static probes "init_start" and "init_complete".
4168 * elf/dl-load.c: Include <stap-probe.h>.
4169 (lose): Take new parameter "nsid".
4170 Added static probe "map_failed".
4171 (_dl_map_object_from_fd): Pass namespace id to lose.
4172 Added static probe "map_start".
4173 (open_verify): Pass namespace id to lose.
4174 * elf/dl-open.c: Include <stap-probe.h>.
4175 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4176 and "reloc_complete".
4177 * elf/dl-close.c: Include <stap-probe.h>.
4178 (_dl_close_worker): Added static probes "unmap_start" and
4180 * elf/rtld-debugger-interface.txt: New file documenting the above.
4182 2012-07-26 Roland McGrath <roland@hack.frob.com>
4184 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4185 rather than a string variable.
4186 * sunrpc/rpc_main.c (h_output): Likewise.
4187 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4189 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4191 * inet/check_native.c: New file.
4193 2012-07-26 Joseph Myers <joseph@codesourcery.com>
4196 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4197 if larger part has absolute value 1.0.
4198 * math/s_clog10.c (__clog10): Likewise.
4199 * math/s_clog10f.c (__clog10f): Likewise.
4200 * math/s_clog10l.c (__clog10l): Likewise.
4201 * math/s_clogf.c (__clogf): Likewise.
4202 * math/s_clogl.c (__clogl): Likewise.
4203 * math/libm-test.inc (clog_test): Add more tests.
4204 (clog10_test): Likewise.
4205 * sysdeps/i386/fpu/libm-test-ulps: Update.
4206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4208 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4209 (pltexit): Likewise.
4210 (La_regs): Likewise.
4211 (La_retval): Likewise.
4212 (int_retval): Likewise.
4213 Update #error for removed macros to refer only to definitions in
4215 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4217 (pltexit): Likewise.
4218 (La_regs): Likewise.
4219 (La_retval): Likewise.
4220 (int_retval): Likewise.
4221 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4223 (pltexit): Likewise.
4224 (La_regs): Likewise.
4225 (La_retval): Likewise.
4226 (int_retval): Likewise.
4227 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4229 (pltexit): Likewise.
4230 (La_regs): Likewise.
4231 (La_retval): Likewise.
4232 (int_retval): Likewise.
4233 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4235 (pltexit): Likewise.
4236 (La_regs): Likewise.
4237 (La_retval): Likewise.
4238 (int_retval): Likewise.
4239 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4241 (pltexit): Likewise.
4242 (La_regs): Likewise.
4243 (La_retval): Likewise.
4244 (int_retval): Likewise.
4245 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4247 (pltexit): Likewise.
4248 (La_regs): Likewise.
4249 (La_retval): Likewise.
4250 (int_retval): Likewise.
4251 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4252 macro definitions in tst-audit.h.
4253 * sysdeps/i386/tst-audit.h: New file.
4254 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4255 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4256 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4257 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4258 * sysdeps/sh/tst-audit.h: Likewise.
4259 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4260 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4261 * sysdeps/x86_64/tst-audit.h: Likewise.
4263 2012-07-26 Andreas Jaeger <aj@suse.de>
4265 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4268 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4269 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4270 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4272 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4273 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4274 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4276 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4279 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4281 (si_call_addr, si_syscall, si_arch): Define new macro.
4282 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4284 (si_call_addr, si_syscall, si_arch): Define new marcro.
4285 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4287 (si_call_addr, si_syscall, si_arch): Define new macro.
4288 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4290 (si_call_addr, si_syscall, si_arch): Define new macro.
4292 2012-07-25 Joseph Myers <joseph@codesourcery.com>
4295 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4296 Change to 2.4.21 where previously 2.4.1.
4297 * sysdeps/unix/sysv/linux/configure: Regenerated.
4298 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4299 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4300 Linux kernel version.
4301 (__ASSUME_STD_AUXV): Remove.
4302 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4304 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4305 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4306 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4307 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4308 (__ASSUME_NETLINK_SUPPORT): Likewise.
4309 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4310 (__no_netlink_support): Remove conditional definition.
4311 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4313 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4314 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4315 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4316 (if_nameindex_ioctl): Remove.
4317 (if_nameindex_netlink): Do not handle __no_netlink_support.
4318 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4320 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4321 Remove conditional code.
4322 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4324 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4326 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4327 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
4328 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
4330 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4331 [!__ASSUME_STD_AUXV]: Remove conditional code.
4332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
4333 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
4334 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
4335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
4336 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
4337 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4339 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4341 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
4342 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4344 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4346 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4349 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
4352 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4354 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4356 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4358 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4361 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4363 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4366 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4368 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4370 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4372 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4375 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4377 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4379 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4381 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4384 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4386 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4387 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
4388 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4389 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
4390 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
4391 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4392 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4393 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4394 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
4395 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4396 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
4397 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4398 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
4399 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4400 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4401 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
4402 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
4403 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
4404 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
4405 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
4406 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
4407 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4408 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4410 2012-07-25 Florian Weimer <fweimer@redhat.com>
4412 * Versions.def: Add GLIBC_2.17.
4413 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
4414 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
4415 Introduce __libc_secure_getenv.
4416 * stdlib/Versions (2.17): Add secure_getenv
4417 (GLIBC_PRIVATE): Add __libc_secure_getenv.
4418 * stdlib/secure-getenv.c: Rename __secure_getenv to
4419 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
4420 symbol __secure_getenv for GLIBC_2.0.
4421 * stdlib/tst-secure-getenv.c: New.
4422 * stdlib/Makefile (tests): Add testcase.
4423 * manual/startup.texi (Environment Access): Document
4425 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
4426 __libc_secure_getenv.
4427 * inet/ruserpass.c (ruserpass): Likewise.
4428 * malloc/mtrace.c (mtrace): Likewise.
4429 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
4430 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4431 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
4432 * sysdeps/posix/tempname.c: Likewise. Evaluate
4434 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
4435 __secure_getenv to __libc_secure_getenv.
4436 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
4437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4443 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4449 2012-07-25 Joseph Myers <joseph@codesourcery.com>
4451 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
4452 (struct La_i86_retval): Likewise.
4453 (struct La_x86_64_regs): Likewise.
4454 (struct La_x86_64_retval): Likewise.
4455 (struct La_x32_regs): Likewise.
4456 (struct La_x32_retval): Likewise.
4457 (struct La_ppc32_regs): Likewise.
4458 (struct La_ppc32_retval): Likewise.
4459 (struct La_ppc64_regs): Likewise.
4460 (struct La_ppc64_retval): Likewise.
4461 (struct La_sh_regs): Likewise.
4462 (struct La_sh_retval): Likewise.
4463 (struct La_s390_32_regs): Likewise.
4464 (struct La_s390_32_retval): Likewise.
4465 (struct La_s390_64_regs): Likewise.
4466 (struct La_s390_64_retval): Likewise.
4467 (struct La_sparc32_regs): Likewise.
4468 (struct La_sparc32_retval): Likewise.
4469 (struct La_sparc64_regs): Likewise.
4470 (struct La_sparc64_retval): Likewise.
4471 (struct audit_ifaces): Remove architecture-specific pltenter and
4473 * sysdeps/i386/ldsodefs.h: New file.
4474 * sysdeps/powerpc/ldsodefs.h: Likewise.
4475 * sysdeps/s390/ldsodefs.h: Likewise.
4476 * sysdeps/sh/ldsodefs.h: Likewise.
4477 * sysdeps/sparc/ldsodefs.h: Likewise.
4478 * sysdeps/x86_64/ldsodefs.h: Likewise.
4480 2012-07-25 Marek Polacek <polacek@redhat.com>
4483 * math/libm-test.inc (yn_test): Add another test.
4484 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
4485 to ERANGE when the result is +-Inf.
4486 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4487 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4488 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
4489 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
4491 2012-07-24 Joseph Myers <joseph@codesourcery.com>
4493 * conform/data/time.h-data (NULL): Use macro-constant. Require
4495 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
4497 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
4499 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
4501 * configure.in <sysdeps resolving>: Correct printing
4503 * configure: Regenerate.
4505 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
4507 * math/w_ilogb.c: Include <limits.h>.
4508 * math/w_ilogbl.c: Likewise.
4510 2012-07-20 Joseph Myers <joseph@codesourcery.com>
4512 * manual/lang.texi (__va_copy): Document primarily as ISO C99
4513 va_copy. Document allowing for unavailable va_copy only as
4514 pre-C99 compatibility.
4515 * manual/string.texi (Copying and Concatenation): Use va_copy
4516 instead of __va_copy in concat example.
4518 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
4520 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
4521 (__sendto): Use create_address_port. Initialize APORT and deallocate
4524 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
4525 with O_NOLINK passed to __file_name_lookup.
4527 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
4528 with O_NOLINK passed to __file_name_lookup.
4530 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
4531 negative N or less than NGIDS.
4533 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
4534 type to string_t. Set ERANGE as errno and return it if NAME is not big
4535 enough. Use memcpy instead of strncpy.
4537 2012-07-20 Joseph Myers <joseph@codesourcery.com>
4539 * elf/Makefile (check-data): Remove.
4540 (localplt.data): New vpath directive.
4541 ($(objpfx)check-localplt.out): Use localplt.data from vpath
4542 instead of $(check-data).
4543 * scripts/data/localplt-generic.data: Move to ...
4544 * sysdeps/generic/localplt.data: ... here.
4545 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
4546 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
4547 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
4548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4550 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
4551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4553 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
4554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
4556 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
4557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4559 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
4560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
4562 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
4563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
4566 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4568 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
4569 PPC32 and PPC64 files.
4570 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
4571 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
4573 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4575 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
4576 __makecontext_ret to ...
4577 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4578 ... here and call exit if uc_link is NULL. New file.
4579 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
4580 __makecontext_ret.S.
4581 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
4582 __makecontext_ret to ...
4583 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4584 ... here and call exit if uc_link is NULL. New file.
4585 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
4586 __makecontext_ret.S.
4588 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4590 * elf/elf.h (R_390_IRELATIVE): New definition.
4591 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
4592 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
4593 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
4594 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4595 (elf_machine_lazy_rel): Likewise.
4596 * sysdeps/s390/dl-irel.h: New file.
4597 * sysdeps/s390/s390-64/memcpy.S: New asm code.
4598 * sysdeps/s390/s390-64/memset.S: New asm code.
4599 * sysdeps/s390/s390-64/memcmp.S: New asm code.
4600 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
4601 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
4602 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
4603 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
4604 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
4605 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
4606 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
4607 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
4608 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
4609 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
4610 * sysdeps/s390/s390-32/memcpy.S: New asm code.
4611 * sysdeps/s390/s390-32/memset.S: New asm code.
4612 * sysdeps/s390/s390-32/memcmp.S: New asm code.
4614 2012-07-17 Marek Polacek <polacek@redhat.com>
4617 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
4618 * sysdeps/s390/s390-64/configure.in: Likewise.
4619 * sysdeps/sparc/configure.in: Likewise.
4620 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
4621 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
4622 * sysdeps/i386/configure.in: Likewise.
4623 * sysdeps/x86_64/configure.in: Likewise.
4624 * sysdeps/sh/configure.in: Likewise.
4625 * sysdeps/s390/s390-32/configure: Regenerated.
4626 * sysdeps/s390/s390-64/configure: Likewise.
4627 * sysdeps/x86_64/configure: Likewise.
4628 * sysdeps/sh/configure: Likewise.
4629 * sysdeps/powerpc/powerpc64/configure: Likewise.
4630 * sysdeps/powerpc/powerpc32/configure: Likewise.
4631 * sysdeps/sparc/configure: Likwise.
4632 * sysdeps/i386/configure: Likewise.
4634 * elf/dl-open.c: Comment fixes.
4636 2012-07-17 Joseph Myers <joseph@codesourcery.com>
4638 * Makefile [CXX] (check-data): Remove.
4639 [CXX] (c++-types.data): New vpath directive.
4640 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
4641 vpath. Do not allow for C++ type data being missing.
4642 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
4643 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
4644 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
4645 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
4646 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
4647 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
4648 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
4649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4651 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
4652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4654 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
4655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
4657 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
4658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
4660 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
4661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
4663 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
4664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
4666 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
4667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
4669 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
4670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
4672 * elf/tls-macros.h (TLS_LE): Move architecture-specific
4673 definitions to architecture-specific files.
4677 * sysdeps/i386/tls-macros.h: New file.
4678 * sysdeps/powerpc/tls-macros.h: Likewise.
4679 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4680 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4681 * sysdeps/sh/tls-macros.h: Likewise.
4682 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
4683 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
4684 * sysdeps/x86_64/tls-macros.h: Likewise.
4686 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4688 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
4689 zero value for regular exit case.
4691 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4692 (__start_context): Preserve zero value for regular exit case.
4694 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4695 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4697 * manual/setjmp.texi (setcontext): Clarify normal process
4698 termination when uc_link is the null pointer.
4699 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4702 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
4704 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4705 preprocessor. Test for each exception mask separately.
4707 2012-07-16 Andreas Jaeger <aj@suse.de>
4709 * po/ru.po: Update from translation team.
4711 2012-07-15 Joseph Myers <joseph@codesourcery.com>
4713 * conform/data/string.h-data (NULL): Use macro-constant. Require
4715 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4716 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4717 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4718 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4719 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4721 2012-07-13 Andreas Jaeger <aj@suse.de>
4723 * po/fr.po: Update from translation team.
4725 2012-07-12 Marek Polacek <polacek@redhat.com>
4728 * math/libm-test.inc (yn_test): Add test for BZ #14173.
4729 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4732 2012-07-12 Joseph Myers <joseph@codesourcery.com>
4735 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4736 Change to 2.4.1 where previously 2.4.0.
4737 * sysdeps/unix/sysv/linux/configure: Regenerated.
4738 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4739 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4741 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4742 (__ASSUME_AT_CLKTCK): Remove.
4743 (__ASSUME_AT_PAGESIZE): Likewise.
4744 (__ASSUME_AT_XID): Likewise.
4745 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4746 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4747 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4749 (HAVE_AUX_PAGESIZE): Likewise.
4750 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4751 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4752 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4754 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4758 the temporary buffer used to invoke __gethostbyname2_r,
4759 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4760 host_data / struct gaih_addrtuple.
4761 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4762 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4763 header file nss/nsswitch.h.
4764 * nss/nsswitch.h (global scope): Add definition of implementation
4765 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4766 resolv/nss_dns/dns-host.c).
4768 2012-07-11 Andreas Jaeger <aj@suse.de>
4770 * po/fr.po: Update from translation team.
4772 * po/sv.po: Update from translation team
4773 * po/fr.po: Another update from translation team.
4775 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4777 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4778 for subnormals or multiply small sinh result by itself.
4779 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4782 2012-07-11 David S. Miller <davem@davemloft.net>
4784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4786 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4789 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4790 (INTERNAL_MARK): Shift it here.
4792 2012-07-10 Marek Polacek <polacek@redhat.com>
4795 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4796 libc_cv_asm_global_directive with .globl.
4797 * configure: Regenerated.
4798 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4800 * sysdeps/i386/configure: Regenerated.
4801 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4803 * sysdeps/x86_64/configure: Regenerated.
4804 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4805 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4806 * elf/tst-unique2mod2.c: Likewise.
4807 * elf/tst-unique2mod1.c: Likewise.
4808 * elf/tst-unique1mod2.c: Likewise.
4809 * elf/tst-unique1mod1.c: Likewise.
4810 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4811 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4812 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4813 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4814 * sysdeps/mach/sysdep.h: Likewise.
4815 * sysdeps/i386/sysdep.h: Likewise.
4816 * sysdeps/i386/i386-mcount.S: Likewise.
4817 * sysdeps/x86_64/_mcount.S: Likewise.
4818 * sysdeps/x86_64/sysdep.h: Likewise.
4819 * sysdeps/sh/_mcount.S: Likewise.
4820 * sysdeps/sh/sysdep.h: Likewise.
4821 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4822 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4823 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4824 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4825 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4826 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4827 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4828 * locale/localeinfo.h: Likewise.
4829 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4830 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4832 2012-07-09 Roland McGrath <roland@hack.frob.com>
4835 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4837 * manual/message.texi (The Uniforum approach): Likewise.
4838 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4839 (glibc iconv Implementation): Likewise.
4841 2012-07-09 Joseph Myers <joseph@codesourcery.com>
4844 * math/s_clog.c (__clog): Avoid scaling a value down where that
4845 could result in underflow.
4846 * math/s_clog10.c (__clog10): Likewise.
4847 * math/s_clog10f.c (__clog10f): Likewise.
4848 * math/s_clog10l.c (__clog10l): Likewise.
4849 * math/s_clogf.c (__clogf): Likewise.
4850 * math/s_clogl.c (__clogl): Likewise.
4851 * math/libm-test.inc (clog_test): Add more tests.
4852 (clog10_test): Likewise.
4853 * sysdeps/i386/fpu/libm-test-ulps: Update.
4854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4856 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4859 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4860 by 7 not 8 to examine high bit of fractional part.
4863 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4864 for call to __mcount_internal.
4865 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4866 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4867 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4869 2012-07-06 Joseph Myers <joseph@codesourcery.com>
4872 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4873 approximation for values within 0x1p-13f of an odd multiple of
4875 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4876 exception. Add more tests.
4877 * sysdeps/i386/fpu/libm-test-ulps: Update.
4880 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4881 inputs and return -1 for them. Do not check for +Inf in case not
4883 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4884 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4885 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4886 and return -1 for them. Do not check for +Inf in case not
4888 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4890 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4891 and return -1 for them. Do not check for +Inf in case not
4893 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4895 * sysdeps/i386/fpu/libm-test-ulps: Update.
4896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4898 2012-07-06 Mike Frysinger <vapier@gentoo.org>
4900 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4902 2012-07-05 Joseph Myers <joseph@codesourcery.com>
4906 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4907 could result in spurious underflow. Scale down values above
4908 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4909 * math/s_csqrtf.c (__csqrtf): Likewise.
4910 * math/s_csqrtl.c (__csqrtl): Likewise.
4911 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4913 * sysdeps/i386/fpu/libm-test-ulps: Update.
4914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4916 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4918 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4920 * catgets/xopen-msg.awk: New file.
4921 * catgets/xopen-msg.sed: Removed.
4923 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4925 * intl/po2test.awk: New file.
4926 * intl/po2test.sed: Removed.
4928 2012-07-04 Joseph Myers <joseph@codesourcery.com>
4931 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4932 or multiply small sinh result by itself.
4933 * math/s_ctanf.c (__ctanf): Likewise.
4934 * math/s_ctanh.c (__ctanh): Likewise.
4935 * math/s_ctanhf.c (__ctanhf): Likewise.
4936 * math/s_ctanhl.c (__ctanhl): Likewise.
4937 * math/s_ctanl.c (__ctanl): Likewise.
4938 * math/libm-test.inc (ctan_test_tonearest): New function.
4939 (ctan_test_towardzero): Likewise.
4940 (ctan_test_downward): Likewise.
4941 (ctan_test_upward): Likewise.
4942 (ctanh_test_tonearest): Likewise.
4943 (ctanh_test_towardzero): Likewise.
4944 (ctanh_test_downward): Likewise.
4945 (ctanh_test_upward): Likewise.
4946 (main): Call these new functions.
4947 * sysdeps/i386/fpu/libm-test-ulps: Update.
4948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4950 2012-07-03 Mike Frysinger <vapier@gentoo.org>
4952 * .gitignore: Delete /ports entry.
4954 2012-07-03 Andreas Jaeger <aj@suse.de>
4956 * po/bg.po: Update from translation team.
4957 * po/cs.po: Likewise.
4958 * po/de.po: Likewise.
4959 * po/hr.po: Likewise.
4960 * po/nl.pl: Likewise.
4961 * po/pl.po: Likewise.
4962 * po/vi.po: Likewise.
4964 2012-07-03 Joseph Myers <joseph@codesourcery.com>
4966 * Makeconfig [!+link] (+link-before-libc): New variable.
4967 [!+link] (+link-after-libc): Likewise.
4968 [!+link] (+link-tests): Likewise.
4969 [!+link] (+link): Define in terms of $(+link-before-libc) and
4970 $(+link-after-libc).
4971 [!+link-static] (+link-static-before-libc): New variable.
4972 [!+link-static] (+link-static-after-libc): Likewise.
4973 [!+link-static] (+link-static-tests): Likewise.
4974 [!+link-static] (+link-static): Define in terms of
4975 $(+link-static-before-libc) and $(+link-static-after-libc).
4976 [build-shared] (link-libc-before-gnulib): New variable.
4977 [build-shared] (link-libc-tests): Likewise.
4978 [build-shared] (link-libc): Define in terms of
4979 $(link-libc-before-gnulib).
4980 [!build-shared] (link-libc-tests): New variable.
4981 (link-libc-static-tests): New variable.
4982 [!gnulib] (gnulib-arch): New variable.
4983 [!gnulib] (gnulib-tests): Likewise.
4984 [!gnulib] (static-gnulib-arch): Likewise.
4985 [!gnulib] (static-gnulib-tests): Likewise.
4986 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4987 Define with "=" instead of ":=".
4988 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4989 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4990 * Rules (binaries-all-notests): New variable.
4991 (binaries-all-tests): Likewise.
4992 (binaries-static-notests): Likewise.
4993 (binaries-static-tests): Likewise.
4994 (binaries-all): Define using $(binaries-all-notests) and
4995 $(binaries-all-tests).
4996 (binaries-static): Define using $(binaries-static-notests) and
4997 $(binaries-static-tests).
4998 (binaries-shared-tests): New variable.
4999 (binaries-shared-notests): Likewise.
5000 (binaries-shared): Remove variable.
5001 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5002 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5003 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5004 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5005 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5006 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5007 * elf/Makefile (sln-modules): New variable.
5008 (extra-objs): Add $(sln-modules:=.o).
5009 (ldconfig-modules): Add static-stubs.
5010 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5011 * elf/static-stubs.c: New file.
5014 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5015 by 7 not 8 to examine high bit of fractional part. Use volatile
5016 variables when splitting into final array of floats if
5017 __FLT_EVAL_METHOD__ != 0.
5018 * math/libm-test.inc (cos_test): Add another test.
5019 (sin_test): Likewise.
5020 * sysdeps/i386/fpu/libm-test-ulps: Update.
5023 * math/libm-test.inc (cosh_test): Add more tests.
5025 * version.h (RELEASE): Set to "development".
5026 (VERSION): Set to "2.16.90".
5028 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5030 * NEWS: Update copyright. Remove last-updated date.
5031 Mention math library bug fixes and timezone data changes.
5032 * README: Mention GNU/Hurd, x32, and HPPA support status.
5034 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5036 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5038 2012-06-27 Andreas Jaeger <aj@suse.de>
5040 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5042 2012-06-25 Andreas Jaeger <aj@suse.de>
5044 * sysdeps/s390/fpu/libm-test-ulps: Update.
5046 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5047 Thomas Schwinge <thomas@codesourcery.com>
5049 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5050 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5051 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5054 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5056 * sysdeps/mach/start.c: Remove file.
5057 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5058 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5059 * sysdeps/sh/init-first.c: Likewise.
5061 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5062 registers for frame unwinding purposes, add CFI directives.
5063 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5064 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5065 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5068 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5069 __fortify_fail returning.
5070 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5072 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5073 sysdeps/sh/____longjmp_chk.S.
5074 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5075 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5076 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5077 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5079 * sysdeps/sh/abort-instr.h: New file.
5080 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5081 process in case exit returns.
5083 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5084 initialize the GOT register before use.
5086 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5087 calculation of ARGC > 4.
5089 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5090 meaningful names to some local labels.
5092 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5093 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5095 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5096 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5097 (__arch_compare_and_exchange_val_16_acq): Likewise.
5098 (__arch_compare_and_exchange_val_32_acq): Likewise.
5099 (atomic_exchange_and_add): Fix gUSA sequence.
5100 (atomic_add): Likewise.
5101 (atomic_add_negative): Likewise.
5102 (atomic_add_zero): Likewise.
5103 (atomic_bit_test_set): Likewise.
5105 2012-06-22 Andreas Schwab <schwab@redhat.com>
5108 * include/link.h (struct link_map): Add l_free_initfini.
5109 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5111 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5112 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5113 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5116 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5118 * configure.in: Use AC_LANG_SOURCE.
5119 * configure: Regenerate.
5121 2012-06-22 Roland McGrath <roland@hack.frob.com>
5123 * configure.in (libc_cv_localstatedir): New substituted variable.
5124 * configure: Regenerated.
5125 * config.make.in (localstatedir): New variable, substituted from
5126 libc_cv_localstatedir.
5127 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5128 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5129 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5130 * sysdeps/gnu/configure: Regenerated.
5132 2012-06-21 Jeff Law <law@redhat.com>
5135 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5136 free. Simplify list management for _LIBC case.
5138 2012-06-21 Joseph Myers <joseph@codesourcery.com>
5141 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5142 Clear sign bit of 64-bit integer value before comparing against
5145 * sysdeps/mach/configure: Regenerated.
5147 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5150 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5152 2012-06-21 Jeff Law <law@redhat.com>
5155 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5156 uint16_t for elements in the "seen" array to avoid char overflows.
5157 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5158 * elf/dl-open.c (dl_open_worker): Likewise.
5160 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5162 * scripts/list-sources.sh: Scan PORTS for translations.
5163 * po/libc.pot: Regenerated.
5165 2012-06-21 Andreas Jaeger <aj@suse.de>
5168 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5170 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5171 * bits/byteswap-16.h (__bswap_16): Likewise.
5172 * bits/byteswap.h (__bswap_constant_16): Likewise.
5174 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5177 * sysdeps/i386/fpu_control.h: Removed.
5178 * sysdeps/x86_64/fpu_control.h: Moved to ...
5179 * sysdeps/x86/fpu_control.h: Here.
5181 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5182 (_FPU_SETCW): Likewise.
5184 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5187 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5188 * sysdeps/x86/fpu/bits/mathinline.h: This.
5189 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5193 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5194 functions if __x86_64__ is defined.
5196 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5198 * string/endian.h: Add !__ASSEMBLER__ condition for including
5199 conversion interfaces.
5201 2012-06-15 Joseph Myers <joseph@codesourcery.com>
5204 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5205 of ABS(x) in calculating zero to negative powers other than odd
5207 * math/libm-test.inc (pow_test): Add more tests.
5209 2012-06-15 Andreas Jaeger <aj@suse.de>
5211 * manual/contrib.texi (Contributors): Update entry of Liubov
5212 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5215 2012-06-15 Cyril Hrubis <metan@ucw.cz>
5217 * string/string.h: Add __wur to GNU version of strerror_r.
5219 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5222 * string/Makefile (tests): Add tst-strtok_r.
5223 * string/tst-strtok_r.c: New file.
5224 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5225 RAX_LP/RDX_LP on SAVE_PTR.
5227 2012-06-14 Roland McGrath <roland@hack.frob.com>
5229 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5231 2012-06-14 Joseph Myers <joseph@codesourcery.com>
5233 * libm_test.inc (csqrt_test): Allow more spurious underflow
5235 (j0_test): Likewise.
5236 (j1_test): Likewise.
5237 (y0_test): Likewise.
5238 (y1_test): Likewise.
5240 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5242 * po/Makefile (libc.pot): Use UTF-8 charset.
5244 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5247 Suppress sign-conversion warning from FD_SET.
5248 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5249 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5250 not unsigned long int.
5251 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5253 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5257 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5258 __extern_always_inline instead of __extern_inline.
5259 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5260 (__signbit): Likewise.
5261 (__signbitl): Support C++ namespace.
5262 (lrintf): New inline function.
5264 (llrintf): Likewise.
5276 (nearbyint): Likewise.
5277 (nearbyintf): Likewise.
5279 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5281 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5282 non-default versions.
5284 2012-06-11 Roland McGrath <roland@hack.frob.com>
5287 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5289 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5291 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5292 (FE_UPWARD, FE_DOWNWARD): Don't define.
5293 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5294 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5296 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5298 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5299 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5301 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5303 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5304 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5305 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5306 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5308 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
5311 * sysdeps/i386/fpu/bits/fenv.h: Removed.
5312 * sysdeps/i386/fpu/Implies: New file.
5313 * sysdeps/x86_64/fpu/Implies: Likewise.
5314 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5315 * sysdeps/x86/fpu/bits/fenv.h: This.
5317 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5320 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5323 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5324 character 0xffff that matches the last element of the
5327 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5329 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
5332 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5334 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
5335 values higher than 25.6283.
5337 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5339 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
5340 subnormal exponent extraction and add some __builtin_expect.
5341 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
5342 Fix for subnormal mantissa calculation.
5344 2012-06-04 Mike Frysinger <vapier@gentoo.org>
5346 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
5347 cpu2 is -1 and errno is not ENOSYS.
5349 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
5352 * sysdeps/i386/i486/bits/string.h: Renamed to ...
5353 * sysdeps/x86/bits/string.h: This.
5354 * sysdeps/x86_64/bits/string.h: Removed.
5356 * sysdeps/i386/i486/bits/string.h: Define inline functions only
5357 if not compiling for x86-64, but compiling for >= i486.
5359 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
5360 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
5362 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
5363 New macro from Linux kernel 3.4.0.
5364 (FP_XSTATE_MAGIC2): Likewise.
5365 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5366 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
5367 (struct _fpx_sw_bytes): New struct.
5368 (struct _xsave_hdr): Likewise.
5369 (struct _ymmh_state): Likewise.
5370 (struct _xstate): Likewise.
5372 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
5373 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
5374 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
5375 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
5376 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
5377 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
5379 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
5380 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
5381 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
5382 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
5383 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
5384 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
5386 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5389 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
5390 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
5391 (sysdep_headers): Include sys/platform/ppc.h.
5392 * sysdeps/powerpc/test-gettimebase.c: Test for
5393 __ppc_get_timebase() to catch future ISA opcode/insn changes.
5394 * manual/Makefile (appendices): Include platform.texi.
5395 * manual/contrib.texi (Contributors): Update @node pointers.
5396 * manual/maint.texi (Maintenance): Likewise.
5397 (Platform): New node.
5398 * manual/platform.texi: New file. Document the new features.
5400 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5401 Jakub Jelinek <jakub@redhat.com>
5404 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
5405 where __builtin_expect is unavailable.
5407 2012-06-03 David S. Miller <davem@davemloft.net>
5409 * stdlib/longlong.h: Updated from GCC.
5411 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
5414 * sysdeps/powerpc/powerpc32/mcount.c: New file.
5415 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
5417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5418 (GLIBC_2.16): Likewise.
5420 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5422 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
5424 2012-06-01 Joseph Myers <joseph@codesourcery.com>
5426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5427 (default-abi): New variable.
5428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
5429 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
5431 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
5433 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
5435 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
5438 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
5439 definition. Document in comment.
5441 2012-06-01 David S. Miller <davem@davemloft.net>
5443 * stdlib/longlong.h: Updated from GCC.
5445 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5448 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
5449 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
5450 sys/debugreg.h sys/io.h here.
5451 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
5452 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
5454 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
5455 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
5456 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
5457 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
5458 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
5459 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
5461 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
5462 Define only if __x86_64__ is defined.
5464 2012-06-01 Joseph Myers <joseph@codesourcery.com>
5467 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
5468 Use int64_t for variable i.
5469 * math/libm-test.inc (fmod_test): Add more tests.
5471 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
5472 z computation is not scheduled after fetestexcept.
5473 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
5474 Use math_force_eval instead of asm to ensure calculation scheduled
5475 before exception test.
5476 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
5477 Ensure a1 + u.d computation is not scheduled after fetestexcept.
5479 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
5481 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
5482 computation is not scheduled after fetestexcept.
5484 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5487 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
5488 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
5490 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5492 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
5493 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5495 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5498 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
5500 (__WCHAR_MIN): Support __WORDSIZE == 64.
5501 (__WCHAR_MAX): Likewise.
5503 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
5504 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
5507 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
5508 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
5511 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
5512 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
5514 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
5515 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
5517 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
5518 Defined to 1 if __x86_64__ isn't defined.
5519 (_STAT_VER_LINUX_OLD): New.
5520 (st_atime): Remove duplicate.
5521 (st_mtime): Likewise.
5522 (st_ctime): Likewise.
5524 2012-05-31 David S. Miller <davem@davemloft.net>
5526 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
5529 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
5531 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
5535 * elf/dl-reloc.c: Include <_itoa.h>.
5536 (_dl_reloc_bad_type): Remove use of INTUSE.
5537 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
5538 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
5539 * stdio-common/psiginfo.c (psiginfo): Likewise.
5540 * stdio-common/psignal.c (psignal): Likewise.
5541 * string/strsignal.c (strsignal): Likewise.
5542 * include/signal.h (_sys_siglist): Declare hidden proto.
5543 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
5544 INTVARDEF with libc_hidden_data_def.
5545 * stdio-common/itoa-udigits.c: Likewise.
5546 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
5547 (_itoa_lower_digits_internal): Remove declaration.
5548 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
5549 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
5550 (_sys_sigabbrev_internal): Remove aliases.
5551 (_sys_siglist): Define hidden alias.
5553 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
5555 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5558 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5561 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
5562 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
5564 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
5565 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
5566 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
5567 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
5568 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
5569 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
5571 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
5572 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
5573 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
5575 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
5583 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
5584 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
5585 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
5587 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
5588 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
5589 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
5590 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
5591 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
5592 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
5594 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
5595 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
5597 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
5598 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
5600 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
5601 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
5602 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
5604 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
5605 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
5607 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
5609 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
5610 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
5611 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
5613 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
5615 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
5617 2012-05-31 Joseph Myers <joseph@codesourcery.com>
5619 * math/math.h (M_El): Use two more decimal places.
5620 (M_LOG2El): Likewise.
5621 (M_LOG10El): Likewise.
5623 (M_LN10l): Likewise.
5625 (M_PI_2l): Likewise.
5626 (M_PI_4l): Likewise.
5627 (M_1_PIl): Likewise.
5628 (M_2_PIl): Likewise.
5629 (M_2_SQRTPIl): Likewise.
5630 (M_SQRT2l): Likewise.
5631 (M_SQRT1_2l): Likewise.
5633 2012-05-31 David S. Miller <davem@davemloft.net>
5635 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
5636 values between float registers.
5637 * sysdeps/sparc/sparc64/memset.S: Likewise.
5638 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5640 2012-05-31 Mike Frysinger <vapier@gentoo.org>
5642 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
5643 -D_FORTIFY_SOURCE=1.
5644 (CPPFLAGS-tst-longjmp_chk.c): Define.
5645 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
5646 (CPPFLAGS-tst-longjmp_chk2.c): Define.
5647 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
5648 CFLAGS-tst-wchar-h.c.
5650 2012-05-31 Marek Polacek <polacek@redhat.com>
5653 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
5654 __endmntent_internal): Remove declaration.
5655 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
5656 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
5657 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
5659 2012-05-30 David S. Miller <davem@davemloft.net>
5661 * sysdeps/sparc/sparc32/soft-fp/q_util.c
5662 (___Q_simulate_exceptions): Use real FP ops rather than writing
5664 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
5667 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5670 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
5671 * sysdeps/x86/bits/xtitypes.h: This.
5673 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
5674 * sysdeps/x86/bits/wordsize.h: This.
5676 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
5677 * sysdeps/x86/bits/huge_vall.h: This.
5679 * sysdeps/i386/bits/select.h: Removed.
5680 * sysdeps/x86_64/bits/select.h: Renamed to ...
5681 * sysdeps/x86/bits/select.h: This.
5683 * sysdeps/i386/bits/setjmp.h: Removed.
5684 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
5685 * sysdeps/x86/bits/setjmp.h: This.
5687 * sysdeps/i386/bits/mathdef.h: Removed.
5688 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
5689 * sysdeps/x86/bits/mathdef.h: This.
5691 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
5694 * include/sys/socket.h (__connect_internal)
5695 (__libc_sa_len_internal): Remove declaration.
5696 (__connect, __libc_sa_len): Declare hidden_proto.
5697 (SA_LEN): Remove use of INTUSE.
5698 * socket/connect.c: Add libc_hidden_def.
5699 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5700 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5701 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5703 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5704 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5705 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5706 of adding _internal alias.
5708 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5711 * sysdeps/i386/bits/link.h: Removed.
5712 * sysdeps/i386/bits/linkmap.h: Likewise.
5713 * sysdeps/x86_64/bits/link.h: Renamed to ...
5714 * sysdeps/x86/bits/link.h: This.
5715 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5716 * sysdeps/x86/bits/linkmap.h: This.
5718 * sysdeps/i386/bits/endian.h: Removed.
5719 * sysdeps/x86_64/bits/endian.h: Renamed to ...
5720 * sysdeps/x86/bits/endian.h: This.
5722 * sysdeps/i386/bits/byteswap.h: Removed.
5723 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5724 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5725 * sysdeps/x86/bits/byteswap.h: This.
5726 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5727 * sysdeps/x86/bits/byteswap-16.h: This.
5728 * sysdeps/i386/Implies: Add x86.
5729 * sysdeps/x86_64/Implies: Likewise.
5731 2012-05-30 David S. Miller <davem@davemloft.net>
5733 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5734 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5735 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5736 (FP_TRAPPING_EXCEPTIONS): Define.
5737 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5738 (FP_TRAPPING_EXCEPTIONS): Define.
5739 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5740 subnormals only when inexact has been signalled or underflow
5741 exceptions are enabled.
5742 (_FP_PACK_CANONICAL): Likewise.
5744 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5747 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5748 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5750 2012-05-30 Richard Henderson <rth@twiddle.net>
5752 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5753 with #ifndef NOT_IN_libc.
5755 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5756 marked to avoid plt entry.
5758 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5761 * Makeconfig (default-abi): New macro.
5762 (abi-includes): Likewise.
5763 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5764 $(abi-$(default-abi)-lib-soname) for soname if defined.
5765 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5767 * Makefile (installed-stubs): Likewise.
5768 * include/stubs-biarch.h: Removed.
5769 * scripts/lib-names.awk: Only handle one library at a time.
5770 * scripts/soversions.awk: Remove WORDSIZE support.
5771 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5773 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5775 (syscall-list-default-condition): Likewise.
5776 (syscall-list-default-condition): Likewise.
5777 (syscall-list-includes): Likewise.
5778 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5779 syscall-list-* with abi-*. Handle undefined abi-variants.
5780 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5781 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5782 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5783 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5784 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5785 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5787 (syscall-list-32-options): Likewise.
5788 (syscall-list-32-condition): Likewise.
5789 (syscall-list-64-options): Likewise.
5790 (syscall-list-64-condition): Likewise.
5791 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5793 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5796 (abi-64-ld-soname): New macro.
5797 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5798 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5801 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5802 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5804 2012-05-30 Joseph Myers <joseph@codesourcery.com>
5806 * sysdeps/unix/sysv/linux/kernel-features.h
5807 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5808 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5809 include <kernel-features.h>.
5810 [!__NR_ftruncate64]: Remove conditional code.
5811 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5812 [__NR_ftruncate64]: Make code unconditional.
5813 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5814 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5815 include <kernel-features.h>.
5816 [!__NR_ftruncate64]: Remove conditional code.
5817 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5818 [__NR_ftruncate64]: Make code unconditional.
5819 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5821 include <kernel-features.h>.
5822 [!__NR_ftruncate64]: Remove conditional code.
5823 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5824 [__NR_ftruncate64]: Make code unconditional.
5825 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5827 include <kernel-features.h>.
5828 [!__NR_ftruncate64]: Remove conditional code.
5829 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5830 [__NR_ftruncate64]: Make code unconditional.
5831 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5833 * configure.in (libc_cv_fpie): Weaken to a compile test using
5835 * configure: Regenerated.
5837 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5852 2012-05-27 David S. Miller <davem@davemloft.net>
5854 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5856 (__Q_simulate_exceptions): Return void. Change to simulate
5857 exceptions by writing into the %fsr.
5858 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5859 (__Qp_handle_exceptions): Likewise.
5861 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5862 __Qp_handle_exceptions.
5863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5864 __Qp_handle_exceptions.
5865 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5866 as unused and give dummy FP_RND_NEAREST initializer.
5867 (FP_INHIBIT_RESULTS): Define.
5868 (___Q_simulate_exceptions): Update declaration.
5869 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5871 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5872 as unused and give dummy FP_RND_NEAREST initializer.
5873 (__Qp_handle_exceptions): Update declaration.
5874 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5877 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5879 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5880 the temporary FPU control word.
5881 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5882 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5883 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5884 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5885 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5886 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5887 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5888 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5889 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5890 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5891 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5893 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5895 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5898 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5900 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5901 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5902 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5903 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5905 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5906 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5909 2012-05-27 Ulrich Drepper <drepper@gmail.com>
5911 * po/h.po: Update from translation team.
5913 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5915 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5917 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5918 handling of denormals.
5919 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5920 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5921 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5922 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5923 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5924 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5925 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5928 2012-05-26 Marek Polacek <polacek@redhat.com>
5931 * math/libm-test.inc (fma_test): Don't always expect underflow
5934 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5937 * elf/tst-execstack.c: Include stackinfo.h.
5938 (do_test): Adjust test case to ensure that pthread_getattr_np
5939 behaviour remains the same after marking stack executable.
5941 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5943 * sysdeps/unix/sysv/linux/kernel-features.h
5944 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5945 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5947 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5948 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5949 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5951 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5952 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5954 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5956 * configure.in: Define the default includes to being none.
5957 * configure: Regenerated.
5959 2012-05-25 Roland McGrath <roland@hack.frob.com>
5961 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5962 * sysdeps/x86_64/setjmp.S: Likewise.
5963 * sysdeps/i386/bsd-setjmp.S: Likewise.
5964 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5965 * sysdeps/i386/setjmp.S: Likewise.
5966 * sysdeps/i386/__longjmp.S: Likewise.
5967 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5968 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5970 * include/stap-probe.h: New file.
5971 * configure.in: Handle --enable-systemtap.
5972 * configure: Regenerated.
5973 * config.h.in (USE_STAP_PROBE): New #undef.
5974 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5975 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5976 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5978 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5981 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5982 to 2.4.0 where earlier.
5983 * sysdeps/unix/sysv/linux/configure: Regenerated.
5984 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5985 <kernel-features.h>.
5986 [__ASSUME_32BITUIDS]: Make code unconditional.
5987 [!__ASSUME_32BITUIDS]: Remove conditional code.
5988 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5989 <kernel-features.h>.
5990 [__ASSUME_32BITUIDS]: Make code unconditional.
5991 [!__ASSUME_32BITUIDS]: Remove conditional code.
5992 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5993 [__ASSUME_32BITUIDS]: Make code unconditional.
5994 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5995 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5996 <kernel-features.h>.
5997 [__ASSUME_32BITUIDS]: Make code unconditional.
5998 [!__ASSUME_32BITUIDS]: Remove conditional code.
5999 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6000 <kernel-features.h>.
6001 [__ASSUME_32BITUIDS]: Make code unconditional.
6002 [!__ASSUME_32BITUIDS]: Remove conditional code.
6003 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6004 <kernel-features.h>.
6005 [__ASSUME_32BITUIDS]: Make code unconditional.
6006 [!__ASSUME_32BITUIDS]: Remove conditional code.
6007 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6008 <kernel-features.h>.
6009 [__ASSUME_32BITUIDS]: Make code unconditional.
6010 [!__ASSUME_32BITUIDS]: Remove conditional code.
6011 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6012 <kernel-features.h>.
6013 [__ASSUME_32BITUIDS]: Make code unconditional.
6014 [!__ASSUME_32BITUIDS]: Remove conditional code.
6015 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6016 <kernel-features.h>.
6017 [__ASSUME_32BITUIDS]: Make code unconditional.
6018 [!__ASSUME_32BITUIDS]: Remove conditional code.
6019 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6020 <kernel-features.h>.
6021 [__ASSUME_32BITUIDS]: Make code unconditional.
6022 [!__ASSUME_32BITUIDS]: Remove conditional code.
6023 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6024 <kernel-features.h>.
6025 [__ASSUME_32BITUIDS]: Make code unconditional.
6026 [!__ASSUME_32BITUIDS]: Remove conditional code.
6027 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6028 <kernel-features.h>.
6029 [__ASSUME_32BITUIDS]: Make code unconditional.
6030 [!__ASSUME_32BITUIDS]: Remove conditional code.
6031 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6032 <kernel-features.h>.
6033 [__ASSUME_32BITUIDS]: Make code unconditional.
6034 [!__ASSUME_32BITUIDS]: Remove conditional code.
6035 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6036 <kernel-features.h>.
6037 [__NR_setresgid] (__setresgid): Do not declare.
6038 [__ASSUME_32BITUIDS]: Make code unconditional.
6039 [!__ASSUME_32BITUIDS]: Remove conditional code.
6040 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6041 <kernel-features.h>.
6042 [__NR_setresuid] (__setresuid): Do not declare.
6043 [__ASSUME_32BITUIDS]: Make code unconditional.
6044 [!__ASSUME_32BITUIDS]: Remove conditional code.
6045 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6046 <kernel-features.h>.
6047 [__ASSUME_32BITUIDS]: Make code unconditional.
6048 [!__ASSUME_32BITUIDS]: Remove conditional code.
6049 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6050 <kernel-features.h>.
6051 [__ASSUME_32BITUIDS]: Make code unconditional.
6052 [!__ASSUME_32BITUIDS]: Remove conditional code.
6053 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6054 <kernel-features.h>.
6055 [__ASSUME_32BITUIDS]: Make code unconditional.
6056 [!__ASSUME_32BITUIDS]: Remove conditional code.
6057 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6058 <kernel-features.h>.
6059 [__ASSUME_32BITUIDS]: Make code unconditional.
6060 [!__ASSUME_32BITUIDS]: Remove conditional code.
6061 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6062 <kernel-features.h>.
6063 [__ASSUME_32BITUIDS]: Make code unconditional.
6064 [!__ASSUME_32BITUIDS]: Remove conditional code.
6065 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6066 <kernel-features.h>.
6067 [__ASSUME_32BITUIDS]: Make code unconditional.
6068 [!__ASSUME_32BITUIDS]: Remove conditional code.
6069 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6070 <kernel-features.h>.
6071 [__ASSUME_32BITUIDS]: Make code unconditional.
6072 [!__ASSUME_32BITUIDS]: Remove conditional code.
6073 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6074 <kernel-features.h>.
6075 [__ASSUME_32BITUIDS]: Make code unconditional.
6076 [!__ASSUME_32BITUIDS]: Remove conditional code.
6077 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6078 <kernel-features.h>.
6079 [__ASSUME_32BITUIDS]: Make code unconditional.
6080 [!__ASSUME_32BITUIDS]: Remove conditional code.
6081 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6082 <kernel-features.h>.
6083 [__ASSUME_32BITUIDS]: Make code unconditional.
6084 [!__ASSUME_32BITUIDS]: Remove conditional code.
6085 * sysdeps/unix/sysv/linux/kernel-features.h
6086 (__ASSUME_SETRESUID_SYSCALL): Remove.
6087 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6088 (__ASSUME_32BITUIDS): Likewise.
6089 (__ASSUME_LDT_WORKS): Likewise.
6090 (__ASSUME_O_DIRECTORY): Likewise.
6091 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6092 architecture but not kernel version.
6093 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6094 (__ASSUME_MMAP2_SYSCALL): Likewise.
6095 (__ASSUME_STAT64_SYSCALL): Likewise.
6096 (__ASSUME_IPC64): Likewise.
6097 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6098 <kernel-features.h>.
6099 [__ASSUME_32BITUIDS]: Make code unconditional.
6100 [!__ASSUME_32BITUIDS]: Remove conditional code.
6101 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6102 <kernel-features.h>.
6103 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6104 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6105 132096]: Remove conditional code.
6106 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6107 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6108 <kernel-features.h>.
6109 [__ASSUME_32BITUIDS]: Make code unconditional.
6110 [!__ASSUME_32BITUIDS]: Remove conditional code.
6111 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6112 <kernel-features.h>.
6113 [__ASSUME_32BITUIDS]: Make code unconditional.
6114 [!__ASSUME_32BITUIDS]: Remove conditional code.
6115 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6116 <kernel-features.h>.
6117 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6119 (__setresgid): Do not declare.
6120 [__ASSUME_32BITUIDS]: Make code unconditional.
6121 [!__ASSUME_32BITUIDS]: Remove conditional code.
6122 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6123 <kernel-features.h>.
6124 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6126 (__setresuid): Do not declare.
6127 [__ASSUME_32BITUIDS]: Make code unconditional.
6128 [!__ASSUME_32BITUIDS]: Remove conditional code.
6129 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6130 <kernel-features.h>.
6131 [__ASSUME_32BITUIDS]: Make code unconditional.
6132 [!__ASSUME_32BITUIDS]: Remove conditional code.
6133 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6134 <kernel-features.h>.
6135 [__ASSUME_32BITUIDS]: Make code unconditional.
6136 [!__ASSUME_32BITUIDS]: Remove conditional code.
6138 2012-05-25 Richard Henderson <rth@twiddle.net>
6140 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6141 dl_hwcap to ifunc resolver.
6142 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6144 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6145 dl_hwcap to ifunc resolver.
6146 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6148 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6151 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6152 for |x| <= 2**-26, not 2**-57.
6153 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6156 2012-05-24 Jeff Law <law@redhat.com>
6158 * stdio-common/Makefile (tests): Add bug25.
6159 * stdio-common/bug25.c: New test.
6161 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6164 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6165 multiple of MALLOC_ALIGNMENT in size.
6166 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6168 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6170 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6172 (FILENAME_MAX): Use macro-int-constant.
6173 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6174 (_IOFBF): Use macro-int-constant.
6177 (SEEK_CUR): Likewise.
6178 (SEEK_END): Likewise.
6179 (SEEK_SET): Likewise.
6180 (TMP_MAX): Likewise.
6181 (EOF): Use macro-int-constant. Require < 0.
6182 (NULL): Use macro-constant. Require == 0.
6183 (stdin): Require type to be FILE *.
6186 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6188 (EXIT_SUCCESS): Likewise.
6189 (NULL): Use macro-constant. Require == 0.
6190 (RAND_MAX): Use macro-int-constant.
6191 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6192 [C99-based standards] (strtof): Require function.
6193 [C99-based standards] (strtold): Likewise.
6194 [C99-based standards] (strtoll): Likewise.
6195 [C99-based standards] (strtoull): Likewise.
6196 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6197 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6198 [ISO || ISO99 || ISO11] (math.h): Likewise.
6199 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6200 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6201 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6203 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6206 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6207 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6208 * intl/dgettext.c (DCGETTEXT): Likewise.
6209 * intl/gettext.c (DCGETTEXT): Likewise.
6210 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6211 * posix/regex_internal.h (gettext): Likewise.
6212 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6214 * include/argz.h (__argz_count_internal)
6215 (__argz_stringify_internal): Remove declaration.
6216 (__argz_count, __argz_stringify): Declare hidden proto.
6217 * intl/dcgettext.c: Remove use of INTDEF.
6218 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6219 * string/argz-stringify.c: Likewise.
6220 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6221 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6222 Declare hidden proto.
6223 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6224 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6225 Declare hidden proto.
6226 * include/stdio.h (__asprintf_internal): Don't declare.
6227 (__asprintf): Don't define as macro. Declare hidden proto.
6228 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6229 (__fsetlocking): Declare hidden proto.
6230 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6231 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6233 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6234 (_IO_setlinebuf): Remove use of INTUSE.
6235 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6236 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6237 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6239 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6240 (_IO_do_flush): Remove use of INTUSE.
6241 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6242 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6243 (_IO_adjust_column, _IO_least_wmarker)
6244 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6245 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6246 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6247 (_IO_default_doallocate, _IO_wdefault_doallocate)
6248 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6249 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6250 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6251 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6252 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6253 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6254 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6255 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6256 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6257 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6258 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6259 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6260 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6262 (_IO_flush_all_internal, _IO_adjust_column_internal)
6263 (_IO_default_uflow_internal, _IO_default_finish_internal)
6264 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6265 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6266 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6267 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6268 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6269 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6270 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6271 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6272 (_IO_file_close_internal, _IO_file_close_it_internal)
6273 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6274 (_IO_file_init_internal, _IO_file_attach_internal)
6275 (_IO_file_fopen_internal, _IO_file_read_internal)
6276 (_IO_file_sync_internal, _IO_file_seek_internal)
6277 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6278 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6279 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6280 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6281 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6282 (_IO_list_all_internal, _IO_link_in_internal)
6283 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6284 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6285 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6286 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6287 (_IO_do_write_internal, _IO_padn_internal)
6288 (_IO_getline_info_internal, _IO_getline_internal)
6289 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6290 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6291 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6292 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6293 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6294 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6295 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6296 with libc_hidden_ver, remove use of INTUSE.
6297 * libio/genops.c: Likewise.
6298 * libio/freopen.c: Likewise.
6299 * libio/freopen64.c: Likewise.
6300 * libio/iofclose.c: Likewise.
6301 * libio/iofdopen.c: Likewise.
6302 * libio/iofflush.c: Likewise.
6303 * libio/iofflush_u.c: Likewise.
6304 * libio/iofgets.c: Likewise.
6305 * libio/iofgets_u.c: Likewise.
6306 * libio/iofopen.c: Likewise.
6307 * libio/iofopncook.c: Likewise.
6308 * libio/iofread.c: Likewise.
6309 * libio/iofread_u.c: Likewise.
6310 * libio/ioftell.c: Likewise.
6311 * libio/iofwrite.c: Likewise.
6312 * libio/iogetline.c: Likewise.
6313 * libio/iogets.c: Likewise.
6314 * libio/iogetwline.c: Likewise.
6315 * libio/iopadn.c: Likewise.
6316 * libio/iopopen.c: Likewise.
6317 * libio/ioseekoff.c: Likewise.
6318 * libio/ioseekpos.c: Likewise.
6319 * libio/iosetbuffer.c: Likewise.
6320 * libio/iosetvbuf.c: Likewise.
6321 * libio/ioungetc.c: Likewise.
6322 * libio/ioungetwc.c: Likewise.
6323 * libio/iovdprintf.c: Likewise.
6324 * libio/iovsprintf.c: Likewise.
6325 * libio/iovsscanf.c: Likewise.
6326 * libio/memstream.c: Likewise.
6327 * libio/obprintf.c: Likewise.
6328 * libio/oldfileops.c: Likewise.
6329 * libio/oldiofclose.c: Likewise.
6330 * libio/oldiofdopen.c: Likewise.
6331 * libio/oldiofopen.c: Likewise.
6332 * libio/oldiopopen.c: Likewise.
6333 * libio/oldstdfiles.c: Likewise.
6334 * libio/putc.c: Likewise.
6335 * libio/setbuf.c: Likewise.
6336 * libio/setlinebuf.c: Likewise.
6337 * libio/stdfiles.c: Likewise.
6338 * libio/strops.c: Likewise.
6339 * libio/vasprintf.c: Likewise.
6340 * libio/vscanf.c: Likewise.
6341 * libio/vsnprintf.c: Likewise.
6342 * libio/vswprintf.c: Likewise.
6343 * libio/wfiledoalloc.c: Likewise.
6344 * libio/wfileops.c: Likewise.
6345 * libio/wgenops.c: Likewise.
6346 * libio/wmemstream.c: Likewise.
6347 * libio/wstrops.c: Likewise.
6348 * libio/__fpurge.c: Likewise.
6349 * libio/__fsetlocking.c: Likewise.
6350 * assert/assert.c: Likewise.
6351 * debug/fgets_chk.c: Likewise.
6352 * debug/fgets_u_chk.c: Likewise.
6353 * debug/fread_chk.c: Likewise.
6354 * debug/fread_u_chk.c: Likewise.
6355 * debug/gets_chk.c: Likewise.
6356 * debug/obprintf_chk.c: Likewise.
6357 * debug/vasprintf_chk.c: Likewise.
6358 * debug/vdprintf_chk.c: Likewise.
6359 * debug/vsnprintf_chk.c: Likewise.
6360 * debug/vsprintf_chk.c: Likewise.
6361 * malloc/mtrace.c: Likewise.
6362 * misc/error.c: Likewise.
6363 * misc/syslog.c: Likewise.
6364 * stdio-common/asprintf.c: Likewise.
6365 * stdio-common/fxprintf.c: Likewise.
6366 * stdio-common/getw.c: Likewise.
6367 * stdio-common/isoc99_fscanf.c: Likewise.
6368 * stdio-common/isoc99_scanf.c: Likewise.
6369 * stdio-common/isoc99_vfscanf.c: Likewise.
6370 * stdio-common/isoc99_vscanf.c: Likewise.
6371 * stdio-common/isoc99_vsscanf.c: Likewise.
6372 * stdio-common/printf-prs.c: Likewise.
6373 * stdio-common/printf_fp.c: Likewise.
6374 * stdio-common/printf_fphex.c: Likewise.
6375 * stdio-common/printf_size.c: Likewise.
6376 * stdio-common/putw.c: Likewise.
6377 * stdio-common/scanf.c: Likewise.
6378 * stdio-common/sprintf.c: Likewise.
6379 * stdio-common/tmpfile.c: Likewise.
6380 * stdio-common/vfprintf.c: Likewise.
6381 * stdio-common/vfscanf.c: Likewise.
6382 * stdlib/strfmon_l.c: Likewise.
6383 * sunrpc/openchild.c: Likewise.
6384 * sunrpc/xdr_stdio.c: Likewise.
6385 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6386 * sysdeps/mach/hurd/tmpfile.c: Likewise.
6388 2012-05-24 Roland McGrath <roland@hack.frob.com>
6390 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6392 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
6393 in the third column, to generate for the shared library an IFUNC
6394 that uses _dl_vdso_vsym.
6395 * Makerules (COMPILE.c, compile-stdin.c): New variables.
6396 * Makeconfig (object-suffixes-noshared): New variable.
6398 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
6399 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
6400 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
6401 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
6404 * include/sys/time.h (__gettimeofday): Remove macro.
6405 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
6406 * time/gettimeofday.c (__gettimeofday): Remove #undef.
6408 (__gettimeofday): Add libc_hidden_def.
6409 (gettimeofday): Add libc_hidden_weak.
6410 * sysdeps/mach/gettimeofday.c: Likewise.
6411 * sysdeps/posix/gettimeofday.c: Likewise.
6412 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6413 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6414 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
6415 (__gettimeofday_internal): Remove strong_alias.
6416 (__gettimeofday): Add libc_hidden_def.
6417 (gettimeofday): Add libc_hidden_weak.
6418 * sysdeps/unix/syscalls.list (gettimeofday):
6419 Remove __gettimeofday_internal alias.
6421 2012-05-24 Daniel Jacobowitz <drow@false.org>
6422 H.J. Lu <hongjiu.lu@intel.com>
6425 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
6426 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
6427 (largebin_index_32_big): New.
6428 (largebin_index): Use it for 16-byte alignment.
6429 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
6430 correction with front_misalign.
6432 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
6435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
6439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
6443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
6445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
6447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
6449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
6453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
6455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
6460 * scripts/data/c++-types-x32-linux-gnu.data: New file.
6461 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
6463 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6467 * math/libm-test.inc (exp_test): Add test from bug 14036.
6468 (pow_test): Add test from bug 10846.
6470 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
6472 (special_function): Do not include flags in test name.
6473 (parse_args): Likewise.
6474 * sysdeps/i386/fpu/libm-test-ulps: Update.
6475 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6476 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6477 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6480 * math/gen-libm-test.pl (%beautify): Add entries for underflow
6482 * math/libm-test.inc ("Philosophy"): Update comment about
6484 (UNDERFLOW_EXCEPTION): New macro.
6485 (UNDERFLOW_EXCEPTION_OK): Likewise.
6486 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6487 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6488 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6489 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6490 (INVALID_EXCEPTION_OK): Update value.
6491 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6492 (OVERFLOW_EXCEPTION_OK): Likewise.
6493 (IGNORE_ZERO_INF_SIGN): Likewise.
6494 (test_exceptions): Handle underflow exceptions.
6495 (acos_test): Update for underflow exception expectations.
6496 (cexp_test): Likewise.
6497 (clog_test): Likewise.
6498 (clog10_test): Likewise.
6499 (csqrt_test): Likewise.
6500 (ctan_test): Likewise.
6501 (ctanh_test): Likewise.
6502 (exp_test): Likewise.
6503 (exp10_test): Likewise.
6504 (exp2_test): Likewise.
6505 (expm1_test): Likewise.
6506 (fma_test): Likewise.
6507 (j0_test): Likewise.
6508 (jn_test): Likewise.
6509 (nexttoward_test): Likewise.
6510 (pow_test): Likewise.
6511 (scalbn_test): Likewise.
6512 (scalbln_test): Likewise.
6513 (tan_test): Likewise.
6514 (y1_test): Likewise.
6515 * sysdeps/i386/fpu/libm-test-ulps: Update.
6516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6518 2012-05-23 David S. Miller <davem@davemloft.net>
6520 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6521 (__libc_sigaction): Remove unused local variables.
6523 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6525 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
6527 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
6529 mktime: avoid signed integer overflow
6530 * time/mktime.c (__mktime_internal): Do not mishandle the case
6531 where diff == INT_MIN.
6533 mktime: simplify computation of average
6534 * time/mktime.c (ranged_convert): Use new time_t_avg function
6535 instead of rolling our own (probably-slower) code.
6537 mktime: do not assume signed right shift propagates sign bit
6538 * time/mktime.c (isdst_differ): New static function.
6539 (__mktime_internal): No need to normalize tm_isdst now.
6540 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
6543 mktime: merge another wrapv change from gnulib
6544 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
6545 from some compilers.
6547 mktime: remove incorrect attempt at unusual arithmetics
6548 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
6549 The code didn't really work on such machines anyway.
6550 (TYPE_MINIMUM): Assume two's complement.
6551 (twos_complement_arithmetic): Verify that long_int and time_t
6552 are two's complement (or unsigned, in the latter case).
6554 mktime: check signed shifts on long_int and time_t, too
6555 * time/mktime.c (SHR): Check that shifts work as desired
6556 on the types long_int and time_t too, as SHR is used on
6559 mktime: do not assume 'long' is wide enough
6560 * time/mktime.c (verify): Move decl up.
6561 (long_int): New type.
6562 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
6563 to remove assumption in the code that 'long' is wide enough to
6564 store year values. This assumption is not true on x32 and on
6565 some non-glibc platforms.
6567 mktime: merge wrapv change from gnulib
6568 * time/mktime.c (WRAPV): New macro.
6569 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
6570 (guess_time_tm, __mktime_internal): Do not assume that signed
6571 integer overflow wraps around; modern compilers generate code
6572 where this assumption is no longer valid.
6574 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6576 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6577 Replace "jmp L(pseudo_end)" with "ret".
6578 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
6581 2012-05-23 Andreas Jaeger <aj@suse.de>
6583 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
6584 * sysdeps/unix/sysv/linux/poll.c: Remove file.
6586 2012-05-23 Andreas Jaeger <aj@suse.de>
6587 Maximilian Attems <max@stro.at>
6589 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
6592 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6594 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
6595 code so that pseudo_end is just ret and the stack pointer is
6596 correct also for static library in error case.
6598 2012-05-23 Joseph Myers <joseph@codesourcery.com>
6600 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
6601 move to syscalls.list.
6602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6607 * manual/install.texi (Running make install): Do not mention Linux
6608 kernel version for which pt_chown is not needed.
6609 (Linux): Do not mention problems with nscd with 2.0 kernels.
6610 * INSTALL: Regenerated.
6612 2012-05-23 Andreas Jaeger <aj@suse.de>
6614 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
6615 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
6617 * sysdeps/unix/sysv/linux/s390/bits/mman.h
6618 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6619 * sysdeps/unix/sysv/linux/sh/bits/mman.h
6620 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6621 * sysdeps/unix/sysv/linux/i386/bits/mman.h
6622 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6623 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
6624 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6625 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
6626 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6627 * sysdeps/unix/sysv/linux/bits/in.h
6628 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
6630 2012-05-22 Roland McGrath <roland@hack.frob.com>
6632 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
6633 (PREPARE_VERSION): Just use assert instead, it will be elided
6634 under [NDEBUG] anyway.
6636 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6638 * sysdeps/unix/sysv/linux/Makefile: Include
6639 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
6640 (sysdep_routines): Remove sysctl.
6641 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
6642 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
6643 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
6644 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
6645 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
6647 2012-05-22 Andreas Jaeger <aj@suse.de>
6649 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
6650 that pseudo_end is just ret and the stack pointer is correct also
6651 for static library in error case.
6653 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6656 * nss/nsswitch.c (defconfig_entries): New variable.
6657 (__nss_database_lookup): Don't leak defconfig entries.
6658 (nss_parse_service_list): Don't leak on error paths.
6659 (free_database_entries): New function.
6660 (free_defconfig): New function.
6661 (free_mem): Move common code to free_database_entries.
6663 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6665 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
6667 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
6669 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6670 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
6671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
6673 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6674 (INTERNAL_SYSCALL_TYPES): Likewise.
6675 (LOAD_ARGS_TYPES_[1-6]): Likewise.
6676 (LOAD_REGS_TYPES_[1-6]): Likewise.
6677 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
6678 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
6680 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6682 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
6683 copysignl for GLIBC_2_0.
6684 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
6685 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
6686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
6687 logbl for GLIBC_2_0.
6688 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6689 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6691 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6693 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
6694 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6696 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6699 * time/mktime.c: Update copyright years.
6701 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6703 mktime: merge comment-quoting-style change from gnulib
6704 * time/mktime.c: Quote 'like this' in comments.
6705 The GNU coding standards suggest that we no longer quote `like this',
6706 as "`" and "'" are typically rendered asymmetrically nowadays.
6707 The typical gnulib style is to quote 'like this' when quoting
6708 code, and "like this" when quoting English.
6710 * time/mktime.c (compile-command): Add "-I.".
6712 mktime: merge mktime-internal.h change from gnulib
6713 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6715 mktime: merge time_r change from gnulib
6716 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6718 mktime: merge DEBUG change from gnulib
6719 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6720 case system <time.h> has a #define.
6722 mktime: merge <sys/types.h> change from gnulib
6723 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6724 since <time.t> is now guaranteed to define time_t.
6726 mktime: merge HAVE_CONFIG_H change from gnulib
6727 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6729 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6731 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6734 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6736 (struct rusage): Use anonymous union to pad each field to
6739 2012-05-21 David S. Miller <davem@davemloft.net>
6741 * Makefules (o-iterator): Remove .s cases.
6742 (compile-command.s): Delete.
6743 (COMPILE.s): Delete.
6744 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6746 2012-05-21 Joseph Myers <joseph@codesourcery.com>
6748 * configure.in (libc_cv_predef_stack_protector): Only consider
6749 "foobar" and "__stack_chk_fail" lines in libc_undefs.
6750 * configure: Regenerated.
6752 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6754 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6755 New macro. Use R*LP on int and pointer.
6756 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
6757 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6758 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
6759 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6761 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6762 [__WORDSIZE_TIME64_COMPAT32] instead of
6763 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6764 (struct utmp): Likewise.
6765 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6766 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6768 (__WORDSIZE_TIME64_COMPAT32): This.
6769 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6770 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6771 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6772 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6773 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6774 (__WORDSIZE_TIME64_COMPAT32): New macro.
6776 2012-05-21 Andreas Jaeger <aj@suse.de>
6778 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6779 only if [SHARED]. Add prototype for __wcschr_ia32.
6781 2012-05-21 Roland McGrath <roland@hack.frob.com>
6783 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6784 of %rbp unmolested in the jmp_buf while mangling the low bits.
6785 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6786 unmolested high bits of %rbp while demangling the low bits.
6787 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6789 2012-05-21 Andreas Jaeger <aj@suse.de>
6791 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6792 * sunrpc/svc_simple.c: Use it for registerrpc.
6793 * sunrpc/xcrypt.c: Use it for passwd2des.
6795 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6797 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6799 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6800 Don't define if [__SYSCALL_WORDSIZE != 32].
6801 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6804 2012-05-21 Bruno Haible <bruno@clisp.org>
6805 Andreas Jaeger <aj@suse.de>
6807 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6808 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6809 inptr and inend for must_buffer_ch.
6810 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6811 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6812 * stdio-common/Makefile (tests): Remove bug15.
6813 (bug15-ENV): Remove macro.
6814 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6817 2012-05-19 Andreas Jaeger <aj@suse.de>
6818 Roland McGrath <roland@hack.frob.com>
6820 * manual/contrib.texi: Completely rewritten. It contains now an
6821 alphabetical list of contributors and their contributions.
6823 2012-05-21 Richard Henderson <rth@twiddle.net>
6825 * misc/getauxval.c (__getauxval): Use unsigned long int.
6826 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6827 (getauxval): Use unsigned long int.
6829 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6831 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6833 2012-05-21 Roland McGrath <roland@hack.frob.com>
6835 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6836 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6837 __alignof__ (long double).
6839 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6843 2012-05-20 Richard Henderson <rth@twiddle.net>
6845 * misc/getauxval.c: New file.
6846 * misc/sys/auxv.h: New file.
6847 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6848 (routines): Add getauxval.
6849 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6850 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6851 * elf/dl-sysdep.c (_dl_auxv): Remove.
6852 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6853 * elf/dl-support.c (_dl_auxv): New variable.
6854 (_dl_aux_init): Initialize it.
6855 * manual/startup.texi (Auxiliary Vector): New node.
6856 * sysdeps/generic/bits/hwcap.h: New file.
6857 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6858 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6859 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6860 * sysdeps/sparc/sysdep.h: ... here. Include it.
6861 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6862 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
6863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6868 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6874 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6878 2012-05-19 David S. Miller <davem@davemloft.net>
6880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6882 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6885 * math/s_ccosh.c: Include <float.h>
6886 (__ccosh): Avoid internal overflow calculating sinh and cosh
6887 values before multiplying by sin and cos values.
6888 * math/s_ccoshf.c: Likewise.
6889 * math/s_ccoshl.c: Likewise.
6890 * math/s_csin.c: Likewise.
6891 * math/s_csinf.c: Likewise.
6892 * math/s_csinl.c: Likewise.
6893 * math/s_csinh.c: Likewise.
6894 * math/s_csinhf.c: Likewise.
6895 * math/s_csinhl.c: Likewise.
6896 * math/libm-test.inc (ccos_test): Add more tests.
6897 (ccosh_test): Likewise.
6898 (csin_test): Likewise.
6899 (csinh_test): Likewise.
6900 * sysdeps/i386/fpu/libm-test-ulps: Update.
6901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6903 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6905 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6906 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6908 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6910 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6912 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6913 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6914 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6915 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6916 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6917 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6918 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6919 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6920 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6921 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6922 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6923 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6924 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6925 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6926 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6927 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6928 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6929 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6930 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6931 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6932 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6933 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6934 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6935 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6936 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6937 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6938 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6939 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6940 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6941 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6942 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6944 2012-05-18 Andreas Jaeger <aj@suse.de>
6946 * csu/.gitignore: Delete.
6948 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6950 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6951 (timex): Use __syscall_slong_t.
6953 2012-05-18 Andreas Jaeger <aj@suse.de>
6954 Carlos O'Donell <carlos_odonell@mentor.com>
6956 * manual/install.texi (Configuring and compiling): Update
6957 description about files modified in the source directory.
6958 * INSTALL: Regenerated.
6960 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6962 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6963 value. Use "or" to set return value to -1.
6964 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6965 negate return value.
6967 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6969 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6970 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6971 failure if the compiler has Graphite support disabled.
6972 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6974 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6975 CFLAGS-memmove.c): Likewise.
6976 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6979 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6981 * sysdeps/x86_64/x32/_itoa.h: New file.
6983 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6984 getdents system call only if kernel and user dirents have the
6985 same d_ino and d_off.
6987 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6988 LLONG_MAX != LONG_MAX.
6989 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6990 (_fitoa_word): Likewise.
6992 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6994 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6995 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6996 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6998 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6999 include <bits/wordsize.h>. Check __x86_64__ instead of
7001 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7002 if __x86_64__ is defined. Use anonymous union on fpstate.
7004 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7007 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7009 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7010 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7011 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7012 Refer to _rtld_local_ro instead of _rtld_global_ro.
7013 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7015 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7017 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7019 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7020 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7021 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7023 * sysdeps/powerpc/powerpc32/dl-machine.c
7024 (__elf_machine_runtime_setup) [PROF]: Don't reference
7027 2012-05-18 Andreas Jaeger <aj@suse.de>
7029 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7030 function only available for GCCs before 3.4 since GCC 3.4
7031 introduced a builtin.
7033 (llrintf): Likewise.
7041 (nearbyint): Likewise.
7042 (nearbyintf): Likewise.
7048 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7050 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7051 on both fields and cast pointer to __syscall_ulong_t.
7053 * bits/types.h (__fsword_t): New type.
7054 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7055 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7056 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7057 (__FSWORD_T_TYPE): Likewise.
7058 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7059 (__FSWORD_T_TYPE): Likewise.
7060 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7061 (__FSWORD_T_TYPE): Likewise.
7062 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7063 (__FSWORD_T_TYPE): Likewise.
7064 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7065 __SWORD_TYPE with __fsword_t.
7066 (statfs64): Likewise.
7068 2012-05-17 David S. Miller <davem@davemloft.net>
7070 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7072 2012-05-17 Andreas Jaeger <aj@suse.de>
7074 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7077 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7079 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7081 2012-05-17 Andreas Jaeger <aj@suse.de>
7083 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7086 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7088 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7090 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7092 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7093 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7095 2012-05-17 Andreas Jaeger <aj@suse.de>
7096 Carlos O'Donell <carlos_odonell@mentor.com>
7099 * sysdeps/x86_64/multiarch/init-arch.h
7100 (bit_YMM_Usable): Rename to...
7101 (bit_AVX_Usable): ... this.
7102 (bit_FMA4_Usable): New macro.
7103 (bit_XMM_state): New macro.
7104 (bit_YMM_state): New macro.
7105 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7106 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7107 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7108 (CPUID_OSXSAVE): New macro.
7109 (CPUID_AVX): New macro.
7110 (CPUID_FMA4): New macro.
7111 (index_YMM_Usable): Rename to...
7112 (index_AVX_Usable): ... this.
7113 (HAS_AVX): Use HAS_ARCH_FEATURE.
7114 (HAS_FMA4): Likewise.
7115 (HAS_YMM_USABLE): Remove.
7116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7117 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7119 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7120 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7121 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7122 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7123 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7125 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7127 * math/libm-test.c: Support platforms without multiple rounding modes.
7128 * math/bug-nextafter.c: Support platforms without FP exceptions.
7129 * math/bug-nexttoward.c: Likewise.
7130 * math/test-fenv.c: Likewise.
7131 * math/test-misc.c: Likewise.
7132 * stdlib/bug-getcontext.c: Likewise.
7134 2012-05-17 Andreas Jaeger <aj@suse.de>
7136 * manual/examples/search.c (critter_cmp): Change signature to
7138 * manual/string.texi (Collation Functions): Likewise.
7140 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7142 * bits/types.h: Fold copyright years.
7143 * bits/typesizes.h: Likewise.
7144 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7145 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7146 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7147 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7148 * time/time.h: Likewise.
7150 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7153 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7154 in instead of returning them. Return void.
7155 (__libc_mallinfo): Accumulate over all arenas.
7156 (__malloc_stats): Adjust for change in int_mallinfo interface.
7158 2012-05-16 Roland McGrath <roland@hack.frob.com>
7161 * configure.in (NM): Add AC_CHECK_TOOL for it.
7162 (libc_extra_cflags): New substituted variable.
7163 Check for -fstack-protector being used implicitly.
7164 * configure: Regenerated.
7165 * config.make.in (config-extra-cflags): New variable,
7166 gets @libc_extra_cflags@.
7167 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7170 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7171 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7172 * configure: Regenerated.
7173 * config.make.in (CPPUNDEFS): New substituted variable.
7174 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7175 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7176 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7178 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7180 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7181 (mq_attr): Use __syscall_slong_t.
7183 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7185 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7186 Check __x86_64__ instead of __WORDSIZE.
7187 (_STAT_VER_LINUX): Likewise.
7188 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7189 __syscall_ulong_t and __syscall_slong_t.
7192 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7194 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7196 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7198 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7200 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7202 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7205 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7206 include <bits/wordsize.h>. Check __x86_64__ instead of
7208 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7210 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7212 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7213 include <bits/wordsize.h>. Check __x86_64__ instead of
7215 (user_regs_struct): Use "__extension__ unsigned long long"
7216 instead of "unsigned long" if __x86_64__ is defined.
7217 (user): Likewise. Pad after pointer field if __ILP32__ is
7220 2012-05-16 Joseph Myers <joseph@codesourcery.com>
7222 * configure.in (makeinfo): Require version 4.5 or later. Allow
7224 * configure: Regenerated.
7225 * manual/install.texi (texinfo): Increase version requirement to
7227 * INSTALL: Regenerated.
7229 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7231 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7233 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7235 * sysdeps/x86_64/x32/ffs.c: New file.
7237 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7239 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7240 defined. Use __syscall_ulong_t.
7241 (shminfo): Use __syscall_ulong_t.
7242 (shm_info): Likewise.
7244 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7247 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7249 (msgqnum_t): Use __syscall_ulong_t.
7250 (msglen_t): Likewise.
7251 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7254 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7255 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7257 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7259 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7260 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7262 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7265 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7266 include <bits/wordsize.h>. Check __x86_64__ instead of
7269 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7270 "unsigned long long int" if __x86_64__ is defined.
7271 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7273 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7274 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7275 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7277 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7279 (GET_PC): Cast to uintptr_t first.
7280 (GET_FRAME): Likewise.
7281 (GET_STACK): Likewise.
7283 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7284 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7285 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7286 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7287 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7288 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7289 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7290 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7291 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7292 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7293 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7294 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7295 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7296 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7297 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7298 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7299 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7300 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7301 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7302 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7303 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7304 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7305 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7306 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7307 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7308 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7309 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7310 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7311 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7313 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
7315 * Makerules (+depfiles): Also collect depfiles from .oS in
7317 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7318 .oS, $(libnldbl-routines)).
7320 * Makerules (native-compile-mkdep-flags): Define.
7321 * sunrpc/Makefile (extra-objs): Add $(addprefix
7322 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7323 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7324 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
7325 calling $(make-target-directory).
7327 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7329 * bits/types.h (__snseconds_t): Removed.
7330 * time/time.h (struct timespec): Replace __snseconds_t with
7332 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7333 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
7335 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7336 (__SNSECONDS_T_TYPE): Likewise.
7337 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7338 (__SNSECONDS_T_TYPE): Likewise.
7339 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7340 (__SNSECONDS_T_TYPE): Likewise.
7342 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7344 * sysdeps/mach/hurd/bits/typesizes.h
7345 (__SYSCALL_SLONG_TYPE): New macro.
7346 (__SYSCALL_ULONG_TYPE): Likewise.
7348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7350 * bits/types.h (__syscall_slong_t): New type.
7351 (__syscall_ulong_t): Likewise.
7353 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
7354 (__SYSCALL_ULONG_TYPE): Likewise.
7355 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7356 (__SYSCALL_SLONG_TYPE): Likewise.
7357 (__SYSCALL_ULONG_TYPE): Likewise.
7358 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7359 (__SYSCALL_SLONG_TYPE): Likewise.
7360 (__SYSCALL_ULONG_TYPE): Likewise.
7361 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7362 (__SYSCALL_SLONG_TYPE): Likewise.
7363 (__SYSCALL_ULONG_TYPE): Likewise.
7365 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7367 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
7368 Add sigaltstack-offsets.sym.
7369 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7370 <sigaltstack-offsets.h>.
7371 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
7372 longjmp_msg pointer.
7373 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
7374 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
7376 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
7378 2012-05-15 Joseph Myers <joseph@codesourcery.com>
7380 * elf/stackguard-macros.h: Remove file.
7381 * sysdeps/generic/stackguard-macros.h: New file.
7382 * sysdeps/i386/stackguard-macros.h: Likewise.
7383 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7384 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7385 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7386 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7387 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7388 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7389 * sysdeps/x86_64/stackguard-macros.h: Likewise.
7390 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
7391 <elf/stackguard-macros.h>.
7394 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
7395 __aligned__ in attribute.
7396 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
7397 (gregset_t): Likewise.
7399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7401 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
7402 * sysdeps/x86_64/64/Implies-after: Here. New file.
7403 * sysdeps/x86_64/x32/Implies-after: New file.
7405 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7407 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
7408 and access return value for _dl_profile_fixup. Use R10_LP to
7411 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7413 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
7415 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7417 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
7418 * sysdeps/x86_64/x32/sysdep.h: New file.
7420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7422 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
7423 * sysdeps/x86_64/setjmp.S: Likewise.
7425 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7427 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
7428 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
7429 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
7430 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
7431 remove unused global constant.
7433 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
7435 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
7436 include of <not-cancel.h>.
7438 2012-05-15 Roland McGrath <roland@hack.frob.com>
7440 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
7442 2012-05-15 Jeff Law <law@redhat.com>
7443 Andreas Jaeger <aj@suse.de>
7446 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
7448 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
7449 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
7450 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
7451 code changing __hst_map_handle.map.
7453 2012-05-15 Roland McGrath <roland@hack.frob.com>
7455 * configure.in (sysnames): Look for Implies-before and Implies-after
7457 * configure: Regenerated.
7459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7461 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
7462 8-byte data alignment with LP_SIZE alignment.
7464 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7466 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
7469 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7471 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
7473 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7475 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
7476 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
7477 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
7479 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7483 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
7484 (stackinfo_sub_sp): Likewise.
7486 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7488 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
7491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7493 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
7496 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7498 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
7501 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7503 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
7505 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7507 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
7508 into R11_LP and load __x86_64_shared_cache_size_half into
7511 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7513 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
7516 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7518 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
7520 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
7522 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
7524 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
7525 powerpc32/power7/fpu/s_logb.c via #include.
7526 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
7527 powerpc32/power7/fpu/s_logbf.c via #include.
7528 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
7529 powerpc32/power7/fpu/s_logbl.c via #include.
7531 2012-05-15 Joseph Myers <joseph@codesourcery.com>
7533 * README.libm: Remove file.
7535 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7537 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
7538 count for x32. Use R*_LP and omit operand-size suffix.
7540 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7542 * shlib-versions: Move x86_64-.*-linux.* entries to ...
7543 * sysdeps/x86_64/64/shlib-versions: Here. New file.
7544 * sysdeps/x86_64/x32/shlib-versions: New file.
7546 2012-05-14 Roland McGrath <roland@hack.frob.com>
7548 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
7549 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
7550 Use _dl_fatal_printf instead.
7552 2012-05-14 Joseph Myers <joseph@codesourcery.com>
7554 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
7555 set if not set by the user. Do not allow for being unset.
7556 * sysdeps/unix/sysv/linux/configure: Regenerated.
7558 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7560 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
7561 the `q' suffix from lea and replace .quad with ASM_ADDR.
7563 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7565 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
7566 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
7568 (PTR_DEMANGLE): Likewise.
7570 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7572 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
7574 (ASM_ADDR): Likewise.
7592 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7594 * sysdeps/x86_64/x32/dl-machine.h: New file.
7596 2012-05-14 Andreas Jaeger <aj@suse.de>
7598 * manual/Makefile (subdir): Remove export of subdir.
7599 (all): Remove target.
7600 (.PHONY): Remove all from list.
7601 (mkinstalldirs): Remove.
7602 (.PHONY): Remove installdirs from list.
7603 ($(inst_infodir)/libc.info): Use make-target-directory.
7604 (installdirs): Remove.
7606 (glibc-targets): Remove.
7609 ($(objpfx)stubs ../po/manual.pot): Remove.
7610 ($(objpfx)stamp%): Remove.
7611 (make-target-directory): Remove.
7612 (subdir_install): Remove.
7620 * manual/.gitignore: Remove, it's not needed anymore.
7621 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
7623 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
7625 (texis): Renamed to $(objpfx)texis.
7626 (texis-path): New, contains path to generated files.
7627 (chapters.%): Use texis-path for complete path, add extra argument
7629 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
7630 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
7631 (summary,texi, stamp-summary): Use complete path of
7632 files. Generate files in build dir.
7633 (dir-add.texi): Build in build dir.
7634 (libm-err.texi,stamp-libm-err): Likewise.
7635 (version.texi, stamp-version): Likewise.
7636 (.%c.texi): Likewise.
7637 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
7638 (mostlyclean): Remove target.
7639 (realclean): Remove target.
7640 (generated): Add new variable with contents from mostlyclean and
7641 realclean, remove entries duplicated in common-mostlyclean, add
7642 stamp-libm-err and stamp-version.
7643 (generated-dirs): Add libc directory.
7644 ($(inst_infodir)/libc.info): Install files from build dir.
7646 * manual/install.texi (Configuring and compiling): Adjust since
7647 the info files are not part of the tar ball anymore.
7649 2012-05-14 Andreas Jaeger <aj@suse.de>
7651 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
7654 2012-05-14 Joseph Myers <joseph@codesourcery.com>
7657 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7658 to 2.2.0 where earlier.
7659 * sysdeps/unix/sysv/linux/configure: Regenerated.
7660 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
7661 Remove conditional code.
7662 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
7663 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
7664 Remove conditional code.
7665 [!__NR_lchown]: Likewise.
7666 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7667 [__NR_lchown]: Likewise.
7668 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
7669 comment referencing __ASSUME_LCHOWN_SYSCALL.
7670 * sysdeps/unix/sysv/linux/i386/sigaction.c
7671 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7672 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7673 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
7674 Remove conditional code.
7675 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
7676 (__protocol_available): Remove #if 0 code.
7677 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
7679 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
7680 * sysdeps/unix/sysv/linux/kernel-features.h
7681 (__ASSUME_GETCWD_SYSCALL): Don't define.
7682 (__ASSUME_REALTIME_SIGNALS): Likewise.
7683 (__ASSUME_PREAD_SYSCALL): Likewise.
7684 (__ASSUME_PWRITE_SYSCALL): Likewise.
7685 (__ASSUME_POLL_SYSCALL): Likewise.
7686 (__ASSUME_LCHOWN_SYSCALL): Likewise.
7687 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
7689 (__ASSUME_SIOCGIFNAME): Don't define.
7690 (__ASSUME_MSG_NOSIGNAL): Likewise.
7691 (__ASSUME_SENDFILE): Define unconditionally.
7692 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
7693 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
7695 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7696 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7697 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7698 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7699 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7700 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7701 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7703 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7704 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7706 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7707 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7709 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7710 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7712 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7713 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7715 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7716 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7718 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7719 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7721 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7722 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7724 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7725 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7726 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7727 Remove conditional code.
7728 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7729 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7730 Remove conditional code.
7731 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7732 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7733 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7734 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7735 Remove conditional code.
7736 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7737 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7738 Remove conditional code.
7739 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7740 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7741 Remove conditional code.
7742 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7743 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7744 Remove conditional code.
7745 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7746 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7747 Remove conditional code.
7748 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7749 * sysdeps/unix/sysv/linux/sh/pwrite64.c
7750 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7751 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7752 * sysdeps/unix/sysv/linux/sigaction.c
7753 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7754 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7755 * sysdeps/unix/sysv/linux/sigpending.c
7756 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7757 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7758 * sysdeps/unix/sysv/linux/sigprocmask.c
7759 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7760 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7761 * sysdeps/unix/sysv/linux/sigsuspend.c
7762 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7763 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7764 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7765 (__libc_missing_rt_sigs): Remove.
7766 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7767 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7768 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7769 Remove conditional code.
7770 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7771 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7773 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7774 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7775 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7776 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7778 2012-05-14 Andreas Jaeger <aj@suse.de>
7780 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7781 it's not used in glibc.
7782 (__coshm1): Likewise.
7783 (__acosh1p): Likewise.
7786 * manual/string.texi (Copying and Concatenation): Add missing
7787 variable in concat example.
7788 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7790 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7793 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7794 __builtin_clzl with __builtin_clzll.
7796 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7799 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7802 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7804 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7805 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7806 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7807 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7809 2012-05-14 Mike Frysinger <vapier@gentoo.org>
7811 * NEWS: Update ia64 info.
7813 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7815 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7818 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7820 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7821 * sysdeps/unix/syscalls.list (dup3): Likewise.
7822 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7823 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7825 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7827 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7828 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7830 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7832 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7834 (TLS_IE): Use mov/add instead of movq/addq to load thread
7836 (TLS_GD_PREFIX): New.
7839 2012-05-11 David S. Miller <davem@davemloft.net>
7841 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7842 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7843 (_FPU_SETCW): Likewise.
7845 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7847 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7850 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7853 * iconvdata/gb18030.c: Update tables.
7854 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7855 characters specially.
7856 (BODY for TO_LOOP): Add encoding of missing ranges.
7858 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7861 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7862 * sysdeps/mach/hurd/dup3.c: Likewise.
7863 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7864 * sysdeps/powerpc/memmove.c:: Likewise.
7866 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7868 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7869 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7871 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7873 * elf/elf.h (R_X86_64_RELATIVE64): New.
7874 (R_X86_64_NUM): Updated.
7875 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7876 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7877 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7878 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7879 tst-quad1pie tst-quad2pie
7880 (modules-names): Add tst-quadmod1 tst-quadmod2.
7881 ($(objpfx)tst-quad1): New dependency.
7882 ($(objpfx)tst-quad2): Likewise.
7883 ($(objpfx)tst-quad1pie): Likewise.
7884 ($(objpfx)tst-quad2pie): Likewise.
7885 * sysdeps/x86_64/tst-quad1.c: New file.
7886 * sysdeps/x86_64/tst-quad1pie.c: New file.
7887 * sysdeps/x86_64/tst-quad2.c: Likewise.
7888 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7889 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7890 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7891 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7892 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7894 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7896 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7897 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7898 * streams/stropts.h (t_scalar_t): Define type.
7900 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7901 (_PATH_PRESERVE): Set to "/var/lib".
7902 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7904 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7907 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7908 if __dir_mkfile succeeded.
7910 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7911 checking for _hurd_dtablesize. Unlock it right after having
7912 finished _hurd_dtable allocation.
7914 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7916 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7917 * sysdeps/mach/hurd/configure: Regenerated.
7918 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7919 special-casing to...
7920 * sysdeps/gnu/configure.in: ... this new file.
7921 * sysdeps/unix/sysv/linux/configure: Regenerated.
7922 * sysdeps/gnu/configure: New generated file.
7924 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7925 for Linux: use nsec instead of usec, as well as:
7926 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7927 members of type struct timespec.
7928 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7930 (struct stat64): Likewise.
7931 (_STATBUF_ST_NSEC): New macro.
7932 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7934 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7935 __strtoul_internal rather than strtoul.
7937 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7939 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7942 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7944 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7945 which preserves existing values.
7946 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7948 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7950 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7951 TIMEOUT values. Return EINVAL for NFDS values either negative or
7952 greater than FD_SETSIZE.
7954 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7956 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7957 allocated, call __vm_protect to finish enabling the existing space, and
7958 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7959 allocate the remainder.
7961 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7963 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7964 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7966 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7968 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7969 sysdeps/mach/hurd/readlink.c.
7971 * posix/tst-sysconf.c (posix_options): Only use
7972 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7973 _POSIX_SYNCHRONIZED_IO when they are defined
7974 * sysdeps/mach/hurd/bits/posix_opt.h:
7975 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7976 (_XOPEN_REALTIME): Undefine macro.
7977 (_XOPEN_REALTIME_THREADS): Undefine macro.
7978 (_XOPEN_SHM): Undefine macro.
7979 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7981 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7983 (_POSIX_ASYNC_IO): Undefine macro.
7984 (_POSIX_PRIORITIZED_IO): Undefine macro.
7985 (_POSIX_SPIN_LOCKS): Define macro to -1.
7987 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7988 SA_NODEFER, SA_RESETHAND.
7989 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7990 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7993 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7995 * elf/Makefile (pldd-modules): Define unconditionally.
7997 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7999 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8001 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8003 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8004 Return ENOENT when name is empty.
8005 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8007 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8009 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8011 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8013 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8015 Fix mlock in all cases except non-readable pages.
8016 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8017 instead of VM_PROT_ALL as parameter to __vm_wire function.
8019 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8020 (__mkdir): When path is `/', just fail with EEXIST.
8021 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8023 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8025 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8026 <sys/uio.h> (for writev).
8027 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8028 and <sys/param.h> (for MIN).
8030 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8032 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8033 REQUESTED_TIME. Properly set the remaining time and return EINTR
8036 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8038 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8039 Depend on against $(link-rpcuserlibs).
8041 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8043 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8044 (__libc_stack_end): Do not use attribute_relro.
8045 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8046 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
8047 to libthread-provided value.
8048 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8051 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8054 * bits/libc-lock.h (__libc_once_get): New macro.
8055 * sysdeps/mach/bits/libc-lock.h: Likewise.
8056 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8057 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8058 instead of using implementation details.
8060 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8061 * libio/freopen.c: Likewise.
8062 * libio/freopen64.c: Likewise.
8063 * misc/syslog.c: Likewise.
8064 * nscd/connections.c: Likewise.
8065 * nscd/netgroupcache.c: Likewise.
8066 * sysdeps/posix/getcwd.c: Likewise.
8068 2012-05-10 Roland McGrath <roland@hack.frob.com>
8070 * math/w_ilogbf.c: Add #include <limits.h>.
8072 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8074 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
8075 path instead of returning without unlocking.
8077 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8078 immediate-write ioctls.
8079 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8081 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8083 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8084 __builtin_frame_address instead of making assumptions about the
8085 location of the return address relative to DATA. Force early load of
8087 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8088 __builtin_frame_address.
8091 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8092 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8093 implement dup3 and do some further code clean-ups.
8094 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8095 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8097 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8099 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8101 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8102 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8103 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8104 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8105 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8108 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8109 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8110 when handler == SIG_ERR, not when handler != SIG_ERR.
8112 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8114 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8115 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8118 accept4 for GNU Hurd.
8119 * include/sys/socket.h (__libc_accept4): New prototype.
8120 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8121 to implement __libc_accept4.
8122 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8124 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8126 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8127 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8128 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8131 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8133 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
8135 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8137 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8138 assertion on O_CLOEXEC flag.
8139 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8140 * hurd/intern-fd.c: Likewise.
8141 * hurd/port2fd.c: Likewise.
8143 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8146 * bits/in.h (IPV6_PKTINFO): Define new macro.
8147 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8149 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8154 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8155 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8156 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8157 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8158 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8159 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8160 * math/libm-test.inc (logb_test) : Additional logb tests.
8162 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8163 Andreas Jaeger <aj@suse.de>
8165 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8166 * configure: Regenerated.
8167 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8168 * config.make.in (link-obsolete-rpc): New substituted variable.
8169 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8170 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8171 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8172 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8173 so that libc.a contains the symbols.
8174 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8175 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8176 * sunrpc/auth_none.c: Likewise.
8177 * sunrpc/auth_unix.c: Likewise.
8178 * sunrpc/authdes_prot.c: Likewise.
8179 * sunrpc/authuxprot.c: Likewise.
8180 * sunrpc/clnt_gen.c: Likewise.
8181 * sunrpc/clnt_perr.c: Likewise.
8182 * sunrpc/clnt_raw.c: Likewise.
8183 * sunrpc/clnt_simp.c: Likewise.
8184 * sunrpc/clnt_tcp.c: Likewise.
8185 * sunrpc/clnt_udp.c: Likewise.
8186 * sunrpc/clnt_unix.c: Likewise.
8187 * sunrpc/des_crypt.c: Likewise.
8188 * sunrpc/des_soft.c: Likewise.
8189 * sunrpc/get_myaddr.c: Likewise.
8190 * sunrpc/key_call.c: Likewise.
8191 * sunrpc/key_prot.c: Likewise.
8192 * sunrpc/netname.c: Likewise.
8193 * sunrpc/pm_getmaps.c: Likewise.
8194 * sunrpc/pm_getport.c: Likewise.
8195 * sunrpc/pmap_clnt.c: Likewise.
8196 * sunrpc/pmap_prot.c: Likewise.
8197 * sunrpc/pmap_prot2.c: Likewise.
8198 * sunrpc/pmap_rmt.c: Likewise.
8199 * sunrpc/publickey.c: Likewise.
8200 * sunrpc/rpc_cmsg.c: Likewise.
8201 * sunrpc/rpc_common.c: Likewise.
8202 * sunrpc/rpc_dtable.c: Likewise.
8203 * sunrpc/rpc_prot.c: Likewise.
8204 * sunrpc/rpc_thread.c: Likewise.
8205 * sunrpc/rtime.c: Likewise.
8206 * sunrpc/svc.c: Likewise.
8207 * sunrpc/svc_auth.c: Likewise.
8208 * sunrpc/svc_raw.c: Likewise.
8209 * sunrpc/svc_run.c: Likewise.
8210 * sunrpc/svc_tcp.c: Likewise.
8211 * sunrpc/svc_udp.c: Likewise.
8212 * sunrpc/svc_unix.c: Likewise.
8213 * sunrpc/svcauth_des.c: Likewise.
8214 * sunrpc/xcrypt.c: Likewise.
8215 * sunrpc/xdr.c: Likewise.
8216 * sunrpc/xdr_array.c: Likewise.
8217 * sunrpc/xdr_float.c: Likewise.
8218 * sunrpc/xdr_intXX_t.c: Likewise.
8219 * sunrpc/xdr_mem.c: Likewise.
8220 * sunrpc/xdr_rec.c: Likewise.
8221 * sunrpc/xdr_ref.c: Likewise.
8222 * sunrpc/xdr_sizeof.c: Likewise.
8223 * sunrpc/xdr_stdio.c: Likewise.
8225 2012-05-10 Roland McGrath <roland@hack.frob.com>
8227 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8228 change. Update copyright years.
8230 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8232 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8234 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8235 Joseph Myers <joseph@codesourcery.com>
8236 Paul Pluzhnikov <ppluzhnikov@google.com>
8239 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8241 [cross-compiling] (extra-libs): Likewise.
8242 [cross-compiling] (extra-libs-others): Likewise.
8243 [cross-compiling] (librpcsvc-routines): Likewise.
8244 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8245 [cross-compiling] (omit-deps): Likewise.
8246 (sunrpc-CPPFLAGS): New variable.
8247 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8248 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8249 (cross-rpcgen-objs): New variable.
8250 (extra-objs): Append $(cross-rpcgen-objs).
8251 ($(cross-rpcgen-objs)): New rule.
8252 ($(objpfx)cross-rpcgen): Likewise.
8253 (rpcgen-cmd): Define to use $(built-program-file). Expand
8255 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8256 ($(objpfx)x%.stmp): Likewise.
8257 * sunrpc/proto.h [IS_IN_build] (_): Define.
8258 [IS_IN_build] (_libc_intl_domainname): Likewise.
8260 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8262 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8263 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8264 and R_X86_64_TPOFF64.
8266 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8268 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8269 sysdeps/unix/sysv/syscalls.list.
8272 * sysdeps/unix/sysv/syscalls.list: Remove file.
8274 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8277 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8278 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8279 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8280 (__LC_IDENTIFICATION): Make these macros useful in #if
8281 expressions, as required by C99.
8283 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8285 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8286 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8289 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8291 * stdlib/longlong.h: Updated from GCC.
8293 2012-05-09 Andreas Jaeger <aj@suse.de>
8295 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8296 default is first entry.
8297 (run_mode): Set type.
8298 (main): Remove informal message about syslog.
8299 (options): Fix typo.
8302 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
8305 (llrintf): Likewise.
8309 (nearbyint): Likewise.
8310 (nearbyintf): Likewise.
8312 2012-05-09 Andreas Jaeger <aj@suse.de>
8313 Pedro Alves <palves@redhat.com>
8315 * nscd/nscd.c (run_mode): Use enum.
8316 (main): Cleanup coding style issue.
8318 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
8319 Andreas Jaeger <aj@suse.de>
8321 * nscd/nscd.c (go_background): Replaced with...
8322 (run_mode): ... this.
8323 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
8324 (options): Add -F --foreground.
8325 (main): Implement it.
8326 (parse_opt): Parse it.
8328 2012-05-09 Andreas Jaeger <aj@suse.de>
8331 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
8332 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
8333 -Wconversion warning.
8334 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8337 2012-05-09 Joseph Myers <joseph@codesourcery.com>
8339 * conform/data/locale.h-data (NULL): Use macro-constant. Require
8341 (LC_ALL): Use macro-int-constant.
8342 (LC_COLLATE): Likewise.
8343 (LC_CTYPE): Likewise.
8344 (LC_MESSAGES): Likewise.
8345 (LC_MONETARY): Likewise.
8346 (LC_NUMERIC): Likewise.
8347 (LC_TIME): Likewise.
8348 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
8349 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8350 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8351 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
8353 [C99-based standards] (float_t): Expect type.
8354 [C99-based standards] (double_t): Expect type.
8355 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
8357 [C99-based standards] (HUGE_VALL): Likewise.
8358 [C99-based standards] (INFINITY): Likewise.
8359 [C99-based standards] (NAN): Likewise.
8360 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
8361 [C99-based standards] (FP_NAN): Likewise.
8362 [C99-based standards] (FP_NORMAL): Likewise.
8363 [C99-based standards] (FP_SUBNORMAL): Likewise.
8364 [C99-based standards] (FP_ZERO): Likewise.
8365 [C99-based standards] (FP_FAST_FMA): Use
8366 optional-macro-int-constant. Specify type. Require == 1.
8367 [C99-based standards] (FP_FAST_FMAF): Likewise.
8368 [C99-based standards] (FP_FAST_FMAL): Likewise.
8369 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
8370 [C99-based standards] (FP_ILOGBNAN): Likewise.
8371 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
8373 [C99-based standards] (MATH_ERREXCEPT): Likewise.
8374 [C99-based standards] (math_errhandling): Specify type.
8375 [ISO99 || ISO11] (signgam): Do not allow.
8376 [non-C99-based standards] (copysignf): Do not allow.
8377 [non-C99-based standards] (exp2f): Likewise.
8378 [non-C99-based standards] (log2f): Likewise.
8379 [non-C99-based standards] (modff): Allow.
8380 [non-C99-based standards] (erff): Do not allow.
8381 [non-C99-based standards] (erfcf): Likewise.
8382 [non-C99-based standards] (gammaf): Likewise.
8383 [non-C99-based standards] (hypotf): Likewise.
8384 [non-C99-based standards] (j0f): Likewise.
8385 [non-C99-based standards] (j1f): Likewise.
8386 [non-C99-based standards] (jnf): Likewise.
8387 [non-C99-based standards] (lgammaf): Likewise.
8388 [non-C99-based standards] (tgammaf): Likewise.
8389 [non-C99-based standards] (y0f): Likewise.
8390 [non-C99-based standards] (y1f): Likewise.
8391 [non-C99-based standards] (ynf): Likewise.
8392 [non-C99-based standards] (isnanf): Likewise.
8393 [non-C99-based standards] (acoshf): Likewise.
8394 [non-C99-based standards] (asinhf): Likewise.
8395 [non-C99-based standards] (atanhf): Likewise.
8396 [non-C99-based standards] (cbrtf): Likewise.
8397 [non-C99-based standards] (expm1f): Likewise.
8398 [non-C99-based standards] (ilogbf): Likewise.
8399 [non-C99-based standards] (log1pf): Likewise.
8400 [non-C99-based standards] (logbf): Likewise.
8401 [non-C99-based standards] (nextafterf): Likewise.
8402 [non-C99-based standards] (remainderf): Likewise.
8403 [non-C99-based standards] (rintf): Likewise.
8404 [non-C99-based standards] (scalbf): Likewise.
8405 [non-C99-based standards] (copysignl): Likewise.
8406 [non-C99-based standards] (exp2l): Likewise.
8407 [non-C99-based standards] (log2l): Likewise.
8408 [non-C99-based standards] (modfl): Allow.
8409 [non-C99-based standards] (erfl): Do not allow.
8410 [non-C99-based standards] (erfcl): Likewise.
8411 [non-C99-based standards] (gammal): Likewise.
8412 [non-C99-based standards] (hypotl): Likewise.
8413 [non-C99-based standards] (j0l): Likewise.
8414 [non-C99-based standards] (j1l): Likewise.
8415 [non-C99-based standards] (jnl): Likewise.
8416 [non-C99-based standards] (lgammal): Likewise.
8417 [non-C99-based standards] (tgammal): Likewise.
8418 [non-C99-based standards] (y0l): Likewise.
8419 [non-C99-based standards] (y1l): Likewise.
8420 [non-C99-based standards] (ynl): Likewise.
8421 [non-C99-based standards] (isnanl): Likewise.
8422 [non-C99-based standards] (acoshl): Likewise.
8423 [non-C99-based standards] (asinhl): Likewise.
8424 [non-C99-based standards] (atanhl): Likewise.
8425 [non-C99-based standards] (cbrtl): Likewise.
8426 [non-C99-based standards] (expm1l): Likewise.
8427 [non-C99-based standards] (ilogbl): Likewise.
8428 [non-C99-based standards] (log1pl): Likewise.
8429 [non-C99-based standards] (logbl): Likewise.
8430 [non-C99-based standards] (nextafterl): Likewise.
8431 [non-C99-based standards] (remainderl): Likewise.
8432 [non-C99-based standards] (rintl): Likewise.
8433 [non-C99-based standards] (scalbl): Likewise.
8434 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8435 [non-C99-based standards] (FP_*): Do not allow.
8436 [C99-based standards] (FP_*): Change to
8437 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8438 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8440 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
8441 (SIG_ERR): Likewise.
8442 [X/Open-based standards] (SIG_HOLD): Likewise.
8443 (SIG_IGN): Likewise.
8444 (SIGABRT): Use macro-int-constant. Specify type. Require
8449 (SIGSEGV): Likewise.
8451 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
8452 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
8453 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
8454 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
8455 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
8456 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
8457 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
8458 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
8459 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
8460 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
8461 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
8462 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
8463 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
8464 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
8465 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
8466 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
8467 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
8468 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
8469 [X/Open-based standards] (SIGTRAP): Likewise.
8470 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
8471 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
8472 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
8473 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
8474 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8477 2012-05-08 Ian Wienand <ianw@vmware.com>
8480 * time/tzset.c (__tzset_parse_tz): Update default rules for
8481 daylight time changes in the Energy Policy Act of 2005.
8483 2012-05-09 Andreas Jaeger <aj@suse.de>
8486 * elf/ldconfig.c (parse_conf): Change string to make clear that
8487 ldconfig only issued a warning if ld.so.conf does not exist.
8489 2012-05-08 David S. Miller <davem@davemloft.net>
8491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
8492 movxtod instead of popping the value on the stack.
8494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8496 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
8498 * config.h.in: Add HAVE_ARM_PCS_VFP.
8500 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
8503 * include/features.h: Warn if user requests __FORTIFY_SOURCE
8504 checking but the checks are disabled for any reason.
8506 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
8508 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
8509 and ELF64_R_TYPE with ELFW(R_TYPE).
8511 2012-05-08 Joseph Myers <joseph@codesourcery.com>
8513 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
8516 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
8517 (settimeofday): Likewise.
8519 2012-05-08 Mike Frysinger <vapier@gentoo.org>
8521 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
8522 a struct th_u2 inside the union, and move tu_block/tu_code into
8523 a new th_u3 union of tu_block/tu_code inside of that. Move
8524 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
8525 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
8526 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
8527 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
8528 (th_stuff): Change to th_u1.tu_stuff.
8530 (th_msg): Change to th_u1.th_u2.tu_data.
8532 2012-05-07 David S. Miller <davem@davemloft.net>
8534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8537 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
8538 (SETUP_PIC_REG): Use it.
8539 (SETUP_PIC_REG_LEAF): Use it.
8541 2012-05-07 Joseph Myers <joseph@codesourcery.com>
8545 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8547 (EXPL_FINITE): Likewise.
8549 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8550 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8552 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8554 (EXPL_FINITE): Likewise.
8556 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8557 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8559 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
8560 test of -max_value argument for long double.
8561 * sysdeps/i386/fpu/libm-test-ulps: Update.
8562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8564 2012-05-06 David S. Miller <davem@davemloft.net>
8566 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
8567 quad soft-float symbols whose references which are compiler
8569 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8571 2012-05-06 Joseph Myers <joseph@codesourcery.com>
8575 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8577 (EXPL_FINITE): Likewise.
8581 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8582 Adjust comments for base varying.
8583 (__expl_finite): Change alias to EXPL_FINITE.
8584 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
8586 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
8587 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8588 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8589 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
8590 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8592 (EXPL_FINITE): Likewise.
8596 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8597 Adjust comments for base varying.
8598 (__expl_finite): Change alias to EXPL_FINITE.
8599 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
8601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8604 * math/libm-test.inc (check_float_internal): Correct ulp
8605 calculation for subnormal expected results.
8607 2012-05-06 Andreas Jaeger <aj@suse.de>
8609 * Makeconfig (+math-flags): New, set to -frounding-math.
8610 (+cflags): Add +math-flags so that all of glibc gets compiled with
8613 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
8615 2012-05-05 Joseph Myers <joseph@codesourcery.com>
8617 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
8623 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
8624 (__ieee754_expl): Allow for and saturate large arguments.
8625 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
8626 (u_threshold): Likewise.
8627 (__exp): Call __ieee754_exp before checking for overflow and
8629 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
8630 (u_threshold): Likewise.
8631 (__expf): Call __ieee754_expf before checking for overflow and
8633 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
8634 (u_threshold): Likewise.
8635 (__expl): Call __ieee754_expl before checking for overflow and
8637 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
8638 (__ieee754_expl): Allow for and saturate large arguments.
8639 * math/libm-test.inc (exp_test): Add another test. Do not allow
8640 missing overflow exception on overflow.
8641 (expm1_test): Do not allow missing overflow exception on overflow.
8643 * sysdeps/i386/fpu/e_expl.c: Move to ...
8644 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
8645 rather than using inline asm.
8646 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
8647 * sysdeps/x86_64/fpu/e_expl.S: Copy from
8648 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
8650 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
8657 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8659 * sysdeps/unix/syscalls.list (adjtime): Add entry from
8660 sysdeps/unix/common/syscalls.list.
8663 (ftruncate): Likewise.
8664 (getrusage): Likewise.
8665 (gettimeofday): Likewise.
8666 (setpgid): Likewise.
8667 (setregid): Likewise.
8668 (setreuid): Likewise.
8669 (sigaction): Likewise.
8670 (truncate): Likewise.
8671 (vhangup): Likewise.
8672 * sysdeps/unix/common/syscalls.list: Remove file.
8673 * sysdeps/unix/bsd/Implies: Don't include unix/common.
8674 * sysdeps/unix/sysv/linux/Implies: Likewise.
8676 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
8678 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
8679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
8680 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
8682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8684 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
8686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
8687 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
8689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
8690 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
8692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
8693 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
8695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8696 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8699 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8702 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
8704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8706 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8710 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8713 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8717 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8721 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8723 * sysdeps/unix/common/bits/dirent.h: Remove file.
8724 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8726 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8727 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8728 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8729 * sysdeps/unix/bsd/isatty.c: Likewise.
8730 * sysdeps/unix/bsd/tcdrain.c: Likewise.
8731 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8732 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8734 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8737 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8738 long double comparison inaccuracies.
8739 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8742 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
8744 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8745 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8747 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8750 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8751 nonzero digits before rounding a hex value.
8752 * stdlib/tst-strtod.c (tests): Add another test.
8754 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8756 * sysdeps/s390/fpu/libm-test-ulps: Update.
8758 2012-05-03 Andreas Jaeger <aj@suse.de>
8760 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8761 does not get optimized out.
8762 (malloc_opt_barrier): New.
8764 2012-05-03 Andreas Jaeger <aj@suse.de>
8765 Roland McGrath <roland@hack.frob.com>
8767 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
8768 intermediate file deletion.
8769 (generated): Add .symlist files.
8771 2012-05-03 Joseph Myers <joseph@codesourcery.com>
8774 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8775 Redirect under this condition.
8776 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8777 [__USE_GNU] (__dprintf_chk): Not under this condition.
8778 [__USE_GNU] (__vdprintf_chk): Likewise.
8779 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8780 under this condition.
8781 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8782 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8783 [__USE_XOPEN2K8] (vdprintf): Likewise.
8784 [__USE_GNU] (__dprintf_chk): Not under this condition.
8785 [__USE_GNU] (__vdprintf_chk): Likewise.
8786 [__USE_GNU] (dprintf): Likewise.
8787 [__USE_GNU] (vdprintf): Likewise.
8789 2012-05-03 Roland McGrath <roland@hack.frob.com>
8791 * elf/Makefile (common-generated): Set this instead of generated for
8792 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8793 $(all-built-dso)-derived lists.
8795 2012-05-03 Andreas Jaeger <aj@suse.de>
8797 * sysdeps/i386/fpu/libm-test-ulps: Update.
8801 * scripts/gen-FAQ.pl: Likewise.
8802 * manual/install.texi (Installation): Point to online location of
8804 * Makefile (files-for-dist): Remove FAQ.
8807 2012-05-02 Allan McRae <allan@archlinux.org>
8809 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8810 (LDFLAGS-reldepmod5.so): Likewise.
8811 (LDFLAGS-reldep6mod1.so): Likewise.
8812 (LDFLAGS-reldep6mod4.so): Likewise.
8813 (LDFLAGS-reldep8mod3.so): Likewise.
8814 (LDFLAGS-unload4mod1.so): Likewise.
8815 (LDFLAGS-unload4mod2.so): Likewise.
8816 (LDFLAGS-tst-initorder): Likewise.
8817 (LDFLAGS-tst-initordera2.so): Likewise.
8818 (LDFLAGS-tst-initordera3.so): Likewise.
8819 (LDFLAGS-tst-initordera4.so): Likewise.
8820 (LDFLAGS-tst-initorderb2.so): Likewise.
8821 (LDFLAGS-noload): Likewise.
8822 (LDFLAGS-next): Likewise.
8823 (LDFLAGS-order2mod1.so): Likewise.
8824 (LDFLAGS-order2mod2.so): Likewise.
8825 (LDFLAGS-tst-initorder2): Likewise.
8826 (LDFLAGS-tst-initorder2a.so): Likewise.
8827 (LDFLAGS-tst-initorder2b.so): Likewise.
8828 (LDFLAGS-tst-initorder2c.so): Likewise.
8829 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8831 2012-05-02 David S. Miller <davem@davemloft.net>
8833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8835 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8838 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8840 2012-05-02 Andreas Jaeger <aj@suse.de>
8842 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8843 since we manipulate rounding mode.
8844 (CPPFLAGS-test-idouble.c): Likewise.
8845 (CPPFLAGS-test-ifloat.c): Likewise.
8846 (CFLAGS-test-ldouble.c): Likewise.
8847 (CFLAGS-test-double.c): Likewise.
8848 (CFLAGS-test-float.c): Likewise.
8849 (CFLAGS-test-misc.c): Likewise.
8850 (CFLAGS-test-test-fenv.c): Likewise.
8852 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8856 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8857 comparisons to determine direction to adjust input.
8859 2012-05-01 Roland McGrath <roland@hack.frob.com>
8861 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8862 output to the target.
8864 * scripts/localplt.awk: New file.
8865 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8866 (check-localplt-CFLAGS): Variable removed.
8867 ($(all-built-dso:=.jmprel)): New static pattern rule.
8868 (generated): Add those targets.
8869 (localplt-built-dso): New variable.
8870 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8872 * elf/check-localplt.c: File removed.
8874 * scripts/check-execstack.awk: New file.
8875 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8876 (check-execstack-CFLAGS): Variable removed.
8877 ($(objpfx)check-execstack.h): Target removed.
8878 ($(objpfx)execstack-default): New target.
8879 (generated): Add that instead of check-execstack.h.
8880 ($(all-built-dso:=.phdr)): New static pattern rule.
8881 (generated): Add those targets.
8882 * elf/check-execstack.c: File removed.
8884 * scripts/check-textrel.awk: New file.
8885 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8886 (check-textrel-CFLAGS): Variable removed.
8887 (all-built-dso): Use := to define.o
8888 ($(all-built-dso:=.dyn)): New static pattern rule.
8889 (generated): Add those targets.
8890 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8891 * config.make.in (READELF): New substituted variable.
8892 * elf/check-textrel.c: File removed.
8894 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8896 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8898 * conform/data/ctype.h-data [C99-based standards] (isblank):
8900 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8901 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8902 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8903 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8904 Specify type. Require positive value.
8907 [ISO || POSIX] (EILSEQ): Do not expect.
8908 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8909 Specify type. Require positive value.
8910 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8911 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8912 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8913 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8914 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8915 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8916 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8917 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8918 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8919 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8920 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8921 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8922 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8923 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8924 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8925 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8926 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8927 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8928 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8929 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8930 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8931 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8932 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8933 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8934 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8935 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8936 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8937 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8938 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8939 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8940 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8941 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8942 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8943 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8944 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8945 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8946 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8947 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8948 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8949 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8950 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8951 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8952 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8953 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8954 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8955 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8956 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8957 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8958 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8959 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8960 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8961 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8962 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8963 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8964 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8965 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8966 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8967 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8968 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8969 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8970 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8971 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8972 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8973 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8974 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8975 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8976 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8977 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8978 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8979 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8980 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8981 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8982 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8983 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8984 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8985 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8986 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8988 (FLT_ROUNDS): Expect as macro, not constant.
8989 (FLT_MANT_DIG): Use macro-int-constant.
8990 (DBL_MANT_DIG): Likewise.
8991 (LDBL_MANT_DIG): Likewise.
8992 (FLT_DIG): Likewise.
8993 (DBL_DIG): Likewise.
8994 (LDBL_DIG): Likewise.
8995 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8996 (DBL_MIN_EXP): Likewise.
8997 (LDBL_MIN_EXP): Likewise.
8998 (FLT_MAX_EXP): Use macro-int-constant.
8999 (DBL_MAX_EXP): Likewise.
9000 (LDBL_MAX_EXP): Likewise.
9001 (FLT_MAX_10_EXP): Likewise.
9002 (DBL_MAX_10_EXP): Likewise.
9003 (LDBL_MAX_10_EXP): Likewise.
9004 (FLT_MAX): Use macro-constant.
9005 (DBL_MAX): Likewise.
9006 (LDBL_MAX): Likewise.
9007 (FLT_EPSILON): Use macro-constant. Give upper bound.
9008 (DBL_EPSILON): Likewise.
9009 (LDBL_EPSILON): Likewise.
9010 (FLT_MIN): Likewise.
9011 (DBL_MIN): Likewise.
9012 (LDBL_MIN): Likewise.
9013 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9014 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9015 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9016 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9017 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9018 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9019 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9020 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9021 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9022 [ISO11] (FLT_TRUE_MIN): Likewise.
9023 [ISO11] (LDBL_TRUE_MIN): Likewise.
9024 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9025 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9026 (SCHAR_MIN): Use macro-int-constant. Specify type.
9027 (SCHAR_MAX): Likewise.
9028 (UCHAR_MAX): Likewise.
9029 (CHAR_MIN): Likewise.
9030 (CHAR_MAX): Likewise.
9031 (MB_LEN_MAX): Use macro-int-constant.
9032 (SHRT_MIN): Use macro-int-constant. Specify type.
9033 (SHRT_MAX): Likewise.
9034 (USHRT_MAX): Likewise.
9035 (INT_MAX): Likewise.
9036 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9038 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9040 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9042 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9043 bound negative. Suffix upper bound with "L".
9044 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9046 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9048 [C99-based standards] (LLONG_MAX): Likewise.
9049 [C99-based standards] (ULLONG_MAX): Likewise.
9050 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9052 [ISO11] (max_align_t): Require type.
9053 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9055 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9056 from $CFLAGS, without defining away __attribute__ calls.
9057 (checknamespace): Use $CFLAGS_namespace.
9059 * conform/conformtest.pl (@keywords): Only include C99 keywords
9060 for standards based on C99 or C11.
9062 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9064 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9067 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9068 usability of symbols in #if.
9070 * conform/conformtest.pl: If macro or constant types start
9071 "promoted:", expect the symbol to be of the following type
9072 promoted by the integer promotions.
9074 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9075 in one place. Also handle "macro-constant".
9077 * conform/conformtest.pl: Only accept expected macro values with
9078 "==". Parse all "macro" lines in one place.
9079 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9081 * conform/conformtest.pl: Handle braced types on "constant" lines
9082 instead of handling "typed-constant".
9083 * conform/data/signal.h-data: Use "constant" instead of
9086 * conform/conformtest.pl: Handle "optional-" at start of lines in
9087 one place rather than duplicating several cases. Handle each
9088 format of "macro" line with initial "optional-".
9090 * conform/conformtest.pl: Only accept expected constant or
9091 optional-constant values with "==". Parse all "constant" lines in
9092 one place. Parse all "optional-constant" lines in one place.
9093 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9094 * conform/data/fmtmsg.h-data: Likewise.
9095 * conform/data/netinet/in.h-data: Likewise.
9096 * conform/data/tar.h-data: Likewise.
9097 * conform/data/limits.h-data: Use "==" form on "constant" and
9098 "optional-constant" lines.
9100 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9101 Use -std=c99 for XOPEN2K.
9102 (@knownproblems): Remove.
9103 (newtoken): Don't check %isknown.
9105 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9106 Do not expect macro.
9107 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9108 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9109 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9110 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9111 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9112 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9113 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9114 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9115 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9116 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9117 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9118 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9119 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9120 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9121 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9122 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9123 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9124 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9125 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9126 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9127 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9128 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9129 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9130 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9131 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9132 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9133 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9134 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9135 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9136 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9137 [XPG3] (acosh): Likewise.
9138 [XPG3] (asinh): Likewise.
9139 [XPG3] (atanh): Likewise.
9140 [XPG3] (cbrt): Likewise.
9141 [XPG3] (expm1): Likewise.
9142 [XPG3] (ilogb): Likewise.
9143 [XPG3] (log1p): Likewise.
9144 [XPG3] (logb): Likewise.
9145 [XPG3] (nextafter): Likewise.
9146 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9147 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9148 [XPG3] (remainder): Likewise.
9149 [XPG3] (rint): Likewise.
9150 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9151 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9152 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9153 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9154 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9155 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9156 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9157 [UNIX98 || XOPEN2K] (scalb): Expect.
9158 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9159 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9160 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9161 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9162 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9163 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9164 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9165 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9166 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9167 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9168 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9169 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9170 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9171 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9172 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9173 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9174 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9175 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9176 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9177 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9178 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9179 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9180 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9181 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9182 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9183 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9184 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9185 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9186 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9187 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9188 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9189 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9190 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9191 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9192 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9193 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9194 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9195 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9196 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9197 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9198 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9199 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9200 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9201 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9202 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9203 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9204 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9205 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9206 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9207 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9208 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9209 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9210 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9211 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9212 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9213 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9214 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9215 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9216 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9217 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9218 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9219 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9220 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9221 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9222 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9223 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9224 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9225 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9226 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9227 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9228 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9229 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9230 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9231 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9232 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9233 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9234 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9235 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9236 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9237 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9238 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9239 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9240 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9241 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9242 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9243 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9244 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9245 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9246 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9247 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9248 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9249 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9250 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9251 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9252 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9253 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9254 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9255 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9256 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9257 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9258 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9259 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9260 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9261 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9262 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9263 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9264 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9265 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9266 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9267 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9268 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9269 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9270 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9271 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9272 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9273 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9274 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9275 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9276 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9277 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9278 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9279 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9280 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9281 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9282 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9283 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9284 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9285 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9286 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9287 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9288 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9289 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9290 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9291 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9292 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9293 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9294 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9296 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9297 _XOPEN_SOURCE_EXTENDED for XPG4.
9299 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9301 * Makeconfig (localtime): Remove variable.
9302 (inst_localtime-file): Likewise.
9304 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9325 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9329 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
9330 comparisons to determine direction to adjust input.
9331 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9332 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9333 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9335 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9337 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9339 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9340 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9342 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9344 * math/libm-test.inc (nexttoward_test): Add more tests.
9346 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9349 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
9350 in version GLIBC_2.1, not GLIBC_2.0.
9351 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
9354 2012-04-30 Joseph Myers <joseph@codesourcery.com>
9357 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
9359 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9360 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
9361 * math/libm-test.inc (acos_test): Add more tests.
9362 (asin_test): Likewise.
9363 * sysdeps/i386/fpu/libm-test-ulps: Update.
9364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9367 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
9369 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
9370 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9371 * math/libm-test.inc (acos_test_tonearest): New function.
9372 (acos_test_towardzero): Likewise.
9373 (acos_test_downward): Likewise.
9374 (acos_test_upward): Likewise.
9375 (asin_test_tonearest): Likewise.
9376 (asin_test_towardzero): Likewise.
9377 (asin_test_downward): Likewise.
9378 (asin_test_upward): Likewise.
9379 (main): Call the new functions.
9380 * sysdeps/i386/fpu/libm-test-ulps: Update.
9381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9385 * math/e_exp10.c: Include <float.h>.
9386 (__ieee754_exp10): Handle underflow here rather than multiplying
9387 large negative argument by M_LN10.
9388 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
9390 * math/e_exp10l.c: Include <float.h>.
9391 (__ieee754_exp10l): Handle underflow here rather than multiplying
9392 large negative argument by M_LN10l.
9393 * math/libm-test.inc (exp10_test): Add another test. Do not allow
9394 spurious overflow exception on underflow.
9396 2012-04-29 Marek Polacek <polacek@redhat.com>
9398 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
9399 (__fortify_function): New macro.
9400 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
9401 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
9402 __extern_always_inline.
9403 * libio/bits/stdio2.h: Likewise.
9404 * libio/bits/stdio.h: Likewise.
9405 * string/string.h: Likewise.
9406 * string/bits/string3.h: Likewise.
9407 * include/stdio.h: Likewise.
9408 * stdlib/bits/stdlib.h: Likewise.
9409 * stdlib/stdlib.h: Likewise.
9410 * rt/bits/mqueue2.h: Likewise.
9411 * rt/mqueue.h: Likewise.
9412 * posix/bits/unistd.h: Likewise.
9413 * posix/unistd.h: Likewise.
9414 * io/bits/poll2.h: Likewise.
9415 * io/bits/fcntl2.h: Likewise.
9416 * io/fcntl.h: Likewise.
9417 * io/sys/poll.h: Likewise.
9418 * misc/bits/syslog.h: Likewise.
9419 * misc/bits/syslog-ldbl.h: Likewise.
9420 * misc/sys/syslog.h: Likewise.
9421 * socket/bits/socket2.h: Likewise.
9422 * socket/sys/socket.h: Likewise.
9423 * debug/tst-chk1.c: Likewise.
9424 * wcsmbs/bits/wchar2.h: Likewise.
9425 * wcsmbs/bits/wchar-ldbl.h: Likewise.
9426 * wcsmbs/wchar.h: Likewise.
9428 2012-04-29 Andreas Jaeger <aj@suse.de>
9430 * Makerules (tests): Remove enable-check-abi protection.
9431 (check-abi-warn): Remove.
9432 (check-abi-%): Remove check-abi-warn usage.
9434 * configure.in: Remove check-abi configure option.
9435 * configure: Regenerated.
9436 * config.make.in (enable-check-abi): Remove.
9438 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
9441 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
9442 double functions to double *_finite functions.
9445 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
9446 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
9448 * stdio-common/Makefile (tests): Add tst-sprintf3.
9449 * stdio-common/tst-sprintf3.c: New file.
9451 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
9452 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
9454 2012-04-28 Joseph Myers <joseph@codesourcery.com>
9456 * conform/conformtest.pl: Remove duplicate typed-constant
9459 2012-04-28 David S. Miller <davem@davemloft.net>
9461 * Makerules (%.abilist): Add vpath on sysdep_dirs.
9462 (check-abi-%): Remove AWK script prerequisite and explicit
9464 (check-abi): Rewrite to just diff the symlist with the abilist.
9465 (config-tls, config-abi-config): Delete, no longer used.
9466 (update-abi-%): Remove AWK script and explicit abilist directory.
9467 (update-abi): Rewrite to simply compare and conditionally copy the
9468 symlist and the sysdep abilist file. Remove update-abi-config
9470 * abilist/ld.abilist: Remove.
9471 * abilist/libBrokenLocale.abilist: Remove.
9472 * abilist/libanl.abilist: Remove.
9473 * abilist/libcrypt.abilist: Remove.
9474 * abilist/libdl.abilist: Remove.
9475 * abilist/librt.abilist: Remove.
9476 * abilist/libthread_db.abilist: Remove.
9477 * abilist/libutil.abilist: Remove.
9478 * scripts/extract-abilist.awk: Remove.
9479 * scripts/merge-abilist.awk: Remove.
9480 * sysdeps/generic/libcidn.abilist: New file.
9481 * sysdeps/generic/libnss_compat.abilist: New file.
9482 * sysdeps/generic/libnss_db.abilist: New file.
9483 * sysdeps/generic/libnss_dns.abilist: New file.
9484 * sysdeps/generic/libnss_files.abilist: New file.
9485 * sysdeps/generic/libnss_hesiod.abilist: New file.
9486 * sysdeps/generic/libnss_nis.abilist: New file.
9487 * sysdeps/generic/libnss_nisplus.abilist: New file.
9488 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
9489 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
9490 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
9492 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
9493 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
9494 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
9495 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
9496 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
9497 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
9498 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
9499 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
9500 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
9502 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
9503 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
9504 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
9505 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
9507 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
9508 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
9509 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
9510 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
9511 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
9512 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
9514 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
9515 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
9516 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
9518 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
9519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
9521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
9523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
9525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
9527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
9529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
9531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
9533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
9535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
9537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
9539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
9541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
9543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
9545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
9547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
9553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
9559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
9572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
9574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
9578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
9580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
9582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
9584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
9586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
9590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
9592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
9596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
9597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
9599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
9603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
9605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
9607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
9609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
9611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
9615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
9617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
9621 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9622 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
9623 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
9625 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
9626 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
9627 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
9628 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
9629 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
9630 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
9631 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
9632 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
9633 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
9634 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
9635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
9636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
9638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
9642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
9644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
9646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
9648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
9650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
9656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
9660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
9661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
9663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
9667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
9669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
9671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
9673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
9675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
9681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
9686 2012-04-28 Joseph Myers <joseph@codesourcery.com>
9688 * conform/conformtest.pl: Fix typo in handling typed-constant from
9691 2012-04-27 Joseph Myers <joseph@codesourcery.com>
9693 * README: Cut down references to pre-2.6 Linux kernels and
9694 Linuxthreads. Update lists of configurations in libc and ports
9695 and sort alphabetically. Say "or newer" with Linux kernel version
9698 * config.h.in [IS_IN_build]: Allow compiling without optimization.
9700 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9703 * math/libm-test.inc (logb_test_downward): New test to expose
9704 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9707 2012-04-27 Joseph Myers <joseph@codesourcery.com>
9710 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9712 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9713 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9715 2012-04-26 Joseph Myers <joseph@codesourcery.com>
9717 * sysdeps/unix/i386/brk.S: Remove file.
9718 * sysdeps/unix/i386/dl-brk.S: Likewise.
9719 * sysdeps/unix/i386/pipe.S: Likewise.
9720 * sysdeps/unix/i386/sigreturn.S: Likewise.
9721 * sysdeps/unix/i386/syscall.S: Likewise.
9722 * sysdeps/unix/i386/vfork.S: Likewise.
9723 * sysdeps/unix/i386/wait.S: Likewise.
9725 * sysdeps/unix/common/tcsendbrk.c: Move to ...
9726 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9728 * configure.in (arm*-none*): Do not allow without
9729 --enable-hacker-mode.
9730 (netbsd*): Remove case setting base_os.
9731 (386bsd*): Likewise.
9732 (freebsd*): Likewise.
9736 (ultrix*): Likewise.
9737 (newsos*): Likewise.
9747 (solaris[2-9]*): Likewise.
9749 * configure: Regenerated.
9751 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9754 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9755 overflow or cancellation in calculating denominator.
9756 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9757 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9758 down expression to avoid unexpected rounding in newer GCCs.
9759 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9761 2012-04-26 David S. Miller <davem@davemloft.net>
9763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9764 long-double compat symbols.
9765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9779 2012-04-25 David S. Miller <davem@davemloft.net>
9781 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9782 HWCAP_* values only after the memory barriers have been defined.
9783 (atomic_full_barrier): Define.
9784 (atomic_read_barrier): Define.
9785 (atomic_write_barrier): Define.
9787 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9789 * shlib-versions: Add libgcc_s version information.
9790 * sysdeps/generic/libgcc_s.h: Remove.
9791 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9793 * sysdeps/gnu/unwind-resume.c: Likewise.
9794 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9796 2012-04-25 David S. Miller <davem@davemloft.net>
9798 * sysdeps/unix/sparc/brk.S: Delete.
9799 * sysdeps/unix/sparc/dl-brk.S: Delete.
9800 * sysdeps/unix/sparc/pipe.S: Delete.
9801 * sysdeps/unix/sparc/sysdep.S: Delete.
9802 * sysdeps/unix/sparc/sysdep.h: Delete.
9803 * sysdeps/unix/sparc/vfork.S: Delete.
9804 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9805 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9806 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9807 ret_ERRVAL, r0, r1, MOVE): Define.
9808 (JUMPTARGET): Remove.
9809 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9810 sysdeps/unix/sparc/sysdep.h
9811 (ENTRY, END): Remove.
9812 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9814 2012-04-25 Joseph Myers <joseph@codesourcery.com>
9816 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9817 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9820 * timezone/README: Update upstream location and email address for
9822 * timezone/zdump.c: Update from tzcode 2012b.
9823 * timezone/zic.c: Likewise.
9825 * configure.in (libc_cv_as_needed): Remove test.
9826 * configure: Regenerated.
9827 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9828 conditional definition.
9829 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9830 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9831 * config.make.in (have-as-needed): Remove variable.
9833 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9834 Paul Pluzhnikov <ppluzhnikov@google.com>
9836 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9839 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9841 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9842 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9843 * sysdeps/sh/strlen.S: Likewise.
9845 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9847 * sysdeps/unix/fork.S: Remove file.
9848 * sysdeps/unix/i386/fork.S: Likewise.
9849 * sysdeps/unix/sparc/fork.S: Likewise.
9851 * sysdeps/unix/system.c: Remove file.
9852 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9854 * sysdeps/unix/getegid.S: Remove file.
9855 * sysdeps/unix/geteuid.S: Likewise.
9857 2012-04-24 Roland McGrath <roland@hack.frob.com>
9859 * scripts/check-localplt.awk: New file.
9860 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9862 * scripts/data/localplt-generic.data: Add a comment.
9864 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9865 NODE when __dir_mkfile failed.
9866 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9867 Reported by Ludovic Courtès <ludo@gnu.org>.
9869 2012-04-24 Andreas Jaeger <aj@suse.de>
9871 * Makerules (common-clean): Also remove gen-as-const-headers
9874 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9876 * Makerules (native-compile): Do not change working directory for
9877 build. Use $(OUTPUT_OPTION) in command.
9878 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9880 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9883 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9884 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9885 * math/libm-test.inc (floor_test): Add more tests.
9886 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9888 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9890 * sysdeps/unix/getdents.c: Remove file.
9891 * sysdeps/unix/sysv/getdents.c: Likewise.
9892 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9894 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9895 sysdeps/unix/mman/syscalls.list.
9897 (mprotect): Likewise.
9900 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9901 * sysdeps/unix/mman/syscalls.list: Remove.
9902 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9904 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9905 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9906 * configure: Regenerated.
9907 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9909 * config.make.in (libgcc_s_suffix): Remove variable.
9911 2012-04-23 Joseph Myers <joseph@codesourcery.com>
9913 * sysdeps/unix/sysv/gethostname.c: Move to ...
9914 * sysdeps/posix/gethostname.c: ... here.
9916 * sysdeps/unix/execve.S: Remove file.
9918 * sysdeps/unix/_exit.S: Remove file.
9920 2012-04-23 Andreas Jaeger <aj@suse.de>
9923 * manual/Makefile: Remove make dist support, there's no
9924 need for a stand-alone documentation tar ball.
9925 (TEXI2DVI): Define always, it's not in Makeconfig.
9929 (glibc-doc-$(edition).tar): Removed
9933 (ETAGS): Remove, it's in Makeconfig.
9934 (move-if-change): Remove, it's in Makeconfig.
9936 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9939 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9940 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9941 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9942 (strtod_l, strtof_l, strtold_l): Remove __wur.
9943 It is not necessarily an error to ignore strtol's return value.
9944 One can reliably look at the stored endptr to decide whether
9945 the number had valid syntax.
9947 2012-04-21 Andreas Jaeger <aj@suse.de>
9950 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9952 2012-04-21 Joseph Myers <joseph@codesourcery.com>
9954 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9955 * sysdeps/unix/sysv/Versions: Remove file.
9957 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9962 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
9965 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9966 version from __vm86.
9968 2012-04-20 Joseph Myers <joseph@codesourcery.com>
9970 * sysdeps/unix/common/lxstat.c: Remove file.
9971 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9973 * sysdeps/unix/sysv/Makefile: Remove file.
9975 * sysdeps/unix/sysv/direct.h: Remove file.
9977 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9978 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9979 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9980 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9981 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9982 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9983 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9985 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9987 * sysdeps/unix/xmknod.c: Remove file.
9988 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9990 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9992 * sysdeps/unix/sysv/i386/time.S: Remove file.
9994 * sysdeps/unix/fxstat.c: Remove file.
9995 * sysdeps/unix/xstat.c: Likewise.
9996 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9998 * sysdeps/unix/sysv/sigaction.c: Remove file.
10000 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10001 (sysdep_headers): Remove variable.
10002 [termio.h not in sysdep_headers] (generated): Likewise.
10003 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10004 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10005 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10006 * sysdeps/unix/sysv/tcflow.c: Likewise.
10007 * sysdeps/unix/sysv/tcflush.c: Likewise.
10008 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10009 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10010 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10011 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10012 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10014 * sysdeps/unix/siglist.c: Remove file.
10016 * sysdeps/unix/getppid.S: Remove file.
10018 * sysdeps/unix/mkdir.c: Remove file.
10019 * sysdeps/unix/rmdir.c: Likewise.
10021 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10023 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10025 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10026 errlist-compat value.
10028 2012-04-18 David S. Miller <davem@davemloft.net>
10030 * sysdeps/generic/memcopy.h (reg_char): Delete.
10031 * debug/strcat_chk.c: Use char, not reg_char.
10032 * debug/strcpy_chk.c: Likewise.
10033 * debug/strncat_chk.c: Likewise.
10034 * debug/strncpy_chk.c: Likewise.
10035 * string/memchr.c: Likewise.
10036 * string/memrchr.c: Likewise.
10037 * string/rawmemchr.c: Likewise.
10038 * string/strcat.c: Likewise.
10039 * string/strchr.c: Likewise.
10040 * string/strchrnul.c: Likewise.
10041 * string/strcmp.c: Likewise.
10042 * string/strcpy.c: Likewise.
10043 * string/strncat.c: Likewise.
10044 * string/strncmp.c: Likewise.
10045 * string/strncpy.c: Likewise.
10047 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10049 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10050 __builtin_memcopy is called when src and dest ranges are known to not
10053 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10055 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10056 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10057 fwd_align_merge macro call.
10058 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10059 bwd_align_merge macro call.
10060 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10062 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10064 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10065 bwd_align_merge macros.
10066 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10067 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10068 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10070 2012-04-18 David S. Miller <davem@davemloft.net>
10072 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10074 2012-04-18 Andreas Jaeger <aj@suse.de>
10077 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10078 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10079 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10081 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10082 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10083 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10085 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10086 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10087 Adjust for changed ldbl-128 files.
10089 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10090 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10091 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10093 2012-04-17 David S. Miller <davem@davemloft.net>
10095 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10097 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10099 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10100 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10101 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10102 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10103 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10104 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10106 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10109 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10110 * math/libm-test.inc: Add ilogb errno and exception tests.
10111 * math/w_ilogb.c: New file: ilogb wrapper.
10112 * math/w_ilogbf.c: New file: ilogbf wrapper.
10113 * math/w_ilogbl.c: New file: ilogbl wrapper.
10114 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10115 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10116 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10117 exception being thrown with 0.0 as argument.
10118 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10119 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10120 exception being thrown with 0.0 as argument.
10121 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10122 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10123 exception being thrown with 0.0 as argument.
10124 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10125 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10126 exception being thrown with 0.0 as argument.
10127 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10128 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
10129 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
10130 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10131 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10132 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10133 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10134 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10135 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10137 2012-04-17 Petr Baudis <pasky@ucw.cz>
10139 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10142 2012-04-16 Marek Polacek <polacek@redhat.com>
10144 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10146 2012-04-16 Marek Polacek <polacek@redhat.com>
10148 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10149 operands of fdivp instruction.
10151 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10153 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10154 * elf/tst-auditmod3b.c: Likewise.
10155 * elf/tst-auditmod4b.c: Likewise.
10156 * elf/tst-auditmod5b.c: Likewise.
10157 * elf/tst-auditmod6b.c: Likewise.
10158 * elf/tst-auditmod6c.c: Likewise.
10159 * elf/tst-auditmod7b.c: Likewise.
10160 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10161 * sysdeps/x86_64/preconfigure.in: Likewise.
10162 * sysdeps/x86_64/preconfigure: Regenerated.
10164 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10166 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10169 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
10171 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10172 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10174 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10177 * locale/iso-639.def: Fix gl language name. Spotted by
10180 2012-04-12 Roland McGrath <roland@hack.frob.com>
10183 * libio/libio.h (__io_write_fn): Update comment.
10185 2012-04-12 Petr Baudis <pasky@ucw.cz>
10188 * stdio.texi (Hook Functions): The user provided writer function
10189 is not allowed to return -1.
10191 2012-04-11 David S. Miller <davem@davemloft.net>
10193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10195 2012-04-11 Mike Frysinger <vapier@gentoo.org>
10197 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10198 Add a leading slash to rtkaio.
10200 2012-04-11 Jim Meyering <meyering@redhat.com>
10203 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10204 It is not necessarily an error to ignore fwrite's return
10205 value. One can reliably use ferror to test for errors after
10208 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10210 * bits/types.h (__snseconds_t): New type.
10211 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10213 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10214 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10215 (__SNSECONDS_T_TYPE): Likewise.
10216 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10217 (__SNSECONDS_T_TYPE): Likewise.
10218 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10219 (__SNSECONDS_T_TYPE): Likewise.
10221 2012-04-10 Andreas Jaeger <aj@suse.de>
10224 * manual/time.texi (Processor Time): Return type of times is
10225 elapsed real time since an arbitrary point in the past.
10226 (CPU Time): Move CLK_TCK from here...
10227 (Processor Time): ...to here. Correct description.
10228 * manual/conf.texi (Constants for Sysconf): Correct description of
10231 2012-04-10 David S. Miller <davem@davemloft.net>
10234 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10235 where the is a gap between DT_REL(A) and DT_JMPREL.
10237 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10239 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10240 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10241 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10243 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10245 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10246 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10247 (dl_main): Handle --inhibit-cache.
10248 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10250 * elf/dl-load.c (_dl_map_object): Use it.
10251 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10253 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10256 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10257 (__ieee754_powl): Saturate large exponents rather than testing for
10258 overflow of y*log2(x).
10259 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10260 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10264 * math/s_ctan.c: Include <float.h>.
10265 (__ctan): Avoid internal overflow or cancellation in calculating
10267 * math/s_ctanf.c: Likewise.
10268 * math/s_ctanl.c: Likewise.
10269 * math/s_ctanh.c: Likewise.
10270 * math/s_ctanhf.c: Likewise.
10271 * math/s_ctanhl.c: Likewise.
10272 * math/libm-test.inc (ctan_test): Add more tests.
10273 (ctanh_test): Likewise.
10274 * sysdeps/i386/fpu/libm-test-ulps: Update.
10275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10277 2012-04-09 Andreas Jaeger <aj@suse.de>
10280 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10281 is an optional BSD extension.
10284 * manual/stdio.texi (Opening Streams): Document additional fopen
10287 2012-04-09 Roland McGrath <roland@hack.frob.com>
10289 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10290 %eax without telling the compiler.
10292 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10295 * manual/install.texi: Use sourceware.org.
10297 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10300 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10301 (__ieee754_pow): Generate overflow and underflow using huge*huge
10302 and tiny*tiny rather than just returning constant infinity or zero
10303 for large exponents.
10304 * math/libm-test.inc (pow_test): Require overflow exceptions for
10305 applicable cases of large exponents.
10308 * sysdeps/i386/fpu/e_pow.S (p10): New object.
10309 (__ieee754_pow): Use iterative multiplication algorithm only for
10310 integer exponents with absolute value below 1024. Check for odd
10311 integer exponents when using algorithm for real exponents.
10312 * math/libm-test.inc (pow_test): Add more tests.
10313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10315 2012-04-08 Joseph Myers <joseph@codesourcery.com>
10318 * math/libm-test.inc (exp_test): Do not allow overflow exception
10321 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
10324 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10325 instead of __kernel_standard_f.
10327 2012-04-08 Mike Frysinger <vapier@gentoo.org>
10329 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
10330 * sysdeps/x86_64/memset_chk.S: Likewise.
10332 2012-04-08 Andreas Jaeger <aj@suse.de>
10335 * manual/startup.texi (Environment Access): Describe return value
10336 for putenv and setenv.
10339 * manual/filesys.texi (Directory Entries): Add description for
10343 * manual/filesys.texi (Directory Entries): Clarify that it's file
10344 system not operating system in the description of DT_UNKNOWN.
10347 * manual/syslog.texi (closelog): Fix reference, it's openlog.
10349 2012-04-08 Stephen Compall <s11@member.fsf.org>
10352 * manual/llio.texi (Opening and Closing Files): Add cross
10353 reference to explain mode argument.
10355 2012-04-07 Mike Frysinger <vapier@gentoo.org>
10357 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
10358 * sysdeps/x86_64/memset_chk.S: Likewise.
10360 2012-04-07 David S. Miller <davem@davemloft.net>
10362 * elf/elf.h (R_SPARC_WDISP10): Define.
10363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
10365 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
10366 R_SPARC_SIZE64 and R_SPARC_H34.
10368 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
10370 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
10371 conditions and remove no longer applicable assertion.
10373 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10375 * bits/byteswap.h: Include <features.h>.
10376 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10377 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10379 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10381 * bits/byteswap.h (__bswap_16): Removed.
10382 Include <bits/byteswap-16.h> to get __bswap_16.
10383 * sysdeps/i386/bits/byteswap.h: Likewise.
10384 * sysdeps/s390/bits/byteswap.h: Likewise.
10385 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10386 * bits/byteswap-16.h: New file.
10387 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10388 * sysdeps/s390/bits/byteswap-16.h: Likewise.
10389 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
10390 * string/Makefile (headers): Add bits/byteswap-16.h.
10392 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10395 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
10397 * nss/Makefile (tests-static, tests): Add tst-nss-static.
10398 * nss/tst-nss-static.c: New.
10400 2012-04-06 Robert Millan <rmh@gnu.org>
10403 * manual/llio.texi (File Position Primitive): lseek
10404 refers to WHENCE when it really means OFFSET.
10406 2012-04-06 Andreas Jaeger <aj@suse.de>
10408 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
10409 strncmp declarations.
10411 * abilist/libc.abilist: Add __poll and __ppoll.
10413 2012-04-05 David S. Miller <davem@davemloft.net>
10415 * scripts/check-local-headers.sh: Accept a host triplet in the
10416 path matched by the exclude regexp.
10418 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
10420 * sysdeps/powerpc/powerpc32/dl-machine.h
10421 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
10422 * sysdeps/s390/s390-32/dl-machine.h
10423 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10424 * sysdeps/sparc/sparc32/dl-machine.h
10425 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10426 * sysdeps/sparc/sparc64/dl-machine.h
10427 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10429 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
10431 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
10432 undefined symbol errors.
10434 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
10437 2012-04-05 Michael Matz <matz@suse.de>
10440 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
10442 2012-04-05 Andreas Jaeger <aj@suse.de>
10445 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
10448 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10450 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
10451 which ROUND is no valid rounding mode.
10453 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10455 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
10457 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
10459 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10461 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
10462 an exception using FPU order intentionally.
10464 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10466 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
10467 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
10468 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
10469 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
10471 2012-04-05 Simon Josefsson <simon@josefsson.org>
10474 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
10475 EINVAL when BUFLEN is too smal.
10477 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
10480 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
10481 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
10483 2012-04-03 Andreas Jaeger <aj@suse.de>
10486 * manual/setjmp.texi (System V contexts): Fix sentence.
10489 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
10490 New macro for this case.
10491 [!__GNUC__] (__bswap_64): New inline function for this case.
10492 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10493 * bits/byteswap.h: Likewise.
10494 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
10495 ull, guard with __GLIBC_HAVE_LONG_LONG.
10497 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
10498 __GLIBC_HAVE_LONG_LONG.
10500 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
10501 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
10503 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10506 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
10507 inptr and inend, rather than using last_ch.
10509 2012-04-02 David S. Miller <davem@davemloft.net>
10511 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
10512 * stdio-common/printf-parse.h (read_int): Change return type to
10513 'int', return -1 on INT_MAX overflow.
10514 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
10515 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
10516 overflows INT_MAX. Check for overflow of in-format-string precision
10517 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
10518 SIZE_MAX not INT_MAX for integer overflow test.
10519 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
10520 skip the construct in the format string but do not record anything.
10521 * stdio-common/bug22.c: Adjust to test both width/prevision
10522 INT_MAX overflow as well as total length INT_MAX overflow. Check
10523 explicitly for proper errno values.
10525 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
10527 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
10529 * string/test-strcmp.c [! WIDE]: Likewise.
10530 * time/tst-mktime2.c: Likewise for INT_MAX.
10531 * string/test-string.h: #include <sys/param.h> for MIN.
10533 * csu/init-first.c (__libc_init_first): Call __ctype_init.
10534 * sysdeps/i386/init-first.c (init): Likewise.
10535 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
10536 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
10537 * sysdeps/sh/init-first.c (init): Likewise.
10539 2012-04-01 Ulrich Drepper <drepper@gmail.com>
10541 * po/ru.po: Update from translation team.
10542 * po/vi.po: Likewise.
10544 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10546 * resolv/nss_dns/dns-host.c: Merge copyright years.
10548 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10550 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10551 Optimize memcpy with prefetch if
10552 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
10553 src, dst pointers have unequal 16 byte alignments.
10555 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10558 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
10559 from a CNAME entry and return the minimum ttl for the query.
10560 (gaih_getanswer_slice): Likewise.
10562 2012-03-30 Jeff Law <law@redhat.com>
10564 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
10566 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10567 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10569 * resolv/nss_dns/dns-host.c: Update copyright year.
10571 2012-03-30 Ulrich Drepper <drepper@gmail.com>
10573 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
10574 requests to save a system call. Fix check that all bytes are sent.
10576 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
10577 comments for sendmmsg.
10579 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10582 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
10583 with only 1 character between 0x0041 and 0x01b0.
10584 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
10585 * wcsmbs/tst-mbsnrtowcs.c: New file.
10587 2012-03-29 David S. Miller <davem@davemloft.net>
10589 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
10590 small copies by hand.
10592 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10595 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
10596 _nss_compat_initgroups_dyn): Fall back to malloc/free
10597 for large group memberships.
10599 2012-03-28 David S. Miller <davem@davemloft.net>
10601 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
10602 that branches into memcpy.
10603 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
10604 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10605 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10606 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10607 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
10609 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
10610 implementation too.
10611 * sysdeps/sparc/mempcpy.S: New file.
10613 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
10614 the IFUNC routine in the libc case.
10615 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10617 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
10618 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
10619 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
10620 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
10621 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
10622 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
10623 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
10624 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
10626 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
10627 loop to 256 bytes instead of 64 bytes and fix test signedness.
10629 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
10630 * sysdeps/sparc/sparc32/Makefile: rather than here...
10631 * sysdeps/sparc/sparc64/Makefile: and here.
10633 2012-03-28 Ulrich Drepper <drepper@gmail.com>
10635 * malloc/mallocbug.c: Avoid warnings about unused variables.
10637 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10640 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
10641 in the right place. Discard and retry query if response is
10642 larger than input buffer size.
10644 2012-03-28 Joseph Myers <joseph@codesourcery.com>
10649 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
10650 x for large integer exponent.
10651 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10652 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
10653 sign of result as needed afterwards.
10654 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10655 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
10656 result for underflowing pow the same as for overflow.
10657 (__kernel_standard_l): Handle powl overflow and underflow here
10658 rather than calling __kernel_standard.
10659 * math/libm-test.inc (pow_test): Add more tests.
10674 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
10675 * sysdeps/ieee754/k_standard.c: Include <float.h>.
10676 (__kernel_standard_l): New function.
10677 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
10679 * math/w_acosl.c (__acosl): Likewise.
10680 * math/w_asinl.c (__asinl): Likewise.
10681 * math/w_atan2l.c (__atan2l): Likewise.
10682 * math/w_atanhl.c (__atanhl): Likewise.
10683 * math/w_coshl.c (__coshl): Likewise.
10684 * math/w_exp10l.c (__exp10l): Likewise.
10685 * math/w_exp2l.c (__exp2l): Likewise.
10686 * math/w_fmodl.c (__fmodl): Likewise.
10687 * math/w_hypotl.c (__hypotl): Likewise.
10688 * math/w_j0l.c (__j0l, __y0l): Likewise.
10689 * math/w_j1l.c (__j1l, __y1l): Likewise.
10690 * math/w_jnl.c (__jnl, __ynl): Likewise.
10691 * math/w_lgammal.c (__lgammal): Likewise.
10692 * math/w_log10l.c (__log10l): Likewise.
10693 * math/w_log2l.c (__log2l): Likewise.
10694 * math/w_logl.c (__logl): Likewise.
10695 * math/w_powl.c (__powl): Likewise.
10696 * math/w_remainderl.c (__remainderl): Likewise.
10697 * math/w_scalbl.c (sysv_scalbl): Likewise.
10698 * math/w_sinhl.c (__sinhl): Likewise.
10699 * math/w_sqrtl.c (__sqrtl): Likewise.
10700 * math/w_tgammal.c (__tgammal): Likewise.
10701 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10702 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10703 * math/libm-test.inc (acos_test): Add more tests.
10704 (acosh_test): Likewise.
10705 (asin_test): Likewise.
10706 (atanh_test): Likewise.
10707 (exp_test): Likewise.
10708 (exp10_test): Likewise.
10709 (exp2_test): Likewise.
10710 (expm1_test): Likewise.
10711 (lgamma_test): Likewise.
10712 (log_test): Likewise.
10713 (log10_test): Likewise.
10714 (log1p_test): Likewise.
10715 (log2_test): Likewise.
10716 (pow_test): Do not allow some spurious overflow exceptions.
10717 (sqrt_test): Add more tests.
10718 (tgamma_test): Likewise.
10719 (y0_test): Likewise.
10720 (y1_test): Likewise.
10721 (yn_test): Likewise.
10723 2012-03-27 Anton Blanchard <anton@samba.org>
10725 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10727 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10728 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10729 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10731 2012-03-27 David S. Miller <davem@davemloft.net>
10733 * conform/Makefile: Run run-conformtest.sh using $(BASH).
10735 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10736 have-as-vis3 check.
10738 2012-03-27 Andreas Jaeger <aj@suse.de>
10740 * sysdeps/x86_64/elf/configure.in: Moved to ...
10741 * sysdeps/x86_64/configure.in: ... here.
10742 * sysdeps/x86_64/elf/start.S: Moved to ...
10743 * sysdeps/x86_64/start.S: ... here.
10744 * sysdeps/x86_64/elf/configure: Delete.
10746 * sysdeps/x86_64/configure.in: Merge contents from
10747 sysdeps/i386/configure.in (without i686 check).
10749 * sysdeps/i386/elf/Versions: Merge into ...
10750 * sysdeps/i386/Versions: ... this.
10751 * sysdeps/i386/elf/Versions: Delete file.
10752 * sysdeps/i386/elf/start.S: Moved to ...
10753 * sysdeps/i386/start.S: ...here.
10754 * sysdeps/i386/elf/configure.in: Merge into...
10755 * sysdeps/i386/configure.in: ...here.
10756 * sysdeps/i386/elf/configure.in: Delete file.
10757 * sysdeps/i386/elf/configure: Delete file.
10759 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10760 * debug/backtracesyms.c: ... here.
10761 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10762 * debug/backtracesymsfd.c: ... here.
10763 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10764 * sysdeps/generic/ifunc-sel.h: ... here.
10766 * sysdeps/unix/i386/start.c: Delete file.
10767 * sysdeps/unix/sparc/start.c: Delete file.
10768 * sysdeps/unix/start.c: Delete file.
10770 * sysdeps/sh/elf/configure.in: Moved to ...
10771 * sysdeps/sh/configure.in: ... here.
10772 * sysdeps/sh/elf/start.S: Moved to ...
10773 * sysdeps/sh/start.S: ... here.
10774 * sysdeps/sh/elf/configure: Delete file.
10776 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10777 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10778 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10779 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10780 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10781 * sysdeps/powerpc/powerpc64/start.S: here.
10782 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10783 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10784 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10785 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10786 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10788 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10789 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10790 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10791 * sysdeps/powerpc/powerpc32/start.S: ... here.
10792 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10793 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10794 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10796 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10797 * sysdeps/powerpc/ifunc-sel.h: ... here.
10798 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10799 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10801 * sysdeps/sparc/elf/configure.in: Moved to ...
10802 * sysdeps/sparc/configure.in: ... here.
10803 * sysdeps/sparc/elf/configure: Delete file.
10804 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10805 * sysdeps/sparc/sparc32/start.S: ... here.
10806 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10807 * sysdeps/sparc/sparc64/start.S: ... here.
10808 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10809 * sysdeps/sparc/sparc32/Makefile: ... this.
10810 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10811 * sysdeps/sparc/sparc64/Makefile: ... this.
10813 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10814 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10815 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10816 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10817 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10818 * sysdeps/s390/s390-32/setjmp.S: ... here.
10819 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10820 * sysdeps/s390/s390-32/configure.in: ... here.
10821 * sysdeps/s390/s390-32/elf/configure: Delete file.
10822 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10823 * sysdeps/s390/s390-32/start.S: ... here.
10825 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10826 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10827 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10828 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10829 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10830 * sysdeps/s390/s390-64/setjmp.S: ... here.
10831 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10832 * sysdeps/s390/s390-64/configure.in: ... here
10833 * sysdeps/s390/s390-64/elf/configure: Delete file.
10834 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10835 * sysdeps/s390/s390-64/start.S: ... here.
10836 * sysdeps/s390/s390-64/elf/configure: Delete.
10838 * configure.in: Remove support for elf directories in sysdeps.
10840 * configure: Regenerated.
10841 * sysdeps/i386/configure: Regenerated.
10842 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10843 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10844 * sysdeps/s390/s390-32/configure: Regenerated.
10845 * sysdeps/s390/s390-64/configure: Regenerated.
10846 * sysdeps/sh/configure: Regenerated.
10847 * sysdeps/sparc/configure: Regenerated.
10848 * sysdeps/x86_64/configure: Regenerated.
10850 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10854 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10855 denormal result into account.
10857 2012-03-25 Roland McGrath <roland@hack.frob.com>
10859 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10860 Reported by Allan McRae <allan@archlinux.org>.
10862 2012-03-23 Jeff Law <law@redhat.com>
10864 * nss/getnssent.c (__nss_getent): Fix typo.
10866 2012-03-23 David S. Miller <davem@davemloft.net>
10868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10870 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10872 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10873 to pad to uint64_t for each field.
10874 (dl_tls_index): Replace unsigned long with uint64_t.
10876 2012-03-23 Daniel Jacobowitz <dmj@google.com>
10877 Paul Pluzhnikov <ppluzhnikov@google.com>
10880 * grp/Makefile (otherlibs): Don't set it.
10881 * inet/Makefile (otherlibs): Likewise.
10882 * login/Makefile (otherlibs): Likewise.
10883 * nscd/Makefile (otherlibs): Likewise.
10884 * posix/Makefile (otherlibs): Likewise.
10885 * pwd/Makefile (otherlibs): Likewise.
10886 * rt/Makefile (otherlibs): Likewise.
10887 * sunrpc/Makefile (otherlibs): Likewise.
10888 * nss/Makefile (otherlibs): Likewise.
10889 Add libnss_files to routines and static-only-routines.
10890 ($(objpfx)getent): Remove rule.
10891 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10892 static-only-routines.
10894 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10897 * math/s_cexp.c: Include <float.h>.
10898 (__cexp): Handle exp result overflowing not necessarily
10899 overflowing both real and imaginary parts of result.
10900 * math/s_cexpf.c: Likewise.
10901 * math/s_cexpl.c: Likewise.
10902 * math/libm-test.inc (cexp_test): Add more tests.
10903 * sysdeps/i386/fpu/libm-test-ulps: Update.
10904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10906 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10908 * include/link.h (ELFW): New macro.
10909 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10910 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10912 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10914 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10917 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10919 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10921 (struct La_x32_retval): Likewise.
10923 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10925 * sysdeps/x86_64/preconfigure.in: New file.
10926 * sysdeps/x86_64/preconfigure: New generated file.
10928 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10931 * math/e_exp2l.c: Include <float.h>.
10932 (__ieee754_exp2l): Handle overflow and underflow cases
10933 separately. Only pass fractional part of argument to
10935 * math/libm-test.inc (exp2_test): Add more tests.
10937 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10938 negating x to take absolute value.
10939 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10941 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10942 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10944 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10945 computing low part if x was negated.
10946 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10948 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10950 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10951 la_x32_gnu_pltexit.
10952 (pltexit): Cast int_retval to ptrdiff_t.
10953 * elf/tst-auditmod3b.c: Likewise.
10954 * elf/tst-auditmod4b.c: Likewise.
10955 * elf/tst-auditmod5b.c: Likewise.
10956 * elf/tst-auditmod6b.c: Likewise.
10957 * elf/tst-auditmod6c.c: Likewise.
10958 * elf/tst-auditmod7b.c: Likewise.
10960 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10961 and x32_gnu_pltexit.
10963 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10964 __ELF_NATIVE_CLASS.
10965 (La_x32_regs): New macro.
10966 (La_x32_retval): Likewise.
10967 (la_x32_gnu_pltenter): New function prototype.
10968 (la_x32_gnu_pltexit): Likewise.
10970 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10972 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10977 * configure.in (libc_cv_cc_nofma): Check for option to disable
10978 generation of FMA instructions.
10979 * configure: Regenerate.
10980 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10981 * sysdeps/ieee754/dbl-64/Makefile: New file.
10982 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10983 Remove brandred-fma4.
10984 (CFLAGS-brandred-fma4.c): Remove.
10985 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10986 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10988 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10991 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10993 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10994 LLONG_MAX != LONG_MAX.
10995 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10996 (_fitoa_word): Likewise.
10997 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10998 LLONG_MAX != LONG_MAX.
10999 * stdio-common/_itowa.h: Include <_itoa.h>.
11000 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11001 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11002 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11003 only if not defined.
11004 (_ITOA_WORD_TYPE): Likewise.
11005 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11006 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11008 2012-03-21 David S. Miller <davem@davemloft.net>
11010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11012 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11014 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11015 of x86_64 when setting libc_cv_slibdir, libdir and
11017 * sysdeps/unix/sysv/linux/configure: Regenerated.
11019 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11021 * manual/lang.texi (Old Varargs): Remove section.
11022 (How Variadic): Update menu.
11023 (va_start): Do not mention varargs.h.
11025 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11026 Joseph Myers <joseph@codesourcery.com>
11028 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11030 * configure: Regenerated.
11032 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11034 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11035 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11038 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11041 * Makefile (files-for-dist): Remove NOTES.
11042 (NOTES): Remove rule.
11043 * README: Don't refer to NOTES.
11044 * manual/creature.texi: Don't include macros.texi.
11045 * manual/intro.texi (creature.texi): Remove comment referring to
11048 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11049 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11050 * configure: Regenerated.
11051 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11052 LIBC_TRY_CC_OPTION.
11053 (libc_cv_as_i686): Likewise.
11054 (libc_cv_cc_avx): Likewise.
11055 (libc_cv_cc_sse2avx): Likewise.
11056 (libc_cv_cc_fma4): Likewise.
11057 (libc_cv_cc_novzeroupper): Likewise.
11058 * sysdeps/i386/configure: Regenerated.
11061 * sysdeps/i386/fpu/s_cexp.S: Remove.
11062 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11063 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11064 * math/libm-test.inc (cexp_test): Add more tests.
11065 * sysdeps/i386/fpu/libm-test-ulps: Update.
11066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11068 2012-03-21 Allan McRae <allan@archlinux.org>
11070 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11072 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11075 * math/w_exp2.c: Do not include <float.h>.
11076 (o_threshold, u_threshold): Remove.
11077 (__exp2): Calculate result before checking finiteness and calling
11079 * math/w_exp2f.c: Likewise.
11080 * math/w_exp2l.c: Likewise.
11081 * math/libm-test.inc (exp2_test): Require overflow exception for
11085 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11086 range of signed 64-bit integers before using fistpll. Remove
11087 checks for whether integers fit in mantissa bits.
11088 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11089 the range of signed 32-bit integers before using fistpl. Remove
11090 checks for whether integers fit in mantissa bits.
11091 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11092 (__ieee754_powl): Test for y outside the range of signed 64-bit
11093 integers before using fistpll. Reduce 64-bit values to 63-bit
11095 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11096 divide-by-zero is raised for zero to large negative powers.
11097 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11098 (__ieee754_powl): Test for y outside the range of signed 64-bit
11099 integers before using fistpll. Reduce 64-bit values to 63-bit
11101 * math/libm-test.inc (pow_test): Add more tests.
11103 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11105 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11106 <stdio-common/_itoa.h>.
11107 * debug/segfault.c: Likewise.
11108 * elf/dl-cache.c: Likewise.
11109 * elf/dl-minimal.c: Likewise.
11110 * elf/dl-misc.c: Likewise.
11111 * elf/dl-sysdep.c: Likewise.
11112 * elf/dl-version.c: Likewise.
11113 * elf/rtld.c: Likewise.
11114 * hurd/hurdsock.c: Likewise.
11115 * hurd/lookup-retry.c: Likewise.
11116 * malloc/malloc.c: Likewise.
11117 * malloc/mtrace.c: Likewise.
11118 * nscd/nscd_getgr_r.c: Likewise.
11119 * nscd/nscd_getpw_r.c: Likewise.
11120 * nscd/nscd_getserv_r.c: Likewise.
11121 * posix/getopt_init.c: Likewise.
11122 * posix/wordexp.c: Likewise.
11123 * stdio-common/_itoa.c: Likewise.
11124 * stdio-common/printf_fphex.c: Likewise.
11125 * stdio-common/vfprintf.c: Likewise.
11126 * string/_strerror.c: Likewise.
11127 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11128 * sysdeps/i386/i686/hp-timing.h: Likewise.
11129 * sysdeps/mach/_strerror.c: Likewise.
11130 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11131 * sysdeps/mach/hurd/sethostid.c: Likewise.
11132 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11133 * sysdeps/mach/xpg-strerror.c: Likewise.
11134 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11135 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11136 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11137 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11138 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11139 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11140 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11141 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11142 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11143 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11144 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11145 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11146 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11147 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11148 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11149 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11150 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11151 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11152 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11153 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11154 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11156 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11158 * stdio-common/_itoa.h: Moved to ...
11159 * sysdeps/generic/_itoa.h: Here.
11161 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11163 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11164 instead of "_itoa.h" and "_itowa.h".
11165 * stdio-common/vfprintf.: Likewise.
11167 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11169 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11171 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11172 (__signbit): Likwise.
11173 (llrintf): Likwise.
11176 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11178 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11181 2012-03-20 Joseph Myers <joseph@codesourcery.com>
11183 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11184 OVERFLOW_EXCEPTION_OK.
11185 * math/libm-test.inc ("Philosophy"): Update comment about
11187 (OVERFLOW_EXCEPTION): Define.
11188 (OVERFLOW_EXCEPTION_OK): Likewise.
11189 (INVALID_EXCEPTION_OK): Renumber.
11190 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11191 (IGNORE_ZERO_INF_SIGN): Likewise.
11192 (test_exceptions): Handle FE_OVERFLOW.
11193 (exp10_test): Expect overflow exceptions.
11194 (exp2_test): Likewise.
11195 (expm1_test): Likewise.
11196 (nextafter_test): Likewise.
11197 (pow_test): Likewise.
11198 (scalbn_test): Likewise.
11199 (scalbln_test): Likewise.
11201 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11203 * sysdeps/x86_64/bits/atomic.h
11204 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11206 (atomic_exchange_acq): Likewise.
11207 (__arch_exchange_and_add_body): Likewise.
11208 (__arch_add_body): Likewise.
11209 (atomic_add_negative): Likewise.
11210 (atomic_add_zero): Likewise.
11212 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11214 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
11215 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11217 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11219 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11220 Check __x86_64__ instead of __WORDSIZE.
11222 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11224 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11226 2012-03-19 David S. Miller <davem@davemloft.net>
11228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11230 * sysdeps/sparc/fpu/fenv_private.h: New file.
11231 * sysdeps/sparc/fpu/math_private.h: Use it.
11232 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11234 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11235 (libc_feholdexcept_setroundl): Remove.
11236 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11238 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11239 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11241 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11243 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11244 int64_t instead of long int.
11245 (INSERT_WORDS64): Likwise.
11247 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11249 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11250 _Unwind_GetCFA return to _Unwind_Ptr first.
11252 2012-03-19 Joseph Myers <joseph@codesourcery.com>
11255 * math/s_clog.c: Include <float.h>.
11256 (__clog): Scale large or subnormal inputs.
11257 * math/s_clogf.c: Likewise.
11258 * math/s_clogl.c: Likewise.
11259 * math/s_clog10.c: Include <float.h>.
11260 (M_LOG10_2): Define.
11261 (__clog10): Scale large or subnormal inputs.
11262 * math/s_clog10f.c: Likewise.
11263 * math/s_clog10l.c: Likewise.
11264 * math/libm-test.inc (clog_test): Add more tests.
11265 (clog10_test): Likewise.
11266 * sysdeps/i386/fpu/libm-test-ulps: Update.
11267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11270 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11272 * math/libm-test.inc (atan2_test): Add another test.
11274 * Makerules (common-objdir-compile): Remove.
11275 * sysdeps/unix/Makefile (config-generated): Do not add
11276 $(unix-generated) to variable.
11277 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11278 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11280 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11282 [generic bits/local_lim.h] (before-compile): Do not append to
11284 [generic bits/local_lim.h] (common-generated): Likewise.
11285 [generic sys/param.h] (before-compile): Do not append to variable.
11286 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11287 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11288 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11289 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11291 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11292 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11293 [generic sys/param.h] ($(addprefix
11294 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11295 [generic sys/param.h] (common-generated): Do not append to
11297 [generic sys/param.h] (sysdep_headers): Likewise.
11298 [generic bits/errno.h] (before-compile): Do not append to
11300 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11302 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11303 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11304 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11305 [generic bits/errno.h] (common-generated): Do not append to
11307 [generic bits/ioctls.h] (before-compile): Do not append to
11309 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11311 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11312 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11313 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11315 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11316 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11317 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11318 [generic bits/ioctls.h] (common-generated): Do not append to
11320 [generic sys/syscall.h] (syscall.h): Remove variable.
11321 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11323 [generic sys/syscall.h] (before-compile): Do not append to
11325 [generic sys/syscall.h] (common-generated): Likewise.
11326 * sysdeps/unix/errnos-tmpl.c: Remove file.
11327 * sysdeps/unix/errnos.awk: Likewise.
11328 * sysdeps/unix/ioctls-tmpl.c: Likewise.
11329 * sysdeps/unix/ioctls.awk: Likewise.
11330 * sysdeps/unix/mk-local_lim.c: Likewise.
11331 * sysdeps/unix/snarf-ioctls: Likewise.
11333 2012-03-19 Richard Henderson <rth@twiddle.net>
11335 * sysdeps/i386/fpu/fenv_private.h: New file.
11336 * sysdeps/i386/fpu/math_private.h: Use it.
11337 (math_opt_barrier, math_force_eval): Remove.
11338 (libc_feholdexcept_setround_53bit): Remove.
11339 (libc_feupdateenv_53bit): Remove.
11340 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11341 (math_opt_barrier, math_force_eval): Remove.
11342 (libc_feholdexcept): Remove.
11343 (libc_feholdexcept_setround): Remove.
11344 (libc_fetestexcept, libc_fesetenv): Remove.
11345 (libc_feupdateenv_test): Remove.
11346 (libc_feupdateenv, libc_feholdsetround): Remove.
11347 (libc_feresetround): Remove.
11349 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
11350 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11352 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
11353 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
11354 (libc_feupdateenv_testl): New.
11355 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
11356 (libc_feupdateenv_testf): New.
11357 (libc_feupdateenv): Use libc_feupdateenv_test.
11358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
11359 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
11361 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
11362 (libc_feholdsetroundf, libc_feholdsetroundl): New.
11363 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
11364 (libc_feresetround_noex): New.
11365 (libc_feresetround_noexf): New.
11366 (libc_feresetround_noexl): New.
11367 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
11368 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
11369 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
11370 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
11372 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11373 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
11375 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
11376 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11377 SET_RESTORE_ROUND_NOEX.
11378 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
11379 SET_RESTORE_ROUND_NOEXF.
11380 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
11381 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
11382 (libc_feholdsetroundf): New.
11383 (libc_feresetround, libc_feresetroundf): New.
11385 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
11386 (libc_feholdexcept_setround_53bit): Convert from macro to function.
11387 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
11389 * sysdeps/generic/math_private.h: Include <fenv.h>.
11390 (default_libc_feholdexcept): New.
11391 (default_libc_feholdexcept_setround): New.
11392 (default_libc_fesetenv, default_libc_feupdateenv): New.
11393 (libc_feholdexcept): Only define if undefined.
11394 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
11395 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
11396 (libc_feholdexcept_setroundl): Likewise.
11397 (libc_feholdexcept_setround_53bit): Likewise.
11398 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
11399 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
11400 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
11401 (libc_feupdateenv_53bit): Likewise.
11402 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
11403 (libc_feholdexcept): Convert from macro to inline function.
11404 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
11405 (libc_fesetenv, libc_feupdateenv): Likewise.
11407 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
11408 not previously defined.
11409 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
11410 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
11411 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
11412 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
11413 * sysdeps/ieee754/flt-32/math_private.h: New file.
11414 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
11415 math_private.h below SET_FLOAT_WORD.
11416 (__isnan, __isinf_ns, __finite): Remove.
11417 (__isnanf, __isinf_nsf, __finitef): Remove.
11419 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
11421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11423 2012-03-17 David S. Miller <davem@davemloft.net>
11426 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
11429 2012-03-16 David S. Miller <davem@davemloft.net>
11431 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
11435 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
11437 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
11438 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
11439 sysdep_routines when subdir is sysvipc.
11440 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
11441 __getshmlba helper.
11443 * sysdeps/sparc/fpu/libm-test/ulps: Update.
11445 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11447 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
11450 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11452 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
11453 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
11454 (__lround): Renamed to ...
11455 (__llround): This. Replace long int with long long int.
11456 Define lround functions as aliases of llround functions.
11457 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
11459 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11461 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
11462 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
11463 adresses to uintptr_t. Replace "long int" and "unsigned long
11464 int" with "greg_t" on va_arg.
11466 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11468 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
11469 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
11471 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
11472 Move e_machine check before EI_CLASS check. Handle x32
11473 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
11474 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
11475 SKIP_EM_IA_64 and include
11476 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
11478 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
11479 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
11480 (add_system_dir): New macro.
11482 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
11483 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
11485 2012-03-16 Joseph Myers <joseph@codesourcery.com>
11496 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
11498 * math/w_j0f.c (j0f): Likewise.
11500 * math/w_j0l.c (__j0l): Likewise.
11502 * math/w_j1.c (j1): Likewise.
11504 * math/w_j1f.c (j1f): Likewise.
11506 * math/w_j1l.c (__j1l): Likewise.
11508 * math/w_jn.c (jn): Likewise.
11510 * math/w_jnf.c (jnf): Likewise.
11512 * math/w_jnl.c (__jnl): Likewise.
11514 * math/libm-test.inc (j0_test): Add more tests.
11515 (j1_test): Likewise.
11516 (jn_test): Likewise. Add trailing semicolon to existing test.
11517 (y0_test): Likewise.
11518 (y1_test): Likewise.
11519 * sysdeps/i386/fpu/libm-test-ulps: Update.
11520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11524 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11525 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
11526 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
11527 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
11528 (__tanl): Set errno for infinite argument.
11529 * sysdeps/i386/fpu/mptan.c: Remove.
11530 * sysdeps/i386/fpu/s_tan.S: Likewise.
11531 * sysdeps/i386/fpu/s_tanl.S: Likewise.
11532 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
11533 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
11534 * math/libm-test.inc (tan_test): Add more tests and enable more
11535 tests for double and long double.
11536 * sysdeps/i386/fpu/libm-test-ulps: Update.
11537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11539 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11541 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
11542 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
11544 2012-03-16 Roland McGrath <roland@hack.frob.com>
11546 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
11547 * configure.in: Use it for both main tree and add-ons.
11548 * configure: Regenerated.
11550 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11552 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
11554 2012-03-16 Joseph Myers <joseph@codesourcery.com>
11556 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
11560 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
11561 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
11562 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
11564 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
11566 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
11567 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
11568 != 0 for prec == 2.
11569 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
11570 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
11571 * sysdeps/i386/fpu/s_cosl.S: Likewise.
11572 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
11573 * sysdeps/i386/fpu/s_sinl.S: Likewise.
11574 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
11575 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
11576 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
11577 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
11578 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
11579 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
11580 * math/libm-test.inc (cos_test): Add more tests and enable more
11581 tests for long double.
11582 (sin_test): Likewise.
11583 (sincos_test): Likewise.
11584 * sysdeps/i386/fpu/libm-test-ulps: Update.
11585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11587 2012-03-16 David S. Miller <davem@davemloft.net>
11589 * sysdeps/sparc/fpu/math_private.h: New file.
11591 2012-03-15 David S. Miller <davem@davemloft.net>
11593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
11595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
11596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
11598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
11599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
11600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
11601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
11602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
11603 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
11605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11607 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
11608 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
11610 * sysdeps/sparc/sparc-ifunc.h: New file.
11611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
11613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
11616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
11618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
11619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
11620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
11625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
11627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
11629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
11631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
11633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11635 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11636 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11637 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
11638 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
11639 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11640 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
11642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
11643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
11644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
11645 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
11646 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
11647 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
11648 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
11649 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
11650 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
11651 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
11652 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
11653 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
11654 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
11656 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11658 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
11660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11662 2012-03-15 Andreas Jaeger <aj@suse.de>
11665 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
11666 ieee754/flt-32 implementation for sin, cos and sincos.
11667 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
11668 * sysdeps/i386/fpu/s_cosf.S: Likewise.
11669 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
11670 * sysdeps/i386/fpu/s_sinf.S: Likewise.
11671 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
11672 ieee754/flt-32 implementation for tan.
11674 * math/libm-test.inc (cos_test): Enable some large input tests for
11676 (sin_test): Likewise.
11677 (sincos_test): Likewise.
11678 (tan_test): Add tests for large input.
11680 * sysdeps/i386/fpu/libm-test-ulps: Update.
11682 2012-03-15 Andreas Jaeger <aj@suse.de>
11685 * math/libm-test.inc (cos_test): Add more test cases.
11686 (sin_test): Likewise.
11687 (sincos_test): Likewise.
11689 2012-03-15 Andreas Jaeger <aj@suse.de>
11692 * math/libm-test.inc (cos_test): Add a test case for large input
11694 (sin_test): Likewise.
11695 (sincos_test): Likewise.
11697 2012-03-15 Andreas Jaeger <aj@suse.de>,
11698 Joseph Myers <joseph@codesourcery.com>
11701 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
11702 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11703 * sysdeps/i386/fpu/branred.c: Likewise.
11704 * sysdeps/i386/fpu/dosincos.c: Likewise.
11705 * sysdeps/i386/fpu/mpa.c: Likewise.
11706 * sysdeps/i386/fpu/s_cos.S: Likewise.
11707 * sysdeps/i386/fpu/s_sin.S: Likewise.
11708 * sysdeps/i386/fpu/s_sincos.S: Likewise.
11709 * sysdeps/i386/fpu/sincos32.c: Likewise.
11711 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11713 (libc_feupdateenv_53bit): Define.
11714 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11716 (libc_feupdateenv_53bit): Define.
11718 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11719 53 bit (without extend i386 double precision).
11721 * math/libm-test.inc (sincos_test): Add tests for large input.
11725 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11727 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11731 2012-03-15 David S. Miller <davem@davemloft.net>
11733 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11734 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11735 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11736 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11742 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11743 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11744 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
11748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
11751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
11754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
11757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11760 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11761 fmin/fmax sysdep routines.
11762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11764 2012-03-14 David S. Miller <davem@davemloft.net>
11766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11767 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11769 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11770 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11771 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11772 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11773 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11776 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11777 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11779 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11780 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11786 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11787 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11788 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11789 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11790 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11791 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11792 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11793 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
11794 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
11799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
11802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
11805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
11808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
11811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
11826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
11829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
11832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
11835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11838 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11843 * sysdeps/sparc/configure.in: New file.
11844 * sysdeps/sparc/configure: Generate.
11845 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11846 * configure: Regenerate.
11847 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11848 * config.make.in (have-as-vis3): New.
11849 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11850 available use -Av9d instead of -Av9a.
11851 * sysdeps/sparc/sparc64/Makefile: Likewise.
11852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
11853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11861 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11862 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11863 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11864 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11865 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11867 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11868 fzeros/fnegs to load 0x80000000 into a float register instead of
11870 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11872 2012-03-14 Joseph Myers <joseph@codesourcery.com>
11874 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11876 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11877 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11878 ($(inst_includedir)/bits/syscall.h): Remove rule.
11879 ($(objpfx)bits/syscall.d): Include instead of
11880 $(objpfx)syscall-list.d.
11881 (generated): Change syscall-list.h and syscall-list.d to
11882 bits/syscall.h and bits/syscall.d.
11884 2012-03-14 Roland McGrath <roland@hack.frob.com>
11887 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11889 2012-03-14 Joseph Myers <joseph@codesourcery.com>
11892 * math/s_csqrt.c: Include <float.h>.
11893 (__csqrt): Scale large or subnormal inputs.
11894 * math/s_csqrtf.c: Likewise.
11895 * math/s_csqrtl.c: Likewise.
11896 * math/libm-test.inc (csqrt_test): Add more tests.
11897 * sysdeps/i386/fpu/libm-test-ulps: Update.
11898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11901 * math/libm-test.inc (hypot_test): Add more tests.
11903 2012-03-13 David S. Miller <davem@davemloft.net>
11906 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11907 double-precision for the calculation instead of scaling.
11909 2012-03-13 Joseph Myers <joseph@codesourcery.com>
11911 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11912 manipulate bits before adding and subtracting TWO52[sx].
11913 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11914 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11916 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11918 2012-03-13 David S. Miller <davem@davemloft.net>
11920 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11921 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11922 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11923 rtld-global-offsets.h
11924 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11926 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11929 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11931 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11932 'err' in the ifdef scope in which it is actually used.
11934 * nss/nss_db/db-init.c: Include string.h
11936 2012-03-12 David S. Miller <davem@davemloft.net>
11938 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11939 masking out of the most significant byte of random value used.
11940 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11941 Fix coding style in previous change.
11943 * sysdeps/unix/sysv/linux/kernel-features.h
11944 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11945 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11947 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11950 2012-03-11 David S. Miller <davem@davemloft.net>
11952 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11953 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11954 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11955 for 'resultvar' otherwise things get truncated on 64-bit.
11957 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11958 Fix masking out of the most significant byte of random value used.
11960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11962 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11966 2012-03-09 David S. Miller <davem@davemloft.net>
11968 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11969 variables with appropriate CPP guards.
11970 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11971 frame pointer, not the stack pointer. Correct layout comments. Fix test
11972 on resulting framesize and the management of the outregs buffer for pltexit.
11973 Preserve floating point return values across _dl_call_pltexit call.
11974 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11975 framesize and the management of the outregs buffer for pltexit.
11976 Preserve floating point return values across _dl_call_pltexit
11978 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11979 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11980 (print_exit): Fix format string for return register value.
11982 2012-03-10 Joseph Myers <joseph@codesourcery.com>
11984 * sunrpc/Makefile (others): Add rpcgen.
11985 ($(objpfx)rpcgen): Remove special build rule and dependency on
11987 * sunrpc/rpcgen.c: New file.
11989 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11992 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11993 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11994 * sysdeps/i386/crti.S: Likewise.
11995 * sysdeps/i386/crtn.S: Likewise.
11996 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11997 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11998 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11999 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12000 * sysdeps/sh/crti.S: Likewise.
12001 * sysdeps/sh/crtn.S: Likewise.
12002 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12005 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12007 * locale/programs/locfile-kw.gperf: Likewise.
12008 * locale/programs/charmap-kw.h: Regenerated.
12009 * locale/programs/locfile-kw.h: Likewise.
12012 * intl/plural.y: Replace FSF snail mail address with URL.
12013 * intl/plural.c: Regenerated.
12015 2012-03-09 Richard Henderson <rth@twiddle.net>
12017 * include/math_private.h: Remove file.
12018 * math/math_private.h: Move file ...
12019 * sysdeps/generic/math_private.h: ... here.
12021 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12022 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12023 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12025 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
12026 and <math_private.h>.
12027 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12028 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12029 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12030 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12031 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12032 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12033 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12034 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12035 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12036 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12037 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12038 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12039 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12040 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12041 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12042 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12043 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12044 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12045 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12046 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12047 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12048 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12049 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12050 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12051 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12052 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12053 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12054 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12055 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12056 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12057 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12058 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12059 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12060 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12061 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12062 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12063 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12064 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12065 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12066 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12067 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12068 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12069 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12070 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12071 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12072 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12073 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12074 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12075 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12076 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12077 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12078 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12079 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12080 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12081 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12082 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12083 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12084 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12085 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12086 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12087 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12088 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12089 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12090 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12091 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12092 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12093 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12094 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12095 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12096 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12097 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12098 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12099 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12100 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12101 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12102 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12103 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12104 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12105 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12106 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12107 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12108 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12109 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12110 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12111 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12112 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12113 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12114 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12115 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12116 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12117 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12118 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12119 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12120 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12121 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12122 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12123 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12124 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12125 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12126 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12127 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12128 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12129 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12130 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12131 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12132 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12133 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12134 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12135 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12136 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12137 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12138 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12139 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12140 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12141 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12142 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12143 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12144 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12145 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12146 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12147 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12148 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12149 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12150 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12151 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12152 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12153 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12154 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12155 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12156 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12157 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12158 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12159 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12160 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12161 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12162 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12163 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12164 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12165 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12166 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12167 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12168 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12169 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12170 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12171 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12172 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12173 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12174 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12175 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12176 * sysdeps/ieee754/k_standard.c: Likewise.
12177 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12178 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12179 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12180 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12181 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12182 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12183 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12184 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12185 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12186 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12187 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12188 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12189 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12190 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12191 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12192 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12193 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12194 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12195 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12196 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12197 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12198 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12199 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12200 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12201 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12202 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12203 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12204 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12205 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12206 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12207 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12208 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12209 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12210 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12211 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12212 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12213 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12214 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12215 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12216 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12217 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12218 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12219 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12220 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12221 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12222 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12223 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12224 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12225 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12226 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12227 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12228 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12229 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12230 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12231 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12232 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12233 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12234 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12235 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12236 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12237 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12238 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12239 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12240 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12241 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12242 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12243 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12244 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12245 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12246 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12247 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12248 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12249 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12250 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12251 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12252 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12253 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12254 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12255 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12256 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12257 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12258 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12259 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12260 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12261 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12262 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12263 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12264 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12265 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12266 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12267 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12268 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12269 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12270 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12271 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12272 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12273 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12274 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12275 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12276 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12277 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12278 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12280 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12281 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12282 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12284 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12285 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12286 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12287 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12288 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12289 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12290 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12291 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12292 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12293 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12294 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12295 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12296 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12297 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12298 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12299 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12300 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12301 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12302 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12303 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12304 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12305 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12306 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12307 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12308 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12309 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12310 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12311 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12312 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12314 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12315 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12316 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12317 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12318 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12319 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12320 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12321 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12322 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12323 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12324 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12325 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12326 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
12327 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12328 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12329 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12330 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12331 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
12332 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
12333 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12334 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12335 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12336 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12337 * sysdeps/ieee754/s_lib_version.c: Likewise.
12338 * sysdeps/ieee754/s_matherr.c: Likewise.
12339 * sysdeps/ieee754/s_signgam.c: Likewise.
12340 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12341 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12342 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12343 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12344 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12345 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12346 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
12347 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
12348 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
12349 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12350 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12351 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12352 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12353 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12354 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
12355 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12356 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12357 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12358 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12359 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12360 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12362 2012-03-09 Joseph Myers <joseph@codesourcery.com>
12364 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
12365 * sunrpc/rpc_main.c: Likewise.
12366 * sunrpc/rpc_svcout.c: Likewise.
12368 2012-03-09 David S. Miller <davem@davemloft.net>
12370 * include/math_private.h: New file.
12372 2012-03-09 Joseph Myers <joseph@codesourcery.com>
12374 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
12375 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
12376 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
12377 from <bits/socket_type.h>.
12378 (enum __socket_type): Don't define here.
12379 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
12380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12381 bits/socket_type.h.
12384 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
12385 checking __USE_GNU.
12387 * Makerules ($(inst_includedir)/%.h): New rule.
12388 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
12389 (install-others): Remove variable setting.
12390 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
12392 2012-03-08 Richard Henderson <rth@twiddle.net>
12394 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
12395 from macro to inline function; merge with the
12396 !__LIBC_INTERNAL_MATH_INLINES version.
12397 (__ieee754_sqrtf): Likewise.
12399 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
12400 to inline function.
12401 (__rintf, __floor, __floorf): Likewise.
12403 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
12404 macro to inline function.
12405 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
12407 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
12408 not <math/math_private.h>.
12410 2012-03-08 David S. Miller <davem@davemloft.net>
12412 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
12414 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12416 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
12418 * resolv/gai_misc.c (handle_requests): Fix struct timespec
12420 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
12421 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12423 2012-03-08 Ulrich Drepper <drepper@gmail.com>
12425 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
12426 be defined individually, they must be defined as a block. Define
12427 S for printing a string instead of hidint the different by using a
12428 macro for adding the 'l'.
12429 * stdio-common/tst-fphex-wide.c: Adjust.
12431 2012-03-07 Marek Polacek <polacek@redhat.com>
12433 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
12435 2012-03-08 Marek Polacek <polacek@redhat.com>
12438 * stdio-common/Makefile (tests): Add tst-fphex-wide.
12439 * stdio-common/tst-fphex.c: Define a few macros to make the
12440 test reusable. Use them.
12441 * stdio-common/tst-fphex-wide.c: New file.
12443 2012-03-08 Joseph Myers <joseph@codesourcery.com>
12446 * manual/macros.texi (gnusystems): New macro.
12447 (nongnusystems): Likewise.
12448 (gnulinuxhurdsystems): Likewise.
12449 (gnuhurdsystems): Likewise..
12450 (gnulinuxsystems): Likewise.
12451 * manual/charset.texi: Use new macros or @theglibc{} to refer to
12452 variants of the GNU system, not "GNU system".
12453 * manual/conf.texi: Likewise.
12454 * manual/errno.texi: Likewise. Update example of errno macro
12456 * manual/filesys.texi: Likewise.
12457 (getumask): Document as specific to GNU/Hurd.
12458 * manual/install.texi: Likewise. Reword some references to
12460 * manual/intro.texi: Likewise.
12461 * manual/io.texi: Likewise.
12462 (File Name Portability): Detail which constraints are inapplicable
12463 to all GNU systems and which are only inapplicable to GNU/Hurd.
12464 * manual/job.texi: Likewise.
12465 * manual/llio.texi: Likewise.
12466 (O_NOCTTY): Document as present on GNU/Linux.
12467 * manual/maint.texi: Likewise.
12468 * manual/memory.texi: Likewise.
12469 * manual/pattern.texi: Likewise.
12470 * manual/pipe.texi: Likewise.
12471 * manual/process.texi: Likewise.
12472 * manual/resource.texi: Likewise.
12473 (RUSAGE_CHILDREN): Remove statement about specifying a particular
12475 * manual/setjmp.texi: Likewise.
12476 * manual/signal.texi: Likewise.
12477 * manual/startup.texi: Likewise.
12478 * manual/stdio.texi: Likewise.
12479 * manual/terminal.texi: Likewise.
12480 (ONLCR): Document as POSIX.
12481 (OXTABS): Document availability on GNU/Linux as XTABS.
12482 (ONOEOT): Document availability separately from other bits.
12483 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
12484 * manual/time.texi: Likewise.
12485 * manual/users.texi: Likewise.
12486 * INSTALL: Regenerated.
12487 * sysdeps/gnu/errlist.c: Regenerated.
12489 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
12490 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
12491 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
12493 * configure: Regenerated.
12495 2012-03-07 Joseph Myers <joseph@codesourcery.com>
12497 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
12498 default includes instead of AC_HEADER_CHECK.
12499 * sysdeps/i386/configure: Regenerated.
12502 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
12503 * math/s_cacoshf.c (__cacoshf): Likewise.
12504 * math/s_cacoshl.c (__cacoshl): Likewise.
12505 * math/s_casinh.c (__casinh): Set signs of result from argument.
12506 * math/s_casinhf.c (__casinhf): Likewise.
12507 * math/s_casinhl.c (__casinhl): Likewise.
12508 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
12509 (casinh_test): Add more tests.
12510 * sysdeps/i386/fpu/libm-test-ulps: Update.
12511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12513 2012-03-07 Ulrich Drepper <drepper@gmail.com>
12515 * po/zh_TW.po: Update from translation team.
12517 * login/Makefile (distribute): Remove variable.
12518 * catgets/Makefile: Likewise.
12519 * mach/Makefile: Likewise.
12520 * malloc/Makefile: Likewise.
12521 * misc/Makefile: Likewise.
12522 * iconv/Makefile: Likewise.
12523 * nscd/Makefile: Likewise.
12524 * hurd/Makefile: Likewise.
12525 * manual/Makefile: Likewise.
12526 * locale/Makefile: Likewise.
12527 * intl/Makefile: Likewise.
12528 * conform/Makefile: Likewise.
12529 * nss/Makefile: Likewise.
12530 * time/Makefile: Likewise.
12531 * soft-fp/Makefile: Likewise.
12532 * dirent/Makefile: Likewise.
12533 * gmon/Makefile: Likewise.
12534 * po/Makefile: Likewise.
12535 * rt/Makefile: Likewise.
12536 * socket/Makefile: Likewise.
12537 * math/Makefile: Likewise.
12538 * signal/Makefile: Likewise.
12539 * debug/Makefile: Likewise.
12540 * elf/Makefile: Likewise.
12541 * timezone/Makefile: Likewise.
12542 * stdlib/Makefile: Likewise.
12543 * iconvdata/Makefile: Likewise.
12544 * sunrpc/Makefile: Likewise.
12545 * io/Makefile: Likewise.
12546 * argp/Makefile: Likewise.
12547 * inet/Makefile: Likewise.
12548 * hesiod/Makefile: Likewise.
12549 * grp/Makefile: Likewise.
12550 * csu/Makefile: Likewise.
12551 * wctype/Makefile: Likewise.
12552 * crypt/Makefile: Likewise.
12553 * libio/Makefile: Likewise.
12554 * string/Makefile: Likewise.
12555 * nis/Makefile: Likewise.
12556 * resolv/Makefile: Likewise.
12557 * stdio-common/Makefile: Likewise.
12558 * wcsmbs/Makefile: Likewise.
12559 * dlfcn/Makefile: Likewise.
12560 * posix/Makefile: Likewise.
12563 * timezone/Makefile: Don't install timezone files, just the programs
12566 2012-03-06 Ulrich Drepper <drepper@gmail.com>
12568 * nss/databases.def: Add missing gshadow entry.
12570 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
12572 2012-03-06 Marek Polacek <polacek@redhat.com>
12575 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
12576 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12577 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
12578 * stdio-common/tst-long-dbl-fphex.c: New file.
12580 2012-03-06 David S. Miller <davem@davemloft.net>
12582 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12583 (set_obp_int): New function.
12584 (get_obp_int): New function.
12585 (__get_clockfreq_via_dev_openprom): Likewise.
12586 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
12587 Avoid unused variable warnings on 'val' and use builtin_expect.
12588 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
12590 (INLINE_CLONE_SYSCALL): Likewise.
12592 2012-03-05 David S. Miller <davem@davemloft.net>
12594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12596 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
12598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12600 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
12601 only for |x| >= 40.
12602 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12604 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
12606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
12607 Replace gettimeofday with __vdso_gettimeofday.
12609 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12610 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
12611 __vdso_clock_gettime and __vdso_getcpu.
12613 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
12614 time with __vdso_time.
12616 2012-03-05 Joseph Myers <joseph@codesourcery.com>
12618 * manual/lang.texi (size_t): Note types to which size_t may be
12619 equivalent with the GNU C Library, but do not describe when
12620 differences between them are significant.
12622 2012-03-05 Andreas Jaeger <aj@suse.de>
12624 * sysdeps/i386/fpu/libm-test-ulps: Update.
12626 2012-03-05 Joseph Myers <joseph@codesourcery.com>
12629 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
12630 (__ieee754_pow): Save and restore rounding mode and use
12631 round-to-nearest for main computations.
12632 * math/libm-test.inc (pow_test_tonearest): New function.
12633 (pow_test_towardzero): Likewise.
12634 (pow_test_downward): Likewise.
12635 (pow_test_upward): Likewise.
12636 (main): Call the new functions.
12637 * sysdeps/i386/fpu/libm-test-ulps: Update.
12638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12641 * math/libm-test.inc (cosh_test_tonearest): New function.
12642 (cosh_test_towardzero): Likewise.
12643 (cosh_test_downward): Likewise.
12644 (cosh_test_upward): Likewise.
12645 (sinh_test_tonearest): Likewise.
12646 (sinh_test_towardzero): Likewise.
12647 (sinh_test_downward): Likewise.
12648 (sinh_test_upward): Likewise.
12649 (main): Call the new functions.
12650 * sysdeps/i386/fpu/libm-test-ulps: Update.
12651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12653 2012-03-05 Tom de Vries <tom@codesourcery.com>
12655 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
12656 default stack guard is set in last bytes.
12657 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
12659 2012-03-05 Kees Cook <keescook@chromium.org>
12661 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
12664 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
12665 possibly allocate from heap instead of stack.
12666 * stdio-common/bug-vfprintf-nargs.c: New file.
12667 * stdio-common/Makefile (tests): Add nargs overflow test.
12669 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
12671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12673 2012-03-03 Marek Polacek <polacek@redhat.com>
12675 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
12676 * math/math_private.h: Likewise.
12677 * stdlib/tst-strtod.c: Likewise.
12678 * sysdeps/i386/i486/bits/atomic.h: Likewise.
12679 * sysdeps/x86_64/bits/atomic.h: Likewise.
12681 2012-03-02 David S. Miller <davem@davemloft.net>
12683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
12684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
12685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
12686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
12687 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
12688 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
12689 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
12690 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
12692 2012-03-02 Roland McGrath <roland@hack.frob.com>
12695 * manual/examples/README: New file, says the example source files
12696 can be used under GPL>=2.
12697 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12698 line containing just "*/".
12699 * manual/examples/add.c: Add copyright header (GPL>=2).
12700 * manual/examples/argp-ex1.c: Likewise.
12701 * manual/examples/argp-ex2.c: Likewise.
12702 * manual/examples/argp-ex3.c: Likewise.
12703 * manual/examples/argp-ex4.c: Likewise.
12704 * manual/examples/atexit.c: Likewise.
12705 * manual/examples/db.c: Likewise.
12706 * manual/examples/dir.c: Likewise.
12707 * manual/examples/dir2.c: Likewise.
12708 * manual/examples/execinfo.c: Likewise.
12709 * manual/examples/filecli.c: Likewise.
12710 * manual/examples/filesrv.c: Likewise.
12711 * manual/examples/fmtmsgexpl.c: Likewise.
12712 * manual/examples/genpass.c: Likewise.
12713 * manual/examples/inetcli.c: Likewise.
12714 * manual/examples/inetsrv.c: Likewise.
12715 * manual/examples/isockad.c: Likewise.
12716 * manual/examples/longopt.c: Likewise.
12717 * manual/examples/memopen.c: Likewise.
12718 * manual/examples/memstrm.c: Likewise.
12719 * manual/examples/mkfsock.c: Likewise.
12720 * manual/examples/mkisock.c: Likewise.
12721 * manual/examples/mygetpass.c: Likewise.
12722 * manual/examples/pipe.c: Likewise.
12723 * manual/examples/popen.c: Likewise.
12724 * manual/examples/rprintf.c: Likewise.
12725 * manual/examples/search.c: Likewise.
12726 * manual/examples/select.c: Likewise.
12727 * manual/examples/setjmp.c: Likewise.
12728 * manual/examples/sigh1.c: Likewise.
12729 * manual/examples/sigusr.c: Likewise.
12730 * manual/examples/stpcpy.c: Likewise.
12731 * manual/examples/strdupa.c: Likewise.
12732 * manual/examples/strftim.c: Likewise.
12733 * manual/examples/strncat.c: Likewise.
12734 * manual/examples/subopt.c: Likewise.
12735 * manual/examples/swapcontext.c: Likewise.
12736 * manual/examples/termios.c: Likewise.
12737 * manual/examples/testopt.c: Likewise.
12738 * manual/examples/testpass.c: Likewise.
12739 * manual/examples/timeval_subtract.c: Likewise.
12742 * manual/time.texi (Elapsed Time): Move timeval_subtract example
12744 * manual/timeval_subtract.c.texi: ... here, new file.
12746 2012-03-02 David S. Miller <davem@davemloft.net>
12748 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12750 2012-03-02 Joseph Myers <joseph@codesourcery.com>
12753 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12754 (__sin): Save and restore rounding mode and use round-to-nearest
12755 for all computations.
12756 (__cos): Save and restore rounding mode and use round-to-nearest
12757 for all computations.
12758 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12760 (tan): Save and restore rounding mode and use round-to-nearest for
12762 * math/libm-test.inc (cos_test_tonearest): New function.
12763 (cos_test_towardzero): Likewise.
12764 (cos_test_downward): Likewise.
12765 (cos_test_upward): Likewise.
12766 (sin_test_tonearest): Likewise.
12767 (sin_test_towardzero): Likewise.
12768 (sin_test_downward): Likewise.
12769 (sin_test_upward): Likewise.
12770 (tan_test_tonearest): Likewise.
12771 (tan_test_towardzero): Likewise.
12772 (tan_test_downward): Likewise.
12773 (tan_test_upward): Likewise.
12774 (main): Call the new functions.
12775 * sysdeps/i386/fpu/libm-test-ulps: Update.
12776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12779 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12780 small n, then large n, before computing and testing k+n.
12781 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12782 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12784 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12786 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12787 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12788 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12789 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12790 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12791 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12792 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12793 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12794 * math/libm-test.inc (scalbn_test): Add more tests.
12795 (scalbln_test): Likewise.
12797 * manual/filesys.texi (mode_t): Describe constraints on size and
12798 signedness, not exact equivalence to a particular type.
12800 (ino64_t): Likewise.
12802 (nlink_t): Likewise.
12803 (blkcnt_t): Likewise.
12804 (blkcnt64_t): Likewise.
12805 * manual/llio.texi (off_t): Likewise.
12808 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12809 (__ieee754_exp): Save and restore rounding mode and use
12810 round-to-nearest for all computations.
12811 * math/libm-test.inc (exp_test_tonearest): New function.
12812 (exp_test_towardzero): Likewise.
12813 (exp_test_downward): Likewise.
12814 (exp_test_upward): Likewise.
12815 (main): Call the new functions.
12816 * sysdeps/i386/fpu/libm-test-ulps: Update.
12817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12819 2012-03-01 Chris Demetriou <cgd@google.com>
12821 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12822 have predictable order.
12824 2012-03-01 David S. Miller <davem@davemloft.net>
12826 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12828 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12829 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12830 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12831 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12833 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12834 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12835 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12837 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12838 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12839 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12840 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12841 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12845 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12846 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12847 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12849 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12850 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12851 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12852 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12853 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12854 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12855 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12856 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12857 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12858 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12859 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12860 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12861 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12862 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12863 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12864 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12865 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12866 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12867 * sysdeps/sparc/elf/configure: Regenerated.
12869 2012-03-01 Joseph Myers <joseph@codesourcery.com>
12871 * configure.in (AS, LD): Require binutils 2.20 or later.
12872 * configure: Regenerated.
12873 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12874 as required minimum version.
12875 * INSTALL: Regenerated.
12879 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12880 before squaring exponent.
12881 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12882 bottom long double and 27 bits of top long double before squaring
12884 * math/libm-test.inc (erfc_test): Add more tests.
12885 * sysdeps/i386/fpu/libm-test-ulps: Update.
12886 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12889 2012-03-01 Kai Tietz <ktietz@redhat.com>
12891 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12892 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12893 containing bit-fields.
12894 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12895 * soft-fp/single.h (_FP_UNION_S): Likewise.
12896 * soft-fp/double.h (_FP_UNION_D): Likewise.
12898 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12901 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12902 not include ../strcmp.S.
12903 [USE_AS_STRNCASECMP_L]: Likewise.
12904 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12905 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12906 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12907 (__strncasecmp_l_ia32): Define as alias to
12908 __strncasecmp_l_nonascii.
12911 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12912 * sysdeps/i386/fpu/libm-test-ulps: Update.
12913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12915 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12918 2012-02-29 Jeff Law <law@redhat.com>
12920 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12921 out of bounds read.
12923 2012-02-29 Marek Polacek <polacek@redhat.com>
12926 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12927 * elf/Makefile: Add rules to run tst-unused-dep.out.
12929 2012-02-28 David S. Miller <davem@davemloft.net>
12931 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12932 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12933 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12934 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12935 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12936 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12938 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12940 * math/libm-test.inc (llround_test): Move one test from
12941 lround_test. Use TEST_f_L in moved test.
12942 (lround_test): Move misplaced test to llround_test. Add testcase
12945 2012-02-28 Ulrich Drepper <drepper@gmail.com>
12947 * sysdeps/x86_64/fpu/e_expf.S: New file.
12948 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12950 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12953 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12954 of remain_len that may cause incomplete multi-byte character and
12956 * posix/bug-regex33.c: New file.
12957 * posix/Makefile (tests): Add bug-regex33.
12959 2012-02-28 Joseph Myers <joseph@codesourcery.com>
12961 * manual/macros.texi: New file.
12962 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12963 * manual/libc.texinfo: Include macros.texi.
12964 * manual/creatute.texi: Likewise.
12965 * manual/install.texi: Likewise.
12966 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12967 @glibcadj{} in references to the GNU C Library.
12968 * manual/charset.texi: Likewise.
12969 * manual/conf.texi: Likewise.
12970 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12971 when not using those macros.
12972 * manual/creature.texi: Likewise.
12973 * manual/crypt.texi: Likewise.
12974 * manual/errno.texi: Likewise.
12975 * manual/filesys.texi: Likewise.
12976 * manual/header.texi: Likewise.
12977 * manual/install.texi: Likewise.
12978 * manual/intro.texi: Likewise.
12979 * manual/io.texi: Likewise.
12980 * manual/job.texi: Likewise.
12981 * manual/lang.texi: Likewise.
12982 * manual/libc.texiinfo: Likewise.
12983 * manual/llio.texi: Likewise.
12984 * manual/locale.texi: Likewise.
12985 * manual/maint.texi: Likewise.
12986 * manual/math.texi: Likewise.
12987 * manual/memory.texi: Likewise.
12988 * manual/message.texi: Likewise.
12989 * manual/nss.texi: Likewise.
12990 * manual/pattern.texi: Likewise.
12991 * manual/process.texi: Likewise.
12992 * manual/resource.texi: Likewise.
12993 * manual/search.texi: Likewise.
12994 * manual/setjmp.texi: Likewise.
12995 * manual/signal.texi: Likewise.
12996 * manual/socket.texi: Likewise.
12997 * manual/startup.texi: Likewise.
12998 * manual/stdio.texi: Likewise.
12999 * manual/string.texi: Likewise.
13000 * manual/sysinfo.texi: Likewise.
13001 * manual/syslog.texi: Likewise.
13002 * manual/terminal.texi: Likewise.
13003 * manual/time.texi: Likewise.
13004 * manual/users.texi: Likewise.
13005 * INSTALL: Regenerated.
13006 * NOTES: Regenerated.
13007 * sysdeps/gnu/errlist.c: Regenerated.
13009 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13011 * include/dirent.h: Include <dirstream.h> before
13014 2012-02-28 David S. Miller <davem@davemloft.net>
13016 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13017 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13018 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13019 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13021 2012-02-27 David S. Miller <davem@davemloft.net>
13023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13025 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13026 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13029 frame pointer instead of stack pointer relative arg slot.
13030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13031 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13032 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13034 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13037 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13039 2012-02-27 David S. Miller <davem@davemloft.net>
13041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13045 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13046 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13047 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13048 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13050 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13052 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13053 later. Allow versions 5-9.
13054 * configure: Regenerated.
13055 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13056 required minimum version and 4.6 as recommended version. Do not
13057 mention bugs in GCC 2.7 and 2.8.
13058 * INSTALL: Regenerated.
13060 2012-02-27 David S. Miller <davem@davemloft.net>
13062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13066 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13067 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13068 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13069 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13071 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13072 manipulate bits before adding and subtracting TWO112[sx].
13073 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13075 2012-02-27 Roland McGrath <roland@hack.frob.com>
13078 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13079 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13080 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13081 being in POSIX, because they are in 1003.1-2008.
13083 * rt/tst-aio.c: Include <fcntl.h>.
13084 * rt/tst-aio7.c: Likewise.
13085 * rt/tst-aio64.c: Likewise.
13087 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13089 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13091 * manual/install.texi (--with-headers): Describe headers as
13092 interface headers, not private headers.
13093 (Specific advice for GNU/Linux systems): Describe use of headers
13094 from "make headers_install", not private headers from older
13096 * INSTALL: Regenerated.
13097 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13099 * sysdeps/unix/sysv/linux/configure: Regenerated.
13101 * manual/llio.texi (fclean): Remove documentation.
13103 * manual/Makefile (libc-texi-generated): New variable. Include
13105 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13106 $(libc-texi-generated), not duplicated list of files.
13107 (version.texi, stamp-version): New rules.
13108 (realclean): Remove $(libc-texi-generated), not individual files
13109 from that list. Do not remove dir-add.texinfo.
13110 * manual/libc.texinfo: Comment out uses of edition numbers and
13111 references to printed manual. Remove last-updated dates.
13112 (EDITION): Comment out.
13114 (VERSION, UPDATED): Remove.
13115 (version.texi): Include.
13117 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13119 * sysdeps/posix/spawni.c: Include <signal.h>.
13120 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13121 * sysdeps/pthread/aio_fsync.c: Likewise.
13123 2012-02-26 Ulrich Drepper <drepper@gmail.com>
13125 * conform/Makefile (tests): Run only when not cross-compiling and
13126 when fast-check is not defined.
13128 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13129 * conform/data/limits.h-data: Fixes for POSIX2008.
13130 * conform/run-conformtest.sh: Run all tests.
13131 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13133 * include/bits/dlfcn.h: Likewise.
13134 * include/langinfo.h: Likewise.
13135 * include/monetary.h: Likewise.
13136 * include/sys/poll.h: Likewise.
13138 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13140 * posix/spawn.h: Define __need_sigset_t.
13141 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13142 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13143 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13144 to get sigevent_t only.
13145 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13146 only for __USE_GNU.
13147 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13148 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13149 process_vm_writev only for __USE_GNU.
13150 * termios/termios.h: Declare tcgetsid also for POSIX2008.
13152 * conform/Makefile: For now ignore errors from run-conformtest.
13153 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13154 POSIX to avoid namespace pollution. Don't prepend headers.
13155 * conform/data/aio.h-data: Fixes for POSIX testing.
13156 * conform/data/fcntl.h-data: Likewise.
13157 * conform/data/glob.h-data: Likewise.
13158 * conform/data/grp.h-data: Likewise.
13159 * conform/data/pthread.h-data: Likewise.
13160 * conform/data/pwd.h-data: Likewise.
13161 * conform/data/signal.h-data: Likewise.
13162 * conform/data/spawn.h-data: Likewise.
13163 * conform/data/stdio.h-data: Likewise.
13164 * conform/data/stdlib.h-data: Likewise.
13165 * conform/data/stropts.h-data: Likewise.
13166 * conform/data/sys/mman.h-data: Likewise.
13167 * conform/data/sys/stat.h-data: Likewise.
13168 * conform/data/sys/types.h-data: Likewise.
13169 * conform/data/sys/wait.h-data: Likewise.
13170 * conform/data/time.h-data: Likewise.
13171 * conform/data/unistd.h-data: Likewise.
13172 * conform/data/utime.h-data: Likewise.
13174 * io/sys/stat.h: fchmod was always in POSIX.
13175 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13176 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13177 * rt/aio.h: Define __need_timespec before including <time.h>.
13178 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13179 struct. Add forward declaration of pthread_attr_t and use it in
13181 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13182 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13183 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13184 always remove CLK_TCK definition.
13186 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13188 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13190 2012-02-25 Ulrich Drepper <drepper@gmail.com>
13192 * conform/run-conformtest.sh: New file.
13193 * conform/Makefile: Run run-conformtest for tests.
13194 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13197 * conform/data/uchar.h-data: New file.
13198 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13199 * conform/data/arpa/inet.h-data: Likewise.
13200 * conform/data/assert.h-data: Likewise.
13201 * conform/data/complex.h-data: Likewise.
13202 * conform/data/cpio.h-data: Likewise.
13203 * conform/data/ctype.h-data: Likewise.
13204 * conform/data/dirent.h-data: Likewise.
13205 * conform/data/dlfcn.h-data: Likewise.
13206 * conform/data/errno.h-data: Likewise.
13207 * conform/data/fcntl.h-data: Likewise.
13208 * conform/data/float.h-data: Likewise.
13209 * conform/data/fmtmsg.h-data: Likewise.
13210 * conform/data/fnmatch.h-data: Likewise.
13211 * conform/data/ftw.h-data: Likewise.
13212 * conform/data/glob.h-data: Likewise.
13213 * conform/data/grp.h-data: Likewise.
13214 * conform/data/iconv.h-data: Likewise.
13215 * conform/data/inttypes.h-data: Likewise.
13216 * conform/data/langinfo.h-data: Likewise.
13217 * conform/data/libgen.h-data: Likewise.
13218 * conform/data/limits.h-data: Likewise.
13219 * conform/data/locale.h-data: Likewise.
13220 * conform/data/math.h-data: Likewise.
13221 * conform/data/monetary.h-data: Likewise.
13222 * conform/data/mqueue.h-data: Likewise.
13223 * conform/data/ndbm.h-data: Likewise.
13224 * conform/data/net/if.h-data: Likewise.
13225 * conform/data/netdb.h-data: Likewise.
13226 * conform/data/netinet/in.h-data: Likewise.
13227 * conform/data/nl_types.h-data: Likewise.
13228 * conform/data/poll.h-data: Likewise.
13229 * conform/data/pthread.h-data: Likewise.
13230 * conform/data/pwd.h-data: Likewise.
13231 * conform/data/regex.h-data: Likewise.
13232 * conform/data/sched.h-data: Likewise.
13233 * conform/data/search.h-data: Likewise.
13234 * conform/data/semaphore.h-data: Likewise.
13235 * conform/data/setjmp.h-data: Likewise.
13236 * conform/data/signal.h-data: Likewise.
13237 * conform/data/spawn.h-data: Likewise.
13238 * conform/data/stdarg.h-data: Likewise.
13239 * conform/data/stdio.h-data: Likewise.
13240 * conform/data/stdlib.h-data: Likewise.
13241 * conform/data/string.h-data: Likewise.
13242 * conform/data/strings.h-data: Likewise.
13243 * conform/data/stropts.h-data: Likewise.
13244 * conform/data/sys/ipc.h-data: Likewise.
13245 * conform/data/sys/mman.h-data: Likewise.
13246 * conform/data/sys/msg.h-data: Likewise.
13247 * conform/data/sys/resource.h-data: Likewise.
13248 * conform/data/sys/select.h-data: Likewise.
13249 * conform/data/sys/sem.h-data: Likewise.
13250 * conform/data/sys/shm.h-data: Likewise.
13251 * conform/data/sys/socket.h-data: Likewise.
13252 * conform/data/sys/stat.h-data: Likewise.
13253 * conform/data/sys/statvfs.h-data: Likewise.
13254 * conform/data/sys/time.h-data: Likewise.
13255 * conform/data/sys/timeb.h-data: Likewise.
13256 * conform/data/sys/times.h-data: Likewise.
13257 * conform/data/sys/types.h-data: Likewise.
13258 * conform/data/sys/uio.h-data: Likewise.
13259 * conform/data/sys/un.h-data: Likewise.
13260 * conform/data/sys/utsname.h-data: Likewise.
13261 * conform/data/sys/wait.h-data: Likewise.
13262 * conform/data/syslog.h-data: Likewise.
13263 * conform/data/tar.h-data: Likewise.
13264 * conform/data/termios.h-data: Likewise.
13265 * conform/data/utime.h-data: Likewise.
13266 * conform/data/utmpx.h-data: Likewise.
13267 * conform/data/varargs.h-data: Likewise.
13268 * conform/data/wchar.h-data: Likewise.
13269 * conform/data/wctype.h-data: Likewise.
13270 * conform/data/wordexp.h-data: Likewise.
13272 * include/stropts.h: New file.
13273 * include/uchar.h: New file.
13274 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13275 * include/assert.h: Likewise.
13276 * include/ctype.h: Likewise.
13277 * include/dirent.h: Likewise.
13278 * include/dlfcn.h: Likewise.
13279 * include/fcntl.h: Likewise.
13280 * include/fnmatch.h: Likewise.
13281 * include/glob.h: Likewise.
13282 * include/grp.h: Likewise.
13283 * include/libio.h: Likewise.
13284 * include/locale.h: Likewise.
13285 * include/math.h: Likewise.
13286 * include/net/if.h: Likewise.
13287 * include/netdb.h: Likewise.
13288 * include/netinet/in.h: Likewise.
13289 * include/pthread.h: Likewise.
13290 * include/pwd.h: Likewise.
13291 * include/regex.h: Likewise.
13292 * include/sched.h: Likewise.
13293 * include/search.h: Likewise.
13294 * include/setjmp.h: Likewise.
13295 * include/signal.h: Likewise.
13296 * include/stdio.h: Likewise.
13297 * include/stdlib.h: Likewise.
13298 * include/string.h: Likewise.
13299 * include/sys/cdefs.h: Likewise.
13300 * include/sys/mman.h: Likewise.
13301 * include/sys/msg.h: Likewise.
13302 * include/sys/resource.h: Likewise.
13303 * include/sys/select.h: Likewise.
13304 * include/sys/socket.h: Likewise.
13305 * include/sys/stat.h: Likewise.
13306 * include/sys/statvfs.h: Likewise.
13307 * include/sys/time.h: Likewise.
13308 * include/sys/times.h: Likewise.
13309 * include/sys/uio.h: Likewise.
13310 * include/sys/utsname.h: Likewise.
13311 * include/sys/wait.h: Likewise.
13312 * include/termios.h: Likewise.
13313 * include/time.h: Likewise.
13314 * include/ulimit.h: Likewise.
13315 * include/unistd.h: Likewise.
13316 * include/utime.h: Likewise.
13317 * include/wchar.h: Likewise.
13318 * include/wctype.h: Likewise.
13319 * include/wordexp.h: Likewise.
13321 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13323 * time/time.h: TIME_UTC must be a macro.
13324 Make timespec_get available for ISO C11 only as well.
13326 2012-02-24 Ulrich Drepper <drepper@gmail.com>
13328 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
13329 Reported by Peng Haitao <penght@cn.fujitsu.com>.
13331 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13333 * configure.in: Use -o not -a in test for unsupported multi-arch.
13335 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13337 * manual/texinfo.tex: Update to version 2012-01-19.16.
13339 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13341 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
13343 2012-02-24 Roland McGrath <roland@hack.frob.com>
13346 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
13347 * manual/fdl-1.3.texi: New file.
13348 * manual/fdl-1.1.texi: File removed.
13351 * manual/libc.texinfo (FDL_VERSION): New @set.
13352 Use it for mention of FDL in cover text.
13353 (Documentation License): Use it in @include file name.
13355 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13356 Roland McGrath <roland@hack.frob.com>
13359 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
13360 not LONG_LONG_MAX and LONG_LONG_MIN.
13361 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
13362 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
13364 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
13366 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13370 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
13371 manipulate bits before adding and subtracting TWO23[sx].
13372 * math/libm-test.inc (nearbyint_test): Add more tests.
13374 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13377 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
13378 bits before adding and subtracting TWO23[sx].
13379 * math/libm-test.inc (rint_test): Add more tests.
13380 (rint_test_tonearest): Likewise.
13381 (rint_test_towardzero): Likewise.
13382 (rint_test_downward): Likewise.
13383 (rint_test_upward: Likewise.
13385 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13388 * include/stdc-predef.h: New file. Extracted from features.h.
13389 * include/features.h: Include stdc-predef.h.
13390 * Makefile (headers): Add stdc-predef.h.
13391 * CONFORMANCE (Compiler limitations): Update.
13393 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13395 * manual/libc.texinfo (VERSION, UPDATED): Revert.
13397 2012-02-21 David S. Miller <davem@davemloft.net>
13399 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
13400 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13402 2012-02-20 David S. Miller <davem@davemloft.net>
13404 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
13405 using a normal save/restore sequence, rather than allocating a
13406 dummy stack frame just to store a frame pointer and restore.
13407 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13409 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13411 * manual/install.texi: Fix stray word in line-wrapped comment.
13413 2012-02-20 David S. Miller <davem@davemloft.net>
13415 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
13416 both binutils and gcc support GOTDATA.
13418 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
13419 "rd %pc" in the PIC register setup sequences.
13421 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
13422 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13423 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13424 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13425 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13426 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13427 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13428 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13429 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
13430 (SYSCALL_ERROR_HANDLER): Likewise.
13431 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13432 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
13434 (SYSCALL_ERROR_HANDLER): Likewise.
13436 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
13437 (HAVE_GCC_GOTDATA): New.
13438 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
13439 relocation support in both binutils and gcc.
13440 * sysdeps/sparc/elf/configure: Regenerate.
13442 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
13443 * sysdeps/sparc/sparc32/elf/configure: Delete.
13444 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
13445 * sysdeps/sparc/sparc64/elf/configure: Delete.
13446 * sysdeps/sparc/elf/configure.in: New file.
13447 * sysdeps/sparc/elf/configure: Generate.
13449 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
13450 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
13451 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13452 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
13453 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
13455 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13457 * manual/install.texi: Do not mention specific glibc version
13459 * manual/libc.texinfo (VERSION, UPDATED): Update.
13460 (@copying): Use @copyright{} and range of years.
13462 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13465 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
13466 [crti.S not in sysdirs] (generated): Do not append.
13467 [crti.S not in sysdirs] (omit-deps): Likewise.
13468 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
13469 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
13470 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
13471 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
13472 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
13474 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
13475 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
13476 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
13477 * csu/defs.awk: Remove file.
13478 * sysdeps/generic/initfini.c: Likewise.
13479 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
13481 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
13484 2012-02-20 Joseph Myers <joseph@codesourcery.com>
13486 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
13487 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
13488 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
13489 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
13490 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13491 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
13493 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
13494 (__EPOLL_PACKED): Define to empty if not defined by
13496 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
13497 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13500 2012-02-20 Joseph Myers <joseph@codesourcery.com>
13502 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
13503 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
13504 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
13505 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
13507 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
13508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13511 2012-02-20 Joseph Myers <joseph@codesourcery.com>
13513 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
13515 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13516 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13517 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
13518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13520 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
13522 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13523 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13525 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
13527 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
13528 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
13530 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
13532 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
13535 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
13537 * math/w_acos.c: Use non-signaling floating-point comparisons.
13538 * math/w_acosf.c: Likewise.
13539 * math/w_acosh.c: Likewise.
13540 * math/w_acoshf.c: Likewise.
13541 * math/w_acoshl.c: Likewise.
13542 * math/w_acosl.c: Likewise.
13543 * math/w_asin.c: Likewise.
13544 * math/w_asinf.c: Likewise.
13545 * math/w_asinl.c: Likewise.
13546 * math/w_atanh.c: Likewise.
13547 * math/w_atanhf.c: Likewise.
13548 * math/w_atanhl.c: Likewise.
13549 * math/w_exp2.c: Likewise.
13550 * math/w_exp2f.c: Likewise.
13551 * math/w_exp2l.c: Likewise.
13552 * math/w_j0.c: Likewise.
13553 * math/w_j0f.c: Likewise.
13554 * math/w_j0l.c: Likewise.
13555 * math/w_j1.c: Likewise.
13556 * math/w_j1f.c: Likewise.
13557 * math/w_j1l.c: Likewise.
13558 * math/w_jn.c: Likewise.
13559 * math/w_jnf.c: Likewise.
13560 * math/w_log.c: Likewise.
13561 * math/w_log10.c: Likewise.
13562 * math/w_log10f.c: Likewise.
13563 * math/w_log10l.c: Likewise.
13564 * math/w_log2.c: Likewise.
13565 * math/w_log2f.c: Likewise.
13566 * math/w_log2l.c: Likewise.
13567 * math/w_logf.c: Likewise.
13568 * math/w_logl.c: Likewise.
13569 * math/w_sqrt.c: Likewise.
13570 * math/w_sqrtf.c: Likewise.
13571 * math/w_sqrtl.c: Likewise.
13572 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13573 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13574 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13575 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13576 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13578 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13581 * manual/string.texi (strnlen): Use correct parameter name in
13582 equivalent expression.
13584 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13587 * manual/users.texi (seteuid): Consistently use neweuid for
13590 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13593 * manual/nss.texi (Services in the NSS configuration): Correct
13594 list of services in example configuration file.
13596 2012-02-19 Nick Bowler <nbowler@draconx.ca>
13599 * manual/arith.texi: Remove statements about negative zero
13600 behaving identically to zero.
13602 2012-02-18 Joseph Myers <joseph@codesourcery.com>
13605 * manual/install.texi: Do not document upgrading from libc5.
13607 2012-02-18 Joseph Myers <joseph@codesourcery.com>
13610 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
13612 2012-02-18 David S. Miller <davem@davemloft.net>
13614 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
13615 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
13616 %o7 across the call.
13617 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
13619 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
13620 SETUP_PIC_REG_LEAF.
13621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13622 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
13623 * sysdeps/sparc/crtn.S: Likewise.
13625 2012-02-17 Ulrich Drepper <drepper@gmail.com>
13627 * aout/Makefile: Remove.
13629 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
13632 * manual/examples/argp-ex1.c (main): Format definition in GNU
13634 * manual/examples/argp-ex2.c (main): Likewise.
13635 * manual/examples/argp-ex3.c (main): Likewise.
13636 * manual/examples/argp-ex4.c (main): Likewise.
13637 * manual/examples/longopt.c (main): Use new-style prototype
13639 * manual/examples/strncat.c (main): Specify return type and use
13640 (void) for arguments.
13641 * manual/examples/subopt.c (main): Use char **argv argument.
13643 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13646 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
13649 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
13652 * manual/string.texi (strchr): Change when strchrnul is
13655 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
13658 * manual/locale.texi (setlocale): Document LOCPATH.
13660 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13663 * manual/process.texi (execle): Move @dots{} before last argument.
13665 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
13668 * manual/charset.texi (Generic Charset Conversion): Fix typo
13669 (LC_TYPE -> LC_CTYPE).
13671 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
13674 * manual/arith.texi (scalbn): Use @var{} on parameter names.
13675 (scalbnf): Likewise.
13676 (scalbnl): Likewise.
13677 (scalbln): Likewise.
13678 (scalblnf): Likewise.
13679 (scalblnl): Likewise.
13680 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
13681 (vwarnx): Likewise.
13684 * manual/filesys.texi (telldir): Use braces around return type.
13685 * manual/llio.texi (mmap): Add space after comma.
13686 (mmap64): Likewise.
13687 * manual/math.texi (jn): Use @var{} on parameter names.
13693 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
13695 * manual/resource.texi (ulimit): Use @dots{} instead of literal
13697 (sched_get_priority_min): Remove semicolon on @deftypefun line.
13698 (sched_get_priority_max): Likewise.
13699 * manual/signal.texi (sigvec): Add space after comma.
13700 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13702 (if_indextoname): Likewise.
13703 (if_freenameindex): Likewise.
13704 (sendto): Use ',' instead of '.' in prototype.
13705 * manual/startup.texi (syscall): Use @dots{} instead of literal
13707 * manual/stdio.texi (__fpending): Separate initial words of
13708 paragraph from @deftypefun line.
13709 * manual/syslog.texi (syslog): Use @dots{} instead of literal
13711 (vsyslog): Use @var{} on parameter names.
13712 * manual/terminal.texi (stty): Use @var{} on parameter names.
13713 * manual/users.texi (getutmp): Use @var{} on parameter names.
13714 (getutmpx): Likewise.
13716 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13719 * manual/stdio.texi (fopen): Fix typos in description of
13722 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
13725 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13726 get clock_id definition.
13728 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
13731 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13732 (madvise): Cast every argument to void on its own.
13734 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13737 * manual/startup.texi (Exit Status): Fix typo.
13739 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13742 * manual/examples/argp-ex1.c: Include <stdlib.h>.
13743 * manual/examples/argp-ex2.c: Likewise.
13744 * manual/examples/argp-ex3.c: Likewise.
13746 2012-02-16 Richard Henderson <rth@redhat.com>
13748 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13749 * sysdeps/s390/s390-32/initfini.c: Remove.
13750 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13751 * sysdeps/s390/s390-64/initfini.c: Remove.
13753 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13755 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13756 compiler output for sysdeps/generic/initfini.c.
13757 * sysdeps/sh/elf/initfini.c: Remove file.
13759 2012-02-16 David S. Miller <davem@davemloft.net>
13762 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13764 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13765 * sysdeps/sparc/crti.S: New file.
13766 * sysdeps/sparc/crtn.S: New file.
13767 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13768 * sysdeps/sparc/sparc64/Makefile: Likewise.
13770 2012-02-15 Mike Frysinger <vapier@gentoo.org>
13773 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13775 2012-02-15 Roland McGrath <roland@hack.frob.com>
13778 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13780 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13781 (write, read, close): Likewise.
13782 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13784 2012-02-15 Joseph Myers <joseph@codesourcery.com>
13786 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13787 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13788 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13789 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13791 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13795 2012-02-14 Marek Polacek <polacek@redhat.com>
13797 * sysdeps/x86_64/crti.S: New file.
13798 * sysdeps/x86_64/crtn.S: New file.
13799 * sysdeps/x86_64/elf/initfini.c: Remove file.
13801 2012-02-13 Joseph Myers <joseph@codesourcery.com>
13803 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13804 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13805 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13806 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13808 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13809 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13812 2012-02-13 Joseph Myers <joseph@codesourcery.com>
13814 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13815 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13816 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13817 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13819 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13820 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13823 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13825 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13826 __feraiseexcept instead of feraiseexcept.
13828 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13829 nanosleep invocations.
13830 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13831 strings, and add error checking for a nanosleep invocations.
13833 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13835 Replace FSF snail mail address with URLs, as per GNU coding standards.
13836 Most of the snail mail addresses were wrong anyway, and omitting
13837 them makes the source code easier to maintain. Almost all of the
13838 changes are to license notices and to locale LC_IDENTIFICATION
13839 addresses, except for this one:
13840 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13841 not its snail mail address.
13843 2012-02-09 Richard Henderson <rth@twiddle.net>
13845 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13846 of kernel-features.h.
13848 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13850 2012-02-08 Marek Polacek <polacek@redhat.com>
13852 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13853 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13854 * sysdeps/gnu/_G_config.h: Likewise.
13855 * sysdeps/generic/_G_config.h: Likewise.
13857 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13859 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13863 * sysdeps/powerpc/powerpc32/crti.S: New file.
13864 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13865 * sysdeps/powerpc/powerpc64/crti.S: New file.
13866 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13868 * Makeconfig (have-initfini): Don't set.
13869 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13870 * configure.in (nopic_initfini): Don't substitute.
13871 * config.h.in (HAVE_INITFINI): Don't #undef.
13872 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13873 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13875 2012-02-08 Joseph Myers <joseph@codesourcery.com>
13877 Support crti.S and crtn.S provided directly by architectures.
13878 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13879 [crti.S in sysdirs] (omit-deps): Likewise.
13880 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13881 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13882 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13883 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13884 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13885 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13886 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13887 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13888 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13889 compiler output for sysdeps/generic/initfini.c.
13890 * sysdeps/i386/elf/Makefile: Remove file.
13891 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13893 2012-02-07 Marek Polacek <polacek@redhat.com>
13895 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13896 * sysdeps/gnu/_G_config.h: Likewise.
13897 * sysdeps/mach/hurd/_G_config.h: Likewise.
13899 2012-02-07 Marek Polacek <polacek@redhat.com>
13901 * math/Makefile (tests): Add tst-CMPLX2.
13902 * math/tst-CMPLX2.c: New file.
13904 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13906 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13908 * math/libm-test.inc (jn_test): Add missing L suffix.
13910 2012-02-06 Marek Polacek <polacek@redhat.com>
13912 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13913 * sysdeps/i386/fpu/e_powf.S: Likewise.
13914 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13915 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13916 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13917 * sysdeps/i386/fpu/e_pow.S: Likewise.
13918 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13919 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13920 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13921 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13922 * sysdeps/i386/fpu/e_log2.S: Likewise.
13923 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13924 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13925 * sysdeps/i386/fpu/e_powl.S: Likewise.
13926 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13927 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13928 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13929 * sysdeps/i386/fpu/e_logl.S: Likewise.
13930 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13931 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13932 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13933 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13934 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13935 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13936 * sysdeps/i386/fpu/e_log.S: Likewise.
13937 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13938 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13939 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13940 * sysdeps/i386/fpu/e_logf.S: Likewise.
13941 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13942 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13943 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13944 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13945 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13946 * sysdeps/i386/fpu/e_log10.S: Likewise.
13947 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13948 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13949 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13950 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13951 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13952 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13953 * sysdeps/i386/asm-syntax.h: Likewise.
13954 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13955 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13956 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13957 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13958 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13959 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13960 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13961 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13962 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13963 * sysdeps/powerpc/sysdep.h: Likewise.
13964 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13965 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13967 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13970 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13972 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13974 * sysdeps/i386/sysdep.h: Include <features.h>.
13975 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13978 2012-02-05 Joseph Myers <joseph@codesourcery.com>
13980 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13982 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13985 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13987 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13988 (SETUP_PIC_REG): Use GET_PC_THUNK.
13989 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13992 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13994 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13995 for non-PIC compilation.
13996 (SETUP_PIC_REG): Add .p2align directive.
13997 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13998 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13999 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14000 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14001 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14002 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14003 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14004 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14005 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14006 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14007 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14008 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14009 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14010 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14011 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14012 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14013 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14014 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14015 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14016 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14017 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14018 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14019 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14020 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14021 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14022 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14023 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14024 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14025 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14026 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14027 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14028 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14029 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14030 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14031 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14032 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14033 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14034 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14035 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14036 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14037 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14039 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14041 * math/tst-CMPLX.c: Include <stdio.h>.
14043 2012-01-31 Joseph Myers <joseph@codesourcery.com>
14045 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14047 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14048 * sysdeps/sparc/bits/mathdef.h: Likewise.
14050 2012-01-31 Marek Polacek <polacek@redhat.com>
14052 * libio/libio.h: Don't define _PARAMS.
14053 * locale/programs/config.h: Don't define PARAMS.
14054 * stdlib/strtol_l.c: Likewise.
14055 (__strtol_l): Remove PARAMS from the prototype.
14057 2012-01-31 Ulrich Drepper <drepper@gmail.com>
14059 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14060 names. Just use the correct names. Remove unnecessary wrapper
14062 * malloc/arena.c: Likewise.
14063 * malloc/hooks.c: Likewise.
14065 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14066 ARENA_TEST says not to. Simplify test for creation of a new arena.
14067 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14069 2012-01-30 Ulrich Drepper <drepper@gmail.com>
14071 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14073 (update_get_addr): New function.
14074 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14075 GET_ADDR_MODULE parameter.
14077 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14079 * crypt/cert.c: Remove __STDC__ conditionals.
14080 * crypt/crypt-entry.c: Likewise.
14081 * crypt/crypt_util.c: Likewise.
14082 * libio/filedoalloc.c: Likewise.
14083 * libio/fileops.c: Likewise.
14084 * libio/genops.c: Likewise.
14085 * libio/iofclose.c: Likewise.
14086 * libio/iofdopen.c: Likewise.
14087 * libio/iofopen.c: Likewise.
14088 * libio/iofopen64.c: Likewise.
14089 * libio/iogetdelim.c: Likewise.
14090 * libio/iopopen.c: Likewise.
14091 * libio/obprintf.c: Likewise.
14092 * libio/oldfileops.c: Likewise.
14093 * libio/oldiofclose.c: Likewise.
14094 * libio/oldiofdopen.c: Likewise.
14095 * libio/oldiofopen.c: Likewise.
14096 * libio/oldiopopen.c: Likewise.
14097 * libio/wfiledoalloc.c: Likewise.
14098 * libio/wgenops.c: Likewise.
14099 * locale/programs/xmalloc.c: Likewise.
14100 * misc/syslog.c: Likewise.
14101 * stdio-common/xbug.c: Likewise.
14102 * string/memchr.c: Likewise.
14103 * string/memcmp.c: Likewise.
14104 * string/memrchr.c: Likewise.
14105 * string/rawmemchr.c: Likewise.
14106 * sysdeps/posix/getcwd.c: Likewise.
14107 * time/strftime_l.c: Likewise.
14109 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14111 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
14112 * config.make.in (config-cflags-sse2avx): Define.
14113 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14116 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14118 * scripts/config.guess: Update from upstream config git repository.
14119 * scripts/config.sub: Likewise.
14121 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14123 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14125 (R_TILEPRO_*, R_TILEGX_*): New macros.
14127 * scripts/firstversions.awk: Fix bug in version range handling.
14129 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14131 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14133 * include/sys/epoll.h: New file.
14134 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14137 2012-01-28 Ulrich Drepper <drepper@gmail.com>
14139 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14140 Avoid unnecessary __WORDSIZE == 64 test.
14141 (fmaxf): Use VEX format if possible.
14146 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14147 * math/math_private.h: Remove libc_fegetround* and
14149 * sysdeps/i386/configure.in: Check for -msse2avx.
14150 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14151 also if SSE2AVX is defined.
14152 Remove libc_fegetround* and libc_fesetround*.
14153 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14154 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14155 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14157 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14158 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14159 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14160 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14161 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14163 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14165 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14167 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14169 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14171 2012-01-27 Ulrich Drepper <drepper@gmail.com>
14174 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14176 * Makeconfig (libm): Define.
14177 * elf/Makefile: Add rules to build and run tst-relsort1.
14178 * elf/tst-relsort1.c: New file.
14179 * elf/tst-relsort1mod1.c: New file.
14180 * elf/tst-relsort1mod2.c: New file.
14182 2012-01-27 Joseph Myers <joseph@codesourcery.com>
14184 * math/s_ldexp.c: Remove __STDC__ conditionals.
14185 * math/s_ldexpf.c: Likewise.
14186 * math/s_ldexpl.c: Likewise.
14187 * math/s_nextafter.c: Likewise.
14188 * math/s_nexttowardf.c: Likewise.
14189 * math/s_significand.c: Likewise.
14190 * math/s_significandf.c: Likewise.
14191 * math/s_significandl.c: Likewise.
14192 * math/w_jnl.c: Likewise.
14193 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14194 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14195 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14196 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14197 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14198 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14199 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14200 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14201 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14202 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14203 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14204 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14205 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14206 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14207 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14208 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14209 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14210 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14211 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14212 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14213 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14214 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14215 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14216 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14217 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14218 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14219 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14220 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14221 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14222 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14223 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14224 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14225 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14226 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14227 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14228 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14229 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14230 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14231 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14232 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14233 * sysdeps/ieee754/k_standard.c: Likewise.
14234 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14235 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14236 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14237 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14238 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14239 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14240 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14241 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14242 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14243 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14244 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14245 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14246 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14247 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14248 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14249 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14250 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14251 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14252 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14253 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14254 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14255 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14256 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14257 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14258 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14259 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14260 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14261 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14262 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14263 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14264 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14265 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14266 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14267 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14268 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14269 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14270 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14271 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14272 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14273 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14274 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14275 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14276 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14277 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14278 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14279 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14280 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14281 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14282 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14283 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14284 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14285 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14286 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14287 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14288 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14289 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14290 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14291 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14292 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14293 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14294 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14295 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14296 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14297 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14298 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14299 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14300 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14301 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14302 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14303 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14304 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14305 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14306 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14307 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14308 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14309 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14310 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14311 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14312 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14313 * sysdeps/ieee754/s_matherr.c: Likewise.
14314 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14315 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14316 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14317 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14319 2012-01-26 Joseph Myers <joseph@codesourcery.com>
14321 * crypt/md5.h: Remove __STDC__ conditionals.
14322 * libio/libioP.h: Likewise.
14323 * locale/programs/config.h: Likewise.
14324 * sysdeps/generic/sysdep.h: Likewise.
14325 * sysdeps/i386/asm-syntax.h: Likewise.
14326 * sysdeps/s390/asm-syntax.h: Likewise.
14327 * sysdeps/unix/sysdep.h: Likewise.
14328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14331 2012-01-26 Joseph Myers <joseph@codesourcery.com>
14333 * libio/libio.h: Remove __STDC__ conditionals.
14334 * malloc/obstack.h: Likewise.
14335 * math/complex.h: Likewise.
14336 * math/math.h: Likewise.
14337 * sysdeps/generic/_G_config.h: Likewise.
14338 * sysdeps/gnu/_G_config.h: Likewise.
14339 * sysdeps/mach/hurd/_G_config.h: Likewise.
14340 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14341 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14342 * sysdeps/sparc/bits/mathdef.h: Likewise.
14344 2012-01-26 Ulrich Drepper <drepper@gmail.com>
14347 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
14348 Clean up HAS_* macros.
14349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
14350 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
14352 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
14354 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14355 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14356 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14357 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14358 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14360 2012-01-25 Joseph Myers <joseph@codesourcery.com>
14362 * elf/tst-unique3.cc (gets): Remove declaration.
14363 * elf/tst-unique3lib.cc (gets): Likewise.
14364 * elf/tst-unique3lib2.cc (gets): Likewise.
14365 * elf/tst-unique4.cc (gets): Likewise.
14367 2012-01-24 Ulrich Drepper <drepper@gmail.com>
14369 * include/stdio.h: Add C++ protection. Add gets declarations and
14371 * debug/tst-chk1.c: Don't declare gets here.
14372 * stdio-common/tst-gets.c: Likewise.
14374 2012-01-24 Joseph Myers <joseph@codesourcery.com>
14376 * posix/glob: Remove directory.
14378 2012-01-24 Joseph Myers <joseph@codesourcery.com>
14380 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
14382 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
14384 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
14385 of the non-standard EPFNOSUPPORT.
14387 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
14389 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
14390 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
14391 ANYWHERE set to 1 only on KERN_NO_SPACE error.
14393 2012-01-21 Ulrich Drepper <drepper@gmail.com>
14395 * wcsmbs/uchar.h: Test __STDC_VERSION__.
14397 2012-01-20 Ulrich Drepper <drepper@gmail.com>
14399 * nscd/aicache.c (addhstaiX): Do not cache negative results of
14401 * nscd/grpcache.c (cache_addgr): Likewise.
14402 * nscd/hstcache.c (cache_addhst): Likewise.
14403 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14404 * nscd/pwdcache.c (cache_addpw): Likewise.
14405 * nscd/servicescache.c (cache_addserv): Likewise.
14407 2012-01-16 Ulrich Drepper <drepper@gmail.com>
14409 * malloc/malloc.c: Various cleanups.
14410 * malloc/hooks.c: Likewise.
14412 * stdlib/Makefile (tests): Add bug-fmtmsg1.
14413 * stdlib/bug-fmtmsg1.c: New file.
14415 * stdlib/fmtmsg.c (init): Add missing unlock.
14416 Patch by Peng Haitao <penght@cn.fujitsu.com>.
14418 2012-01-12 Marek Polacek <polacek@redhat.com>
14420 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
14423 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14425 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
14426 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
14427 macro to ensure uniqueness of label name.
14428 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14429 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14431 2012-01-11 Ulrich Drepper <drepper@gmail.com>
14433 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
14435 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
14436 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14437 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14438 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
14440 2012-01-10 Ulrich Drepper <drepper@gmail.com>
14442 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
14444 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
14445 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14446 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14448 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
14450 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
14451 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14452 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14453 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
14455 * math/bits/math-finite.h: Add ldexp support.
14457 2012-01-10 Marek Polacek <polacek@redhat.com>
14459 * locale/programs/localedef.h (show_archive_content): Add noreturn
14462 2012-01-09 Ulrich Drepper <drepper@gmail.com>
14464 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
14466 2012-01-08 Ulrich Drepper <drepper@gmail.com>
14468 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
14470 * io/Makefile (headers): Add bits/poll2.h.
14472 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
14474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
14475 typo #include statement.
14477 2012-01-08 Ulrich Drepper <drepper@gmail.com>
14479 * include/sys/cdefs.h: Define __attribute_alloc_size.
14480 * catgets/gencat.c: Add alloc_size attribute and apply consistently
14481 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
14482 * elf/pldd.c: Likewise.
14483 * iconv/iconv_charmap.c: Likewise.
14484 * iconv/iconvconfig.c: Likewise.
14485 * iconv/strtab.c: Likewise.
14486 * locale/programs/locale.c: Likewise.
14487 * locale/programs/localedef.h: Likewise.
14488 * locale/programs/simple-hash.c: Likewise.
14489 * nscd/nscd.h: Likewise.
14490 * nss/makedb.c: Likewise.
14491 * sysdeps/generic/ldconfig.h: Likewise.
14492 * locale/programs/localedef.c: Remove xmalloc prototype.
14493 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
14495 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14497 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
14500 2012-01-08 Ulrich Drepper <drepper@gmail.com>
14502 * math/Makefile (tests): Add tst-CMPLX.
14503 * math/tst-CMPLX.c: New file.
14505 * math/complex.h (CMPLXL): Fix typo.
14507 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
14508 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
14510 * debug/tst-chk1.c: Add poll and ppoll tests.
14511 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
14512 * include/sys/poll.h: Add hidden proto for ppoll.
14513 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
14514 * sysdeps/mach/hurd/ppoll.c: Likewise.
14515 * io/ppoll.c: Likewise.
14516 * debug/poll_chk.c: New file.
14517 * debug/ppoll_chk.c: New file.
14518 * include/bits/poll2.h: New file.
14519 * io/bits/poll2.h: New file.
14522 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
14524 * configure.in: static is always set to yes. Remove.
14525 * config.make.in: Don't set build-static.
14526 * Makeconfig: Remove use of build-static.
14527 * dlfcn/Makefile: Likewise.
14528 * elf/Makefile: Likewise.
14529 * math/Makefile: Likewise.
14530 * misc/Makefile: Likewise.
14531 * nptl/Makefile: Likewise.
14532 * sysdeps/mach/hurd/Makefile: Likewise.
14534 * configure.in: PWD_P is not used anymore.
14535 * config.make.in: Remove PWD_P entry.
14537 * configure.in: Remove last remnants of RANLIB.
14538 No need to check for signed size_t anymore.
14539 Don't set libc_commonpagesize and libc_relro_required here for Alpha
14541 Remove __builtin_expect test because we require at least gcc 3.4.
14542 * aclocal.m4: Likewise.
14544 * wcsmbs/mbrtoc16.c: Implement using towc function.
14545 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
14546 * wcsmbs/wcsmbsload.c: Likewise.
14547 * iconv/gconv_simple.c: Likewise.
14548 * iconv/gconv_int.h: Likewise.
14549 * iconv/gconv_builtin.h: Likewise.
14550 * iconv/iconv_prog.c: Remove CHAR16 handling.
14552 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
14554 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
14556 * configure.in: Remove --with-elf and --enable-bounded options.
14557 Dont set base_machine for ia64. More non-ELF conditions removed.
14558 Remove testing and setting of leading underscore information.
14559 * config.make.in (build-bounded): Set to no.
14560 * config.h.in: Remove NO_UNDERSCORES entry.
14561 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
14563 * csu/start.c: Remove !NO_UNDERSCORE code.
14564 * locale/localeinfo.h: Likewise.
14565 * sysdeps/generic/machine-gmon.h: Likewise.
14566 * sysdeps/generic/sysdep.h: Likewise.
14567 * sysdeps/i386/sysdep.h: Likewise.
14568 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14569 * sysdeps/mach/sysdep.h: Likewise.
14570 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14571 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14572 * sysdeps/sh/sysdep.h: Likewise.
14573 * sysdeps/sparc/sparc32/alloca.S: Likewise.
14574 * sysdeps/unix/i386/sysdep.S: Likewise.
14575 * sysdeps/unix/sparc/start.c: Likewise.
14576 * sysdeps/unix/sparc/sysdep.S: Likewise.
14577 * sysdeps/unix/sparc/sysdep.h: Likewise.
14578 * sysdeps/unix/start.c: Likewise.
14579 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14580 * sysdeps/x86_64/sysdep.h: Likewise.
14582 2012-01-07 Ulrich Drepper <drepper@gmail.com>
14585 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
14587 * argp/argp-fmtstream.h: Use const instead __const.
14588 * argp/argp.h: Likewise.
14589 * assert/assert.h: Likewise.
14590 * bits/fenv.h: Likewise.
14591 * bits/sched.h: Likewise.
14592 * bits/sigset.h: Likewise.
14593 * bits/sigthread.h: Likewise.
14594 * catgets/nl_types.h: Likewise.
14595 * conform/data/pthread.h-data: Likewise.
14596 * crypt/crypt-private.h: Likewise.
14597 * crypt/crypt.h: Likewise.
14598 * crypt/crypt_util.c: Likewise.
14599 * ctype/ctype.h: Likewise.
14600 * debug/execinfo.h: Likewise.
14601 * debug/mbsnrtowcs_chk.c: Likewise.
14602 * debug/mbsrtowcs_chk.c: Likewise.
14603 * debug/wcsnrtombs_chk.c: Likewise.
14604 * debug/wcsrtombs_chk.c: Likewise.
14605 * debug/wcstombs_chk.c: Likewise.
14606 * dirent/dirent.h: Likewise.
14607 * dlfcn/dlfcn.h: Likewise.
14608 * elf/neededtest4.c: Likewise.
14609 * grp/grp.h: Likewise.
14610 * gshadow/gshadow.h: Likewise.
14611 * iconv/gconv.h: Likewise.
14612 * iconv/gconv_int.h: Likewise.
14613 * iconv/gconv_simple.c: Likewise.
14614 * iconv/iconv.h: Likewise.
14615 * iconv/loop.c: Likewise.
14616 * iconv/skeleton.c: Likewise.
14617 * include/aio.h: Likewise.
14618 * include/aliases.h: Likewise.
14619 * include/argz.h: Likewise.
14620 * include/arpa/inet.h: Likewise.
14621 * include/assert.h: Likewise.
14622 * include/dirent.h: Likewise.
14623 * include/dlfcn.h: Likewise.
14624 * include/execinfo.h: Likewise.
14625 * include/fcntl.h: Likewise.
14626 * include/fenv.h: Likewise.
14627 * include/glob.h: Likewise.
14628 * include/grp.h: Likewise.
14629 * include/libintl.h: Likewise.
14630 * include/mntent.h: Likewise.
14631 * include/netdb.h: Likewise.
14632 * include/pwd.h: Likewise.
14633 * include/rpc/netdb.h: Likewise.
14634 * include/sched.h: Likewise.
14635 * include/search.h: Likewise.
14636 * include/shadow.h: Likewise.
14637 * include/signal.h: Likewise.
14638 * include/stdio.h: Likewise.
14639 * include/stdlib.h: Likewise.
14640 * include/string.h: Likewise.
14641 * include/sys/socket.h: Likewise.
14642 * include/sys/stat.h: Likewise.
14643 * include/sys/statfs.h: Likewise.
14644 * include/sys/statvfs.h: Likewise.
14645 * include/sys/syslog.h: Likewise.
14646 * include/sys/time.h: Likewise.
14647 * include/sys/uio.h: Likewise.
14648 * include/time.h: Likewise.
14649 * include/unistd.h: Likewise.
14650 * include/utmp.h: Likewise.
14651 * include/wchar.h: Likewise.
14652 * include/wctype.h: Likewise.
14653 * inet/aliases.h: Likewise.
14654 * inet/arpa/inet.h: Likewise.
14655 * inet/netinet/ether.h: Likewise.
14656 * inet/netinet/in.h: Likewise.
14657 * intl/libintl.h: Likewise.
14658 * io/bits/fcntl2.h: Likewise.
14659 * io/fcntl.h: Likewise.
14660 * io/ftw.h: Likewise.
14661 * io/sys/poll.h: Likewise.
14662 * io/sys/stat.h: Likewise.
14663 * io/sys/statfs.h: Likewise.
14664 * io/sys/statvfs.h: Likewise.
14665 * io/utime.h: Likewise.
14666 * libio/bits/stdio.h: Likewise.
14667 * libio/bits/stdio2.h: Likewise.
14668 * libio/libio.h: Likewise.
14669 * libio/libioP.h: Likewise.
14670 * libio/stdio.h: Likewise.
14671 * locale/lc-ctype.c: Likewise.
14672 * locale/locale.h: Likewise.
14673 * login/utmp.h: Likewise.
14674 * malloc/arena.c: Likewise.
14675 * malloc/malloc.c: Likewise.
14676 * malloc/malloc.h: Likewise.
14677 * malloc/mcheck.c: Likewise.
14678 * malloc/mtrace.c: Likewise.
14679 * math/bits/mathcalls.h: Likewise.
14680 * math/fenv.h: Likewise.
14681 * math/math_private.h: Likewise.
14682 * misc/bits/error.h: Likewise.
14683 * misc/bits/syslog.h: Likewise.
14684 * misc/err.h: Likewise.
14685 * misc/error.h: Likewise.
14686 * misc/fstab.h: Likewise.
14687 * misc/mntent.h: Likewise.
14688 * misc/regexp.h: Likewise.
14689 * misc/search.h: Likewise.
14690 * misc/sgtty.h: Likewise.
14691 * misc/sys/mman.h: Likewise.
14692 * misc/sys/syslog.h: Likewise.
14693 * misc/sys/uio.h: Likewise.
14694 * misc/sys/xattr.h: Likewise.
14695 * misc/ttyent.h: Likewise.
14696 * nis/rpcsvc/ypclnt.h: Likewise.
14697 * nss/nss.h: Likewise.
14698 * posix/bits/unistd.h: Likewise.
14699 * posix/fnmatch.h: Likewise.
14700 * posix/glob.h: Likewise.
14701 * posix/sched.h: Likewise.
14702 * posix/spawn.h: Likewise.
14703 * posix/sys/wait.h: Likewise.
14704 * posix/unistd.h: Likewise.
14705 * posix/wordexp.h: Likewise.
14706 * pwd/pwd.h: Likewise.
14707 * resolv/netdb.h: Likewise.
14708 * resource/sys/resource.h: Likewise.
14709 * rt/aio.h: Likewise.
14710 * rt/bits/mqueue2.h: Likewise.
14711 * rt/mqueue.h: Likewise.
14712 * shadow/shadow.h: Likewise.
14713 * signal/signal.h: Likewise.
14714 * socket/send.c: Likewise.
14715 * socket/sendto.c: Likewise.
14716 * socket/sys/socket.h: Likewise.
14717 * stdio-common/printf.h: Likewise.
14718 * stdlib/bits/stdlib.h: Likewise.
14719 * stdlib/fmtmsg.h: Likewise.
14720 * stdlib/monetary.h: Likewise.
14721 * stdlib/stdlib.h: Likewise.
14722 * stdlib/ucontext.h: Likewise.
14723 * streams/stropts.h: Likewise.
14724 * string/argz.h: Likewise.
14725 * string/bits/string2.h: Likewise.
14726 * string/string.h: Likewise.
14727 * string/strings.h: Likewise.
14728 * sunrpc/rpc/auth.h: Likewise.
14729 * sunrpc/rpc/auth_des.h: Likewise.
14730 * sunrpc/rpc/clnt.h: Likewise.
14731 * sunrpc/rpc/netdb.h: Likewise.
14732 * sunrpc/rpc/pmap_clnt.h: Likewise.
14733 * sunrpc/rpc/xdr.h: Likewise.
14734 * sysdeps/generic/inttypes.h: Likewise.
14735 * sysdeps/generic/net/if.h: Likewise.
14736 * sysdeps/generic/sys/swap.h: Likewise.
14737 * sysdeps/gnu/net/if.h: Likewise.
14738 * sysdeps/gnu/utmpx.h: Likewise.
14739 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14740 * sysdeps/i386/i486/bits/string.h: Likewise.
14741 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14742 * sysdeps/s390/bits/string.h: Likewise.
14743 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14744 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14745 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14746 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14747 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14748 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14749 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14750 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14751 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14752 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14753 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14754 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14755 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14756 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14757 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14758 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14759 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14760 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14761 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14762 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14763 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14764 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14765 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14766 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14767 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14768 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14769 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14770 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14771 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14772 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14773 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14774 * sysvipc/sys/ipc.h: Likewise.
14775 * sysvipc/sys/msg.h: Likewise.
14776 * sysvipc/sys/sem.h: Likewise.
14777 * sysvipc/sys/shm.h: Likewise.
14778 * termios/termios.h: Likewise.
14779 * time/sys/time.h: Likewise.
14780 * time/time.h: Likewise.
14781 * wcsmbs/bits/wchar2.h: Likewise.
14782 * wcsmbs/uchar.h: Likewise.
14783 * wcsmbs/wchar.h: Likewise.
14784 * wctype/wctype.h: Likewise.
14787 * Makeconfig: Remove all but ELF support including AIX support.
14788 * Makerules: Likewise.
14789 * config.h.in: Likewise.
14790 * config.make.in: Likewise.
14791 * configure: Likewise.
14792 * configure.in: Likewise.
14793 * csu/Makefile: Likewise.
14794 * csu/version.c: Likewise.
14795 * debug/Makefile: Likewise.
14796 * dlfcn/Makefile: Likewise.
14797 * elf/Makefile: Likewise.
14798 * extra-lib.mk: Likewise.
14799 * iconv/Makefile: Likewise.
14800 * include/libc-symbols.h: Likewise.
14801 * include/shlib-compat.h: Likewise.
14802 * resolv/Makefile: Likewise.
14803 * resolv/res_libc.c: Likewise.
14804 * rt/Makefile: Likewise.
14805 * sysdeps/i386/asm-syntax.h: Likewise.
14806 * sysdeps/i386/sysdep.h: Likewise.
14807 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14808 * sysdeps/mach/sysdep.h: Likewise.
14809 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14810 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14811 * sysdeps/s390/asm-syntax.h: Likewise.
14812 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14813 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14814 * sysdeps/sh/sysdep.h: Likewise.
14815 * sysdeps/unix/sparc/sysdep.h: Likewise.
14816 * sysdeps/wordsize-32/divdi3.c: Likewise.
14817 * sysdeps/x86_64/sysdep.h: Likewise.
14819 * argp/Versions: Remove _argp_unlock_xxx.
14822 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14823 * abilist/libBrokenLocale.abilist: Likewise.
14824 * abilist/libanl.abilist: Likewise.
14825 * abilist/libc.abilist: Likewise.
14826 * abilist/libcrypt.abilist: Likewise.
14827 * abilist/libdl.abilist: Likewise.
14828 * abilist/libm.abilist: Likewise.
14829 * abilist/libnsl.abilist: Likewise.
14830 * abilist/libpthread.abilist: Likewise.
14831 * abilist/libresolv.abilist: Likewise.
14832 * abilist/librt.abilist: Likewise.
14833 * abilist/libthread_db.abilist: Likewise.
14834 * abilist/libutil.abilist: Likewise.
14835 * abilist/libnss_db.abilist: New file.
14837 * scripts/abilist.awk: Add support for indirect functions.
14839 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14841 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14843 * shlib-versions: Remove entries for ports architectures.
14845 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14847 * elf/stackguard-macros.h: Remove support for IA-64.
14848 * elf/tst-auditmod1.c: Likewise.
14849 * sysdeps/generic/ldsodefs.h: Likewise.
14851 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14852 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14856 * configure.in: Remove --enable-omitfp support.
14858 * config.make.in: Likewise.
14859 * Makeconfig: Likewise.
14860 * manual/install.texi: Likewise.
14862 In case anyone cares, the IA-64 architecture could move to ports.
14863 * sysdeps/ia64/*: Removed.
14864 * sysdeps/unix/sysv/linux/ia64/*: Removed.
14865 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
14868 * configure.in: Remove entries for unsupported architectures.
14871 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14872 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14874 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14875 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14876 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14877 fall back to using wcrtomb.
14878 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14879 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14881 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14882 * wcsmbs/tst-c16c32-1.c: New file.
14884 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14887 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14889 * elf/tst-unique3.cc: Add explicit declaration of gets.
14890 * elf/tst-unique3lib.cc: Likewise.
14891 * elf/tst-unique3lib2.cc: Likewise.
14892 * elf/tst-unique4.cc: Likewise.
14894 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14896 2012-01-06 Joseph Myers <joseph@codesourcery.com>
14899 * assert/assert.h (static_assert): Don't define for C++.
14900 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14901 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14903 2012-01-03 Ulrich Drepper <drepper@gmail.com>
14905 * iconv/loop.c (single loop): Fix assertion in storing of
14908 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14910 2012-01-01 Ulrich Drepper <drepper@gmail.com>
14912 * posix/getconf.c: Update copyright year.
14913 * nss/getent.c: Likewise.
14914 * nss/makedb.c: Likewise.
14915 * iconv/iconvconfig.c: Likewise.
14916 * iconv/iconv_prog.c: Likewise.
14917 * elf/ldconfig.c: Likewise.
14918 * elf/pldd.c: Likewise.
14919 * elf/sotruss.ksh: Likewise.
14920 * catgets/gencat.c: Likewise.
14921 * csu/version.c: Likewise.
14922 * elf/ldd.bash.in: Likewise.
14923 * elf/sprof.c (print_version): Likewise.
14924 * locale/programs/locale.c: Likewise.
14925 * locale/programs/localedef.c: Likewise.
14926 * login/programs/pt_chown.c: Likewise.
14927 * nscd/nscd.c (print_version): Likewise.
14928 * debug/xtrace.sh: Likewise.
14929 * malloc/memusage.sh: Likewise.
14930 * malloc/mtrace.pl: Likewise.
14931 * debug/catchsegv.sh: Likewise.
14933 2011-12-30 Jakub Jelinek <jakub@redhat.com>
14935 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14938 2011-12-24 Ulrich Drepper <drepper@gmail.com>
14941 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14942 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14944 * iconv/gconv_int.h: Likewise.
14945 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14946 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14947 from libc for GLIBC_2.16.
14948 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14949 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14950 * wcsmbs/uchar.h: Really define mbstate_t.
14951 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14952 * wcsmbs/c16rtomb.c: New file.
14953 * wcsmbs/mbrtoc16.c: New file.
14954 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14955 for C/POSIX locale.
14956 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14957 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14959 * wcsmbs/wchar.h: Add missing __restrict.
14961 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14964 * time/Makefile (routines): Add timespec_get.
14965 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14966 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14967 timespec for ISO C11.
14968 * time/timespec_get.c: New file.
14969 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14970 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14973 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14974 * stdlib/stdlib.h: Declare aligned_alloc.
14975 * Versions.def: Add GLIBC_2.16 for libc.
14976 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14979 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14982 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
14986 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14989 * assert/assert.h (static_assert): Define.
14991 * version.h: Update for 2.16 development version.
14994 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14997 * version.h (RELEASE): Bump for 2.15 release.
14998 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15000 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15001 Patch by Marek Polacek <mpolacek@redhat.com>.
15003 * bits/byteswap.h: Protect long long constants with __extension__.
15004 * sysdeps/i386/bits/byteswap.h: Likewise.
15005 * sysdeps/ia64/bits/byteswap.h: Likewise.
15006 * sysdeps/s390/bits/byteswap.h: Likewise.
15007 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15009 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15012 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15013 destination buffer.
15014 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15016 2011-12-23 Marek Polacek <polacek@redhat.com>
15018 * elf/dl-addr.c (determine_info): Add inline keyword.
15019 * elf/tst-auditmod4b.c (check_avx): Likewise.
15020 * elf/tst-auditmod6b.c (check_avx): Likewise.
15021 * elf/tst-auditmod6c.c (check_avx): Likewise.
15022 * elf/tst-auditmod7b.c (check_avx): Likewise.
15024 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15026 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15029 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15032 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15033 processing for last bytes.
15035 2011-08-06 Bruno Haible <bruno@clisp.org>
15038 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15039 U+0385, not to U+1FEE.
15042 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15043 entry for U+00A5 U+0301.
15045 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15048 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15049 buffer for the output is too small.
15051 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15055 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15056 SSE flags if possible.
15058 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15061 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15062 processing for last bytes.
15064 2011-12-22 Joseph Myers <joseph@codesourcery.com>
15066 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15067 (syscall-list-default-options, syscall-list-default-condition)
15068 (syscall-list-includes): Define.
15069 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15070 list of ABIs and options and #if conditions for each ABI. Do not
15071 handle common syscalls between ABIs specially.
15072 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15074 (syscall-list-variants, syscall-list-32bit-options)
15075 (syscall-list-32bit-condition, syscall-list-64bit-options)
15076 (syscall-list-64bit-condition): Define.
15077 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15078 (syscall-list-variants, syscall-list-32bit-options)
15079 (syscall-list-32bit-condition, syscall-list-64bit-options)
15080 (syscall-list-64bit-condition): Define.
15081 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15083 (syscall-list-variants, syscall-list-32bit-options)
15084 (syscall-list-32bit-condition, syscall-list-64bit-options)
15085 (syscall-list-64bit-condition): Define.
15086 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15088 (syscall-list-variants, syscall-list-32bit-options)
15089 (syscall-list-32bit-condition, syscall-list-64bit-options)
15090 (syscall-list-64bit-condition): Define.
15092 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15094 * locale/iso-639.def: Add brx entry.
15097 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15098 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15100 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15101 __feraiseexcept_renamed.
15103 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15106 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15107 EPOLLET with unsigned values.
15108 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15109 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15111 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15112 to large cancellation.
15113 * math/s_cacoshf.c: Likewise.
15114 * math/s_cacoshl.c: Likewise.
15116 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15120 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15121 * math/s_cacoshf.c: Likewise.
15122 * math/s_cacoshl.c: Likewise.
15124 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15127 * iconv/gconv.h: Define __GCONV_SWAP.
15128 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15129 * iconvdata/utf-16.c: Likewise.
15130 * iconvdata/utf-32.c: Likewise.
15132 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15135 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15136 numerator after shifting it by one limb.
15138 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15140 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15141 under [__USE_EXTERN_INLINES].
15143 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15146 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15148 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15150 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15151 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15153 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15154 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15155 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15156 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15157 for strncasecmp/strncasecmp_l compilation.
15158 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15159 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15161 2011-12-08 Marek Polacek <mpolacek@redhat.com>
15164 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15167 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15170 * time/tzfile.c (__tzfile_read): Check values from file header.
15172 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15174 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15175 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15176 * powerpc/powerpc32/dl-start.S: Likewise.
15177 * powerpc/powerpc32/elf/start.S: Likewise.
15178 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15179 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15180 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15181 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15182 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15183 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15184 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15185 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15186 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15187 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15188 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15189 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15190 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15191 * powerpc/powerpc32/memset.S: Likewise.
15192 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15193 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15194 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15195 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15196 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15197 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15198 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15199 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15200 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15201 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15202 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15203 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15204 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15206 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15208 * math/libm-test.inc: Added more nearbyint tests.
15209 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15210 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15211 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15212 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15214 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15216 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15219 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15221 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15222 Add wcscpy-ssse3 wcscpy-c.
15223 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15224 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15225 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15226 * sysdeps/x86_64/wcschr.S: New file.
15227 * sysdeps/x86_64/wcsrchr.S: New file.
15228 * string/test-strcmp.c: Remove checking of wcscmp function for
15230 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15231 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15232 wcsrchr-sse2 wcsrchr-c.
15233 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15234 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15235 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15236 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15237 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15238 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15239 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15240 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15241 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15242 * wcsmbc/wcschr.c (WCSCHR): New macro.
15244 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15246 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15247 * wcsmbs/test-wcsrchr.c: New file.
15248 * string/test-strrchr.c: Add wcsrchr support.
15250 * wcsmbs/test-wcscpy.c: New file.
15251 * string/test-strcpy.c: Add wcscpy support.
15254 2011-12-10 Ulrich Drepper <drepper@gmail.com>
15256 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15259 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15262 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15264 2011-12-04 Ulrich Drepper <drepper@gmail.com>
15266 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
15267 Minor optimizations.
15269 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15270 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15271 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15273 2011-12-03 Ulrich Drepper <drepper@gmail.com>
15275 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15276 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15277 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15278 for gcc to avoid warnings.
15279 * inet/Makefile (tests): Add tst-checks.
15280 * inet/tst-checks.c: New file.
15282 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15285 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15288 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15289 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15291 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15293 2011-12-02 Ulrich Drepper <drepper@gmail.com>
15295 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15298 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15300 2011-11-29 Joseph Myers <joseph@codesourcery.com>
15302 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15303 conditional on GCC version.
15304 (__arch_compare_and_exchange_val_8_acq)
15305 (__arch_compare_and_exchange_val_16_acq)
15306 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15307 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15308 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15310 2011-12-02 Joseph Myers <joseph@codesourcery.com>
15312 * sysdeps/sh/backtrace.c: New file.
15314 2011-12-02 Andreas Schwab <schwab@redhat.com>
15316 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
15319 2011-12-01 Andreas Schwab <schwab@redhat.com>
15321 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15322 falling back to utime.
15324 2011-11-30 Andreas Schwab <schwab@redhat.com>
15326 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
15327 expectations for float.
15329 2011-11-29 Andreas Schwab <schwab@redhat.com>
15331 * locale/weight.h (findidx): Add parameter len.
15332 * locale/weightwc.h (findidx): Likewise.
15333 * posix/fnmatch_loop.c (FCT): Adjust caller.
15334 * posix/regcomp.c (build_equiv_class): Likewise.
15335 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
15336 * posix/regexec.c (check_node_accept_bytes): Likewise.
15337 * string/strcoll_l.c (STRCOLL): Likewise.
15338 * string/strxfrm_l.c (STRXFRM): Likewise.
15340 2011-11-17 Ulrich Drepper <drepper@gmail.com>
15342 * Makefile.in: Remove CVSOPT handling.
15343 * configure.in: Remove use of AC_REVISION.
15344 * iconvdata/Makefile (distribute): No need to filter out CVS.
15345 * scripts/list-sources.sh: Remove CVS, subversion and monotone
15348 2011-11-16 Andreas Schwab <schwab@redhat.com>
15350 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
15351 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
15352 [USE_AS_STRNCASECMP_L]: Likewise.
15353 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
15354 NO_TLS_DIRECT_SEG_REFS.
15355 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
15356 Fix argument offsets for non-PIC.
15357 [USE_AS_STRNCASECMP_L]: Likewise.
15358 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
15359 NO_TLS_DIRECT_SEG_REFS.
15361 2011-11-15 Ulrich Drepper <drepper@gmail.com>
15363 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
15365 * locale/loadlocale.c (_nl_load_locale): Likewise.
15367 2011-11-15 Andreas Schwab <schwab@redhat.com>
15369 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
15370 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
15371 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
15372 (SYSCALL_GETTIME): Set errno on error.
15374 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
15375 count references to noai6ai_cached.
15377 2011-11-15 Ulrich Drepper <drepper@gmail.com>
15379 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
15381 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
15382 FD_CLOEXEC for /proc/self/maps.
15384 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
15385 FD_CLOEXEC for /proc/meminfo.
15387 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
15390 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
15391 FD_CLOEXEC for given file.
15393 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
15395 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
15396 FD_CLOEXEC for /etc/hosts.
15397 (_gethtent): Likewise.
15399 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
15401 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
15402 cancellation and set FD_CLOEXEC for /etc/netgroup.
15404 * nss/nss_files/files-key.c (search): Don't allow cancellation when
15405 reading /etc/publickey.
15407 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
15408 allow cancellation when reading /etc/group.
15410 * nss/nss_files/files-alias.c (internal_setent): Don't allow
15412 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
15414 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
15415 when using data file.
15417 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
15419 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
15420 (write_nis_obj): Use "c" and "e" in fopen.
15422 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
15424 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
15426 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
15428 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
15430 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
15433 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
15435 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
15437 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
15439 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
15440 file parsing and set FD_CLOEXEC.
15442 2011-11-14 Ulrich Drepper <drepper@gmail.com>
15444 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
15446 2011-11-14 Andreas Schwab <schwab@redhat.com>
15448 * malloc/arena.c (arena_get2): Don't call reused_arena when
15449 _int_new_arena failed.
15451 2011-11-14 Ulrich Drepper <drepper@gmail.com>
15453 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
15454 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
15455 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
15456 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15457 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15458 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
15459 to compile strcasecmp and strncasecmp.
15460 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
15461 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
15463 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
15465 2011-11-13 Ulrich Drepper <drepper@gmail.com>
15467 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
15468 locale-defines.sym to gen-as-const-headers.
15469 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
15470 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
15471 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
15472 to compile strcasecmp and strncasecmp.
15473 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
15474 strcasecmp_l and strncasecmp_l.
15475 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
15476 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
15477 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
15478 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
15479 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
15480 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
15481 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
15482 * sysdeps/i386/i686/multiarch/strncase.S: New file.
15483 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
15484 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
15485 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
15487 2011-11-12 Ulrich Drepper <drepper@gmail.com>
15489 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
15490 result of SYSDEP_GETTIME_CPU to retval.
15491 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
15492 parameter list to macro. Remove trailing semicolon. Adjust users.
15494 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
15497 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
15499 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15501 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
15502 from unused variable.
15504 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
15506 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
15509 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
15512 * sunrpc/rpc_prot.c (rejected): Fix case value.
15514 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
15515 unsigned long long int to avoid warnings in shift.
15517 * posix/regex_internal.c (re_string_reconstruct): Actually use result
15519 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
15522 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
15523 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15524 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15526 * nis/nis_table.c (nis_list): Use variable of correct type for
15527 result of __follow_path call.
15529 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15531 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
15532 of math functions ceil, trunc, floor, round, and sqrt, when
15533 avaliable on the platform.
15534 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
15536 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15537 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15538 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15540 2011-10-30 Marek Polacek <mpolacek@redhat.com>
15542 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
15543 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15545 2011-11-11 Roland McGrath <roland@hack.frob.com>
15547 * include/unistd.h: Fix __readlink return type.
15548 Reported by Chris Metcalf <cmetcalf@tilera.com>.
15550 2011-11-11 Ulrich Drepper <drepper@gmail.com>
15552 * stdlib/ucontext.h: Undo last change for makecontext.
15554 2011-11-11 Andreas Schwab <schwab@redhat.com>
15556 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
15558 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
15559 * setjmp/setjmp.h: Mark functions as non-leaf.
15560 * setjmp/bits/setjmp2.h: Likewise.
15561 * stdlib/ucontext.h: Likewise.
15563 2011-11-10 Andreas Schwab <schwab@redhat.com>
15565 * malloc/arena.c (_int_new_arena): Don't increment narenas.
15566 (reused_arena): Don't check arena limit.
15567 (arena_get2): Atomically check arena limit.
15569 2011-11-08 Ulrich Drepper <drepper@gmail.com>
15571 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
15572 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
15574 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
15577 2011-11-07 Andreas Schwab <schwab@redhat.com>
15579 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
15580 handler when locking.
15582 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15583 Fix size of allocated buffer.
15585 2011-11-04 Andreas Schwab <schwab@redhat.com>
15588 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
15589 declarations for long double functions.
15590 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
15592 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
15594 2011-11-03 Andreas Schwab <schwab@redhat.com>
15596 * nscd/nscd.c (main): Don't start AVC thread until credentials are
15599 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
15602 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15604 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
15606 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
15608 * include/alloca.h (stackinfo_alloca_round): Define.
15609 (extend_alloca): Use it.
15610 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
15611 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
15614 * scripts/check-local-headers.sh: Ignore libaudit.h.
15616 * nscd/Makefile (extra-objs): Make recursively expanded.
15618 2011-11-01 Ulrich Drepper <drepper@gmail.com>
15620 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
15621 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15623 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
15624 * posix/tst-rfc3484-2.c: Likewise.
15625 * posix/tst-rfc3484-3.c: Likewise.
15627 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15629 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
15631 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
15632 process_vm_writev from libc using GLIBC_2.15 version.
15634 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
15636 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
15638 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
15641 2011-10-31 Ulrich Drepper <drepper@gmail.com>
15644 * nss/getent.c (initgroups_keys): Show error message in case no group
15647 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
15648 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
15649 __bump_nl_timestamp.
15650 * nscd/connections (nscd_init): When host database is served open
15651 netlink socket and request notification about configuration changes.
15652 (main_loop_poll): Track netlink file descriptor and bump timestamp
15653 in case data becomes available.
15654 (main_loop_epoll): Likewise.
15655 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
15656 (database_pers_head): Add extra_data fileds.
15657 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
15658 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
15659 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
15661 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
15662 in6ai data, call __free_in6ai.
15663 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
15664 Add -DHAVE_NETLINK.
15665 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
15666 interface information. Reuse previous data if netlink timestamp
15668 (__bump_nl_timestamp): New function.
15669 (__free_in6ai): New function.
15671 2011-10-30 Ulrich Drepper <drepper@gmail.com>
15673 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
15674 close_not_cancel_no_status here.
15675 (__check_pf): Reorganize code a bit to not call close twice if OOM.
15677 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15680 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
15683 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
15684 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
15685 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
15687 2011-07-03 Andreas Jaeger <aj@suse.de>
15690 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
15691 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
15692 * math/libm-test.inc (sin_test): Add test case.
15694 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15697 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15698 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15700 * elf/chroot_canon.c (chroot_canon): Cleanups.
15702 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15705 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15706 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15708 * string/test-strchr.c: Make usable for strchrnul testing.
15709 * string/test-strchrnul.c: New file.
15710 * string/Makefile (strop-tests): Add strchrnul.
15712 * po/it.po: Update from translation team.
15713 * po/es.po: Likewise.
15715 2011-10-28 Ulrich Drepper <drepper@gmail.com>
15717 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15718 the three constants needed as parameters. Drop the others.
15719 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15720 __m128i_strloadu_tolower.
15721 Create and initialize variable zero and use it in all the places
15722 where _mm_setzero_si128 was used.
15724 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15725 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15726 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15727 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15729 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15730 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15731 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15732 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15733 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15734 __mpranred, __mptan.
15735 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15736 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15737 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15738 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15739 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15740 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15741 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15742 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15743 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15745 2011-10-28 Andreas Schwab <schwab@redhat.com>
15747 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15748 redefine if SHARED.
15749 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15752 wide char related routines to wcsmbs subdir.
15754 2011-10-27 Andreas Schwab <schwab@redhat.com>
15757 * misc/sys/cdefs.h (__THROWNL): Define.
15758 * posix/unistd.h: Use __THREADNL instead of __THREAD
15759 for memory synchronization functions.
15761 2011-10-26 Roland McGrath <roland@hack.frob.com>
15764 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15766 * manual/stdio.texi (Obstack Streams): Node removed.
15768 2011-10-26 Andreas Schwab <schwab@redhat.com>
15770 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15771 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15772 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15774 * math/math_private.h (math_force_eval): Allow non-addressable
15776 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15778 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15780 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15781 file is not needed.
15783 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15784 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15785 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15786 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15787 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15788 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15789 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15790 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15792 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15793 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15794 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15795 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15796 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15797 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15798 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15799 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15800 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15801 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15802 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15803 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15804 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15805 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15806 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15807 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15808 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15809 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15810 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15812 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15813 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15815 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15816 place. Use VEX encoding when compiling for AVX.
15818 2011-10-25 Andreas Schwab <schwab@redhat.com>
15820 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15821 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15823 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15825 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15827 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
15828 useless if() expression.
15829 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15830 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15831 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15832 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15833 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15834 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15835 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15836 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15837 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15838 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15839 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15840 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15841 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15842 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15843 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15844 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15845 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15846 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15847 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15849 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15851 2011-10-25 Andreas Schwab <schwab@redhat.com>
15853 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15855 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15857 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15859 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15860 .text section. Avoid duplicate constants.
15861 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15862 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15863 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15864 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15865 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15866 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15867 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15868 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15869 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15870 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15871 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15872 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15873 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15874 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15875 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15876 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15877 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15878 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15879 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15880 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15881 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15882 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15883 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15884 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15885 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15886 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15887 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15888 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15889 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15890 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15891 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15892 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15893 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15894 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15895 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15896 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15897 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15898 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15899 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15900 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15901 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15902 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15903 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15904 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15905 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15907 2011-10-24 Ulrich Drepper <drepper@gmail.com>
15909 * sysdeps/x86_64/dla.h: Move to ...
15910 * sysdeps/x86_64/fpu/dla.h: ...here.
15911 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15912 situations. Use __builtin_fma only for gcc 4.6 and up.
15914 * config.make.in: Add have-mfma4 entry.
15915 * configure.in: Substitute libc_cv_cc_fma4.
15916 * math/Makefile (dbl-only-routines): Add sincostab.
15917 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15918 Use __sincostab not sincos.
15919 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15921 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15922 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15923 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15924 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15926 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15927 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15928 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15929 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15931 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15932 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15934 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15935 define aliases when function name is a macro.
15936 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15937 sysdeps/ieee754/dbl-64/sincos.tbl.
15938 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15939 fma4-enabled routines.
15940 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15941 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15942 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15943 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15944 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15945 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15946 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15947 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15948 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15949 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15950 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15951 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15952 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15953 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15954 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15955 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15956 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15957 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15958 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15959 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15960 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15961 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15962 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15963 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15964 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15965 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15966 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15967 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15968 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15969 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15971 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15973 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15974 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15975 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15976 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15977 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15978 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15979 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15980 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15982 2011-10-24 Andreas Schwab <schwab@redhat.com>
15984 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15986 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15988 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15990 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15992 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15994 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15995 Remove unused variable magic_bits.
15996 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15998 * string/strnlen.c: Define and use STRNLEN macro.
15999 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16000 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16001 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16002 * wcsmbs/wcslen.c: Define and use WCSLEN.
16003 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16004 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16005 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16006 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16007 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16008 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16009 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16011 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16014 strnlen-sse2-no-bsf.
16015 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16016 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16017 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16018 Add strnlen support.
16019 (USE_AS_STRNLEN): New macro.
16020 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16021 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16022 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16023 * sysdeps/x86_64/wcslen.S: New file.
16025 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16027 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16028 XMM-moves are used for copying on small sizes.
16030 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16032 * wcsmbs/Makefile (strop-tests): Add wcschr.
16033 * wcsmbs/test-wcschr.c: New file.
16034 * string/test-strchr.c: Update.
16035 Add wcschr support.
16038 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16040 * wcsmbs/Makefile (strop-tests): Add wcslen.
16041 * wcsmbs/test-wcslen.c: New file.
16042 * string/test-strlen.c: Update.
16043 Add wcslen support.
16046 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16048 * po/it.po: Update from translation team.
16050 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16052 * sysdeps/x86_64/wcscmp.S: Update.
16053 Fix wrong comparison semantics.
16054 wcscmp shall use signed comparison not unsigned.
16055 Don't use substraction to avoid overflow bug.
16056 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16057 * wcsmbc/wcscmp.c: Likewise.
16058 * string/test-strcmp.c: Likewise.
16059 Add new tests to check cases with negative values.
16061 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16063 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16064 * sysdeps/x86_64/dla.h: ...here. New file.
16065 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16066 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16067 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16068 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16070 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16071 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16072 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16073 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16075 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16077 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16078 __ynl_finite aliases.
16080 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16084 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16086 [DLA_FMA] (EMULV): Use DLA_FMA.
16087 [DLA_FMA] (MUL12): Use EMULV.
16088 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16089 that are not needed.
16090 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16091 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16092 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16093 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16094 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16095 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16096 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16098 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16100 * math/s_nan.c: Undef __nan.
16101 * math/s_nanf.c: Undef __nanf.
16102 * math/s_nanl.c: Undef __nanl.
16103 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16106 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16108 * math/s_catan.c: Add branch predictions.
16109 * math/s_catanf.c: Likewise.
16110 * math/s_catanh.c: Likewise.
16111 * math/s_catanhf.c: Likewise.
16112 * math/s_catanhl.c: Likewise.
16113 * math/s_catanl.c: Likewise.
16114 * math/s_cexp.c: Likewise.
16115 * math/s_cexpf.c: Likewise.
16116 * math/s_cexpl.c: Likewise.
16117 * math/s_clog.c: Likewise.
16118 * math/s_clog10.c: Likewise.
16119 * math/s_clog10f.c: Likewise.
16120 * math/s_clog10l.c: Likewise.
16121 * math/s_clogf.c: Likewise.
16122 * math/s_clogl.c: Likewise.
16123 * math/s_csqrt.c: Likewise.
16124 * math/s_csqrtf.c: Likewise.
16125 * math/s_csqrtl.c: Likewise.
16126 * math/s_ctanf.c: Likewise.
16127 * math/s_ctanh.c: Likewise.
16128 * math/s_ctanhf.c: Likewise.
16129 * math/s_ctanhl.c: Likewise.
16130 * math/s_ctanl.c: Likewise.
16132 * math/math_private.h: Define __nan, __nanf, __nanl.
16133 * math/s_cacosh.c: Include <math_private.h>.
16134 * math/s_cacoshl.c: Likewise.
16135 * math/s_casinh.c: Likewise.
16136 * math/s_casinhf.c: Likewise.
16137 * math/s_casinhl.c: Likewise.
16138 * math/s_ccos.c: Rely entire on ccosh.
16139 * math/s_ccosf.c: Rely entire on ccoshf.
16140 * math/s_ccosl.c: Rely entirely on ccoshl.
16141 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16142 Remove tests for FE_INVALID.
16143 * math/s_ccoshf.c: Likewise.
16144 * math/s_ccoshl.c: Likewise.
16145 * math/s_csin.c: Likewise.
16146 * math/s_csinf.c: Likewise.
16147 * math/s_csinh.c Likewise.
16148 * math/s_csinhf.c: Likewise.
16149 * math/s_csinhl.c: Likewise.
16150 * math/s_csinl.c: Likewise.
16151 * math/s_ctan.c: Likewise.
16152 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16153 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16154 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16156 2011-10-21 Ulrich Drepper <drepper@gmail.com>
16158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16159 compilation problems.
16161 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16164 2011-10-20 Ulrich Drepper <drepper@gmail.com>
16166 * sysdeps/i386/configure.in: Test for -mfma4 option.
16167 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16168 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16169 COMMON_CPUID_INDEX_80000001.
16170 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16171 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16172 use it if FMA3 is not supported.
16173 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16175 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16176 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16178 2011-10-20 Andreas Schwab <schwab@redhat.com>
16181 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16182 it would create a cycle with a link time dependency.
16184 2011-10-19 Ulrich Drepper <drepper@gmail.com>
16186 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16188 * string/Makefile (strop-tests): Add rawmemchr.
16189 * string/test-rawmemchr.c: New file.
16191 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16192 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16193 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16194 when compiling str{,n}casecmp and when AVX is available. Hook up
16195 new optimized code in initializers.
16197 2011-10-19 Andreas Schwab <schwab@redhat.com>
16199 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16200 __feraiseexcept instead of feraiseexcept.
16202 2011-10-18 Ulrich Drepper <drepper@gmail.com>
16204 * math/math_private.h: Define defaults for libc_fetestexcept and
16206 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16207 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16208 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16209 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16210 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16211 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16212 libc_fetestexcept and libc_feupdateenv.
16214 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16215 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16216 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16217 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16218 libc_feholdexcept_setround.
16220 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16221 Add s_nearbyint-c and s_nearbyintf-c.
16222 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16223 nearbyintf inlines.
16224 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16225 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16226 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16227 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16229 * math/math_private.h: Define defaults for libc_fegetround,
16230 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16231 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16232 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16233 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16234 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16235 standard functions.
16236 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16237 Remove comments and hacks for old compiler versions.
16238 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16239 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16240 libc_feholdexceptl.
16242 2011-10-18 Andreas Schwab <schwab@redhat.com>
16244 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
16245 (__feraiseexcept_renamed): Add __NTH.
16246 (feraiseexcept): Add __NTH. Rename local variables to fix
16247 namespace violations.
16249 2011-10-17 Ulrich Drepper <drepper@gmail.com>
16251 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16253 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16255 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16256 recently added interfaces.
16257 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16259 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16260 about macro parameter expansion.
16262 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16263 __NO_MATH_INLINES is defined. Cleanups.
16265 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16266 and __floorf is target has SSE4.1.
16267 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16268 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16269 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16270 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16272 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16274 (floorf): Likewise.
16276 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16278 2011-10-17 Andreas Schwab <schwab@redhat.com>
16280 * misc/sys/cdefs.h: Fix last change.
16282 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16285 2011-10-16 Ulrich Drepper <drepper@gmail.com>
16287 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16289 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16290 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16291 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16292 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16293 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16294 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16295 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16296 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16297 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16298 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16299 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16300 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16301 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16302 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16303 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16304 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16305 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16306 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16307 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16308 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16309 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16310 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16312 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16313 ceil, ceilf, floor, floorf.
16315 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16316 Perform IRELATIVE relocations last.
16318 * elf/do-rel.h: Add another parameter nrelative, replacing the
16319 local variable with the same name. Change name of the function
16320 to end in Rel or Rela (uppercase).
16321 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16322 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
16323 elf_dynamic_do_##reloc function.
16325 2011-10-15 Ulrich Drepper <drepper@gmail.com>
16327 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
16328 is sufficient, at least on modern CPUs.
16330 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
16332 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
16333 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
16335 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
16337 * math/bits/math-finite.h: Add entries for exp.
16338 * math/e_expl.c: Add __*_finite alias.
16339 * sysdeps/i386/fpu/e_exp.S: Likewise.
16340 * sysdeps/i386/fpu/e_expf.S: Likewise.
16341 * sysdeps/i386/fpu/e_expl.c: Likewise.
16342 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16343 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16344 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16345 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16346 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
16347 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16348 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16350 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
16351 is sufficient, at least on modern CPUs.
16353 * ctype/ctype-info.c (__ctype_init): Define.
16354 * include/ctype.h (__ctype_init): Declare.
16355 (__ctype_b_loc): The variable is always initialized.
16356 (__ctype_toupper_loc): Likewise.
16357 (__ctype_tolower_loc): Likewise.
16358 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
16359 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
16361 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
16363 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
16365 * configure.in: Also look in $cxxmachine/include for C++ system
16368 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16370 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
16371 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
16372 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
16373 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
16374 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
16375 (USE_AS_WMEMCMP): New macro.
16377 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
16378 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
16379 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
16380 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
16381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16382 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
16383 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
16384 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
16385 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
16386 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
16387 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
16388 (USE_AS_WMEMCMP): New macro.
16389 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
16390 * sysdeps/string/test-memcmp.c: Update.
16391 Fix simple_wmemcmp.
16393 * wcsmbs/wmemcmp.c: Update.
16394 (WMEMCMP): New macro.
16397 2011-10-12 Andreas Jaeger <aj@suse.de>
16400 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
16402 2011-10-15 Ulrich Drepper <drepper@gmail.com>
16404 * libio/iofwide.c (do_length): Avoid warning.
16406 * ctype/ctype.h (__isctype_f): Add missing __THROW.
16408 2011-10-14 Ulrich Drepper <drepper@gmail.com>
16410 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
16412 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
16413 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
16414 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
16415 * sysdeps/i386/i686/fpu/e_log.S: New file.
16416 * sysdeps/i386/i686/fpu/e_logf.S: New file.
16417 * sysdeps/i386/i686/fpu/e_logl.S: New file.
16419 * ctype/ctype.h: Add support for inlined isXXX functions when
16420 compiling C++ code.
16422 2011-10-14 Andreas Schwab <schwab@redhat.com>
16424 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16426 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
16428 2011-10-13 Roland McGrath <roland@hack.frob.com>
16431 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
16433 2011-10-13 Andreas Schwab <schwab@redhat.com>
16435 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
16436 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
16439 * sysdeps/x86_64/memrchr.S: Check for zero size.
16441 * string/stratcliff.c: Add memrchr tests.
16443 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16446 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
16447 rawmemchr-sse2 rawmemchr-sse2-bsf.
16448 * sysdeps/i386/i686/multiarch/memchr.S: New file.
16449 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
16450 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
16451 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
16452 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
16453 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
16454 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
16455 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
16456 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
16457 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
16458 * string/memrchr.c (MEMRCHR): New macro.
16460 2011-10-12 Ulrich Drepper <drepper@gmail.com>
16462 Add integration with gcc's -ffinite-math-only and optimize wrapper
16464 * Versions.def: Define GLIBC_2.15 version for libm.
16465 * math/Makefile (headers): Add bits/math-finite.h.
16466 * math/bits/math-finite.h: New file.
16467 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
16468 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
16469 * math/e_acoshl.c: Add __*_finite alias.
16470 * math/e_acosl.c: Likewise.
16471 * math/e_asinl.c: Likewise.
16472 * math/e_atan2l.c: Likewise.
16473 * math/e_atanhl.c: Likewise.
16474 * math/e_coshl.c: Likewise.
16475 * math/e_exp10.c: Likewise.
16476 * math/e_exp10f.c: Likewise.
16477 * math/e_exp10l.c: Likewise.
16478 * math/e_exp2l.c: Likewise.
16479 * math/e_fmodl.c: Likewise.
16480 * math/e_gammal_r.c: Likewise.
16481 * math/e_hypotl.c: Likewise.
16482 * math/e_j0l.c: Likewise.
16483 * math/e_j1l.c: Likewise.
16484 * math/e_jnl.c: Likewise.
16485 * math/e_lgammal_r.c: Likewise.
16486 * math/e_log10l.c: Likewise.
16487 * math/e_log2l.c: Likewise.
16488 * math/e_logl.c: Likewise.
16489 * math/e_powl.c: Likewise.
16490 * math/e_sinhl.c: Likewise.
16491 * math/e_sqrtl.c: Likewise.
16492 * math/e_scalb.c: Completely rewritten and optimized.
16493 * math/e_scalbf.c: Likewise.
16494 * math/e_scalbl.c: Likewise.
16495 * math/w_acos.c: Likewise.
16496 * math/w_acosf.c: Likewise.
16497 * math/w_acosl.c: Likewise.
16498 * math/w_acosh.c: Likewise.
16499 * math/w_acoshf.c: Likewise.
16500 * math/w_acoshl.c: Likewise.
16501 * math/w_asin.c: Likewise.
16502 * math/w_asinf.c: Likewise.
16503 * math/w_asinl.c: Likewise.
16504 * math/w_atan2.c: Likewise.
16505 * math/w_atan2f.c: Likewise.
16506 * math/w_atan2l.c: Likewise.
16507 * math/w_atanh.c: Likewise.
16508 * math/w_atanhf.c: Likewise.
16509 * math/w_atanhl.c: Likewise.
16510 * math/w_exp10.c: Likewise.
16511 * math/w_exp10f.c: Likewise.
16512 * math/w_exp10l.c: Likewise.
16513 * math/w_fmod.c: Likewise.
16514 * math/w_fmodf.c: Likewise.
16515 * math/w_fmodl.c: Likewise.
16516 * math/w_j0.c: Likewise.
16517 * math/w_j0f.c: Likewise.
16518 * math/w_j0l.c: Likewise.
16519 * math/w_j1.c: Likewise.
16520 * math/w_j1f.c: Likewise.
16521 * math/w_j1l.c: Likewise.
16522 * math/w_jn.c: Likewise.
16523 * math/w_jnf.c: Likewise.
16524 * math/w_log.c: Likewise.
16525 * math/w_logf.c: Likewise.
16526 * math/w_logl.c: Likewise.
16527 * math/w_log10.c: Likewise.
16528 * math/w_log10f.c: Likewise.
16529 * math/w_log10l.c: Likewise.
16530 * math/w_log2.c: Likewise.
16531 * math/w_log2f.c: Likewise.
16532 * math/w_log2l.c: Likewise.
16533 * math/w_pow.c: Likewise.
16534 * math/w_powf.c: Likewise.
16535 * math/w_powl.c: Likewise.
16536 * math/w_remainder.c: Likewise.
16537 * math/w_remainderf.c: Likewise.
16538 * math/w_remainderl.c: Likewise.
16539 * math/w_scalb.c: Likewise.
16540 * math/w_scalbf.c: Likewise.
16541 * math/w_scalbl.c: Likewise.
16542 * math/w_sqrt.c: Likewise.
16543 * math/w_sqrtf.c: Likewise.
16544 * math/w_sqrtl.c: Likewise.
16545 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
16546 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
16548 * math/math_private.h: Declare __kernel_standard_f.
16549 * math/w_cosh.c: Remove cruft and optimize a bit.
16550 * math/w_coshf.c: Likewise.
16551 * math/w_coshl.c: Likewise.
16552 * math/w_exp2.c: Likewise.
16553 * math/w_exp2f.c: Likewise.
16554 * math/w_exp2l.c: Likewise.
16555 * math/w_hypot.c: Likewise.
16556 * math/w_hypotf.c: Likewise.
16557 * math/w_hypotl.c: Likewise.
16558 * math/w_lgamma.c: Likewise.
16559 * math/w_lgamma_r.c: Likewise.
16560 * math/w_lgammaf.c: Likewise.
16561 * math/w_lgammaf_r.c: Likewise.
16562 * math/w_lgammal.c: Likewise.
16563 * math/w_lgammal_r.c: Likewise.
16564 * math/w_sinh.c: Likewise.
16565 * math/w_sinhf.c: Likewise.
16566 * math/w_sinhl.c: Likewise.
16567 * math/w_tgamma.c: Likewise.
16568 * math/w_tgammaf.c: Likewise.
16569 * math/w_tgammal.c: Likewise.
16570 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16571 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16572 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
16573 Minor optimizations. Pretty printing. Remove cruft.
16574 * sysdeps/i386/fpu/e_acosf.S: Likewise.
16575 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16576 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16577 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16578 * sysdeps/i386/fpu/e_acosl.c: Likewise.
16579 * sysdeps/i386/fpu/e_asin.S: Likewise.
16580 * sysdeps/i386/fpu/e_asinf.S: Likewise.
16581 * sysdeps/i386/fpu/e_atan2.S: Likewise.
16582 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
16583 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
16584 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16585 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16586 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16587 * sysdeps/i386/fpu/e_exp10.S: Likewise.
16588 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
16589 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
16590 * sysdeps/i386/fpu/e_exp2.S: Likewise.
16591 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
16592 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
16593 * sysdeps/i386/fpu/e_fmod.S: Likewise.
16594 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
16595 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
16596 * sysdeps/i386/fpu/e_hypot.S: Likewise.
16597 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
16598 * sysdeps/i386/fpu/e_log.S: Likewise.
16599 * sysdeps/i386/fpu/e_log10.S: Likewise.
16600 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16601 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16602 * sysdeps/i386/fpu/e_log2.S: Likewise.
16603 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16604 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16605 * sysdeps/i386/fpu/e_logf.S: Likewise.
16606 * sysdeps/i386/fpu/e_logl.S: Likewise.
16607 * sysdeps/i386/fpu/e_pow.S: Likewise.
16608 * sysdeps/i386/fpu/e_powf.S: Likewise.
16609 * sysdeps/i386/fpu/e_powl.S: Likewise.
16610 * sysdeps/i386/fpu/e_remainder.S: Likewise.
16611 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
16612 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
16613 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16614 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16615 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16616 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
16617 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
16618 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16620 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16622 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16623 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16624 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16625 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16626 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16627 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16628 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16631 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16632 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16633 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16634 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16635 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16636 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16637 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16638 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16639 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16640 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16641 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16642 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16643 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16644 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16645 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16646 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16647 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16648 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16649 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16650 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16651 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16652 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16653 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16654 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16655 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16656 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16657 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16658 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16659 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16660 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16661 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16662 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16663 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16664 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16665 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16666 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16667 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16668 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16669 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16670 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16671 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16672 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16673 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16674 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16675 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16676 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16677 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16678 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16679 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16680 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16681 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16682 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16683 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16684 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16685 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16686 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16687 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16688 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16689 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16690 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16691 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16692 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16693 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16694 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16695 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16696 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16697 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16698 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16699 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16700 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16701 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16702 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16703 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16704 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16705 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16706 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16707 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16708 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16709 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16710 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16711 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16712 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16713 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16714 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16715 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16716 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16717 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16718 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16719 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16720 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16721 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16722 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16723 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16724 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16725 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16726 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16727 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16728 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16729 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
16730 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16731 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16732 (__isnanf): Likewise.
16733 (__isinf_ns): Likewise.
16734 (__isinf_nsf): Likewise.
16735 (__finite): Likewise.
16736 (__finitef): Likewise.
16737 (__ieee754_sqrt): Define as macro.
16738 (__ieee754_sqrtf): Define as macro.
16739 (__ieee754_sqrtl): Define as macro.
16740 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16742 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16743 __FINITE_MATH_ONLY__ consistent.
16744 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16746 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
16748 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16751 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16753 2011-10-09 Ulrich Drepper <drepper@gmail.com>
16755 * po/ja.po: Update from translation team.
16757 2011-10-08 Roland McGrath <roland@hack.frob.com>
16759 * locale/programs/locarchive.c (prepare_address_space): New function.
16760 (create_archive, enlarge_archive, open_archive): Use it.
16762 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16763 inside [SHARED], where it is used.
16765 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16767 * nss/getent.c (netgroup_keys): Remove unused variable.
16768 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16770 2011-10-08 Ulrich Drepper <drepper@gmail.com>
16772 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16773 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16774 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16775 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16776 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16777 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16778 * math/Makefile (libm-calls): Add s_isinf_ns.
16779 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16780 * math/multc3.c: Likewise.
16781 * math/s_casin.c: Likewise.
16782 * math/s_casinf.c: Likewise.
16783 * math/s_casinl.c: Likewise.
16784 * math/s_ccos.c: Likewise.
16785 * math/s_ccosf.c: Likewise.
16786 * math/s_ccosl.c: Likewise.
16787 * math/s_ctan.c: Likewise.
16788 * math/s_ctanf.c: Likewise.
16789 * math/s_ctanh.c: Likewise.
16790 * math/s_ctanhf.c: Likewise.
16791 * math/s_ctanhl.c: Likewise.
16792 * math/s_ctanl.c: Likewise.
16793 * math/w_fmod.c: Likewise.
16794 * math/w_fmodf.c: Likewise.
16795 * math/w_fmodl.c: Likewise.
16796 * math/w_remainder.c: Likewise.
16797 * math/w_remainderf.c: Likewise.
16798 * math/w_remainderl.c: Likewise.
16799 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16800 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16801 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16802 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16803 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16804 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16805 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16806 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16808 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16810 * stdio-common/printf_fphex.c: Likewise.
16811 * stdio-common/printf_size.c: Likewise.
16813 * math/e_exp10.c: Include math_private.h using <...> not "...".
16814 * math/e_exp10f.c: Likewise.
16815 * math/e_exp10l.c: Likewise.
16816 * math/e_exp2l.c: Likewise.
16817 * math/e_j0l.c: Likewise.
16818 * math/e_j1l.c: Likewise.
16819 * math/e_jnl.c: Likewise.
16820 * math/e_lgammal_r.c: Likewise.
16821 * math/e_rem_pio2l.c: Likewise.
16822 * math/e_scalb.c: Likewise.
16823 * math/e_scalbf.c: Likewise.
16824 * math/e_scalbl.c: Likewise.
16825 * math/k_cosl.c: Likewise.
16826 * math/k_sinl.c: Likewise.
16827 * math/k_tanl.c: Likewise.
16828 * math/s_cacoshf.c: Likewise.
16829 * math/s_catan.c: Likewise.
16830 * math/s_catanf.c: Likewise.
16831 * math/s_catanh.c: Likewise.
16832 * math/s_catanhf.c: Likewise.
16833 * math/s_catanhl.c: Likewise.
16834 * math/s_catanl.c: Likewise.
16835 * math/s_ccosh.c: Likewise.
16836 * math/s_ccoshf.c: Likewise.
16837 * math/s_ccoshl.c: Likewise.
16838 * math/s_cexp.c: Likewise.
16839 * math/s_cexpf.c: Likewise.
16840 * math/s_cexpl.c: Likewise.
16841 * math/s_clog.c: Likewise.
16842 * math/s_clog10.c: Likewise.
16843 * math/s_clog10f.c: Likewise.
16844 * math/s_clog10l.c: Likewise.
16845 * math/s_clogf.c: Likewise.
16846 * math/s_clogl.c: Likewise.
16847 * math/s_csin.c: Likewise.
16848 * math/s_csinf.c: Likewise.
16849 * math/s_csinh.c: Likewise.
16850 * math/s_csinhf.c: Likewise.
16851 * math/s_csinhl.c: Likewise.
16852 * math/s_csinl.c: Likewise.
16853 * math/s_csqrt.c: Likewise.
16854 * math/s_csqrtf.c: Likewise.
16855 * math/s_csqrtl.c: Likewise.
16856 * math/s_ctan.c: Likewise.
16857 * math/s_ctanf.c: Likewise.
16858 * math/s_ctanh.c: Likewise.
16859 * math/s_ctanhf.c: Likewise.
16860 * math/s_ctanhl.c: Likewise.
16861 * math/s_ctanl.c: Likewise.
16862 * math/s_ldexp.c: Likewise.
16863 * math/s_ldexpf.c: Likewise.
16864 * math/s_ldexpl.c: Likewise.
16865 * math/s_significand.c: Likewise.
16866 * math/s_significandf.c: Likewise.
16867 * math/s_significandl.c: Likewise.
16868 * math/w_acos.c: Likewise.
16869 * math/w_acosf.c: Likewise.
16870 * math/w_acosh.c: Likewise.
16871 * math/w_acoshf.c: Likewise.
16872 * math/w_acoshl.c: Likewise.
16873 * math/w_acosl.c: Likewise.
16874 * math/w_asin.c: Likewise.
16875 * math/w_asinf.c: Likewise.
16876 * math/w_asinl.c: Likewise.
16877 * math/w_atan2.c: Likewise.
16878 * math/w_atan2f.c: Likewise.
16879 * math/w_atan2l.c: Likewise.
16880 * math/w_atanh.c: Likewise.
16881 * math/w_atanhf.c: Likewise.
16882 * math/w_atanhl.c: Likewise.
16883 * math/w_cosh.c: Likewise.
16884 * math/w_coshf.c: Likewise.
16885 * math/w_coshl.c: Likewise.
16886 * math/w_dremf.c: Likewise.
16887 * math/w_exp10.c: Likewise.
16888 * math/w_exp10f.c: Likewise.
16889 * math/w_exp10l.c: Likewise.
16890 * math/w_exp2.c: Likewise.
16891 * math/w_exp2f.c: Likewise.
16892 * math/w_fmod.c: Likewise.
16893 * math/w_fmodf.c: Likewise.
16894 * math/w_fmodl.c: Likewise.
16895 * math/w_hypot.c: Likewise.
16896 * math/w_hypotf.c: Likewise.
16897 * math/w_hypotl.c: Likewise.
16898 * math/w_j0.c: Likewise.
16899 * math/w_j0f.c: Likewise.
16900 * math/w_j0l.c: Likewise.
16901 * math/w_j1.c: Likewise.
16902 * math/w_j1f.c: Likewise.
16903 * math/w_j1l.c: Likewise.
16904 * math/w_jn.c: Likewise.
16905 * math/w_jnf.c: Likewise.
16906 * math/w_jnl.c: Likewise.
16907 * math/w_lgamma.c: Likewise.
16908 * math/w_lgamma_r.c: Likewise.
16909 * math/w_lgammaf.c: Likewise.
16910 * math/w_lgammaf_r.c: Likewise.
16911 * math/w_lgammal.c: Likewise.
16912 * math/w_lgammal_r.c: Likewise.
16913 * math/w_log.c: Likewise.
16914 * math/w_log10.c: Likewise.
16915 * math/w_log10f.c: Likewise.
16916 * math/w_log10l.c: Likewise.
16917 * math/w_log2.c: Likewise.
16918 * math/w_log2f.c: Likewise.
16919 * math/w_log2l.c: Likewise.
16920 * math/w_logf.c: Likewise.
16921 * math/w_logl.c: Likewise.
16922 * math/w_pow.c: Likewise.
16923 * math/w_powf.c: Likewise.
16924 * math/w_powl.c: Likewise.
16925 * math/w_remainder.c: Likewise.
16926 * math/w_remainderf.c: Likewise.
16927 * math/w_remainderl.c: Likewise.
16928 * math/w_scalb.c: Likewise.
16929 * math/w_scalbf.c: Likewise.
16930 * math/w_scalbl.c: Likewise.
16931 * math/w_sinh.c: Likewise.
16932 * math/w_sinhf.c: Likewise.
16933 * math/w_sinhl.c: Likewise.
16934 * math/w_sqrt.c: Likewise.
16935 * math/w_sqrtf.c: Likewise.
16936 * math/w_sqrtl.c: Likewise.
16937 * math/w_tgamma.c: Likewise.
16938 * math/w_tgammaf.c: Likewise.
16939 * math/w_tgammal.c: Likewise.
16941 * po/ja.po: Update from translation team.
16943 2011-09-29 Andreas Jaeger <aj@suse.de>
16946 * sunrpc/netname.c (netname2host): Fix logic.
16950 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16952 * math/w_remainder.c (__remainder): Likewise.
16953 * math/w_remainderf.c (__remainderf): Likewise.
16954 * math/libm-test.inc (remainder_test): Add test cases.
16956 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16958 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16961 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16963 * string/test-memcmp.c: Avoid unncessary #defines.
16964 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16966 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16968 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16969 Use new sse2 version for core i3 - i7 as it's faster
16970 than sse42 version.
16971 (bit_Prefer_PMINUB_for_stringop): New.
16972 * sysdeps/x86_64/rawmemchr.S: Update.
16973 Replace with faster SSE2 version.
16974 * sysdeps/x86_64/memrchr.S: New file.
16975 * sysdeps/x86_64/memchr.S: Update.
16976 Replace with faster SSE2 version.
16978 2011-09-12 Marek Polacek <mpolacek@redhat.com>
16980 * elf/dl-load.c (lose): Add cast to avoid warning.
16982 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16984 * po/ca.po: Update from translation team.
16986 * inet/getnetgrent_r.c: Hook up nscd.
16987 * nscd/Makefile (routines): Add nscd_netgroup.
16988 (nscd-modules): Add netgroupcache.
16989 (CFLAGS-netgroupcache.c): Define.
16990 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16991 (cache_search): Add const to second parameter.
16992 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16994 (dbs): Add netgrdb entry.
16995 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16996 (verify_persistent_db): Handle netgrdb.
16997 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16998 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17000 (netgroup_response_header): Define.
17001 (innetgroup_response_header): Define.
17002 (datahead): Add netgroup_response_header and innetgroup_response_header
17004 * nscd/nscd.conf: Add entries for netgroup cache.
17005 * nscd/nscd.h (dbtype): Add netgrdb.
17006 (_PATH_NSCD_NETGROUP_DB): Define.
17007 (netgroup_iov_disabled): Declare.
17008 (xmalloc, xcalloc, xrealloc): Move declarations here.
17009 (cache_search): Adjust prototype.
17010 Add netgroup-related prototypes.
17011 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17012 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17013 (__nscd_innetgr): Declare.
17014 * nscd/selinux.c (perms): Use access_vector_t as element type and
17015 add netgroup-related initializers.
17016 * nscd/netgroupcache.c: New file.
17017 * nscd/nscd_netgroup.c: New file.
17018 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17019 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17020 For four parameters use innetgr.
17021 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17022 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17023 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17024 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17026 * nscd/connections.c (register_traced_file): Don't register file
17027 for disabled databases.
17029 2011-10-06 Ulrich Drepper <drepper@gmail.com>
17031 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17033 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17034 from tree and freeing node.
17036 2011-09-25 Jiri Olsa <jolsa@redhat.com>
17038 * nss/nsswitch.c (__nss_database_lookup): Handle
17039 nss_parse_service_list out of memory case.
17041 2011-09-15 Jiri Olsa <jolsa@redhat.com>
17043 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17044 out of memory case.
17046 2011-10-04 Andreas Schwab <schwab@redhat.com>
17048 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17049 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17051 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17052 elf_machine_rela, elf_machine_lazy_rel.
17053 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17054 (ELF_DYNAMIC_DO_REL): Likewise.
17055 (ELF_DYNAMIC_DO_RELA): Likewise.
17056 (ELF_DYNAMIC_RELOCATE): Likewise.
17057 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17058 to ELF_DYNAMIC_DO_REL.
17059 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17060 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17061 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17063 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17064 skip_ifunc, don't call ifunc function if non-zero.
17065 (elf_machine_rela): Likewise.
17066 (elf_machine_lazy_rel): Likewise.
17067 (elf_machine_lazy_rela): Likewise.
17068 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17069 (elf_machine_lazy_rel): Likewise.
17070 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17072 (elf_machine_lazy_rel): Likewise.
17073 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17075 (elf_machine_lazy_rel): Likewise.
17076 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17077 (elf_machine_lazy_rel): Likewise.
17078 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17079 (elf_machine_lazy_rel): Likewise.
17080 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17081 (elf_machine_lazy_rel): Likewise.
17082 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17083 (elf_machine_lazy_rel): Likewise.
17084 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17085 (elf_machine_lazy_rel): Likewise.
17086 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17087 (elf_machine_lazy_rel): Likewise.
17089 2011-09-28 Ulrich Drepper <drepper@gmail.com>
17091 * nss/nss_files/files-init.c (_nss_files_init): Use static
17092 initialization for all the *_traced_file variables.
17094 2011-09-28 Andreas Schwab <schwab@redhat.com>
17096 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17098 2011-09-27 Roland McGrath <roland@hack.frob.com>
17101 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17103 2011-09-27 Andreas Schwab <schwab@redhat.com>
17105 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17106 Reread the line before reparsing it.
17108 2011-09-26 Andreas Schwab <schwab@redhat.com>
17110 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17112 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17113 Maxim Kuvyrkov <maxim@codesourcery.com>
17114 Joseph Myers <joseph@codesourcery.com>
17116 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17117 if needed for __stack_chk_guard.
17119 2011-09-19 Roland McGrath <roland@hack.frob.com>
17121 * sysdeps/posix/spawni.c (script_execute): Always define it.
17122 It will be optimized away if unused.
17123 (maybe_script_execute): New function.
17124 (__spawni): Call it.
17126 * Makerules: Don't include tls.make.
17127 (config-tls): Always set to thread.
17128 * tls.make.c: File removed.
17130 2011-09-19 Mike Frysinger <vapier@gentoo.org>
17132 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17133 * config.make.in (CPPFLAGS-config): New substituted variable.
17135 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17137 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17140 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17141 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17143 2011-09-15 Roland McGrath <roland@hack.frob.com>
17145 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17146 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17147 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17148 (CALL_FAIL): Likewise.
17149 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17150 (CALL_FAIL): Macro removed.
17151 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17153 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17155 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17156 for __FINITE_MATH_ONLY__ == 1.
17158 2011-09-15 Andreas Schwab <schwab@redhat.com>
17160 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17161 __ieee754_sqrt instead of sqrt.
17162 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17163 __ieee754_sqrtf instead of sqrtf.
17164 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17165 __floorf instead of floorf.
17166 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17167 __floorf, __truncf instead of floorf, truncf.
17169 2011-09-14 Ulrich Drepper <drepper@gmail.com>
17171 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17173 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17174 __extern_always_inline.
17175 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17178 2011-09-14 Andreas Schwab <schwab@redhat.com>
17180 * elf/rtld.c (dl_main): Also relocate in dependency order when
17181 doing symbol dependency testing.
17183 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17185 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17186 Always define `refsym'.
17188 2011-09-13 Andreas Schwab <schwab@redhat.com>
17190 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17191 (__FD_ELT): Renamed from __FDELT.
17192 * misc/bits/select2.h (__FD_ELT): Likewise.
17193 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17194 __FD_MASK instead of __FDELT, __FDMASK.
17195 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17197 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17200 * elf/Makefile (gen-ldd): Fix pattern.
17202 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17203 (init_tls): Likewise.
17205 2011-09-12 Ulrich Drepper <drepper@gmail.com>
17207 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17209 2011-09-12 Andreas Schwab <schwab@redhat.com>
17211 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17212 `struct cmsghdr *' instead of `void *'.
17213 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17216 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17218 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17220 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17221 ldd_rewrite_script.
17223 2011-09-11 Ulrich Drepper <drepper@gmail.com>
17225 * configure.in: Remove --with-tls option.
17226 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17227 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17228 out in case it is missing.
17229 * sysdeps/ia64/elf/configure.in: Likewise.
17230 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17231 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17232 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17233 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17234 * sysdeps/sh/elf/configure.in: Likewise.
17235 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17236 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17237 * sysdeps/x86_64/elf/configure.in: Likewise.
17238 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17239 * sysdeps/mach/hurd/tls.h: Likewise.
17242 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17245 * configure.in: Fix use of AC_INIT.
17247 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17249 2011-09-10 Ulrich Drepper <drepper@gmail.com>
17251 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17253 * malloc/hooks.c: Likewise.
17256 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17257 variables statically.
17258 (narenas): Initialize.
17259 (list_lock): Initialize.
17260 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17261 initializtion of main_arena and list_lock. Small cleanups.
17262 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17263 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17264 Add initializers to main_arena and mp_.
17265 (malloc_state): Remove pagesize member. Change all users to use
17268 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17269 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17270 is always initialized.
17272 * malloc/malloc.c: Removed unused configurations and dead code.
17273 * malloc/arena.c: Likewise.
17274 * malloc/hooks.c: Likewise.
17275 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
17277 * include/tls.h: Removed. USE___THREAD must always be defined.
17278 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17279 * elf/dl-libc.c: Likewise.
17280 * elf/dl-tsd.c: Likewise.
17281 * include/errno.h: Likewise.
17282 * include/netdb.h: Likewise.
17283 * include/resolv.h: Likewise.
17284 * inet/herrno-loc.c: Likewise.
17285 * inet/herrno.c: Likewise.
17286 * malloc/arena.c: Likewise.
17287 * malloc/hooks.c: Likewise.
17288 * malloc/malloc.c: Likewise.
17289 * resolv/res-state.c: Likewise.
17290 * resolv/res_libc.c: Likewise.
17291 * sysdeps/i386/dl-machine.h: Likewise.
17292 * sysdeps/ia64/dl-machine.h: Likewise.
17293 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17294 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17295 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17296 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17297 * sysdeps/sh/dl-machine.h: Likewise.
17298 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17299 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17300 * sysdeps/unix/i386/sysdep.S: Likewise.
17301 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17302 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17303 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17304 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17305 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17306 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17307 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17308 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17309 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17310 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17311 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17312 * sysdeps/x86_64/dl-machine.h: Likewise.
17313 * tls.make.c: Likewise.
17315 * configure.in: Remove --with-__thread option. Make tests for
17316 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17317 tls_model attribute fail if no support is available. Remove
17319 * Makeconfig: Adjust for dropped configure option. All features are
17321 * Makerules: Likewise.
17322 * Versions.def: Likewise.
17323 * argp/argp-fmtstream.c: Likewise.
17324 * argp/argp-fmtstream.h: Likewise.
17325 * argp/argp-help.c: Likewise.
17326 * assert/assert.c: Likewise.
17327 * config.h.in: Likewise.
17328 * config.make.in: Likewise.
17329 * configure: Likewise.
17330 * configure.in: Likewise.
17331 * csu/Versions: Likewise.
17332 * csu/init.c: Likewise.
17333 * elf/tst-audit2.c: Likewise.
17334 * elf/tst-tls10.c: Likewise.
17335 * elf/tst-tls10.h: Likewise.
17336 * elf/tst-tls11.c: Likewise.
17337 * elf/tst-tls12.c: Likewise.
17338 * elf/tst-tls14.c: Likewise.
17339 * elf/tst-tlsmod11.c: Likewise.
17340 * elf/tst-tlsmod12.c: Likewise.
17341 * elf/tst-tlsmod13.c: Likewise.
17342 * elf/tst-tlsmod13a.c: Likewise.
17343 * elf/tst-tlsmod14a.c: Likewise.
17344 * elf/tst-tlsmod15b.c: Likewise.
17345 * elf/tst-tlsmod16a.c: Likewise.
17346 * elf/tst-tlsmod16b.c: Likewise.
17347 * elf/tst-tlsmod7.c: Likewise.
17348 * elf/tst-tlsmod8.c: Likewise.
17349 * elf/tst-tlsmod9.c: Likewise.
17350 * gmon/gmon.c: Likewise.
17351 * grp/fgetgrent_r.c: Likewise.
17352 * grp/putgrent.c: Likewise.
17353 * hurd/fopenport.c: Likewise.
17354 * include/libc-symbols.h: Likewise.
17355 * include/tls.h: Likewise.
17356 * intl/gettextP.h: Likewise.
17357 * intl/loadinfo.h: Likewise.
17358 * locale/global-locale.c: Likewise.
17359 * locale/localeinfo.h: Likewise.
17360 * mach/devstream.c: Likewise.
17361 * malloc/arena.c: Likewise.
17362 * malloc/set-freeres.c: Likewise.
17363 * misc/err.c: Likewise.
17364 * misc/getttyent.c: Likewise.
17365 * misc/mntent_r.c: Likewise.
17366 * posix/getopt.c: Likewise.
17367 * posix/wordexp.c: Likewise.
17368 * pwd/fgetpwent_r.c: Likewise.
17369 * resolv/Versions: Likewise.
17370 * resolv/res_hconf.c: Likewise.
17371 * shadow/fgetspent_r.c: Likewise.
17372 * shadow/putspent.c: Likewise.
17373 * stdio-common/printf_fphex.c: Likewise.
17374 * stdio-common/tmpfile.c: Likewise.
17375 * stdlib/abort.c: Likewise.
17376 * stdlib/fmtmsg.c: Likewise.
17377 * sunrpc/auth_unix.c: Likewise.
17378 * sunrpc/clnt_perr.c: Likewise.
17379 * sunrpc/clnt_tcp.c: Likewise.
17380 * sunrpc/clnt_udp.c: Likewise.
17381 * sunrpc/clnt_unix.c: Likewise.
17382 * sunrpc/openchild.c: Likewise.
17383 * sunrpc/svc_simple.c: Likewise.
17384 * sunrpc/svc_tcp.c: Likewise.
17385 * sunrpc/svc_udp.c: Likewise.
17386 * sunrpc/svc_unix.c: Likewise.
17387 * sunrpc/xdr.c: Likewise.
17388 * sunrpc/xdr_array.c: Likewise.
17389 * sunrpc/xdr_rec.c: Likewise.
17390 * sunrpc/xdr_ref.c: Likewise.
17391 * sunrpc/xdr_stdio.c: Likewise.
17393 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17395 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17397 2011-07-03 Andreas Jaeger <aj@suse.de>
17399 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
17400 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
17401 regenerate with gen-libm-tests.pl.
17403 2010-05-12 Petr Baudis <pasky@suse.cz>
17406 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
17407 around j0() zero points by switching to j1().
17408 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17409 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17410 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17411 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17413 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17415 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
17417 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
17419 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17420 Patch in part by Pavel Roskin <proski@gnu.org>.
17423 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
17425 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
17426 Free memory block if necessary.
17429 * libio/genops.c (INTDEF): For string streams the _lock pointer can
17430 be NULL. Don't lock in this case.
17432 2011-09-09 Roland McGrath <roland@hack.frob.com>
17434 * elf/elf.h (ELFOSABI_GNU): New macro.
17435 (ELFOSABI_LINUX): Define to that.
17437 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
17439 * string/strncat.c (strncat): Undef the symbol in case it has been
17440 defined in bits/string.h.
17442 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17444 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
17446 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
17449 2011-08-17 Andreas Jaeger <aj@suse.de>
17451 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
17453 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17454 Ian Lance Taylor <iant@google.com>
17456 * math/libm-test.inc (lround_test): New testcase.
17457 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
17459 2011-09-08 Ulrich Drepper <drepper@gmail.com>
17461 * Makefile: Remove support for automatic cvs check-ins.
17462 * Makerules: Likewise.
17463 * config.make.in: Likewise.
17464 * configure.in: Likewise.
17465 * intl/Makefile: Likewise.
17466 * locale/Makefile: Likewise.
17467 * po/Makefile: Likewise.
17468 * posix/Makefile: Likewise.
17469 * sysdeps/gnu/Makefile: Likewise.
17470 * sysdeps/mach/hurd/Makefile: Likewise.
17471 * sysdeps/sparc/sparc32/Makefile: Likewise.
17474 * posix/Makefile (bug-regex32-ENV): Define.
17475 Patch by John Stanley <jpsinthemix@verizon.net>.
17477 * misc/Makefile (headers): Add bits/select2.h.
17478 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
17479 * misc/bits/select2.h: New file.
17480 * include/bits/select2.h: New file.
17481 * debug/Makefile (routines): Add fdelt_chk.
17482 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
17483 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
17485 * debug/fdelt_chk.c: New file.
17487 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
17488 * wcsmbs/test-wmemcmp.c: Likewise.
17489 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
17490 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
17492 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17494 * string/Makefile (strop-tests): Add memcmp.
17495 * string/test-wmemcmp.c: New file.
17496 * string/test-memcmp.c: Add wmemcmp support.
17498 2011-09-08 Roland McGrath <roland@hack.frob.com>
17501 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
17504 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
17505 garbage value in a __mach_port_mod_refs call in the cases of the
17506 task-self and thread-self ports.
17508 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17510 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
17512 2011-09-08 Andreas Schwab <schwab@redhat.com>
17514 * elf/dl-load.c (lose): Check for non-null L.
17516 2011-09-07 Ulrich Drepper <drepper@gmail.com>
17518 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
17520 * elf/dl-libc.c (dlerror_run): Pass back error code from
17524 * elf/dl-load.c (lose): Free l_origin if it is valid.
17526 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
17528 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17529 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17530 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17531 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17532 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17533 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
17535 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17537 * sysdeps/powerpc/fpu/e_hypot.c: New file.
17538 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
17539 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
17540 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
17541 * sysdeps/powerpc/fpu/k_cosf.c: New file.
17542 * sysdeps/powerpc/fpu/k_sinf.c: New file.
17543 * sysdeps/powerpc/fpu/s_cosf.c: New file.
17544 * sysdeps/powerpc/fpu/s_sinf.c: New file.
17545 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
17546 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
17548 2011-08-15 Alan Modra <amodra@gmail.com>
17551 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
17552 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
17553 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
17554 ppc_mcount to static-only-routines.
17555 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
17557 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
17558 __mcount_internal with usual JUMPTARGET. Remove useless nop.
17560 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
17562 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
17563 for finite and infinity parameters.
17565 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17567 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
17568 and add nop instructions for throughput optimization.
17569 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17571 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
17573 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
17574 aligned copy for power7 with vector-scalar instructions.
17575 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17577 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
17579 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
17582 2011-09-07 Andreas Schwab <schwab@redhat.com>
17585 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
17588 2011-09-07 Ulrich Drepper <drepper@gmail.com>
17590 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17591 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
17592 syscall wrapper around clock_gettime in __vdso_clock_gettime.
17593 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
17596 2011-09-06 Ulrich Drepper <drepper@gmail.com>
17598 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
17599 Forgot to demangle the pointer.
17601 * sysdeps/i386/sysdep.h: Define atom_text_section.
17602 * sysdeps/x86_64/sysdep.h: Likewise.
17603 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
17604 section with atom_text_section.
17605 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17606 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17607 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17608 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17609 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
17611 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
17612 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
17613 already be defined. Change to take two parameters and don't assign
17614 result to variable. Adjust all users.
17615 Define INTERNAL_GETTIME if not already defined.
17616 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
17618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
17619 HAVE_CLOCK_GETTIME_VSYSCALL.
17620 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
17622 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
17623 gettimeofday vsyscall, just use time.
17625 2011-09-06 Andreas Schwab <schwab@redhat.com>
17627 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
17630 2011-09-06 Ulrich Drepper <drepper@gmail.com>
17632 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
17634 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
17636 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17637 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
17638 syscall if possible.
17640 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17642 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
17643 e_ident. Don't pass to find_mapsXX.
17644 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
17646 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17649 strchr-sse2-no-bsf strrchr-sse2-no-bsf
17650 * sysdeps/x86_64/multiarch/strchr.S: Update.
17651 Check bit_slow_BSF bit.
17652 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17653 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
17654 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
17656 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17659 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
17661 (tryshell): Define.
17662 (__spawni): Change last parameter to be flag. Test
17663 SPAWN_XFLAGS_USE_PATH flag to use path or not.
17664 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
17665 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
17666 * posix/spawni.c: Likewise.
17667 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
17668 * posix/spawnp.c: Likewise. Change normal version to use
17669 SPAWN_XFLAGS_USE_PATH.
17670 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
17671 SPAWN_XFLAGS_TRY_SHELL.
17674 * posix/glob.h: Remove gcc 1.x support.
17677 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
17679 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17681 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17682 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
17684 * sysdeps/i386/i686/multiarch/strchr.S: New file.
17685 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
17686 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
17687 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
17688 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
17689 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
17691 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17693 * sysdeps/x86_64/wcscmp.S: New file.
17695 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17696 wcscmp-c wcscmp-sse2
17697 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17698 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17699 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17700 * wcsmbs/wcscmp.c: Allow renaming.
17702 2011-09-05 David S. Miller <davem@davemloft.net>
17704 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17705 stack slot, rather than the struct return pointer slot.
17706 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17707 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17709 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17711 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17713 * po/ja.po: Update from translation team.
17716 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17717 kernel in 64-bit binaries.
17719 2011-09-01 David S. Miller <davem@davemloft.net>
17721 * elf/elf.h (HWCAP_SPARC_*): Move to..
17722 * sysdeps/sparc/sysdep.h: this new file and add new values.
17723 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17724 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17725 _DL_HWCAP_COUNT to 24.
17726 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17728 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17729 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17730 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17731 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17732 instead of magic constants.
17733 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17735 2011-08-31 David S. Miller <davem@davemloft.net>
17737 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17739 Reimplement to do errno handling inline.
17740 (SYSCALL_ERROR_HANDLER): New macro.
17741 (__SYSCALL_STRING): Do not do errno handling in asm.
17742 (__CLONE_SYSCALL_STRING): Delete.
17743 (__INTERNAL_SYSCALL_STRING): Delete.
17744 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17745 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17746 (PSEUDO): Reimplement to do errno handling inline.
17747 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17748 (SYSCALL_ERROR_HANDLER): New macro.
17749 (__SYSCALL_STRING): Do not do errno handling in asm.
17750 (__CLONE_SYSCALL_STRING): Delete.
17751 (__INTERNAL_SYSCALL_STRING): Delete.
17752 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17753 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17755 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17756 (inline_syscall*): Add 'err' argument.
17757 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17758 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17759 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17760 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17762 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17763 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17765 2011-08-30 Andreas Schwab <schwab@redhat.com>
17767 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17769 2011-08-29 Jiri Olsa <jolsa@redhat.com>
17771 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17774 2011-08-24 David S. Miller <davem@davemloft.net>
17776 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17778 2011-08-24 Andreas Schwab <schwab@redhat.com>
17780 * elf/Makefile: Add rules to build and run unload8 test.
17781 * elf/unload8.c: New file.
17782 * elf/unload8mod1.c: New file.
17783 * elf/unload8mod1x.c: New file.
17784 * elf/unload8mod2.c: New file.
17785 * elf/unload8mod3.c: New file.
17787 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17790 2011-08-23 David S. Miller <davem@davemloft.net>
17792 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17793 subtract stack bias.
17794 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17795 %sp not %fp in calculations.
17796 (_JMPBUF_UNWINDS_ADJ): Likewise.
17798 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17799 (aio_suspend): Call it to force an exception region around the
17800 AIO_MISC_WAIT() invocation.
17802 2011-08-23 Andreas Schwab <schwab@redhat.com>
17804 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17807 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17809 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17811 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17812 and <dl-machine.h>.
17813 (Elf64_FuncDesc): Remove.
17815 2011-08-22 David S. Miller <davem@davemloft.net>
17817 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17818 sigaltstack check, add missing cfi directives.
17819 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17820 missing cfi directives, and sigaltstack handling.
17822 2011-08-16 Andreas Schwab <schwab@redhat.com>
17825 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17826 object is seen twice.
17827 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17829 * elf/Makefile (distribute): Add tst-initorder2.c.
17830 (tests): Add tst-initorder2.
17831 (modules-names): Add tst-initorder2a tst-initorder2b
17832 tst-initorder2c tst-initorder2d. Add rules to build them.
17833 ($(objpfx)tst-initorder2.out): New rule.
17834 * elf/tst-initorder2.c: New file.
17835 * elf/tst-initorder2.exp: New file.
17837 2011-08-22 Andreas Schwab <schwab@redhat.com>
17839 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17841 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17842 dependencies back to end of function.
17844 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17845 $(elfobjdir)/ld.so.
17847 2011-08-21 Ulrich Drepper <drepper@gmail.com>
17849 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17850 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17851 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17852 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17853 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17854 of __vdso_gettimeofday.
17855 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17856 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17858 (_libc_vdso_platform_setup): Remove initialization of
17859 __vdso_gettimeofday and __vdso_time.
17861 2011-08-20 Ulrich Drepper <drepper@gmail.com>
17863 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17864 and fgetc_unlocked.
17865 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17868 * elf/dl-open.c (add_to_global): Report additions to the global scope
17869 for LD_DEBUG=scopes.
17870 (dl_open_worker): Also print scope of newly loaded dependencies.
17871 (_dl_show_scope): Indicate if there is no scope.
17874 * stdio-common/Makefile (tests): Add bug24.
17875 * stdio-common/bug24.c: New file.
17877 2011-08-19 Andreas Jaeger <aj@suse.de>
17880 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17881 non-existant file when using close-on-exec mode.
17883 2011-08-20 Ulrich Drepper <drepper@gmail.com>
17885 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17886 the very first instruction.
17888 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17889 the CFI state in the end.
17890 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17891 inclusion of dl-trampoline.h.
17892 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17894 2011-08-19 Andreas Schwab <schwab@redhat.com>
17896 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17897 expectations for long double.
17899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17900 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17902 2011-08-14 David S. Miller <davem@davemloft.net>
17904 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17905 artificual limit depends upon the system page size.
17907 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17909 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17910 * resolv/Makefile: Define CFLAGS-libresolv.
17912 2011-08-17 Andreas Schwab <schwab@redhat.com>
17914 * nss/makedb.c (compute_tables): Make variables used in nested
17917 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17919 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17920 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17921 if buffer was too small.
17923 * elf/pldd.c (main): Attach to all threads in the process.
17924 Rewrite /proc handling to use *at functions.
17926 2011-08-16 Ulrich Drepper <drepper@gmail.com>
17928 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17929 specifies first scope to show.
17930 (dl_open_worker): Update callers. Move printing scope of new
17931 object to before the relocation.
17932 * elf/rtld.c (dl_main): Update _dl_show_scope call.
17933 * sysdeps/generic/ldsodefs.h: Update declaration.
17935 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17936 string for the scope number.
17938 2011-08-14 Ulrich Drepper <drepper@gmail.com>
17940 * nscd/servicescache.c (cache_addserv): Make sure written is always
17943 2011-08-14 Roland McGrath <roland@hack.frob.com>
17945 * sysdeps/i386/i486/bits/atomic.h
17946 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17947 statement expression, so as to suppress "set but not used" warning.
17948 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17950 * string/strncat.c (STRNCAT): Use prototype definition.
17952 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17953 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17955 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17956 (localedef-modules): Add localedef.
17957 (locale-modules): Add locale.
17959 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17960 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17961 to avoid a warning.
17963 2011-08-14 David S. Miller <davem@davemloft.net>
17965 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17966 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17968 2011-08-13 Ulrich Drepper <drepper@gmail.com>
17970 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
17971 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17972 * elf/rtld.c (dl_main): Set l_name of vDSO.
17973 Call _dl_show_scope when DL_DEBUG_SCOPES.
17974 (process_dl_debug): Recognize scopes flag and also set it for all.
17975 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17976 Declare _dl_show_scope.
17978 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17979 (do_dlopen): Pass caller_dlopen to dl_open.
17980 (__libc_dlopen_mode): Initialize caller_dlopen.
17982 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17983 of libc. Make tolower call locale-independent. Optimize a bit by
17984 using isdigit instead of isalnum.
17985 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17987 2011-08-12 Ulrich Drepper <drepper@gmail.com>
17989 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17990 was a dependency or dynamically loaded.
17992 2011-08-11 Ulrich Drepper <drepper@gmail.com>
17994 * intl/l10nflist.c: Allow architecture-specific pop function.
17995 * sysdeps/x86_64/l10nflist.c: New file.
17997 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18000 2011-08-10 Andreas Schwab <schwab@redhat.com>
18002 * include/dirent.h: Add libc_hidden_proto for scandirat and
18003 scandirat64. Don't declare __scandirat64.
18004 * dirent/scandirat.c: Add libc_hidden_def.
18005 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18006 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18008 2011-08-10 David S. Miller <davem@davemloft.net>
18010 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18012 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18013 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18014 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18016 2011-08-09 Ulrich Drepper <drepper@gmail.com>
18018 * Versions.def [libc]: Add GLIBC_2.15.
18019 * dirent/Makefile (routines): Add scandirat and scandirat64.
18020 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18022 * dirent/dirent.h: Declare scandirat and scandirat64.
18023 * dirent/scandirat.c: New file.
18024 * dirent/scandirat64.c: New file.
18025 * sysdeps/wordsize-64/scandirat.c: New file.
18026 * sysdeps/wordsize-64/scandirat64.c: New file.
18027 * dirent/opendir.c: Define opendirat.
18028 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18030 * dirent/scandir64.c: Adjust for scandir.c change.
18031 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18032 __scandirat64, and __scandir_cancel_handler.
18033 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18034 additional parameter and use openat instead of open (outside of ld.so).
18035 Add new __opendir as wrapper around __opendirat.
18036 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18037 here without requiring old scandirat implementation.
18039 2011-08-08 Ulrich Drepper <drepper@gmail.com>
18041 * dirent/scandir.c (cancel_handler): Renamed to
18042 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18043 defined. Adjust users.
18044 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18045 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18047 2011-08-04 Ulrich Drepper <drepper@gmail.com>
18049 * string/test-string.h (IMPL): Use __STRING to expand name and then
18052 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18055 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18057 * string/Makefile: Update.
18058 (strop-tests): Append strncat.
18059 * string/test-wcscmp.c: New file.
18060 New comprehensive test for wcscmp.
18061 * string/test-strcmp.c: Update.
18062 (WIDE): New define.
18064 2011-07-22 Andreas Schwab <schwab@redhat.com>
18066 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18069 2011-07-26 Andreas Schwab <schwab@redhat.com>
18071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18072 encoding to ACE if AI_IDN.
18074 2011-08-01 Jakub Jelinek <jakub@redhat.com>
18076 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18077 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18079 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18081 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18082 Fix overflow bug in strncat.
18083 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18085 * string/test-strncat.c: Update.
18086 Add new tests for checking overflow bugs.
18088 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18090 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18091 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18092 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18093 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18094 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18095 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18096 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18097 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18098 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18100 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18101 (USE_AS_STRCAT): Define.
18102 Add strcat and strncat support.
18103 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18105 2011-07-25 Andreas Schwab <schwab@redhat.com>
18107 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18108 __n bigger than INT_MAX+1.
18109 (__strncmp_g): Likewise.
18111 2011-07-23 Ulrich Drepper <drepper@gmail.com>
18113 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18114 * libio/stido.h: Likewise.
18116 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18121 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18122 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18123 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18124 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18125 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18128 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18131 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18133 (_dl_x86_64_save_sse): Likewise.
18135 2011-07-22 Ulrich Drepper <drepper@gmail.com>
18137 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18139 (_dl_x86_64_save_sse): Likewise.
18141 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18143 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18145 2011-07-21 Andreas Schwab <schwab@redhat.com>
18147 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18149 (_dl_x86_64_save_sse): Use correct AVX check.
18151 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18153 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18154 bug in strncpy/strncat.
18155 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18157 2011-07-21 Ulrich Drepper <drepper@gmail.com>
18159 * string/tester.c (test_strcat): Add tests for different alignments
18160 of source and destination.
18161 (test_strncat): Likewise.
18163 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18166 * posix/glob.c (glob): Check passed in values before using them in
18167 expressions to avoid some overflows.
18168 (glob_in_dir): Likewise.
18171 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18172 check for AVX enablement so that we don't crash with old kernels and
18174 * elf/tst-audit4.c: Add same checks here.
18175 * elf/tst-audit6.c: Likewise.
18177 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
18179 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18181 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18183 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18185 * po/cs.po: Update from translation team.
18186 * po/bg.po: Likewise.
18188 2011-07-12 Marek Polacek <mpolacek@redhat.com>
18190 * misc/sys/cdefs.h: Add support for const attribute.
18191 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18192 to gnu_dev_{major,minor,makedev} functions.
18194 2011-07-20 Marek Polacek <mpolacek@redhat.com>
18196 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18198 2011-07-20 Andreas Schwab <schwab@redhat.com>
18200 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18203 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18205 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18206 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18207 register in order to avoid conflicts with the soft frame pointer
18208 being held in r11 when necessary.
18209 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18210 (INTERNAL_VSYSCALL_NCS): Likewise.
18212 2011-07-14 Marek Polacek <mpolacek@redhat.com>
18214 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18215 * elf/dl-fini.c (_dl_fini): Adjust caller.
18216 * elf/dl-close.c (_dl_close_worker): Likewise.
18217 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18219 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18221 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18222 "aux_cache->nlibs < 0".
18224 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18225 in the reload-count case.
18227 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18230 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18231 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18232 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18233 * sysdeps/x86_64/multiarch/strcat.S: New file.
18234 * sysdeps/x86_64/multiarch/strncat.S: New file.
18235 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18236 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18237 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18238 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18239 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18240 (USE_AS_STRCAT): Define.
18241 Add strcat and strncat support.
18242 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18243 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18244 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18245 * string/strncat.c: Update.
18246 (USE_AS_STRNCAT): Define.
18247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18248 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18250 * sysdeps/x86_64/multiarch/init-arch.h
18251 (bit_Prefer_PMINUB_for_stringop): New.
18252 (index_Prefer_PMINUB_for_stringop): Likewise.
18253 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18254 bit_Prefer_PMINUB_for_stringop.
18256 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18258 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18260 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18261 of casting of buffer.
18262 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18263 buffer32 and buffer64.
18264 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18265 writes instead of casting of buffer.
18266 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18268 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18271 2011-07-19 Andreas Schwab <schwab@redhat.com>
18273 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18275 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18277 * nscd/nscd.c (termination_handler): Don't do anything for a database
18278 if it has not yet been initialized.
18280 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18282 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18284 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18286 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18288 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18290 * po/nl.po: Update from translation team.
18291 * po/sv.po: Likewise.
18293 2011-07-16 Roland McGrath <roland@hack.frob.com>
18295 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18296 now disallowed by GCC.
18298 * configure.in (use-default-link): Default to yes if a test -shared
18299 link meets our qualifications.
18300 * configure: Regenerated.
18302 * config.make.in (output-format): New variable.
18303 * configure.in: Check for ld --print-output-format support.
18304 * configure: Regenerated.
18305 * Makerules ($(common-objpfx)format.lds)
18306 [$(output-format) != unknown]: Just use $(output-format),
18307 instead of the linker-script munging.
18309 2011-07-14 Roland McGrath <roland@hack.frob.com>
18311 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18312 of $(common-objpfx)shlib.lds.
18313 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18315 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18316 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18318 * configure.in (-z relro check): Adjust test code to add a large
18319 writable data section after it.
18320 * configure: Regenerated.
18322 2011-07-11 Roland McGrath <roland@hack.frob.com>
18324 * configure.in (-z relro check): Fix test code to make the variable
18326 * configure: Regenerated.
18328 2011-07-11 Ulrich Drepper <drepper@gmail.com>
18330 * nscd/nscd.h (struct traced_file): Define.
18331 (struct database_dyn): Remove inotify_descr, reset_res, and filename
18332 elements. Add traced_files.
18333 (inotify_fd): Declare.
18334 (register_traced_file): Declare.
18335 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
18336 (inotify_fd): Export.
18337 (resolv_conf_descr): Remove.
18338 (nscd_init): Move inotify descriptor creation to main.
18339 Don't register files for notification here.
18340 (register_traced_file): New function.
18341 (invalidate_cache): Don't use reset_res to determine whether to call
18342 res_init, go through the list of registered files.
18343 (main_loop_poll): The inotify descriptors are now stored in the
18344 structures for the traced files.
18345 (main_loop_epoll): Likewise
18346 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
18347 to __nss_disable_nscd.
18348 * nscd/cache.c (prune_cache): There is no single inotify descriptor
18349 for a database anymore. Check the records for all the registered
18351 * nss/Makefile (libnss_files-routines): Add files-init.
18352 (libnss_db-routines): Add db-init.
18353 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
18354 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
18355 * nss/nss_db/db-init.c: New file.
18356 * nss/nss_files/files-init.c: New file.
18357 * nss/nsswitch.c (nss_load_library): New function. Broken out of
18358 __nss_lookup_function.
18359 (__nss_lookup_function): Call nss_load_library.
18360 (nss_load_all_libraries): New function.
18361 (__nss_disable_nscd): Take parameter with callback function for files
18362 to register. Set is_nscd. Load all the DSOs for the NSS modules
18363 used for the cached services.
18364 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
18365 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
18366 options for features to all the files in nscd.
18368 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
18370 2011-07-10 Roland McGrath <roland@hack.frob.com>
18372 * csu/elf-init.c (__libc_csu_init): Comment typo.
18374 2011-07-09 Ulrich Drepper <drepper@gmail.com>
18376 * po/pl.po: Update from translation team.
18377 * po/ja.po: Likewise.
18378 * po/ru.po: Likewise.
18379 * po/ko.po: Likewise.
18380 * po/fr.po: Likewise.
18382 2011-07-09 Roland McGrath <roland@hack.frob.com>
18384 * configure.in (.ctors/.dtors header and trailer check):
18385 Use an empirical test on a built program.
18386 * configure: Regenerated.
18388 * configure.in (-z relro check): Use an empirical test on a built DSO.
18389 Detect, but do not require, on ia64.
18390 * configure: Regenerated.
18392 * configure.in (READELF): Find it with AC_CHECK_TOOL.
18393 Update tests that use readelf to use $READELF instead.
18394 * configure: Regenerated.
18396 2011-07-08 Ulrich Drepper <drepper@gmail.com>
18398 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
18399 if the result is not used.
18401 2011-07-05 Andreas Jaeger <aj@suse.de>
18404 * stdlib/tst-strtod.c: Add testcase.
18406 2011-07-07 Ulrich Drepper <drepper@gmail.com>
18408 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
18409 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
18410 The latter has a higher limit. Take additional parameter to pass to
18412 (__pathconf): Pass file to __statfs_link_max.
18413 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
18415 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
18419 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
18420 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18422 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
18423 (__statfs_filesize_max): Likewise.
18424 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
18426 2011-07-05 Andreas Jaeger <aj@suse.de>
18428 * resolv/res_comp.c (dn_skipname): Remove unused variable.
18430 2011-07-06 Marek Polacek <mpolacek@redhat.com>
18432 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
18434 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
18437 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
18439 * Makefile (strop-tests): Add strncat.
18440 * string/test-strncat.c: New file.
18442 2011-06-30 Marek Polacek <mpolacek@redhat.com>
18444 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
18446 2011-06-21 Andreas Jaeger <aj@suse.de>
18448 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
18449 Copy rule from iconvdata/Makefile.
18451 2011-07-06 Ulrich Drepper <drepper@gmail.com>
18454 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
18455 but no long options are defined, just return 'W'.
18457 2011-06-22 Marek Polacek <mpolacek@redhat.com>
18460 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
18462 2011-07-06 Ulrich Drepper <drepper@gmail.com>
18464 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
18466 (innetgr): Likewise.
18468 2011-07-05 Roland McGrath <roland@hack.frob.com>
18470 * config.make.in (install_root): Default to $(DESTDIR).
18472 2011-07-05 Ulrich Drepper <drepper@gmail.com>
18474 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
18476 2011-07-02 Roland McGrath <roland@hack.frob.com>
18478 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
18480 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
18481 containing directory rather than embedding absolute directory names.
18483 * scripts/check-local-headers.sh: Rewritten using awk.
18484 Match by word, not by line. Print error messages for matches.
18485 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
18487 * Makerules [shlib-lds-flags empty]:
18488 ($(common-objpfx)libc_pic.opts): New target.
18489 ($(common-objpfx)libc_pic.os.clean): New target.
18490 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
18492 * config.make.in (OBJCOPY): New variable.
18493 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
18494 * configure: Regenerated.
18496 * config.make.in (use-default-link): New variable.
18497 * configure.in (use_default_link): Grok --with-default-link to set it.
18498 * configure: Regenerated.
18499 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
18500 (shlib-lds, shlib-lds-flags): Define to empty.
18502 * Makerules (shlib-lds): New variable.
18503 (shlib-lds-flags): New variable.
18504 (build-shlib, build-moduile, build-module-asneeded): Use it.
18505 ($(common-objpfx)libc.so): Use $(shlib-lds).
18506 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
18507 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
18509 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
18510 DT_FLAGS/DT_FLAGS_1 with zero flags.
18512 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
18513 linker script munging.
18515 2011-07-02 Ulrich Drepper <drepper@gmail.com>
18517 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
18519 * crypt/sha512.c (sha512_process_block): Perform total addition using
18520 128-bit if possible.
18521 (__sha512_finish_ctx): Likewise.
18522 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
18524 * crypt/sha256.c (SWAP64): Define.
18525 (sha256_process_block): Perform total addition using 64-bit if
18527 (__sha256_finish_ctx): Likewise.
18529 2011-07-01 Ulrich Drepper <drepper@gmail.com>
18531 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
18532 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18533 * nscd/hstcache.c (cache_addhst): Likewise.
18534 * nscd/grpcache.c (cache_addgr): Likewise.
18535 * nscd/aicache.c (addhstaiX): Likewise
18536 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
18538 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
18540 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
18541 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18542 * nscd/hstcache.c (cache_addhst): Likewise.
18543 * nscd/grpcache.c (cache_addgr): Likewise.
18544 * nscd/aicache.c (addhstaiX): Likewise
18546 2011-07-01 Andreas Schwab <schwab@redhat.com>
18548 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
18549 domain only when needed.
18551 2011-06-30 Andreas Schwab <schwab@redhat.com>
18553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
18554 is always restored.
18556 2011-06-29 Ulrich Drepper <drepper@gmail.com>
18558 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
18559 are re-adding the entry.
18560 * nscd/servicescache.c (cache_addserv): Likewise.
18562 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
18564 * sysdeps/generic/dl-irel.h: fix protection against multiple
18566 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
18568 2011-06-28 Ulrich Drepper <drepper@gmail.com>
18571 * malloc/memusage.sh: Fix quoting in message.
18572 * debug/xtrace.sh: Likewise.
18574 * configure.in: Remove support for --experimental-malloc option, make
18576 * config.make.in: Likewise.
18577 * malloc/Makefile: Likewise.
18579 2011-06-27 Andreas Schwab <schwab@redhat.com>
18581 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
18582 two-byte characters.
18584 2011-06-27 Roland McGrath <roland@hack.frob.com>
18586 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
18587 AC_CACHE_CHECK invocation.
18588 * configure: Regenerated.
18590 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
18592 2011-06-27 Ulrich Drepper <drepper@gmail.com>
18595 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
18596 bit from old_res_options.
18598 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
18600 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
18601 value type for setfct.
18603 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
18605 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18606 __gettimeofday instead of gettimeofday.
18608 2011-06-26 Ulrich Drepper <drepper@gmail.com>
18610 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
18612 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
18614 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
18616 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
18619 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18622 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18623 strcpy-sse2-unaligned strncpy-sse2-unaligned
18624 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
18625 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
18626 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
18627 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
18628 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
18629 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
18630 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
18631 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
18632 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
18633 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
18634 (STRCPY): Support SSE2 and SSSE3 versions.
18636 2011-06-24 Ulrich Drepper <drepper@gmail.com>
18639 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
18640 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
18641 kernels which artificially limit size of requests.
18643 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18646 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18647 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
18648 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
18649 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
18650 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
18651 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
18652 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
18653 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
18654 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
18655 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
18656 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
18657 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
18658 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
18659 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
18660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18661 Enable unaligned load optimization for Intel Core i3, i5 and i7
18663 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
18665 (index_Fast_Unaligned_Load): Define.
18666 (HAS_FAST_UNALIGNED_LOAD): Define.
18668 2011-06-23 Marek Polacek <mpolacek@redhat.com>
18670 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
18672 2011-06-22 Ulrich Drepper <drepper@gmail.com>
18675 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
18676 until it is clear that the information is realy needed.
18677 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
18679 2011-06-22 Andreas Schwab <schwab@redhat.com>
18681 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
18683 2011-06-22 Ulrich Drepper <drepper@gmail.com>
18685 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18686 /sys/devices/system/cpu/online if it is usable.
18688 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
18689 reading the information from the /proc filesystem to once a second.
18691 2011-06-21 Andreas Jaeger <aj@suse.de>
18693 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
18694 NULL after inclusion of kernel headers.
18696 2011-06-21 Ulrich Drepper <drepper@gmail.com>
18698 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18699 calls to internal_setent.
18702 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18703 addresses using gethostbyname4_r ignore IPv4 addresses.
18705 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18706 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
18708 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18710 2011-06-20 David S. Miller <davem@davemloft.net>
18712 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18714 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18716 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18717 (elf_irel): Use it.
18718 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18719 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18720 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18721 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18722 * sysdeps/x86_64/dl-irel.h: Likewise.
18724 * elf/dl-runtime.c: Use elf_ifunc_invoke.
18725 * elf/dl-sym.c: Likewise.
18727 2011-06-15 Ulrich Drepper <drepper@gmail.com>
18729 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
18730 need to dereference resplen2.
18732 2011-06-14 Andreas Schwab <schwab@redhat.com>
18734 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18736 2011-06-15 Ulrich Drepper <drepper@gmail.com>
18738 * Makeconfig: Define vardbdir and inst_vardbdir.
18739 * nss/Makefile: Add rules to install db-Makefile.
18741 * nss/nss_db/db-XXX.c: Cleanup.
18743 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18744 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18746 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18747 * nss/makedb.c: Implement -g option to specify that value strings
18748 are generated and should not be added to table iterated over for
18750 * nss/nss_db/db-initgroups.c: New file.
18752 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18755 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18756 (internal_getgrouplist): Adjust to name change.
18757 Update use_initgroups_entry if this is not the first call.
18758 * nss/databases.def: Add initgroups entry.
18760 * nss/makedb.c (compute_tables): Check result of multiple hash table
18761 sizes to minimize maximum chain length.
18763 2011-06-14 Ulrich Drepper <drepper@gmail.com>
18765 * Versions.def: Add entry for libnss_db.
18766 * shlib-versions: Likewise.
18767 * nss/Makefile: Add rules to build libnss_db.
18768 * nss/Versions: Add libnss_db information. Organize libnss_files
18770 * nss/db-Makefile: Add gshadow support. Change rules for the new
18771 makedb progra. Some minor improvements to generate smaller files.
18772 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18774 * nss/makedb.c: ...here.
18775 Improve database format to be smaller and require less memory at
18777 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18779 * nss/nss_db/db-netgrp.c: Likewise.
18780 * nss/nss_db/db-open.c: Likewise.
18781 * nss/nss_files/flies-XXX.x: Adjust comments.
18782 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18783 * nss/nss_files/files-grp.c: Likewise.
18784 * nss/nss_files/files-hosts.c: Likewise.
18785 * nss/nss_files/files-network.c: Likewise.
18786 * nss/nss_files/files-proto.c: Likewise.
18787 * nss/nss_files/files-pwd.c: Likewise.
18788 * nss/nss_files/files-rpc.c: Likewise.
18789 * nss/nss_files/files-service.c: Likewise.
18790 * nss/nss_files/files-sgrp.c: Likewise.
18791 * nss/nss_files/files-spwd.c: Likewise.
18792 * nss/nss_db/db-alias.c: Removed.
18793 * nss/nss_db/dummy-db.h: Removed.
18795 2011-06-02 Ulrich Drepper <drepper@gmail.com>
18797 * nss/makedb.c: Rewritten to not use database library.
18798 * nss/Makefile: Update to build new makedb program.
18800 2011-06-14 Andreas Jaeger <aj@suse.de>
18802 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18803 memset declaration.
18805 2011-06-10 Andreas Schwab <schwab@redhat.com>
18807 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18810 2011-06-10 Roland McGrath <roland@hack.frob.com>
18812 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18813 * elf/Makefile ($(objpfx)ld.so): Likewise.
18815 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18816 Don't list ld.so twice in dependencies.
18818 * posix/bug-regex31.c: Include <stdlib.h>.
18820 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18822 * nis/nss_compat/compat-spwd.c
18823 (getspent_next_nss_netgr): Remove unused variable.
18824 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18826 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18827 nonmembers" output to use the right array.
18829 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18831 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18833 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18834 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18835 * catgets/gencat.c (read_input_file): Likewise.
18836 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18838 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18839 variable definition inside #if's controlling its use.
18841 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18843 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18845 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18847 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18850 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18852 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18853 * configure: Regenerated.
18855 * Makerules: Revert last change.
18856 * elf/Makefile: Likewise.
18858 2011-06-09 Roland McGrath <roland@hack.frob.com>
18860 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18861 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18862 (reloc-link): Likewise.
18864 2011-06-09 Ulrich Drepper <drepper@gmail.com>
18866 * elf/Makefile: Add rules to build pldd.
18867 * elf/pldd.c: New file.
18868 * elf/pldd-xx.c: New file.
18870 2011-06-07 Ulrich Drepper <drepper@gmail.com>
18872 * version.h: Update for 2.15 development version.
18874 2011-06-07 David S. Miller <davem@davemloft.net>
18876 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18878 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18879 elf_machine_lazy_rel): Likewise.
18880 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18881 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18882 elf_machine_lazy_rel): Likewise.
18883 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18884 dl_hwcap via passed in argument.
18885 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18888 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18890 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18892 2011-06-06 Roland McGrath <roland@hack.frob.com>
18895 * manual/fdl-1.1.texi: New file, verbatim from:
18896 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18897 * manual/lgpl-2.1.texi: New file, verbatim from:
18898 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18899 * manual/Makefile (licenses): New variable, list those new file names.
18901 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18903 * manual/fdl.texi: File removed.
18904 * manual/lesser.texi: File removed.
18905 * manual/libc.texinfo (Copying, Documentation License):
18906 Use new @include file names, put @appendix directive before @include.
18908 2011-06-04 Jakub Jelinek <jakub@redhat.com>
18911 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18912 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18913 (mq_open): Add __NTH.
18915 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18918 Assume Intel Core i3/i5/i7 processor if AVX is available.
18920 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18922 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18925 2011-05-31 Andreas Schwab <schwab@redhat.com>
18927 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18928 memory. Use alloca_account. Fix memory leak when retrying.
18930 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18932 * version.h (RELEASE): Bump for 2.14 release.
18933 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18935 * config.make.in (RANLIB): Remove entry.
18937 2011-05-30 Ulrich Drepper <drepper@gmail.com>
18939 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18940 (libc.pot): Work around missing support for .ksh extension in xgettext.
18943 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18944 if both request failed.
18945 (send_dg): In case of server errors clear resplen or *resplen2.
18948 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18949 when there are multiple maps.
18950 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18951 (_dl_fini): Remove test here.
18953 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18955 2011-05-29 Ulrich Drepper <drepper@gmail.com>
18958 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18959 bit from old_res_options.
18960 (gaih_inet): Likewise.
18963 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
18966 * resolv/res_init.c (res_setoptions): Make the code more compact.
18969 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18973 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18975 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18978 * malloc/malloc.h: Declare malloc hook variables as volatile.
18980 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18984 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
18985 raise in the comment.
18986 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18987 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18988 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
18990 2011-05-28 Ulrich Drepper <drepper@gmail.com>
18993 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18994 grow the buffers more if it already has to be sufficient.
18995 (build_wcs_upper_buffer): Likewise.
18996 * posix/regexec.c (check_matching): Likewise.
18997 (clean_state_log_if_needed): Likewise.
18998 (extend_buffers): Don't enlarge buffers beyond size of the input
19000 Patches mostly by Emil Wojak <emil@wojak.eu>.
19001 * posix/bug-regex32.c: New file.
19002 * posix/Makefile (tests): Add bug-regex32.
19004 * locale/findlocale.c (_nl_find_locale): Return right away if
19005 _nl_explode_name failed.
19006 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19008 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19010 * debug/xtrace.sh: Unify messages.
19011 * malloc/memusage.sh: Likewise.
19014 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19015 time symbol from vDSO. Substitute with vsyscall if not available.
19016 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19019 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19020 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19021 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19022 Add sendmmsg and internal_sendmmsg.
19023 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19024 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19025 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19027 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19028 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19029 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19031 2011-05-27 Ulrich Drepper <drepper@gmail.com>
19034 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19035 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19037 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19041 * iconvdata/Makefile (tests): Add bug-iconv9.
19042 * iconvdata/bug-iconv9.c: New file.
19044 2011-05-27 Andreas Schwab <schwab@redhat.com>
19047 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19049 2011-05-25 Jakub Jelinek <jakub@redhat.com>
19051 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19052 (struct user_regs_struct): Change intcs field back to cs.
19054 2011-05-25 Ulrich Drepper <drepper@gmail.com>
19056 * po/ja.po: Update from translation team.
19058 2011-05-23 Ulrich Drepper <drepper@gmail.com>
19061 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19062 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19064 2011-05-20 Andreas Schwab <schwab@redhat.com>
19066 * stdlib/longlong.h: Update from GCC.
19068 2011-05-23 Andreas Schwab <schwab@redhat.com>
19070 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19072 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19073 Add parameter name.
19074 (__sysconf): Pass it down.
19076 2011-05-22 Ulrich Drepper <drepper@gmail.com>
19079 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19081 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19082 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19083 add in in __libc_use_alloca calls. Adjust callers.
19084 (glob): Use malloc in some situations.
19086 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19087 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19090 2011-05-21 Ulrich Drepper <drepper@gmail.com>
19092 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19093 and CLOCK_BOOTTIME_ALARM.
19096 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19099 * string/_strerror.c (__strerror_r): Print negative errors as signed
19103 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19104 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19105 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19107 * configure.in: Fix typo in redirection and correct removal of test
19108 files in two cases.
19111 * locale/setlocale.c (new_composite_name): Fix test to check for
19112 identical name of all categories.
19115 * libio/filedoalloc.c (local_isatty): New function.
19116 (_IO_file_doallocate): Use local_isatty.
19117 * stdio-common/perror.c (perror): In case a new stream is used
19118 forward the stream error.
19119 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19122 2011-05-20 Ulrich Drepper <drepper@gmail.com>
19125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19127 * include/alloca.h (extend_alloca_account): Define.
19130 * posix/regex.h: Fix comments with documentation of user-accessible
19131 fields after compilation and describe correct free'ing of pattern
19132 after re_compile_pattern.
19133 Patch by Reuben Thomas <rrt@sc3d.org>.
19135 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19137 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19138 and -mno-altivec to prevent the compiler from using Altivec and/or
19139 VSX instructions when the corresponding registers are not available.
19141 2011-05-19 Andreas Schwab <schwab@redhat.com>
19143 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19145 2011-05-19 Ulrich Drepper <drepper@gmail.com>
19147 * libio/freopen.c (freopen): Use __dup2, not dup2.
19148 * libio/freopen64.c (freopen64): Likewise.
19150 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19153 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19154 * math/Makefile (tests): Add test-powl.
19155 (CFLAGS-test-powl.c): Define.
19156 * math/test-powl.c: New file.
19158 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19160 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19162 2011-05-17 Ulrich Drepper <drepper@gmail.com>
19165 * iconvdata/gb18030.c: Update to GB18020-2005.
19167 2011-05-16 Ulrich Drepper <drepper@gmail.com>
19169 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19170 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19171 Patch by Aharon Robbins <arnold@skeeve.com>.
19174 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19178 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19179 through underflows.
19182 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19183 point to strings before performing equality test for error_one_per_line
19187 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19190 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19191 (struct user_fpregs_struct): Avoid __uint*_t types.
19194 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19195 symbol info. Use it instead of calling _dl_addr locally.
19196 (lock_and_info): New function.
19197 (tr_freehook): Call lock_and_info and pass symbol info as additional
19198 parameter to tr_where.
19199 (tr_mallochook): Likewise.
19200 (tr_reallochook): Likewise.
19201 (tr_memalignhook): Likewise.
19203 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19204 used and couldn't be at all thread-safe.
19206 2011-05-15 Ulrich Drepper <drepper@gmail.com>
19208 * libio/freopen.c (freopen): Don't close old file descriptor
19209 before the new one is opened. Instead dup the new file descriptor
19210 to the old one after the new stream is created.
19211 * libio/freopen64.c (freopen64): Likewise.
19212 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19213 * libio/fileops.c (_IO_new_file_close_it): Handle new
19214 _IO_FLAGS2_NOCLOSE flag.
19215 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19216 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19217 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19218 _IO_FLAGS2_NOCLOSE flag.
19219 * include/unistd.h: Add hidden_proto for dup3.
19220 Define __have_dup3.
19221 * io/dup3.c: Define hidden symbol.
19222 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19225 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19226 when an incomplete long option is used.
19227 * posix/tst-getopt_long1.c: New file.
19228 * posix/Makefile (tests): Add tst-getopt_long1.
19231 * scripts/config.guess: Update from autoconf-2.68.
19232 * scripts/config.sub: Likewise.
19235 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19237 (has_cpuclock): ...this. New function.
19238 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19239 macro here based on has_cpuclock code.
19242 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19243 First byte (not low byte) is now always NUL.
19244 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19246 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19247 Use non-cancelable interfaces.
19250 * locale/iso-639.def: Add entry for Sorani.
19253 * include/stdlib.h: Move include protection to the right place.
19254 Define abort_msg_s. Declare __abort_msg with it.
19255 * stdlib/abort.c (__abort_msg): Adjust type.
19256 * assert/assert.c (__assert_fail_base): New function. Majority
19257 of code from __assert_fail. Allocate memory for __abort_msg with
19259 (__assert_fail): Now call __assert_fail_base.
19260 * assert/assert-perr.c: Remove bulk of implementation. Use
19261 __assert_fail_base.
19262 * include/assert.hL Declare __assert_fail_base.
19263 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19265 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19267 2011-05-14 Ulrich Drepper <drepper@gmail.com>
19271 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19272 until all modules are registered in the DTV.
19273 * elf/Makefile: Add rules to build and run tst-tls19.
19274 * elf/tst-tls19.c: New file.
19275 * elf/tst-tls19mod1.c: New file.
19276 * elf/tst-tls19mod2.c: New file.
19277 * elf/tst-tls19mod3.c: New file.
19278 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19281 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19285 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19286 two-byte sequence errors.
19287 * iconvdata/Makefile (tests): Add bug-iconv8.
19288 * iconvdata/bug-iconv8.c: New file.
19291 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19294 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19297 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19298 (dummy_getcfa): New function.
19299 (init): Get _Unwind_GetCFA address, use dummy if not found.
19300 (backtrace_helper): In recursion check, also check whether CFA changes.
19301 (__backtrace): Completely initialize arg.
19303 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
19304 storing incomplete byte sequence in state object. Avoid testing for
19305 guaranteed too small input if we know there is enough data available.
19307 2011-05-11 Andreas Schwab <schwab@redhat.com>
19309 * Makeconfig (+link-pie): Indent.
19310 * Rules (binaries-pie): Define if $(have-fpie) and
19312 (binaries-shared): Also filter out $(binaries-pie).
19313 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19314 * nscd/Makefile (others-pie): Add nscd.
19315 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19316 ($(objpfx)nscd): Remove command override.
19317 * login/Makefile (others-pie): Add pt_chown.
19318 ($(objpfx)pt_chown): Remove command override.
19319 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19320 remove command overrides.
19322 2011-05-13 Ulrich Drepper <drepper@gmail.com>
19324 * libio/tst_putwc.c: Fix error messages.
19327 * libio/fileops.c (_IO_new_file_close_it): Always flush when
19328 currently writing and seek to current position when not.
19329 * libio/Makefile (tests): Add bug-fclose1.
19330 * libio/bug-fclose1.c: New file.
19332 2011-05-12 Ulrich Drepper <drepper@gmail.com>
19335 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
19336 don't set DF_1_NODELETE here.
19337 (do_lookup_x): When entering new entry test for copy relocation
19338 and if necessary set DF_1_NODELETE flag.
19339 * elf/tst-unique4.cc: New file.
19340 * elf/tst-unique4.h: New file.
19341 * elf/tst-unique4lib.cc: New file.
19342 * elf/Makefile: Add rules to build and run tst-unique4.
19343 Patch by Piotr Bury <pbury@goahead.com>.
19345 2011-05-11 Ulrich Drepper <drepper@gmail.com>
19348 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
19351 * misc/mntent_r.c (addmntent): Flush the stream after the output
19354 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
19355 (is_trusted_path_normalize): Skip initial colon. Append slash
19356 to empty buffer. Duplicate is_trusted_path code but allow
19357 constructed patch to be prefix.
19358 (is_dst): Allow $ORIGIN followed by /.
19359 (_dl_dst_substitute): Correct clearing of check_for_trusted.
19360 Correct testing of result of is_trusted_path_normalize
19361 (decompose_rpath): Fix warning.
19363 2011-05-10 Ulrich Drepper <drepper@gmail.com>
19366 * grp/initgroups.c (internal_getgrouplist): When we found the service
19367 list through the initgroups entry in nsswitch.conf do not always
19368 continue on a successful lookup. Don't always use the
19369 __nss_group_database value if it is set.
19370 * nss/nsswitch.conf (initgroups): Change action for successful db
19371 lookup to continue for compatibility.
19373 2011-05-09 Ulrich Drepper <drepper@gmail.com>
19376 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
19378 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
19380 * iconvdata/tst-tables.sh: Likewise.
19381 * iconvdata/cp770.c: New file.
19382 * iconvdata/cp771.c: New file.
19383 * iconvdata/cp772.c: New file.
19384 * iconvdata/cp773.c: New file.
19385 * iconvdata/cp774.c: New file.
19386 * iconvdata/testdata/CP770: New file.
19387 * iconvdata/testdata/CP770..UTF8: New file.
19388 * iconvdata/testdata/CP771: New file.
19389 * iconvdata/testdata/CP771..UTF8: New file.
19390 * iconvdata/testdata/CP772: New file.
19391 * iconvdata/testdata/CP772..UTF8: New file.
19392 * iconvdata/testdata/CP773: New file.
19393 * iconvdata/testdata/CP773..UTF8: New file.
19394 * iconvdata/testdata/CP774: New file.
19395 * iconvdata/testdata/CP774..UTF8: New file.
19397 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
19399 * iconvdata/gen-8bit-gap.sh: Likewise.
19400 * iconvdata/gen-8bit.sh: Likewise.
19402 * locale/iso-639.def: Add ary entry.
19405 * locale/C-translit.h.in: Add U20A1 transliteration.
19408 * locale/iso-639.def: Add wae entry.
19409 Patch by Kevin Bortis <bortis@translate-wae.ch>.
19412 * locale/programs/localedef.c (construct_output_path): Use ssize_t
19416 * locale/C-translit.h.in: Add entry for U20B9.
19417 Patch by pravin.d.s@gmail.com.
19419 2011-05-08 Ulrich Drepper <drepper@gmail.com>
19422 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
19423 ENAMETOOLONG use generic getcwd.
19424 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
19425 in rtld. Use *stat64.
19426 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
19427 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
19428 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
19429 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
19430 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
19431 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
19432 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
19433 __fstatat64 macros.
19434 * include/dirent.h: Add libc_hidden_proto for rewinddir.
19435 * dirent/rewinddir.c: Add libc_hidden_def.
19436 * sysdeps/mach/hurd/rewinddir.c: Likewise.
19437 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
19439 * include/dirent.h (__alloc_dir): Add flags parameter.
19440 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
19441 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
19443 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
19444 from fdopendir if O_CLOEXEC is already set.
19446 2011-03-15 Alan Modra <amodra@gmail.com>
19448 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
19449 l_tls_firstbyte_offset non-zero. Save padding offset in
19450 l_tls_firstbyte_offset for later use.
19451 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
19452 freeing static tls block.
19454 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
19456 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
19457 where #ifdef was intended. The intent is to prevent ARG_MAX from
19458 being defined by the kernel headers.
19460 2011-05-07 Ulrich Drepper <drepper@gmail.com>
19463 * resolv/resolv.h: Define RES_NOTLDQUERY.
19464 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
19465 no-tld-query and set RES_NOTLDQUERY.
19466 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
19467 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
19468 modern BIND to search name as TLD unless forbidden.
19470 2011-05-07 Petr Baudis <pasky@suse.cz>
19471 Ulrich Drepper <drepper@gmail.com>
19474 * elf/dl-load.c (fillin_rpath): Move trusted path check...
19475 (is_trusted_path): ...to here.
19476 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
19477 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
19478 using is_trusted_path_normalize() in setuid scripts.
19480 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19482 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
19483 __BEGIN/__END_DECLS.
19485 2011-05-06 Ulrich Drepper <drepper@gmail.com>
19487 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
19488 NSS_STATUS_NOTFOUND if no record was found.
19490 2011-05-05 Andreas Schwab <schwab@redhat.com>
19492 * sunrpc/Makefile (headers): Add rpc/netdb.h.
19493 (headers-not-in-tirpc): Remove rpc/netdb.h
19494 * resolv/netdb.h: Revert last change.
19496 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19498 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
19499 circular dependency between libgcc.a and libc.a.
19501 2011-05-05 Andreas Schwab <schwab@redhat.com>
19503 * resolv/netdb.h: Don't include <rpc/netdb.h>.
19504 * nis/Makefile: Don't install rpcsvc/*.
19505 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
19506 instead of <rpc/types.h>.
19507 (MAXHOSTNAMELEN): Define.
19509 2011-05-03 Andreas Schwab <schwab@redhat.com>
19511 * elf/ldconfig.c (add_dir): Don't crash on empty path.
19513 2011-04-28 Maciej Babinski <mbabinski@google.com>
19516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
19517 gethostbyname4_r when IPv6 results are possible.
19519 2011-05-02 Ulrich Drepper <drepper@gmail.com>
19522 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
19523 _PC_PIPE_BUF handling.
19525 2011-04-30 Bruno Haible <bruno@clisp.org>
19528 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
19529 * resolv/netdb.h (getnameinfo): Change type of flags parameter
19531 * inet/getnameinfo.c (getnameinfo): Likewise.
19533 2011-04-29 Ulrich Drepper <drepper@gmail.com>
19535 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
19536 to groups setting in database lookup.
19537 * nss/nsswitch.conf: Add initgroups entry.
19539 2011-04-22 Ulrich Drepper <drepper@gmail.com>
19542 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
19544 Patch by Eric Blake <eblake@redhat.com>.
19546 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
19548 * sunrpc/Makefile (need-export-routines): Add svc_run.
19549 (routines): Remove svc_run.
19550 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
19551 * sunrpc/clnt_perr.c (clnt_perrno): Export.
19552 * sunrpc/svc_run.c (svc_run): Likewise.
19553 * sunrpc/svc_udp.c (svcudp_create): Likewise.
19555 2011-04-21 Ulrich Drepper <drepper@gmail.com>
19557 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
19558 problem in reallocation in last patch.
19560 2011-04-20 Ulrich Drepper <drepper@gmail.com>
19562 * sunrpc/Makefile: Move inclusion of Rules.
19564 2011-04-19 Ulrich Drepper <drepper@gmail.com>
19566 * nss/nss_files/files-initgroups.c: New file.
19567 * nss/Makefile (libnss_files-routines): Add files-initgroups.
19568 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
19569 _nss_files_initgroups_dyn.
19571 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
19573 * elf/elf.h (R_ARM_IRELATIVE): Define.
19575 2011-04-19 Ulrich Drepper <drepper@gmail.com>
19577 * po/ru.po: Update from translation team.
19579 2011-04-17 Ulrich Drepper <drepper@gmail.com>
19581 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
19584 2011-02-06 Mike Frysinger <vapier@gentoo.org>
19587 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
19588 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
19589 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19590 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19591 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19593 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
19595 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
19597 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19598 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19599 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19601 2011-04-17 Ulrich Drepper <drepper@gmail.com>
19604 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
19606 * stdlib/bug-getcontext.c: New file.
19607 * stdlib/Makefile: Add rules to build and run bug-getcontext.
19609 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19611 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
19612 instructions into .machine "z9-109".
19613 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19614 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19616 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19618 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
19619 between environment variables and auxiliary vector.
19621 2011-04-16 Ulrich Drepper <drepper@gmail.com>
19623 * Makefile: Add rules to build linkobj/libc.so.
19624 * include/libc-symbols.h: Define libc_hidden_nolink.
19625 * include/rpc/auth.h: Mark functions which are to be hidden.
19626 * include/rpc/auth_des.h: Likewise.
19627 * include/rpc/auth_unix.h: Likewise.
19628 * include/rpc/clnt.h: Likewise.
19629 * include/rpc/des_crypt.h: Likewise.
19630 * include/rpc/key_prot.h: Likewise.
19631 * include/rpc/pmap_clnt.h: Likewise.
19632 * include/rpc/pmap_prot.h: Likewise.
19633 * include/rpc/pmap_rmt.h: Likewise.
19634 * include/rpc/rpc_msg.h: Likewise.
19635 * include/rpc/svc.h: Likewise.
19636 * include/rpc/svc_auth.h: Likewise.
19637 * include/rpc/xdr.h: Likewise.
19638 * nis/Makefile: Link all DSOs against linkobj/libc.so.
19639 * nss/Makefile: Likewise.
19640 * sunrpc/Makefile: Don't install headers. Build library with normal
19641 entry points. Don't build rpcinfo. Link RPC tests appropriately.
19642 * sunrpc/auth_des.c: Hide exported symbols by default, export some
19643 for the compat linking library. Remove use of INTDEF/INTUSE.
19644 * sunrpc/auth_none.c: Likewise.
19645 * sunrpc/auth_unix.c: Likewise.
19646 * sunrpc/authdes_prot.c: Likewise.
19647 * sunrpc/authuxprot.c: Likewise.
19648 * sunrpc/clnt_gen.c: Likewise.
19649 * sunrpc/clnt_perr.c: Likewise.
19650 * sunrpc/clnt_raw.c: Likewise.
19651 * sunrpc/clnt_simp.c: Likewise.
19652 * sunrpc/clnt_tcp.c: Likewise.
19653 * sunrpc/clnt_udp.c: Likewise.
19654 * sunrpc/clnt_unix.c: Likewise.
19655 * sunrpc/des_crypt.c: Likewise.
19656 * sunrpc/des_soft.c: Likewise.
19657 * sunrpc/get_myaddr.c: Likewise.
19658 * sunrpc/key_call.c: Likewise.
19659 * sunrpc/key_prot.c: Likewise.
19660 * sunrpc/netname.c: Likewise.
19661 * sunrpc/pm_getmaps.c: Likewise.
19662 * sunrpc/pm_getport.c: Likewise.
19663 * sunrpc/pmap_clnt.c: Likewise.
19664 * sunrpc/pmap_prot.c: Likewise.
19665 * sunrpc/pmap_prot2.c: Likewise.
19666 * sunrpc/pmap_rmt.c: Likewise.
19667 * sunrpc/publickey.c: Likewise.
19668 * sunrpc/rpc_cmsg.c: Likewise.
19669 * sunrpc/rpc_common.c: Likewise.
19670 * sunrpc/rpc_dtable.c: Likewise.
19671 * sunrpc/rpc_prot.c: Likewise.
19672 * sunrpc/rpc_thread.c: Likewise.
19673 * sunrpc/rtime.c: Likewise.
19674 * sunrpc/svc.c: Likewise.
19675 * sunrpc/svc_auth.c: Likewise.
19676 * sunrpc/svc_authux.c: Likewise.
19677 * sunrpc/svc_raw.c: Likewise.
19678 * sunrpc/svc_run.c: Likewise.
19679 * sunrpc/svc_simple.c: Likewise.
19680 * sunrpc/svc_tcp.c: Likewise.
19681 * sunrpc/svc_udp.c: Likewise.
19682 * sunrpc/svc_unix.c: Likewise.
19683 * sunrpc/svcauth_des.c: Likewise.
19684 * sunrpc/xcrypt.c: Likewise.
19685 * sunrpc/xdr.c: Likewise.
19686 * sunrpc/xdr_array.c: Likewise.
19687 * sunrpc/xdr_float.c: Likewise.
19688 * sunrpc/xdr_intXX_t.c: Likewise.
19689 * sunrpc/xdr_mem.c: Likewise.
19690 * sunrpc/xdr_rec.c: Likewise.
19691 * sunrpc/xdr_ref.c: Likewise.
19692 * sunrpc/xdr_sizeof.c: Likewise.
19693 * sunrpc/xdr_stdio.c: Likewise.
19695 2011-04-10 Ulrich Drepper <drepper@gmail.com>
19698 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19699 * sysdeps/ia64/dl-tls.h: Likewise.
19700 * sysdeps/powerpc/dl-tls.h: Likewise.
19701 * sysdeps/s390/dl-tls.h: Likewise.
19702 * sysdeps/sh/dl-tls.h: Likewise.
19703 * sysdeps/sparc/dl-tls.h: Likewise.
19704 * sysdeps/x86_64/dl-tls.h: Likewise.
19705 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19707 2011-03-14 Andreas Schwab <schwab@redhat.com>
19709 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19710 rpath element also skip the following colon.
19711 (expand_dynamic_string_token): Add is_path parameter and pass
19712 down to DL_DST_REQUIRED and _dl_dst_substitute.
19713 (decompose_rpath): Call expand_dynamic_string_token with
19714 non-zero is_path. Ignore empty rpaths.
19715 (_dl_map_object_from_fd): Call expand_dynamic_string_token
19718 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
19720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19723 2011-04-09 Ulrich Drepper <drepper@gmail.com>
19726 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19727 Patch by Filipe David Manana <fdmanana@apache.org>.
19729 2011-04-07 Andreas Schwab <schwab@redhat.com>
19731 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19732 Maintain aligned stack.
19733 (CHECK_RSP): Remove unused macro.
19735 2011-04-03 Ulrich Drepper <drepper@gmail.com>
19737 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19738 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19740 2011-04-02 Ulrich Drepper <drepper@gmail.com>
19742 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19744 * include/features.h: Mention __USE_XOPEN2K8 in comment.
19746 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
19749 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19750 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19751 * sysdeps/x86_64/memmove.c: New file.
19752 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19753 (memcpy): Renamed to ...
19754 (__new_memcpy): This.
19755 (memcpy): Provide GLIBC_2_14 memcpy.
19756 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19757 (memcpy): Provide GLIBC_2_2_5 memcpy.
19759 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19762 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19764 2011-03-30 Andreas Schwab <schwab@redhat.com>
19766 * misc/syncfs.c: New file.
19767 * misc/Makefile (routines): Add syncfs.
19768 * posix/unistd.h: Declare syncfs.
19769 * sysdeps/unix/syscalls.list: Add syncfs.
19771 2011-04-01 Andreas Schwab <schwab@redhat.com>
19773 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19775 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19776 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19777 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19778 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19779 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19780 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19781 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19783 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19785 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19786 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19787 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19788 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19789 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19791 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19793 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19794 sync_file_range.c with -fexceptions.
19795 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19796 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19797 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19798 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19799 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19800 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19801 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
19802 sync_file_range as cancellation point
19803 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19804 now a wrapper around __call_sync_file_range with cancellation handling.
19805 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19806 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19807 function name to __call_sync_file_range.
19808 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19809 Add call_sync_file_range.
19811 2011-04-01 Andreas Schwab <schwab@redhat.com>
19813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19816 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19818 * iconv/iconv.h: Fix typo in comment.
19819 * io/fcntl.h: Likewise.
19820 * libio/stdio.h: Likewise.
19821 * posix/spawn.h: Likewise.
19822 * posix/unistd.h: Likewise.
19823 * stdlib/stdlib.h: Likewise.
19824 * time/time.h: Likewise.
19825 * wcsmbs/wchar.h: Likewise.
19827 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19828 open_by_handle): Add.
19829 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19830 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19831 Augment a few comments.
19832 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19833 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19834 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19835 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19836 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19837 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19840 * io/fcntl.h (AT_EMPTY_PATH): Define.
19842 2011-03-30 Ulrich Drepper <drepper@gmail.com>
19844 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19845 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19846 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19848 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
19849 * Versions.def: Add GLIBC_2.14.
19850 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19853 2011-03-22 Ulrich Drepper <drepper@gmail.com>
19855 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19857 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19859 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19862 * string/test-strncmp.c (do_page_test): New function.
19863 (check2): Likewise.
19864 (test_main): Call check2.
19865 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19867 2011-03-20 Ulrich Drepper <drepper@gmail.com>
19870 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19871 Handle cache information in CPU leaf 4.
19872 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19874 2011-03-18 Ulrich Drepper <drepper@gmail.com>
19877 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19878 character representation.
19879 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19881 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19883 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19884 END(__isnan) to END(__isnanf) to match function entry point/label
19885 EALIGN(__isnanf,...).
19887 2011-03-10 Jakub Jelinek <jakub@redhat.com>
19889 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19891 2011-03-10 Ulrich Drepper <drepper@gmail.com>
19894 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19895 copy from the symbol referenced in the relocation to initialize the
19897 Patch by Piotr Bury <pbury@goahead.com>.
19898 * elf/Makefile: Add rules to build and tst-unique3.
19899 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19900 * elf/tst-unique3.cc: New file.
19901 * elf/tst-unique3.h: New file.
19902 * elf/tst-unique3lib.cc: New file.
19903 * elf/tst-unique3lib2.cc: New file.
19905 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19907 2011-03-10 Mike Frysinger <vapier@gentoo.org>
19909 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19910 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19913 2011-03-06 Ulrich Drepper <drepper@gmail.com>
19915 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19916 to-be-loaded object along a path to loader is ld.so.
19918 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19919 Ulrich Drepper <drepper@gmail.com>
19921 * sysdeps/x86_64/memset.S: After aligning destination, code
19922 branches to different locations depending on the value of
19923 misalignment, when multiarch is enabled. Fix this.
19925 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19927 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19928 Set _x86_64_preferred_memory_instruction for AMD processsors.
19929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19930 Set bit_Prefer_SSE_for_memop for AMD processors.
19932 2011-03-04 Ulrich Drepper <drepper@gmail.com>
19934 * libio/fmemopen.c (fmemopen): Optimize a bit.
19936 2011-03-03 Andreas Schwab <schwab@redhat.com>
19938 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19940 2011-03-03 Roland McGrath <roland@redhat.com>
19942 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19944 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19946 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
19947 __bzero_ultra1 instead of __memset_ultra1.
19949 2011-02-23 Andreas Schwab <schwab@redhat.com>
19950 Ulrich Drepper <drepper@gmail.com>
19953 * include/link.h (struct link_map): Add l_orig_initfini.
19954 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19955 returning unsuccessfully.
19956 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19957 close of a file loaded at startup, restore the original l_initfini
19959 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19960 list, store the pointer.
19961 * elf/Makefile ($(objpfx)noload-mem): New rule.
19962 (noload-ENV): Define.
19963 (tests): Add $(objpfx)noload-mem.
19964 * elf/noload.c: Include <memcheck.h>.
19965 (main): Call mtrace. Close all opened handles.
19967 2011-02-17 Andreas Schwab <schwab@redhat.com>
19970 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19971 dependencies are missing.
19973 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19975 Fix __if_freereq crash: Unlike the generic version which uses free,
19977 * sysdeps/mach/hurd/ifreq.h: New file.
19979 2011-01-27 Petr Baudis <pasky@suse.cz>
19980 Ulrich Drepper <drepper@gmail.com>
19983 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19984 to extend_alloca().
19985 * stdio-common/bug23.c: New file.
19986 * stdio-common/Makefile (tests): Add bug23.
19988 2010-09-28 Andreas Schwab <schwab@redhat.com>
19989 Ulrich Drepper <drepper@gmail.com>
19992 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19993 before performing relro protection. At old place add assertion
19994 to make sure nothing changed.
19996 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19997 Glauber de Oliveira Costa <glommer@gmail.com>
19999 * elf/elf.h: Add new ARM TLS relocs.
20001 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20004 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20006 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20008 * sysdeps/wordsize-64/tst-writev.c: New file.
20010 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20012 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20013 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20014 insns in _dl_start to prevent a TOC reference before relocs are
20017 2011-02-15 Ulrich Drepper <drepper@gmail.com>
20020 * Makeconfig: Remove RANLIB definition.
20021 * Makerules: Don't use RANLIB.
20022 * aclocal.m4: Remove ranlib test.
20023 * configure.in: No need to check for ranlib.
20024 * elf/rtld-Rules: Don't use RANLIB.
20026 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20028 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20030 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20031 inclusion protection macro.
20033 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20034 SIGRTMIN and SIGRTMAX and print information in that case only when
20035 SIGRTMIN is defined.
20037 2011-02-11 Jakub Jelinek <jakub@redhat.com>
20039 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20040 arginfo fn returning -1.
20042 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20043 and thousands string is zero terminated.
20045 2011-02-03 Andreas Schwab <schwab@redhat.com>
20047 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20048 sysdeps/unix/sysv/linux/bits/socket.h.
20050 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20052 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20053 (__CPU_COUNT): Remove old macros.
20054 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20055 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20056 (__CPU_ALLOC, __CPU_FREE): Add macros.
20057 (__sched_cpualloc, __sched_cpufree): Add declarations.
20059 2011-02-05 Ulrich Drepper <drepper@gmail.com>
20061 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20062 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20063 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20064 (readdhstai): Return value of addhstaiX call.
20065 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20066 (addgrbyX): Return value returned by cache_addgr.
20067 (readdgrbyname): Return value returned by addgrbyX.
20068 (readdgrbygid): Likewise.
20069 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20070 (addpwbyX): Return value returned by cache_addpw.
20071 (readdpwbyname): Return value returned by addhstbyX.
20072 (readdpwbyuid): Likewise.
20073 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20074 (addservbyX): Return value returned by cache_addserv.
20075 (readdservbyname): Return value returned by addservbyX:
20076 (readdservbyport): Likewise.
20077 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20078 (addhstbyX): Return value returned by cache_addhst.
20079 (readdhstbyname): Return value returned by addhstbyX.
20080 (readdhstbyaddr): Likewise.
20081 (readdhstbynamev6): Likewise.
20082 (readdhstbyaddrv6): Likewise.
20083 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20084 (readdinitgroups): Return value returned by addinitgroupsX.
20085 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20086 (prune_cache): Keep track of timeout value of re-added entries.
20087 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20088 * nscd/nscd.h: Adjust prototypes of readd* functions.
20090 2011-02-04 Roland McGrath <roland@redhat.com>
20092 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20093 (nis_stats): Likewise.
20094 * nis/nis_modify.c (nis_modify): Likewise.
20095 * nis/nis_remove.c (nis_remove): Likewise.
20096 * nis/nis_add.c (nis_add): Likewise.
20098 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20100 * posix/fnmatch_loop.c: Add some consts.
20102 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20104 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20107 * config.make.in (config-cflags-novzeroupper): Define.
20108 * configure.in: Substitute libc_cv_cc_novzeroupper.
20109 * elf/Makefile (AVX-CFLAGS): Define.
20110 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20111 (CFLAGS-tst-auditmod4a.c): Likewise.
20112 (CFLAGS-tst-auditmod4b.c): Likewise.
20113 (CFLAGS-tst-auditmod6b.c): Likewise.
20114 (CFLAGS-tst-auditmod6c.c): Likewise.
20115 (CFLAGS-tst-auditmod7b.c): Likewise.
20116 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20118 2011-02-02 Ulrich Drepper <drepper@gmail.com>
20120 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20121 function to the callback.
20122 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20124 2011-02-02 Andreas Schwab <schwab@redhat.com>
20126 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20129 2011-01-19 Ulrich Drepper <drepper@gmail.com>
20132 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20134 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20136 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20139 * elf/Makefile: Add rules to build and run new test.
20140 * elf/tst-initorder.c: New file.
20141 * elf/tst-initorder.exp: New file.
20142 * elf/tst-initordera1.c: New file.
20143 * elf/tst-initordera2.c: New file.
20144 * elf/tst-initordera3.c: New file.
20145 * elf/tst-initordera4.c: New file.
20146 * elf/tst-initorderb1.c: New file.
20147 * elf/tst-initorderb2.c: New file.
20148 * elf/tst-order-a1.c: New file.
20149 * elf/tst-order-a2.c: New file.
20150 * elf/tst-order-a3.c: New file.
20151 * elf/tst-order-a4.c: New file.
20152 * elf/tst-order-b1.c: New file.
20153 * elf/tst-order-b2.c: New file.
20154 * elf/tst-order-main.c: New file.
20155 New test case by George Gensure <werkt0@gmail.com>.
20157 2010-10-01 Andreas Schwab <schwab@redhat.com>
20159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20160 decoding ACE if AI_CANONIDN.
20162 2011-01-18 Ulrich Drepper <drepper@gmail.com>
20164 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20166 2011-01-17 Ulrich Drepper <drepper@gmail.com>
20168 * version.h (RELEASE): Bump for 2.13 release.
20169 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20171 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20173 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20175 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20176 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20177 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20178 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20179 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20180 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20182 * posix/getconf.c: Update copyright year.
20183 * catgets/gencat.c: Likewise.
20184 * csu/version.c: Likewise.
20185 * debug/catchsegv.sh: Likewise.
20186 * debug/xtrace.sh: Likewise.
20187 * elf/ldconfig.c: Likewise.
20188 * elf/ldd.bash.in: Likewise.
20189 * elf/sprof.c (print_version): Likewise.
20190 * iconv/iconv_prog.c: Likewise.
20191 * iconv/iconvconfig.c: Likewise.
20192 * locale/programs/locale.c: Likewise.
20193 * locale/programs/localedef.c: Likewise.
20194 * malloc/memusage.sh: Likewise.
20195 * malloc/mtrace.pl: Likewise.
20196 * nscd/nscd.c (print_version): Likewise.
20197 * nss/getent.c: Likewise.
20199 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20200 PF_CAIF, and PF_ALG.
20201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20203 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20205 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20206 (modules-names): Use them.
20207 (ifunc-test-modules, ifunc-pie-tests): Define.
20208 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20209 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20210 (test-extras): Likewise.
20211 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20212 $(compile-command.c).
20213 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20214 (all-built-dso): Define.
20215 (check-textrel.out, check-execstack.out): Depend on it.
20217 * configure.in: Don't override --enable-multi-arch.
20219 2011-01-15 Ulrich Drepper <drepper@gmail.com>
20222 * nscd/hstcache.c (tryagain): Define.
20223 (cache_addhst): Return tryagain not notfound for temporary errors.
20224 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20227 2011-01-14 Ulrich Drepper <drepper@gmail.com>
20230 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20231 to make the syscall.
20232 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20235 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20236 and fall back to matching as normal character if the string ends before
20237 the matching ']' is found. This is what POSIX requires.
20238 * posix/testfnm.c: Adjust test result.
20239 * posix/globtest.sh: Adjust test result. Add new test.
20240 * posix/tst-fnmatch.input: Likewise.
20241 * posix/tst-fnmatch2.c: Add new test.
20243 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20245 * elf/Makefile (check-execstack): Revert last change. Depend on
20247 (check-execstack.h): New target.
20248 (generated): Add check-execstack.h.
20249 * elf/check-execstack.c: Include "check-execstack.h".
20250 (main): Revert last change.
20251 (handle_file): Return zero if GNU_STACK is absent and
20252 DEFAULT_STACK_PERMS doesn't include PF_X.
20254 2011-01-13 Ulrich Drepper <drepper@gmail.com>
20256 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20257 in child fails because the descriptor is already closed.
20258 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20259 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20260 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
20263 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20267 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20268 temporary buffer used to handle multi lookups locally.
20269 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
20271 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20273 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20276 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20278 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20279 alignment for SSE2.
20281 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20284 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20285 characters. When rounding increased number of integer digits recompute
20287 * stdio-common/tst-grouping.c: New file.
20288 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20290 2011-01-09 Ulrich Drepper <drepper@gmail.com>
20292 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20293 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20295 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20297 * bits/select.h: Likewise.
20299 2011-01-08 Ulrich Drepper <drepper@gmail.com>
20301 * po/ja.po: Update from translation team.
20303 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
20306 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20307 implementation just like for lxstat, fxstatat, et al.
20309 2010-12-27 Jim Meyering <meyering@redhat.com>
20312 * posix/regexec.c (build_trtable): Return failure indication upon
20313 calloc failure. Otherwise, re_search_internal could infloop on OOM.
20315 2010-12-25 Ulrich Drepper <drepper@gmail.com>
20318 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20319 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20320 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20321 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20324 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20327 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
20328 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
20330 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
20332 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
20333 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
20334 script has SORT_BY_INIT_PRIORITY.
20335 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
20336 NO_CTORS_DTORS_SECTIONS is defined.
20337 * elf/soinit.c: Likewise.
20338 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
20339 NO_CTORS_DTORS_SECTIONS is defined.
20340 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
20341 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
20342 * sysdeps/sh/init-first.c: Likewise.
20343 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
20345 2010-12-24 Ulrich Drepper <drepper@gmail.com>
20347 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
20348 always use the slow path.
20350 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
20352 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
20353 similar rule which adds the sysdep directories to the header search in
20354 order to pick up the correct platform stackinfo.h.
20355 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
20356 perform test if it is, otherwise return successfully without testing.
20357 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
20358 DEFAULT_STACK_PERMS define in stackinfo.h.
20359 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
20360 defined in stackinfo.h.
20361 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
20362 DEFAULT_STACK_PERMS defined in stackinfo.h.
20363 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
20364 * sysdeps/ia64/stackinfo.h: Likewise.
20365 * sysdeps/s390/stackinfo.h: Likewise.
20366 * sysdeps/sh/stackinfo.h: Likewise.
20367 * sysdeps/sparc/stackinfo.h: Likewise.
20368 * sysdeps/x86_64/stackinfo.h: Likewise.
20369 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
20370 PF_X for powerpc64. Retain PF_X for powerpc32.
20372 2010-12-19 Ulrich Drepper <drepper@gmail.com>
20374 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
20376 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
20377 GETDENTS_64BIT_ALIGNED.
20379 2010-12-14 Ulrich Drepper <dreper@gmail.com>
20381 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
20383 2010-12-10 Andreas Schwab <schwab@redhat.com>
20385 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
20388 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
20389 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
20391 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
20392 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
20394 2010-12-09 Ulrich Drepper <drepper@gmail.com>
20397 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
20400 2010-12-09 Jakub Jelinek <jakub@redhat.com>
20402 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
20404 2010-12-03 Ulrich Drepper <drepper@gmail.com>
20406 * po/it.po: Update from translation team.
20408 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
20410 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
20413 2010-11-30 Ulrich Drepper <drepper@gmail.com>
20415 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
20417 2010-11-24 Andreas Schwab <schwab@redhat.com>
20419 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
20421 (gaih_getanswer_slice): Likewise.
20423 2010-10-20 Jakub Jelinek <jakub@redhat.com>
20425 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
20427 2010-05-31 Petr Baudis <pasky@suse.cz>
20430 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
20431 silently even in the chroot mode.
20433 2010-11-22 Ulrich Drepper <drepper@gmail.com>
20435 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
20436 last patch a bit. Pretty printing
20438 2010-05-31 Petr Baudis <pasky@suse.cz>
20441 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
20442 initialization of skip_initgroups_dyn.
20444 2010-11-19 Ulrich Drepper <drepper@gmail.com>
20446 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
20447 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20449 2010-11-16 Ulrich Drepper <drepper@gmail.com>
20451 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
20453 2010-11-11 Andreas Schwab <schwab@redhat.com>
20455 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
20456 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
20457 (tst-fnmatch-ENV): Set MALLOC_TRACE.
20458 ($(objpfx)tst-fnmatch-mem): New rule.
20459 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
20460 * posix/tst-fnmatch.c (main): Call mtrace.
20462 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
20464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20465 Support Intel processor model 6 and model 0x2c.
20467 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
20469 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
20472 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
20475 * string/test-strncasecmp.c (check_result): New function.
20476 (do_one_test): Use it.
20477 (check1): New function.
20478 (test_main): Use it.
20479 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
20480 Support strcasecmp and strncasecmp.
20482 2010-11-08 Ulrich Drepper <drepper@gmail.com>
20485 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
20486 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20488 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
20490 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
20492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20494 * sysdeps/x86_64/multiarch/bzero.S: New file.
20495 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
20496 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
20497 * sysdeps/x86_64/multiarch/memset.S: New file.
20498 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
20499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20500 Set bit_Prefer_SSE_for_memop for Intel processors.
20501 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
20503 (index_Prefer_SSE_for_memop): Define.
20504 (HAS_PREFER_SSE_FOR_MEMOP): Define.
20506 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
20508 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
20509 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
20511 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
20514 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20515 (__x86_64_raw_data_cache_size_half): Likewise.
20516 (__x86_64_raw_shared_cache_size): Likewise.
20517 (__x86_64_raw_shared_cache_size_half): Likewise.
20519 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20520 (__x86_64_raw_data_cache_size_half): Likewise.
20521 (__x86_64_raw_shared_cache_size): Likewise.
20522 (__x86_64_raw_shared_cache_size_half): Likewise.
20523 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
20524 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
20525 and __x86_64_raw_shared_cache_size_half. Round
20526 __x86_64_data_cache_size_half, __x86_64_data_cache_size
20527 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
20528 to multiple of 256 bytes.
20530 2010-11-03 Ulrich Drepper <drepper@gmail.com>
20533 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
20534 of inacessible symlinks. Verify result of symlink before returning it.
20535 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20536 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
20538 2010-10-28 Erich Ritz <erichritz@gmail.com>
20540 * math/math.h (isinf): Fix typo in comment.
20542 2010-11-01 Ulrich Drepper <drepper@gmail.com>
20544 * po/da.po: Update from translation team.
20546 2010-10-26 Ulrich Drepper <drepper@gmail.com>
20548 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
20549 is added to the list.
20551 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20552 Ulrich Drepper <drepper@gmail.com>
20554 * elf/dl-object.c (_dl_new_object): Don't append the new object to
20555 the global list here. Move code to...
20556 (_dl_add_to_namespace_list): ...here. New function.
20557 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
20558 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
20559 * elf/dl-load.c (lose): Don't remove the element from the list.
20560 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
20561 (_dl_map_object): Likewise.
20563 2010-10-25 Ulrich Drepper <drepper@gmail.com>
20566 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
20567 into all bytes of SSE register.
20568 Patch by Richard Li <richardpku@gmail.com>.
20570 2010-10-24 Ulrich Drepper <drepper@gmail.com>
20573 * malloc/malloc.c (_int_free): Fill correct number of bytes when
20576 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
20578 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
20579 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
20580 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
20581 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
20584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
20586 2010-10-22 Andreas Schwab <schwab@redhat.com>
20588 * include/dlfcn.h (__RTLD_SECURE): Define.
20589 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
20590 mode & __RTLD_SECURE instead.
20591 (open_path): Rename preloaded parameter to secure.
20592 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
20593 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
20594 * elf/dl-deps.c (openaux): Likewise.
20595 * elf/rtld.c (struct map_args): Remove is_preloaded.
20596 (map_doit): Don't use it.
20597 (dl_main): Likewise.
20598 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
20599 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
20601 2010-09-09 Andreas Schwab <schwab@redhat.com>
20603 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
20604 (sysd-rules-targets): Remove duplicates.
20605 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
20606 rtld-%.$o dependency.
20608 2010-10-18 Andreas Schwab <schwab@redhat.com>
20610 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
20611 _dl_map_object do it.
20613 2010-10-19 Ulrich Drepper <drepper@gmail.com>
20615 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
20616 fast fma builtins, define the macros in the C99 standard.
20617 (FP_FAST_FMAF): Likewise.
20618 (FP_FAST_FMAL): Likewise.
20619 * sysdeps/x86_64/bits/mathdef.h: Likewise.
20621 * bits/mathdef.h: Update copyright year.
20622 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20624 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
20626 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
20627 builtins, define the macros in the C99 standard.
20628 (FP_FAST_FMAF): Likewise.
20629 (FP_FAST_FMAL): Likewise.
20630 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
20632 (FP_FAST_FMAF): Likewise.
20634 2010-10-15 Jakub Jelinek <jakub@redhat.com>
20637 * math/libm-test.inc (fma_test): Some new testcases.
20638 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
20639 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
20640 y and infinite z. Do multiplication by C already in long double.
20641 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
20642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
20643 y and infinite z. Do bitwise or of inexact bit into u.d.
20644 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
20645 * sysdeps/i386/fpu/s_fmaf.S: Removed.
20646 * sysdeps/i386/fpu/s_fma.S: Removed.
20647 * sysdeps/i386/fpu/s_fmal.S: Removed.
20649 2010-10-16 Jakub Jelinek <jakub@redhat.com>
20652 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
20653 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
20654 computation is not scheduled after fetestexcept. Fix value
20655 of minimum denormal long double.
20657 2010-10-14 Jakub Jelinek <jakub@redhat.com>
20660 * math/libm-test.inc (fma_test): Add some more tests.
20661 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
20664 2010-10-15 Andreas Schwab <schwab@redhat.com>
20666 * scripts/data/localplt-s390-linux-gnu.data: New file.
20667 * scripts/data/localplt-s390x-linux-gnu.data: New file.
20669 2010-10-13 Jakub Jelinek <jakub@redhat.com>
20672 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
20673 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
20675 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
20677 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
20678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
20679 if one of x and y is very large and the other is subnormal.
20680 * sysdeps/s390/fpu/s_fmaf.c: New file.
20681 * sysdeps/s390/fpu/s_fma.c: New file.
20682 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
20683 * sysdeps/powerpc/fpu/s_fma.S: New file.
20684 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
20685 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
20686 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
20688 2010-10-12 Jakub Jelinek <jakub@redhat.com>
20691 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
20693 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
20694 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20695 * sysdeps/i386/i686/multiarch/s_fma.c: Include
20696 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20697 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20698 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20699 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20701 2010-10-12 Ulrich Drepper <drepper@redhat.com>
20704 * posix/regcomp.c (parse_branch): One more memory leak plugged.
20705 * posix/bug-regex31.input: Add test case.
20707 2010-10-11 Ulrich Drepper <drepper@gmail.com>
20709 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20710 * posix/bug-regex31.input: New file.
20713 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20714 (parse_sub_exp): Fix last change, use postorder.
20716 * posix/bug-regex31.c: New file.
20717 * posix/Makefile: Add rules to build and run bug-regex31.
20719 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20722 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20725 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20726 to have entries in sys_siglist.
20729 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20732 2010-10-07 Jakub Jelinek <jakub@redhat.com>
20735 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20736 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20737 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20738 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20739 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20740 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20741 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20742 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20743 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20744 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20745 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20746 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20747 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20748 * math/ftestexcept.c (fetestexcept): Likewise.
20749 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20750 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20751 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20752 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20753 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20754 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20755 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20757 2010-10-11 Ulrich Drepper <drepper@gmail.com>
20760 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20763 2010-10-06 Ulrich Drepper <drepper@gmail.com>
20765 * string/bug-strstr1.c: New file.
20766 * string/Makefile: Add rules to build and run bug-strstr1.
20768 2010-10-05 Eric Blake <eblake@redhat.com>
20771 * string/str-two-way.h (two_way_long_needle): Always clear memory
20772 when skipping input due to the shift table.
20774 2010-10-03 Ulrich Drepper <drepper@gmail.com>
20777 * malloc/mcheck.c: Handle large requests.
20780 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20781 for strncmp and strncasecmp.
20782 * string/stratcliff.c: Add tests for strcmp and strncmp.
20783 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20785 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20787 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20790 2010-09-30 Andreas Jaeger <aj@suse.de>
20792 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20793 (CGROUP_SUPER_MAGIC): Define.
20794 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20795 Handle btrfs and cgroup file systems.
20796 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20799 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
20801 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20802 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20804 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20807 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20808 trying to locate the ELF header.
20810 2010-09-27 Andreas Schwab <schwab@redhat.com>
20813 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20814 Mask out sign-bit copies when constructing f_fsid.
20816 2010-09-24 Petr Baudis <pasky@suse.cz>
20818 * debug/stack_chk_fail_local.c: Add missing licence exception.
20819 * debug/warning-nop.c: Likewise.
20821 2010-09-15 Joseph Myers <joseph@codesourcery.com>
20823 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20824 implementing getdents64 using getdents syscall, set d_type if
20825 __ASSUME_GETDENTS32_D_TYPE.
20827 2010-09-16 Andreas Schwab <schwab@redhat.com>
20829 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20830 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20832 2010-09-21 Ulrich Drepper <drepper@redhat.com>
20835 * posix/unistd.h: Undo change of feature selection for ftruncate from
20838 2010-09-20 Ulrich Drepper <drepper@redhat.com>
20840 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
20843 2010-09-20 Andreas Schwab <schwab@redhat.com>
20845 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20847 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20849 2010-09-14 Andreas Schwab <schwab@redhat.com>
20851 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20852 variables after CHECK_SP call.
20853 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20855 2010-09-13 Andreas Schwab <schwab@redhat.com>
20856 Ulrich Drepper <drepper@redhat.com>
20858 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20859 re-relocationg ld.so.
20860 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20861 _dl_init_paths call.
20862 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20865 2010-09-14 Ulrich Drepper <drepper@redhat.com>
20867 * resolv/res_init.c (__res_vinit): Count the default server we added.
20869 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20870 Ulrich Drepper <drepper@redhat.com>
20873 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20874 (____longjmp_chk): Use %ebx for saving value across system call.
20877 2010-09-06 Andreas Schwab <schwab@redhat.com>
20879 * manual/Makefile: Don't mix pattern rules with normal rules.
20881 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20883 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20885 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20886 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20887 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20888 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20889 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20892 2010-09-04 Ulrich Drepper <drepper@redhat.com>
20895 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20896 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20898 2010-09-02 Ulrich Drepper <drepper@redhat.com>
20900 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20901 * sysdeps/x86_64/addmul_1.S: Likewise.
20902 * sysdeps/x86_64/lshift.S: Likewise.
20903 * sysdeps/x86_64/mul_1.S: Likewise.
20904 * sysdeps/x86_64/rshift.S: Likewise.
20905 * sysdeps/x86_64/sub_n.S: Likewise.
20906 * sysdeps/x86_64/submul_1.S: Likewise.
20908 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20910 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20911 Define __sched_param instead of SCHED_* and sched_param when
20912 <bits/sched.h> is included with __need_schedparam defined.
20913 * bits/sched.h [__need_schedparam]
20914 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
20915 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20916 (__defined_schedparam): Define to 1.
20917 (__sched_param): New structure, identical to sched_param.
20918 (__need_schedparam): Undefine.
20920 2010-08-31 Mike Frysinger <vapier@gentoo.org>
20922 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20923 (epoll_create1): Declare.
20925 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20927 2010-08-31 Andreas Schwab <schwab@redhat.com>
20930 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20931 shifting retval into place.
20933 2010-09-01 Ulrich Drepper <drepper@redhat.com>
20935 * nis/rpcsvc/nis.h: Update copyright notice.
20936 * nis/rpcsvc/nis.x: Likewise.
20937 * nis/rpcsvc/nis_callback.h: Likewise.
20938 * nis/rpcsvc/nis_callback.x: Likewise.
20939 * nis/rpcsvc/nis_object.x: Likewise.
20940 * nis/rpcsvc/nis_tags.h: Likewise.
20941 * nis/rpcsvc/yp.h: Likewise.
20942 * nis/rpcsvc/yp.x: Likewise.
20943 * nis/rpcsvc/ypupd.h: Likewise.
20944 * nis/yp_xdr.c: Likewise.
20945 * nis/ypupdate_xdr.c: Likewise.
20947 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20948 mainly the body of pmap_getport. Add parameters to specify timeouts.
20949 (pmap_getport): Use __libc_rpc_getport.
20950 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20951 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20952 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20954 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20959 2010-08-27 Roland McGrath <roland@redhat.com>
20961 * sysdeps/i386/i686/multiarch/Makefile
20962 (CFLAGS-varshift.c): New variable.
20964 2010-08-27 Ulrich Drepper <drepper@redhat.com>
20966 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20967 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20969 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20971 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20973 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20975 * sysdeps/x86_64/strlen.S: Unroll the loop.
20976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20977 strlen-sse2 strlen-sse2-bsf.
20978 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20979 __strlen_no_bsf if bit_Slow_BSF is set.
20980 (__strlen_sse42): Removed.
20981 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20982 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20984 2010-08-25 Roland McGrath <roland@redhat.com>
20986 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20987 * sysdeps/x86_64/multiarch/varshift.c: New file.
20988 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20989 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20990 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20991 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20993 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20995 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20996 strlen-sse2 strlen-sse2-bsf.
20997 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20998 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20999 (__strlen_sse2): Removed.
21000 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21001 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21003 bit_Slow_BSF for Atom.
21004 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21005 (index_Slow_BSF): Define.
21006 (HAS_SLOW_BSF): Define.
21008 2010-08-25 Ulrich Drepper <drepper@redhat.com>
21011 * resolv/res_init.c (__res_vinit): When no server address at all
21012 is given default to loopback.
21014 2010-08-24 Roland McGrath <roland@redhat.com>
21016 * configure.in: Remove config-name.h generation.
21017 * configure: Regenerated.
21018 * config-name.in: File removed.
21019 * scripts/config-uname.sh: New file.
21020 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21021 ($(objdir)config-name.h): New target.
21023 * sunrpc/rpc_parse.h: Avoid nested comment.
21025 2010-08-24 Richard Henderson <rth@redhat.com>
21026 Ulrich Drepper <drepper@redhat.com>
21027 H.J. Lu <hongjiu.lu@intel.com>
21029 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21031 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21032 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21033 _mm_alignr_epi8 with _mm_loadu_si128.
21034 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21035 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21036 (__m128i_shift_right): Removed.
21037 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21038 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21039 * sysdeps/x86_64/multiarch/varshift.h: New file.
21040 * sysdeps/x86_64/multiarch/varshift.S: New file.
21042 2010-08-21 Mike Frysinger <vapier@gentoo.org>
21044 * configure.in: Move assembler checks to before sysdep dir checking.
21046 2010-08-20 Petr Baudis <pasky@suse.cz>
21048 * LICENSES: Sync the sunrpc license.
21050 2010-08-19 Ulrich Drepper <drepper@redhat.com>
21052 * sunrpc/auth_des.c: Update copyright notice once again.
21053 * sunrpc/auth_none.c: Likewise.
21054 * sunrpc/auth_unix.c: Likewise.
21055 * sunrpc/authdes_prot.c: Likewise.
21056 * sunrpc/authuxprot.c: Likewise.
21057 * sunrpc/bindrsvprt.c: Likewise.
21058 * sunrpc/clnt_gen.c: Likewise.
21059 * sunrpc/clnt_perr.c: Likewise.
21060 * sunrpc/clnt_raw.c: Likewise.
21061 * sunrpc/clnt_simp.c: Likewise.
21062 * sunrpc/clnt_tcp.c: Likewise.
21063 * sunrpc/clnt_udp.c: Likewise.
21064 * sunrpc/clnt_unix.c: Likewise.
21065 * sunrpc/des_crypt.c: Likewise.
21066 * sunrpc/des_soft.c: Likewise.
21067 * sunrpc/get_myaddr.c: Likewise.
21068 * sunrpc/getrpcport.c: Likewise.
21069 * sunrpc/key_call.c: Likewise.
21070 * sunrpc/key_prot.c: Likewise.
21071 * sunrpc/openchild.c: Likewise.
21072 * sunrpc/pm_getmaps.c: Likewise.
21073 * sunrpc/pm_getport.c: Likewise.
21074 * sunrpc/pmap_clnt.c: Likewise.
21075 * sunrpc/pmap_prot.c: Likewise.
21076 * sunrpc/pmap_prot2.c: Likewise.
21077 * sunrpc/pmap_rmt.c: Likewise.
21078 * sunrpc/rpc/auth.h: Likewise.
21079 * sunrpc/rpc/auth_unix.h: Likewise.
21080 * sunrpc/rpc/clnt.h: Likewise.
21081 * sunrpc/rpc/des_crypt.h: Likewise.
21082 * sunrpc/rpc/key_prot.h: Likewise.
21083 * sunrpc/rpc/netdb.h: Likewise.
21084 * sunrpc/rpc/pmap_clnt.h: Likewise.
21085 * sunrpc/rpc/pmap_prot.h: Likewise.
21086 * sunrpc/rpc/pmap_rmt.h: Likewise.
21087 * sunrpc/rpc/rpc.h: Likewise.
21088 * sunrpc/rpc/rpc_des.h: Likewise.
21089 * sunrpc/rpc/rpc_msg.h: Likewise.
21090 * sunrpc/rpc/svc.h: Likewise.
21091 * sunrpc/rpc/svc_auth.h: Likewise.
21092 * sunrpc/rpc/types.h: Likewise.
21093 * sunrpc/rpc/xdr.h: Likewise.
21094 * sunrpc/rpc_clntout.c: Likewise.
21095 * sunrpc/rpc_cmsg.c: Likewise.
21096 * sunrpc/rpc_common.c: Likewise.
21097 * sunrpc/rpc_cout.c: Likewise.
21098 * sunrpc/rpc_dtable.c: Likewise.
21099 * sunrpc/rpc_hout.c: Likewise.
21100 * sunrpc/rpc_main.c: Likewise.
21101 * sunrpc/rpc_parse.c: Likewise.
21102 * sunrpc/rpc_parse.h: Likewise.
21103 * sunrpc/rpc_prot.c: Likewise.
21104 * sunrpc/rpc_sample.c: Likewise.
21105 * sunrpc/rpc_scan.c: Likewise.
21106 * sunrpc/rpc_scan.h: Likewise.
21107 * sunrpc/rpc_svcout.c: Likewise.
21108 * sunrpc/rpc_tblout.c: Likewise.
21109 * sunrpc/rpc_util.c: Likewise.
21110 * sunrpc/rpc_util.h: Likewise.
21111 * sunrpc/rpcinfo.c: Likewise.
21112 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21113 * sunrpc/rpcsvc/key_prot.x: Likewise.
21114 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21115 * sunrpc/rpcsvc/mount.x: Likewise.
21116 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21117 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21118 * sunrpc/rpcsvc/rex.x: Likewise.
21119 * sunrpc/rpcsvc/rstat.x: Likewise.
21120 * sunrpc/rpcsvc/rusers.x: Likewise.
21121 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21122 * sunrpc/rpcsvc/spray.x: Likewise.
21123 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21124 * sunrpc/rtime.c: Likewise.
21125 * sunrpc/svc.c: Likewise.
21126 * sunrpc/svc_auth.c: Likewise.
21127 * sunrpc/svc_authux.c: Likewise.
21128 * sunrpc/svc_raw.c: Likewise.
21129 * sunrpc/svc_run.c: Likewise.
21130 * sunrpc/svc_simple.c: Likewise.
21131 * sunrpc/svc_tcp.c: Likewise.
21132 * sunrpc/svc_udp.c: Likewise.
21133 * sunrpc/svc_unix.c: Likewise.
21134 * sunrpc/svcauth_des.c: Likewise.
21135 * sunrpc/xcrypt.c: Likewise.
21136 * sunrpc/xdr.c: Likewise.
21137 * sunrpc/xdr_array.c: Likewise.
21138 * sunrpc/xdr_float.c: Likewise.
21139 * sunrpc/xdr_mem.c: Likewise.
21140 * sunrpc/xdr_rec.c: Likewise.
21141 * sunrpc/xdr_ref.c: Likewise.
21142 * sunrpc/xdr_sizeof.c: Likewise.
21143 * sunrpc/xdr_stdio.c: Likewise.
21145 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21148 2010-08-19 Andreas Schwab <schwab@redhat.com>
21150 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21152 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
21154 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21155 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21156 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21157 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21158 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21159 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21160 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21161 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21162 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21163 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21164 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21165 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21166 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21167 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21169 2010-07-26 Anton Blanchard <anton@samba.org>
21171 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21172 * malloc/arena.c (heap_trim): Likewise.
21174 2010-08-16 Ulrich Drepper <drepper@redhat.com>
21176 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21178 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21179 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21181 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21183 * sysdeps/i386/elf/Makefile: New file.
21185 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21187 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21188 from fanotify_init.
21189 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21190 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21192 2010-08-15 Ulrich Drepper <drepper@redhat.com>
21194 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21196 * sysdeps/multiarch/strcmp.S: Likewise.
21198 2010-08-14 Ulrich Drepper <drepper@redhat.com>
21200 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21201 strncase_l-nonascii.
21202 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21203 Add strncase_l-ssse3.
21204 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21205 * sysdeps/x86_64/strcmp.S: Likewise.
21206 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21207 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21208 * sysdeps/x86_64/strncase.S: New file.
21209 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21210 * sysdeps/x86_64/strncase_l.S: New file.
21211 * string/Makefile (strop-tests): Add strncasecmp.
21212 * string/test-strncasecmp.c: New file.
21214 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21217 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21218 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21220 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21222 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21224 2010-08-12 Ulrich Drepper <drepper@redhat.com>
21226 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21227 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21228 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21230 2010-05-01 Alan Modra <amodra@gmail.com>
21232 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21233 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21234 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21235 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21236 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21237 tidying. Don't tail-call __sigjmp_save for static lib.
21238 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21240 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21241 (CALL_MCOUNT): Add eh info, and nop after bl.
21242 (TAIL_CALL_SYSCALL_ERROR): New macro.
21243 (PSEUDO_RET): Use it.
21244 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21245 Correct save location of integer regs and cr.
21246 (_dl_profile_resolve): Correct cr save location. Delete nops
21247 after bl when SHARED. Reduce cfi size a little by better
21248 placement of cfi directives.
21249 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21250 make a stack frame. Instead use parm save area as a temp.
21251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21252 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21254 Don't make a stack frame for parent, use parm save area.
21255 Increase child stack frame to 112 bytes. Don't save unused reg,
21256 and adjust reg usage. Set up cfi on error recovery and
21257 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21259 (__makecontext): Add dummy nop after jump to exit.
21260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21261 Use correct parm save area and cr save, reduce stack frame.
21262 Correct cfi for possible PSEUDO_RET frame setup.
21263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21264 Branch to local label emitted by PSEUDO_RET rather than
21267 2010-08-12 Andreas Schwab <schwab@redhat.com>
21270 * locale/programs/locale.c (print_assignment): New function.
21271 (show_locale_vars): Use it.
21273 2010-08-11 Ulrich Drepper <drepper@redhat.com>
21275 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21277 (struct statfs64): Likewise.
21278 (_STATFS_F_FLAGS): Define.
21279 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21280 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21281 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21282 (ST_VALID): Define locally.
21283 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21284 __statvfs_getflags, use the provided value.
21285 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21286 __ASSUME_STATFS_F_FLAGS.
21288 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21290 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21291 Add sys/fanotify.h.
21292 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21293 fanotify_mask for GLIBC_2.13.
21294 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21295 fanotify_init and fanotify_mark.
21296 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21297 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21299 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21301 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21302 prlimit64 for GLIBC_2.13.
21303 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21305 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21308 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21309 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21310 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21311 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
21313 * sysdeps/unix/sysv/linux/prlimit.c: New file.
21316 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21317 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21319 * nss/Makefile: Add rules to build and run tst-nss-test1.
21320 * shlib-versions: Add entry for libnss_test1.
21321 * nss/nss_test1.c: New file.
21322 * nss/tst-nss-test1.c: New file.
21324 * nss/nsswitch.c (__nss_database_custom): Define new variable.
21325 (__nss_configure_lookup): Set appropriate entry in
21326 __nss_configure_lookup to true.
21327 * nss/nsswitch.h: Define enum with indeces of databases in
21328 databases and __nss_database_custom arrays. Declare
21329 __nss_database_custom.
21330 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
21331 to avoid using nscd when custom rules are installed.
21332 * nss/getXXbyYY_r.c: Likewise.
21333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21335 * nss/nss_files/files-parse.c: Whitespace fixes.
21337 2010-08-09 Ulrich Drepper <drepper@redhat.com>
21340 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
21341 * posix/fnmatch_loop.c: Likewise.
21343 2010-07-17 Andi Kleen <ak@linux.intel.com>
21345 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
21346 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
21347 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
21348 * Versions.def [GLIBC_2.13]: Add.
21350 2010-08-06 Ulrich Drepper <drepper@redhat.com>
21352 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21353 Also fail if tpwd after pwuid call is NULL.
21355 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
21357 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
21358 when converting to ms.
21360 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21362 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
21363 EOPNOTSUPP errors with ENOTTY.
21364 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
21365 EOPNOTSUPP errors with ENOTTY.
21367 2010-07-31 Ulrich Drepper <drepper@redhat.com>
21369 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21370 Add strcasecmp_l-ssse3.
21371 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
21373 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
21374 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
21375 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
21377 2010-07-30 Ulrich Drepper <drepper@redhat.com>
21379 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
21381 * string/Makefile (strop-tests): Add strcasecmp.
21382 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21383 strcasecmp_l-nonascii.
21384 (gen-as-const-headers): Add locale-defines.sym.
21385 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
21386 * sysdeps/x86_64/strcasecmp.S: New file.
21387 * sysdeps/x86_64/strcasecmp_l.S: New file.
21388 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
21389 * sysdeps/x86_64/locale-defines.sym: New file.
21390 * string/test-strcasecmp.c: New file.
21392 * string/test-strcasestr.c: Test both ends of the range of characters.
21393 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
21395 2010-07-29 Roland McGrath <roland@redhat.com>
21398 * manual/locale.texi (Yes-or-No Questions): Fix example code.
21400 2010-07-27 Ulrich Drepper <drepper@redhat.com>
21402 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
21405 2010-07-27 Andreas Schwab <schwab@redhat.com>
21407 * manual/memory.texi (Malloc Tunable Parameters): Document
21410 2010-07-26 Roland McGrath <roland@redhat.com>
21413 * configure.in (-fgnu89-inline check): Set and substitute
21414 gnu89_inline, not libc_cv_gnu89_inline.
21415 * configure: Regenerated.
21416 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
21418 2010-07-26 Ulrich Drepper <drepper@redhat.com>
21420 * string/test-strnlen.c: New file.
21421 * string/Makefile (strop-tests): Add strnlen.
21422 * string/tester.c (test_strnlen): Add a few more test cases.
21423 * string/tst-strlen.c: Better error reporting.
21425 * sysdeps/x86_64/strnlen.S: New file.
21427 2010-07-24 Ulrich Drepper <drepper@redhat.com>
21429 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
21430 lower-latency instructions.
21432 2010-07-23 Ulrich Drepper <drepper@redhat.com>
21434 * string/test-strcasestr.c: New file.
21435 * string/test-strstr.c: New file.
21436 * string/Makefile (strop-tests): Add strstr and strcasestr.
21437 * string/str-two-way.h: Don't undefine MAX.
21438 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
21440 2010-07-21 Andreas Schwab <schwab@redhat.com>
21442 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21443 strcasestr-nonascii.
21444 (CFLAGS-strcasestr-nonascii.c): Define.
21445 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
21446 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
21447 Remove unused attribute.
21449 2010-07-20 Roland McGrath <roland@redhat.com>
21451 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
21452 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
21453 ld.so.cache was broken. With it, there is no way to disable dsocaps
21454 like LD_HWCAP_MASK can disable hwcaps.
21456 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21458 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
21460 2010-07-16 Ulrich Drepper <drepper@redhat.com>
21462 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
21463 call in strcasestr.
21464 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
21465 __strcasestr_sse42_nonascii.
21466 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
21467 strcasestr-nonascii.c.
21468 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
21470 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
21472 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
21473 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
21474 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
21475 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
21477 2010-07-09 Ulrich Drepper <drepper@redhat.com>
21479 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
21482 2010-07-06 Andreas Schwab <schwab@redhat.com>
21485 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
21488 2010-07-06 Ulrich Drepper <drepper@redhat.com>
21490 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
21491 _PC_PIPE_BUF using F_GETPIPE_SZ.
21493 2010-07-05 Roland McGrath <roland@redhat.com>
21495 * manual/arith.texi (Rounding Functions): Fix rint description
21496 implicit in round description.
21498 2010-07-02 Ulrich Drepper <drepper@redhat.com>
21500 * elf/Makefile: Fix linking for a few tests to make recent linker
21503 2010-06-30 Andreas Schwab <schwab@redhat.com>
21505 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21506 $(common-objpfx)libc_nonshared.a.
21508 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
21510 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
21511 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
21512 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21513 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21514 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
21515 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
21516 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21517 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
21519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
21520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
21521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
21523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
21525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
21526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
21527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
21528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
21530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
21532 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
21533 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
21534 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
21535 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
21536 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
21537 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
21538 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
21539 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
21540 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
21541 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
21542 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
21543 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
21544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
21545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
21546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
21547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
21548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
21549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
21550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
21551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
21552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
21553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
21554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
21555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
21556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
21557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
21559 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
21561 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
21562 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
21563 * string/memmove.c (memmove): Renamed to ...
21564 (MEMMOVE): ...this. Default to memmove.
21565 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
21566 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
21568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21569 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
21570 mempcpy-ssse3-back memmove-ssse3-back.
21571 * sysdeps/x86_64/multiarch/bcopy.S: New file .
21572 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
21573 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
21574 * sysdeps/x86_64/multiarch/memcpy.S: New file.
21575 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
21576 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
21577 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
21578 * sysdeps/x86_64/multiarch/memmove.c: New file.
21579 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
21580 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
21581 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
21582 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
21583 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
21584 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
21586 (index_Fast_Copy_Backward): Define.
21587 (HAS_ARCH_FEATURE): Define.
21588 (HAS_FAST_REP_STRING): Define.
21589 (HAS_FAST_COPY_BACKWARD): Define.
21591 2010-06-21 Andreas Schwab <schwab@redhat.com>
21593 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21594 Restore proper fallback handling.
21596 2010-06-19 Ulrich Drepper <drepper@redhat.com>
21599 * posix/group_member.c (__group_member): Correct checking loop.
21601 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
21602 OOM in getpwuid_r correctly. Return error number when the caller
21603 should return, otherwise -1.
21604 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
21605 call returning > 0 value.
21606 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
21608 2010-06-07 Andreas Schwab <schwab@redhat.com>
21610 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
21611 libc_nonshared.a from targets in modules-names.
21613 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
21615 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
21618 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
21620 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
21621 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
21622 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
21623 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
21625 2010-06-02 Andreas Schwab <schwab@redhat.com>
21627 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
21629 2010-06-14 Ulrich Drepper <drepper@redhat.com>
21631 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
21633 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21634 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21635 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21636 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21637 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21638 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
21640 2010-06-14 Roland McGrath <roland@redhat.com>
21642 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
21644 2010-06-07 Jakub Jelinek <jakub@redhat.com>
21646 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
21647 __REDIRECT followed by __THROW.
21648 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
21649 * posix/getopt.h (getopt): Likewise.
21651 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21653 * hurd/lookup-at.c (__file_name_lookup_at): Accept
21654 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
21655 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
21657 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
21658 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
21660 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
21662 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
21664 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
21667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21668 Properly check family and model.
21670 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
21672 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
21674 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
21676 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
21678 2010-05-21 Ulrich Drepper <drepper@redhat.com>
21680 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
21683 2010-05-19 Andreas Schwab <schwab@redhat.com>
21685 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
21688 2010-05-21 Andreas Schwab <schwab@redhat.com>
21690 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
21691 and internal_recvmmsg.
21692 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
21693 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
21694 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21695 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21697 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21698 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21699 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21701 2010-05-20 Andreas Schwab <schwab@redhat.com>
21703 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21705 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
21707 POWER7 optimizations.
21708 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21709 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21711 2010-05-19 Ulrich Drepper <drepper@redhat.com>
21713 * version.h: Update for 2.13 development version.
21715 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
21717 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21718 exceptions. Return 0.
21720 2010-05-07 Roland McGrath <roland@redhat.com>
21722 * elf/ldconfig.c (main): Add a const.
21724 2010-05-06 Ulrich Drepper <drepper@redhat.com>
21726 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21727 (args_options): Add no-idn option.
21728 (ahosts_keys_int): Add idn_flags to ai_flags.
21729 (parse_option): Handle 'i' option to clear idn_flags.
21731 * malloc/malloc.c (_int_free): Possible race in the most recently
21732 added check. Only act on the data if no current modification
21735 See ChangeLog.17 for earlier changes.