]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
2012-11-07 Andreas Jaeger <aj@suse.de>
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12012-11-07 Andreas Jaeger <aj@suse.de>
2
3 [BZ #14809]
4 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
5 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
6 guards are changed. Only define if not yet defined, #undef back
7 after including linux/sysctl.h if defined here.
8
92012-11-07 Roland McGrath <roland@hack.frob.com>
10
11 [BZ #14815]
12 * manual/filesys.texi (Directory Entries): Typo fix.
13 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14
152012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16
17 * elf/elf.h (EM_AARCH64): New macro.
18 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
19 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22 (R_AARCH64_TLSDESC): Likewise.
23 (NT_ARM_TLS): Likewise.
24 (NT_ARM_HW_BREAK): Likewise.
25 (NT_ARM_HW_WATCH): Likewise.
26
272012-11-07 Joseph Myers <joseph@codesourcery.com>
28
29 [BZ #14811]
30 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31 (__ieee754_powl): Saturate nonzero exponents with absolute value
32 below 0x1p-79 to +/- 0x1p-79.
33 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36 nonzero exponents with absolute value below 0x1p-32 to +/-
37 0x1p-32.
38 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39 (__ieee754_powl): Saturate nonzero exponents with absolute value
40 below 0x1p-79 to +/- 0x1p-79.
41 * math/libm-test.inc (pow_test): Add more tests.
42
432012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44
45 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
46 _dl_s390_cap_flags with kernel. Increase string length.
47 (_dl_s390_platforms): Add z196 and zEC12.
48
492012-11-07 Joseph Myers <joseph@codesourcery.com>
50
51 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
52 Change XOPEN21K to XOPEN2K.
53
542012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
55
56 * string/memmove.c: Use memcpy when possible.
57
582012-11-06 Andreas Jaeger <aj@suse.de>
59
60 * po/eo.po: Update from translation team.
61
622012-11-06 Joseph Myers <joseph@codesourcery.com>
63
64 [BZ #14793]
65 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
66 exponent and small x and y exponents, scale x or y up. Increase
67 by 2 the exponent used in scaling up.
68 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70 * math/libm-test.inc (fma_test): Add more tests.
71 (fma_test_towardzero): Likewise.
72 (fma_test_downward): Likewise.
73 (fma_test_upward): Likewise.
74
752012-11-05 Joseph Myers <joseph@codesourcery.com>
76
77 [BZ #14805]
78 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
79 fenv_t *.
80
81 [BZ #14801]
82 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
83 namespace for names of struct fields.
84 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
85 fenv_t fields.
86 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
87 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
88
892012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
90
91 [BZ #3665]
92 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
93
942012-11-04 Thomas Schwinge <thomas@codesourcery.com>
95
96 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
97 PTR_DEMANGLE.
98
99 [BZ #5246]
100 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
101 PTR_DEMANGLE.
102
1032012-11-04 Joseph Myers <joseph@codesourcery.com>
104
105 [BZ #14797]
106 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
107 definitely overflow as x * y not x * y + z.
108 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
109 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
110 * math/libm-test.inc (fma_test): Add more tests.
111 (fma_test_towardzero): Likewise.
112 (fma_test_downward): Likewise.
113 (fma_test_upward): Likewise.
114
1152012-11-04 Thomas Schwinge <thomas@codesourcery.com>
116
117 [BZ #157]
118
119 * include/stub-tag.h: Remove file.
120 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
121 '#include' of it.
122 * manual/maint.texi (Porting): Don't reference it.
123 * Makerules ($(objpfx)stubs): Likewise.
124 * dirent/closedir.c: Don't include <stub-tag.h>.
125 * dirent/dirfd.c: Likewise.
126 * dirent/fdopendir.c: Likewise.
127 * dirent/getdents.c: Likewise.
128 * dirent/getdents64.c: Likewise.
129 * dirent/opendir.c: Likewise.
130 * dirent/readdir.c: Likewise.
131 * dirent/readdir64.c: Likewise.
132 * dirent/readdir64_r.c: Likewise.
133 * dirent/readdir_r.c: Likewise.
134 * dirent/rewinddir.c: Likewise.
135 * dirent/seekdir.c: Likewise.
136 * dirent/telldir.c: Likewise.
137 * gmon/profil.c: Likewise.
138 * grp/setgroups.c: Likewise.
139 * inet/if_index.c: Likewise.
140 * io/access.c: Likewise.
141 * io/chdir.c: Likewise.
142 * io/chmod.c: Likewise.
143 * io/chown.c: Likewise.
144 * io/close.c: Likewise.
145 * io/dup.c: Likewise.
146 * io/dup2.c: Likewise.
147 * io/dup3.c: Likewise.
148 * io/euidaccess.c: Likewise.
149 * io/faccessat.c: Likewise.
150 * io/fchdir.c: Likewise.
151 * io/fchmod.c: Likewise.
152 * io/fchmodat.c: Likewise.
153 * io/fchown.c: Likewise.
154 * io/fchownat.c: Likewise.
155 * io/fcntl.c: Likewise.
156 * io/flock.c: Likewise.
157 * io/fstatfs.c: Likewise.
158 * io/fstatfs64.c: Likewise.
159 * io/fstatvfs.c: Likewise.
160 * io/fstatvfs64.c: Likewise.
161 * io/futimens.c: Likewise.
162 * io/fxstat.c: Likewise.
163 * io/fxstat64.c: Likewise.
164 * io/fxstatat.c: Likewise.
165 * io/fxstatat64.c: Likewise.
166 * io/getcwd.c: Likewise.
167 * io/isatty.c: Likewise.
168 * io/lchmod.c: Likewise.
169 * io/lchown.c: Likewise.
170 * io/link.c: Likewise.
171 * io/linkat.c: Likewise.
172 * io/lseek.c: Likewise.
173 * io/lseek64.c: Likewise.
174 * io/lxstat64.c: Likewise.
175 * io/mkdir.c: Likewise.
176 * io/mkdirat.c: Likewise.
177 * io/mkfifo.c: Likewise.
178 * io/mkfifoat.c: Likewise.
179 * io/open.c: Likewise.
180 * io/open64.c: Likewise.
181 * io/openat.c: Likewise.
182 * io/openat64.c: Likewise.
183 * io/pipe.c: Likewise.
184 * io/pipe2.c: Likewise.
185 * io/poll.c: Likewise.
186 * io/posix_fadvise.c: Likewise.
187 * io/posix_fadvise64.c: Likewise.
188 * io/posix_fallocate.c: Likewise.
189 * io/posix_fallocate64.c: Likewise.
190 * io/read.c: Likewise.
191 * io/readlink.c: Likewise.
192 * io/readlinkat.c: Likewise.
193 * io/rmdir.c: Likewise.
194 * io/sendfile.c: Likewise.
195 * io/sendfile64.c: Likewise.
196 * io/statfs.c: Likewise.
197 * io/statfs64.c: Likewise.
198 * io/statvfs.c: Likewise.
199 * io/statvfs64.c: Likewise.
200 * io/symlink.c: Likewise.
201 * io/symlinkat.c: Likewise.
202 * io/ttyname.c: Likewise.
203 * io/ttyname_r.c: Likewise.
204 * io/umask.c: Likewise.
205 * io/unlink.c: Likewise.
206 * io/unlinkat.c: Likewise.
207 * io/utime.c: Likewise.
208 * io/utimensat.c: Likewise.
209 * io/write.c: Likewise.
210 * io/xmknod.c: Likewise.
211 * io/xmknodat.c: Likewise.
212 * io/xstat.c: Likewise.
213 * io/xstat64.c: Likewise.
214 * login/getpt.c: Likewise.
215 * login/grantpt.c: Likewise.
216 * login/unlockpt.c: Likewise.
217 * math/e_acoshl.c: Likewise.
218 * math/e_acosl.c: Likewise.
219 * math/e_asinl.c: Likewise.
220 * math/e_atan2l.c: Likewise.
221 * math/e_atanhl.c: Likewise.
222 * math/e_coshl.c: Likewise.
223 * math/e_expl.c: Likewise.
224 * math/e_fmodl.c: Likewise.
225 * math/e_gammal_r.c: Likewise.
226 * math/e_hypotl.c: Likewise.
227 * math/e_j0l.c: Likewise.
228 * math/e_j1l.c: Likewise.
229 * math/e_jnl.c: Likewise.
230 * math/e_lgammal_r.c: Likewise.
231 * math/e_log10l.c: Likewise.
232 * math/e_log2l.c: Likewise.
233 * math/e_logl.c: Likewise.
234 * math/e_powl.c: Likewise.
235 * math/e_rem_pio2l.c: Likewise.
236 * math/e_sinhl.c: Likewise.
237 * math/e_sqrtl.c: Likewise.
238 * math/fclrexcpt.c: Likewise.
239 * math/fedisblxcpt.c: Likewise.
240 * math/feenablxcpt.c: Likewise.
241 * math/fegetenv.c: Likewise.
242 * math/fegetexcept.c: Likewise.
243 * math/fegetround.c: Likewise.
244 * math/feholdexcpt.c: Likewise.
245 * math/fesetenv.c: Likewise.
246 * math/fesetround.c: Likewise.
247 * math/feupdateenv.c: Likewise.
248 * math/fgetexcptflg.c: Likewise.
249 * math/fraiseexcpt.c: Likewise.
250 * math/fsetexcptflg.c: Likewise.
251 * math/ftestexcept.c: Likewise.
252 * math/k_cosl.c: Likewise.
253 * math/k_rem_pio2l.c: Likewise.
254 * math/k_sinl.c: Likewise.
255 * math/k_tanl.c: Likewise.
256 * math/s_asinhl.c: Likewise.
257 * math/s_atanl.c: Likewise.
258 * math/s_cbrtl.c: Likewise.
259 * math/s_erfl.c: Likewise.
260 * math/s_expm1l.c: Likewise.
261 * math/s_log1pl.c: Likewise.
262 * math/s_tanhl.c: Likewise.
263 * misc/acct.c: Likewise.
264 * misc/brk.c: Likewise.
265 * misc/chflags.c: Likewise.
266 * misc/chroot.c: Likewise.
267 * misc/fchflags.c: Likewise.
268 * misc/fgetxattr.c: Likewise.
269 * misc/flistxattr.c: Likewise.
270 * misc/fremovexattr.c: Likewise.
271 * misc/fsetxattr.c: Likewise.
272 * misc/fsync.c: Likewise.
273 * misc/ftruncate.c: Likewise.
274 * misc/futimes.c: Likewise.
275 * misc/futimesat.c: Likewise.
276 * misc/getdomain.c: Likewise.
277 * misc/getdtsz.c: Likewise.
278 * misc/gethostid.c: Likewise.
279 * misc/gethostname.c: Likewise.
280 * misc/getloadavg.c: Likewise.
281 * misc/getpagesize.c: Likewise.
282 * misc/getsysstats.c: Likewise.
283 * misc/getxattr.c: Likewise.
284 * misc/gtty.c: Likewise.
285 * misc/ioctl.c: Likewise.
286 * misc/lgetxattr.c: Likewise.
287 * misc/listxattr.c: Likewise.
288 * misc/llistxattr.c: Likewise.
289 * misc/lremovexattr.c: Likewise.
290 * misc/lsetxattr.c: Likewise.
291 * misc/lutimes.c: Likewise.
292 * misc/madvise.c: Likewise.
293 * misc/mincore.c: Likewise.
294 * misc/mlock.c: Likewise.
295 * misc/mlockall.c: Likewise.
296 * misc/mmap.c: Likewise.
297 * misc/mprotect.c: Likewise.
298 * misc/msync.c: Likewise.
299 * misc/munlock.c: Likewise.
300 * misc/munlockall.c: Likewise.
301 * misc/munmap.c: Likewise.
302 * misc/preadv.c: Likewise.
303 * misc/preadv64.c: Likewise.
304 * misc/ptrace.c: Likewise.
305 * misc/pwritev.c: Likewise.
306 * misc/pwritev64.c: Likewise.
307 * misc/readv.c: Likewise.
308 * misc/reboot.c: Likewise.
309 * misc/remap_file_pages.c: Likewise.
310 * misc/removexattr.c: Likewise.
311 * misc/revoke.c: Likewise.
312 * misc/select.c: Likewise.
313 * misc/setdomain.c: Likewise.
314 * misc/setegid.c: Likewise.
315 * misc/seteuid.c: Likewise.
316 * misc/sethostid.c: Likewise.
317 * misc/sethostname.c: Likewise.
318 * misc/setregid.c: Likewise.
319 * misc/setreuid.c: Likewise.
320 * misc/setxattr.c: Likewise.
321 * misc/sstk.c: Likewise.
322 * misc/stty.c: Likewise.
323 * misc/swapoff.c: Likewise.
324 * misc/swapon.c: Likewise.
325 * misc/sync.c: Likewise.
326 * misc/syncfs.c: Likewise.
327 * misc/syscall.c: Likewise.
328 * misc/truncate.c: Likewise.
329 * misc/ualarm.c: Likewise.
330 * misc/usleep.c: Likewise.
331 * misc/ustat.c: Likewise.
332 * misc/utimes.c: Likewise.
333 * misc/vhangup.c: Likewise.
334 * misc/writev.c: Likewise.
335 * posix/_exit.c: Likewise.
336 * posix/alarm.c: Likewise.
337 * posix/execve.c: Likewise.
338 * posix/fexecve.c: Likewise.
339 * posix/fork.c: Likewise.
340 * posix/fpathconf.c: Likewise.
341 * posix/getaddrinfo.c: Likewise.
342 * posix/getegid.c: Likewise.
343 * posix/geteuid.c: Likewise.
344 * posix/getgid.c: Likewise.
345 * posix/getgroups.c: Likewise.
346 * posix/getlogin.c: Likewise.
347 * posix/getlogin_r.c: Likewise.
348 * posix/getpgid.c: Likewise.
349 * posix/getpid.c: Likewise.
350 * posix/getppid.c: Likewise.
351 * posix/getresgid.c: Likewise.
352 * posix/getresuid.c: Likewise.
353 * posix/getsid.c: Likewise.
354 * posix/getuid.c: Likewise.
355 * posix/glob64.c: Likewise.
356 * posix/nanosleep.c: Likewise.
357 * posix/pathconf.c: Likewise.
358 * posix/pause.c: Likewise.
359 * posix/posix_madvise.c: Likewise.
360 * posix/pread.c: Likewise.
361 * posix/pread64.c: Likewise.
362 * posix/pwrite.c: Likewise.
363 * posix/pwrite64.c: Likewise.
364 * posix/sched_getaffinity.c: Likewise.
365 * posix/sched_getp.c: Likewise.
366 * posix/sched_gets.c: Likewise.
367 * posix/sched_primax.c: Likewise.
368 * posix/sched_primin.c: Likewise.
369 * posix/sched_rr_gi.c: Likewise.
370 * posix/sched_setaffinity.c: Likewise.
371 * posix/sched_setp.c: Likewise.
372 * posix/sched_sets.c: Likewise.
373 * posix/sched_yield.c: Likewise.
374 * posix/setgid.c: Likewise.
375 * posix/setlogin.c: Likewise.
376 * posix/setpgid.c: Likewise.
377 * posix/setresgid.c: Likewise.
378 * posix/setresuid.c: Likewise.
379 * posix/setsid.c: Likewise.
380 * posix/setuid.c: Likewise.
381 * posix/sleep.c: Likewise.
382 * posix/spawni.c: Likewise.
383 * posix/sysconf.c: Likewise.
384 * posix/times.c: Likewise.
385 * posix/wait.c: Likewise.
386 * posix/wait3.c: Likewise.
387 * posix/wait4.c: Likewise.
388 * posix/waitpid.c: Likewise.
389 * resolv/gai_sigqueue.c: Likewise.
390 * resource/getpriority.c: Likewise.
391 * resource/getrlimit.c: Likewise.
392 * resource/getrusage.c: Likewise.
393 * resource/nice.c: Likewise.
394 * resource/setpriority.c: Likewise.
395 * resource/setrlimit.c: Likewise.
396 * resource/ulimit.c: Likewise.
397 * rt/aio_cancel.c: Likewise.
398 * rt/aio_fsync.c: Likewise.
399 * rt/aio_read.c: Likewise.
400 * rt/aio_sigqueue.c: Likewise.
401 * rt/aio_suspend.c: Likewise.
402 * rt/aio_write.c: Likewise.
403 * rt/clock_getres.c: Likewise.
404 * rt/clock_gettime.c: Likewise.
405 * rt/clock_nanosleep.c: Likewise.
406 * rt/clock_settime.c: Likewise.
407 * rt/lio_listio.c: Likewise.
408 * rt/mq_close.c: Likewise.
409 * rt/mq_getattr.c: Likewise.
410 * rt/mq_notify.c: Likewise.
411 * rt/mq_open.c: Likewise.
412 * rt/mq_receive.c: Likewise.
413 * rt/mq_send.c: Likewise.
414 * rt/mq_setattr.c: Likewise.
415 * rt/mq_timedreceive.c: Likewise.
416 * rt/mq_timedsend.c: Likewise.
417 * rt/mq_unlink.c: Likewise.
418 * rt/shm_open.c: Likewise.
419 * rt/shm_unlink.c: Likewise.
420 * rt/timer_create.c: Likewise.
421 * rt/timer_delete.c: Likewise.
422 * rt/timer_getoverr.c: Likewise.
423 * rt/timer_gettime.c: Likewise.
424 * rt/timer_settime.c: Likewise.
425 * setjmp/__longjmp.c: Likewise.
426 * setjmp/setjmp.c: Likewise.
427 * signal/kill.c: Likewise.
428 * signal/killpg.c: Likewise.
429 * signal/raise.c: Likewise.
430 * signal/sigaction.c: Likewise.
431 * signal/sigaltstack.c: Likewise.
432 * signal/sigblock.c: Likewise.
433 * signal/sigignore.c: Likewise.
434 * signal/sigintr.c: Likewise.
435 * signal/signal.c: Likewise.
436 * signal/sigpause.c: Likewise.
437 * signal/sigpending.c: Likewise.
438 * signal/sigqueue.c: Likewise.
439 * signal/sigreturn.c: Likewise.
440 * signal/sigset.c: Likewise.
441 * signal/sigsetmask.c: Likewise.
442 * signal/sigstack.c: Likewise.
443 * signal/sigsuspend.c: Likewise.
444 * signal/sigtimedwait.c: Likewise.
445 * signal/sigvec.c: Likewise.
446 * signal/sigwait.c: Likewise.
447 * signal/sigwaitinfo.c: Likewise.
448 * signal/sysv_signal.c: Likewise.
449 * socket/accept.c: Likewise.
450 * socket/accept4.c: Likewise.
451 * socket/bind.c: Likewise.
452 * socket/connect.c: Likewise.
453 * socket/getpeername.c: Likewise.
454 * socket/getsockname.c: Likewise.
455 * socket/getsockopt.c: Likewise.
456 * socket/isfdtype.c: Likewise.
457 * socket/listen.c: Likewise.
458 * socket/recv.c: Likewise.
459 * socket/recvfrom.c: Likewise.
460 * socket/recvmsg.c: Likewise.
461 * socket/send.c: Likewise.
462 * socket/sendmsg.c: Likewise.
463 * socket/sendto.c: Likewise.
464 * socket/setsockopt.c: Likewise.
465 * socket/shutdown.c: Likewise.
466 * socket/sockatmark.c: Likewise.
467 * socket/socket.c: Likewise.
468 * socket/socketpair.c: Likewise.
469 * stdio-common/ctermid.c: Likewise.
470 * stdio-common/cuserid.c: Likewise.
471 * stdio-common/remove.c: Likewise.
472 * stdio-common/rename.c: Likewise.
473 * stdio-common/renameat.c: Likewise.
474 * stdio-common/tempname.c: Likewise.
475 * stdlib/getcontext.c: Likewise.
476 * stdlib/makecontext.c: Likewise.
477 * stdlib/setcontext.c: Likewise.
478 * stdlib/swapcontext.c: Likewise.
479 * stdlib/system.c: Likewise.
480 * streams/fattach.c: Likewise.
481 * streams/fdetach.c: Likewise.
482 * streams/getmsg.c: Likewise.
483 * streams/getpmsg.c: Likewise.
484 * streams/putmsg.c: Likewise.
485 * streams/putpmsg.c: Likewise.
486 * sysdeps/unix/bsd/getpt.c: Likewise.
487 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
488 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
489 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
491 Likewise.
492 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
493 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
494 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
495 * sysvipc/msgctl.c: Likewise.
496 * sysvipc/msgget.c: Likewise.
497 * sysvipc/msgrcv.c: Likewise.
498 * sysvipc/msgsnd.c: Likewise.
499 * sysvipc/semctl.c: Likewise.
500 * sysvipc/semget.c: Likewise.
501 * sysvipc/semop.c: Likewise.
502 * sysvipc/semtimedop.c: Likewise.
503 * sysvipc/shmat.c: Likewise.
504 * sysvipc/shmctl.c: Likewise.
505 * sysvipc/shmdt.c: Likewise.
506 * sysvipc/shmget.c: Likewise.
507 * termios/tcdrain.c: Likewise.
508 * termios/tcflow.c: Likewise.
509 * termios/tcflush.c: Likewise.
510 * termios/tcgetattr.c: Likewise.
511 * termios/tcgetpgrp.c: Likewise.
512 * termios/tcsendbrk.c: Likewise.
513 * termios/tcsetattr.c: Likewise.
514 * termios/tcsetpgrp.c: Likewise.
515 * time/adjtime.c: Likewise.
516 * time/clock.c: Likewise.
517 * time/getitimer.c: Likewise.
518 * time/gettimeofday.c: Likewise.
519 * time/setitimer.c: Likewise.
520 * time/settimeofday.c: Likewise.
521 * time/stime.c: Likewise.
522 * time/time.c: Likewise.
523
5242012-11-04 Pino Toscano <toscano.pino@tiscali.it>
525
526 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
527 /usr/old/bin.
528
529 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
530 instead of spaces.
531 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
532
5332012-11-03 Joseph Myers <joseph@codesourcery.com>
534
535 [BZ #14796]
536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
537 FE_TONEAREST before applying Dekker multiplication and Knuth
538 addition. Clear inexact exceptions and check for exact zero
539 results afterwards.
540 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
541 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
542 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
543 * math/libm-test.inc (fma_test): Add more tests.
544 (fma_test_towardzero): Likewise.
545 (fma_test_downward): Likewise.
546 (fma_test_upward): Likewise.
547 * sysdeps/generic/math_private.h (default_libc_fesetround): New
548 function.
549 (libc_fesetround): New macro.
550 (libc_fesetroundf): Likewise.
551 (libc_fesetroundl): Likewise.
552 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
553 function.
554 (libc_fesetround_387): Likewise.
555 (libc_fesetroundf): New macro.
556 (libc_fesetround): Likewise.
557 (libc_fesetroundl): Likewise.
558 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
559 function.
560 (libc_fesetroundf): New macro.
561 (libc_fesetround): Likewise.
562 (libc_fesetroundl): Likewise.
563 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
564 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
565 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
566 libm_hidden_ver.
567 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
568 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
569 libm_hidden_def.
570 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
571 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
572 libm_hidden_ver.
573 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
574 libm_hidden_def.
575
576 [BZ #3439]
577 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
578 integer constant usable in #if and use that to give value to enum
579 constant.
580 (FE_DIVBYZERO): Likewise.
581 (FE_UNDERFLOW): Likewise.
582 (FE_OVERFLOW): Likewise.
583 (FE_INVALID): Likewise.
584 (FE_INVALID_SNAN): Likewise.
585 (FE_INVALID_ISI): Likewise.
586 (FE_INVALID_IDI): Likewise.
587 (FE_INVALID_ZDZ): Likewise.
588 (FE_INVALID_IMZ): Likewise.
589 (FE_INVALID_COMPARE): Likewise.
590 (FE_INVALID_SOFTWARE): Likewise.
591 (FE_INVALID_SQRT): Likewise.
592 (FE_INVALID_INTEGER_CONVERSION): Likewise.
593 (FE_TONEAREST): Likewise.
594 (FE_TOWARDZERO): Likewise.
595 (FE_UPWARD): Likewise.
596 (FE_DOWNWARD): Likewise.
597 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
598 (FE_DIVBYZERO): Likewise.
599 (FE_OVERFLOW): Likewise.
600 (FE_UNDERFLOW): Likewise.
601 (FE_INEXACT): Likewise.
602 (FE_TONEAREST): Likewise.
603 (FE_DOWNWARD): Likewise.
604 (FE_UPWARD): Likewise.
605 (FE_TOWARDZERO): Likewise.
606 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
607 (FE_UNDERFLOW): Likewise.
608 (FE_OVERFLOW): Likewise.
609 (FE_DIVBYZERO): Likewise.
610 (FE_INVALID): Likewise.
611 (FE_TONEAREST): Likewise.
612 (FE_TOWARDZERO): Likewise.
613 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
614 (FE_OVERFLOW): Likewise.
615 (FE_UNDERFLOW): Likewise.
616 (FE_DIVBYZERO): Likewise.
617 (FE_INEXACT): Likewise.
618 (FE_TONEAREST): Likewise.
619 (FE_TOWARDZERO): Likewise.
620 (FE_UPWARD): Likewise.
621 (FE_DOWNWARD): Likewise.
622 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
623 (FE_DIVBYZERO): Likewise.
624 (FE_OVERFLOW): Likewise.
625 (FE_UNDERFLOW): Likewise.
626 (FE_INEXACT): Likewise.
627 (FE_TONEAREST): Likewise.
628 (FE_DOWNWARD): Likewise.
629 (FE_UPWARD): Likewise.
630 (FE_TOWARDZERO): Likewise.
631
6322012-11-02 Chris Metcalf <cmetcalf@tilera.com>
633
634 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
635
6362012-11-03 Andreas Schwab <schwab@linux-m68k.org>
637
638 * scripts/cross-test-ssh.sh (command): Use newlines to separate
639 commands. Quote $PWD.
640 (blacklist_exports): Don't use remove_newlines. Replace "declare
641 -x" by "export".
642 (remove_newlines): Remove.
643
6442012-11-02 H.J. Lu <hongjiu.lu@intel.com>
645
646 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
647 * stdlib/stdlib.h (atof): Moved to ...
648 * include/bits/stdlib-float.h: Here. New file.
649 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
650 * stdlib/bits/stdlib-float.h: New file.
651 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
652 -mno-sse -mno-mmx.
653 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
654 <xmmintrin.h>.
655
6562012-11-02 Joseph Myers <joseph@codesourcery.com>
657
658 * conform/conformtest.pl (@headers): Add fenv.h.
659 * conform/data/fenv.h-data: New file.
660 * include/fenv.h [_ISOMAC]: Disable all contents of file except
661 include of <math/fenv.h>.
662
663 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
664 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
665 && !UNIX98]. Enables tests for XOPEN2K8.
666 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
667 POSIX2008]: Likewise.
668
669 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
670 (struct rusage): Do not expect type or its members.
671
672 [BZ #3439]
673 * math/math.h (FP_NAN): Define macro to integer constant usable in
674 #if and use that to give value to enum constant.
675 (FP_INFINITE): Likewise.
676 (FP_ZERO): Likewise.
677 (FP_SUBNORMAL): Likewise.
678 (FP_NORMAL): Likewise.
679
6802012-11-02 Andreas Schwab <schwab@linux-m68k.org>
681
682 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
683 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
684 arguments.
685
6862012-11-02 Roland McGrath <roland@hack.frob.com>
687
688 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
689 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
690 autoconf-time if not.
691 * configure.in: Remove AC_PREREQ.
692
6932012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
694
695 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
696 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
697 of the internal implementation.
698
6992012-11-02 Joseph Myers <joseph@codesourcery.com>
700
701 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
702 except include of <misc/sys/syslog.h>.
703
7042012-11-01 Andreas Schwab <schwab@linux-m68k.org>
705
706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
707 function returns with a NULL context exit with zero.
708
7092012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
710
711 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
712
7132012-11-01 H.J. Lu <hongjiu.lu@intel.com>
714
715 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
716 (run_program_cmd): This.
717 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
718 (tst_langinfo): New variable. Use it.
719
7202012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
721
722 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
723 floating point opcodes.
724
7252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
726
727 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
728 variable.
729
730 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
731
732 * sysdeps/mach/hurd/powerpc: Remove directory.
733 * sysdeps/mach/powerpc: Likewise.
734
7352012-11-01 Andreas Schwab <schwab@linux-m68k.org>
736
737 * scripts/check-local-headers.sh: Ignore c++ headers.
738
7392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
740
741 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
742 __libc_cleanup_region_start argument.
743
7442012-11-01 Joseph Myers <joseph@codesourcery.com>
745
746 [BZ #14784]
747 [BZ #14785]
748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
749 x * y using scaling, not as x * y + z.
750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
751 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
752 * math/libm-test.inc (fma_test): Add more tests.
753 (fma_test_towardzero): Likewise.
754 (fma_test_downward): Likewise.
755 (fma_test_upward): Likewise.
756
7572012-11-01 Thomas Schwinge <thomas@codesourcery.com>
758
759 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
760
7612012-10-31 Joseph Myers <joseph@codesourcery.com>
762
763 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
764 New variable.
765
7662012-10-31 Thomas Schwinge <thomas@codesourcery.com>
767
768 * rt/tst-shm.c (worker): Correct checking for mmap failure.
769
7702012-10-31 Andreas Schwab <schwab@linux-m68k.org>
771
772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
773 Fix sort order.
774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
775 Likewise.
776
7772012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
778
779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
780 Fix the order of the list for glibc 2.17.
781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
782 Likewise.
783
7842012-10-31 Andreas Schwab <schwab@linux-m68k.org>
785
786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
787
7882012-10-31 Joseph Myers <joseph@codesourcery.com>
789
790 [BZ #14610]
791 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
792 for low part of x being zero before using __atanl (y).
793 * math/libm-test.inc (atan2_test): Add another test.
794
795 * manual/install.texi (Configuring and compiling): Document
796 general use of test-wrapper and test-wrapper-env.
797 * INSTALL: Regenerated.
798
799 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
800 (__fma): Do not extract and scale down low bits on after-rounding
801 systems when result rounded to normal precision would have normal
802 exponent.
803 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
804 (__fmal): Do not extract and scale down low bits on after-rounding
805 systems when result rounded to normal precision would have normal
806 exponent.
807 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
808 (__fmal): Do not extract and scale down low bits on after-rounding
809 systems when result rounded to normal precision would have normal
810 exponent.
811 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
812 macro.
813 (fma_test): Add more tests.
814 (fma_test_towardzero): Likewise.
815 (fma_test_downward): Likewise.
816 (fma_test_upward): Likewise.
817
8182012-10-30 H.J. Lu <hongjiu.lu@intel.com>
819
820 * sysdeps/i386/tininess.h: Renamed to ...
821 * sysdeps/x86/tininess.h: This.
822 * sysdeps/x86_64/tininess.h: Removed.
823
8242012-10-30 Joseph Myers <joseph@codesourcery.com>
825
826 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
827 input. Use $(build-program-cmd).
828 ($(objpfx)tst-array1-static.out): Likewise.
829 ($(objpfx)tst-array2.out): Likewise.
830 ($(objpfx)tst-array3.out): Likewise.
831 ($(objpfx)tst-array4.out): Likewise.
832 ($(objpfx)tst-array5.out): Likewise.
833 ($(objpfx)tst-array5-static.out): Likewise.
834
8352012-10-30 Chris Metcalf <cmetcalf@tilera.com>
836
837 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
838 if defined.
839
840 * nss/nsswitch.h (nss_interface_function): Provide new
841 macro for use with NSS functions.
842 * grp/initgroups.c: Use new macro.
843 * nss/getXXbyYY.c: Likewise.
844 * nss/getXXbyYY_r.c: Likewise.
845 * nss/getXXent.c: Likewise.
846 * nss/getXXent_r.c: Likewise.
847 * sysdeps/posix/getaddrinfo.c: Likewise.
848
8492012-10-30 Andreas Jaeger <aj@suse.de>
850
851 * po/ru.po: Update Russion translation from translation project.
852
8532012-10-30 Joseph Myers <joseph@codesourcery.com>
854
855 [BZ #14152]
856 [BZ #14783]
857 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
858 result and shift together with sticky bit instead of replicating
859 round-to-nearest rounding.
860 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
861 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
862 * math/libm-test.inc (fma_test): Add more tests. Do not permit
863 missing underflow exceptions.
864 (fma_test_towardzero): Add more tests.
865 (fma_test_downward): Likewise.
866 (fma_test_upward): Likewise.
867
868 [BZ #14047]
869 * sysdeps/generic/tininess.h: New file.
870 * sysdeps/i386/tininess.h: Likewise.
871 * sysdeps/sh/tininess.h: Likewise.
872 * sysdeps/x86_64/tininess.h: Likewise.
873 * stdlib/tst-strtod-underflow.c: Likewise.
874 * stdlib/tst-tininess.c: Likewise.
875 * stdlib/strtod_l.c: Include <tininess.h>.
876 (round_and_return): Do not set errno for exact underflow cases.
877 Force an underflow exception when setting errno for underflow.
878 Determine underflow based on rounding to normal precision if
879 TININESS_AFTER_ROUNDING.
880 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
881 ERANGE for exact underflow cases.
882 * stdlib/Makefile (tests): Add tst-tininess and
883 tst-strtod-underflow.
884 ($(objpfx)tst-tininess): Use $(link-libm).
885 ($(objpfx)tst-strtod-underflow): Likewise.
886
8872012-10-30 Andreas Jaeger <aj@suse.de>
888
889 [BZ#14767]
890 * elf/Makefile (tests): Remove conditional for have-initfini-array
891 since this is now always required and the variable does not exist
892 anymore.
893 (tests-static): Likewise.
894 (modules-names): Likewise.
895
896 * po/eo.po: Add Esperanto translation from translation project.
897
898 * elf/tst-array1.c (fini_array): Make writeable so that it can be
899 merged with constructor/destructor.
900 (init_array): Likewise.
901 * elf/tst-array2dep.c (fini_array): Likewise.
902 (init_array): Likewise.
903
9042012-10-29 Mike Frysinger <vapier@gentoo.org>
905
906 * manual/message.texi: Delete @cartouche tags.
907
9082012-10-29 Pino Toscano <toscano.pino@tiscali.it>
909
910 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
911 EOPNOTSUPP.
912 * sysdeps/mach/hurd/fsync.c: Likewise.
913
914 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
915 [_POSIX_REALTIME_SIGNALS]: Change condition to
916 [_POSIX_REALTIME_SIGNALS > 0].
917
9182012-10-27 Andreas Jaeger <aj@suse.de>
919
920 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
921 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
922 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
923 [__WORDSIZE != 64]: Likewise.
924
9252012-10-26 H.J. Lu <hongjiu.lu@intel.com>
926
927 * iconvdata/tst-table.sh: Remove ${SHELL}.
928 * iconvdata/tst-tables.sh: Likewise.
929
9302012-10-25 David S. Miller <davem@davemloft.net>
931
932 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
933 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
934 of strtoull.
935
936 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
937 ifunc-impl-list.c
938 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
939 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
940 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
941 file.
942
9432012-10-25 Roland McGrath <roland@hack.frob.com>
944
945 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
946 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
947 __getdirentries.
948
9492012-10-25 Joseph Myers <joseph@codesourcery.com>
950 Jim Blandy <jimb@codesourcery.com>
951
952 * scripts/cross-test-ssh.sh: New file.
953 * manual/install.texi (Configuring and compiling): Document use of
954 cross-test-ssh.sh.
955 * INSTALL: Regenerated.
956
9572012-10-25 Pino Toscano <toscano.pino@tiscali.it>
958
959 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
960 EOPNOTSUPP.
961
9622012-10-25 Joseph Myers <joseph@codesourcery.com>
963
964 * Makeconfig (run-program-prefix): Fix comment.
965
9662012-10-24 Joseph Myers <joseph@codesourcery.com>
967 Jim Blandy <jimb@codesourcery.com>
968
969 * Makeconfig (test-wrapper): New variable,
970 (test-wrapper-env): Likewise.
971 [$(cross-compiling) = yes && $(test-wrapper) != ""]
972 (run-built-tests): Define to yes.
973 (run-program-prefix): Use $(test-wrapper).
974 (built-program-cmd): Likewise.
975 * Rules (make-test-out): Use $(test-wrapper-env) and
976 $(host-built-program-cmd).
977 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
978 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
979 tst-pathopt.sh.
980 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
981 $(test-wrapper-env) to tst-rtld-load-self.sh.
982 ($(objpfx)order2.out): Use $(test-wrapper).
983 ($(objpfx)tst-initorder.out): Likewise.
984 ($(objpfx)tst-initorder2.out): Likewise.
985 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
986 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
987 (test_wrapper_env): New variable. Use it to run ld.so.
988 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
989 Use it to run ld.so.
990 (test_wrapper_env): Likewise.
991 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
992 $(test-wrapper) to run-iconv-test.sh.
993 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
994 (ICONV): Use $test_wrapper.
995 * posix/Makefile ($(objpfx)globtest.out): Pass
996 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
997 globtest.sh, not $(run-program-prefix).
998 * posix/globtest.sh (run_via_rtld_prefix): New variable.
999 (test_wrapper): Likewise.
1000 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1001 set together with run_via_rtld_prefix.
1002 (run_program_prefix): Define in terms of test_wrapper and
1003 run_via_rtld_prefix.
1004
10052012-10-24 Roland McGrath <roland@hack.frob.com>
1006
1007 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1008 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1009 Targets removed.
1010
1011 [BZ #14743]
1012 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1013 Declare __clock_getres, __clock_gettime, __clock_settime,
1014 __clock_nanosleep, and __clock_getcpuclockid.
1015 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1016 Remove librt_hidden_def (clock_gettime).
1017 * sysdeps/unix/clock_gettime.c: Likewise.
1018 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1019 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1020 * rt/clock_getres.c: Define __clock_getres as an alias.
1021 * sysdeps/posix/clock_getres.c: Likewise.
1022 * rt/clock_settime.c: Define __clock_settime as an alias.
1023 * sysdeps/unix/clock_settime.c: Likewise.
1024 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1025 * sysdeps/unix/clock_nanosleep.c: Likewise.
1026 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1027 * rt/clock-compat.c: New file.
1028 * rt/Makefile (librt-routines): Add clock-compat and move
1029 $(clock-routines) to ...
1030 (routines): ... here, new variable.
1031 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1032 Don't add get_clockfreq here.
1033 * rt/Versions (libc: GLIBC_2.17): New version set.
1034 Add clock_* symbols here.
1035 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1036 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1037 (GLIBC_2.17): Add clock_* symbols.
1038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1040 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1042 Likewise.
1043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1044 Likewise.
1045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1049 * NEWS: Mention the move.
1050
1051 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1052 Use __open, __read, __close rather than their public counterparts.
1053 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1054 (__get_clockfreq_via_cpuinfo): Likewise.
1055 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1056 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1057
1058 * config.h.in (HAVE_IFUNC): New #undef.
1059 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1060 was successful.
1061 * configure: Regenerated.
1062
10632012-10-24 Mike Frysinger <vapier@gentoo.org>
1064
1065 * configure.in: Move READELF check to start of file.
1066 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1067 libc_cv_asm_gnu_indirect_function in the process.
1068 * configure: Regenerated.
1069
10702012-10-24 Mike Frysinger <vapier@gentoo.org>
1071
1072 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1073 send the output to /dev/null.
1074 (libc_cv_cc_with_libunwind): Likewise.
1075 (libc_cv_as_noexecstack): Likewise.
1076 * configure: Regenerate.
1077
10782012-10-24 Joseph Myers <joseph@codesourcery.com>
1079
1080 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1081
1082 * posix/globtest.sh (TMPDIR): Do not set.
1083 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1084 (testout): Likewise.
1085
10862012-10-24 Andreas Jaeger <aj@suse.de>
1087
1088 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1089 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1090 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1091 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1092 posix_fadvise64, posix_fallocate64.
1093
1094 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1095 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1096 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1097 Likewise.
1098 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1099 Likewise.
1100 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1101
1102 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1103 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1104 <bits/fcntl-linux.h>.
1105 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1106
1107 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1108 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1109 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1110 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1111 [__WORDSIZE != 64]: Likewise.
1112
11132012-10-23 Joseph Myers <joseph@codesourcery.com>
1114
1115 * Makeconfig (run-built-tests): New variable.
1116 * Rules [$(cross-compiling) = yes]: Change condition to
1117 [$(run-built-tests) = no].
1118 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1119 to [$(run-built-tests) = yes].
1120 * elf/Makefile [$(cross-compiling) = no]: Likewise
1121 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1122 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1123 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1124 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1125 * io/Makefile [$(cross-compiling) = no]: Likewise.
1126 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1127 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1128 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1129 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1130 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1131 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1132 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1133 * string/Makefile [$(cross-compiling) = no]: Likewise.
1134
1135 * posix/Makefile ($(objpfx)globtest.out): Pass
1136 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1137 $(rtld-installed-name).
1138 * posix/globtest.sh (elf_objpfx): Remove variable.
1139 (rtld_installed_name): Likewise.
1140 (library_path): Likewise.
1141 (run_program_prefix): New variable. Use for running globtest
1142 binary.
1143
11442012-10-23 Jim Blandy <jimb@codesourcery.com>
1145 Joseph Myers <joseph@codesourcery.com>
1146
1147 * Makeconfig (host-built-program-cmd): New variable.
1148 * elf/Makefile (tst-stackguard1-ARGS): Use
1149 $(host-built-program-cmd).
1150 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1151 (tst-spawn-ARGS): Likewise.
1152 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1153
11542012-10-23 Joseph Myers <joseph@codesourcery.com>
1155 Jim Blandy <jimb@codesourcery.com>
1156
1157 * Makeconfig (run-via-rtld-prefix): New variable.
1158 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1159 (built-program-cmd): Likewise.
1160
11612012-10-22 Andreas Jaeger <aj@suse.de>
1162
1163 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1164 __O_RSYNC if it exists, otherwise to O_SYNC.
1165
11662012-10-22 Jim Blandy <jimb@codesourcery.com>
1167 Joseph Myers <joseph@codesourcery.com>
1168
1169 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1170 /dev/null.
1171 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1172 from /dev/null
1173 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1174 /dev/null.
1175
11762012-10-22 Andreas Jaeger <aj@suse.de>
1177
1178 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1179 Define always.
1180 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1181
1182 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1183 bits/fcntl-linux.h.
1184
1185 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1186 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1187
1188 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1189 to __O_LARGEFILE.
1190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1191 to __O_LARGEFILE.
1192
11932012-10-21 Jim Blandy <jimb@codesourcery.com>
1194 Joseph Myers <joseph@codesourcery.com>
1195
1196 * config.make.in (NM): New variable.
1197
11982012-10-21 Andreas Jaeger <aj@suse.de>
1199
1200 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1201 definitions and declarations that are provided by
1202 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1203
12042012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1205
1206 [BZ #14683]
1207 * elf/Makefile (tests-static): Add tst-leaks1-static.
1208 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1209 ($(objpfx)tst-leaks1-static): New rule.
1210 ($(objpfx)tst-leaks1-static-mem): Likewise.
1211 (tst-leaks1-static-ENV): New macro.
1212 * elf/dl-open.c (dl_open_worker): Check the main application
1213 only if SHARED is defined.
1214 * elf/tst-leaks1-static.c: New file.
1215
12162012-10-20 Andreas Jaeger <aj@suse.de>
1217
1218 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1219 generic values for Linux.
1220 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1221 and declarations that are provided by <bits/fcntl-linux.h> and
1222 include <bits/fcntl-linux.h>.
1223 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1224 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1225
12262012-10-20 Roland McGrath <roland@hack.frob.com>
1227
1228 * io/fcntl.h: Move include of <bits/types.h> to the top and
1229 include it unconditionally.
1230
12312012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1232
1233 * wcsmbs/Makefile (tests-ifunc): New variable.
1234 (tests): Add $(tests-ifunc).
1235 * wcsmbs/test-wcschr-ifunc.c: New file.
1236 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1237 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1238 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1239 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1240 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1241
1242 * string/Makefile (tests-ifunc): New variable.
1243 (tests): Add $(tests-ifunc).
1244 * string/test-memccpy.c (TEST_NAME): New macro.
1245 * string/test-memchr.c (TEST_NAME): Likewise.
1246 * string/test-memcmp.c (TEST_NAME): Likewise.
1247 * string/test-memcpy.c (TEST_NAME): Likewise.
1248 * string/test-memmem.c (TEST_NAME): Likewise.
1249 * string/test-memmove.c (TEST_NAME): Likewise.
1250 * string/test-memset.c (TEST_NAME): Likewise.
1251 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1252 * string/test-stpcpy.c (TEST_NAME): Likewise.
1253 * string/test-stpncpy.c (TEST_NAME): Likewise.
1254 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1255 * string/test-strcasestr.c (TEST_NAME): Likewise.
1256 * string/test-strcat.c (TEST_NAME): Likewise.
1257 * string/test-strchr.c (TEST_NAME): Likewise.
1258 * string/test-strcmp.c(TEST_NAME): Likewise.
1259 * string/test-strcpy.c (TEST_NAME): Likewise.
1260 * string/test-strcspn.c (TEST_NAME): Likewise.
1261 * string/test-strlen.c (TEST_NAME): Likewise.
1262 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1263 * string/test-strncmp.c (TEST_NAME): Likewise.
1264 * string/test-strncpy.c (TEST_NAME): Likewise.
1265 * string/test-strnlen.c (TEST_NAME): Likewise.
1266 * string/test-strpbrk.c (TEST_NAME): Likewise.
1267 * string/test-strrchr.c (TEST_NAME): Likewise.
1268 * string/test-strspn.c (TEST_NAME): Likewise.
1269 * string/test-strstr.c (TEST_NAME): Likewise.
1270 * string/test-bcopy-ifunc.c: New file.
1271 * string/test-bzero-ifunc.c: Likewise.
1272 * string/test-memccpy-ifunc.c: Likewise.
1273 * string/test-memchr-ifunc.c: Likewise.
1274 * string/test-memcmp-ifunc.c: Likewise.
1275 * string/test-memcpy-ifunc.c: Likewise.
1276 * string/test-memmem-ifunc.c: Likewise.
1277 * string/test-memmove-ifunc.c: Likewise.
1278 * string/test-mempcpy-ifunc.c: Likewise.
1279 * string/test-memset-ifunc.c: Likewise.
1280 * string/test-rawmemchr-ifunc.c: Likewise.
1281 * string/test-stpcpy-ifunc.c: Likewise.
1282 * string/test-stpncpy-ifunc.c: Likewise.
1283 * string/test-strcasecmp-ifunc.c: Likewise.
1284 * string/test-strcasestr-ifunc.c: Likewise.
1285 * string/test-strcat-ifunc.c: Likewise.
1286 * string/test-strchr-ifunc.c: Likewise.
1287 * string/test-strchrnul-ifunc.c: Likewise.
1288 * string/test-strcmp-ifunc.c: Likewise.
1289 * string/test-strcpy-ifunc.c: Likewise.
1290 * string/test-strcspn-ifunc.c: Likewise.
1291 * string/test-strlen-ifunc.c: Likewise.
1292 * string/test-strncasecmp-ifunc.c: Likewise.
1293 * string/test-strncat-ifunc.c: Likewise.
1294 * string/test-strncmp-ifunc.c: Likewise.
1295 * string/test-strncpy-ifunc.c: Likewise.
1296 * string/test-strnlen-ifunc.c: Likewise.
1297 * string/test-strpbrk-ifunc.c: Likewise.
1298 * string/test-strrchr-ifunc.c: Likewise.
1299 * string/test-strspn-ifunc.c: Likewise.
1300 * string/test-strstr-ifunc.c: Likewise.
1301
1302 * debug/Makefile (tests-ifunc): New variable.
1303 (tests): Add $(tests-ifunc).
1304 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1305 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1306 * debug/test-stpcpy_chk-ifunc.c: New file.
1307 * debug/test-strcpy_chk-ifunc.c: Likewise.
1308
13092012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1310
1311 [BZ #13601]
1312 * elf/dl-load.c (open_verify): Retry read if the entire ELF
1313 header is not read in.
1314
13152012-10-19 Joseph Myers <joseph@codesourcery.com>
1316
1317 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
1318 script to $(SHELL) as $<. Pass $(common-objpfx) to script
1319 directly. Pass built executable to script as
1320 $(built-program-cmd).
1321 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
1322 $testprogram without using LD_LIBRARY_PATH and $ldso.
1323
1324 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1325 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1326 $(rtld-installed-name).
1327 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1328 (rtld_installed_name): Likewise.
1329 (library_path): Likewise.
1330 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
1331 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1332 $(run-program-prefix) to tst-tables.sh.
1333 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
1334 it to run tst-table-from and tst-table-to.
1335 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
1336 Pass it to tst-table.sh.
1337 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
1338 $(run-program-prefix) to tst-gettext.sh.
1339 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
1340 tst-translit.sh.
1341 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
1342 tst-gettext2.sh.
1343 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
1344 to run tst-gettext.
1345 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
1346 to run tst-gettext2.
1347 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
1348 to run tst-translit.
1349 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
1350 $(run-program-prefix) to tst-mtrace.sh.
1351 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
1352 to run tst-mtrace.
1353 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
1354 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
1355 $(rtld-installed-name).
1356 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
1357 (rtld_installed_name): Likewise.
1358 (run_program_prefix): New variable. Use it to run wordexp-test.
1359
1360 * Makeconfig (ARCH): Remove all definitions.
1361 (machine): Likewise.
1362 [ARCH]: Remove conditional code.
1363 [!objdir]: Give error.
1364 [!objdir] (objpfx): Remove.
1365 [!objdir] (common-objpfx): Likewise.
1366 [!objdir] (common-objdir): Likewise.
1367 * configure.in (config_makefile): Remove. Hardcode Makefile in
1368 AC_CONFIG_FILES call.
1369 * configure: Regenerated.
1370
1371 [BZ #13888]
1372 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
1373 or TMPDIR.
1374 (testout): Likewise.
1375
1376 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
1377 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
1378 $(rtld-installed-name).
1379 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
1380 (rtld_installed_name): Likwise.
1381 (runit): Remove function.
1382 (run_getconf): New variable, Use it for running getconf binary.
1383
13842012-10-18 H.J. Lu <hongjiu.lu@intel.com>
1385
1386 [BZ #14716]
1387 * string/test-memmem.c (check_result): New function.
1388 (do_one_test): Use it.
1389 (check1): New function.
1390 (test_main): Use it.
1391
13922012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
1393
1394 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
1395
13962012-10-18 Joseph Myers <joseph@codesourcery.com>
1397
1398 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
1399 (_G_LSEEK64): Likewise.
1400 (_G_MMAP64): Likewise.
1401 (_G_FSTAT64): Likewise.
1402 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
1403 (_G_LSEEK64): Likewise.
1404 (_G_MMAP64): Likewise.
1405 (_G_FSTAT64): Likewise.
1406 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
1407 unconditional. Call __mmap64 directly.
1408 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
1409 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
1410 __lseek64 directly.
1411 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
1412 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
1413 __mmap64 directly.
1414 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
1415 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
1416 __lseek64 directly.
1417 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
1418 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
1419 __lseek64 directly.
1420 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
1421 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
1422 __lseek64 directly.
1423 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
1424 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
1425 __fxstat64 directly.
1426 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
1427 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
1428 unconditional.
1429 (freopen64) [!_G_OPEN64]: Remove conditional code.
1430 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
1431 unconditional.
1432 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
1433 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
1434 unconditional.
1435 (ftello64) [!_G_LSEEK64]: Remove conditional code.
1436 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
1437 unconditional.
1438 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1439 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
1440 unconditional.
1441 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
1442 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
1443 unconditional.
1444 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1445 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
1446 unconditional.
1447 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1448 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
1449 unconditional.
1450 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1451
14522012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1453
1454 [BZ #12140]
1455 * manual/memory.texi (Malloc Tunable Parameters): Add note
1456 about free list pointers overwriting some perturb bytes.
1457 Wording suggested by Roland McGrath.
1458
14592012-10-17 Joseph Myers <joseph@codesourcery.com>
1460
1461 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
1462 (lgamma_test): Likewise.
1463 (tgamma_test): Likewise.
1464
14652012-10-16 Florian Weimer <fweimer@redhat.com>
1466
1467 [BZ #14700]
1468 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
1469 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
1470
14712012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
1472
1473 * NEWS: Mention BZ #14716.
1474 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
1475 when removing AVAILABLE1_USES_J macro.
1476
14772012-10-12 H.J. Lu <hongjiu.lu@intel.com>
1478
1479 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
1480 (__bswap_64): __uint64_t for unsigned 64-bit int.
1481
14822012-10-12 Andreas Schwab <schwab@linux-m68k.org>
1483
1484 * include/string.h (memmem): Declare libc hidden alias.
1485 * string/memmem.c (memmem): Define libc hidden alias.
1486 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
1487 __read, __close instead of open, read, close.
1488
14892012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1490
1491 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
1492 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
1493 global and hidden.
1494 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
1495 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
1496 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
1497 Likewise.
1498 (__rawmemchr_sse2): Likewise.
1499 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
1500 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
1501 (__strchr_sse2): Likewise.
1502 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
1503 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
1504 (__strcasecmp_sse2): Likewise.
1505 (__strncasecmp_sse2): Likewise.
1506 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
1507 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
1508 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
1509 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
1510 (__strrchr_sse2): Likewise.
1511 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
1512 ifunc-impl-list.c.
1513 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1514 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1515 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1516 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1517 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1518 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1519 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1520 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1521 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
1522 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
1523 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1524 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
1525 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
1526 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1527 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1528 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1529 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1530 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1531 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
1532 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1533 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1534 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1535 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1536 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1537 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1538 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1539 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1540 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1541 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1542 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1543
1544 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
1545 global and hidden.
1546 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
1547 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
1548 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
1549 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
1550 Likewise.
1551 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
1552 Likewise.
1553 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
1554 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
1555 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
1556 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
1557 ifunc-impl-list.c.
1558 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1559 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1560 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1561 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1562 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1563 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1564 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1565 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1566 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1567 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1568 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1569 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1570 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1571 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
1572 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
1573 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1574 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
1575 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
1576 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1577 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1578 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1579 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1580 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1581 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1582 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1583 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
1584 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
1585 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
1586 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
1587 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1588 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
1589 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1590 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1591 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
1592 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1593 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1594 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1595 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1596 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1597 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1598 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
1599
1600 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
1601 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
1602 * include/ifunc-impl-list.h: New file.
1603 * misc/ifunc-impl-list.c: Likewise.
1604 * misc/Makefile (routines): Add ifunc-impl-list.
1605 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
1606 * string/test-string.h: Include <ifunc-impl-list.h>.
1607 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
1608 impl_array): New variables.
1609 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
1610 are defined.
1611 (test_init): Call __libc_ifunc_impl_list to initialize
1612 func_list if TEST_IFUNC and TEST_NAME are defined.
1613
1614 * string/Makefile (strop-tests): Add bcopy and bzero.
1615 * string/test-bcopy.c: New file.
1616 * string/test-bzero.c: Likewise.
1617 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
1618 defined.
1619 * string/test-memset.c: Support bzero test if TEST_BZERO is
1620 defined.
1621 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
1622 __libc_memmove.
1623 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
1624 __libc_memset.
1625 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
1626 of memset.
1627
16282012-10-10 Joseph Myers <joseph@codesourcery.com>
1629
1630 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
1631 * configure: Regenerated.
1632
1633 * Makeconfig (+link-static-before-libc): Don't include
1634 $(link-static-libc).
1635
1636 * libio/libio.h (_IO_pos_t): Remove.
1637
16382012-10-10 Alexandre Oliva <aoliva@redhat.com>
1639
1640 * NEWS: Add note about FIPS mode. Wording suggested by Roland
1641 McGrath.
1642
16432012-10-10 Alexandre Oliva <aoliva@redhat.com>
1644
1645 * crypt/crypt-entry.c: Include fips-private.h.
1646 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
1647 * crypt/md5c-test.c (main): Tolerate disabled MD5.
1648 * sysdeps/unix/sysv/linux/fips-private.h: New file.
1649 * sysdeps/generic/fips-private.h: New file, dummy fallback.
1650
16512012-10-10 Alexandre Oliva <aoliva@redhat.com>
1652
1653 * crypt/crypt-private.h: Include stdbool.h.
1654 (_ufc_setup_salt_r): Return bool.
1655 * crypt/crypt-entry.c: Include errno.h.
1656 (__crypt_r): Return NULL with EINVAL for bad salt.
1657 * crypt/crypt_util.c (bad_for_salt): New.
1658 (_ufc_setup_salt_r): Check that salt is long enough and within
1659 the specified alphabet.
1660 * crypt/badsalttest.c: New file.
1661 * crypt/Makefile (tests): Add it.
1662 ($(objpfx)badsalttest): New.
1663
16642012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
1665
1666 * NEWS: Add entry for BZ #14602.
1667
16682012-10-09 Joseph Myers <joseph@codesourcery.com>
1669
1670 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
1671 type-generic.
1672 * math/libm-test.inc: Update comment listing what functions and
1673 macros are tested.
1674 (isgreater_test): New function.
1675 (isgreaterequal_test): Likewise.
1676 (isless_test): Likewise.
1677 (islessequal_test): Likewise.
1678 (islessgreater_test): Likewise.
1679 (isunordered_test): Likewise.
1680 (main): Call the new functions.
1681
16822012-10-09 Roland McGrath <roland@hack.frob.com>
1683
1684 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
1685 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
1686 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
1687 * sysdeps/i386/configure: Regenerated.
1688 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
1689 * sysdeps/mach/configure: Regenerated.
1690 * sysdeps/mach/hurd/configure: Regenerated.
1691 * sysdeps/powerpc/configure: Regenerated.
1692 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1693 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1694 * sysdeps/s390/s390-32/configure: Regenerated.
1695 * sysdeps/s390/s390-64/configure: Regenerated.
1696 * sysdeps/sh/configure: Regenerated.
1697 * sysdeps/sparc/configure: Regenerated.
1698 * sysdeps/unix/sysv/linux/configure: Regenerated.
1699 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1700 * sysdeps/x86_64/configure: Regenerated.
1701
1702 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1703 defined. Don't check if MAP is NULL.
1704
17052012-10-09 Joseph Myers <joseph@codesourcery.com>
1706
1707 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1708 (_G_stat64): Likewise.
1709 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1710 (_G_stat64): Likewise.
1711 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1712 instead of struct _G_stat64.
1713 * libio/fileops.c (mmap_remap_check): Likewise.
1714 (decide_maybe_mmap): Likewise.
1715 (_IO_new_file_seekoff): Likewise.
1716 (_IO_file_stat): Likewise.
1717 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1718 _G_off64_t.
1719 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1720 instead of struct _G_stat64.
1721 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1722
17232012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
1724
1725 [BZ #14602]
1726 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1727 Replace with ...
1728 (CHECK_EOL): New macro.
1729 (two_way_short_needle): Check beginning of haystack for EOL. Use
1730 CHECK_EOL.
1731 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1732 Replace with CHECK_EOL.
1733 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1734 Replace with CHECK_EOL.
1735
17362012-10-08 Joseph Myers <joseph@codesourcery.com>
1737
1738 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1739 type-generic.
1740 * math/libm-test.inc: Update comment listing what functions and
1741 macros are tested.
1742 (finite_test): New function.
1743 (isinf_test): Likewise.
1744 (isnan_test): Likewise.
1745 (fpclassify_test): Test subnormal input.
1746 (isfinite_test): Likewise.
1747 (isnormal_test): Likewise.
1748 (main): Call the new functions.
1749
17502012-10-08 Jonathan Nieder <jrnieder@gmail.com>
1751
1752 [BZ #14660]
1753 * Makerules (%.dynsym): Force C locale when running
1754 $(OBJDUMP) --dynamic-syms.
1755
17562012-10-08 Andreas Schwab <schwab@linux-m68k.org>
1757
1758 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1759 <stdint.h>.
1760
17612012-10-06 David S. Miller <davem@davemloft.net>
1762
1763 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1764 upper 32-bits of the length value in %o2 since we use branch-on-register
1765 tests which consider the entire 64-bit register.
1766
17672012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1768
1769 * string/test-strstr.c (check2): Add a test for page boundary.
1770
17712012-10-05 David S. Miller <davem@davemloft.net>
1772
1773 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1774 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1775 file.
1776 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1777 sysdep_routines.
1778 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1779 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1780 and bzero when HWCAP_SPARC_CRYPTO is present.
1781
17822012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1783
1784 [BZ #14602]
1785 * string/test-strstr.c (check2): New function.
1786 (test_main): Call check2.
1787
1788 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1789 and bug-strchr1.
1790 * string/bug-strcasestr1.c (do_test): Moved to ...
1791 * string/test-strcasestr.c (check1): Here. New function.
1792 (do_one_test): Break out result checking code into ...
1793 (check_result): This. New function.
1794 (do_one_test): Call check_result.
1795 (test_main): Call check1.
1796 * string/bug-strchr1.c (do_test): Moved to ...
1797 * string/test-strchr.c (check1): Here. New function.
1798 (do_one_test): Break out result checking code into ...
1799 (check_result): This. New function.
1800 (do_one_test): Call check_result.
1801 (test_main): Call check1.
1802 * string/bug-strstr1.c (main): Moved to ...
1803 * string/test-strchr.c (check1): Here. New function.
1804 (do_one_test): Break out result checking code into ...
1805 (check_result): This. New function.
1806 (do_one_test): Call check_result.
1807 (test_main): Call check1.
1808 * string/bug-strcasestr1.c: Removed.
1809 * string/bug-strchr1.c: Likewise.
1810 * string/bug-strstr1.c: Likewise.
1811
1812 * elf/Makefile (dl-routines): Add hwcaps.
1813 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1814 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1815 (_dl_important_hwcaps): Moved to ...
1816 * elf/dl-hwcaps.c: Here. New file.
1817 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1818
1819 [BZ #14557]
1820 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1821 if IS_IN_rtld isn't defined.
1822
1823 * elf/dl-support.c (_dl_sysinfo_map): New.
1824 Include "get-dynamic-info.h" and "setup-vdso.h".
1825 (_dl_non_dynamic_init): Call setup_vdso.
1826 * elf/dynamic-link.h: Don't include <assert.h>.
1827 (elf_get_dynamic_info): Moved to ...
1828 * elf/get-dynamic-info.h: Here. New file.
1829 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1830 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1831 * elf/setup-vdso.h: Here. New file.
1832 * elf/rtld.c: Include "setup-vdso.h".
1833 (dl_main): Call setup_vdso.
1834
18352012-10-05 Joseph Myers <joseph@codesourcery.com>
1836
1837 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1838 creal in comment listing functions tested. List finite, isinf,
1839 isnan, isless, islessequal, isgreater, isgreaterequal,
1840 islessgreater, isunordered, lgamma_r and pow10 as functions and
1841 macros not tested. Mention which functions not tested are aliases
1842 for other functions. Fix typo. Note that signs of NaNs are not
1843 tested.
1844
1845 * scripts/config.guess: Update from config.git.
1846 * scripts/config.sub: Likewise.
1847
18482012-10-04 Roland McGrath <roland@hack.frob.com>
1849
1850 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1851 * misc/madvise.c (madvise): Renamed to __madvise.
1852 Make madvise a weak alias.
1853 * include/sys/mman.h: Declare __madvise.
1854 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1855 * sysdeps/unix/syscalls.list
1856 (madvise): Make __madvise the strong name, and madvise a weak alias.
1857 * sysdeps/unix/sysv/linux/syscalls.list
1858 (madvise, mmap): Remove redundant entries.
1859 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1860 * malloc/malloc.c (mtrim): Likewise.
1861 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1862
18632012-10-03 Roland McGrath <roland@hack.frob.com>
1864
1865 * sysdeps/mach/hurd/dl-cache.c: File removed.
1866 * config.h.in (USE_LDCONFIG): New #undef.
1867 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1868 * configure: Regenerated.
1869 * elf/Makefile (dl-routines): Add dl-cache only under
1870 [$(use-ldconfig) = yes].
1871 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1872 cache on [USE_LDCONFIG].
1873 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1874 [USE_LDCONFIG].
1875 * elf/rtld.c (dl_main): Likewise.
1876
18772012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1878
1879 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1880 _SC_LEVEL4_CACHE_LINESIZE.
1881
18822012-10-03 Roland McGrath <roland@hack.frob.com>
1883
1884 * sysdeps/unix/bsd/confstr.h: File removed.
1885
18862012-10-02 Alexandre Oliva <aoliva@redhat.com>
1887
1888 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1889 sys/sdt-config.h.
1890
18912012-10-02 Roland McGrath <roland@hack.frob.com>
1892
1893 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1894 Make 'mapoff' field ElfW(Off) rather than off_t.
1895
18962012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1897
1898 * nscd/Makefile: Remove nscd-cflags and all its users.
1899 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1900 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1901
1902 [BZ #10631]
1903 * malloc.c (malloc_printerr): Clarify error message.
1904
19052012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1906
1907 [BZ #14648]
1908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1909 Set bit_FMA_Usable if FMA is supported.
1910 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1911 macro.
1912 (bit_FMA4_Usable): Updated.
1913 (index_FMA_Usable): New macro.
1914 (CPUID_FMA): Likewise
1915 (HAS_FMA): Defined with bit_FMA_Usable.
1916
19172012-10-01 Roland McGrath <roland@hack.frob.com>
1918
1919 * bits/types.h (__swblk_t): Type removed.
1920 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1921 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1922 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1923 (__SWBLK_T_TYPE): Likewise.
1924 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1925 (__SWBLK_T_TYPE): Likewise.
1926 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1927 (__SWBLK_T_TYPE): Likewise.
1928 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1929 (__SWBLK_T_TYPE): Likewise.
1930
19312012-10-01 Patsy Franklin <pfrankli@redhat.com>
1932 Honza Horak <hhorak@redhat.com>
1933
1934 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1935 (xdr_mapname): Use YPMAXMAP as maxsize.
1936 (xdr_peername): Use YPMAXPEER as maxsize.
1937 (xdr_keydat): Use YPAXRECORD as maxsize.
1938 (xdr_valdat): Use YPMAXRECORD as maxsize.
1939
19402012-10-01 Roland McGrath <roland@hack.frob.com>
1941
1942 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1943
1944 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1945 * csu/init-first.c: ... here.
1946 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1947 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1948 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1949 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1950 * sysdeps/i386/init-first.c: File removed.
1951 * sysdeps/sh/init-first.c: File removed.
1952
19532012-10-01 Joseph Myers <joseph@codesourcery.com>
1954
1955 [BZ #14645]
1956 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1957 if x * y might underflow to zero and z is zero.
1958 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1959 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1960 * math/libm-test.inc (min_subnorm_value): New variable.
1961 (fma_test): Add more tests.
1962 (fma_test_towardzero): Likewise.
1963 (fma_test_downward): Likewise
1964 (fma_test_upward): Likewise.
1965 (initialize): Set min_subnorm_value.
1966
19672012-09-29 Joseph Myers <joseph@codesourcery.com>
1968
1969 [BZ #14638]
1970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1971 0 + 0.
1972 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1973 mode for addition resulting in exact zero.
1974 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1975 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1976 exact 0 + 0.
1977 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1978 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1979 * math/libm-test.inc (fma_test): Add more tests.
1980 (fma_test_towardzero): New function.
1981 (fma_test_downward): Likewise.
1982 (fma_test_upward): Likewise.
1983 (main): Call the new functions.
1984
19852012-09-28 David S. Miller <davem@davemloft.net>
1986
1987 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1988
19892012-09-28 Roland McGrath <roland@hack.frob.com>
1990
1991 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1992 instead of SIGALRM.
1993
1994 * sysdeps/gnu/_G_config.h: Moved to ...
1995 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1996 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1997 * sysdeps/generic/_G_config.h: ... here.
1998
1999 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2000
2001 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2002
2003 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2004 Conditionalize target on [libnss_test1.so-version].
2005
2006 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2007
2008 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2009 (elfobjdir): Move out of conditionals.
2010
2011 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2012 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2013 (__nss_lookup_function): Conditionalize label remove_from_tree on
2014 [!DO_STATIC_NSS || SHARED], matching its only use.
2015
20162012-09-28 David S. Miller <davem@davemloft.net>
2017
2018 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2019 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2020 file.
2021 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2022 sysdep_routines.
2023 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2024 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2025 when HWCAP_SPARC_CRYPTO is present.
2026
20272012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2028
2029 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2030
20312012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2032
2033 [BZ #6530]
2034 * stdio-common/vfprintf.c (process_string_arg): Revert
2035 2000-07-22 change.
2036
20372011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2038
2039 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2040 for testcase.
2041 * stdio-common/tst-sprintf.c: Include <locale.h>
2042 (main): Test sprintf's handling of incomplete multibyte
2043 characters.
2044
20452012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2046
2047 * elf/dl-runtime.c (VERSYMIDX): Removed.
2048 * elf/dl-version.c (VERSYMIDX): Likewise.
2049 * elf/do-rel.h (VERSYMIDX): Likewise.
2050 (VALIDX): Likewise.
2051 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2052 * elf/rtld.c (VALIDX): Likewise.
2053 (ADDRIDX): Likewise.
2054 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2055 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2056 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
2057 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2058 (VALIDX): Likewise.
2059 (ADDRIDX): Likewise.
2060
20612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2062
2063 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2064
20652012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2066
2067 [BZ #11438]
2068 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2069 to global scope.
2070 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2071 addresses are in the same scope as 192.0.2/24.
2072 * posix/gai.conf: Document new scope table defaults.
2073
20742012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2075
2076 [BZ #5298]
2077 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2078 for ftell. Compute offsets from write pointers instead.
2079 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2080
20812012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2082
2083 [BZ #14543]
2084 * libio/Makefile (tests): New test case tst-fseek.
2085 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2086 combination works in wide mode.
2087 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2088 state when the external buffer state changes.
2089
20902012-09-27 David S. Miller <davem@davemloft.net>
2091
2092 [BZ #14376]
2093 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2094 pass reloc->r_addend in as the 'high' argument to
2095 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2096
2097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2098
20992012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2100
2101 * rt/tst-aio2.c: Include <pthread.h>.
2102 * rt/tst-aio3.c: Likewise.
2103
21042012-09-27 Steve Ellcey <sellcey@mips.com>
2105
2106 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2107
21082012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2109
2110 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2111 contents on [SHARED].
2112
21132012-09-26 Marek Polacek <polacek@redhat.com>
2114
2115 [BZ #14530]
2116 [BZ #13741]
2117 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2118 for C++ and GCC <4.3 as well as for non GCC compilers.
2119
21202012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2121
2122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2123
21242012-09-25 Roland McGrath <roland@hack.frob.com>
2125
2126 * Makefile.in (all, install): Declare with .PHONY.
2127 Reported by Michael Hope <michael.hope@linaro.org>.
2128
21292012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2130
2131 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2132 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2133 system header.
2134 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2135 Likewise.
2136 (sydep_routines): Add the new and the internal functions.
2137 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2138 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2140 (GLIBC_2.17): Add the new function.
2141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2142 (GLIBC_2.17): Likewise.
2143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2144 (GLIBC_2.17): Likewise.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2146 (GLIBC_2.17): Likewise.
2147 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2148
21492012-09-25 Alan Modra <amodra@gmail.com>
2150
2151 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2152 Add release barrier before setting once_control to say
2153 initialisation is done. Add hints on lwarx. Use macro in
2154 place of isync.
2155 (clear_once_control): Add release barrier.
2156
21572012-09-25 Joseph Myers <joseph@codesourcery.com>
2158
2159 [BZ #13629]
2160 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2161 specially.
2162 * math/s_clog10.c (__clog10): Likewise.
2163 * math/s_clog10f.c (__clog10f): Likewise.
2164 * math/s_clog10l.c (__clog10l): Likewise.
2165 * math/s_clogf.c (__clogf): Likewise.
2166 * math/s_clogl.c (__clogl): Likewise.
2167 * math/Makefile (libm-calls): Add x2y2m1.
2168 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2169 (__x2y2m1): Likewise.
2170 (__x2y2m1l): Likewise.
2171 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2172 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2173 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2174 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2175 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2176 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2177 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2178 * sysdeps/i386/fpu/libm-test-ulps: Update.
2179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2180
2181 [BZ #14621]
2182 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2183 int as type of variable DEPTH.
2184 (glob): Use size_t instead of int as type of variables NEWCOUNT
2185 and OLD_PATHC.
2186
21872012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2188
2189 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2190 Add s_sincosf-sse2.
2191 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2192 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2193 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2194 macros for using routine as __sincosf_ia32.
2195 Use macro for function declaration and weak_alias.
2196 * sysdeps/i386/fpu/libm-test-ulps: Update.
2197
2198 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2199 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2200
2201 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
2202 subnormal argument.
2203 * math/s_cexpf.c (__cexpf): Likewise.
2204 * math/s_csinf.c (__csinf): Likewise.
2205 * math/s_csinhf.c (__csinhf): Likewise.
2206 * math/s_ctanf.c (__ctanf): Likewise.
2207 * math/s_ctanhf.c (__ctanhf): Likewise.
2208 * math/s_ccosh.c (__ccoshf): Likewise.
2209 * math/s_cexp.c (__cexpl): Likewise.
2210 * math/s_csin.c (__csin): Likewise.
2211 * math/s_csinh.c (__csinh): Likewise.
2212 * math/s_ctan.c (__ctan): Likewise.
2213 * math/s_ctanh.c (ctanh): Likewise.
2214 * math/s_ccoshl.c (__ccoshl): Likewise.
2215 * math/s_cexpl.c (__cexpl): Likewise.
2216 * math/s_csinl.c (__csinl): Likewise.
2217 * math/s_csinhl.c (__csinhl): Likewise.
2218 * math/s_ctanl.c (__ctanl): Likewise.
2219 * math/s_ctanhl.c (__ctanhl): Likewise.
2220
22212012-09-25 Joseph Myers <joseph@codesourcery.com>
2222
2223 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2224 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2225 (_IO_off_t): Define to __off_t, not _G_off_t.
2226 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2227 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2228 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2229 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2230 type of __dummy and __dummy2 fields.
2231 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2232 (_G_ssize_t): Likewise.
2233 (_G_off_t): Likewise.
2234 (_G_pid_t): Likewise.
2235 (_G_uid_t): Likewise.
2236 (_G_wchar_t): Likewise.
2237 (_G_wint_t): Likewise.
2238 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2239 (_G_ssize_t): Likewise.
2240 (_G_off_t): Likewise.
2241 (_G_pid_t): Likewise.
2242 (_G_uid_t): Likewise.
2243 (_G_wchar_t): Likewise.
2244 (_G_wint_t): Likewise.
2245 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2246 (_G_ssize_t): Likewise.
2247 (_G_off_t): Likewise.
2248 (_G_pid_t): Likewise.
2249 (_G_uid_t): Likewise.
2250 (_G_wchar_t): Likewise.
2251 (_G_wint_t): Likewise.
2252
22532012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2254
2255 * malloc/arena.c: Include malloc-sysdep.h.
2256 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2257 is sufficient to shrink the heap or an unmap is needed.
2258 * sysdeps/generic/malloc-sysdep.h: New file. Define
2259 new function check_may_shrink_heap.
2260 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2261 new function check_may_shrink_heap.
2262
22632012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2264
2265 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2266 comments.
2267
22682012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2269
2270 * catgets/test-gencat.sh: Add "set -e".
2271 * elf/tst-pathopt.sh: Likewise.
2272 * grp/tst_fgetgrent.sh: Likewise.
2273 * iconvdata/run-iconv-test.sh: Likewise.
2274 * intl/tst-gettext.sh: Likewise.
2275 * intl/tst-gettext2.sh: Likewise.
2276 * intl/tst-gettext4.sh: Likewise.
2277 * intl/tst-gettext6.sh: Likewise.
2278 * intl/tst-translit.sh: Likewise.
2279 * io/ftwtest-sh: Likewise.
2280 * libio/test-freopen.sh: Likewise.
2281 * malloc/tst-mtrace.sh: Likewise.
2282 * posix/globtest.sh: Likewise.
2283 * posix/tst-getconf.sh: Likewise.
2284 * posix/wordexp-tst.sh: Likewise.
2285 * stdio-common/tst-printf.sh: Likewise.
2286 * stdio-common/tst-unbputc.sh: Likewise.
2287 * stdlib/tst-fmtmsg.sh: Likewise.
2288 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2289 * catgets/Makefile: Do not specify -e option when running
2290 testsuite shell scripts.
2291 * elf/Makefile: Likewise.
2292 * grp/Makefile: Likewise.
2293 * iconvdata/Makefile: Likewise.
2294 * intl/Makefile: Likewise.
2295 * io/Makefile: Likewise.
2296 * libio/Makefile: Likewise.
2297 * malloc/Makefile: Likewise.
2298 * posix/Makefile: Likewise.
2299 * stdio-common/Makefile: Likewise.
2300 * stdlib/Makefile: Likewise.
2301 * sysdeps/x86_64/Makefile: Likewise.
2302
2303 * io/ftwtest-sh: Add copyright header.
2304 * posix/globtest.sh: Likewise.
2305 * posix/tst-getconf.sh: Likewise.
2306 * posix/wordexp-tst.sh: Likewise.
2307 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2308
23092012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2310
2311 [BZ #13679]
2312 * Makeconfig (+link): Defined as $(+link-static) if
2313 $(build-shared) isn't yes.
2314 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2315 isn't yes.
2316 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2317
2318 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2319
2320 [BZ #14562]
2321 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2322 new chunk size with MALLOC_ALIGN_MASK.
2323
23242012-09-24 Joseph Myers <joseph@codesourcery.com>
2325
2326 [BZ #5044]
2327 * stdio-common/printf_fphex.c: Include <stdbool.h> and
2328 <rounding-mode.h>.
2329 (__printf_fphex): Determine rounding using get_rounding_mode and
2330 round_away.
2331 * stdio-common/tst-printf-round.c (struct hex_test): New
2332 structure.
2333 (hex_tests): New variable.
2334 (test_hex_in_one_mode): New function.
2335 (do_test): Also run tests for hex float output.
2336
23372012-09-21 Joseph Myers <joseph@codesourcery.com>
2338
2339 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2340 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2341 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
2342 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2343 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2344 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
2345 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2346 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2347
23482012-09-20 Joseph Myers <joseph@codesourcery.com>
2349
2350 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
2351 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
2352 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
2353 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
2354
23552012-09-19 Dmitry V. Levin <ldv@altlinux.org>
2356
2357 [BZ #14579]
2358 * elf/rtld.c (dl_main): Limit the check for self loading to normal
2359 mode only.
2360 * elf/tst-rtld-load-self.sh: New test.
2361 * elf/Makefile: Run it.
2362
23632012-09-18 Joseph Myers <joseph@codesourcery.com>
2364
2365 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
2366 (tst-writev-ENV): Remove.
2367 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
2368
23692012-09-17 Chris Metcalf <cmetcalf@tilera.com>
2370
2371 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
2372
23732012-09-17 Joseph Myers <joseph@codesourcery.com>
2374
2375 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
2376 unconditional.
2377 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
2378 Likewise.
2379 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
2380 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
2381 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2382 Likewise.
2383
23842012-09-14 H.J. Lu <hongjiu.lu@intel.com>
2385
2386 [BZ #14587]
2387 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
2388 * config.make.in (have-cpp-asm-debuginfo): Removed.
2389 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
2390 * configure: Regenerated.
2391
23922012-09-14 Joseph Myers <joseph@codesourcery.com>
2393
2394 [BZ #5044]
2395 * stdio-common/printf_fp.c: Include <stdbool.h> and
2396 <rounding-mode.h>.
2397 (___printf_fp): Determine rounding using get_rounding_mode and
2398 round_away.
2399 * stdio-common/tst-printf-round.c: New file.
2400 * stdio-common/Makefile (tests): Add tst-printf-round.
2401 (link-libm): New variable.
2402 ($(objpfx)tst-printf-round): Depend in $(link-libm).
2403
24042012-09-13 H.J. Lu <hongjiu.lu@intel.com>
2405
2406 [BZ #14576]
2407 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
2408 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
2409 Likewise.
2410 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
2411 Likewise.
2412
24132012-09-13 Joseph Myers <joseph@codesourcery.com>
2414
2415 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
2416 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2417 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2418 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2419
24202012-09-12 Joseph Myers <joseph@codesourcery.com>
2421
2422 [BZ #14518]
2423 * include/rounding-mode.h: New file.
2424 * sysdeps/generic/get-rounding-mode.h: Likewise.
2425 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
2426 * stdlib/strtod_l.c: Include <rounding-mode.h>.
2427 (MAX_VALUE): New macro.
2428 (MIN_VALUE): Likewise.
2429 (overflow_value): New function.
2430 (underflow_value): Likewise.
2431 (round_and_return): Use overflow_value and underflow_value to
2432 determine return values in overflow and underflow cases. Use
2433 round_away to determine rounding depending on rounding mode.
2434 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
2435 determine return values in overflow and underflow cases.
2436 * stdlib/tst-strtod-round.c: Include <fenv.h>.
2437 (struct test_results): New structure.
2438 (struct test): Use struct test_results to store expected results
2439 for all rounding modes.
2440 (TEST): Include expected results for all rounding modes.
2441 (test_in_one_mode): New function.
2442 (do_test): Use test_in_one_mode to compute and check results.
2443 Check results for all rounding modes.
2444 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
2445 $(link-libm).
2446
24472012-12-09 Allan McRae <allan@archlinux.org>
2448
2449 * sysdeps/i386/fpu/libm-test-ulps: Update
2450
24512012-09-11 Joseph Myers <joseph@codesourcery.com>
2452
2453 * sysdeps/generic/_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/gnu/_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.
2469 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
2470 (_G_int32_t): Likewise.
2471 (_G_uint16_t): Likewise.
2472 (_G_uint32_t): Likewise.
2473 (_G_HAVE_BOOL): Likewise.
2474 (_G_HAVE_ATEXIT): Likewise.
2475 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2476 (_G_HAVE_IO_FILE_OPEN): Likewise.
2477
24782012-09-11 H.J. Lu <hongjiu.lu@intel.com>
2479
2480 * csu/libc-tls.c: Update copyright years.
2481
24822012-09-10 Joseph Myers <joseph@codesourcery.com>
2483
2484 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
2485 [!_G_USING_THUNKS]: Remove conditional code.
2486 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
2487 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
2488
2489 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
2490 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
2491 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2492 (_G_VTABLE_LABEL_PREFIX): Likewise.
2493 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2494 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2495 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2496 (_G_VTABLE_LABEL_PREFIX): Likewise.
2497 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2498 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2499 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2500 (_G_VTABLE_LABEL_PREFIX): Likewise.
2501 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2502
25032012-09-10 H.J. Lu <hongjiu.lu@intel.com>
2504
2505 * libio/Makefile: Include ../Makeconfig before tests.
2506 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
2507 only if $(build-shared) is yes.
2508
2509 * iconv/gconv_db.c: Update copyright years.
2510
25112012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2512
2513 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
2514 unwind info if defined PIC. Fix special cases description.
2515 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
2516
2517 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
2518 DP_HI_MASK entry.
2519 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
2520
25212012-09-07 H.J. Lu <hongjiu.lu@intel.com>
2522
2523 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
2524
2525 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
2526 is NULL.
2527
2528 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
2529 (LDLIBS-tst-chk4): This.
2530 (LDFLAGS-tst-chk5): Renamed to ...
2531 (LDLIBS-tst-chk5): This.
2532 (LDFLAGS-tst-chk6): Renamed to ...
2533 (LDLIBS-tst-chk6): This.
2534 (LDFLAGS-tst-lfschk4): Renamed to ...
2535 (LDLIBS-tst-lfschk4): This.
2536 (LDFLAGS-tst-lfschk5): Renamed to ...
2537 (LDLIBS-tst-lfschk5): This.
2538 (LDFLAGS-tst-lfschk6): Renamed to ...
2539 (LDLIBS-tst-lfschk6): This.
2540
2541 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
2542 on $(common-objpfx)soversions.mk.
2543
25442012-09-07 Joseph Myers <joseph@codesourcery.com>
2545
2546 [BZ #10014]
2547 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
2548 example host name.
2549
25502012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2551
2552 * malloc/arena.c (arena_get_retry): New function that gets
2553 another arena for the caller to try its request on.
2554 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
2555 current arena cannot fulfill the request.
2556 (__libc_memalign): Likewise.
2557 (__libc_memalign): Likewise.
2558 (__libc_pvalloc): Likewise.
2559 (__libc_calloc): Likewise.
2560
25612012-09-05 John Tobey <john.tobey@gmail.com>
2562
2563 [BZ #13542]
2564 * manual/arith.texi (Operations on Complex): Fix description
2565 of carg branch cut.
2566
25672012-09-06 Joseph Myers <joseph@codesourcery.com>
2568
2569 [BZ #10014]
2570 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
2571 host name.
2572
2573 [BZ #10038]
2574 * manual/memory.texi (Memory): Make order of menu items match
2575 order of sections.
2576
25772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2578
2579 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
2580 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
2581 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
2582
25832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2584
2585 * csu/libc-tls.c (static_dtv): Renamed to ...
2586 (_dl_static_dtv): This. Make it global.
2587 (_dl_initial_dtv): Removed.
2588 (__libc_setup_tls): Updated.
2589 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
2590 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
2591 DL_INITIAL_DTV.
2592
25932012-09-06 Petr Machata <pmachata@redhat.com>
2594
2595 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
2596 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
2597 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
2598 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
2599
26002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2601
2602 [BZ #14545]
2603 * csu/libc-tls.c (_dl_initial_dtv): New variable.
2604 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
2605 freeing dtv[-1].
2606
26072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2608
2609 [BZ #14544]
2610 * Makeconfig (link-static-before-libc): Replace $(+prector)
2611 with $(+prectorT).
2612 (link-static-after-libc): Replace $(+postctor) with
2613 $(+postctorT).
2614 (link-bounded): Replace $(+prector)/$(+postctor) with
2615 $(+prectorT)/$(+postctorT).
2616 (+prectorT): New macro.
2617 (+postctorT): Likewise.
2618
26192012-09-06 Joseph Myers <joseph@codesourcery.com>
2620
2621 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
2622 (round_str): Handle values above the maximum for IBM long double
2623 as inexact.
2624 * stdlib/tst-strtod-round.c (tests): Regenerated.
2625
26262012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2627
2628 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
2629 assembler flag.
2630 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
2631 zarch_nohighgprs around the zarch optimized routines.
2632 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2633 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2634 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
2635 for zarch.
2636
26372012-09-05 David S. Miller <davem@davemloft.net>
2638
2639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2640
2641 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
2642 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
2643 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
2644 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
2645 entries.
2646
26472012-09-05 Alexandre Oliva <aoliva@redhat.com>
2648
2649 * malloc/arena.c: Fold copyright years.
2650 * malloc/mcheck.c, malloc/memusage.c: Likewise.
2651
26522012-09-05 Alexandre Oliva <aoliva@redhat.com>
2653
2654 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
2655
26562012-09-05 Alexandre Oliva <aoliva@redhat.com>
2657
2658 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
2659
26602012-09-05 Alexandre Oliva <aoliva@redhat.com>
2661
2662 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
2663 change internal state upon failure.
2664
26652012-09-05 Alexandre Oliva <aoliva@redhat.com>
2666
2667 * malloc/mcheck.c (mcheck_check_all): Fix typo.
2668 * malloc/memusage.c (mmap): Likewise.
2669 (mmap64, mremap): Likewise. Adjust name in comment.
2670
26712012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2672
2673 * libio/fileops.c: Fix typos in comments.
2674 * libio/oldfileops.c: Likewise.
2675 * libio/wfileops.c: Likewise.
2676
26772012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2678
2679 [BZ #1349]
2680 * malloc/Makefile (tests): Add tst-malloc-usable test case.
2681 (tst-malloc-usable-ENV): Set environment for test case.
2682 * malloc/hooks.c (malloc_check_get_size): New function to get
2683 requested size.
2684 * malloc/malloc.c (musable): Use malloc_check_get_size.
2685 * malloc/tst-malloc-usable.c: New test case.
2686
26872012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2688
2689 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
2690
26912012-09-05 Allan McRae <allan@archlinux.org>
2692
2693 [BZ #13966]
2694 * configure.in (CXX_SYSINCLUDES): Use compiler output to
2695 determine header location.
2696 * configure: Regenerated.
2697
26982012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2699
2700 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
2701 float format.
2702 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
2703 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2704 format.
2705 (test): Regenerate.
2706
27072012-09-04 David S. Miller <davem@davemloft.net>
2708
2709 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2710 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2711 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2712
27132012-09-04 Florian Weimer <fweimer@redhat.com>
2714
2715 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2716 failures.
2717
2718 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2719
27202012-09-04 Joseph Myers <joseph@codesourcery.com>
2721
2722 [BZ #9914]
2723 * libio/iogetdelim.c: Include <limits.h>.
2724 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2725 + len + 1 would overflow.
2726
27272012-09-03 Andreas Jaeger <aj@suse.de>
2728
2729 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2730 * sysdeps/i386/fpu/libm-test-ulps: Update.
2731
27322012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2733
2734 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2735 Add s_sinf-sse2, s_conf-sse2.
2736
2737 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2738 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2739 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2740 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2741
2742 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2743 for using routine as __sinf_ia32.
2744 Use macro for function declaration and weak_alias.
2745 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2746 for using routine as __cosf_ia32.
2747 Use macro for function declaration and weak_alias.
2748
2749 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2750 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2751
2752 * sysdeps/x86_64/fpu/s_sinf.S: New file.
2753 * sysdeps/x86_64/fpu/s_cosf.S: New file.
2754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2755
2756 * math/libm-test.inc (cos_test): Add more test cases.
2757 (sin_test): Likewise.
2758 (sincos_test): Likewise.
2759
27602012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2761
2762 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2763 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2764 hidden.
2765 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2766
27672012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2768
2769 [BZ #14538]
2770 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2771 first element of the GOT.
2772 (elf_machine_load_address): Return the difference between
2773 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2774
27752012-09-01 Allan McRae <allan@archlinux.org>
2776
2777 [BZ #13412]
2778 * configure.in (AWK): Require gawk version 3.0 or later.
2779 * configure: Regenerated.
2780
27812012-09-01 Joseph Myers <joseph@codesourcery.com>
2782
2783 * sysdeps/unix/sysv/linux/kernel-features.h
2784 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2785 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2786 [__NR_clock_getres]: Make code unconditional.
2787 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2788 (clock_getcpuclockid): Remove code left unreachable by removal of
2789 conditionals.
2790 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2791 code unconditional.
2792 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2793 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2794 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2795 Make code unconditional.
2796 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2797 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2798 * sysdeps/unix/sysv/linux/clock_settime.c
2799 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2800 conditional code.
2801 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2802 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2803
28042012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2805
2806 [BZ #14476]
2807 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2808 scripts/test-installation.pl.
2809
2810 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2811 and $ld_so_version if it is set.
2812
28132012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2814
2815 [BZ #14516]
2816 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2817 failure if reading from procfs failed.
2818 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2819
28202012-08-27 Joseph Myers <joseph@codesourcery.com>
2821
2822 * sysdeps/unix/sysv/linux/kernel-features.h
2823 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2824 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2825 Remove conditional code.
2826 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2827 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2828 Remove conditional code.
2829 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2830 * sysdeps/unix/sysv/linux/i386/fxstat.c
2831 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2832 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2833 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2834 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2835 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2836 * sysdeps/unix/sysv/linux/i386/lxstat.c
2837 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2838 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2839 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2840 Remove conditional code.
2841 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2842 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2843 Remove conditional code.
2844 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2845 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2846 <kernel-features.h>.
2847 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2848 Remove.
2849 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2850 Remove conditional code.
2851 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2852 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2853 Remove conditional.
2854
28552012-08-27 Mike Frysinger <vapier@gentoo.org>
2856
2857 [BZ #5400]
2858 * NEWS: Add fixed bug number.
2859
28602012-08-27 Joseph Myers <joseph@codesourcery.com>
2861
2862 [BZ #14519]
2863 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2864 underflowing exponent in case of negative sign.
2865 * stdlib/tst-strtod-round-data: Add more tests.
2866 * stdlib/tst-strtod-round.c (tests): Regenerated.
2867
2868 [BZ #3479]
2869 * stdlib/strtod_l.c (NDIG): Remove.
2870 (HEXNDIG): Likewise.
2871 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2872 smallest representable value.
2873 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2874 lie within an exact representation of 1/2 ulp of the result.
2875 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2876 unconditionally.
2877 (TENS_P9_IDX): Define unconditionally.
2878 (TENS_P9_SIZE): Likewise.
2879 (TENS_P10_IDX): Likewise.
2880 (TENS_P10_SIZE): Likewise.
2881 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2882 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2883 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2884 entries for 10^2^13 and 10^2^14.
2885 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2886 (TENS_P13_IDX): Define.
2887 (TENS_P13_SIZE): Likewise.
2888 (TENS_P14_IDX): Likewise.
2889 (TENS_P14_SIZE): Likewise.
2890 (_fpioconst_pow10): Change array size to
2891 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2892 unconditional.
2893 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2894 1024]: Add entries for 10^2^13 and 10^2^14.
2895 [LAST_POW10 > _LAST_POW10]: Remove #error.
2896 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2897 (_fpioconst_pow10): Change array size to
2898 FPIOCONST_POW10_ARRAY_SIZE.
2899 * stdlib/gen-fpioconst.c: New file.
2900 * stdlib/gen-tst-strtod-round.c: Likewise.
2901 * stdlib/tst-strtod-round-data: Likewise.
2902 * stdlib/tst-strtod-round.c: Likewise.
2903 * stdlib/Makefile (tests): Add tst-strtod-round.
2904
2905 [BZ #14459]
2906 * stdlib/strtod_l.c: Include <stdint.h>.
2907 (NDEBUG): Do not define.
2908 (round_and_return): Change EXPONENT parameter to type intmax_t.
2909 Rearrange calculations to avoid internal overflow possibilities.
2910 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2911 Rearrange calculations to avoid internal overflow possibilities.
2912 Assert that number fits inside MPNSIZE limbs.
2913 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2914 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2915 calculations and add assertions to avoid internal overflow
2916 possibilities. Add casts to avoid signed/unsigned operations.
2917 * stdlib/tst-strtod-overflow.c: New file.
2918 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2919
29202012-08-25 Marek Polacek <polacek@redhat.com>
2921
2922 * time/time.h: Fix some typos in comments.
2923
29242012-08-23 Roland McGrath <roland@hack.frob.com>
2925
2926 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2927 * posix/tst-rfc3484-2.c: Likewise.
2928 * posix/tst-rfc3484-3.c: Likewise.
2929
29302012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2931
2932 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2933 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2934
29352012-08-23 Joseph Myers <joseph@codesourcery.com>
2936
2937 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2938 #include of fxstatat64.c.
2939
29402012-08-22 Roland McGrath <roland@hack.frob.com>
2941
2942 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2943 * shadow/getspent_r.c: Likewise.
2944 * shadow/getspnam.c: Likewise.
2945 * shadow/getspnam_r.c: Likewise.
2946 * gshadow/getsgent.c: Likewise.
2947 * gshadow/getsgent_r.c: Likewise.
2948 * gshadow/getsgnam.c: Likewise.
2949 * gshadow/getsgnam_r.c: Likewise.
2950 * inet/getnetbyad.c: Likewise.
2951 * inet/getnetbyad_r.c: Likewise.
2952 * inet/getnetbynm.c: Likewise.
2953 * inet/getnetbynm_r.c: Likewise.
2954 * inet/getnetent.c: Likewise.
2955 * inet/getnetent_r.c: Likewise.
2956 * inet/getproto.c: Likewise.
2957 * inet/getproto_r.c: Likewise.
2958 * inet/getprtent.c: Likewise.
2959 * inet/getprtent_r.c: Likewise.
2960 * inet/getprtname.c: Likewise.
2961 * inet/getprtname_r.c: Likewise.
2962 * inet/getrpcbyname.c: Likewise.
2963 * inet/getrpcbyname_r.c: Likewise.
2964 * inet/getrpcbynumber.c: Likewise.
2965 * inet/getrpcbynumber_r.c: Likewise.
2966 * inet/getrpcent.c: Likewise.
2967 * inet/getrpcent_r.c: Likewise.
2968 * inet/getaliasent.c: Likewise.
2969 * inet/getaliasent_r.c: Likewise.
2970 * inet/getaliasname.c: Likewise.
2971 * inet/getaliasname_r.c: Likewise.
2972 * nscd/getgrgid_r.c: Likewise.
2973 * nscd/getgrnam_r.c: Likewise.
2974 * nscd/gethstbyad_r.c: Likewise.
2975 * nscd/gethstbynm3_r.c: Likewise.
2976 * nscd/getpwnam_r.c: Likewise.
2977 * nscd/getpwuid_r.c: Likewise.
2978 * nscd/getsrvbynm_r.c: Likewise.
2979 * nscd/getsrvbypt_r.c: Likewise.
2980 * nscd/gai.c: Likewise.
2981
2982 * configure.in (build_nscd): New substituted variable, set
2983 by --disable-build-nscd and defaults to $use_nscd.
2984 * configure: Regenerated.
2985 * config.make.in (build-nscd): New substituted variable.
2986 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2987 Change conditional to require [$(build-nscd) = yes] as well.
2988 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2989
2990 [BZ# 13696]
2991 * configure.in (use_nscd): New substituted variable, set by
2992 --disable-nscd. If enabled, define USE_NSCD.
2993 * configure: Regenerated.
2994 * config.h.in: Add USE_NSCD.
2995 * config.make.in (use-nscd): New substituted variable.
2996 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2997 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2998 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2999 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3000 (CFLAGS-getgrnam_r.c): Likewise.
3001 (CFLAGS-initgroups.c): Likewise.
3002 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3003 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3004 Variables removed.
3005 * inet/getnetgrent_r.c
3006 (nscd_setnetgrent): New function, broken out of ...
3007 (setnetgrent): ... here. Call it.
3008 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3009 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3010 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3011 * nscd/Makefile (routines, aux): Move definitions after include of
3012 Makeconfig. Conditionalize on [$(use-nscd) != no].
3013 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3014 Conditionalize on [USE_NSCD].
3015 (is_nscd, nscd_init_cb): Likewise.
3016 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3017 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3018 * nss/nss_db/db-init.c: Likewise.
3019 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3020 [USE_NSCD].
3021 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3022 (make_request): Use it.
3023 (cache_valid_p): New function.
3024 (__check_pf): Use it.
3025 * NEWS: Add item for --disable-nscd.
3026
30272012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3028
3029 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3030 to support sed >= 4.2.1-20-ga9bf076.
3031 * configure: Regenerated.
3032
30332012-08-22 Roland McGrath <roland@hack.frob.com>
3034
3035 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3036 Conditionalize whole body on [IREL].
3037
30382012-08-22 Jeff Law <law@redhat.com>
3039
3040 [BZ #14505]
3041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3042 if the family is PF_UNSPEC.
3043
30442012-08-22 Mike Frysinger <vapier@gentoo.org>
3045
3046 * Makerules (lib-version): Rename from V.
3047 (install-lib-nosubdir): Change V to lib-version.
3048
30492012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3050
3051 [BZ #14252]
3052 * powerpc32/power6/wcschr.c: New file.
3053 * powerpc32/power6/wcscpy.c: New file.
3054 * powerpc32/power6/wcsrchr.c: New file.
3055 * powerpc64/power6/wcschr.c: New file.
3056 * powerpc64/power6/wcscpy.c: New file.
3057 * powerpc64/power6/wcsrchr.c: New file.
3058
30592012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3060
3061 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3062 (two_way_short_needle): Use it.
3063 * string/strstr.c (AVAILABLE1_USES_J): Define.
3064 * string/strcasestr.c: Likewise.
3065
3066 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3067 array references.
3068 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3069
3070 [BZ #11607]
3071 * NEWS: Add an entry.
3072 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3073 define their defaults.
3074 (two_way_short_needle): Detect end-of-string on-the-fly.
3075 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3076 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3077 * string/bug-strcasestr1.c: New test.
3078 * string/Makefile: Run it.
3079
30802012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3081
3082 [BZ #11607]
3083 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3084 the first character.
3085
30862012-08-21 Roland McGrath <roland@hack.frob.com>
3087
3088 * csu/elf-init.c (__libc_csu_irel): Function removed.
3089 * csu/libc-start.c (apply_irel): New function.
3090 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3091
30922012-08-21 Joseph Myers <joseph@codesourcery.com>
3093
3094 * sysdeps/unix/sysv/linux/kernel-features.h
3095 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3096 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3097 <kernel-features.h>.
3098 [__NR_fadvise64_64]: Make code unconditional.
3099 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3100 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3101 !__NR_fadvise64_64)]: Likewise.
3102 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3103 !__NR_fadvise64_64))]: Likewise.
3104 [__NR_fadvise64]: Make code unconditional.
3105 [!__NR_fadvise64]: Remove conditional code.
3106 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3107 <kernel-features.h>.
3108 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3109 unconditional.
3110 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3111 conditional code.
3112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3113 not include <kernel-features.h>.
3114 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3115 unconditional.
3116 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3117 conditional code.
3118 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3119 include <kernel-features.h>.
3120 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3121 unconditional.
3122 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3123 conditional code.
3124
31252012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3126
3127 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3128 slight instruction rearrangements per scrollpipe analysis.
3129 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3130
31312012-08-20 Roland McGrath <roland@hack.frob.com>
3132
3133 * manual/syslog.texi (syslog; vsyslog, closelog):
3134 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3135 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3136
3137 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3138 DSOCAPS to match condition on defining it.
3139
31402012-08-20 Joseph Myers <joseph@codesourcery.com>
3141
3142 * sysdeps/unix/sysv/linux/kernel-features.h
3143 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3145 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3146 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3148 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3149 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3151 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3152 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3153
3154 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3155 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3156
3157 * sysdeps/unix/sysv/linux/kernel-features.h
3158 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3159 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3160 unconditional.
3161 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3162 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3163 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3164 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3165 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3166 Make code unconditional.
3167 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3168 (__mmap64) [!__NR_mmap2]: Likewise.
3169 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3170 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3171 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3172 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3173 [__NR_mmap2]: Make code unconditional.
3174 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3175 (__mmap64) [!__NR_mmap2]: Likewise.
3176
31772012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3178
3179 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3180
31812012-08-18 Andreas Jaeger <aj@suse.de>
3182
3183 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3184
31852012-08-18 Mike Frysinger <vapier@gentoo.org>
3186
3187 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3188 * include/unistd.h (__have_sock_cloexec): Likewise.
3189 (__have_pipe2): Likewise.
3190 (__have_dup3): Likewise.
3191
31922012-08-18 Mike Frysinger <vapier@gentoo.org>
3193
3194 [BZ #9685]
3195 * include/unistd.h (__have_pipe2): Change define into an extern int.
3196 (__have_dup3): Likewise.
3197 * socket/have_sock_cloexec.c: Include fcntl.h.
3198 (__have_pipe2): New variable.
3199 (__have_dup3): Likewise.
3200
32012012-08-17 Mike Frysinger <vapier@gentoo.org>
3202
3203 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3204
32052012-08-17 Marek Polacek <polacek@redhat.com>
3206
3207 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3208 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3209
32102012-08-17 Roland McGrath <roland@hack.frob.com>
3211
3212 * configure.in: Add AC_SUBST for sysheaders.
3213 * configure: Regenerated.
3214 * config.make.in (sysheaders): New substituted variable.
3215
3216 * sysdeps/unix/mkfifo.c: Moved ...
3217 * sysdeps/posix/mkfifo.c: ... here.
3218 * sysdeps/unix/mkfifoat.c: Moved ...
3219 * sysdeps/posix/mkfifoat.c: ... here.
3220
3221 * sysdeps/unix/utime.c: Moved ...
3222 * sysdeps/posix/utime.c: ... here.
3223
3224 * sysdeps/unix/time.c: Moved ...
3225 * sysdeps/posix/time.c: ... here.
3226 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3227 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
3228
3229 * sysdeps/unix/nice.c: Moved ...
3230 * sysdeps/posix/nice.c: ... here.
3231
3232 * sysdeps/unix/alarm.c: Moved ...
3233 * sysdeps/posix/alarm.c: ... here.
3234
3235 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3236
32372012-08-17 Jeff Law <law@redhat.com>
3238
3239 * intl/Makefile (codeset_mo): New variable.
3240 ($(codeset_mo)): New target.
3241 (tst-codeset.out): Depend on that. Remove explicit rule.
3242 (tst-gettext3.out, tst-gettext5.out): Likewise.
3243 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3244 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3245 * intl/tst-codeset.sh: Remove.
3246 * intl/tst-gettext3.sh: Likewise.
3247 * intl/tst-gettext5.sh: Likewise.
3248
32492012-08-17 Roland McGrath <roland@hack.frob.com>
3250
3251 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3252 * sysdeps/unix/syscalls.list: ... here.
3253
3254 * sysdeps/posix/getaddrinfo.c
3255 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3256 (gaiconf_init, gaiconf_reload): Use them.
3257 [!_STATBUF_ST_NSEC]
3258 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3259 Define using time_t rather than struct timespec.
3260
3261 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3262 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3263 Macros removed.
3264 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3265 [!NO_THREADS].
3266 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3267 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3268 Likewise.
3269
3270 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3271 __libc_cleanup_push argument.
3272
3273 * bits/param.h: New file.
3274 * misc/sys/param.h: New file.
3275 * include/sys/param.h: New file.
3276 * misc/Makefile (headers): Add bits/param.h.
3277 * sysdeps/generic/sys/param.h: File removed.
3278 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3279 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3280 * sysdeps/mach/hurd/bits/param.h: New file.
3281 * sysdeps/mach/hurd/sys/param.h: File removed.
3282
3283 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3284 last change.
3285
3286 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3287 [_IO_MTSAFE_IO].
3288 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3289 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3290 New macros.
3291
3292 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3293 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3294 rather than -D_IO_MTSAFE_IO conditionally.
3295 * stdio-common/Makefile (CPPFLAGS): Likewise.
3296 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3297 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3298 Use $(libio-mtsafe).
3299 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3300 of -D_IO_MTSAFE_IO.
3301 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3302 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3303 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3304 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3305 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3306 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3307 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3308 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3309 (CFLAGS-fread_u_chk.c): Likewise.
3310 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3311 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3312 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3313 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3314 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3315 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3316 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3317 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3318 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3319
3320 * libio/Makefile: Test [$(libc-reentrant) = yes]
3321 instead of [$(filter %REENTRANT, $(defines)) nonempty].
3322
3323 * Makeconfig
3324 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3325 * sysdeps/pthread/configure: File removed.
3326 * sysdeps/pthread/Makeconfig: New file.
3327 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3328 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3329
33302012-08-16 Gary Benson <gbenson@redhat.com>
3331
3332 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3333 unmapping the first object in a namespace.
3334
33352012-08-16 Roland McGrath <roland@hack.frob.com>
3336
3337 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
3338 (__internal_setnetgrent): ... this. Add internal_function to
3339 definition. Add libc_hidden_def.
3340 (setnetgrent): Update caller.
3341 (internal_endnetgrent): Renamed to ...
3342 (__internal_endnetgrent): ... this. Add internal_function to
3343 definition. Add libc_hidden_def.
3344 (endnetgrent): Update caller.
3345 (internal_getnetgrent_r): Renamed to ...
3346 (__internal_getnetgrent_r): ... this. Add internal_function to
3347 definition. Add libc_hidden_def.
3348 (__getnetgrent_r): Update caller.
3349 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
3350
33512012-08-16 Joseph Myers <joseph@codesourcery.com>
3352
3353 * stdlib/longlong.h: Update from GCC.
3354
33552012-08-16 Roland McGrath <roland@hack.frob.com>
3356
3357 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
3358 on _QL, which is set by umul_ppmm but never used.
3359 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
3360 variables, which are set by GMP macros but never used.
3361 * stdio-common/_itowa.c (_itowa): Likewise.
3362 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
3363 * stdlib/mod_1.c (mpn_mod_1): Likewise.
3364
33652012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
3366
3367 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
3368 struct La_sh_regs is not constant.
3369 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
3370 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
3371 and struct La_sparc64_regs are not constant.
3372
33732012-08-16 Joseph Myers <joseph@codesourcery.com>
3374
3375 * sysdeps/unix/sysv/linux/kernel-features.h
3376 (__ASSUME_POSIX_TIMERS): Remove.
3377 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3378 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3379 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
3380 Make code unconditional.
3381 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3382 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
3383 Make code unconditional.
3384 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3385 * sysdeps/unix/sysv/linux/clock_nanosleep.c
3386 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
3387 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3388 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
3389 Make code unconditional.
3390 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3391 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
3392 (__libc_missing_posix_timers): Remove.
3393
33942012-08-15 Roland McGrath <roland@hack.frob.com>
3395
3396 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
3397 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
3398
3399 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
3400
3401 * elf/dl-sym.c: Include <stdlib.h>.
3402
3403 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
3404 constants, which avoids warnings in 32-bit builds.
3405
3406 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
3407 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
3408
3409 * misc/lseek.c: File moved to ...
3410 * io/lseek.c: ... here.
3411
3412 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
3413
3414 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
3415 shifting LEN more than 31 bits at once.
3416
34172012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3418
3419 [BZ #14195]
3420 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
3421 segmentation fault for a case of two empty input strings.
3422 * string/test-strncasecmp.c (check1): Renamed to...
3423 (bz12205): ...this.
3424 (bz14195): Add new testcase for two empty input strings and N > 0.
3425 (test_main): Call new testcase, adapt for renamed function.
3426
34272012-08-15 Andreas Jaeger <aj@suse.de>
3428
3429 [BZ #14090]
3430 * crypt/md5test2.c: New test, based on test supplied by Serge
3431 Belyshev <belyshev@depni.sinp.msu.ru>.
3432 * crypt/Makefile (xtests): Add md5test-giant..
3433 * crypt/Makefile ($(objpfx)md5test-giant): Add.
3434
34352012-08-15 Paul Eggert <eggert@cs.ucla.edu>
3436
3437 [BZ #14090]
3438 * crypt/md5.c (md5_process_block): Don't assume the buffer
3439 length is less than 2**32.
3440 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
3441 length is less than 2**64.
3442
34432012-08-15 Roland McGrath <roland@hack.frob.com>
3444
3445 * string/str-two-way.h: Include <sys/param.h>.
3446 (MAX): Macro removed.
3447
3448 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
3449 Move #define and #undef of memmove to just before and after
3450 including <string.h>.
3451
3452 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
3453 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
3454 and after including <string.h>. Move declarations of
3455 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
3456 to before #include "string/memmove.c".
3457
3458 * include/dirent.h: Declare __getdirentries.
3459
3460 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
3461 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
3462
34632012-08-14 Mike Frysinger <vapier@gentoo.org>
3464
3465 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
3466 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
3467 * sysdeps/i386/configure: Regenerated.
3468 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
3469 STABS_CURRENT_FILE, and STABS_FUN.
3470 (END): Remove call to STABS_FUN_END.
3471 (STABS_CURRENT_FILE1): Delete.
3472 (STABS_CURRENT_FILE): Likewise.
3473 (STABS_FUN): Likewise.
3474 (STABS_FUN_END): Likewise.
3475 (STABS_FUN2): Likewise.
3476 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
3477 * sysdeps/x86_64/configure: Regenerated.
3478
34792012-08-14 Roland McGrath <roland@hack.frob.com>
3480
3481 * elf/dl-open.c: Include <atomic.h>.
3482 * elf/dl-lookup.c: Likewise.
3483
34842012-08-14 Joseph Myers <joseph@codesourcery.com>
3485
3486 * sysdeps/unix/sysv/linux/kernel-features.h
3487 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
3488 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
3489 unconditionally.
3490 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
3491 unconditionally.
3492 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
3493 condition on __ASSUME_CLONE_THREAD_FLAGS.
3494
34952012-08-14 Andreas Jaeger <aj@suse.de>
3496
3497 * sysdeps/i386/fpu/libm-test-ulps: Update.
3498
34992012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
3500
3501 * include/atomic.h (atomic_exchange_and_add): Split into ...
3502 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
3503 New atomic macros.
3504
35052012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
3506
3507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3508
35092012-08-13 Jeff Law <law@redhat.com>
3510
3511 * manual/stdio.texi (snprintf): Clarify handling of the trailing
3512 null byte in the output string.
3513
35142012-08-10 Joseph Myers <joseph@codesourcery.com>
3515
3516 * sysdeps/unix/sysv/linux/kernel-features.h
3517 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
3518 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
3519 (__ASSUME_ARG_MAX_STACK_BASED): Define.
3520 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3521 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
3522 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
3523 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
3524
35252012-08-09 Jeff Law <law@redhat.com>
3526
3527 [BZ #13939]
3528 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
3529 When avoid_arena is set, don't retry in the that arena. Pick the
3530 next one, whatever it might be.
3531 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
3532 (arena_lock): Pass in new parameter to arena_get2.
3533 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
3534 arena_get2.
3535 (__libc_malloc): Unify retrying after main arena failure with
3536 __libc_memalign version.
3537 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
3538
35392012-08-09 H.J. Lu <hongjiu.lu@intel.com>
3540
3541 [BZ #14166]
3542 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
3543 to __redirect_strstr.
3544 (__strstr_sse42): Use typeof __redirect_strstr.
3545 (__strstr_ia32): Likewise.
3546 (__libc_strstr): New prototype.
3547 (strstr): Renamed to ...
3548 (__libc_strstr): This.
3549 (strstr): New strong alias of __libc_strstr.
3550 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3551 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
3552 __redirect_time.
3553 Include <time.h>.
3554 (__libc_time): New prototype.
3555 (time_ifunc): Replace time with __libc_time.
3556 (time): New strong alias and hidden definition of __libc_time.
3557 (__GI_time): Remove strong alias.
3558 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
3559 Include <stddef.h>.
3560 (memmove): Redefined to __redirect_memmove.
3561 (__memmove_sse2): Use typeof __redirect_memmove.
3562 (__memmove_ssse3): Likewise.
3563 (__memmove_ssse3_back): Likewise.
3564 (__libc_memmove): New prototype.
3565 (memmove): Renamed to ...
3566 (__libc_memmove): This.
3567 (memmove): New strong alias of __libc_memmove.
3568
35692012-08-08 Mark Salter <msalter@redhat.com>
3570
3571 * elf/elf.h
3572 (R_MN10300_TLS_GD): Define.
3573 (R_MN10300_TLS_LD): Likewise.
3574 (R_MN10300_TLS_LDO): Likewise.
3575 (R_MN10300_TLS_GOTIE): Likewise.
3576 (R_MN10300_TLS_IE): Likewise.
3577 (R_MN10300_TLS_LE): Likewise.
3578 (R_MN10300_TLS_DTPMOD): Likewise.
3579 (R_MN10300_TLS_DTPOFF): Likewise.
3580 (R_MN10300_TLS_TPOFF): Likewise.
3581 (R_MN10300_SYM_DIFF): Likewise.
3582 (R_MN10300_ALIGN): Likewise.
3583 (R_MN10300_NUM): Update.
3584
35852012-08-08 Joseph Myers <joseph@codesourcery.com>
3586
3587 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
3588 Remove.
3589
35902012-08-08 Roland McGrath <roland@hack.frob.com>
3591
3592 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
3593
3594 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
3595 sysdeps/unix -> sysdeps/posix move.
3596 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3597
35982012-08-07 Allan McRae <allan@archlinux.org>
3599
3600 [BZ #14303]
3601 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
3602 (SUNOS_CPP): Likewise.
3603 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
3604 not found.
3605 (open_input): Call CPP using execvp.
3606
36072012-08-07 Joseph Myers <joseph@codesourcery.com>
3608
3609 * sysdeps/unix/sysv/linux/kernel-features.h
3610 (__ASSUME_PROT_GROWSUPDOWN): Remove.
3611 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3612 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3613 (__ASSUME_WAITID_SYSCALL): Likewise.
3614 * sysdeps/unix/sysv/linux/dl-execstack.c
3615 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
3616 code unconditional.
3617 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
3618 conditional code.
3619 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
3620 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
3621 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
3622 code.
3623 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
3624 unconditional.
3625 [__ASSUME_WAITID_SYSCALL]: Likewise.
3626 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
3627
36282012-08-07 Roland McGrath <roland@hack.frob.com>
3629
3630 * sysdeps/unix/closedir.c: Renamed to ...
3631 * sysdeps/posix/closedir.c: ... here.
3632 * sysdeps/unix/dirfd.c: Renamed to ...
3633 * sysdeps/posix/dirfd.c: ... here.
3634 * sysdeps/unix/dirstream.h: Renamed to ...
3635 * sysdeps/posix/dirstream.h: ... here.
3636 * sysdeps/unix/fdopendir.c: Renamed to ...
3637 * sysdeps/posix/fdopendir.c: ... here.
3638 * sysdeps/unix/opendir.c: Renamed to ...
3639 * sysdeps/posix/opendir.c: ... here.
3640 * sysdeps/unix/readdir.c: Renamed to ...
3641 * sysdeps/posix/readdir.c: ... here.
3642 * sysdeps/unix/readdir_r.c: Renamed to ...
3643 * sysdeps/posix/readdir_r.c: ... here.
3644 * sysdeps/unix/rewinddir.c: Renamed to ...
3645 * sysdeps/posix/rewinddir.c: ... here.
3646 * sysdeps/unix/seekdir.c: Renamed to ...
3647 * sysdeps/posix/seekdir.c: ... here.
3648 * sysdeps/unix/telldir.c: Renamed to ...
3649 * sysdeps/posix/telldir.c: ... here.
3650 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
3651 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
3652 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3653 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
3654
3655 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
3656 * bits/fcntl.h: ... here.
3657
3658 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
3659 not 0.
3660 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
3661 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
3662 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
3663 (struct flock): Move l_start, l_len to the beginning.
3664 Use __pid_t for l_pid.
3665 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
3666 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
3667 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
3668 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
3669 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
3670 [__USE_LARGEFILE64] (struct flock64): New type.
3671 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
3672
3673 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
3674 * bits/dirent.h: ... here.
3675
3676 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
3677 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
3678
36792012-08-07 Joseph Myers <joseph@codesourcery.com>
3680
3681 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3682 Change from 2.6.0 to 2.6.16.
3683 * sysdeps/unix/sysv/linux/configure: Regenerated.
3684 * sysdeps/unix/sysv/linux/kernel-features.h
3685 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
3686 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
3687 version.
3688 (__ASSUME_UTIMES): Likewise.
3689 (__ASSUME_CLONE_STOPPED): Remove.
3690 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
3691 architectures, not kernel version.
3692 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
3693 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3694 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3695 (__ASSUME_WAITID_SYSCALL): Likewise.
3696 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
3697 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
3698 * README: State 2.6.16 as minimum Linux kernel version. Do not
3699 refer to older versions.
3700
37012012-08-06 Roland McGrath <roland@hack.frob.com>
3702
3703 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3704 Define alphasort64 as an alias.
3705 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3706 Define versionsort64 as an alias.
3707 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3708 Define scandir64 as an alias.
3709 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3710 Define scandirat64 as an alias.
3711 * dirent/alphasort64.c (alphasort64):
3712 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3713 * dirent/versionsort64.c: Likewise.
3714 * dirent/scandir64.c: Likewise.
3715 * dirent/scandirat64.c: Likewise.
3716 * sysdeps/wordsize-64/alphasort.c: File removed.
3717 * sysdeps/wordsize-64/alphasort64.c: File removed.
3718 * sysdeps/wordsize-64/scandir.c: File removed.
3719 * sysdeps/wordsize-64/scandir64.c: File removed.
3720 * sysdeps/wordsize-64/scandirat.c: File removed.
3721 * sysdeps/wordsize-64/scandirat64.c: File removed.
3722 * sysdeps/wordsize-64/versionsort.c: File removed.
3723 * sysdeps/wordsize-64/versionsort64.c: File removed.
3724 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3725 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3726 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3727 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3728 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3729 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3730 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3731 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3732
3733 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3734 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3735 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3736 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3737 [defined __arch64__ || defined __sparcv9]
3738 (__INO_T_MATCHES_INO64_T): New macro.
3739 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3740 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3741 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3742 * sysdeps/unix/sysv/linux/bits/dirent.h
3743 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3744 (_DIRENT_MATCHES_DIRENT64): New macro.
3745
3746 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3747 Define lockf64 as an alias.
3748 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3749 Define fseeko64 as an alias.
3750 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3751 Define ftello64 as an alias.
3752 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3753 Define _IO_fgetpos64 and fgetpos64 as aliases.
3754 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3755 Define _IO_fsetpos64 and fsetpos64 as aliases.
3756 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3757 Conditionalize body on this.
3758 * libio/fseeko64.c: Likewise.
3759 * libio/ftello64.c: Likewise.
3760 * libio/iofgetpos64.c: Likewise.
3761 * libio/iofsetpos64.c: Likewise.
3762 * sysdeps/wordsize-64/lockf.c: File removed.
3763 * sysdeps/wordsize-64/lockf64.c: File removed.
3764 * sysdeps/wordsize-64/fseeko.c: File removed.
3765 * sysdeps/wordsize-64/fseeko64.c: File removed.
3766 * sysdeps/wordsize-64/ftello.c: File removed.
3767 * sysdeps/wordsize-64/ftello64.c: File removed.
3768 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3769 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3770 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3771 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3772 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3773 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3774 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3775 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3776 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3777 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3778 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3779 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3780 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3781 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3782
3783 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3784 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3785 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3786 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3787 [defined __arch64__ || defined __sparcv9]
3788 (__OFF_T_MATCHES_OFF64_T): New macro.
3789 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3790 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3791 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3792 (__OFF_T_MATCHES_OFF64_T): New macro.
3793
37942012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3795
3796 * stdlib/secure-getenv.c (__secure_getenv): Replace
3797 GLIBC_2_16 with GLIBC_2_17.
3798
37992012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3800
3801 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3802 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3803
38042012-08-03 David S. Miller <davem@davemloft.net>
3805
3806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3807
38082012-08-03 Joseph Myers <joseph@codesourcery.com>
3809
3810 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3811 Remove.
3812 (__ASSUME_CORRECT_SI_PID): Likewise.
3813 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3814 (__ASSUME_TMPFS_NAME): Likewise.
3815 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3816 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3817 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3818 (HAVE_AUX_SECURE): Make definition unconditional.
3819 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3820 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3821
38222012-08-03 Roland McGrath <roland@hack.frob.com>
3823
3824 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3825 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3826 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3827 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3828 __eloop_threshold instead of SYMLOOP_MAX.
3829
3830 * sysdeps/generic/eloop-threshold.h: New file.
3831 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3832 of MAXSYMLINKS.
3833 * elf/chroot_canon.c (chroot_canon): Likewise.
3834
38352012-08-03 Joseph Myers <joseph@codesourcery.com>
3836
3837 [BZ #13717]
3838 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3839 Change to 2.6.0 everywhere.
3840 * sysdeps/unix/sysv/linux/configure: Regenerated.
3841 * sysdeps/unix/sysv/linux/kernel-features.h
3842 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3843 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3844 kernel versions.
3845 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3846 (__ASSUME_FUTEX_REQUEUE): Remove.
3847 (__ASSUME_STATFS64): Define unconditionally.
3848 (__ASSUME_AT_SECURE): Likewise.
3849 (__ASSUME_CORRECT_SI_PID): Likewise.
3850 (__ASSUME_TGKILL): Define without depending on kernel version for
3851 i386.
3852 (__ASSUME_UTIMES): Likewise.
3853 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3854 kernel version.
3855 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3856 (__ASSUME_TMPFS_NAME): Likewise.
3857 * README: Update reference to Linux kernel versions.
3858
38592012-08-02 Marek Polacek <polacek@redhat.com>
3860
3861 [BZ# 14150]
3862 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3863 libc_cv_asm_type_prefix with %.
3864 * configure: Regenerated.
3865 * include/libc-symbols.h: Remove comment about
3866 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3867 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3868 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3869 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3870 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3871 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3872 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3873 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3874 * elf/tst-unique2mod1.c: Likewise.
3875 * elf/tst-unique1mod2.c: Likewise.
3876 * elf/tst-unique1mod1.c: Likewise.
3877 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3878 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3879 Replace ASM_TYPE_DIRECTIVE with .type.
3880 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3881 * sysdeps/i386/sysdep.h: Likewise.
3882 * sysdeps/x86_64/sysdep.h: Likewise.
3883 * sysdeps/sh/sysdep.h: Likewise.
3884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3885 Do not define ASM_TYPE_DIRECTIVE.
3886 * sysdeps/powerpc/sysdep.h: Likewise.
3887 * sysdeps/powerpc/powerpc32/sysdep.h:
3888 Replace ASM_TYPE_DIRECTIVE with .type.
3889 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3890 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3891 * sysdeps/i386/fpu/e_powf.S: Likewise.
3892 * sysdeps/i386/fpu/e_expl.S: Likewise.
3893 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3894 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3895 * sysdeps/i386/fpu/e_pow.S: Likewise.
3896 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3897 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3898 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3899 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3900 * sysdeps/i386/fpu/e_log2.S: Likewise.
3901 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3902 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3903 * sysdeps/i386/fpu/e_powl.S: Likewise.
3904 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3905 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3906 * sysdeps/i386/fpu/e_logl.S: Likewise.
3907 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3908 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3909 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3910 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3911 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3912 * sysdeps/i386/fpu/e_log.S: Likewise.
3913 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3914 * sysdeps/i386/fpu/e_logf.S: Likewise.
3915 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3916 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3917 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3918 * sysdeps/i386/fpu/e_log10.S: Likewise.
3919 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3920 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3921 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3922 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3923 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3924 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3925 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3926 * sysdeps/i386/i686/strtok.S: Likewise.
3927 * sysdeps/i386/i386-mcount.S: Likewise.
3928 * sysdeps/i386/strtok.S: Likewise.
3929 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3930 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3931 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3932 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3933 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3934 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3935 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3936 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3937 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3938 * sysdeps/x86_64/_mcount.S: Likewise.
3939 * sysdeps/x86_64/strtok.S: Likewise.
3940 * sysdeps/sh/_mcount.S: Likewise.
3941
39422012-08-01 Roland McGrath <roland@hack.frob.com>
3943
3944 * libio/iofopen.c: Include <fcntl.h>.
3945 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3946 (_IO_fopen64, fopen64): Define as aliases.
3947 * libio/iofopen64.c: Include <fcntl.h>.
3948 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3949 Conditionalize body on this.
3950 * sysdeps/wordsize-64/iofopen.c: File removed.
3951 * sysdeps/wordsize-64/iofopen64.c: File removed.
3952
39532012-08-01 Marek Polacek <polacek@redhat.com>
3954
3955 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3956 Use dlfcn directly instead of a variable.
3957 (binfmt-subdir): Do not define.
3958 (dlfcn): Likewise.
3959
39602012-08-01 Joseph Myers <joseph@codesourcery.com>
3961
3962 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3963 Remove all definitions.
3964 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3965 <kernel-features.h>.
3966 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3967 (miss_F_GETOWN_EX): Remove all definitions.
3968 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3969 macro definition.
3970 [!__ASSUME_FCNTL64]: Remove conditional code.
3971 [__ASSUME_FCNTL64]: Make code unconditional.
3972 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3973 <kernel-features.h>.
3974 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3975 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3976 (lockf64) [__NR_fcntl64]: Make code unconditional.
3977 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3978
3979 * sysdeps/unix/sysv/linux/kernel-features.h
3980 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3981 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3982 Make code unconditional.
3983 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3984 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3986 [__NR_vfork]: Make code unconditional.
3987 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3988 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3990 [__NR_vfork]: Make code unconditional.
3991 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3992 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3993
39942012-08-01 Roland McGrath <roland@hack.frob.com>
3995
3996 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3997 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3998
3999 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4000 Define mkstemp64 as an alias.
4001 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4002 Define mkstemps64 as an alias.
4003 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4004 Define mkostemp64 as an alias.
4005 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4006 Define mkostemps64 as an alias.
4007 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4008 Conditionalize body on this.
4009 * misc/mkostemp64.c: Likewise.
4010 * misc/mkostemps64.c: Likewise.
4011 * misc/mkstemps64.c: Likewise.
4012 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4013 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4014 * sysdeps/wordsize-64/mkostemp.c: File removed.
4015 * sysdeps/wordsize-64/mkstemp.c: File removed.
4016 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4017 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4018 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4019 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4020
4021 [BZ #14138]
4022 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4023 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4024 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4025 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4026
4027 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4028 compat_symbol macros from <shlib-compat.h> rather than the underlying
4029 default_symbol_version and symbol_version macros, so that DEFAULT
4030 lines in shlib-versions are respected.
4031 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4032
40332012-08-01 Florian Weimer <fweimer@redhat.com>
4034
4035 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4036 Declare with warn_unused_result.
4037 (setgid, setregid, setegid, setresgid): Likewise.
4038 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4039 Likewise.
4040 * WUR-REPORT: Remove set*id functions.
4041
40422012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4043
4044 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4045
40462012-07-31 Roland McGrath <roland@hack.frob.com>
4047
4048 * include/sys/socket.h (__libc_accept, __libc_accept4):
4049 Add attribute_hidden.
4050 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4051
4052 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4053 use of PTR_MANGLE.
4054 * inet/getnetgrent_r.c (setup): Likewise.
4055
4056 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4057
40582012-07-31 David S. Miller <davem@davemloft.net>
4059
4060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4061
40622012-07-31 Joseph Myers <joseph@codesourcery.com>
4063
4064 [BZ #13629]
4065 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4066 value between 1.0 and 2.0 and smaller part has absolute value less
4067 than 1.0.
4068 * math/s_clog10.c (__clog10): Likewise.
4069 * math/s_clog10f.c (__clog10f): Likewise.
4070 * math/s_clog10l.c (__clog10l): Likewise.
4071 * math/s_clogf.c (__clogf): Likewise.
4072 * math/s_clogl.c (__clogl): Likewise.
4073 * math/libm-test.inc (clog_test): Add more tests.
4074 (clog10_test): Likewise.
4075 * sysdeps/i386/fpu/libm-test-ulps: Update.
4076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4077
40782012-07-31 Florian Weimer <fweimer@redhat.com>
4079
4080 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4081 Exit with zero in case no suitable GID is found, and write a
4082 message to standard error.
4083
40842012-07-30 Roland McGrath <roland@hack.frob.com>
4085
4086 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4087 rather than to 1.
4088 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4089 (MAXPATHLEN): Removed.
4090 (NOGROUP, NODEV): New macros.
4091 (setbit, clrbit, isset, isclr): New macros.
4092 (howmany, roundup, powerof2): New macros.
4093 (DEV_BSIZE): New macro.
4094
4095 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4096 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4097
4098 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4099 definition on [!__NO_LONG_DOUBLE_MATH].
4100
4101 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4102 PTR_MANGLE and PTR_DEMANGLE.
4103
4104 * socket/accept4.c (accept4): Rename to __libc_accept4.
4105 Define accept4 as a weak alias.
4106
4107 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4108 on [_DIRENT_HAVE_D_TYPE].
4109 * io/ftw.c (ftw_dir): Likewise.
4110
4111 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4112
4113 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4114
4115 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4116 Use the BSD numbers rather than the arbitrary ones we had.
4117 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4118 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4119 (SIGXCPU, SIGXFSZ): New macros.
4120 (_NSIG): Now 32.
4121
4122 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4123 initializer on [_LIBC_REENTRANT].
4124
4125 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4126 definitions inside [_POSIX_MAPPED_FILES].
4127
4128 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4129
4130 * dirent/opendir.c: Include <fcntl.h>.
4131
4132 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4133 (__libc_getspecific): Likewise.
4134 (__libc_key_create): Likewise.
4135
4136 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4137 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4138 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4139 (tmpfile64): Define as alias.
4140 * sysdeps/wordsize-64/tmpfile.c: File removed.
4141 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4142 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4143 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4144
4145 * stdio-common/vfscanf.c: Include <stdbool.h>.
4146 * nss/makedb.c: Likewise.
4147 * stdio-common/_i18n_number.h: Likewise.
4148 * argp/argp-help.c: Likewise.
4149 * posix/wordexp.c: Likewise.
4150 * sysdeps/posix/spawni.c: Likewise.
4151 * nss/nss_files/files-initgroups.c: Likewise.
4152 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4153 * nss/nss_files/files-initgroups.c: Likewise.
4154 * nss/nss_db/db-netgrp.c: Likewise.
4155 * nss/nss_db/db-initgroups.c: Likewise.
4156 * io/fchmodat.c: Include <sys/stat.h>.
4157
4158 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4159 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4160
4161 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4162 [HAVE_MMAP].
4163
4164 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4165 Add multiple inclusion protection.
4166
41672012-07-27 David S. Miller <davem@davemloft.net>
4168
4169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4170
41712012-07-27 Gary Benson <gbenson@redhat.com>
4172
4173 [BZ #14298]
4174 * elf/rtld.c: Include <stap-probe.h>.
4175 (dl_main): Added static probes "init_start" and "init_complete".
4176 * elf/dl-load.c: Include <stap-probe.h>.
4177 (lose): Take new parameter "nsid".
4178 Added static probe "map_failed".
4179 (_dl_map_object_from_fd): Pass namespace id to lose.
4180 Added static probe "map_start".
4181 (open_verify): Pass namespace id to lose.
4182 * elf/dl-open.c: Include <stap-probe.h>.
4183 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4184 and "reloc_complete".
4185 * elf/dl-close.c: Include <stap-probe.h>.
4186 (_dl_close_worker): Added static probes "unmap_start" and
4187 "unmap_complete".
4188 * elf/rtld-debugger-interface.txt: New file documenting the above.
4189
41902012-07-26 Roland McGrath <roland@hack.frob.com>
4191
4192 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4193 rather than a string variable.
4194 * sunrpc/rpc_main.c (h_output): Likewise.
4195 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4196
41972012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4198
4199 * inet/check_native.c: New file.
4200
42012012-07-26 Joseph Myers <joseph@codesourcery.com>
4202
4203 [BZ #13629]
4204 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4205 if larger part has absolute value 1.0.
4206 * math/s_clog10.c (__clog10): Likewise.
4207 * math/s_clog10f.c (__clog10f): Likewise.
4208 * math/s_clog10l.c (__clog10l): Likewise.
4209 * math/s_clogf.c (__clogf): Likewise.
4210 * math/s_clogl.c (__clogl): Likewise.
4211 * math/libm-test.inc (clog_test): Add more tests.
4212 (clog10_test): Likewise.
4213 * sysdeps/i386/fpu/libm-test-ulps: Update.
4214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4215
4216 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4217 (pltexit): Likewise.
4218 (La_regs): Likewise.
4219 (La_retval): Likewise.
4220 (int_retval): Likewise.
4221 Update #error for removed macros to refer only to definitions in
4222 tst-audit.h.
4223 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4224 macro.
4225 (pltexit): Likewise.
4226 (La_regs): Likewise.
4227 (La_retval): Likewise.
4228 (int_retval): Likewise.
4229 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4230 macro.
4231 (pltexit): Likewise.
4232 (La_regs): Likewise.
4233 (La_retval): Likewise.
4234 (int_retval): Likewise.
4235 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4236 macro.
4237 (pltexit): Likewise.
4238 (La_regs): Likewise.
4239 (La_retval): Likewise.
4240 (int_retval): Likewise.
4241 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4242 macro.
4243 (pltexit): Likewise.
4244 (La_regs): Likewise.
4245 (La_retval): Likewise.
4246 (int_retval): Likewise.
4247 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4248 macro.
4249 (pltexit): Likewise.
4250 (La_regs): Likewise.
4251 (La_retval): Likewise.
4252 (int_retval): Likewise.
4253 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4254 macro.
4255 (pltexit): Likewise.
4256 (La_regs): Likewise.
4257 (La_retval): Likewise.
4258 (int_retval): Likewise.
4259 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4260 macro definitions in tst-audit.h.
4261 * sysdeps/i386/tst-audit.h: New file.
4262 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4263 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4264 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4265 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4266 * sysdeps/sh/tst-audit.h: Likewise.
4267 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4268 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4269 * sysdeps/x86_64/tst-audit.h: Likewise.
4270
42712012-07-26 Andreas Jaeger <aj@suse.de>
4272
4273 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4274 ptrace.
4275
4276 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4277 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4278 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4279 PTRACE_O_MASK.
4280 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4281 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4282 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4283
4284 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4285 value.
4286
4287 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4288 _sigsys.
4289 (si_call_addr, si_syscall, si_arch): Define new macro.
4290 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4291 _sigsys.
4292 (si_call_addr, si_syscall, si_arch): Define new marcro.
4293 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4294 _sigsys.
4295 (si_call_addr, si_syscall, si_arch): Define new macro.
4296 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4297 _sigsys.
4298 (si_call_addr, si_syscall, si_arch): Define new macro.
4299
43002012-07-25 Joseph Myers <joseph@codesourcery.com>
4301
4302 [BZ #13717]
4303 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4304 Change to 2.4.21 where previously 2.4.1.
4305 * sysdeps/unix/sysv/linux/configure: Regenerated.
4306 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4307 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4308 Linux kernel version.
4309 (__ASSUME_STD_AUXV): Remove.
4310 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4311 kernel version.
4312 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4313 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4314 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4315 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4316 (__ASSUME_NETLINK_SUPPORT): Likewise.
4317 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4318 (__no_netlink_support): Remove conditional definition.
4319 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4320 Remove.
4321 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4322 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4323 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4324 (if_nameindex_ioctl): Remove.
4325 (if_nameindex_netlink): Do not handle __no_netlink_support.
4326 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4327 code.
4328 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4329 Remove conditional code.
4330 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4331 code.
4332 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4333 unconditional.
4334 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4335 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
4336 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
4337 Remove.
4338 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4339 [!__ASSUME_STD_AUXV]: Remove conditional code.
4340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
4341 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
4342 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
4343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
4344 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
4345 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4346 code.
4347 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4349 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
4350 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4351 conditional code.
4352 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4354 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4355 code.
4356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4357 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4358 conditional code.
4359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
4360 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4361 code unconditional.
4362 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4363 conditional code.
4364 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4365 unconditional.
4366 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4367 conditional code.
4368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4369 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4370 unconditional.
4371 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4372 conditional code.
4373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4374 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4375 code unconditional.
4376 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4377 conditional code.
4378 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4379 unconditional.
4380 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4381 conditional code.
4382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4383 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4384 code unconditional.
4385 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4386 conditional code.
4387 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4388 unconditional.
4389 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4390 conditional code.
4391
43922012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4393
4394 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4395 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
4396 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4397 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
4398 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
4399 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4400 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4401 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4402 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
4403 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4404 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
4405 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4406 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
4407 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4408 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4409 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
4410 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
4411 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
4412 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
4413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
4414 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
4415 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4416 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4417
44182012-07-25 Florian Weimer <fweimer@redhat.com>
4419
4420 * Versions.def: Add GLIBC_2.17.
4421 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
4422 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
4423 Introduce __libc_secure_getenv.
4424 * stdlib/Versions (2.17): Add secure_getenv
4425 (GLIBC_PRIVATE): Add __libc_secure_getenv.
4426 * stdlib/secure-getenv.c: Rename __secure_getenv to
4427 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
4428 symbol __secure_getenv for GLIBC_2.0.
4429 * stdlib/tst-secure-getenv.c: New.
4430 * stdlib/Makefile (tests): Add testcase.
4431 * manual/startup.texi (Environment Access): Document
4432 secure_getenv.
4433 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
4434 __libc_secure_getenv.
4435 * inet/ruserpass.c (ruserpass): Likewise.
4436 * malloc/mtrace.c (mtrace): Likewise.
4437 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
4438 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4439 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
4440 * sysdeps/posix/tempname.c: Likewise. Evaluate
4441 HAVE_SECURE_GETENV.
4442 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
4443 __secure_getenv to __libc_secure_getenv.
4444 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
4445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4446 Likewise.
4447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4448 Likewise.
4449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4451 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4456
44572012-07-25 Joseph Myers <joseph@codesourcery.com>
4458
4459 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
4460 (struct La_i86_retval): Likewise.
4461 (struct La_x86_64_regs): Likewise.
4462 (struct La_x86_64_retval): Likewise.
4463 (struct La_x32_regs): Likewise.
4464 (struct La_x32_retval): Likewise.
4465 (struct La_ppc32_regs): Likewise.
4466 (struct La_ppc32_retval): Likewise.
4467 (struct La_ppc64_regs): Likewise.
4468 (struct La_ppc64_retval): Likewise.
4469 (struct La_sh_regs): Likewise.
4470 (struct La_sh_retval): Likewise.
4471 (struct La_s390_32_regs): Likewise.
4472 (struct La_s390_32_retval): Likewise.
4473 (struct La_s390_64_regs): Likewise.
4474 (struct La_s390_64_retval): Likewise.
4475 (struct La_sparc32_regs): Likewise.
4476 (struct La_sparc32_retval): Likewise.
4477 (struct La_sparc64_regs): Likewise.
4478 (struct La_sparc64_retval): Likewise.
4479 (struct audit_ifaces): Remove architecture-specific pltenter and
4480 pltexit members.
4481 * sysdeps/i386/ldsodefs.h: New file.
4482 * sysdeps/powerpc/ldsodefs.h: Likewise.
4483 * sysdeps/s390/ldsodefs.h: Likewise.
4484 * sysdeps/sh/ldsodefs.h: Likewise.
4485 * sysdeps/sparc/ldsodefs.h: Likewise.
4486 * sysdeps/x86_64/ldsodefs.h: Likewise.
4487
44882012-07-25 Marek Polacek <polacek@redhat.com>
4489
4490 [BZ #6808]
4491 * math/libm-test.inc (yn_test): Add another test.
4492 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
4493 to ERANGE when the result is +-Inf.
4494 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4495 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4496 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
4497 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
4498
44992012-07-24 Joseph Myers <joseph@codesourcery.com>
4500
4501 * conform/data/time.h-data (NULL): Use macro-constant. Require
4502 equal to 0.
4503 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
4504 clock_t.
4505 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
4506
45072012-07-23 Thomas Schwinge <thomas@codesourcery.com>
4508
4509 * configure.in <sysdeps resolving>: Correct printing
4510 Implies_before.
4511 * configure: Regenerate.
4512
45132012-07-22 Thomas Schwinge <thomas@codesourcery.com>
4514
4515 * math/w_ilogb.c: Include <limits.h>.
4516 * math/w_ilogbl.c: Likewise.
4517
45182012-07-20 Joseph Myers <joseph@codesourcery.com>
4519
4520 * manual/lang.texi (__va_copy): Document primarily as ISO C99
4521 va_copy. Document allowing for unavailable va_copy only as
4522 pre-C99 compatibility.
4523 * manual/string.texi (Copying and Concatenation): Use va_copy
4524 instead of __va_copy in concat example.
4525
45262012-07-20 Pino Toscano <toscano.pino@tiscali.it>
4527
4528 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
4529 (__sendto): Use create_address_port. Initialize APORT and deallocate
4530 it if not null.
4531
4532 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
4533 with O_NOLINK passed to __file_name_lookup.
4534
4535 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
4536 with O_NOLINK passed to __file_name_lookup.
4537
4538 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
4539 negative N or less than NGIDS.
4540
4541 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
4542 type to string_t. Set ERANGE as errno and return it if NAME is not big
4543 enough. Use memcpy instead of strncpy.
4544
45452012-07-20 Joseph Myers <joseph@codesourcery.com>
4546
4547 * elf/Makefile (check-data): Remove.
4548 (localplt.data): New vpath directive.
4549 ($(objpfx)check-localplt.out): Use localplt.data from vpath
4550 instead of $(check-data).
4551 * scripts/data/localplt-generic.data: Move to ...
4552 * sysdeps/generic/localplt.data: ... here.
4553 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
4554 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
4555 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4557 ... here.
4558 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
4559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4560 ... here.
4561 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
4562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
4563 ... here.
4564 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
4565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4566 ... here.
4567 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
4568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
4569 ... here.
4570 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
4571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
4572 ... here.
4573
45742012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4575
4576 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
4577 PPC32 and PPC64 files.
4578 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
4579 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
4580
45812012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4582
4583 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
4584 __makecontext_ret to ...
4585 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4586 ... here and call exit if uc_link is NULL. New file.
4587 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
4588 __makecontext_ret.S.
4589 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
4590 __makecontext_ret to ...
4591 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4592 ... here and call exit if uc_link is NULL. New file.
4593 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
4594 __makecontext_ret.S.
4595
45962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4597
4598 * elf/elf.h (R_390_IRELATIVE): New definition.
4599 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
4600 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
4601 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
4602 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4603 (elf_machine_lazy_rel): Likewise.
4604 * sysdeps/s390/dl-irel.h: New file.
4605 * sysdeps/s390/s390-64/memcpy.S: New asm code.
4606 * sysdeps/s390/s390-64/memset.S: New asm code.
4607 * sysdeps/s390/s390-64/memcmp.S: New asm code.
4608 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
4609 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
4610 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
4611 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
4612 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
4613 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
4614 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
4615 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
4616 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
4617 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
4618 * sysdeps/s390/s390-32/memcpy.S: New asm code.
4619 * sysdeps/s390/s390-32/memset.S: New asm code.
4620 * sysdeps/s390/s390-32/memcmp.S: New asm code.
4621
46222012-07-17 Marek Polacek <polacek@redhat.com>
4623
4624 [BZ #14349]
4625 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
4626 * sysdeps/s390/s390-64/configure.in: Likewise.
4627 * sysdeps/sparc/configure.in: Likewise.
4628 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
4629 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
4630 * sysdeps/i386/configure.in: Likewise.
4631 * sysdeps/x86_64/configure.in: Likewise.
4632 * sysdeps/sh/configure.in: Likewise.
4633 * sysdeps/s390/s390-32/configure: Regenerated.
4634 * sysdeps/s390/s390-64/configure: Likewise.
4635 * sysdeps/x86_64/configure: Likewise.
4636 * sysdeps/sh/configure: Likewise.
4637 * sysdeps/powerpc/powerpc64/configure: Likewise.
4638 * sysdeps/powerpc/powerpc32/configure: Likewise.
4639 * sysdeps/sparc/configure: Likwise.
4640 * sysdeps/i386/configure: Likewise.
4641
4642 * elf/dl-open.c: Comment fixes.
4643
46442012-07-17 Joseph Myers <joseph@codesourcery.com>
4645
4646 * Makefile [CXX] (check-data): Remove.
4647 [CXX] (c++-types.data): New vpath directive.
4648 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
4649 vpath. Do not allow for C++ type data being missing.
4650 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
4651 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
4652 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
4653 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
4654 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
4655 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
4656 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
4657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4658 ... here.
4659 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
4660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4661 ... here.
4662 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
4663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
4664 ... here.
4665 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
4666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
4667 ... here.
4668 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
4669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
4670 ... here.
4671 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
4672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
4673 ... here.
4674 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
4675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
4676 ... here.
4677 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
4678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
4679
4680 * elf/tls-macros.h (TLS_LE): Move architecture-specific
4681 definitions to architecture-specific files.
4682 (TLS_IE): Likewise.
4683 (TLS_LD): Likewise.
4684 (TLS_GD): Likewise.
4685 * sysdeps/i386/tls-macros.h: New file.
4686 * sysdeps/powerpc/tls-macros.h: Likewise.
4687 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4688 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4689 * sysdeps/sh/tls-macros.h: Likewise.
4690 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
4691 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
4692 * sysdeps/x86_64/tls-macros.h: Likewise.
4693
46942012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4695
4696 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
4697 zero value for regular exit case.
4698
4699 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4700 (__start_context): Preserve zero value for regular exit case.
4701
47022012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4703 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4704
4705 * manual/setjmp.texi (setcontext): Clarify normal process
4706 termination when uc_link is the null pointer.
4707 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4708 exit call.
4709
47102012-07-16 Andreas Schwab <schwab@linux-m68k.org>
4711
4712 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4713 preprocessor. Test for each exception mask separately.
4714
47152012-07-16 Andreas Jaeger <aj@suse.de>
4716
4717 * po/ru.po: Update from translation team.
4718
47192012-07-15 Joseph Myers <joseph@codesourcery.com>
4720
4721 * conform/data/string.h-data (NULL): Use macro-constant. Require
4722 equal to 0.
4723 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4724 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4725 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4726 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4727 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4728
47292012-07-13 Andreas Jaeger <aj@suse.de>
4730
4731 * po/fr.po: Update from translation team.
4732
47332012-07-12 Marek Polacek <polacek@redhat.com>
4734
4735 [BZ #14173]
4736 * math/libm-test.inc (yn_test): Add test for BZ #14173.
4737 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4738 loop condition.
4739
47402012-07-12 Joseph Myers <joseph@codesourcery.com>
4741
4742 [BZ #13717]
4743 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4744 Change to 2.4.1 where previously 2.4.0.
4745 * sysdeps/unix/sysv/linux/configure: Regenerated.
4746 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4747 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4748 version.
4749 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4750 (__ASSUME_AT_CLKTCK): Remove.
4751 (__ASSUME_AT_PAGESIZE): Likewise.
4752 (__ASSUME_AT_XID): Likewise.
4753 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4754 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4755 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4756 unconditionally.
4757 (HAVE_AUX_PAGESIZE): Likewise.
4758 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4759 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4760 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4761
47622012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4763
4764 [BZ #14307]
4765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4766 the temporary buffer used to invoke __gethostbyname2_r,
4767 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4768 host_data / struct gaih_addrtuple.
4769 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4770 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4771 header file nss/nsswitch.h.
4772 * nss/nsswitch.h (global scope): Add definition of implementation
4773 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4774 resolv/nss_dns/dns-host.c).
4775
47762012-07-11 Andreas Jaeger <aj@suse.de>
4777
4778 * po/fr.po: Update from translation team.
4779
4780 * po/sv.po: Update from translation team
4781 * po/fr.po: Another update from translation team.
4782
47832012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4784
4785 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4786 for subnormals or multiply small sinh result by itself.
4787 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4789
47902012-07-11 David S. Miller <davem@davemloft.net>
4791
4792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4793
47942012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4795
4796 [BZ #14347]
4797 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4798 (INTERNAL_MARK): Shift it here.
4799
48002012-07-10 Marek Polacek <polacek@redhat.com>
4801
4802 [BZ #14151]
4803 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4804 libc_cv_asm_global_directive with .globl.
4805 * configure: Regenerated.
4806 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4807 with .globl.
4808 * sysdeps/i386/configure: Regenerated.
4809 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4810 with .globl.
4811 * sysdeps/x86_64/configure: Regenerated.
4812 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4813 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4814 * elf/tst-unique2mod2.c: Likewise.
4815 * elf/tst-unique2mod1.c: Likewise.
4816 * elf/tst-unique1mod2.c: Likewise.
4817 * elf/tst-unique1mod1.c: Likewise.
4818 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4819 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4820 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4821 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4822 * sysdeps/mach/sysdep.h: Likewise.
4823 * sysdeps/i386/sysdep.h: Likewise.
4824 * sysdeps/i386/i386-mcount.S: Likewise.
4825 * sysdeps/x86_64/_mcount.S: Likewise.
4826 * sysdeps/x86_64/sysdep.h: Likewise.
4827 * sysdeps/sh/_mcount.S: Likewise.
4828 * sysdeps/sh/sysdep.h: Likewise.
4829 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4830 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4831 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4832 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4833 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4834 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4835 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4836 * locale/localeinfo.h: Likewise.
4837 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4838 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4839
48402012-07-09 Roland McGrath <roland@hack.frob.com>
4841
4842 [BZ #14336]
4843 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4844 system".
4845 * manual/message.texi (The Uniforum approach): Likewise.
4846 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4847 (glibc iconv Implementation): Likewise.
4848
48492012-07-09 Joseph Myers <joseph@codesourcery.com>
4850
4851 [BZ #14337]
4852 * math/s_clog.c (__clog): Avoid scaling a value down where that
4853 could result in underflow.
4854 * math/s_clog10.c (__clog10): Likewise.
4855 * math/s_clog10f.c (__clog10f): Likewise.
4856 * math/s_clog10l.c (__clog10l): Likewise.
4857 * math/s_clogf.c (__clogf): Likewise.
4858 * math/s_clogl.c (__clogl): Likewise.
4859 * math/libm-test.inc (clog_test): Add more tests.
4860 (clog10_test): Likewise.
4861 * sysdeps/i386/fpu/libm-test-ulps: Update.
4862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4863
48642012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4865
4866 [BZ #14283]
4867 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4868 by 7 not 8 to examine high bit of fractional part.
4869
4870 [BZ #14042]
4871 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4872 for call to __mcount_internal.
4873 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4874 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4875 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4876
48772012-07-06 Joseph Myers <joseph@codesourcery.com>
4878
4879 [BZ #14154]
4880 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4881 approximation for values within 0x1p-13f of an odd multiple of
4882 pi/4.
4883 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4884 exception. Add more tests.
4885 * sysdeps/i386/fpu/libm-test-ulps: Update.
4886
4887 [BZ #6778]
4888 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4889 inputs and return -1 for them. Do not check for +Inf in case not
4890 reachable for +Inf.
4891 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4892 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4893 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4894 and return -1 for them. Do not check for +Inf in case not
4895 reachable for +Inf.
4896 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4897 define.
4898 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4899 and return -1 for them. Do not check for +Inf in case not
4900 reachable for +Inf.
4901 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4902 spurious underflow.
4903 * sysdeps/i386/fpu/libm-test-ulps: Update.
4904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4905
49062012-07-06 Mike Frysinger <vapier@gentoo.org>
4907
4908 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4909
49102012-07-05 Joseph Myers <joseph@codesourcery.com>
4911
4912 [BZ #14157]
4913 [BZ #14331]
4914 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4915 could result in spurious underflow. Scale down values above
4916 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4917 * math/s_csqrtf.c (__csqrtf): Likewise.
4918 * math/s_csqrtl.c (__csqrtl): Likewise.
4919 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4920 spurious underflow.
4921 * sysdeps/i386/fpu/libm-test-ulps: Update.
4922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4923
49242012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4925
4926 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4927 xopen-msg.sed.
4928 * catgets/xopen-msg.awk: New file.
4929 * catgets/xopen-msg.sed: Removed.
4930
4931 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4932 po2text.sed.
4933 * intl/po2test.awk: New file.
4934 * intl/po2test.sed: Removed.
4935
49362012-07-04 Joseph Myers <joseph@codesourcery.com>
4937
4938 [BZ #14328]
4939 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4940 or multiply small sinh result by itself.
4941 * math/s_ctanf.c (__ctanf): Likewise.
4942 * math/s_ctanh.c (__ctanh): Likewise.
4943 * math/s_ctanhf.c (__ctanhf): Likewise.
4944 * math/s_ctanhl.c (__ctanhl): Likewise.
4945 * math/s_ctanl.c (__ctanl): Likewise.
4946 * math/libm-test.inc (ctan_test_tonearest): New function.
4947 (ctan_test_towardzero): Likewise.
4948 (ctan_test_downward): Likewise.
4949 (ctan_test_upward): Likewise.
4950 (ctanh_test_tonearest): Likewise.
4951 (ctanh_test_towardzero): Likewise.
4952 (ctanh_test_downward): Likewise.
4953 (ctanh_test_upward): Likewise.
4954 (main): Call these new functions.
4955 * sysdeps/i386/fpu/libm-test-ulps: Update.
4956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4957
49582012-07-03 Mike Frysinger <vapier@gentoo.org>
4959
4960 * .gitignore: Delete /ports entry.
4961
49622012-07-03 Andreas Jaeger <aj@suse.de>
4963
4964 * po/bg.po: Update from translation team.
4965 * po/cs.po: Likewise.
4966 * po/de.po: Likewise.
4967 * po/hr.po: Likewise.
4968 * po/nl.pl: Likewise.
4969 * po/pl.po: Likewise.
4970 * po/vi.po: Likewise.
4971
49722012-07-03 Joseph Myers <joseph@codesourcery.com>
4973
4974 * Makeconfig [!+link] (+link-before-libc): New variable.
4975 [!+link] (+link-after-libc): Likewise.
4976 [!+link] (+link-tests): Likewise.
4977 [!+link] (+link): Define in terms of $(+link-before-libc) and
4978 $(+link-after-libc).
4979 [!+link-static] (+link-static-before-libc): New variable.
4980 [!+link-static] (+link-static-after-libc): Likewise.
4981 [!+link-static] (+link-static-tests): Likewise.
4982 [!+link-static] (+link-static): Define in terms of
4983 $(+link-static-before-libc) and $(+link-static-after-libc).
4984 [build-shared] (link-libc-before-gnulib): New variable.
4985 [build-shared] (link-libc-tests): Likewise.
4986 [build-shared] (link-libc): Define in terms of
4987 $(link-libc-before-gnulib).
4988 [!build-shared] (link-libc-tests): New variable.
4989 (link-libc-static-tests): New variable.
4990 [!gnulib] (gnulib-arch): New variable.
4991 [!gnulib] (gnulib-tests): Likewise.
4992 [!gnulib] (static-gnulib-arch): Likewise.
4993 [!gnulib] (static-gnulib-tests): Likewise.
4994 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4995 Define with "=" instead of ":=".
4996 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4997 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4998 * Rules (binaries-all-notests): New variable.
4999 (binaries-all-tests): Likewise.
5000 (binaries-static-notests): Likewise.
5001 (binaries-static-tests): Likewise.
5002 (binaries-all): Define using $(binaries-all-notests) and
5003 $(binaries-all-tests).
5004 (binaries-static): Define using $(binaries-static-notests) and
5005 $(binaries-static-tests).
5006 (binaries-shared-tests): New variable.
5007 (binaries-shared-notests): Likewise.
5008 (binaries-shared): Remove variable.
5009 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5010 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5011 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5012 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5013 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5014 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5015 * elf/Makefile (sln-modules): New variable.
5016 (extra-objs): Add $(sln-modules:=.o).
5017 (ldconfig-modules): Add static-stubs.
5018 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5019 * elf/static-stubs.c: New file.
5020
5021 [BZ #14283]
5022 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5023 by 7 not 8 to examine high bit of fractional part. Use volatile
5024 variables when splitting into final array of floats if
5025 __FLT_EVAL_METHOD__ != 0.
5026 * math/libm-test.inc (cos_test): Add another test.
5027 (sin_test): Likewise.
5028 * sysdeps/i386/fpu/libm-test-ulps: Update.
5029
5030 [BZ #14273]
5031 * math/libm-test.inc (cosh_test): Add more tests.
5032
5033 * version.h (RELEASE): Set to "development".
5034 (VERSION): Set to "2.16.90".
5035
50362012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5037
5038 * NEWS: Update copyright. Remove last-updated date.
5039 Mention math library bug fixes and timezone data changes.
5040 * README: Mention GNU/Hurd, x32, and HPPA support status.
5041
50422012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5043
5044 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5045
50462012-06-27 Andreas Jaeger <aj@suse.de>
5047
5048 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5049
50502012-06-25 Andreas Jaeger <aj@suse.de>
5051
5052 * sysdeps/s390/fpu/libm-test-ulps: Update.
5053
50542012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5055 Thomas Schwinge <thomas@codesourcery.com>
5056
5057 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5058 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5059 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5060 fanotify_mark.
5061
50622012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5063
5064 * sysdeps/mach/start.c: Remove file.
5065 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5066 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5067 * sysdeps/sh/init-first.c: Likewise.
5068
5069 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5070 registers for frame unwinding purposes, add CFI directives.
5071 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5072 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5073 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5074 Likewise.
5075
5076 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5077 __fortify_fail returning.
5078 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5079
5080 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5081 sysdeps/sh/____longjmp_chk.S.
5082 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5083 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5084 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5085 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5086
5087 * sysdeps/sh/abort-instr.h: New file.
5088 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5089 process in case exit returns.
5090
5091 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5092 initialize the GOT register before use.
5093
5094 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5095 calculation of ARGC > 4.
5096
5097 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5098 meaningful names to some local labels.
5099
51002012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5101 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5102
5103 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5104 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5105 (__arch_compare_and_exchange_val_16_acq): Likewise.
5106 (__arch_compare_and_exchange_val_32_acq): Likewise.
5107 (atomic_exchange_and_add): Fix gUSA sequence.
5108 (atomic_add): Likewise.
5109 (atomic_add_negative): Likewise.
5110 (atomic_add_zero): Likewise.
5111 (atomic_bit_test_set): Likewise.
5112
51132012-06-22 Andreas Schwab <schwab@redhat.com>
5114
5115 [BZ #13579]
5116 * include/link.h (struct link_map): Add l_free_initfini.
5117 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5118 l_initfini.
5119 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5120 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5121 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5122 set.
5123
51242012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5125
5126 * configure.in: Use AC_LANG_SOURCE.
5127 * configure: Regenerate.
5128
51292012-06-22 Roland McGrath <roland@hack.frob.com>
5130
5131 * configure.in (libc_cv_localstatedir): New substituted variable.
5132 * configure: Regenerated.
5133 * config.make.in (localstatedir): New variable, substituted from
5134 libc_cv_localstatedir.
5135 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5136 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5137 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5138 * sysdeps/gnu/configure: Regenerated.
5139
51402012-06-21 Jeff Law <law@redhat.com>
5141
5142 [BZ #14277]
5143 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5144 free. Simplify list management for _LIBC case.
5145
51462012-06-21 Joseph Myers <joseph@codesourcery.com>
5147
5148 [BZ #14273]
5149 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5150 Clear sign bit of 64-bit integer value before comparing against
5151 overflow value.
5152
5153 * sysdeps/mach/configure: Regenerated.
5154
51552012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5156
5157 [BZ #14278]
5158 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5159
51602012-06-21 Jeff Law <law@redhat.com>
5161
5162 [BZ #13882]
5163 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5164 uint16_t for elements in the "seen" array to avoid char overflows.
5165 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5166 * elf/dl-open.c (dl_open_worker): Likewise.
5167
51682012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5169
5170 * scripts/list-sources.sh: Scan PORTS for translations.
5171 * po/libc.pot: Regenerated.
5172
51732012-06-21 Andreas Jaeger <aj@suse.de>
5174
5175 [BZ #12194]
5176 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5177 warning.
5178 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5179 * bits/byteswap-16.h (__bswap_16): Likewise.
5180 * bits/byteswap.h (__bswap_constant_16): Likewise.
5181
51822012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5183
5184 [BZ #14117]
5185 * sysdeps/i386/fpu_control.h: Removed.
5186 * sysdeps/x86_64/fpu_control.h: Moved to ...
5187 * sysdeps/x86/fpu_control.h: Here.
5188
5189 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5190 (_FPU_SETCW): Likewise.
5191
51922012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5193
5194 [BZ #14117]
5195 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5196 * sysdeps/x86/fpu/bits/mathinline.h: This.
5197 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5198
5199 [BZ #14050]
5200 [BZ #14117]
5201 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5202 functions if __x86_64__ is defined.
5203
52042012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5205
5206 * string/endian.h: Add !__ASSEMBLER__ condition for including
5207 conversion interfaces.
5208
52092012-06-15 Joseph Myers <joseph@codesourcery.com>
5210
5211 [BZ #14241]
5212 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5213 of ABS(x) in calculating zero to negative powers other than odd
5214 integers.
5215 * math/libm-test.inc (pow_test): Add more tests.
5216
52172012-06-15 Andreas Jaeger <aj@suse.de>
5218
5219 * manual/contrib.texi (Contributors): Update entry of Liubov
5220 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5221 Machado Filho.
5222
52232012-06-15 Cyril Hrubis <metan@ucw.cz>
5224
5225 * string/string.h: Add __wur to GNU version of strerror_r.
5226
52272012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5228
5229 [BZ #14229]
5230 * string/Makefile (tests): Add tst-strtok_r.
5231 * string/tst-strtok_r.c: New file.
5232 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5233 RAX_LP/RDX_LP on SAVE_PTR.
5234
52352012-06-14 Roland McGrath <roland@hack.frob.com>
5236
5237 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5238
52392012-06-14 Joseph Myers <joseph@codesourcery.com>
5240
5241 * libm_test.inc (csqrt_test): Allow more spurious underflow
5242 exceptions.
5243 (j0_test): Likewise.
5244 (j1_test): Likewise.
5245 (y0_test): Likewise.
5246 (y1_test): Likewise.
5247
52482012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5249
5250 * po/Makefile (libc.pot): Use UTF-8 charset.
5251
52522012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5253
5254 [BZ #14210]
5255 Suppress sign-conversion warning from FD_SET.
5256 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5257 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5258 not unsigned long int.
5259 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5260
52612012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5262
5263 [BZ #14050]
5264 [BZ #14117]
5265 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5266 __extern_always_inline instead of __extern_inline.
5267 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5268 (__signbit): Likewise.
5269 (__signbitl): Support C++ namespace.
5270 (lrintf): New inline function.
5271 (lrint): Likewise.
5272 (llrintf): Likewise.
5273 (llrint): Likewise.
5274 (fmaxf): Likewise.
5275 (fmax): Likewise.
5276 (fminf): Likewise.
5277 (fmin): Likewise.
5278 (rint): Likewise.
5279 (rintf): Likewise.
5280 (ceil): Likewise.
5281 (ceilf): Likewise.
5282 (floor): Likewise.
5283 (floorf): Likewise.
5284 (nearbyint): Likewise.
5285 (nearbyintf): Likewise.
5286
52872012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5288
5289 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5290 non-default versions.
5291
52922012-06-11 Roland McGrath <roland@hack.frob.com>
5293
5294 [BZ #14218]
5295 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5296
52972012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5298
5299 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5300 (FE_UPWARD, FE_DOWNWARD): Don't define.
5301 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5302 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5303
5304 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5305 reading it.
5306 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5307 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5308
53092012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5310
5311 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5312 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5313 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5314 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5315
53162012-06-06 H.J. Lu <hongjiu.lu@intel.com>
5317
5318 [BZ #14117]
5319 * sysdeps/i386/fpu/bits/fenv.h: Removed.
5320 * sysdeps/i386/fpu/Implies: New file.
5321 * sysdeps/x86_64/fpu/Implies: Likewise.
5322 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5323 * sysdeps/x86/fpu/bits/fenv.h: This.
5324
5325 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5326 __SSE_MATH__.
5327
53282012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5329
5330 [BZ #14134]
5331 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5332 character 0xffff that matches the last element of the
5333 conversion table.
5334
53352012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5336
5337 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
5338 fmodl commit.
5339
53402012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5341
5342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
5343 values higher than 25.6283.
5344
53452012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5346
5347 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
5348 subnormal exponent extraction and add some __builtin_expect.
5349 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
5350 Fix for subnormal mantissa calculation.
5351
53522012-06-04 Mike Frysinger <vapier@gentoo.org>
5353
5354 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
5355 cpu2 is -1 and errno is not ENOSYS.
5356
53572012-06-04 H.J. Lu <hongjiu.lu@intel.com>
5358
5359 [BZ #14117]
5360 * sysdeps/i386/i486/bits/string.h: Renamed to ...
5361 * sysdeps/x86/bits/string.h: This.
5362 * sysdeps/x86_64/bits/string.h: Removed.
5363
5364 * sysdeps/i386/i486/bits/string.h: Define inline functions only
5365 if not compiling for x86-64, but compiling for >= i486.
5366
5367 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
5368 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
5369
5370 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
5371 New macro from Linux kernel 3.4.0.
5372 (FP_XSTATE_MAGIC2): Likewise.
5373 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5374 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
5375 (struct _fpx_sw_bytes): New struct.
5376 (struct _xsave_hdr): Likewise.
5377 (struct _ymmh_state): Likewise.
5378 (struct _xstate): Likewise.
5379
5380 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
5381 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
5382 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
5383 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
5384 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
5385 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
5386
5387 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
5388 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
5389 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
5390 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
5391 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
5392 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
5393
53942012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5395
5396 [BZ #13743]
5397 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
5398 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
5399 (sysdep_headers): Include sys/platform/ppc.h.
5400 * sysdeps/powerpc/test-gettimebase.c: Test for
5401 __ppc_get_timebase() to catch future ISA opcode/insn changes.
5402 * manual/Makefile (appendices): Include platform.texi.
5403 * manual/contrib.texi (Contributors): Update @node pointers.
5404 * manual/maint.texi (Maintenance): Likewise.
5405 (Platform): New node.
5406 * manual/platform.texi: New file. Document the new features.
5407
54082012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5409 Jakub Jelinek <jakub@redhat.com>
5410
5411 [BZ #14188]
5412 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
5413 where __builtin_expect is unavailable.
5414
54152012-06-03 David S. Miller <davem@davemloft.net>
5416
5417 * stdlib/longlong.h: Updated from GCC.
5418
54192012-06-02 Andreas Schwab <schwab@linux-m68k.org>
5420
5421 [BZ #14042]
5422 * sysdeps/powerpc/powerpc32/mcount.c: New file.
5423 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
5424 __mcount_internal.
5425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5426 (GLIBC_2.16): Likewise.
5427
54282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5429
5430 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
5431
54322012-06-01 Joseph Myers <joseph@codesourcery.com>
5433
5434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5435 (default-abi): New variable.
5436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
5437 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
5438 variable.
5439 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
5440 Likewise.
5441 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
5442 Likewise.
5443 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
5444 Likewise.
5445
5446 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
5447 definition. Document in comment.
5448
54492012-06-01 David S. Miller <davem@davemloft.net>
5450
5451 * stdlib/longlong.h: Updated from GCC.
5452
54532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5454
5455 [BZ #14117]
5456 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
5457 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
5458 sys/debugreg.h sys/io.h here.
5459 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
5460 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
5461 sys/io.h.
5462 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
5463 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
5464 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
5465 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
5466 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
5467 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
5468
5469 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
5470 Define only if __x86_64__ is defined.
5471
54722012-06-01 Joseph Myers <joseph@codesourcery.com>
5473
5474 [BZ #14048]
5475 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
5476 Use int64_t for variable i.
5477 * math/libm-test.inc (fmod_test): Add more tests.
5478
5479 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
5480 z computation is not scheduled after fetestexcept.
5481 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
5482 Use math_force_eval instead of asm to ensure calculation scheduled
5483 before exception test.
5484 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
5485 Ensure a1 + u.d computation is not scheduled after fetestexcept.
5486
54872012-06-01 Aurelien Jarno <aurelien@aurel32.net>
5488
5489 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
5490 computation is not scheduled after fetestexcept.
5491
54922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5493
5494 [BZ #14117]
5495 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
5496 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
5497
54982012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5499
5500 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
5501 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5502
55032012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5504
5505 [BZ #14117]
5506 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
5507 <bits/wordsize.h>.
5508 (__WCHAR_MIN): Support __WORDSIZE == 64.
5509 (__WCHAR_MAX): Likewise.
5510
5511 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
5512 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
5513
5514 [BZ #14183]
5515 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
5516 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
5517
5518 [BZ #14117]
5519 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
5520 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
5521
5522 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
5523 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
5524
5525 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
5526 Defined to 1 if __x86_64__ isn't defined.
5527 (_STAT_VER_LINUX_OLD): New.
5528 (st_atime): Remove duplicate.
5529 (st_mtime): Likewise.
5530 (st_ctime): Likewise.
5531
55322012-05-31 David S. Miller <davem@davemloft.net>
5533
5534 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
5535 entries.
5536
55372012-06-01 Andreas Schwab <schwab@linux-m68k.org>
5538
5539 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
5540 gen-libm-test.pl.
5541
5542 [BZ #14132]
5543 * elf/dl-reloc.c: Include <_itoa.h>.
5544 (_dl_reloc_bad_type): Remove use of INTUSE.
5545 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
5546 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
5547 * stdio-common/psiginfo.c (psiginfo): Likewise.
5548 * stdio-common/psignal.c (psignal): Likewise.
5549 * string/strsignal.c (strsignal): Likewise.
5550 * include/signal.h (_sys_siglist): Declare hidden proto.
5551 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
5552 INTVARDEF with libc_hidden_data_def.
5553 * stdio-common/itoa-udigits.c: Likewise.
5554 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
5555 (_itoa_lower_digits_internal): Remove declaration.
5556 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
5557 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
5558 (_sys_sigabbrev_internal): Remove aliases.
5559 (_sys_siglist): Define hidden alias.
5560
55612012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
5562
5563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5564 bits/sysctl.h.
5565
55662012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5567
5568 [BZ #14117]
5569 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
5570 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
5571
5572 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
5573 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
5574 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
5575 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
5576 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
5577 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
5578
5579 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
5580 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
5581 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
5582
5583 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
5584 with __addr.
5585 (insw): Likewise.
5586 (insl): Likewise.
5587 (outsb): Likewise.
5588 (outsw): Likewise.
5589 (outsl): Likewise.
5590
5591 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
5592 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
5593 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
5594
5595 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
5596 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
5597 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
5598 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
5599 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
5600 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
5601
5602 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
5603 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
5604
5605 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
5606 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
5607
5608 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
5609 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
5610 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
5611
5612 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
5613 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
5614 to ...
5615 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
5616
5617 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
5618 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
5619 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
5620
5621 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
5622 for x86-64.
5623 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
5624
56252012-05-31 Joseph Myers <joseph@codesourcery.com>
5626
5627 * math/math.h (M_El): Use two more decimal places.
5628 (M_LOG2El): Likewise.
5629 (M_LOG10El): Likewise.
5630 (M_LN2l): Likewise.
5631 (M_LN10l): Likewise.
5632 (M_PIl): Likewise.
5633 (M_PI_2l): Likewise.
5634 (M_PI_4l): Likewise.
5635 (M_1_PIl): Likewise.
5636 (M_2_PIl): Likewise.
5637 (M_2_SQRTPIl): Likewise.
5638 (M_SQRT2l): Likewise.
5639 (M_SQRT1_2l): Likewise.
5640
56412012-05-31 David S. Miller <davem@davemloft.net>
5642
5643 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
5644 values between float registers.
5645 * sysdeps/sparc/sparc64/memset.S: Likewise.
5646 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5647
56482012-05-31 Mike Frysinger <vapier@gentoo.org>
5649
5650 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
5651 -D_FORTIFY_SOURCE=1.
5652 (CPPFLAGS-tst-longjmp_chk.c): Define.
5653 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
5654 (CPPFLAGS-tst-longjmp_chk2.c): Define.
5655 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
5656 CFLAGS-tst-wchar-h.c.
5657
56582012-05-31 Marek Polacek <polacek@redhat.com>
5659
5660 [BZ #14132]
5661 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
5662 __endmntent_internal): Remove declaration.
5663 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
5664 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
5665 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
5666
56672012-05-30 David S. Miller <davem@davemloft.net>
5668
5669 * sysdeps/sparc/sparc32/soft-fp/q_util.c
5670 (___Q_simulate_exceptions): Use real FP ops rather than writing
5671 into the %fsr.
5672 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
5673 Likewise.
5674
56752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5676
5677 [BZ #14117]
5678 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
5679 * sysdeps/x86/bits/xtitypes.h: This.
5680
5681 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
5682 * sysdeps/x86/bits/wordsize.h: This.
5683
5684 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
5685 * sysdeps/x86/bits/huge_vall.h: This.
5686
5687 * sysdeps/i386/bits/select.h: Removed.
5688 * sysdeps/x86_64/bits/select.h: Renamed to ...
5689 * sysdeps/x86/bits/select.h: This.
5690
5691 * sysdeps/i386/bits/setjmp.h: Removed.
5692 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
5693 * sysdeps/x86/bits/setjmp.h: This.
5694
5695 * sysdeps/i386/bits/mathdef.h: Removed.
5696 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
5697 * sysdeps/x86/bits/mathdef.h: This.
5698
56992012-05-30 Andreas Schwab <schwab@linux-m68k.org>
5700
5701 [BZ #14132]
5702 * include/sys/socket.h (__connect_internal)
5703 (__libc_sa_len_internal): Remove declaration.
5704 (__connect, __libc_sa_len): Declare hidden_proto.
5705 (SA_LEN): Remove use of INTUSE.
5706 * socket/connect.c: Add libc_hidden_def.
5707 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5708 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5709 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5710 alias.
5711 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5712 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5713 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5714 of adding _internal alias.
5715
57162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5717
5718 [BZ #14117]
5719 * sysdeps/i386/bits/link.h: Removed.
5720 * sysdeps/i386/bits/linkmap.h: Likewise.
5721 * sysdeps/x86_64/bits/link.h: Renamed to ...
5722 * sysdeps/x86/bits/link.h: This.
5723 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5724 * sysdeps/x86/bits/linkmap.h: This.
5725
5726 * sysdeps/i386/bits/endian.h: Removed.
5727 * sysdeps/x86_64/bits/endian.h: Renamed to ...
5728 * sysdeps/x86/bits/endian.h: This.
5729
5730 * sysdeps/i386/bits/byteswap.h: Removed.
5731 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5732 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5733 * sysdeps/x86/bits/byteswap.h: This.
5734 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5735 * sysdeps/x86/bits/byteswap-16.h: This.
5736 * sysdeps/i386/Implies: Add x86.
5737 * sysdeps/x86_64/Implies: Likewise.
5738
57392012-05-30 David S. Miller <davem@davemloft.net>
5740
5741 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5742 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5743 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5744 (FP_TRAPPING_EXCEPTIONS): Define.
5745 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5746 (FP_TRAPPING_EXCEPTIONS): Define.
5747 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5748 subnormals only when inexact has been signalled or underflow
5749 exceptions are enabled.
5750 (_FP_PACK_CANONICAL): Likewise.
5751
57522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5753
5754 [BZ #14183]
5755 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5756 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5757
57582012-05-30 Richard Henderson <rth@twiddle.net>
5759
5760 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5761 with #ifndef NOT_IN_libc.
5762
5763 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5764 marked to avoid plt entry.
5765
57662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5767
5768 [BZ #14112]
5769 * Makeconfig (default-abi): New macro.
5770 (abi-includes): Likewise.
5771 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5772 $(abi-$(default-abi)-lib-soname) for soname if defined.
5773 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5774 abi-variants.
5775 * Makefile (installed-stubs): Likewise.
5776 * include/stubs-biarch.h: Removed.
5777 * scripts/lib-names.awk: Only handle one library at a time.
5778 * scripts/soversions.awk: Remove WORDSIZE support.
5779 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5780 entries.
5781 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5782 Removed.
5783 (syscall-list-default-condition): Likewise.
5784 (syscall-list-default-condition): Likewise.
5785 (syscall-list-includes): Likewise.
5786 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5787 syscall-list-* with abi-*. Handle undefined abi-variants.
5788 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5789 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5790 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5791 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5792 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5793 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5794 Removed.
5795 (syscall-list-32-options): Likewise.
5796 (syscall-list-32-condition): Likewise.
5797 (syscall-list-64-options): Likewise.
5798 (syscall-list-64-condition): Likewise.
5799 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5800 macro.
5801 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5802 Renamed to ...
5803 (abi-*): This.
5804 (abi-64-ld-soname): New macro.
5805 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5806 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5807 Renamed to ...
5808 (abi-*): This.
5809 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5810 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5811
58122012-05-30 Joseph Myers <joseph@codesourcery.com>
5813
5814 * sysdeps/unix/sysv/linux/kernel-features.h
5815 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5816 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5817 include <kernel-features.h>.
5818 [!__NR_ftruncate64]: Remove conditional code.
5819 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5820 [__NR_ftruncate64]: Make code unconditional.
5821 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5822 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5823 include <kernel-features.h>.
5824 [!__NR_ftruncate64]: Remove conditional code.
5825 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5826 [__NR_ftruncate64]: Make code unconditional.
5827 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5829 include <kernel-features.h>.
5830 [!__NR_ftruncate64]: Remove conditional code.
5831 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5832 [__NR_ftruncate64]: Make code unconditional.
5833 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5835 include <kernel-features.h>.
5836 [!__NR_ftruncate64]: Remove conditional code.
5837 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5838 [__NR_ftruncate64]: Make code unconditional.
5839 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5840
5841 * configure.in (libc_cv_fpie): Weaken to a compile test using
5842 LIBC_TRY_CC_OPTION.
5843 * configure: Regenerated.
5844
58452012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5846
5847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5851 Refreshed.
5852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5858 Refreshed.
5859
58602012-05-27 David S. Miller <davem@davemloft.net>
5861
5862 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5863 (___Q_zero): New.
5864 (__Q_simulate_exceptions): Return void. Change to simulate
5865 exceptions by writing into the %fsr.
5866 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5867 (__Qp_handle_exceptions): Likewise.
5868 (numbers): Delete.
5869 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5870 __Qp_handle_exceptions.
5871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5872 __Qp_handle_exceptions.
5873 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5874 as unused and give dummy FP_RND_NEAREST initializer.
5875 (FP_INHIBIT_RESULTS): Define.
5876 (___Q_simulate_exceptions): Update declaration.
5877 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5878 formatting.
5879 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5880 as unused and give dummy FP_RND_NEAREST initializer.
5881 (__Qp_handle_exceptions): Update declaration.
5882 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5883 formatting.
5884
58852012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5886
5887 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5888 the temporary FPU control word.
5889 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5890 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5891 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5892 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5893 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5894 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5895 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5896 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5897 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5898 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5899 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5900
59012012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5902
5903 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5904 fields.
5905
59062012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5907
5908 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5909 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5910 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5911 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5912 Likewise.
5913 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5914 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5915 Likewise.
5916
59172012-05-27 Ulrich Drepper <drepper@gmail.com>
5918
5919 * po/h.po: Update from translation team.
5920
59212012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5922
5923 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5924
5925 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5926 handling of denormals.
5927 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5928 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5929 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5930 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5931 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5932 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5933 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5934 Likewise.
5935
59362012-05-26 Marek Polacek <polacek@redhat.com>
5937
5938 [BZ #14152]
5939 * math/libm-test.inc (fma_test): Don't always expect underflow
5940 exception.
5941
59422012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5943
5944 [BZ #12416]
5945 * elf/tst-execstack.c: Include stackinfo.h.
5946 (do_test): Adjust test case to ensure that pthread_getattr_np
5947 behaviour remains the same after marking stack executable.
5948
59492012-05-25 Joseph Myers <joseph@codesourcery.com>
5950
5951 * sysdeps/unix/sysv/linux/kernel-features.h
5952 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5953 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5954 kernel-features.h.
5955 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5956 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5957 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5958 kernel-features.h.
5959 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5960 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5961
59622012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5963
5964 * configure.in: Define the default includes to being none.
5965 * configure: Regenerated.
5966
59672012-05-25 Roland McGrath <roland@hack.frob.com>
5968
5969 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5970 * sysdeps/x86_64/setjmp.S: Likewise.
5971 * sysdeps/i386/bsd-setjmp.S: Likewise.
5972 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5973 * sysdeps/i386/setjmp.S: Likewise.
5974 * sysdeps/i386/__longjmp.S: Likewise.
5975 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5976 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5977
5978 * include/stap-probe.h: New file.
5979 * configure.in: Handle --enable-systemtap.
5980 * configure: Regenerated.
5981 * config.h.in (USE_STAP_PROBE): New #undef.
5982 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5983 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5984 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5985
59862012-05-25 Joseph Myers <joseph@codesourcery.com>
5987
5988 [BZ #13717]
5989 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5990 to 2.4.0 where earlier.
5991 * sysdeps/unix/sysv/linux/configure: Regenerated.
5992 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5993 <kernel-features.h>.
5994 [__ASSUME_32BITUIDS]: Make code unconditional.
5995 [!__ASSUME_32BITUIDS]: Remove conditional code.
5996 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5997 <kernel-features.h>.
5998 [__ASSUME_32BITUIDS]: Make code unconditional.
5999 [!__ASSUME_32BITUIDS]: Remove conditional code.
6000 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6001 [__ASSUME_32BITUIDS]: Make code unconditional.
6002 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6003 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.c: Do not include
6036 <kernel-features.h>.
6037 [__ASSUME_32BITUIDS]: Make code unconditional.
6038 [!__ASSUME_32BITUIDS]: Remove conditional code.
6039 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6040 <kernel-features.h>.
6041 [__ASSUME_32BITUIDS]: Make code unconditional.
6042 [!__ASSUME_32BITUIDS]: Remove conditional code.
6043 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6044 <kernel-features.h>.
6045 [__NR_setresgid] (__setresgid): Do not declare.
6046 [__ASSUME_32BITUIDS]: Make code unconditional.
6047 [!__ASSUME_32BITUIDS]: Remove conditional code.
6048 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6049 <kernel-features.h>.
6050 [__NR_setresuid] (__setresuid): Do not declare.
6051 [__ASSUME_32BITUIDS]: Make code unconditional.
6052 [!__ASSUME_32BITUIDS]: Remove conditional code.
6053 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/i386/setuid.c: Do not include
6086 <kernel-features.h>.
6087 [__ASSUME_32BITUIDS]: Make code unconditional.
6088 [!__ASSUME_32BITUIDS]: Remove conditional code.
6089 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6090 <kernel-features.h>.
6091 [__ASSUME_32BITUIDS]: Make code unconditional.
6092 [!__ASSUME_32BITUIDS]: Remove conditional code.
6093 * sysdeps/unix/sysv/linux/kernel-features.h
6094 (__ASSUME_SETRESUID_SYSCALL): Remove.
6095 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6096 (__ASSUME_32BITUIDS): Likewise.
6097 (__ASSUME_LDT_WORKS): Likewise.
6098 (__ASSUME_O_DIRECTORY): Likewise.
6099 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6100 architecture but not kernel version.
6101 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6102 (__ASSUME_MMAP2_SYSCALL): Likewise.
6103 (__ASSUME_STAT64_SYSCALL): Likewise.
6104 (__ASSUME_IPC64): Likewise.
6105 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6106 <kernel-features.h>.
6107 [__ASSUME_32BITUIDS]: Make code unconditional.
6108 [!__ASSUME_32BITUIDS]: Remove conditional code.
6109 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6110 <kernel-features.h>.
6111 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6112 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6113 132096]: Remove conditional code.
6114 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6115 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6116 <kernel-features.h>.
6117 [__ASSUME_32BITUIDS]: Make code unconditional.
6118 [!__ASSUME_32BITUIDS]: Remove conditional code.
6119 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6120 <kernel-features.h>.
6121 [__ASSUME_32BITUIDS]: Make code unconditional.
6122 [!__ASSUME_32BITUIDS]: Remove conditional code.
6123 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6124 <kernel-features.h>.
6125 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6126 unconditional.
6127 (__setresgid): Do not declare.
6128 [__ASSUME_32BITUIDS]: Make code unconditional.
6129 [!__ASSUME_32BITUIDS]: Remove conditional code.
6130 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6131 <kernel-features.h>.
6132 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6133 unconditional.
6134 (__setresuid): Do not declare.
6135 [__ASSUME_32BITUIDS]: Make code unconditional.
6136 [!__ASSUME_32BITUIDS]: Remove conditional code.
6137 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6138 <kernel-features.h>.
6139 [__ASSUME_32BITUIDS]: Make code unconditional.
6140 [!__ASSUME_32BITUIDS]: Remove conditional code.
6141 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6142 <kernel-features.h>.
6143 [__ASSUME_32BITUIDS]: Make code unconditional.
6144 [!__ASSUME_32BITUIDS]: Remove conditional code.
6145
61462012-05-25 Richard Henderson <rth@twiddle.net>
6147
6148 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6149 dl_hwcap to ifunc resolver.
6150 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6151 elf_ifunc_invoke.
6152 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6153 dl_hwcap to ifunc resolver.
6154 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6155
61562012-05-24 Joseph Myers <joseph@codesourcery.com>
6157
6158 [BZ #14153]
6159 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6160 for |x| <= 2**-26, not 2**-57.
6161 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6162 exception.
6163
61642012-05-24 Jeff Law <law@redhat.com>
6165
6166 * stdio-common/Makefile (tests): Add bug25.
6167 * stdio-common/bug25.c: New test.
6168
61692012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6170
6171 [BZ #13576]
6172 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6173 multiple of MALLOC_ALIGNMENT in size.
6174 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6175
61762012-05-24 Joseph Myers <joseph@codesourcery.com>
6177
6178 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6179 Require >= 256.
6180 (FILENAME_MAX): Use macro-int-constant.
6181 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6182 (_IOFBF): Use macro-int-constant.
6183 (_IOLBF): Likewise.
6184 (_IONBF): Likewise.
6185 (SEEK_CUR): Likewise.
6186 (SEEK_END): Likewise.
6187 (SEEK_SET): Likewise.
6188 (TMP_MAX): Likewise.
6189 (EOF): Use macro-int-constant. Require < 0.
6190 (NULL): Use macro-constant. Require == 0.
6191 (stdin): Require type to be FILE *.
6192 (stdout): Likewise.
6193 (stderr): Likewise.
6194 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6195 macro-int-constant.
6196 (EXIT_SUCCESS): Likewise.
6197 (NULL): Use macro-constant. Require == 0.
6198 (RAND_MAX): Use macro-int-constant.
6199 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6200 [C99-based standards] (strtof): Require function.
6201 [C99-based standards] (strtold): Likewise.
6202 [C99-based standards] (strtoll): Likewise.
6203 [C99-based standards] (strtoull): Likewise.
6204 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6205 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6206 [ISO || ISO99 || ISO11] (math.h): Likewise.
6207 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6208 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6209 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6210
62112012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6212
6213 [BZ #14132]
6214 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6215 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6216 * intl/dgettext.c (DCGETTEXT): Likewise.
6217 * intl/gettext.c (DCGETTEXT): Likewise.
6218 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6219 * posix/regex_internal.h (gettext): Likewise.
6220 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6221 Remove declaration.
6222 * include/argz.h (__argz_count_internal)
6223 (__argz_stringify_internal): Remove declaration.
6224 (__argz_count, __argz_stringify): Declare hidden proto.
6225 * intl/dcgettext.c: Remove use of INTDEF.
6226 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6227 * string/argz-stringify.c: Likewise.
6228 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6229 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6230 Declare hidden proto.
6231 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6232 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6233 Declare hidden proto.
6234 * include/stdio.h (__asprintf_internal): Don't declare.
6235 (__asprintf): Don't define as macro. Declare hidden proto.
6236 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6237 (__fsetlocking): Declare hidden proto.
6238 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6239 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6240 hidden proto.
6241 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6242 (_IO_setlinebuf): Remove use of INTUSE.
6243 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6244 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6245 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6246 Remove declaration.
6247 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6248 (_IO_do_flush): Remove use of INTUSE.
6249 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6250 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6251 (_IO_adjust_column, _IO_least_wmarker)
6252 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6253 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6254 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6255 (_IO_default_doallocate, _IO_wdefault_doallocate)
6256 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6257 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6258 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6259 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6260 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6261 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6262 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6263 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6264 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6265 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6266 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6267 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6268 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6269 proto.
6270 (_IO_flush_all_internal, _IO_adjust_column_internal)
6271 (_IO_default_uflow_internal, _IO_default_finish_internal)
6272 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6273 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6274 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6275 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6276 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6277 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6278 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6279 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6280 (_IO_file_close_internal, _IO_file_close_it_internal)
6281 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6282 (_IO_file_init_internal, _IO_file_attach_internal)
6283 (_IO_file_fopen_internal, _IO_file_read_internal)
6284 (_IO_file_sync_internal, _IO_file_seek_internal)
6285 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6286 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6287 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6288 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6289 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6290 (_IO_list_all_internal, _IO_link_in_internal)
6291 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6292 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6293 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6294 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6295 (_IO_do_write_internal, _IO_padn_internal)
6296 (_IO_getline_info_internal, _IO_getline_internal)
6297 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6298 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6299 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6300 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6301 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6302 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6303 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6304 with libc_hidden_ver, remove use of INTUSE.
6305 * libio/genops.c: Likewise.
6306 * libio/freopen.c: Likewise.
6307 * libio/freopen64.c: Likewise.
6308 * libio/iofclose.c: Likewise.
6309 * libio/iofdopen.c: Likewise.
6310 * libio/iofflush.c: Likewise.
6311 * libio/iofflush_u.c: Likewise.
6312 * libio/iofgets.c: Likewise.
6313 * libio/iofgets_u.c: Likewise.
6314 * libio/iofopen.c: Likewise.
6315 * libio/iofopncook.c: Likewise.
6316 * libio/iofread.c: Likewise.
6317 * libio/iofread_u.c: Likewise.
6318 * libio/ioftell.c: Likewise.
6319 * libio/iofwrite.c: Likewise.
6320 * libio/iogetline.c: Likewise.
6321 * libio/iogets.c: Likewise.
6322 * libio/iogetwline.c: Likewise.
6323 * libio/iopadn.c: Likewise.
6324 * libio/iopopen.c: Likewise.
6325 * libio/ioseekoff.c: Likewise.
6326 * libio/ioseekpos.c: Likewise.
6327 * libio/iosetbuffer.c: Likewise.
6328 * libio/iosetvbuf.c: Likewise.
6329 * libio/ioungetc.c: Likewise.
6330 * libio/ioungetwc.c: Likewise.
6331 * libio/iovdprintf.c: Likewise.
6332 * libio/iovsprintf.c: Likewise.
6333 * libio/iovsscanf.c: Likewise.
6334 * libio/memstream.c: Likewise.
6335 * libio/obprintf.c: Likewise.
6336 * libio/oldfileops.c: Likewise.
6337 * libio/oldiofclose.c: Likewise.
6338 * libio/oldiofdopen.c: Likewise.
6339 * libio/oldiofopen.c: Likewise.
6340 * libio/oldiopopen.c: Likewise.
6341 * libio/oldstdfiles.c: Likewise.
6342 * libio/putc.c: Likewise.
6343 * libio/setbuf.c: Likewise.
6344 * libio/setlinebuf.c: Likewise.
6345 * libio/stdfiles.c: Likewise.
6346 * libio/strops.c: Likewise.
6347 * libio/vasprintf.c: Likewise.
6348 * libio/vscanf.c: Likewise.
6349 * libio/vsnprintf.c: Likewise.
6350 * libio/vswprintf.c: Likewise.
6351 * libio/wfiledoalloc.c: Likewise.
6352 * libio/wfileops.c: Likewise.
6353 * libio/wgenops.c: Likewise.
6354 * libio/wmemstream.c: Likewise.
6355 * libio/wstrops.c: Likewise.
6356 * libio/__fpurge.c: Likewise.
6357 * libio/__fsetlocking.c: Likewise.
6358 * assert/assert.c: Likewise.
6359 * debug/fgets_chk.c: Likewise.
6360 * debug/fgets_u_chk.c: Likewise.
6361 * debug/fread_chk.c: Likewise.
6362 * debug/fread_u_chk.c: Likewise.
6363 * debug/gets_chk.c: Likewise.
6364 * debug/obprintf_chk.c: Likewise.
6365 * debug/vasprintf_chk.c: Likewise.
6366 * debug/vdprintf_chk.c: Likewise.
6367 * debug/vsnprintf_chk.c: Likewise.
6368 * debug/vsprintf_chk.c: Likewise.
6369 * malloc/mtrace.c: Likewise.
6370 * misc/error.c: Likewise.
6371 * misc/syslog.c: Likewise.
6372 * stdio-common/asprintf.c: Likewise.
6373 * stdio-common/fxprintf.c: Likewise.
6374 * stdio-common/getw.c: Likewise.
6375 * stdio-common/isoc99_fscanf.c: Likewise.
6376 * stdio-common/isoc99_scanf.c: Likewise.
6377 * stdio-common/isoc99_vfscanf.c: Likewise.
6378 * stdio-common/isoc99_vscanf.c: Likewise.
6379 * stdio-common/isoc99_vsscanf.c: Likewise.
6380 * stdio-common/printf-prs.c: Likewise.
6381 * stdio-common/printf_fp.c: Likewise.
6382 * stdio-common/printf_fphex.c: Likewise.
6383 * stdio-common/printf_size.c: Likewise.
6384 * stdio-common/putw.c: Likewise.
6385 * stdio-common/scanf.c: Likewise.
6386 * stdio-common/sprintf.c: Likewise.
6387 * stdio-common/tmpfile.c: Likewise.
6388 * stdio-common/vfprintf.c: Likewise.
6389 * stdio-common/vfscanf.c: Likewise.
6390 * stdlib/strfmon_l.c: Likewise.
6391 * sunrpc/openchild.c: Likewise.
6392 * sunrpc/xdr_stdio.c: Likewise.
6393 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6394 * sysdeps/mach/hurd/tmpfile.c: Likewise.
6395
63962012-05-24 Roland McGrath <roland@hack.frob.com>
6397
6398 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6399
6400 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
6401 in the third column, to generate for the shared library an IFUNC
6402 that uses _dl_vdso_vsym.
6403 * Makerules (COMPILE.c, compile-stdin.c): New variables.
6404 * Makeconfig (object-suffixes-noshared): New variable.
6405
6406 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
6407 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
6408 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
6409 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
6410
6411 [BZ #14132]
6412 * include/sys/time.h (__gettimeofday): Remove macro.
6413 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
6414 * time/gettimeofday.c (__gettimeofday): Remove #undef.
6415 Remove INTDEF.
6416 (__gettimeofday): Add libc_hidden_def.
6417 (gettimeofday): Add libc_hidden_weak.
6418 * sysdeps/mach/gettimeofday.c: Likewise.
6419 * sysdeps/posix/gettimeofday.c: Likewise.
6420 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6421 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6422 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
6423 (__gettimeofday_internal): Remove strong_alias.
6424 (__gettimeofday): Add libc_hidden_def.
6425 (gettimeofday): Add libc_hidden_weak.
6426 * sysdeps/unix/syscalls.list (gettimeofday):
6427 Remove __gettimeofday_internal alias.
6428
64292012-05-24 Daniel Jacobowitz <drow@false.org>
6430 H.J. Lu <hongjiu.lu@intel.com>
6431
6432 [BZ #12495]
6433 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
6434 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
6435 (largebin_index_32_big): New.
6436 (largebin_index): Use it for 16-byte alignment.
6437 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
6438 correction with front_misalign.
6439
64402012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6441
6442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
6443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6444 Likewise.
6445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
6446 Likewise.
6447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6448 Likewise.
6449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
6450 Likewise.
6451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
6452 Likewise.
6453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
6454 Likewise.
6455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
6456 Likewise.
6457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6458 Likewise.
6459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
6460 Likewise.
6461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
6462 Likewise.
6463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6464 Likewise.
6465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
6466 Likewise.
6467
6468 * scripts/data/c++-types-x32-linux-gnu.data: New file.
6469 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
6470
64712012-05-24 Joseph Myers <joseph@codesourcery.com>
6472
6473 [BZ #10846]
6474 [BZ #14036]
6475 * math/libm-test.inc (exp_test): Add test from bug 14036.
6476 (pow_test): Add test from bug 10846.
6477
6478 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
6479 and other flags.
6480 (special_function): Do not include flags in test name.
6481 (parse_args): Likewise.
6482 * sysdeps/i386/fpu/libm-test-ulps: Update.
6483 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6484 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6485 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6487
6488 * math/gen-libm-test.pl (%beautify): Add entries for underflow
6489 exceptions.
6490 * math/libm-test.inc ("Philosophy"): Update comment about
6491 exception testing.
6492 (UNDERFLOW_EXCEPTION): New macro.
6493 (UNDERFLOW_EXCEPTION_OK): Likewise.
6494 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6495 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6496 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6497 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6498 (INVALID_EXCEPTION_OK): Update value.
6499 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6500 (OVERFLOW_EXCEPTION_OK): Likewise.
6501 (IGNORE_ZERO_INF_SIGN): Likewise.
6502 (test_exceptions): Handle underflow exceptions.
6503 (acos_test): Update for underflow exception expectations.
6504 (cexp_test): Likewise.
6505 (clog_test): Likewise.
6506 (clog10_test): Likewise.
6507 (csqrt_test): Likewise.
6508 (ctan_test): Likewise.
6509 (ctanh_test): Likewise.
6510 (exp_test): Likewise.
6511 (exp10_test): Likewise.
6512 (exp2_test): Likewise.
6513 (expm1_test): Likewise.
6514 (fma_test): Likewise.
6515 (j0_test): Likewise.
6516 (jn_test): Likewise.
6517 (nexttoward_test): Likewise.
6518 (pow_test): Likewise.
6519 (scalbn_test): Likewise.
6520 (scalbln_test): Likewise.
6521 (tan_test): Likewise.
6522 (y1_test): Likewise.
6523 * sysdeps/i386/fpu/libm-test-ulps: Update.
6524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6525
65262012-05-23 David S. Miller <davem@davemloft.net>
6527
6528 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6529 (__libc_sigaction): Remove unused local variables.
6530
65312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6532
6533 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
6534
65352012-05-23 Paul Eggert <eggert@cs.ucla.edu>
6536
6537 mktime: avoid signed integer overflow
6538 * time/mktime.c (__mktime_internal): Do not mishandle the case
6539 where diff == INT_MIN.
6540
6541 mktime: simplify computation of average
6542 * time/mktime.c (ranged_convert): Use new time_t_avg function
6543 instead of rolling our own (probably-slower) code.
6544
6545 mktime: do not assume signed right shift propagates sign bit
6546 * time/mktime.c (isdst_differ): New static function.
6547 (__mktime_internal): No need to normalize tm_isdst now.
6548 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
6549 tm_isdst values.
6550
6551 mktime: merge another wrapv change from gnulib
6552 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
6553 from some compilers.
6554
6555 mktime: remove incorrect attempt at unusual arithmetics
6556 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
6557 The code didn't really work on such machines anyway.
6558 (TYPE_MINIMUM): Assume two's complement.
6559 (twos_complement_arithmetic): Verify that long_int and time_t
6560 are two's complement (or unsigned, in the latter case).
6561
6562 mktime: check signed shifts on long_int and time_t, too
6563 * time/mktime.c (SHR): Check that shifts work as desired
6564 on the types long_int and time_t too, as SHR is used on
6565 such types.
6566
6567 mktime: do not assume 'long' is wide enough
6568 * time/mktime.c (verify): Move decl up.
6569 (long_int): New type.
6570 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
6571 to remove assumption in the code that 'long' is wide enough to
6572 store year values. This assumption is not true on x32 and on
6573 some non-glibc platforms.
6574
6575 mktime: merge wrapv change from gnulib
6576 * time/mktime.c (WRAPV): New macro.
6577 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
6578 (guess_time_tm, __mktime_internal): Do not assume that signed
6579 integer overflow wraps around; modern compilers generate code
6580 where this assumption is no longer valid.
6581
65822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6583
6584 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6585 Replace "jmp L(pseudo_end)" with "ret".
6586 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
6587 Likewise.
6588
65892012-05-23 Andreas Jaeger <aj@suse.de>
6590
6591 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
6592 * sysdeps/unix/sysv/linux/poll.c: Remove file.
6593
65942012-05-23 Andreas Jaeger <aj@suse.de>
6595 Maximilian Attems <max@stro.at>
6596
6597 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
6598 New macros.
6599
66002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6601
6602 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
6603 code so that pseudo_end is just ret and the stack pointer is
6604 correct also for static library in error case.
6605
66062012-05-23 Joseph Myers <joseph@codesourcery.com>
6607
6608 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
6609 move to syscalls.list.
6610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6614
6615 * manual/install.texi (Running make install): Do not mention Linux
6616 kernel version for which pt_chown is not needed.
6617 (Linux): Do not mention problems with nscd with 2.0 kernels.
6618 * INSTALL: Regenerated.
6619
66202012-05-23 Andreas Jaeger <aj@suse.de>
6621
6622 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
6623 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
6624 macro.
6625 * sysdeps/unix/sysv/linux/s390/bits/mman.h
6626 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6627 * sysdeps/unix/sysv/linux/sh/bits/mman.h
6628 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6629 * sysdeps/unix/sysv/linux/i386/bits/mman.h
6630 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6631 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
6632 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6633 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
6634 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6635 * sysdeps/unix/sysv/linux/bits/in.h
6636 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
6637
66382012-05-22 Roland McGrath <roland@hack.frob.com>
6639
6640 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
6641 (PREPARE_VERSION): Just use assert instead, it will be elided
6642 under [NDEBUG] anyway.
6643
66442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6645
6646 * sysdeps/unix/sysv/linux/Makefile: Include
6647 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
6648 (sysdep_routines): Remove sysctl.
6649 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
6650 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
6651 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
6652 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
6653 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
6654
66552012-05-22 Andreas Jaeger <aj@suse.de>
6656
6657 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
6658 that pseudo_end is just ret and the stack pointer is correct also
6659 for static library in error case.
6660
66612012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6662
6663 [BZ #14122]
6664 * nss/nsswitch.c (defconfig_entries): New variable.
6665 (__nss_database_lookup): Don't leak defconfig entries.
6666 (nss_parse_service_list): Don't leak on error paths.
6667 (free_database_entries): New function.
6668 (free_defconfig): New function.
6669 (free_mem): Move common code to free_database_entries.
6670
66712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6672
6673 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
6674 Add arch_prctl.
6675 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
6676
6677 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6678 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
6679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
6680 New macro.
6681 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6682 (INTERNAL_SYSCALL_TYPES): Likewise.
6683 (LOAD_ARGS_TYPES_[1-6]): Likewise.
6684 (LOAD_REGS_TYPES_[1-6]): Likewise.
6685 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
6686 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
6687
66882012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6689
6690 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
6691 copysignl for GLIBC_2_0.
6692 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
6693 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
6694 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
6695 logbl for GLIBC_2_0.
6696 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6697 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6698
66992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6700
6701 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
6702 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6703
6704 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6705 Use "neg %eax".
6706
6707 * time/mktime.c: Update copyright years.
6708
67092012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6710
6711 mktime: merge comment-quoting-style change from gnulib
6712 * time/mktime.c: Quote 'like this' in comments.
6713 The GNU coding standards suggest that we no longer quote `like this',
6714 as "`" and "'" are typically rendered asymmetrically nowadays.
6715 The typical gnulib style is to quote 'like this' when quoting
6716 code, and "like this" when quoting English.
6717
6718 * time/mktime.c (compile-command): Add "-I.".
6719
6720 mktime: merge mktime-internal.h change from gnulib
6721 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6722
6723 mktime: merge time_r change from gnulib
6724 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6725
6726 mktime: merge DEBUG change from gnulib
6727 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6728 case system <time.h> has a #define.
6729
6730 mktime: merge <sys/types.h> change from gnulib
6731 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6732 since <time.t> is now guaranteed to define time_t.
6733
6734 mktime: merge HAVE_CONFIG_H change from gnulib
6735 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6736
67372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6738
6739 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6740 Use "neg %eax".
6741
6742 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6743 __rlim_t cast.
6744 (struct rusage): Use anonymous union to pad each field to
6745 __syscall_slong_t.
6746
67472012-05-21 David S. Miller <davem@davemloft.net>
6748
6749 * Makefules (o-iterator): Remove .s cases.
6750 (compile-command.s): Delete.
6751 (COMPILE.s): Delete.
6752 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6753
67542012-05-21 Joseph Myers <joseph@codesourcery.com>
6755
6756 * configure.in (libc_cv_predef_stack_protector): Only consider
6757 "foobar" and "__stack_chk_fail" lines in libc_undefs.
6758 * configure: Regenerated.
6759
67602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6761
6762 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6763 New macro. Use R*LP on int and pointer.
6764 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
6765 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6766 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
6767 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6768
6769 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6770 [__WORDSIZE_TIME64_COMPAT32] instead of
6771 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6772 (struct utmp): Likewise.
6773 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6774 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6775 Renamed to ...
6776 (__WORDSIZE_TIME64_COMPAT32): This.
6777 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6778 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6779 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6780 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6781 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6782 (__WORDSIZE_TIME64_COMPAT32): New macro.
6783
67842012-05-21 Andreas Jaeger <aj@suse.de>
6785
6786 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6787 only if [SHARED]. Add prototype for __wcschr_ia32.
6788
67892012-05-21 Roland McGrath <roland@hack.frob.com>
6790
6791 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6792 of %rbp unmolested in the jmp_buf while mangling the low bits.
6793 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6794 unmolested high bits of %rbp while demangling the low bits.
6795 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6796
67972012-05-21 Andreas Jaeger <aj@suse.de>
6798
6799 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6800 * sunrpc/svc_simple.c: Use it for registerrpc.
6801 * sunrpc/xcrypt.c: Use it for passwd2des.
6802
6803 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6804
68052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6806
6807 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6808 Don't define if [__SYSCALL_WORDSIZE != 32].
6809 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6810 New macro.
6811
68122012-05-21 Bruno Haible <bruno@clisp.org>
6813 Andreas Jaeger <aj@suse.de>
6814
6815 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6816 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6817 inptr and inend for must_buffer_ch.
6818 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6819 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6820 * stdio-common/Makefile (tests): Remove bug15.
6821 (bug15-ENV): Remove macro.
6822 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6823 anymore.
6824
68252012-05-19 Andreas Jaeger <aj@suse.de>
6826 Roland McGrath <roland@hack.frob.com>
6827
6828 * manual/contrib.texi: Completely rewritten. It contains now an
6829 alphabetical list of contributors and their contributions.
6830
68312012-05-21 Richard Henderson <rth@twiddle.net>
6832
6833 * misc/getauxval.c (__getauxval): Use unsigned long int.
6834 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6835 (getauxval): Use unsigned long int.
6836
68372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6838
6839 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6840
68412012-05-21 Roland McGrath <roland@hack.frob.com>
6842
6843 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6844 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6845 __alignof__ (long double).
6846
68472012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6848
6849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6850
68512012-05-20 Richard Henderson <rth@twiddle.net>
6852
6853 * misc/getauxval.c: New file.
6854 * misc/sys/auxv.h: New file.
6855 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6856 (routines): Add getauxval.
6857 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6858 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6859 * elf/dl-sysdep.c (_dl_auxv): Remove.
6860 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6861 * elf/dl-support.c (_dl_auxv): New variable.
6862 (_dl_aux_init): Initialize it.
6863 * manual/startup.texi (Auxiliary Vector): New node.
6864 * sysdeps/generic/bits/hwcap.h: New file.
6865 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6866 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6867 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6868 * sysdeps/sparc/sysdep.h: ... here. Include it.
6869 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6870 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
6871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6872 Update.
6873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6876 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6881
68822012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6883
6884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6885
68862012-05-19 David S. Miller <davem@davemloft.net>
6887
6888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6889
68902012-05-19 Joseph Myers <joseph@codesourcery.com>
6891
6892 [BZ #14123]
6893 * math/s_ccosh.c: Include <float.h>
6894 (__ccosh): Avoid internal overflow calculating sinh and cosh
6895 values before multiplying by sin and cos values.
6896 * math/s_ccoshf.c: Likewise.
6897 * math/s_ccoshl.c: Likewise.
6898 * math/s_csin.c: Likewise.
6899 * math/s_csinf.c: Likewise.
6900 * math/s_csinl.c: Likewise.
6901 * math/s_csinh.c: Likewise.
6902 * math/s_csinhf.c: Likewise.
6903 * math/s_csinhl.c: Likewise.
6904 * math/libm-test.inc (ccos_test): Add more tests.
6905 (ccosh_test): Likewise.
6906 (csin_test): Likewise.
6907 (csinh_test): Likewise.
6908 * sysdeps/i386/fpu/libm-test-ulps: Update.
6909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6910
69112012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6912
6913 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6914 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6915
6916 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6917
69182012-05-19 Joseph Myers <joseph@codesourcery.com>
6919
6920 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6921 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6922 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6923 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6924 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6925 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6926 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6927 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6928 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6929 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6930 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6931 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6932 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6933 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6934 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6935 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6936 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6937 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6938 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6939 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6940 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6941 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6942 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6943 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6944 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6945 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6946 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6947 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6948 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6949 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6950 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6951
69522012-05-18 Andreas Jaeger <aj@suse.de>
6953
6954 * csu/.gitignore: Delete.
6955
69562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6957
6958 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6959 (timex): Use __syscall_slong_t.
6960
69612012-05-18 Andreas Jaeger <aj@suse.de>
6962 Carlos O'Donell <carlos_odonell@mentor.com>
6963
6964 * manual/install.texi (Configuring and compiling): Update
6965 description about files modified in the source directory.
6966 * INSTALL: Regenerated.
6967
69682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6969
6970 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6971 value. Use "or" to set return value to -1.
6972 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6973 negate return value.
6974
69752012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6976
6977 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6978 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6979 failure if the compiler has Graphite support disabled.
6980 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6981 Likewise.
6982 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6983 CFLAGS-memmove.c): Likewise.
6984 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6985 Likewise.
6986
69872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6988
6989 * sysdeps/x86_64/x32/_itoa.h: New file.
6990
6991 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6992 getdents system call only if kernel and user dirents have the
6993 same d_ino and d_off.
6994
6995 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6996 LLONG_MAX != LONG_MAX.
6997 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6998 (_fitoa_word): Likewise.
6999
7000 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7001 years.
7002 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7003 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7004 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7005
7006 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7007 include <bits/wordsize.h>. Check __x86_64__ instead of
7008 __WORDSIZE.
7009 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7010 if __x86_64__ is defined. Use anonymous union on fpstate.
7011
7012 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7013 anonymous union.
7014
70152012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7016
7017 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7018 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7019 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7020 Refer to _rtld_local_ro instead of _rtld_global_ro.
7021 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7022 Likewise.
7023 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7024 Likewise.
7025 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7026 Likewise.
7027 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7028 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7029 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7030
7031 * sysdeps/powerpc/powerpc32/dl-machine.c
7032 (__elf_machine_runtime_setup) [PROF]: Don't reference
7033 _dl_prof_resolve.
7034
70352012-05-18 Andreas Jaeger <aj@suse.de>
7036
7037 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7038 function only available for GCCs before 3.4 since GCC 3.4
7039 introduced a builtin.
7040 (lrint): Likewise.
7041 (llrintf): Likewise.
7042 (llrint): Likewise.
7043 (fmaxf): Likewise.
7044 (fmax): Likewise.
7045 (fminf): Likewise.
7046 (fmin): Likewise.
7047 (rint): Likewise.
7048 (rintf): Likewise.
7049 (nearbyint): Likewise.
7050 (nearbyintf): Likewise.
7051 (ceil): Likewise.
7052 (ceilf): Likewise.
7053 (floor): Likewise.
7054 (floorf): Likewise.
7055
70562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7057
7058 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7059 on both fields and cast pointer to __syscall_ulong_t.
7060
7061 * bits/types.h (__fsword_t): New type.
7062 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7063 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7064 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7065 (__FSWORD_T_TYPE): Likewise.
7066 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7067 (__FSWORD_T_TYPE): Likewise.
7068 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7069 (__FSWORD_T_TYPE): Likewise.
7070 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7071 (__FSWORD_T_TYPE): Likewise.
7072 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7073 __SWORD_TYPE with __fsword_t.
7074 (statfs64): Likewise.
7075
70762012-05-17 David S. Miller <davem@davemloft.net>
7077
7078 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7079
70802012-05-17 Andreas Jaeger <aj@suse.de>
7081
7082 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7083 warning.
7084
70852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7086
7087 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7088
70892012-05-17 Andreas Jaeger <aj@suse.de>
7090
7091 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7092 when it is used.
7093
70942012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7095
7096 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7097
70982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7099
7100 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7101 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7102
71032012-05-17 Andreas Jaeger <aj@suse.de>
7104 Carlos O'Donell <carlos_odonell@mentor.com>
7105
7106 [BZ #14059]
7107 * sysdeps/x86_64/multiarch/init-arch.h
7108 (bit_YMM_Usable): Rename to...
7109 (bit_AVX_Usable): ... this.
7110 (bit_FMA4_Usable): New macro.
7111 (bit_XMM_state): New macro.
7112 (bit_YMM_state): New macro.
7113 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7114 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7115 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7116 (CPUID_OSXSAVE): New macro.
7117 (CPUID_AVX): New macro.
7118 (CPUID_FMA4): New macro.
7119 (index_YMM_Usable): Rename to...
7120 (index_AVX_Usable): ... this.
7121 (HAS_AVX): Use HAS_ARCH_FEATURE.
7122 (HAS_FMA4): Likewise.
7123 (HAS_YMM_USABLE): Remove.
7124 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7125 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7126 are present.
7127 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7128 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7129 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7130 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7131 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7132
71332012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7134
7135 * math/libm-test.c: Support platforms without multiple rounding modes.
7136 * math/bug-nextafter.c: Support platforms without FP exceptions.
7137 * math/bug-nexttoward.c: Likewise.
7138 * math/test-fenv.c: Likewise.
7139 * math/test-misc.c: Likewise.
7140 * stdlib/bug-getcontext.c: Likewise.
7141
71422012-05-17 Andreas Jaeger <aj@suse.de>
7143
7144 * manual/examples/search.c (critter_cmp): Change signature to
7145 avoid warnings.
7146 * manual/string.texi (Collation Functions): Likewise.
7147
71482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7149
7150 * bits/types.h: Fold copyright years.
7151 * bits/typesizes.h: Likewise.
7152 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7154 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7155 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7156 * time/time.h: Likewise.
7157
71582012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7159
7160 [BZ #208]
7161 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7162 in instead of returning them. Return void.
7163 (__libc_mallinfo): Accumulate over all arenas.
7164 (__malloc_stats): Adjust for change in int_mallinfo interface.
7165
71662012-05-16 Roland McGrath <roland@hack.frob.com>
7167
7168 [BZ #10375]
7169 * configure.in (NM): Add AC_CHECK_TOOL for it.
7170 (libc_extra_cflags): New substituted variable.
7171 Check for -fstack-protector being used implicitly.
7172 * configure: Regenerated.
7173 * config.make.in (config-extra-cflags): New variable,
7174 gets @libc_extra_cflags@.
7175 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7176
7177 [BZ #10375]
7178 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7179 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7180 * configure: Regenerated.
7181 * config.make.in (CPPUNDEFS): New substituted variable.
7182 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7183 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7184 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7185
71862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7187
7188 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7189 (mq_attr): Use __syscall_slong_t.
7190
71912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7192
7193 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7194 Check __x86_64__ instead of __WORDSIZE.
7195 (_STAT_VER_LINUX): Likewise.
7196 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7197 __syscall_ulong_t and __syscall_slong_t.
7198 (stat64): Likewise.
7199
72002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7201
7202 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7203
72042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7205
7206 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7207
72082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7209
7210 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7211 __syscall_ulong_t.
7212
7213 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7214 include <bits/wordsize.h>. Check __x86_64__ instead of
7215 __WORDSIZE.
7216 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7217 defined.
7218 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7219
7220 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7221 include <bits/wordsize.h>. Check __x86_64__ instead of
7222 __WORDSIZE.
7223 (user_regs_struct): Use "__extension__ unsigned long long"
7224 instead of "unsigned long" if __x86_64__ is defined.
7225 (user): Likewise. Pad after pointer field if __ILP32__ is
7226 defined.
7227
72282012-05-16 Joseph Myers <joseph@codesourcery.com>
7229
7230 * configure.in (makeinfo): Require version 4.5 or later. Allow
7231 versions 5 to 9.
7232 * configure: Regenerated.
7233 * manual/install.texi (texinfo): Increase version requirement to
7234 4.5 or later.
7235 * INSTALL: Regenerated.
7236
7237 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7238
72392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7240
7241 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7242
7243 * sysdeps/x86_64/x32/ffs.c: New file.
7244
7245 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7246 __syscall_ulong_t.
7247 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7248 defined. Use __syscall_ulong_t.
7249 (shminfo): Use __syscall_ulong_t.
7250 (shm_info): Likewise.
7251
7252 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7253 __syscall_ulong_t.
7254
7255 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7256 <bits/wordsize.h>.
7257 (msgqnum_t): Use __syscall_ulong_t.
7258 (msglen_t): Likewise.
7259 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7260 __syscall_ulong_t.
7261
7262 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7263 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7264
7265 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7266
7267 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7268 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7269
7270 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7271 __syscall_slong_t.
7272
7273 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7274 include <bits/wordsize.h>. Check __x86_64__ instead of
7275 __WORDSIZE.
7276
7277 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7278 "unsigned long long int" if __x86_64__ is defined.
7279 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7280
7281 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7282 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7283 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7284
7285 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7286 <stdint.h>.
7287 (GET_PC): Cast to uintptr_t first.
7288 (GET_FRAME): Likewise.
7289 (GET_STACK): Likewise.
7290
7291 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7292 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7293 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7294 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7295 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7296 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7297 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7298 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7299 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7300 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7301 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7302 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7303 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7304 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7305 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7306 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7307 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7308 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7309 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7310 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7311 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7312 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7313 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7314 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7315 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7316 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7317 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7318 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7319 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7320
73212012-05-16 Andreas Schwab <schwab@linux-m68k.org>
7322
7323 * Makerules (+depfiles): Also collect depfiles from .oS in
7324 $(extra-objs).
7325 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7326 .oS, $(libnldbl-routines)).
7327
7328 * Makerules (native-compile-mkdep-flags): Define.
7329 * sunrpc/Makefile (extra-objs): Add $(addprefix
7330 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7331 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7332 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
7333 calling $(make-target-directory).
7334
73352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7336
7337 * bits/types.h (__snseconds_t): Removed.
7338 * time/time.h (struct timespec): Replace __snseconds_t with
7339 __syscall_slong_t.
7340 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7341 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
7342 Likewise.
7343 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7344 (__SNSECONDS_T_TYPE): Likewise.
7345 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7346 (__SNSECONDS_T_TYPE): Likewise.
7347 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7348 (__SNSECONDS_T_TYPE): Likewise.
7349
73502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7351
7352 * sysdeps/mach/hurd/bits/typesizes.h
7353 (__SYSCALL_SLONG_TYPE): New macro.
7354 (__SYSCALL_ULONG_TYPE): Likewise.
7355
73562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7357
7358 * bits/types.h (__syscall_slong_t): New type.
7359 (__syscall_ulong_t): Likewise.
7360
7361 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
7362 (__SYSCALL_ULONG_TYPE): Likewise.
7363 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7364 (__SYSCALL_SLONG_TYPE): Likewise.
7365 (__SYSCALL_ULONG_TYPE): Likewise.
7366 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7367 (__SYSCALL_SLONG_TYPE): Likewise.
7368 (__SYSCALL_ULONG_TYPE): Likewise.
7369 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7370 (__SYSCALL_SLONG_TYPE): Likewise.
7371 (__SYSCALL_ULONG_TYPE): Likewise.
7372
73732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7374
7375 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
7376 Add sigaltstack-offsets.sym.
7377 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7378 <sigaltstack-offsets.h>.
7379 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
7380 longjmp_msg pointer.
7381 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
7382 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
7383 signal stack.
7384 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
7385
73862012-05-15 Joseph Myers <joseph@codesourcery.com>
7387
7388 * elf/stackguard-macros.h: Remove file.
7389 * sysdeps/generic/stackguard-macros.h: New file.
7390 * sysdeps/i386/stackguard-macros.h: Likewise.
7391 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7392 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7393 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7394 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7395 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7396 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7397 * sysdeps/x86_64/stackguard-macros.h: Likewise.
7398 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
7399 <elf/stackguard-macros.h>.
7400
7401 [BZ #14109]
7402 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
7403 __aligned__ in attribute.
7404 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
7405 (gregset_t): Likewise.
7406
74072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7408
7409 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
7410 * sysdeps/x86_64/64/Implies-after: Here. New file.
7411 * sysdeps/x86_64/x32/Implies-after: New file.
7412
74132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7414
7415 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
7416 and access return value for _dl_profile_fixup. Use R10_LP to
7417 load frame size.
7418
74192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7420
7421 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
7422
74232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7424
7425 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
7426 * sysdeps/x86_64/x32/sysdep.h: New file.
7427
74282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7429
7430 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
7431 * sysdeps/x86_64/setjmp.S: Likewise.
7432
74332012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7434
7435 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
7436 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
7437 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
7438 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
7439 remove unused global constant.
7440
74412012-05-15 Chris Metcalf <cmetcalf@tilera.com>
7442
7443 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
7444 include of <not-cancel.h>.
7445
74462012-05-15 Roland McGrath <roland@hack.frob.com>
7447
7448 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
7449
74502012-05-15 Jeff Law <law@redhat.com>
7451 Andreas Jaeger <aj@suse.de>
7452
7453 [BZ #13594]
7454 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
7455 out from...
7456 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
7457 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
7458 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
7459 code changing __hst_map_handle.map.
7460
74612012-05-15 Roland McGrath <roland@hack.frob.com>
7462
7463 * configure.in (sysnames): Look for Implies-before and Implies-after
7464 files.
7465 * configure: Regenerated.
7466
74672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7468
7469 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
7470 8-byte data alignment with LP_SIZE alignment.
7471
74722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7473
7474 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
7475 into R10_LP.
7476
74772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7478
7479 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
7480
74812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7482
7483 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
7484 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
7485 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
7486 Likewise.
7487 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7488
74892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7490
7491 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
7492 (stackinfo_sub_sp): Likewise.
7493
74942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7495
7496 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
7497 RAX_LP.
7498
74992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7500
7501 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
7502 into R*_LP.
7503
75042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7505
7506 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
7507 sizes into R*_LP.
7508
75092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7510
7511 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
7512
75132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7514
7515 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
7516 into R11_LP and load __x86_64_shared_cache_size_half into
7517 R8_LP.
7518
75192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7520
7521 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
7522 R8_LP.
7523
75242012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7525
7526 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
7527 logb for POWER7.
7528 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
7529 logbf for POWER7.
7530 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
7531 logbl for POWER7.
7532 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
7533 powerpc32/power7/fpu/s_logb.c via #include.
7534 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
7535 powerpc32/power7/fpu/s_logbf.c via #include.
7536 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
7537 powerpc32/power7/fpu/s_logbl.c via #include.
7538
75392012-05-15 Joseph Myers <joseph@codesourcery.com>
7540
7541 * README.libm: Remove file.
7542
75432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7544
7545 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
7546 count for x32. Use R*_LP and omit operand-size suffix.
7547
75482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7549
7550 * shlib-versions: Move x86_64-.*-linux.* entries to ...
7551 * sysdeps/x86_64/64/shlib-versions: Here. New file.
7552 * sysdeps/x86_64/x32/shlib-versions: New file.
7553
75542012-05-14 Roland McGrath <roland@hack.frob.com>
7555
7556 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
7557 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
7558 Use _dl_fatal_printf instead.
7559
75602012-05-14 Joseph Myers <joseph@codesourcery.com>
7561
7562 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
7563 set if not set by the user. Do not allow for being unset.
7564 * sysdeps/unix/sysv/linux/configure: Regenerated.
7565
75662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7567
7568 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
7569 the `q' suffix from lea and replace .quad with ASM_ADDR.
7570
75712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7572
7573 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
7574 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
7575 instead of $17.
7576 (PTR_DEMANGLE): Likewise.
7577
75782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7579
7580 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
7581 (LP_OP): Likewise.
7582 (ASM_ADDR): Likewise.
7583 (RAX_LP): Likewise.
7584 (RBP_LP): Likewise.
7585 (RBX_LP): Likewise.
7586 (RCX_LP): Likewise.
7587 (RDI_LP): Likewise.
7588 (RSI_LP): Likewise.
7589 (RSP_LP): Likewise.
7590 (R8_LP): Likewise.
7591 (R9_LP): Likewise.
7592 (R10_LP): Likewise.
7593 (R10_LP): Likewise.
7594 (R11_LP): Likewise.
7595 (R12_LP): Likewise.
7596 (R13_LP): Likewise.
7597 (R14_LP): Likewise.
7598 (R15_LP): Likewise.
7599
76002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7601
7602 * sysdeps/x86_64/x32/dl-machine.h: New file.
7603
76042012-05-14 Andreas Jaeger <aj@suse.de>
7605
7606 * manual/Makefile (subdir): Remove export of subdir.
7607 (all): Remove target.
7608 (.PHONY): Remove all from list.
7609 (mkinstalldirs): Remove.
7610 (.PHONY): Remove installdirs from list.
7611 ($(inst_infodir)/libc.info): Use make-target-directory.
7612 (installdirs): Remove.
7613 (subdir_%): Remove.
7614 (glibc-targets): Remove.
7615 (lib): Remove.
7616 (stubs): Remove.
7617 ($(objpfx)stubs ../po/manual.pot): Remove.
7618 ($(objpfx)stamp%): Remove.
7619 (make-target-directory): Remove.
7620 (subdir_install): Remove.
7621 (routines): Remove.
7622 (aux): Remove.
7623 (sources): Remove.
7624 (objects): Remove.
7625 (headers): Remove.
7626
7627 [BZ #13750]
7628 * manual/.gitignore: Remove, it's not needed anymore.
7629 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
7630 all files in it.
7631 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
7632 directory.
7633 (texis): Renamed to $(objpfx)texis.
7634 (texis-path): New, contains path to generated files.
7635 (chapters.%): Use texis-path for complete path, add extra argument
7636 libc-texinfo.sh.
7637 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
7638 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
7639 (summary,texi, stamp-summary): Use complete path of
7640 files. Generate files in build dir.
7641 (dir-add.texi): Build in build dir.
7642 (libm-err.texi,stamp-libm-err): Likewise.
7643 (version.texi, stamp-version): Likewise.
7644 (.%c.texi): Likewise.
7645 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
7646 (mostlyclean): Remove target.
7647 (realclean): Remove target.
7648 (generated): Add new variable with contents from mostlyclean and
7649 realclean, remove entries duplicated in common-mostlyclean, add
7650 stamp-libm-err and stamp-version.
7651 (generated-dirs): Add libc directory.
7652 ($(inst_infodir)/libc.info): Install files from build dir.
7653
7654 * manual/install.texi (Configuring and compiling): Adjust since
7655 the info files are not part of the tar ball anymore.
7656
76572012-05-14 Andreas Jaeger <aj@suse.de>
7658
7659 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
7660 variable.
7661
76622012-05-14 Joseph Myers <joseph@codesourcery.com>
7663
7664 [BZ #13717]
7665 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7666 to 2.2.0 where earlier.
7667 * sysdeps/unix/sysv/linux/configure: Regenerated.
7668 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
7669 Remove conditional code.
7670 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
7671 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
7672 Remove conditional code.
7673 [!__NR_lchown]: Likewise.
7674 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7675 [__NR_lchown]: Likewise.
7676 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
7677 comment referencing __ASSUME_LCHOWN_SYSCALL.
7678 * sysdeps/unix/sysv/linux/i386/sigaction.c
7679 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7680 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7681 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
7682 Remove conditional code.
7683 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
7684 (__protocol_available): Remove #if 0 code.
7685 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
7686 conditional code.
7687 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
7688 * sysdeps/unix/sysv/linux/kernel-features.h
7689 (__ASSUME_GETCWD_SYSCALL): Don't define.
7690 (__ASSUME_REALTIME_SIGNALS): Likewise.
7691 (__ASSUME_PREAD_SYSCALL): Likewise.
7692 (__ASSUME_PWRITE_SYSCALL): Likewise.
7693 (__ASSUME_POLL_SYSCALL): Likewise.
7694 (__ASSUME_LCHOWN_SYSCALL): Likewise.
7695 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
7696 non-SPARC.
7697 (__ASSUME_SIOCGIFNAME): Don't define.
7698 (__ASSUME_MSG_NOSIGNAL): Likewise.
7699 (__ASSUME_SENDFILE): Define unconditionally.
7700 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
7701 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
7702 conditional code.
7703 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7704 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7705 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7706 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7707 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7708 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7709 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7711 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7712 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7714 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7715 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7717 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7720 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7721 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7723 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7724 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7726 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7727 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7729 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7730 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7732 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7733 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7734 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7735 Remove conditional code.
7736 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7737 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7738 Remove conditional code.
7739 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7740 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7741 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7742 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7743 Remove conditional code.
7744 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7745 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7746 Remove conditional code.
7747 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7748 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7749 Remove conditional code.
7750 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7751 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7752 Remove conditional code.
7753 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7754 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7755 Remove conditional code.
7756 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7757 * sysdeps/unix/sysv/linux/sh/pwrite64.c
7758 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7759 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7760 * sysdeps/unix/sysv/linux/sigaction.c
7761 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7762 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7763 * sysdeps/unix/sysv/linux/sigpending.c
7764 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7765 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7766 * sysdeps/unix/sysv/linux/sigprocmask.c
7767 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7768 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7769 * sysdeps/unix/sysv/linux/sigsuspend.c
7770 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7771 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7772 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7773 (__libc_missing_rt_sigs): Remove.
7774 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7775 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7776 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7777 Remove conditional code.
7778 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7779 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7780 return 1.
7781 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7782 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7783 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7784 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7785
77862012-05-14 Andreas Jaeger <aj@suse.de>
7787
7788 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7789 it's not used in glibc.
7790 (__coshm1): Likewise.
7791 (__acosh1p): Likewise.
7792 (__sgn): Likewise.
7793
7794 * manual/string.texi (Copying and Concatenation): Add missing
7795 variable in concat example.
7796 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7797
77982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7799
7800 [BZ #14103]
7801 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7802 __builtin_clzl with __builtin_clzll.
7803
78042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7805
7806 [BZ #14104]
7807 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7808 libc_freeres_ptr.
7809
78102012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7811
7812 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7813 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7814 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7815 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7816
78172012-05-14 Mike Frysinger <vapier@gentoo.org>
7818
7819 * NEWS: Update ia64 info.
7820
78212012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7822
7823 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7824 used as bcopy.
7825
78262012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7827
7828 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7829 * sysdeps/unix/syscalls.list (dup3): Likewise.
7830 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7831 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7832
78332012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7834
7835 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7836 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7837
78382012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7839
7840 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7841 thread pointer.
7842 (TLS_IE): Use mov/add instead of movq/addq to load thread
7843 pointer.
7844 (TLS_GD_PREFIX): New.
7845 (TLS_GD): Use it.
7846
78472012-05-11 David S. Miller <davem@davemloft.net>
7848
7849 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7850 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7851 (_FPU_SETCW): Likewise.
7852
78532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7854
7855 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7856 is 32-byte aligned.
7857
78582012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7859
7860 [BZ #11837]
7861 * iconvdata/gb18030.c: Update tables.
7862 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7863 characters specially.
7864 (BODY for TO_LOOP): Add encoding of missing ranges.
7865
78662012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7867
7868 [BZ #13673]
7869 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7870 * sysdeps/mach/hurd/dup3.c: Likewise.
7871 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7872 * sysdeps/powerpc/memmove.c:: Likewise.
7873
78742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7875
7876 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7877 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7878
78792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7880
7881 * elf/elf.h (R_X86_64_RELATIVE64): New.
7882 (R_X86_64_NUM): Updated.
7883 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7884 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7885 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7886 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7887 tst-quad1pie tst-quad2pie
7888 (modules-names): Add tst-quadmod1 tst-quadmod2.
7889 ($(objpfx)tst-quad1): New dependency.
7890 ($(objpfx)tst-quad2): Likewise.
7891 ($(objpfx)tst-quad1pie): Likewise.
7892 ($(objpfx)tst-quad2pie): Likewise.
7893 * sysdeps/x86_64/tst-quad1.c: New file.
7894 * sysdeps/x86_64/tst-quad1pie.c: New file.
7895 * sysdeps/x86_64/tst-quad2.c: Likewise.
7896 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7897 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7898 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7899 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7900 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7901
79022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7903
7904 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7905 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7906 * streams/stropts.h (t_scalar_t): Define type.
7907
7908 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7909 (_PATH_PRESERVE): Set to "/var/lib".
7910 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7911
7912 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7913 instead of int.
7914
7915 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7916 if __dir_mkfile succeeded.
7917
7918 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7919 checking for _hurd_dtablesize. Unlock it right after having
7920 finished _hurd_dtable allocation.
7921
79222012-05-10 Thomas Schwinge <thomas@schwinge.name>
7923
7924 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7925 * sysdeps/mach/hurd/configure: Regenerated.
7926 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7927 special-casing to...
7928 * sysdeps/gnu/configure.in: ... this new file.
7929 * sysdeps/unix/sysv/linux/configure: Regenerated.
7930 * sysdeps/gnu/configure: New generated file.
7931
7932 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7933 for Linux: use nsec instead of usec, as well as:
7934 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7935 members of type struct timespec.
7936 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7937 New macros.
7938 (struct stat64): Likewise.
7939 (_STATBUF_ST_NSEC): New macro.
7940 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7941
7942 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7943 __strtoul_internal rather than strtoul.
7944
79452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7946
7947 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7948 and reject them.
7949
79502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7951
7952 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7953 which preserves existing values.
7954 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7955
79562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7957
7958 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7959 TIMEOUT values. Return EINVAL for NFDS values either negative or
7960 greater than FD_SETSIZE.
7961
79622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7963
7964 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7965 allocated, call __vm_protect to finish enabling the existing space, and
7966 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7967 allocate the remainder.
7968
79692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7970
7971 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7972 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7973
79742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7975
7976 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7977 sysdeps/mach/hurd/readlink.c.
7978
7979 * posix/tst-sysconf.c (posix_options): Only use
7980 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7981 _POSIX_SYNCHRONIZED_IO when they are defined
7982 * sysdeps/mach/hurd/bits/posix_opt.h:
7983 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7984 (_XOPEN_REALTIME): Undefine macro.
7985 (_XOPEN_REALTIME_THREADS): Undefine macro.
7986 (_XOPEN_SHM): Undefine macro.
7987 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7988 macro to -1.
7989 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7990 macro to -1.
7991 (_POSIX_ASYNC_IO): Undefine macro.
7992 (_POSIX_PRIORITIZED_IO): Undefine macro.
7993 (_POSIX_SPIN_LOCKS): Define macro to -1.
7994
7995 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7996 SA_NODEFER, SA_RESETHAND.
7997 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7998 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7999 F_DUPFD_CLOEXEC.
8000
80012012-05-10 Thomas Schwinge <thomas@schwinge.name>
8002
8003 * elf/Makefile (pldd-modules): Define unconditionally.
8004
80052012-05-10 Thomas Schwinge <thomas@schwinge.name>
8006
8007 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8008
80092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8010
8011 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8012 Return ENOENT when name is empty.
8013 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8014
80152012-05-10 Thomas Schwinge <thomas@schwinge.name>
8016
8017 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8018
8019 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8020
80212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8022
8023 Fix mlock in all cases except non-readable pages.
8024 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8025 instead of VM_PROT_ALL as parameter to __vm_wire function.
8026
8027 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8028 (__mkdir): When path is `/', just fail with EEXIST.
8029 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8030
80312012-05-10 Thomas Schwinge <thomas@schwinge.name>
8032
8033 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8034 <sys/uio.h> (for writev).
8035 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8036 and <sys/param.h> (for MIN).
8037
80382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8039
8040 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8041 REQUESTED_TIME. Properly set the remaining time and return EINTR
8042 if interrupted.
8043
80442012-05-10 Thomas Schwinge <thomas@schwinge.name>
8045
8046 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8047 Depend on against $(link-rpcuserlibs).
8048
80492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8050
8051 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8052 (__libc_stack_end): Do not use attribute_relro.
8053 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8054 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
8055 to libthread-provided value.
8056 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8057 attribute_relro.
8058
80592012-05-10 Thomas Schwinge <thomas@schwinge.name>
8060
8061 [BZ #3748]
8062 * bits/libc-lock.h (__libc_once_get): New macro.
8063 * sysdeps/mach/bits/libc-lock.h: Likewise.
8064 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8065 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8066 instead of using implementation details.
8067
8068 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8069 * libio/freopen.c: Likewise.
8070 * libio/freopen64.c: Likewise.
8071 * misc/syslog.c: Likewise.
8072 * nscd/connections.c: Likewise.
8073 * nscd/netgroupcache.c: Likewise.
8074 * sysdeps/posix/getcwd.c: Likewise.
8075
80762012-05-10 Roland McGrath <roland@hack.frob.com>
8077
8078 * math/w_ilogbf.c: Add #include <limits.h>.
8079
80802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8081
8082 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
8083 path instead of returning without unlocking.
8084
8085 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8086 immediate-write ioctls.
8087 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8088
80892012-05-10 Thomas Schwinge <thomas@schwinge.name>
8090
8091 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8092 __builtin_frame_address instead of making assumptions about the
8093 location of the return address relative to DATA. Force early load of
8094 the return address.
8095 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8096 __builtin_frame_address.
8097
8098 dup3 for GNU Hurd.
8099 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8100 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8101 implement dup3 and do some further code clean-ups.
8102 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8103 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8104
81052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8106
8107 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8108
8109 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8110 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8111 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8112 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8113 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8114 d->port.lock.
8115
8116 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8117 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8118 when handler == SIG_ERR, not when handler != SIG_ERR.
8119
81202012-05-10 Thomas Schwinge <thomas@schwinge.name>
8121
8122 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8123 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8124 definitions.
8125
8126 accept4 for GNU Hurd.
8127 * include/sys/socket.h (__libc_accept4): New prototype.
8128 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8129 to implement __libc_accept4.
8130 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8131 __libc_accept4.
8132 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8133
8134 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8135 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8136 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8137 signal-defines.sym.
8138
81392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8140
8141 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
8142
81432012-05-10 Thomas Schwinge <thomas@schwinge.name>
8144
8145 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8146 assertion on O_CLOEXEC flag.
8147 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8148 * hurd/intern-fd.c: Likewise.
8149 * hurd/port2fd.c: Likewise.
8150
81512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8152
8153 [BZ #3906]
8154 * bits/in.h (IPV6_PKTINFO): Define new macro.
8155 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8156
81572012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8158
8159 [BZ #13954]
8160 [BZ #13955]
8161 [BZ #13956]
8162 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8163 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8164 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8165 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8166 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8167 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8168 * math/libm-test.inc (logb_test) : Additional logb tests.
8169
81702012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8171 Andreas Jaeger <aj@suse.de>
8172
8173 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8174 * configure: Regenerated.
8175 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8176 * config.make.in (link-obsolete-rpc): New substituted variable.
8177 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8178 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8179 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8180 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8181 so that libc.a contains the symbols.
8182 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8183 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8184 * sunrpc/auth_none.c: Likewise.
8185 * sunrpc/auth_unix.c: Likewise.
8186 * sunrpc/authdes_prot.c: Likewise.
8187 * sunrpc/authuxprot.c: Likewise.
8188 * sunrpc/clnt_gen.c: Likewise.
8189 * sunrpc/clnt_perr.c: Likewise.
8190 * sunrpc/clnt_raw.c: Likewise.
8191 * sunrpc/clnt_simp.c: Likewise.
8192 * sunrpc/clnt_tcp.c: Likewise.
8193 * sunrpc/clnt_udp.c: Likewise.
8194 * sunrpc/clnt_unix.c: Likewise.
8195 * sunrpc/des_crypt.c: Likewise.
8196 * sunrpc/des_soft.c: Likewise.
8197 * sunrpc/get_myaddr.c: Likewise.
8198 * sunrpc/key_call.c: Likewise.
8199 * sunrpc/key_prot.c: Likewise.
8200 * sunrpc/netname.c: Likewise.
8201 * sunrpc/pm_getmaps.c: Likewise.
8202 * sunrpc/pm_getport.c: Likewise.
8203 * sunrpc/pmap_clnt.c: Likewise.
8204 * sunrpc/pmap_prot.c: Likewise.
8205 * sunrpc/pmap_prot2.c: Likewise.
8206 * sunrpc/pmap_rmt.c: Likewise.
8207 * sunrpc/publickey.c: Likewise.
8208 * sunrpc/rpc_cmsg.c: Likewise.
8209 * sunrpc/rpc_common.c: Likewise.
8210 * sunrpc/rpc_dtable.c: Likewise.
8211 * sunrpc/rpc_prot.c: Likewise.
8212 * sunrpc/rpc_thread.c: Likewise.
8213 * sunrpc/rtime.c: Likewise.
8214 * sunrpc/svc.c: Likewise.
8215 * sunrpc/svc_auth.c: Likewise.
8216 * sunrpc/svc_raw.c: Likewise.
8217 * sunrpc/svc_run.c: Likewise.
8218 * sunrpc/svc_tcp.c: Likewise.
8219 * sunrpc/svc_udp.c: Likewise.
8220 * sunrpc/svc_unix.c: Likewise.
8221 * sunrpc/svcauth_des.c: Likewise.
8222 * sunrpc/xcrypt.c: Likewise.
8223 * sunrpc/xdr.c: Likewise.
8224 * sunrpc/xdr_array.c: Likewise.
8225 * sunrpc/xdr_float.c: Likewise.
8226 * sunrpc/xdr_intXX_t.c: Likewise.
8227 * sunrpc/xdr_mem.c: Likewise.
8228 * sunrpc/xdr_rec.c: Likewise.
8229 * sunrpc/xdr_ref.c: Likewise.
8230 * sunrpc/xdr_sizeof.c: Likewise.
8231 * sunrpc/xdr_stdio.c: Likewise.
8232
82332012-05-10 Roland McGrath <roland@hack.frob.com>
8234
8235 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8236 change. Update copyright years.
8237
82382012-05-10 Joseph Myers <joseph@codesourcery.com>
8239
8240 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8241
82422012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8243 Joseph Myers <joseph@codesourcery.com>
8244 Paul Pluzhnikov <ppluzhnikov@google.com>
8245
8246 [BZ #14012]
8247 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8248 requiring rpcgen.
8249 [cross-compiling] (extra-libs): Likewise.
8250 [cross-compiling] (extra-libs-others): Likewise.
8251 [cross-compiling] (librpcsvc-routines): Likewise.
8252 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8253 [cross-compiling] (omit-deps): Likewise.
8254 (sunrpc-CPPFLAGS): New variable.
8255 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8256 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8257 (cross-rpcgen-objs): New variable.
8258 (extra-objs): Append $(cross-rpcgen-objs).
8259 ($(cross-rpcgen-objs)): New rule.
8260 ($(objpfx)cross-rpcgen): Likewise.
8261 (rpcgen-cmd): Define to use $(built-program-file). Expand
8262 comment.
8263 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8264 ($(objpfx)x%.stmp): Likewise.
8265 * sunrpc/proto.h [IS_IN_build] (_): Define.
8266 [IS_IN_build] (_libc_intl_domainname): Likewise.
8267
82682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8269
8270 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8271 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8272 and R_X86_64_TPOFF64.
8273
82742012-05-10 Joseph Myers <joseph@codesourcery.com>
8275
8276 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8277 sysdeps/unix/sysv/syscalls.list.
8278 (stime): Likewise.
8279 (utime): Likewise.
8280 * sysdeps/unix/sysv/syscalls.list: Remove file.
8281
82822012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8283
8284 [BZ #3440]
8285 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8286 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8287 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8288 (__LC_IDENTIFICATION): Make these macros useful in #if
8289 expressions, as required by C99.
8290
82912012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8292
8293 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8294 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8295 after this.
8296
82972012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8298
8299 * stdlib/longlong.h: Updated from GCC.
8300
83012012-05-09 Andreas Jaeger <aj@suse.de>
8302
8303 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8304 default is first entry.
8305 (run_mode): Set type.
8306 (main): Remove informal message about syslog.
8307 (options): Fix typo.
8308
8309 [BZ #14053]
8310 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
8311 to asm.
8312 (lrint): Likewise.
8313 (llrintf): Likewise.
8314 (llrint): Likewise.
8315 (rint): Likewise.
8316 (rintf): Likewise.
8317 (nearbyint): Likewise.
8318 (nearbyintf): Likewise.
8319
83202012-05-09 Andreas Jaeger <aj@suse.de>
8321 Pedro Alves <palves@redhat.com>
8322
8323 * nscd/nscd.c (run_mode): Use enum.
8324 (main): Cleanup coding style issue.
8325
83262012-05-09 Alexandre Oliva <aoliva@redhat.com>
8327 Andreas Jaeger <aj@suse.de>
8328
8329 * nscd/nscd.c (go_background): Replaced with...
8330 (run_mode): ... this.
8331 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
8332 (options): Add -F --foreground.
8333 (main): Implement it.
8334 (parse_opt): Parse it.
8335
83362012-05-09 Andreas Jaeger <aj@suse.de>
8337
8338 [BZ #14083]
8339 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
8340 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
8341 -Wconversion warning.
8342 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8343 Likewise.
8344
83452012-05-09 Joseph Myers <joseph@codesourcery.com>
8346
8347 * conform/data/locale.h-data (NULL): Use macro-constant. Require
8348 == 0.
8349 (LC_ALL): Use macro-int-constant.
8350 (LC_COLLATE): Likewise.
8351 (LC_CTYPE): Likewise.
8352 (LC_MESSAGES): Likewise.
8353 (LC_MONETARY): Likewise.
8354 (LC_NUMERIC): Likewise.
8355 (LC_TIME): Likewise.
8356 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
8357 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8358 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8359 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
8360 Specify type.
8361 [C99-based standards] (float_t): Expect type.
8362 [C99-based standards] (double_t): Expect type.
8363 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
8364 type.
8365 [C99-based standards] (HUGE_VALL): Likewise.
8366 [C99-based standards] (INFINITY): Likewise.
8367 [C99-based standards] (NAN): Likewise.
8368 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
8369 [C99-based standards] (FP_NAN): Likewise.
8370 [C99-based standards] (FP_NORMAL): Likewise.
8371 [C99-based standards] (FP_SUBNORMAL): Likewise.
8372 [C99-based standards] (FP_ZERO): Likewise.
8373 [C99-based standards] (FP_FAST_FMA): Use
8374 optional-macro-int-constant. Specify type. Require == 1.
8375 [C99-based standards] (FP_FAST_FMAF): Likewise.
8376 [C99-based standards] (FP_FAST_FMAL): Likewise.
8377 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
8378 [C99-based standards] (FP_ILOGBNAN): Likewise.
8379 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
8380 Specify type.
8381 [C99-based standards] (MATH_ERREXCEPT): Likewise.
8382 [C99-based standards] (math_errhandling): Specify type.
8383 [ISO99 || ISO11] (signgam): Do not allow.
8384 [non-C99-based standards] (copysignf): Do not allow.
8385 [non-C99-based standards] (exp2f): Likewise.
8386 [non-C99-based standards] (log2f): Likewise.
8387 [non-C99-based standards] (modff): Allow.
8388 [non-C99-based standards] (erff): Do not allow.
8389 [non-C99-based standards] (erfcf): Likewise.
8390 [non-C99-based standards] (gammaf): Likewise.
8391 [non-C99-based standards] (hypotf): Likewise.
8392 [non-C99-based standards] (j0f): Likewise.
8393 [non-C99-based standards] (j1f): Likewise.
8394 [non-C99-based standards] (jnf): Likewise.
8395 [non-C99-based standards] (lgammaf): Likewise.
8396 [non-C99-based standards] (tgammaf): Likewise.
8397 [non-C99-based standards] (y0f): Likewise.
8398 [non-C99-based standards] (y1f): Likewise.
8399 [non-C99-based standards] (ynf): Likewise.
8400 [non-C99-based standards] (isnanf): Likewise.
8401 [non-C99-based standards] (acoshf): Likewise.
8402 [non-C99-based standards] (asinhf): Likewise.
8403 [non-C99-based standards] (atanhf): Likewise.
8404 [non-C99-based standards] (cbrtf): Likewise.
8405 [non-C99-based standards] (expm1f): Likewise.
8406 [non-C99-based standards] (ilogbf): Likewise.
8407 [non-C99-based standards] (log1pf): Likewise.
8408 [non-C99-based standards] (logbf): Likewise.
8409 [non-C99-based standards] (nextafterf): Likewise.
8410 [non-C99-based standards] (remainderf): Likewise.
8411 [non-C99-based standards] (rintf): Likewise.
8412 [non-C99-based standards] (scalbf): Likewise.
8413 [non-C99-based standards] (copysignl): Likewise.
8414 [non-C99-based standards] (exp2l): Likewise.
8415 [non-C99-based standards] (log2l): Likewise.
8416 [non-C99-based standards] (modfl): Allow.
8417 [non-C99-based standards] (erfl): Do not allow.
8418 [non-C99-based standards] (erfcl): Likewise.
8419 [non-C99-based standards] (gammal): Likewise.
8420 [non-C99-based standards] (hypotl): Likewise.
8421 [non-C99-based standards] (j0l): Likewise.
8422 [non-C99-based standards] (j1l): Likewise.
8423 [non-C99-based standards] (jnl): Likewise.
8424 [non-C99-based standards] (lgammal): Likewise.
8425 [non-C99-based standards] (tgammal): Likewise.
8426 [non-C99-based standards] (y0l): Likewise.
8427 [non-C99-based standards] (y1l): Likewise.
8428 [non-C99-based standards] (ynl): Likewise.
8429 [non-C99-based standards] (isnanl): Likewise.
8430 [non-C99-based standards] (acoshl): Likewise.
8431 [non-C99-based standards] (asinhl): Likewise.
8432 [non-C99-based standards] (atanhl): Likewise.
8433 [non-C99-based standards] (cbrtl): Likewise.
8434 [non-C99-based standards] (expm1l): Likewise.
8435 [non-C99-based standards] (ilogbl): Likewise.
8436 [non-C99-based standards] (log1pl): Likewise.
8437 [non-C99-based standards] (logbl): Likewise.
8438 [non-C99-based standards] (nextafterl): Likewise.
8439 [non-C99-based standards] (remainderl): Likewise.
8440 [non-C99-based standards] (rintl): Likewise.
8441 [non-C99-based standards] (scalbl): Likewise.
8442 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8443 [non-C99-based standards] (FP_*): Do not allow.
8444 [C99-based standards] (FP_*): Change to
8445 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8446 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8447 allow.
8448 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
8449 (SIG_ERR): Likewise.
8450 [X/Open-based standards] (SIG_HOLD): Likewise.
8451 (SIG_IGN): Likewise.
8452 (SIGABRT): Use macro-int-constant. Specify type. Require
8453 positive value.
8454 (SIGFPE): Likewise.
8455 (SIGILL): Likewise.
8456 (SIGINT): Likewise.
8457 (SIGSEGV): Likewise.
8458 (SIGTER): Likewise.
8459 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
8460 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
8461 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
8462 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
8463 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
8464 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
8465 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
8466 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
8467 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
8468 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
8469 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
8470 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
8471 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
8472 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
8473 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
8474 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
8475 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
8476 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
8477 [X/Open-based standards] (SIGTRAP): Likewise.
8478 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
8479 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
8480 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
8481 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
8482 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8483 allow.
8484
84852012-05-08 Ian Wienand <ianw@vmware.com>
8486
8487 [BZ #14080]
8488 * time/tzset.c (__tzset_parse_tz): Update default rules for
8489 daylight time changes in the Energy Policy Act of 2005.
8490
84912012-05-09 Andreas Jaeger <aj@suse.de>
8492
8493 [BZ #13983]
8494 * elf/ldconfig.c (parse_conf): Change string to make clear that
8495 ldconfig only issued a warning if ld.so.conf does not exist.
8496
84972012-05-08 David S. Miller <davem@davemloft.net>
8498
8499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
8500 movxtod instead of popping the value on the stack.
8501
8502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8503
85042012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
8505
8506 * config.h.in: Add HAVE_ARM_PCS_VFP.
8507
85082012-05-08 Roland Mc Grath <roland@hack.frob.com>
8509
8510 [BZ #13979]
8511 * include/features.h: Warn if user requests __FORTIFY_SOURCE
8512 checking but the checks are disabled for any reason.
8513
85142012-05-08 H.J. Lu <hongjiu.lu@intel.com>
8515
8516 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
8517 and ELF64_R_TYPE with ELFW(R_TYPE).
8518
85192012-05-08 Joseph Myers <joseph@codesourcery.com>
8520
8521 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
8522 (ulimit): Likewise.
8523
8524 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
8525 (settimeofday): Likewise.
8526
85272012-05-08 Mike Frysinger <vapier@gentoo.org>
8528
8529 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
8530 a struct th_u2 inside the union, and move tu_block/tu_code into
8531 a new th_u3 union of tu_block/tu_code inside of that. Move
8532 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
8533 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
8534 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
8535 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
8536 (th_stuff): Change to th_u1.tu_stuff.
8537 (th_data): Define.
8538 (th_msg): Change to th_u1.th_u2.tu_data.
8539
85402012-05-07 David S. Miller <davem@davemloft.net>
8541
8542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8543
8544 [BZ #14074]
8545 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
8546 (SETUP_PIC_REG): Use it.
8547 (SETUP_PIC_REG_LEAF): Use it.
8548
85492012-05-07 Joseph Myers <joseph@codesourcery.com>
8550
8551 [BZ #13885]
8552 [BZ #13923]
8553 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8554 USE_AS_EXPM1L.
8555 (EXPL_FINITE): Likewise.
8556 (FLDLOG): Likewise.
8557 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8558 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8559 e_expl.S.
8560 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8561 USE_AS_EXPM1L.
8562 (EXPL_FINITE): Likewise.
8563 (FLDLOG): Likewise.
8564 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8565 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8566 e_expl.S.
8567 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
8568 test of -max_value argument for long double.
8569 * sysdeps/i386/fpu/libm-test-ulps: Update.
8570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8571
85722012-05-06 David S. Miller <davem@davemloft.net>
8573
8574 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
8575 quad soft-float symbols whose references which are compiler
8576 generated.
8577 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8578
85792012-05-06 Joseph Myers <joseph@codesourcery.com>
8580
8581 [BZ #13884]
8582 [BZ #13914]
8583 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8584 USE_AS_EXP10L.
8585 (EXPL_FINITE): Likewise.
8586 (FLDLOG): Likewise.
8587 (c0): Likewise.
8588 (c1): Likewise.
8589 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8590 Adjust comments for base varying.
8591 (__expl_finite): Change alias to EXPL_FINITE.
8592 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
8593 e_expl.S.
8594 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
8595 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8596 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8597 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
8598 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8599 USE_AS_EXP10L.
8600 (EXPL_FINITE): Likewise.
8601 (FLDLOG): Likewise.
8602 (c0): Likewise.
8603 (c1): Likewise.
8604 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8605 Adjust comments for base varying.
8606 (__expl_finite): Change alias to EXPL_FINITE.
8607 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
8608 tests for bugs.
8609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8610
8611 [BZ #14064]
8612 * math/libm-test.inc (check_float_internal): Correct ulp
8613 calculation for subnormal expected results.
8614
86152012-05-06 Andreas Jaeger <aj@suse.de>
8616
8617 * Makeconfig (+math-flags): New, set to -frounding-math.
8618 (+cflags): Add +math-flags so that all of glibc gets compiled with
8619 it.
8620
8621 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
8622
86232012-05-05 Joseph Myers <joseph@codesourcery.com>
8624
8625 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
8626 Disable one test.
8627
8628 [BZ #13787]
8629 [BZ #13922]
8630 [BZ #14036]
8631 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
8632 (__ieee754_expl): Allow for and saturate large arguments.
8633 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
8634 (u_threshold): Likewise.
8635 (__exp): Call __ieee754_exp before checking for overflow and
8636 underflow.
8637 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
8638 (u_threshold): Likewise.
8639 (__expf): Call __ieee754_expf before checking for overflow and
8640 underflow.
8641 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
8642 (u_threshold): Likewise.
8643 (__expl): Call __ieee754_expl before checking for overflow and
8644 underflow.
8645 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
8646 (__ieee754_expl): Allow for and saturate large arguments.
8647 * math/libm-test.inc (exp_test): Add another test. Do not allow
8648 missing overflow exception on overflow.
8649 (expm1_test): Do not allow missing overflow exception on overflow.
8650
8651 * sysdeps/i386/fpu/e_expl.c: Move to ...
8652 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
8653 rather than using inline asm.
8654 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
8655 * sysdeps/x86_64/fpu/e_expl.S: Copy from
8656 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
8657
8658 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
8659 (nice): Likewise.
8660 (poll): Likewise.
8661 (signal): Likewise.
8662 (time): Likewise.
8663 (times): Likewise.
8664
86652012-05-04 Joseph Myers <joseph@codesourcery.com>
8666
8667 * sysdeps/unix/syscalls.list (adjtime): Add entry from
8668 sysdeps/unix/common/syscalls.list.
8669 (fchmod): Likewise.
8670 (fchown): Likewise.
8671 (ftruncate): Likewise.
8672 (getrusage): Likewise.
8673 (gettimeofday): Likewise.
8674 (setpgid): Likewise.
8675 (setregid): Likewise.
8676 (setreuid): Likewise.
8677 (sigaction): Likewise.
8678 (truncate): Likewise.
8679 (vhangup): Likewise.
8680 * sysdeps/unix/common/syscalls.list: Remove file.
8681 * sysdeps/unix/bsd/Implies: Don't include unix/common.
8682 * sysdeps/unix/sysv/linux/Implies: Likewise.
8683
86842012-05-04 H.J. Lu <hongjiu.lu@intel.com>
8685
8686 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
8687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
8688 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
8689 Moved to ...
8690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8691 Here.
8692 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
8693 to ...
8694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
8695 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
8696 to ...
8697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
8698 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
8699 to ...
8700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
8701 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
8702 to ...
8703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8704 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8705 to ...
8706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8707 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8708 to ...
8709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8710 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
8711 to ...
8712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8713 Here.
8714 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8715 to ...
8716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8717 Here.
8718 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8719 to ...
8720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8721 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8722 Moved to ...
8723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8724 Here.
8725 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8726 to ...
8727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8728
87292012-05-04 Joseph Myers <joseph@codesourcery.com>
8730
8731 * sysdeps/unix/common/bits/dirent.h: Remove file.
8732 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8733
8734 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8735 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8736 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8737 * sysdeps/unix/bsd/isatty.c: Likewise.
8738 * sysdeps/unix/bsd/tcdrain.c: Likewise.
8739 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8740 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8741
87422012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8743
8744 [BZ #13563]
8745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8746 long double comparison inaccuracies.
8747 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8749
87502012-05-04 Andreas Schwab <schwab@linux-m68k.org>
8751
8752 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8753 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8754
87552012-05-04 Joseph Myers <joseph@codesourcery.com>
8756
8757 [BZ #14049]
8758 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8759 nonzero digits before rounding a hex value.
8760 * stdlib/tst-strtod.c (tests): Add another test.
8761
87622012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8763
8764 * sysdeps/s390/fpu/libm-test-ulps: Update.
8765
87662012-05-03 Andreas Jaeger <aj@suse.de>
8767
8768 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8769 does not get optimized out.
8770 (malloc_opt_barrier): New.
8771
87722012-05-03 Andreas Jaeger <aj@suse.de>
8773 Roland McGrath <roland@hack.frob.com>
8774
8775 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
8776 intermediate file deletion.
8777 (generated): Add .symlist files.
8778
87792012-05-03 Joseph Myers <joseph@codesourcery.com>
8780
8781 [BZ #13775]
8782 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8783 Redirect under this condition.
8784 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8785 [__USE_GNU] (__dprintf_chk): Not under this condition.
8786 [__USE_GNU] (__vdprintf_chk): Likewise.
8787 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8788 under this condition.
8789 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8790 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8791 [__USE_XOPEN2K8] (vdprintf): Likewise.
8792 [__USE_GNU] (__dprintf_chk): Not under this condition.
8793 [__USE_GNU] (__vdprintf_chk): Likewise.
8794 [__USE_GNU] (dprintf): Likewise.
8795 [__USE_GNU] (vdprintf): Likewise.
8796
87972012-05-03 Roland McGrath <roland@hack.frob.com>
8798
8799 * elf/Makefile (common-generated): Set this instead of generated for
8800 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8801 $(all-built-dso)-derived lists.
8802
88032012-05-03 Andreas Jaeger <aj@suse.de>
8804
8805 * sysdeps/i386/fpu/libm-test-ulps: Update.
8806
8807 * FAQ: Removed.
8808 * FAQ.in: Likewise.
8809 * scripts/gen-FAQ.pl: Likewise.
8810 * manual/install.texi (Installation): Point to online location of
8811 FAQ.
8812 * Makefile (files-for-dist): Remove FAQ.
8813 (FAQ): Remove.
8814
88152012-05-02 Allan McRae <allan@archlinux.org>
8816
8817 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8818 (LDFLAGS-reldepmod5.so): Likewise.
8819 (LDFLAGS-reldep6mod1.so): Likewise.
8820 (LDFLAGS-reldep6mod4.so): Likewise.
8821 (LDFLAGS-reldep8mod3.so): Likewise.
8822 (LDFLAGS-unload4mod1.so): Likewise.
8823 (LDFLAGS-unload4mod2.so): Likewise.
8824 (LDFLAGS-tst-initorder): Likewise.
8825 (LDFLAGS-tst-initordera2.so): Likewise.
8826 (LDFLAGS-tst-initordera3.so): Likewise.
8827 (LDFLAGS-tst-initordera4.so): Likewise.
8828 (LDFLAGS-tst-initorderb2.so): Likewise.
8829 (LDFLAGS-noload): Likewise.
8830 (LDFLAGS-next): Likewise.
8831 (LDFLAGS-order2mod1.so): Likewise.
8832 (LDFLAGS-order2mod2.so): Likewise.
8833 (LDFLAGS-tst-initorder2): Likewise.
8834 (LDFLAGS-tst-initorder2a.so): Likewise.
8835 (LDFLAGS-tst-initorder2b.so): Likewise.
8836 (LDFLAGS-tst-initorder2c.so): Likewise.
8837 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8838
88392012-05-02 David S. Miller <davem@davemloft.net>
8840
8841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8842
88432012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8844
8845 [BZ #14055]
8846 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8847
88482012-05-02 Andreas Jaeger <aj@suse.de>
8849
8850 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8851 since we manipulate rounding mode.
8852 (CPPFLAGS-test-idouble.c): Likewise.
8853 (CPPFLAGS-test-ifloat.c): Likewise.
8854 (CFLAGS-test-ldouble.c): Likewise.
8855 (CFLAGS-test-double.c): Likewise.
8856 (CFLAGS-test-float.c): Likewise.
8857 (CFLAGS-test-misc.c): Likewise.
8858 (CFLAGS-test-test-fenv.c): Likewise.
8859
88602012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8861
8862 [BZ #2550]
8863 [BZ #2570]
8864 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8865 comparisons to determine direction to adjust input.
8866
88672012-05-01 Roland McGrath <roland@hack.frob.com>
8868
8869 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8870 output to the target.
8871
8872 * scripts/localplt.awk: New file.
8873 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8874 (check-localplt-CFLAGS): Variable removed.
8875 ($(all-built-dso:=.jmprel)): New static pattern rule.
8876 (generated): Add those targets.
8877 (localplt-built-dso): New variable.
8878 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8879
8880 * elf/check-localplt.c: File removed.
8881
8882 * scripts/check-execstack.awk: New file.
8883 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8884 (check-execstack-CFLAGS): Variable removed.
8885 ($(objpfx)check-execstack.h): Target removed.
8886 ($(objpfx)execstack-default): New target.
8887 (generated): Add that instead of check-execstack.h.
8888 ($(all-built-dso:=.phdr)): New static pattern rule.
8889 (generated): Add those targets.
8890 * elf/check-execstack.c: File removed.
8891
8892 * scripts/check-textrel.awk: New file.
8893 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8894 (check-textrel-CFLAGS): Variable removed.
8895 (all-built-dso): Use := to define.o
8896 ($(all-built-dso:=.dyn)): New static pattern rule.
8897 (generated): Add those targets.
8898 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8899 * config.make.in (READELF): New substituted variable.
8900 * elf/check-textrel.c: File removed.
8901
89022012-05-01 Joseph Myers <joseph@codesourcery.com>
8903
8904 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8905 allow.
8906 * conform/data/ctype.h-data [C99-based standards] (isblank):
8907 Expect function.
8908 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8909 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8910 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8911 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8912 Specify type. Require positive value.
8913 (EILSEQ): Likewise.
8914 (ERANGE): Likewise.
8915 [ISO || POSIX] (EILSEQ): Do not expect.
8916 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8917 Specify type. Require positive value.
8918 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8919 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8920 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8921 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8922 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8923 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8924 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8925 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8926 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8927 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8928 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8929 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8930 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8931 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8932 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8933 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8934 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8935 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8936 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8937 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8938 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8939 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8940 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8941 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8942 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8943 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8944 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8945 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8946 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8947 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8948 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8949 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8950 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8951 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8952 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8953 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8954 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8955 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8956 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8957 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8958 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8959 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8960 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8961 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8962 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8963 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8964 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8965 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8966 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8967 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8968 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8969 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8970 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8971 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8972 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8973 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8974 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8975 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8976 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8977 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8978 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8979 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8980 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8981 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8982 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8983 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8984 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8985 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8986 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8987 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8988 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8989 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8990 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8991 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8992 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8993 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8994 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8995 Require >= 2.
8996 (FLT_ROUNDS): Expect as macro, not constant.
8997 (FLT_MANT_DIG): Use macro-int-constant.
8998 (DBL_MANT_DIG): Likewise.
8999 (LDBL_MANT_DIG): Likewise.
9000 (FLT_DIG): Likewise.
9001 (DBL_DIG): Likewise.
9002 (LDBL_DIG): Likewise.
9003 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9004 (DBL_MIN_EXP): Likewise.
9005 (LDBL_MIN_EXP): Likewise.
9006 (FLT_MAX_EXP): Use macro-int-constant.
9007 (DBL_MAX_EXP): Likewise.
9008 (LDBL_MAX_EXP): Likewise.
9009 (FLT_MAX_10_EXP): Likewise.
9010 (DBL_MAX_10_EXP): Likewise.
9011 (LDBL_MAX_10_EXP): Likewise.
9012 (FLT_MAX): Use macro-constant.
9013 (DBL_MAX): Likewise.
9014 (LDBL_MAX): Likewise.
9015 (FLT_EPSILON): Use macro-constant. Give upper bound.
9016 (DBL_EPSILON): Likewise.
9017 (LDBL_EPSILON): Likewise.
9018 (FLT_MIN): Likewise.
9019 (DBL_MIN): Likewise.
9020 (LDBL_MIN): Likewise.
9021 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9022 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9023 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9024 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9025 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9026 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9027 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9028 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9029 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9030 [ISO11] (FLT_TRUE_MIN): Likewise.
9031 [ISO11] (LDBL_TRUE_MIN): Likewise.
9032 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9033 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9034 (SCHAR_MIN): Use macro-int-constant. Specify type.
9035 (SCHAR_MAX): Likewise.
9036 (UCHAR_MAX): Likewise.
9037 (CHAR_MIN): Likewise.
9038 (CHAR_MAX): Likewise.
9039 (MB_LEN_MAX): Use macro-int-constant.
9040 (SHRT_MIN): Use macro-int-constant. Specify type.
9041 (SHRT_MAX): Likewise.
9042 (USHRT_MAX): Likewise.
9043 (INT_MAX): Likewise.
9044 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9045 bound negative.
9046 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9047 bound with "U".
9048 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9049 bound with "L".
9050 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9051 bound negative. Suffix upper bound with "L".
9052 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9053 bound with "UL".
9054 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9055 Specify type.
9056 [C99-based standards] (LLONG_MAX): Likewise.
9057 [C99-based standards] (ULLONG_MAX): Likewise.
9058 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9059 == 0.
9060 [ISO11] (max_align_t): Require type.
9061 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9062
9063 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9064 from $CFLAGS, without defining away __attribute__ calls.
9065 (checknamespace): Use $CFLAGS_namespace.
9066
9067 * conform/conformtest.pl (@keywords): Only include C99 keywords
9068 for standards based on C99 or C11.
9069
9070 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9071 Disable tests.
9072 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9073 UNIX98]: Likewise.
9074
9075 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9076 usability of symbols in #if.
9077
9078 * conform/conformtest.pl: If macro or constant types start
9079 "promoted:", expect the symbol to be of the following type
9080 promoted by the integer promotions.
9081
9082 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9083 in one place. Also handle "macro-constant".
9084
9085 * conform/conformtest.pl: Only accept expected macro values with
9086 "==". Parse all "macro" lines in one place.
9087 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9088
9089 * conform/conformtest.pl: Handle braced types on "constant" lines
9090 instead of handling "typed-constant".
9091 * conform/data/signal.h-data: Use "constant" instead of
9092 "typed-constant".
9093
9094 * conform/conformtest.pl: Handle "optional-" at start of lines in
9095 one place rather than duplicating several cases. Handle each
9096 format of "macro" line with initial "optional-".
9097
9098 * conform/conformtest.pl: Only accept expected constant or
9099 optional-constant values with "==". Parse all "constant" lines in
9100 one place. Parse all "optional-constant" lines in one place.
9101 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9102 * conform/data/fmtmsg.h-data: Likewise.
9103 * conform/data/netinet/in.h-data: Likewise.
9104 * conform/data/tar.h-data: Likewise.
9105 * conform/data/limits.h-data: Use "==" form on "constant" and
9106 "optional-constant" lines.
9107
9108 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9109 Use -std=c99 for XOPEN2K.
9110 (@knownproblems): Remove.
9111 (newtoken): Don't check %isknown.
9112
9113 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9114 Do not expect macro.
9115 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9116 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9117 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9118 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9119 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9120 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9121 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9122 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9123 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9124 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9125 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9126 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9127 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9128 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9129 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9130 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9131 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9132 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9133 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9134 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9135 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9136 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9137 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9138 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9139 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9140 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9141 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9142 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9143 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9144 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9145 [XPG3] (acosh): Likewise.
9146 [XPG3] (asinh): Likewise.
9147 [XPG3] (atanh): Likewise.
9148 [XPG3] (cbrt): Likewise.
9149 [XPG3] (expm1): Likewise.
9150 [XPG3] (ilogb): Likewise.
9151 [XPG3] (log1p): Likewise.
9152 [XPG3] (logb): Likewise.
9153 [XPG3] (nextafter): Likewise.
9154 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9155 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9156 [XPG3] (remainder): Likewise.
9157 [XPG3] (rint): Likewise.
9158 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9159 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9160 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9161 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9162 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9163 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9164 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9165 [UNIX98 || XOPEN2K] (scalb): Expect.
9166 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9167 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9168 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9169 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9170 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9171 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9172 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9173 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9174 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9175 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9176 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9177 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9178 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9179 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9180 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9181 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9182 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9183 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9184 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9185 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9186 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9187 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9188 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9189 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9190 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9191 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9192 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9193 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9194 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9195 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9196 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9197 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9198 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9199 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9200 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9201 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9202 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9203 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9204 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9205 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9206 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9207 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9208 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9209 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9210 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9211 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9212 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9213 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9214 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9215 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9216 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9217 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9218 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9219 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9220 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9221 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9222 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9223 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9224 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9225 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9226 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9227 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9228 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9229 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9230 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9231 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9232 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9233 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9234 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9235 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9236 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9237 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9238 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9239 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9240 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9241 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9242 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9243 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9244 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9245 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9246 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9247 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9248 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9249 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9250 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9251 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9252 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9253 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9254 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9255 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9256 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9257 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9258 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9259 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9260 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9261 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9262 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9263 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9264 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9265 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9266 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9267 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9268 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9269 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9270 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9271 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9272 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9273 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9274 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9275 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9276 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9277 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9278 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9279 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9280 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9281 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9282 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9283 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9284 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9285 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9286 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9287 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9288 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9289 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9290 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9291 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9292 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9293 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9294 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9295 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9296 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9297 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9298 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9299 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9300 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9301 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9302 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9303
9304 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9305 _XOPEN_SOURCE_EXTENDED for XPG4.
9306
9307 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9308
9309 * Makeconfig (localtime): Remove variable.
9310 (inst_localtime-file): Likewise.
9311
93122012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9313
9314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9315 Update.
9316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9317 Update.
9318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9319 Update.
9320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9321 Update.
9322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9323 Update.
9324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9325 Update.
9326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9327 Update.
9328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9329 Update.
9330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9331 Update.
9332
93332012-05-01 Joseph Myers <joseph@codesourcery.com>
9334
9335 [BZ #2550]
9336 [BZ #2570]
9337 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
9338 comparisons to determine direction to adjust input.
9339 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9340 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9341 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9342 Likewise.
9343 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9344 Likewise.
9345 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9346 Likewise.
9347 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9348 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9349 Likewise.
9350 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9351 Likewise.
9352 * math/libm-test.inc (nexttoward_test): Add more tests.
9353
93542012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9355
9356 [BZ #14040]
9357 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
9358 in version GLIBC_2.1, not GLIBC_2.0.
9359 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
9360 Likewise.
9361
93622012-04-30 Joseph Myers <joseph@codesourcery.com>
9363
9364 [BZ #13942]
9365 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
9366 (1 - x) * (1 + x).
9367 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9368 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
9369 * math/libm-test.inc (acos_test): Add more tests.
9370 (asin_test): Likewise.
9371 * sysdeps/i386/fpu/libm-test-ulps: Update.
9372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9373
9374 [BZ #14034]
9375 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
9376 of square root.
9377 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
9378 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9379 * math/libm-test.inc (acos_test_tonearest): New function.
9380 (acos_test_towardzero): Likewise.
9381 (acos_test_downward): Likewise.
9382 (acos_test_upward): Likewise.
9383 (asin_test_tonearest): Likewise.
9384 (asin_test_towardzero): Likewise.
9385 (asin_test_downward): Likewise.
9386 (asin_test_upward): Likewise.
9387 (main): Call the new functions.
9388 * sysdeps/i386/fpu/libm-test-ulps: Update.
9389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9390
9391 [BZ #13884]
9392 [BZ #13924]
9393 * math/e_exp10.c: Include <float.h>.
9394 (__ieee754_exp10): Handle underflow here rather than multiplying
9395 large negative argument by M_LN10.
9396 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
9397 of __ieee754_expf.
9398 * math/e_exp10l.c: Include <float.h>.
9399 (__ieee754_exp10l): Handle underflow here rather than multiplying
9400 large negative argument by M_LN10l.
9401 * math/libm-test.inc (exp10_test): Add another test. Do not allow
9402 spurious overflow exception on underflow.
9403
94042012-04-29 Marek Polacek <polacek@redhat.com>
9405
9406 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
9407 (__fortify_function): New macro.
9408 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
9409 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
9410 __extern_always_inline.
9411 * libio/bits/stdio2.h: Likewise.
9412 * libio/bits/stdio.h: Likewise.
9413 * string/string.h: Likewise.
9414 * string/bits/string3.h: Likewise.
9415 * include/stdio.h: Likewise.
9416 * stdlib/bits/stdlib.h: Likewise.
9417 * stdlib/stdlib.h: Likewise.
9418 * rt/bits/mqueue2.h: Likewise.
9419 * rt/mqueue.h: Likewise.
9420 * posix/bits/unistd.h: Likewise.
9421 * posix/unistd.h: Likewise.
9422 * io/bits/poll2.h: Likewise.
9423 * io/bits/fcntl2.h: Likewise.
9424 * io/fcntl.h: Likewise.
9425 * io/sys/poll.h: Likewise.
9426 * misc/bits/syslog.h: Likewise.
9427 * misc/bits/syslog-ldbl.h: Likewise.
9428 * misc/sys/syslog.h: Likewise.
9429 * socket/bits/socket2.h: Likewise.
9430 * socket/sys/socket.h: Likewise.
9431 * debug/tst-chk1.c: Likewise.
9432 * wcsmbs/bits/wchar2.h: Likewise.
9433 * wcsmbs/bits/wchar-ldbl.h: Likewise.
9434 * wcsmbs/wchar.h: Likewise.
9435
94362012-04-29 Andreas Jaeger <aj@suse.de>
9437
9438 * Makerules (tests): Remove enable-check-abi protection.
9439 (check-abi-warn): Remove.
9440 (check-abi-%): Remove check-abi-warn usage.
9441
9442 * configure.in: Remove check-abi configure option.
9443 * configure: Regenerated.
9444 * config.make.in (enable-check-abi): Remove.
9445
94462012-04-28 Andreas Schwab <schwab@linux-m68k.org>
9447
9448 [BZ #14033]
9449 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
9450 double functions to double *_finite functions.
9451
9452 [BZ #13941]
9453 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
9454 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
9455 LDBL_MIN_EXP.
9456 * stdio-common/Makefile (tests): Add tst-sprintf3.
9457 * stdio-common/tst-sprintf3.c: New file.
9458
9459 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
9460 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
9461
94622012-04-28 Joseph Myers <joseph@codesourcery.com>
9463
9464 * conform/conformtest.pl: Remove duplicate typed-constant
9465 handling.
9466
94672012-04-28 David S. Miller <davem@davemloft.net>
9468
9469 * Makerules (%.abilist): Add vpath on sysdep_dirs.
9470 (check-abi-%): Remove AWK script prerequisite and explicit
9471 abilist directory.
9472 (check-abi): Rewrite to just diff the symlist with the abilist.
9473 (config-tls, config-abi-config): Delete, no longer used.
9474 (update-abi-%): Remove AWK script and explicit abilist directory.
9475 (update-abi): Rewrite to simply compare and conditionally copy the
9476 symlist and the sysdep abilist file. Remove update-abi-config
9477 checks.
9478 * abilist/ld.abilist: Remove.
9479 * abilist/libBrokenLocale.abilist: Remove.
9480 * abilist/libanl.abilist: Remove.
9481 * abilist/libcrypt.abilist: Remove.
9482 * abilist/libdl.abilist: Remove.
9483 * abilist/librt.abilist: Remove.
9484 * abilist/libthread_db.abilist: Remove.
9485 * abilist/libutil.abilist: Remove.
9486 * scripts/extract-abilist.awk: Remove.
9487 * scripts/merge-abilist.awk: Remove.
9488 * sysdeps/generic/libcidn.abilist: New file.
9489 * sysdeps/generic/libnss_compat.abilist: New file.
9490 * sysdeps/generic/libnss_db.abilist: New file.
9491 * sysdeps/generic/libnss_dns.abilist: New file.
9492 * sysdeps/generic/libnss_files.abilist: New file.
9493 * sysdeps/generic/libnss_hesiod.abilist: New file.
9494 * sysdeps/generic/libnss_nis.abilist: New file.
9495 * sysdeps/generic/libnss_nisplus.abilist: New file.
9496 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
9497 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
9498 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
9499 file.
9500 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
9501 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
9502 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
9503 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
9504 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
9505 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
9506 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
9507 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
9508 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
9509 file.
9510 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
9511 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
9512 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
9513 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
9514 file.
9515 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
9516 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
9517 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
9518 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
9519 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
9520 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
9521 file.
9522 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
9523 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
9524 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
9525 file.
9526 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
9527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
9528 New file.
9529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
9530 New file.
9531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
9532 New file.
9533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
9534 New file.
9535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
9536 New file.
9537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
9538 New file.
9539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
9540 New file.
9541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
9542 New file.
9543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
9544 New file.
9545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
9546 New file.
9547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
9548 New file.
9549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
9550 New file.
9551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
9552 New file.
9553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
9554 file.
9555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9556 New file.
9557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9558 New file.
9559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
9560 file.
9561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9562 New file.
9563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9564 New file.
9565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
9566 file.
9567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9568 New file.
9569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9570 New file.
9571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9572 New file.
9573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9574 New file.
9575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9576 New file.
9577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9578 New file.
9579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
9580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
9581 file.
9582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9583 New file.
9584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
9585 file.
9586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
9587 file.
9588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
9589 file.
9590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
9591 file.
9592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
9593 file.
9594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9595 New file.
9596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
9597 file.
9598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
9599 file.
9600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9601 New file.
9602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
9603 file.
9604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
9605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
9606 file.
9607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9608 New file.
9609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
9610 file.
9611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
9612 file.
9613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
9614 file.
9615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
9616 file.
9617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
9618 file.
9619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9620 New file.
9621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
9622 file.
9623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
9624 file.
9625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9626 New file.
9627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
9628 file.
9629 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9630 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
9631 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
9632 file.
9633 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
9634 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
9635 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
9636 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
9637 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
9638 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
9639 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
9640 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
9641 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
9642 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
9643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
9644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
9645 file.
9646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9647 New file.
9648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
9649 file.
9650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
9651 file.
9652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
9653 file.
9654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
9655 file.
9656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
9657 file.
9658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9659 New file.
9660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9661 New file.
9662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
9663 file.
9664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9665 New file.
9666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
9667 file.
9668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
9669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
9670 file.
9671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9672 New file.
9673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
9674 file.
9675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
9676 file.
9677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
9678 file.
9679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
9680 file.
9681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
9682 file.
9683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9684 New file.
9685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9686 New file.
9687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
9688 file.
9689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9690 New file.
9691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
9692 file.
9693
96942012-04-28 Joseph Myers <joseph@codesourcery.com>
9695
9696 * conform/conformtest.pl: Fix typo in handling typed-constant from
9697 allow-header.
9698
96992012-04-27 Joseph Myers <joseph@codesourcery.com>
9700
9701 * README: Cut down references to pre-2.6 Linux kernels and
9702 Linuxthreads. Update lists of configurations in libc and ports
9703 and sort alphabetically. Say "or newer" with Linux kernel version
9704 requirements.
9705
9706 * config.h.in [IS_IN_build]: Allow compiling without optimization.
9707
97082012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9709
9710 [BZ #887]
9711 * math/libm-test.inc (logb_test_downward): New test to expose
9712 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9713 rounding mode.
9714
97152012-04-27 Joseph Myers <joseph@codesourcery.com>
9716
9717 [BZ #14027]
9718 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9719 to be done.
9720 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9721 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9722
97232012-04-26 Joseph Myers <joseph@codesourcery.com>
9724
9725 * sysdeps/unix/i386/brk.S: Remove file.
9726 * sysdeps/unix/i386/dl-brk.S: Likewise.
9727 * sysdeps/unix/i386/pipe.S: Likewise.
9728 * sysdeps/unix/i386/sigreturn.S: Likewise.
9729 * sysdeps/unix/i386/syscall.S: Likewise.
9730 * sysdeps/unix/i386/vfork.S: Likewise.
9731 * sysdeps/unix/i386/wait.S: Likewise.
9732
9733 * sysdeps/unix/common/tcsendbrk.c: Move to ...
9734 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9735
9736 * configure.in (arm*-none*): Do not allow without
9737 --enable-hacker-mode.
9738 (netbsd*): Remove case setting base_os.
9739 (386bsd*): Likewise.
9740 (freebsd*): Likewise.
9741 (bsdi*): Likewise.
9742 (osf*): Likewise.
9743 (sunos*): Likewise.
9744 (ultrix*): Likewise.
9745 (newsos*): Likewise.
9746 (dynix*): Likewise.
9747 (*bsd*): Likewise.
9748 (sysv*): Likewise.
9749 (isc*): Likewise.
9750 (esix*): Likewise.
9751 (sco*): Likewise.
9752 (minix*): Likewise.
9753 (irix4*): Likewise.
9754 (irix6*): Likewise.
9755 (solaris[2-9]*): Likewise.
9756 (none): Likewise.
9757 * configure: Regenerated.
9758
97592012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9760
9761 [BZ #11521]
9762 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9763 overflow or cancellation in calculating denominator.
9764 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9765 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9766 down expression to avoid unexpected rounding in newer GCCs.
9767 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9768
97692012-04-26 David S. Miller <davem@davemloft.net>
9770
9771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9772 long-double compat symbols.
9773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9786
97872012-04-25 David S. Miller <davem@davemloft.net>
9788
9789 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9790 HWCAP_* values only after the memory barriers have been defined.
9791 (atomic_full_barrier): Define.
9792 (atomic_read_barrier): Define.
9793 (atomic_write_barrier): Define.
9794
97952012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9796
9797 * shlib-versions: Add libgcc_s version information.
9798 * sysdeps/generic/libgcc_s.h: Remove.
9799 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9800 libgcc_s.h.
9801 * sysdeps/gnu/unwind-resume.c: Likewise.
9802 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9803
98042012-04-25 David S. Miller <davem@davemloft.net>
9805
9806 * sysdeps/unix/sparc/brk.S: Delete.
9807 * sysdeps/unix/sparc/dl-brk.S: Delete.
9808 * sysdeps/unix/sparc/pipe.S: Delete.
9809 * sysdeps/unix/sparc/sysdep.S: Delete.
9810 * sysdeps/unix/sparc/sysdep.h: Delete.
9811 * sysdeps/unix/sparc/vfork.S: Delete.
9812 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9813 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9814 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9815 ret_ERRVAL, r0, r1, MOVE): Define.
9816 (JUMPTARGET): Remove.
9817 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9818 sysdeps/unix/sparc/sysdep.h
9819 (ENTRY, END): Remove.
9820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9821
98222012-04-25 Joseph Myers <joseph@codesourcery.com>
9823
9824 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9825 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9826 -DIS_IN_build.
9827
9828 * timezone/README: Update upstream location and email address for
9829 tzcode and tzdata.
9830 * timezone/zdump.c: Update from tzcode 2012b.
9831 * timezone/zic.c: Likewise.
9832
9833 * configure.in (libc_cv_as_needed): Remove test.
9834 * configure: Regenerated.
9835 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9836 conditional definition.
9837 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9838 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9839 * config.make.in (have-as-needed): Remove variable.
9840
98412012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9842 Paul Pluzhnikov <ppluzhnikov@google.com>
9843
9844 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9845 strings correctly.
9846
98472012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9848
9849 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9850 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9851 * sysdeps/sh/strlen.S: Likewise.
9852
98532012-04-24 Joseph Myers <joseph@codesourcery.com>
9854
9855 * sysdeps/unix/fork.S: Remove file.
9856 * sysdeps/unix/i386/fork.S: Likewise.
9857 * sysdeps/unix/sparc/fork.S: Likewise.
9858
9859 * sysdeps/unix/system.c: Remove file.
9860 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9861
9862 * sysdeps/unix/getegid.S: Remove file.
9863 * sysdeps/unix/geteuid.S: Likewise.
9864
98652012-04-24 Roland McGrath <roland@hack.frob.com>
9866
9867 * scripts/check-localplt.awk: New file.
9868 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9869 of diff.
9870 * scripts/data/localplt-generic.data: Add a comment.
9871
9872 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9873 NODE when __dir_mkfile failed.
9874 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9875 Reported by Ludovic Courtès <ludo@gnu.org>.
9876
98772012-04-24 Andreas Jaeger <aj@suse.de>
9878
9879 * Makerules (common-clean): Also remove gen-as-const-headers
9880 files.
9881
98822012-04-24 Joseph Myers <joseph@codesourcery.com>
9883
9884 * Makerules (native-compile): Do not change working directory for
9885 build. Use $(OUTPUT_OPTION) in command.
9886 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9887
98882012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9889
9890 [BZ #13886]
9891 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9892 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9893 * math/libm-test.inc (floor_test): Add more tests.
9894 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9895
98962012-04-24 Joseph Myers <joseph@codesourcery.com>
9897
9898 * sysdeps/unix/getdents.c: Remove file.
9899 * sysdeps/unix/sysv/getdents.c: Likewise.
9900 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9901
9902 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9903 sysdeps/unix/mman/syscalls.list.
9904 (mmap): Likewise.
9905 (mprotect): Likewise.
9906 (msync): Likewise.
9907 (munmap): Likewise.
9908 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9909 * sysdeps/unix/mman/syscalls.list: Remove.
9910 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9911
9912 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9913 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9914 * configure: Regenerated.
9915 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9916 $(libgcc_s_suffix).
9917 * config.make.in (libgcc_s_suffix): Remove variable.
9918
99192012-04-23 Joseph Myers <joseph@codesourcery.com>
9920
9921 * sysdeps/unix/sysv/gethostname.c: Move to ...
9922 * sysdeps/posix/gethostname.c: ... here.
9923
9924 * sysdeps/unix/execve.S: Remove file.
9925
9926 * sysdeps/unix/_exit.S: Remove file.
9927
99282012-04-23 Andreas Jaeger <aj@suse.de>
9929
9930 [BZ #13739]
9931 * manual/Makefile: Remove make dist support, there's no
9932 need for a stand-alone documentation tar ball.
9933 (TEXI2DVI): Define always, it's not in Makeconfig.
9934 (dist): Removed.
9935 (tar-it): Removed.
9936 (edition): Removed.
9937 (glibc-doc-$(edition).tar): Removed
9938 (%.Z): Removed.
9939 (%.gz): Removed.
9940 (%.uu): Removed.
9941 (ETAGS): Remove, it's in Makeconfig.
9942 (move-if-change): Remove, it's in Makeconfig.
9943
99442013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9945
9946 [BZ #13970]
9947 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9948 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9949 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9950 (strtod_l, strtof_l, strtold_l): Remove __wur.
9951 It is not necessarily an error to ignore strtol's return value.
9952 One can reliably look at the stored endptr to decide whether
9953 the number had valid syntax.
9954
99552012-04-21 Andreas Jaeger <aj@suse.de>
9956
9957 [BZ #13739]
9958 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9959
99602012-04-21 Joseph Myers <joseph@codesourcery.com>
9961
9962 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9963 * sysdeps/unix/sysv/Versions: Remove file.
9964
99652012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9966
9967 [BZ #13927]
9968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9969
99702012-04-21 Nick Alcock <nick.alcock@oracle.com>
9971
9972 [BZ #7064]
9973 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9974 version from __vm86.
9975
99762012-04-20 Joseph Myers <joseph@codesourcery.com>
9977
9978 * sysdeps/unix/common/lxstat.c: Remove file.
9979 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9980
9981 * sysdeps/unix/sysv/Makefile: Remove file.
9982
9983 * sysdeps/unix/sysv/direct.h: Remove file.
9984
9985 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9986 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9987 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9988 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9989 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9990 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9991 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9992
9993 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9994
9995 * sysdeps/unix/xmknod.c: Remove file.
9996 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9997
9998 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9999
10000 * sysdeps/unix/sysv/i386/time.S: Remove file.
10001
10002 * sysdeps/unix/fxstat.c: Remove file.
10003 * sysdeps/unix/xstat.c: Likewise.
10004 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10005
10006 * sysdeps/unix/sysv/sigaction.c: Remove file.
10007
10008 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10009 (sysdep_headers): Remove variable.
10010 [termio.h not in sysdep_headers] (generated): Likewise.
10011 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10012 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10013 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10014 * sysdeps/unix/sysv/tcflow.c: Likewise.
10015 * sysdeps/unix/sysv/tcflush.c: Likewise.
10016 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10017 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10018 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10019 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10020 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10021
10022 * sysdeps/unix/siglist.c: Remove file.
10023
10024 * sysdeps/unix/getppid.S: Remove file.
10025
10026 * sysdeps/unix/mkdir.c: Remove file.
10027 * sysdeps/unix/rmdir.c: Likewise.
10028
100292012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10030
10031 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10032 ERR_MAX value.
10033 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10034 errlist-compat value.
10035
100362012-04-18 David S. Miller <davem@davemloft.net>
10037
10038 * sysdeps/generic/memcopy.h (reg_char): Delete.
10039 * debug/strcat_chk.c: Use char, not reg_char.
10040 * debug/strcpy_chk.c: Likewise.
10041 * debug/strncat_chk.c: Likewise.
10042 * debug/strncpy_chk.c: Likewise.
10043 * string/memchr.c: Likewise.
10044 * string/memrchr.c: Likewise.
10045 * string/rawmemchr.c: Likewise.
10046 * string/strcat.c: Likewise.
10047 * string/strchr.c: Likewise.
10048 * string/strchrnul.c: Likewise.
10049 * string/strcmp.c: Likewise.
10050 * string/strcpy.c: Likewise.
10051 * string/strncat.c: Likewise.
10052 * string/strncmp.c: Likewise.
10053 * string/strncpy.c: Likewise.
10054
100552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10056
10057 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10058 __builtin_memcopy is called when src and dest ranges are known to not
10059 overlap.
10060
100612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10062
10063 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10064 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10065 fwd_align_merge macro call.
10066 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10067 bwd_align_merge macro call.
10068 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10069
100702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10071
10072 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10073 bwd_align_merge macros.
10074 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10075 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10076 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10077
100782012-04-18 David S. Miller <davem@davemloft.net>
10079
10080 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10081
100822012-04-18 Andreas Jaeger <aj@suse.de>
10083
10084 [BZ# 6794]
10085 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10086 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10087 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10088
10089 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10090 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10091 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10092
10093 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10094 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10095 Adjust for changed ldbl-128 files.
10096
10097 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10098 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10099 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10100
101012012-04-17 David S. Miller <davem@davemloft.net>
10102
10103 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10104
101052012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10106
10107 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10108 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10109 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10110 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10111 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10112 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10113
101142012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10115
10116 [BZ #6794]
10117 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10118 * math/libm-test.inc: Add ilogb errno and exception tests.
10119 * math/w_ilogb.c: New file: ilogb wrapper.
10120 * math/w_ilogbf.c: New file: ilogbf wrapper.
10121 * math/w_ilogbl.c: New file: ilogbl wrapper.
10122 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10123 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10124 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10125 exception being thrown with 0.0 as argument.
10126 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10127 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10128 exception being thrown with 0.0 as argument.
10129 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10130 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10131 exception being thrown with 0.0 as argument.
10132 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10133 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10134 exception being thrown with 0.0 as argument.
10135 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10136 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
10137 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
10138 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10139 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10140 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10141 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10142 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10143 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10144
101452012-04-17 Petr Baudis <pasky@ucw.cz>
10146
10147 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10148 with altivec.
10149
101502012-04-16 Marek Polacek <polacek@redhat.com>
10151
10152 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10153
101542012-04-16 Marek Polacek <polacek@redhat.com>
10155
10156 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10157 operands of fdivp instruction.
10158
101592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10160
10161 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10162 * elf/tst-auditmod3b.c: Likewise.
10163 * elf/tst-auditmod4b.c: Likewise.
10164 * elf/tst-auditmod5b.c: Likewise.
10165 * elf/tst-auditmod6b.c: Likewise.
10166 * elf/tst-auditmod6c.c: Likewise.
10167 * elf/tst-auditmod7b.c: Likewise.
10168 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10169 * sysdeps/x86_64/preconfigure.in: Likewise.
10170 * sysdeps/x86_64/preconfigure: Regenerated.
10171
101722012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10173
10174 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10175 __ILP32__.
10176
101772012-04-13 Antoine Balestrat <merkil33@gmail.com>
10178
10179 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10180 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10181
101822012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10183
10184 [BZ #13973]
10185 * locale/iso-639.def: Fix gl language name. Spotted by
10186 Yaron Shahrabani.
10187
101882012-04-12 Roland McGrath <roland@hack.frob.com>
10189
10190 [BZ #2074]
10191 * libio/libio.h (__io_write_fn): Update comment.
10192
101932012-04-12 Petr Baudis <pasky@ucw.cz>
10194
10195 [BZ #2074]
10196 * stdio.texi (Hook Functions): The user provided writer function
10197 is not allowed to return -1.
10198
101992012-04-11 David S. Miller <davem@davemloft.net>
10200
10201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10202
102032012-04-11 Mike Frysinger <vapier@gentoo.org>
10204
10205 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10206 Add a leading slash to rtkaio.
10207
102082012-04-11 Jim Meyering <meyering@redhat.com>
10209
10210 [BZ #11959]
10211 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10212 It is not necessarily an error to ignore fwrite's return
10213 value. One can reliably use ferror to test for errors after
10214 the fact.
10215
102162012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10217
10218 * bits/types.h (__snseconds_t): New type.
10219 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10220
10221 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10222 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10223 (__SNSECONDS_T_TYPE): Likewise.
10224 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10225 (__SNSECONDS_T_TYPE): Likewise.
10226 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10227 (__SNSECONDS_T_TYPE): Likewise.
10228
102292012-04-10 Andreas Jaeger <aj@suse.de>
10230
10231 [BZ #2636]
10232 * manual/time.texi (Processor Time): Return type of times is
10233 elapsed real time since an arbitrary point in the past.
10234 (CPU Time): Move CLK_TCK from here...
10235 (Processor Time): ...to here. Correct description.
10236 * manual/conf.texi (Constants for Sysconf): Correct description of
10237 _SC_CLK_TCK.
10238
102392012-04-10 David S. Miller <davem@davemloft.net>
10240
10241 [BZ #13967]
10242 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10243 where the is a gap between DT_REL(A) and DT_JMPREL.
10244
102452012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10246
10247 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10248 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10249 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10250
102512012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10252
10253 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10254 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10255 (dl_main): Handle --inhibit-cache.
10256 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10257 _dl_inhibit_cache.
10258 * elf/dl-load.c (_dl_map_object): Use it.
10259 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10260
102612012-04-09 Joseph Myers <joseph@codesourcery.com>
10262
10263 [BZ #13872]
10264 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10265 (__ieee754_powl): Saturate large exponents rather than testing for
10266 overflow of y*log2(x).
10267 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10268 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10269 exceptions.
10270
10271 [BZ #11521]
10272 * math/s_ctan.c: Include <float.h>.
10273 (__ctan): Avoid internal overflow or cancellation in calculating
10274 denominator.
10275 * math/s_ctanf.c: Likewise.
10276 * math/s_ctanl.c: Likewise.
10277 * math/s_ctanh.c: Likewise.
10278 * math/s_ctanhf.c: Likewise.
10279 * math/s_ctanhl.c: Likewise.
10280 * math/libm-test.inc (ctan_test): Add more tests.
10281 (ctanh_test): Likewise.
10282 * sysdeps/i386/fpu/libm-test-ulps: Update.
10283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10284
102852012-04-09 Andreas Jaeger <aj@suse.de>
10286
10287 [BZ #6894]
10288 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10289 is an optional BSD extension.
10290
10291 [BZ #10254]
10292 * manual/stdio.texi (Opening Streams): Document additional fopen
10293 parameters.
10294
102952012-04-09 Roland McGrath <roland@hack.frob.com>
10296
10297 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10298 %eax without telling the compiler.
10299
103002012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10301
10302 [BZ # 13963]
10303 * manual/install.texi: Use sourceware.org.
10304
103052012-04-09 Joseph Myers <joseph@codesourcery.com>
10306
10307 [BZ #13873]
10308 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10309 (__ieee754_pow): Generate overflow and underflow using huge*huge
10310 and tiny*tiny rather than just returning constant infinity or zero
10311 for large exponents.
10312 * math/libm-test.inc (pow_test): Require overflow exceptions for
10313 applicable cases of large exponents.
10314
10315 [BZ #706]
10316 * sysdeps/i386/fpu/e_pow.S (p10): New object.
10317 (__ieee754_pow): Use iterative multiplication algorithm only for
10318 integer exponents with absolute value below 1024. Check for odd
10319 integer exponents when using algorithm for real exponents.
10320 * math/libm-test.inc (pow_test): Add more tests.
10321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10322
103232012-04-08 Joseph Myers <joseph@codesourcery.com>
10324
10325 [BZ #13705]
10326 * math/libm-test.inc (exp_test): Do not allow overflow exception
10327 on underflow test.
10328
103292012-04-08 Aurelien Jarno <aurelien@aurel32.net>
10330
10331 [BZ #13705]
10332 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10333 instead of __kernel_standard_f.
10334
103352012-04-08 Mike Frysinger <vapier@gentoo.org>
10336
10337 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
10338 * sysdeps/x86_64/memset_chk.S: Likewise.
10339
103402012-04-08 Andreas Jaeger <aj@suse.de>
10341
10342 [BZ #10153]
10343 * manual/startup.texi (Environment Access): Describe return value
10344 for putenv and setenv.
10345
10346 [BZ #6895]
10347 * manual/filesys.texi (Directory Entries): Add description for
10348 DT_LNK.
10349
10350 [BZ #6890]
10351 * manual/filesys.texi (Directory Entries): Clarify that it's file
10352 system not operating system in the description of DT_UNKNOWN.
10353
10354 [BZ #6578]
10355 * manual/syslog.texi (closelog): Fix reference, it's openlog.
10356
103572012-04-08 Stephen Compall <s11@member.fsf.org>
10358
10359 [BZ #6649]
10360 * manual/llio.texi (Opening and Closing Files): Add cross
10361 reference to explain mode argument.
10362
103632012-04-07 Mike Frysinger <vapier@gentoo.org>
10364
10365 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
10366 * sysdeps/x86_64/memset_chk.S: Likewise.
10367
103682012-04-07 David S. Miller <davem@davemloft.net>
10369
10370 * elf/elf.h (R_SPARC_WDISP10): Define.
10371 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
10372 R_SPARC_SIZE32.
10373 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
10374 R_SPARC_SIZE64 and R_SPARC_H34.
10375
103762012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
10377
10378 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
10379 conditions and remove no longer applicable assertion.
10380
103812012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10382
10383 * bits/byteswap.h: Include <features.h>.
10384 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10385 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10386
103872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10388
10389 * bits/byteswap.h (__bswap_16): Removed.
10390 Include <bits/byteswap-16.h> to get __bswap_16.
10391 * sysdeps/i386/bits/byteswap.h: Likewise.
10392 * sysdeps/s390/bits/byteswap.h: Likewise.
10393 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10394 * bits/byteswap-16.h: New file.
10395 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10396 * sysdeps/s390/bits/byteswap-16.h: Likewise.
10397 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
10398 * string/Makefile (headers): Add bits/byteswap-16.h.
10399
104002012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10401
10402 [BZ #13895]
10403 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
10404 extra indirection.
10405 * nss/Makefile (tests-static, tests): Add tst-nss-static.
10406 * nss/tst-nss-static.c: New.
10407
104082012-04-06 Robert Millan <rmh@gnu.org>
10409
10410 [BZ #6486]
10411 * manual/llio.texi (File Position Primitive): lseek
10412 refers to WHENCE when it really means OFFSET.
10413
104142012-04-06 Andreas Jaeger <aj@suse.de>
10415
10416 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
10417 strncmp declarations.
10418
10419 * abilist/libc.abilist: Add __poll and __ppoll.
10420
104212012-04-05 David S. Miller <davem@davemloft.net>
10422
10423 * scripts/check-local-headers.sh: Accept a host triplet in the
10424 path matched by the exclude regexp.
10425
10426 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
10427 definition.
10428 * sysdeps/powerpc/powerpc32/dl-machine.h
10429 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
10430 * sysdeps/s390/s390-32/dl-machine.h
10431 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10432 * sysdeps/sparc/sparc32/dl-machine.h
10433 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10434 * sysdeps/sparc/sparc64/dl-machine.h
10435 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10436
10437 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
10438 lazy binding.
10439 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
10440 undefined symbol errors.
10441
10442 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
10443 DT_NEEDED entries.
10444
104452012-04-05 Michael Matz <matz@suse.de>
10446
10447 [BZ #13592]
10448 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
10449
104502012-04-05 Andreas Jaeger <aj@suse.de>
10451
10452 [BZ #13908]
10453 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
10454 comment.
10455
104562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10457
10458 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
10459 which ROUND is no valid rounding mode.
10460
104612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10462
10463 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
10464 read again.
10465 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
10466
104672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10468
10469 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
10470 an exception using FPU order intentionally.
10471
104722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10473
10474 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
10475 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
10476 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
10477 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
10478
104792012-04-05 Simon Josefsson <simon@josefsson.org>
10480
10481 [BZ #12340]
10482 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
10483 EINVAL when BUFLEN is too smal.
10484
104852012-04-05 Thomas Schwinge <thomas@codesourcery.com>
10486
10487 [BZ #13553]
10488 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
10489 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
10490
104912012-04-03 Andreas Jaeger <aj@suse.de>
10492
10493 [BZ #13938]
10494 * manual/setjmp.texi (System V contexts): Fix sentence.
10495
10496 [BZ #13926]
10497 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
10498 New macro for this case.
10499 [!__GNUC__] (__bswap_64): New inline function for this case.
10500 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10501 * bits/byteswap.h: Likewise.
10502 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
10503 ull, guard with __GLIBC_HAVE_LONG_LONG.
10504
10505 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
10506 __GLIBC_HAVE_LONG_LONG.
10507
10508 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
10509 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
10510
105112012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10512
10513 [BZ #13691]
10514 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
10515 inptr and inend, rather than using last_ch.
10516
105172012-04-02 David S. Miller <davem@davemloft.net>
10518
10519 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
10520 * stdio-common/printf-parse.h (read_int): Change return type to
10521 'int', return -1 on INT_MAX overflow.
10522 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
10523 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
10524 overflows INT_MAX. Check for overflow of in-format-string precision
10525 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
10526 SIZE_MAX not INT_MAX for integer overflow test.
10527 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
10528 skip the construct in the format string but do not record anything.
10529 * stdio-common/bug22.c: Adjust to test both width/prevision
10530 INT_MAX overflow as well as total length INT_MAX overflow. Check
10531 explicitly for proper errno values.
10532
105332012-04-02 Thomas Schwinge <thomas@codesourcery.com>
10534
10535 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
10536 CHAR_MAX.
10537 * string/test-strcmp.c [! WIDE]: Likewise.
10538 * time/tst-mktime2.c: Likewise for INT_MAX.
10539 * string/test-string.h: #include <sys/param.h> for MIN.
10540
10541 * csu/init-first.c (__libc_init_first): Call __ctype_init.
10542 * sysdeps/i386/init-first.c (init): Likewise.
10543 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
10544 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
10545 * sysdeps/sh/init-first.c (init): Likewise.
10546
105472012-04-01 Ulrich Drepper <drepper@gmail.com>
10548
10549 * po/ru.po: Update from translation team.
10550 * po/vi.po: Likewise.
10551
105522012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10553
10554 * resolv/nss_dns/dns-host.c: Merge copyright years.
10555
105562012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10557
10558 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10559 Optimize memcpy with prefetch if
10560 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
10561 src, dst pointers have unequal 16 byte alignments.
10562
105632012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10564
10565 [BZ #13928]
10566 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
10567 from a CNAME entry and return the minimum ttl for the query.
10568 (gaih_getanswer_slice): Likewise.
10569
105702012-03-30 Jeff Law <law@redhat.com>
10571
10572 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
10573 due to long keys.
10574 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10575 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10576
10577 * resolv/nss_dns/dns-host.c: Update copyright year.
10578
105792012-03-30 Ulrich Drepper <drepper@gmail.com>
10580
10581 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
10582 requests to save a system call. Fix check that all bytes are sent.
10583
10584 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
10585 comments for sendmmsg.
10586
105872012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10588
10589 [BZ #13691]
10590 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
10591 with only 1 character between 0x0041 and 0x01b0.
10592 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
10593 * wcsmbs/tst-mbsnrtowcs.c: New file.
10594
105952012-03-29 David S. Miller <davem@davemloft.net>
10596
10597 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
10598 small copies by hand.
10599
106002012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10601
10602 [BZ #13761]
10603 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
10604 _nss_compat_initgroups_dyn): Fall back to malloc/free
10605 for large group memberships.
10606
106072012-03-28 David S. Miller <davem@davemloft.net>
10608
10609 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
10610 that branches into memcpy.
10611 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
10612 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10613 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10614 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10615 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
10616 bits.
10617 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
10618 implementation too.
10619 * sysdeps/sparc/mempcpy.S: New file.
10620
10621 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
10622 the IFUNC routine in the libc case.
10623 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10624
10625 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
10626 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
10627 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
10628 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
10629 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
10630 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
10631 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
10632 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
10633
10634 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
10635 loop to 256 bytes instead of 64 bytes and fix test signedness.
10636
10637 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
10638 * sysdeps/sparc/sparc32/Makefile: rather than here...
10639 * sysdeps/sparc/sparc64/Makefile: and here.
10640
106412012-03-28 Ulrich Drepper <drepper@gmail.com>
10642
10643 * malloc/mallocbug.c: Avoid warnings about unused variables.
10644
106452012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10646
10647 [BZ #13760]
10648 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
10649 in the right place. Discard and retry query if response is
10650 larger than input buffer size.
10651
106522012-03-28 Joseph Myers <joseph@codesourcery.com>
10653
10654 [BZ #369]
10655 [BZ #2678]
10656 [BZ #3866]
10657 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
10658 x for large integer exponent.
10659 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10660 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
10661 sign of result as needed afterwards.
10662 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10663 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
10664 result for underflowing pow the same as for overflow.
10665 (__kernel_standard_l): Handle powl overflow and underflow here
10666 rather than calling __kernel_standard.
10667 * math/libm-test.inc (pow_test): Add more tests.
10668
10669 [BZ #3868]
10670 [BZ #13879]
10671 [BZ #13910]
10672 [BZ #13911]
10673 [BZ #13912]
10674 [BZ #13913]
10675 [BZ #13915]
10676 [BZ #13916]
10677 [BZ #13917]
10678 [BZ #13918]
10679 [BZ #13919]
10680 [BZ #13920]
10681 [BZ #13921]
10682 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
10683 * sysdeps/ieee754/k_standard.c: Include <float.h>.
10684 (__kernel_standard_l): New function.
10685 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
10686 __kernel_standard.
10687 * math/w_acosl.c (__acosl): Likewise.
10688 * math/w_asinl.c (__asinl): Likewise.
10689 * math/w_atan2l.c (__atan2l): Likewise.
10690 * math/w_atanhl.c (__atanhl): Likewise.
10691 * math/w_coshl.c (__coshl): Likewise.
10692 * math/w_exp10l.c (__exp10l): Likewise.
10693 * math/w_exp2l.c (__exp2l): Likewise.
10694 * math/w_fmodl.c (__fmodl): Likewise.
10695 * math/w_hypotl.c (__hypotl): Likewise.
10696 * math/w_j0l.c (__j0l, __y0l): Likewise.
10697 * math/w_j1l.c (__j1l, __y1l): Likewise.
10698 * math/w_jnl.c (__jnl, __ynl): Likewise.
10699 * math/w_lgammal.c (__lgammal): Likewise.
10700 * math/w_log10l.c (__log10l): Likewise.
10701 * math/w_log2l.c (__log2l): Likewise.
10702 * math/w_logl.c (__logl): Likewise.
10703 * math/w_powl.c (__powl): Likewise.
10704 * math/w_remainderl.c (__remainderl): Likewise.
10705 * math/w_scalbl.c (sysv_scalbl): Likewise.
10706 * math/w_sinhl.c (__sinhl): Likewise.
10707 * math/w_sqrtl.c (__sqrtl): Likewise.
10708 * math/w_tgammal.c (__tgammal): Likewise.
10709 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10710 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10711 * math/libm-test.inc (acos_test): Add more tests.
10712 (acosh_test): Likewise.
10713 (asin_test): Likewise.
10714 (atanh_test): Likewise.
10715 (exp_test): Likewise.
10716 (exp10_test): Likewise.
10717 (exp2_test): Likewise.
10718 (expm1_test): Likewise.
10719 (lgamma_test): Likewise.
10720 (log_test): Likewise.
10721 (log10_test): Likewise.
10722 (log1p_test): Likewise.
10723 (log2_test): Likewise.
10724 (pow_test): Do not allow some spurious overflow exceptions.
10725 (sqrt_test): Add more tests.
10726 (tgamma_test): Likewise.
10727 (y0_test): Likewise.
10728 (y1_test): Likewise.
10729 (yn_test): Likewise.
10730
107312012-03-27 Anton Blanchard <anton@samba.org>
10732
10733 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10734 MAP_HUGETLB.
10735 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10736 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10737 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10738
107392012-03-27 David S. Miller <davem@davemloft.net>
10740
10741 * conform/Makefile: Run run-conformtest.sh using $(BASH).
10742
10743 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10744 have-as-vis3 check.
10745
107462012-03-27 Andreas Jaeger <aj@suse.de>
10747
10748 * sysdeps/x86_64/elf/configure.in: Moved to ...
10749 * sysdeps/x86_64/configure.in: ... here.
10750 * sysdeps/x86_64/elf/start.S: Moved to ...
10751 * sysdeps/x86_64/start.S: ... here.
10752 * sysdeps/x86_64/elf/configure: Delete.
10753
10754 * sysdeps/x86_64/configure.in: Merge contents from
10755 sysdeps/i386/configure.in (without i686 check).
10756
10757 * sysdeps/i386/elf/Versions: Merge into ...
10758 * sysdeps/i386/Versions: ... this.
10759 * sysdeps/i386/elf/Versions: Delete file.
10760 * sysdeps/i386/elf/start.S: Moved to ...
10761 * sysdeps/i386/start.S: ...here.
10762 * sysdeps/i386/elf/configure.in: Merge into...
10763 * sysdeps/i386/configure.in: ...here.
10764 * sysdeps/i386/elf/configure.in: Delete file.
10765 * sysdeps/i386/elf/configure: Delete file.
10766
10767 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10768 * debug/backtracesyms.c: ... here.
10769 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10770 * debug/backtracesymsfd.c: ... here.
10771 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10772 * sysdeps/generic/ifunc-sel.h: ... here.
10773
10774 * sysdeps/unix/i386/start.c: Delete file.
10775 * sysdeps/unix/sparc/start.c: Delete file.
10776 * sysdeps/unix/start.c: Delete file.
10777
10778 * sysdeps/sh/elf/configure.in: Moved to ...
10779 * sysdeps/sh/configure.in: ... here.
10780 * sysdeps/sh/elf/start.S: Moved to ...
10781 * sysdeps/sh/start.S: ... here.
10782 * sysdeps/sh/elf/configure: Delete file.
10783
10784 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10785 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10786 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10787 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10788 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10789 * sysdeps/powerpc/powerpc64/start.S: here.
10790 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10791 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10792 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10793 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10794 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10795
10796 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10797 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10798 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10799 * sysdeps/powerpc/powerpc32/start.S: ... here.
10800 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10801 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10802 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10803
10804 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10805 * sysdeps/powerpc/ifunc-sel.h: ... here.
10806 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10807 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10808
10809 * sysdeps/sparc/elf/configure.in: Moved to ...
10810 * sysdeps/sparc/configure.in: ... here.
10811 * sysdeps/sparc/elf/configure: Delete file.
10812 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10813 * sysdeps/sparc/sparc32/start.S: ... here.
10814 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10815 * sysdeps/sparc/sparc64/start.S: ... here.
10816 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10817 * sysdeps/sparc/sparc32/Makefile: ... this.
10818 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10819 * sysdeps/sparc/sparc64/Makefile: ... this.
10820
10821 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10822 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10823 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10824 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10825 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10826 * sysdeps/s390/s390-32/setjmp.S: ... here.
10827 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10828 * sysdeps/s390/s390-32/configure.in: ... here.
10829 * sysdeps/s390/s390-32/elf/configure: Delete file.
10830 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10831 * sysdeps/s390/s390-32/start.S: ... here.
10832
10833 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10834 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10835 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10836 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10837 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10838 * sysdeps/s390/s390-64/setjmp.S: ... here.
10839 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10840 * sysdeps/s390/s390-64/configure.in: ... here
10841 * sysdeps/s390/s390-64/elf/configure: Delete file.
10842 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10843 * sysdeps/s390/s390-64/start.S: ... here.
10844 * sysdeps/s390/s390-64/elf/configure: Delete.
10845
10846 * configure.in: Remove support for elf directories in sysdeps.
10847
10848 * configure: Regenerated.
10849 * sysdeps/i386/configure: Regenerated.
10850 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10851 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10852 * sysdeps/s390/s390-32/configure: Regenerated.
10853 * sysdeps/s390/s390-64/configure: Regenerated.
10854 * sysdeps/sh/configure: Regenerated.
10855 * sysdeps/sparc/configure: Regenerated.
10856 * sysdeps/x86_64/configure: Regenerated.
10857
108582012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10859
10860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10861
10862 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10863 denormal result into account.
10864
108652012-03-25 Roland McGrath <roland@hack.frob.com>
10866
10867 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10868 Reported by Allan McRae <allan@archlinux.org>.
10869
108702012-03-23 Jeff Law <law@redhat.com>
10871
10872 * nss/getnssent.c (__nss_getent): Fix typo.
10873
108742012-03-23 David S. Miller <davem@davemloft.net>
10875
10876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10877
108782012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10879
10880 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10881 to pad to uint64_t for each field.
10882 (dl_tls_index): Replace unsigned long with uint64_t.
10883
108842012-03-23 Daniel Jacobowitz <dmj@google.com>
10885 Paul Pluzhnikov <ppluzhnikov@google.com>
10886
10887 [BZ #6528]
10888 * grp/Makefile (otherlibs): Don't set it.
10889 * inet/Makefile (otherlibs): Likewise.
10890 * login/Makefile (otherlibs): Likewise.
10891 * nscd/Makefile (otherlibs): Likewise.
10892 * posix/Makefile (otherlibs): Likewise.
10893 * pwd/Makefile (otherlibs): Likewise.
10894 * rt/Makefile (otherlibs): Likewise.
10895 * sunrpc/Makefile (otherlibs): Likewise.
10896 * nss/Makefile (otherlibs): Likewise.
10897 Add libnss_files to routines and static-only-routines.
10898 ($(objpfx)getent): Remove rule.
10899 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10900 static-only-routines.
10901
109022012-03-22 Joseph Myers <joseph@codesourcery.com>
10903
10904 [BZ #13892]
10905 * math/s_cexp.c: Include <float.h>.
10906 (__cexp): Handle exp result overflowing not necessarily
10907 overflowing both real and imaginary parts of result.
10908 * math/s_cexpf.c: Likewise.
10909 * math/s_cexpl.c: Likewise.
10910 * math/libm-test.inc (cexp_test): Add more tests.
10911 * sysdeps/i386/fpu/libm-test-ulps: Update.
10912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10913
109142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10915
10916 * include/link.h (ELFW): New macro.
10917 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10918 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10919
109202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10921
10922 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10923 with uint64_t.
10924
109252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10926
10927 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10928 declaration.
10929 (struct La_x32_retval): Likewise.
10930
109312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10932
10933 * sysdeps/x86_64/preconfigure.in: New file.
10934 * sysdeps/x86_64/preconfigure: New generated file.
10935
109362012-03-22 Joseph Myers <joseph@codesourcery.com>
10937
10938 [BZ #13824]
10939 * math/e_exp2l.c: Include <float.h>.
10940 (__ieee754_exp2l): Handle overflow and underflow cases
10941 separately. Only pass fractional part of argument to
10942 __ieee754_expl.
10943 * math/libm-test.inc (exp2_test): Add more tests.
10944
10945 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10946 negating x to take absolute value.
10947 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10948 Likewise.
10949 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10950 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10951 Likewise.
10952 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10953 computing low part if x was negated.
10954 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10955
109562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10957
10958 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10959 la_x32_gnu_pltexit.
10960 (pltexit): Cast int_retval to ptrdiff_t.
10961 * elf/tst-auditmod3b.c: Likewise.
10962 * elf/tst-auditmod4b.c: Likewise.
10963 * elf/tst-auditmod5b.c: Likewise.
10964 * elf/tst-auditmod6b.c: Likewise.
10965 * elf/tst-auditmod6c.c: Likewise.
10966 * elf/tst-auditmod7b.c: Likewise.
10967
10968 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10969 and x32_gnu_pltexit.
10970
10971 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10972 __ELF_NATIVE_CLASS.
10973 (La_x32_regs): New macro.
10974 (La_x32_retval): Likewise.
10975 (la_x32_gnu_pltenter): New function prototype.
10976 (la_x32_gnu_pltexit): Likewise.
10977
109782012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10979
10980 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10981 exponent.
10982
10983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10984
10985 * configure.in (libc_cv_cc_nofma): Check for option to disable
10986 generation of FMA instructions.
10987 * configure: Regenerate.
10988 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10989 * sysdeps/ieee754/dbl-64/Makefile: New file.
10990 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10991 Remove brandred-fma4.
10992 (CFLAGS-brandred-fma4.c): Remove.
10993 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10994 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10995 define.
10996 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10997 define.
10998
109992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11000
11001 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11002 LLONG_MAX != LONG_MAX.
11003 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11004 (_fitoa_word): Likewise.
11005 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11006 LLONG_MAX != LONG_MAX.
11007 * stdio-common/_itowa.h: Include <_itoa.h>.
11008 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11009 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11010 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11011 only if not defined.
11012 (_ITOA_WORD_TYPE): Likewise.
11013 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11014 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11015
110162012-03-21 David S. Miller <davem@davemloft.net>
11017
11018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11019
110202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11021
11022 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11023 of x86_64 when setting libc_cv_slibdir, libdir and
11024 libc_cv_localedir.
11025 * sysdeps/unix/sysv/linux/configure: Regenerated.
11026
110272012-03-21 Joseph Myers <joseph@codesourcery.com>
11028
11029 * manual/lang.texi (Old Varargs): Remove section.
11030 (How Variadic): Update menu.
11031 (va_start): Do not mention varargs.h.
11032
110332012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11034 Joseph Myers <joseph@codesourcery.com>
11035
11036 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11037 link test.
11038 * configure: Regenerated.
11039
110402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11041
11042 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11043 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11044 conformtest.pl
11045
110462012-03-21 Joseph Myers <joseph@codesourcery.com>
11047
11048 * NOTES: Remove.
11049 * Makefile (files-for-dist): Remove NOTES.
11050 (NOTES): Remove rule.
11051 * README: Don't refer to NOTES.
11052 * manual/creature.texi: Don't include macros.texi.
11053 * manual/intro.texi (creature.texi): Remove comment referring to
11054 NOTES.
11055
11056 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11057 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11058 * configure: Regenerated.
11059 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11060 LIBC_TRY_CC_OPTION.
11061 (libc_cv_as_i686): Likewise.
11062 (libc_cv_cc_avx): Likewise.
11063 (libc_cv_cc_sse2avx): Likewise.
11064 (libc_cv_cc_fma4): Likewise.
11065 (libc_cv_cc_novzeroupper): Likewise.
11066 * sysdeps/i386/configure: Regenerated.
11067
11068 [BZ #13883]
11069 * sysdeps/i386/fpu/s_cexp.S: Remove.
11070 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11071 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11072 * math/libm-test.inc (cexp_test): Add more tests.
11073 * sysdeps/i386/fpu/libm-test-ulps: Update.
11074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11075
110762012-03-21 Allan McRae <allan@archlinux.org>
11077
11078 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11079
110802012-03-21 Joseph Myers <joseph@codesourcery.com>
11081
11082 [BZ #13871]
11083 * math/w_exp2.c: Do not include <float.h>.
11084 (o_threshold, u_threshold): Remove.
11085 (__exp2): Calculate result before checking finiteness and calling
11086 __kernel_standard.
11087 * math/w_exp2f.c: Likewise.
11088 * math/w_exp2l.c: Likewise.
11089 * math/libm-test.inc (exp2_test): Require overflow exception for
11090 1e6 input.
11091
11092 [BZ #3866]
11093 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11094 range of signed 64-bit integers before using fistpll. Remove
11095 checks for whether integers fit in mantissa bits.
11096 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11097 the range of signed 32-bit integers before using fistpl. Remove
11098 checks for whether integers fit in mantissa bits.
11099 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11100 (__ieee754_powl): Test for y outside the range of signed 64-bit
11101 integers before using fistpll. Reduce 64-bit values to 63-bit
11102 ones as needed.
11103 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11104 divide-by-zero is raised for zero to large negative powers.
11105 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11106 (__ieee754_powl): Test for y outside the range of signed 64-bit
11107 integers before using fistpll. Reduce 64-bit values to 63-bit
11108 ones as needed.
11109 * math/libm-test.inc (pow_test): Add more tests.
11110
111112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11112
11113 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11114 <stdio-common/_itoa.h>.
11115 * debug/segfault.c: Likewise.
11116 * elf/dl-cache.c: Likewise.
11117 * elf/dl-minimal.c: Likewise.
11118 * elf/dl-misc.c: Likewise.
11119 * elf/dl-sysdep.c: Likewise.
11120 * elf/dl-version.c: Likewise.
11121 * elf/rtld.c: Likewise.
11122 * hurd/hurdsock.c: Likewise.
11123 * hurd/lookup-retry.c: Likewise.
11124 * malloc/malloc.c: Likewise.
11125 * malloc/mtrace.c: Likewise.
11126 * nscd/nscd_getgr_r.c: Likewise.
11127 * nscd/nscd_getpw_r.c: Likewise.
11128 * nscd/nscd_getserv_r.c: Likewise.
11129 * posix/getopt_init.c: Likewise.
11130 * posix/wordexp.c: Likewise.
11131 * stdio-common/_itoa.c: Likewise.
11132 * stdio-common/printf_fphex.c: Likewise.
11133 * stdio-common/vfprintf.c: Likewise.
11134 * string/_strerror.c: Likewise.
11135 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11136 * sysdeps/i386/i686/hp-timing.h: Likewise.
11137 * sysdeps/mach/_strerror.c: Likewise.
11138 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11139 * sysdeps/mach/hurd/sethostid.c: Likewise.
11140 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11141 * sysdeps/mach/xpg-strerror.c: Likewise.
11142 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11143 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11144 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11145 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11146 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11147 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11148 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11149 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11150 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11151 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11152 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11153 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11154 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11155 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11156 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11157 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11158 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11159 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11160 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11161 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11162 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11163
11164 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11165
11166 * stdio-common/_itoa.h: Moved to ...
11167 * sysdeps/generic/_itoa.h: Here.
11168
11169 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11170
11171 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11172 instead of "_itoa.h" and "_itowa.h".
11173 * stdio-common/vfprintf.: Likewise.
11174
111752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11176
11177 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11178 <bits/wordsize.h>.
11179 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11180 (__signbit): Likwise.
11181 (llrintf): Likwise.
11182 (llrint): Likwise.
11183
111842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11185
11186 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11187 __WORDSIZE != 64.
11188
111892012-03-20 Joseph Myers <joseph@codesourcery.com>
11190
11191 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11192 OVERFLOW_EXCEPTION_OK.
11193 * math/libm-test.inc ("Philosophy"): Update comment about
11194 exception testing.
11195 (OVERFLOW_EXCEPTION): Define.
11196 (OVERFLOW_EXCEPTION_OK): Likewise.
11197 (INVALID_EXCEPTION_OK): Renumber.
11198 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11199 (IGNORE_ZERO_INF_SIGN): Likewise.
11200 (test_exceptions): Handle FE_OVERFLOW.
11201 (exp10_test): Expect overflow exceptions.
11202 (exp2_test): Likewise.
11203 (expm1_test): Likewise.
11204 (nextafter_test): Likewise.
11205 (pow_test): Likewise.
11206 (scalbn_test): Likewise.
11207 (scalbln_test): Likewise.
11208
112092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11210
11211 * sysdeps/x86_64/bits/atomic.h
11212 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11213 64bit integer.
11214 (atomic_exchange_acq): Likewise.
11215 (__arch_exchange_and_add_body): Likewise.
11216 (__arch_add_body): Likewise.
11217 (atomic_add_negative): Likewise.
11218 (atomic_add_zero): Likewise.
11219
112202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11221
11222 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
11223 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11224
112252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11226
11227 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11228 Check __x86_64__ instead of __WORDSIZE.
11229
112302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11231
11232 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11233
112342012-03-19 David S. Miller <davem@davemloft.net>
11235
11236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11237
11238 * sysdeps/sparc/fpu/fenv_private.h: New file.
11239 * sysdeps/sparc/fpu/math_private.h: Use it.
11240 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11241 Remove.
11242 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11243 (libc_feholdexcept_setroundl): Remove.
11244 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11245 Remove.
11246 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11247 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11248
112492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11250
11251 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11252 int64_t instead of long int.
11253 (INSERT_WORDS64): Likwise.
11254
112552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11256
11257 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11258 _Unwind_GetCFA return to _Unwind_Ptr first.
11259
112602012-03-19 Joseph Myers <joseph@codesourcery.com>
11261
11262 [BZ #13629]
11263 * math/s_clog.c: Include <float.h>.
11264 (__clog): Scale large or subnormal inputs.
11265 * math/s_clogf.c: Likewise.
11266 * math/s_clogl.c: Likewise.
11267 * math/s_clog10.c: Include <float.h>.
11268 (M_LOG10_2): Define.
11269 (__clog10): Scale large or subnormal inputs.
11270 * math/s_clog10f.c: Likewise.
11271 * math/s_clog10l.c: Likewise.
11272 * math/libm-test.inc (clog_test): Add more tests.
11273 (clog10_test): Likewise.
11274 * sysdeps/i386/fpu/libm-test-ulps: Update.
11275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11276
11277 [BZ #11451]
11278 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11279 x and y.
11280 * math/libm-test.inc (atan2_test): Add another test.
11281
11282 * Makerules (common-objdir-compile): Remove.
11283 * sysdeps/unix/Makefile (config-generated): Do not add
11284 $(unix-generated) to variable.
11285 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11286 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11287 Remove rule.
11288 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11289 Likewise.
11290 [generic bits/local_lim.h] (before-compile): Do not append to
11291 variable.
11292 [generic bits/local_lim.h] (common-generated): Likewise.
11293 [generic sys/param.h] (before-compile): Do not append to variable.
11294 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11295 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11296 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11297 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11298 include.
11299 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11300 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11301 [generic sys/param.h] ($(addprefix
11302 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11303 [generic sys/param.h] (common-generated): Do not append to
11304 variable.
11305 [generic sys/param.h] (sysdep_headers): Likewise.
11306 [generic bits/errno.h] (before-compile): Do not append to
11307 variable.
11308 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11309 rule.
11310 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11311 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11312 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11313 [generic bits/errno.h] (common-generated): Do not append to
11314 variable.
11315 [generic bits/ioctls.h] (before-compile): Do not append to
11316 variable.
11317 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11318 rule.
11319 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11320 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11321 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11322 rule.
11323 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11324 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11325 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11326 [generic bits/ioctls.h] (common-generated): Do not append to
11327 variable.
11328 [generic sys/syscall.h] (syscall.h): Remove variable.
11329 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11330 rule.
11331 [generic sys/syscall.h] (before-compile): Do not append to
11332 variable.
11333 [generic sys/syscall.h] (common-generated): Likewise.
11334 * sysdeps/unix/errnos-tmpl.c: Remove file.
11335 * sysdeps/unix/errnos.awk: Likewise.
11336 * sysdeps/unix/ioctls-tmpl.c: Likewise.
11337 * sysdeps/unix/ioctls.awk: Likewise.
11338 * sysdeps/unix/mk-local_lim.c: Likewise.
11339 * sysdeps/unix/snarf-ioctls: Likewise.
11340
113412012-03-19 Richard Henderson <rth@twiddle.net>
11342
11343 * sysdeps/i386/fpu/fenv_private.h: New file.
11344 * sysdeps/i386/fpu/math_private.h: Use it.
11345 (math_opt_barrier, math_force_eval): Remove.
11346 (libc_feholdexcept_setround_53bit): Remove.
11347 (libc_feupdateenv_53bit): Remove.
11348 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11349 (math_opt_barrier, math_force_eval): Remove.
11350 (libc_feholdexcept): Remove.
11351 (libc_feholdexcept_setround): Remove.
11352 (libc_fetestexcept, libc_fesetenv): Remove.
11353 (libc_feupdateenv_test): Remove.
11354 (libc_feupdateenv, libc_feholdsetround): Remove.
11355 (libc_feresetround): Remove.
11356
11357 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
11358 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11359
11360 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
11361 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
11362 (libc_feupdateenv_testl): New.
11363 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
11364 (libc_feupdateenv_testf): New.
11365 (libc_feupdateenv): Use libc_feupdateenv_test.
11366 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
11367 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
11368
11369 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
11370 (libc_feholdsetroundf, libc_feholdsetroundl): New.
11371 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
11372 (libc_feresetround_noex): New.
11373 (libc_feresetround_noexf): New.
11374 (libc_feresetround_noexl): New.
11375 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
11376 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
11377 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
11378 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
11379 SET_RESTORE_ROUND.
11380 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11381 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
11382 (__cos): Likewise.
11383 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
11384 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11385 SET_RESTORE_ROUND_NOEX.
11386 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
11387 SET_RESTORE_ROUND_NOEXF.
11388 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
11389 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
11390 (libc_feholdsetroundf): New.
11391 (libc_feresetround, libc_feresetroundf): New.
11392
11393 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
11394 (libc_feholdexcept_setround_53bit): Convert from macro to function.
11395 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
11396
11397 * sysdeps/generic/math_private.h: Include <fenv.h>.
11398 (default_libc_feholdexcept): New.
11399 (default_libc_feholdexcept_setround): New.
11400 (default_libc_fesetenv, default_libc_feupdateenv): New.
11401 (libc_feholdexcept): Only define if undefined.
11402 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
11403 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
11404 (libc_feholdexcept_setroundl): Likewise.
11405 (libc_feholdexcept_setround_53bit): Likewise.
11406 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
11407 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
11408 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
11409 (libc_feupdateenv_53bit): Likewise.
11410 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
11411 (libc_feholdexcept): Convert from macro to inline function.
11412 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
11413 (libc_fesetenv, libc_feupdateenv): Likewise.
11414
11415 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
11416 not previously defined.
11417 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
11418 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
11419 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
11420 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
11421 * sysdeps/ieee754/flt-32/math_private.h: New file.
11422 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
11423 math_private.h below SET_FLOAT_WORD.
11424 (__isnan, __isinf_ns, __finite): Remove.
11425 (__isnanf, __isinf_nsf, __finitef): Remove.
11426
114272012-03-18 Andreas Schwab <schwab@linux-m68k.org>
11428
11429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11430
114312012-03-17 David S. Miller <davem@davemloft.net>
11432
11433 [BZ #6471]
11434 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
11435 for 2.16.
11436
114372012-03-16 David S. Miller <davem@davemloft.net>
11438
11439 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
11440 warnings.
11441
11442 [BZ #6471]
11443 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
11444 properly.
11445 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
11446 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
11447 sysdep_routines when subdir is sysvipc.
11448 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
11449 __getshmlba helper.
11450
11451 * sysdeps/sparc/fpu/libm-test/ulps: Update.
11452
114532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11454
11455 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
11456 [__LP64__].
11457
114582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11459
11460 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
11461 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
11462 (__lround): Renamed to ...
11463 (__llround): This. Replace long int with long long int.
11464 Define lround functions as aliases of llround functions.
11465 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
11466
114672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11468
11469 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
11470 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
11471 adresses to uintptr_t. Replace "long int" and "unsigned long
11472 int" with "greg_t" on va_arg.
11473
114742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11475
11476 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
11477 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
11478
11479 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
11480 Move e_machine check before EI_CLASS check. Handle x32
11481 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
11482 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
11483 SKIP_EM_IA_64 and include
11484 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
11485
11486 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
11487 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
11488 (add_system_dir): New macro.
11489
11490 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
11491 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
11492
114932012-03-16 Joseph Myers <joseph@codesourcery.com>
11494
11495 [BZ #2551]
11496 [BZ #2552]
11497 [BZ #2553]
11498 [BZ #2554]
11499 [BZ #2562]
11500 [BZ #2563]
11501 [BZ #2565]
11502 [BZ #2566]
11503 [BZ #2576]
11504 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
11505 (y0): Likewise.
11506 * math/w_j0f.c (j0f): Likewise.
11507 (y0f): Likewise.
11508 * math/w_j0l.c (__j0l): Likewise.
11509 (__y0l): Likewise.
11510 * math/w_j1.c (j1): Likewise.
11511 (y1): Likewise.
11512 * math/w_j1f.c (j1f): Likewise.
11513 (y1f): Likewise.
11514 * math/w_j1l.c (__j1l): Likewise.
11515 (__y1l): Likewise.
11516 * math/w_jn.c (jn): Likewise.
11517 (yn): Likewise.
11518 * math/w_jnf.c (jnf): Likewise.
11519 (ynf): Likewise.
11520 * math/w_jnl.c (__jnl): Likewise.
11521 (__ynl): Likewise.
11522 * math/libm-test.inc (j0_test): Add more tests.
11523 (j1_test): Likewise.
11524 (jn_test): Likewise. Add trailing semicolon to existing test.
11525 (y0_test): Likewise.
11526 (y1_test): Likewise.
11527 * sysdeps/i386/fpu/libm-test-ulps: Update.
11528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11529
11530 [BZ #13851]
11531 [BZ #13854]
11532 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11533 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
11534 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
11535 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
11536 (__tanl): Set errno for infinite argument.
11537 * sysdeps/i386/fpu/mptan.c: Remove.
11538 * sysdeps/i386/fpu/s_tan.S: Likewise.
11539 * sysdeps/i386/fpu/s_tanl.S: Likewise.
11540 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
11541 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
11542 * math/libm-test.inc (tan_test): Add more tests and enable more
11543 tests for double and long double.
11544 * sysdeps/i386/fpu/libm-test-ulps: Update.
11545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11546
115472012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11548
11549 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
11550 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
11551
115522012-03-16 Roland McGrath <roland@hack.frob.com>
11553
11554 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
11555 * configure.in: Use it for both main tree and add-ons.
11556 * configure: Regenerated.
11557
115582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11559
11560 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
11561
115622012-03-16 Joseph Myers <joseph@codesourcery.com>
11563
11564 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
11565 in comment.
11566
11567 [BZ #13851]
11568 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
11569 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
11570 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
11573 infinite argument.
11574 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
11575 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
11576 != 0 for prec == 2.
11577 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
11578 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
11579 * sysdeps/i386/fpu/s_cosl.S: Likewise.
11580 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
11581 * sysdeps/i386/fpu/s_sinl.S: Likewise.
11582 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
11583 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
11584 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
11585 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
11586 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
11587 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
11588 * math/libm-test.inc (cos_test): Add more tests and enable more
11589 tests for long double.
11590 (sin_test): Likewise.
11591 (sincos_test): Likewise.
11592 * sysdeps/i386/fpu/libm-test-ulps: Update.
11593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11594
115952012-03-16 David S. Miller <davem@davemloft.net>
11596
11597 * sysdeps/sparc/fpu/math_private.h: New file.
11598
115992012-03-15 David S. Miller <davem@davemloft.net>
11600
11601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
11602 file.
11603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
11604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
11605 file.
11606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
11607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
11608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
11609 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
11610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
11611 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
11612 sysdep routines.
11613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11614
11615 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
11616 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
11617
11618 * sysdeps/sparc/sparc-ifunc.h: New file.
11619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
11620 sparc-ifunc.h
11621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
11623 Likewise.
11624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
11625 Likewise.
11626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
11627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
11628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11630 Likewise.
11631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
11633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
11635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
11636 Likewise.
11637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
11638 Likewise.
11639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
11641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11643 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11644 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11645 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
11646 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
11647 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11648 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
11650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
11651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
11652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
11653 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
11654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
11655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
11656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
11657 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
11658 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
11659 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
11660 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
11661 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
11662 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
11663
116642012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11665
11666 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
11667 scaling.
11668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11669
116702012-03-15 Andreas Jaeger <aj@suse.de>
11671
11672 [BZ #13852]
11673 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
11674 ieee754/flt-32 implementation for sin, cos and sincos.
11675 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
11676 * sysdeps/i386/fpu/s_cosf.S: Likewise.
11677 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
11678 * sysdeps/i386/fpu/s_sinf.S: Likewise.
11679 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
11680 ieee754/flt-32 implementation for tan.
11681
11682 * math/libm-test.inc (cos_test): Enable some large input tests for
11683 float as well
11684 (sin_test): Likewise.
11685 (sincos_test): Likewise.
11686 (tan_test): Add tests for large input.
11687
11688 * sysdeps/i386/fpu/libm-test-ulps: Update.
11689
116902012-03-15 Andreas Jaeger <aj@suse.de>
11691
11692 [BZ #13658]
11693 * math/libm-test.inc (cos_test): Add more test cases.
11694 (sin_test): Likewise.
11695 (sincos_test): Likewise.
11696
116972012-03-15 Andreas Jaeger <aj@suse.de>
11698
11699 [BZ #13837]
11700 * math/libm-test.inc (cos_test): Add a test case for large input
11701 value.
11702 (sin_test): Likewise.
11703 (sincos_test): Likewise.
11704
117052012-03-15 Andreas Jaeger <aj@suse.de>,
11706 Joseph Myers <joseph@codesourcery.com>
11707
11708 [BZ #13658]
11709 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
11710 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11711 * sysdeps/i386/fpu/branred.c: Likewise.
11712 * sysdeps/i386/fpu/dosincos.c: Likewise.
11713 * sysdeps/i386/fpu/mpa.c: Likewise.
11714 * sysdeps/i386/fpu/s_cos.S: Likewise.
11715 * sysdeps/i386/fpu/s_sin.S: Likewise.
11716 * sysdeps/i386/fpu/s_sincos.S: Likewise.
11717 * sysdeps/i386/fpu/sincos32.c: Likewise.
11718
11719 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11720 Define.
11721 (libc_feupdateenv_53bit): Define.
11722 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11723 Define.
11724 (libc_feupdateenv_53bit): Define.
11725
11726 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11727 53 bit (without extend i386 double precision).
11728
11729 * math/libm-test.inc (sincos_test): Add tests for large input.
11730 (sin): Likewise.
11731 (cos): Likewise.
11732
11733 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11734
117352012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11736
11737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11738
117392012-03-15 David S. Miller <davem@davemloft.net>
11740
11741 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11742 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11743 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11744 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11754 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
11756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11757 file.
11758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
11759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11760 file.
11761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
11762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11763 file.
11764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
11765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11766 file.
11767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11768 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11769 fmin/fmax sysdep routines.
11770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11771
117722012-03-14 David S. Miller <davem@davemloft.net>
11773
11774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11776 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11777 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11778 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11779 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11780 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11781 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11784 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11785 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11794 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11795 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11796 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11797 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11798 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11799 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11800 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11801 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
11802 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11803 routines.
11804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11805 file.
11806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
11807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11808 file.
11809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
11810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11811 file.
11812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
11813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11814 file.
11815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
11816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11817 file.
11818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
11819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11820 file.
11821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11822 file.
11823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11824 file.
11825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11826 file.
11827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11828 New file.
11829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11830 file.
11831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11832 file.
11833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
11834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11835 file.
11836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
11837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11838 file.
11839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
11840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11841 file.
11842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
11843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11844 VIS3 routines.
11845
11846 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11847 New file.
11848
11849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11850
11851 * sysdeps/sparc/configure.in: New file.
11852 * sysdeps/sparc/configure: Generate.
11853 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11854 * configure: Regenerate.
11855 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11856 * config.make.in (have-as-vis3): New.
11857 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11858 available use -Av9d instead of -Av9a.
11859 * sysdeps/sparc/sparc64/Makefile: Likewise.
11860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
11861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11862 New file.
11863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11864 file.
11865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11866 New file.
11867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11868 file.
11869 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11870 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11871 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11872 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11873 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11874
11875 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11876 fzeros/fnegs to load 0x80000000 into a float register instead of
11877 using the stack.
11878 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11879
118802012-03-14 Joseph Myers <joseph@codesourcery.com>
11881
11882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11883 bits/syscall.h.
11884 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11885 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11886 ($(inst_includedir)/bits/syscall.h): Remove rule.
11887 ($(objpfx)bits/syscall.d): Include instead of
11888 $(objpfx)syscall-list.d.
11889 (generated): Change syscall-list.h and syscall-list.d to
11890 bits/syscall.h and bits/syscall.d.
11891
118922012-03-14 Roland McGrath <roland@hack.frob.com>
11893
11894 [BZ #13846]
11895 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11896
118972012-03-14 Joseph Myers <joseph@codesourcery.com>
11898
11899 [BZ #13841]
11900 * math/s_csqrt.c: Include <float.h>.
11901 (__csqrt): Scale large or subnormal inputs.
11902 * math/s_csqrtf.c: Likewise.
11903 * math/s_csqrtl.c: Likewise.
11904 * math/libm-test.inc (csqrt_test): Add more tests.
11905 * sysdeps/i386/fpu/libm-test-ulps: Update.
11906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11907
11908 [BZ #13840]
11909 * math/libm-test.inc (hypot_test): Add more tests.
11910
119112012-03-13 David S. Miller <davem@davemloft.net>
11912
11913 [BZ #13840]
11914 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11915 double-precision for the calculation instead of scaling.
11916
119172012-03-13 Joseph Myers <joseph@codesourcery.com>
11918
11919 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11920 manipulate bits before adding and subtracting TWO52[sx].
11921 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11922 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11923 Likewise.
11924 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11925
119262012-03-13 David S. Miller <davem@davemloft.net>
11927
11928 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11929 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11930 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11931 rtld-global-offsets.h
11932 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11933
11934 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11935 large parameters.
11936
11937 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11938
11939 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11940 'err' in the ifdef scope in which it is actually used.
11941
11942 * nss/nss_db/db-init.c: Include string.h
11943
119442012-03-12 David S. Miller <davem@davemloft.net>
11945
11946 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11947 masking out of the most significant byte of random value used.
11948 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11949 Fix coding style in previous change.
11950
11951 * sysdeps/unix/sysv/linux/kernel-features.h
11952 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11953 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11954 expression.
11955 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11956 later.
11957
119582012-03-11 David S. Miller <davem@davemloft.net>
11959
11960 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11961 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11962 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11963 for 'resultvar' otherwise things get truncated on 64-bit.
11964
11965 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11966 Fix masking out of the most significant byte of random value used.
11967
11968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11969
119702012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11971
11972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11973
119742012-03-09 David S. Miller <davem@davemloft.net>
11975
11976 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11977 variables with appropriate CPP guards.
11978 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11979 frame pointer, not the stack pointer. Correct layout comments. Fix test
11980 on resulting framesize and the management of the outregs buffer for pltexit.
11981 Preserve floating point return values across _dl_call_pltexit call.
11982 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11983 framesize and the management of the outregs buffer for pltexit.
11984 Preserve floating point return values across _dl_call_pltexit
11985 call.
11986 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11987 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11988 (print_exit): Fix format string for return register value.
11989
119902012-03-10 Joseph Myers <joseph@codesourcery.com>
11991
11992 * sunrpc/Makefile (others): Add rpcgen.
11993 ($(objpfx)rpcgen): Remove special build rule and dependency on
11994 libc.
11995 * sunrpc/rpcgen.c: New file.
11996
119972012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11998
11999 [BZ #13673]
12000 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12001 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12002 * sysdeps/i386/crti.S: Likewise.
12003 * sysdeps/i386/crtn.S: Likewise.
12004 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12005 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12006 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12007 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12008 * sysdeps/sh/crti.S: Likewise.
12009 * sysdeps/sh/crtn.S: Likewise.
12010 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12011
12012 [BZ #13673]
12013 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12014 with URL.
12015 * locale/programs/locfile-kw.gperf: Likewise.
12016 * locale/programs/charmap-kw.h: Regenerated.
12017 * locale/programs/locfile-kw.h: Likewise.
12018
12019 [BZ #13673]
12020 * intl/plural.y: Replace FSF snail mail address with URL.
12021 * intl/plural.c: Regenerated.
12022
120232012-03-09 Richard Henderson <rth@twiddle.net>
12024
12025 * include/math_private.h: Remove file.
12026 * math/math_private.h: Move file ...
12027 * sysdeps/generic/math_private.h: ... here.
12028
12029 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12030 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12031 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12032
12033 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
12034 and <math_private.h>.
12035 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12036 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12037 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12038 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12039 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12040 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12041 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12042 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12043 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12044 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12046 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12047 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12048 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12049 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12050 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12051 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12052 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12053 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12054 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12056 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12057 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12058 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12059 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12060 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12061 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12062 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12063 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12064 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12065 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12066 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12067 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12068 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12069 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12070 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12071 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12072 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12073 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12074 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12075 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12076 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12077 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12078 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12079 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12080 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12081 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12082 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12083 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12084 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12085 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12086 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12087 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12088 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12089 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12090 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12091 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12092 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12093 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12094 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12095 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12096 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12097 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12098 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12099 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12100 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12101 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12102 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12103 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12104 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12105 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12106 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12107 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12108 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12109 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12110 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12111 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12113 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12114 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12115 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12116 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12117 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12118 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12119 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12120 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12121 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12122 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12123 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12124 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12125 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12126 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12127 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12128 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12129 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12130 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12131 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12132 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12133 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12134 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12135 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12136 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12137 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12138 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12139 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12140 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12141 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12142 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12143 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12144 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12145 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12146 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12147 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12148 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12149 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12150 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12151 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12152 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12153 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12154 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12155 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12156 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12157 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12158 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12159 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12160 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12161 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12162 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12163 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12164 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12165 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12166 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12167 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12168 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12169 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12170 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12171 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12172 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12173 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12174 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12175 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12176 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12177 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12178 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12179 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12180 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12181 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12182 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12183 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12184 * sysdeps/ieee754/k_standard.c: Likewise.
12185 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12186 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12187 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12188 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12189 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12190 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12191 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12192 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12193 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12194 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12195 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12196 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12197 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12198 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12199 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12200 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12201 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12202 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12203 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12204 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12205 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12206 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12207 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12208 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12209 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12210 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12211 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12212 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12213 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12214 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12215 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12216 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12217 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12218 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12219 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12220 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12221 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12222 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12223 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12224 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12225 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12226 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12227 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12228 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12229 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12230 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12231 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12232 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12233 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12234 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12235 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12236 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12237 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12238 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12239 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12240 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12241 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12242 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12243 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12244 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12245 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12246 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12247 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12248 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12249 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12250 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12251 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12252 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12253 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12254 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12255 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12256 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12257 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12258 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12259 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12260 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12261 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12262 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12263 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12264 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12265 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12266 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12267 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12268 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12269 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12270 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12271 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12272 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12273 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12274 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12275 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12276 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12277 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12278 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12281 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12282 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12284 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12285 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12286 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12287 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12288 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12289 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12290 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12291 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12292 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12293 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12294 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12295 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12296 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12297 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12298 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12299 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12300 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12301 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12302 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12303 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12304 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12305 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12306 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12307 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12308 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12309 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12310 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12311 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12312 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12314 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12315 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12316 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12317 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12318 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12319 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12320 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12321 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12322 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12323 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12324 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12325 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12326 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12327 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12328 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12329 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12330 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12331 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12332 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12333 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12334 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
12335 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12336 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12337 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12338 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12339 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
12340 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
12341 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12342 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12343 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12344 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12345 * sysdeps/ieee754/s_lib_version.c: Likewise.
12346 * sysdeps/ieee754/s_matherr.c: Likewise.
12347 * sysdeps/ieee754/s_signgam.c: Likewise.
12348 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12349 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12350 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12351 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12352 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12353 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12354 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
12355 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
12356 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
12357 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12358 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12359 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12360 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12361 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12362 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
12363 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12364 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12365 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12366 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12367 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12368 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12369
123702012-03-09 Joseph Myers <joseph@codesourcery.com>
12371
12372 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
12373 * sunrpc/rpc_main.c: Likewise.
12374 * sunrpc/rpc_svcout.c: Likewise.
12375
123762012-03-09 David S. Miller <davem@davemloft.net>
12377
12378 * include/math_private.h: New file.
12379
123802012-03-09 Joseph Myers <joseph@codesourcery.com>
12381
12382 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
12383 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
12384 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
12385 from <bits/socket_type.h>.
12386 (enum __socket_type): Don't define here.
12387 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
12388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12389 bits/socket_type.h.
12390
12391 [BZ #13566]
12392 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
12393 checking __USE_GNU.
12394
12395 * Makerules ($(inst_includedir)/%.h): New rule.
12396 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
12397 (install-others): Remove variable setting.
12398 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
12399
124002012-03-08 Richard Henderson <rth@twiddle.net>
12401
12402 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
12403 from macro to inline function; merge with the
12404 !__LIBC_INTERNAL_MATH_INLINES version.
12405 (__ieee754_sqrtf): Likewise.
12406
12407 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
12408 to inline function.
12409 (__rintf, __floor, __floorf): Likewise.
12410
12411 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
12412 macro to inline function.
12413 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
12414
12415 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
12416 not <math/math_private.h>.
12417
124182012-03-08 David S. Miller <davem@davemloft.net>
12419
12420 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
12421 copyright year.
12422 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12423
124242012-03-08 Thomas Schwinge <thomas@codesourcery.com>
12425
12426 * resolv/gai_misc.c (handle_requests): Fix struct timespec
12427 normalization.
12428 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
12429 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12430
124312012-03-08 Ulrich Drepper <drepper@gmail.com>
12432
12433 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
12434 be defined individually, they must be defined as a block. Define
12435 S for printing a string instead of hidint the different by using a
12436 macro for adding the 'l'.
12437 * stdio-common/tst-fphex-wide.c: Adjust.
12438
124392012-03-07 Marek Polacek <polacek@redhat.com>
12440
12441 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
12442
124432012-03-08 Marek Polacek <polacek@redhat.com>
12444
12445 [BZ #13806]
12446 * stdio-common/Makefile (tests): Add tst-fphex-wide.
12447 * stdio-common/tst-fphex.c: Define a few macros to make the
12448 test reusable. Use them.
12449 * stdio-common/tst-fphex-wide.c: New file.
12450
124512012-03-08 Joseph Myers <joseph@codesourcery.com>
12452
12453 [BZ #6911]
12454 * manual/macros.texi (gnusystems): New macro.
12455 (nongnusystems): Likewise.
12456 (gnulinuxhurdsystems): Likewise.
12457 (gnuhurdsystems): Likewise..
12458 (gnulinuxsystems): Likewise.
12459 * manual/charset.texi: Use new macros or @theglibc{} to refer to
12460 variants of the GNU system, not "GNU system".
12461 * manual/conf.texi: Likewise.
12462 * manual/errno.texi: Likewise. Update example of errno macro
12463 expansion.
12464 * manual/filesys.texi: Likewise.
12465 (getumask): Document as specific to GNU/Hurd.
12466 * manual/install.texi: Likewise. Reword some references to
12467 GNU/Linux.
12468 * manual/intro.texi: Likewise.
12469 * manual/io.texi: Likewise.
12470 (File Name Portability): Detail which constraints are inapplicable
12471 to all GNU systems and which are only inapplicable to GNU/Hurd.
12472 * manual/job.texi: Likewise.
12473 * manual/llio.texi: Likewise.
12474 (O_NOCTTY): Document as present on GNU/Linux.
12475 * manual/maint.texi: Likewise.
12476 * manual/memory.texi: Likewise.
12477 * manual/pattern.texi: Likewise.
12478 * manual/pipe.texi: Likewise.
12479 * manual/process.texi: Likewise.
12480 * manual/resource.texi: Likewise.
12481 (RUSAGE_CHILDREN): Remove statement about specifying a particular
12482 child on GNU/Hurd.
12483 * manual/setjmp.texi: Likewise.
12484 * manual/signal.texi: Likewise.
12485 * manual/startup.texi: Likewise.
12486 * manual/stdio.texi: Likewise.
12487 * manual/terminal.texi: Likewise.
12488 (ONLCR): Document as POSIX.
12489 (OXTABS): Document availability on GNU/Linux as XTABS.
12490 (ONOEOT): Document availability separately from other bits.
12491 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
12492 * manual/time.texi: Likewise.
12493 * manual/users.texi: Likewise.
12494 * INSTALL: Regenerated.
12495 * sysdeps/gnu/errlist.c: Regenerated.
12496
12497 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
12498 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
12499 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
12500 puts.
12501 * configure: Regenerated.
12502
125032012-03-07 Joseph Myers <joseph@codesourcery.com>
12504
12505 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
12506 default includes instead of AC_HEADER_CHECK.
12507 * sysdeps/i386/configure: Regenerated.
12508
12509 [BZ #10716]
12510 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
12511 * math/s_cacoshf.c (__cacoshf): Likewise.
12512 * math/s_cacoshl.c (__cacoshl): Likewise.
12513 * math/s_casinh.c (__casinh): Set signs of result from argument.
12514 * math/s_casinhf.c (__casinhf): Likewise.
12515 * math/s_casinhl.c (__casinhl): Likewise.
12516 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
12517 (casinh_test): Add more tests.
12518 * sysdeps/i386/fpu/libm-test-ulps: Update.
12519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12520
125212012-03-07 Ulrich Drepper <drepper@gmail.com>
12522
12523 * po/zh_TW.po: Update from translation team.
12524
12525 * login/Makefile (distribute): Remove variable.
12526 * catgets/Makefile: Likewise.
12527 * mach/Makefile: Likewise.
12528 * malloc/Makefile: Likewise.
12529 * misc/Makefile: Likewise.
12530 * iconv/Makefile: Likewise.
12531 * nscd/Makefile: Likewise.
12532 * hurd/Makefile: Likewise.
12533 * manual/Makefile: Likewise.
12534 * locale/Makefile: Likewise.
12535 * intl/Makefile: Likewise.
12536 * conform/Makefile: Likewise.
12537 * nss/Makefile: Likewise.
12538 * time/Makefile: Likewise.
12539 * soft-fp/Makefile: Likewise.
12540 * dirent/Makefile: Likewise.
12541 * gmon/Makefile: Likewise.
12542 * po/Makefile: Likewise.
12543 * rt/Makefile: Likewise.
12544 * socket/Makefile: Likewise.
12545 * math/Makefile: Likewise.
12546 * signal/Makefile: Likewise.
12547 * debug/Makefile: Likewise.
12548 * elf/Makefile: Likewise.
12549 * timezone/Makefile: Likewise.
12550 * stdlib/Makefile: Likewise.
12551 * iconvdata/Makefile: Likewise.
12552 * sunrpc/Makefile: Likewise.
12553 * io/Makefile: Likewise.
12554 * argp/Makefile: Likewise.
12555 * inet/Makefile: Likewise.
12556 * hesiod/Makefile: Likewise.
12557 * grp/Makefile: Likewise.
12558 * csu/Makefile: Likewise.
12559 * wctype/Makefile: Likewise.
12560 * crypt/Makefile: Likewise.
12561 * libio/Makefile: Likewise.
12562 * string/Makefile: Likewise.
12563 * nis/Makefile: Likewise.
12564 * resolv/Makefile: Likewise.
12565 * stdio-common/Makefile: Likewise.
12566 * wcsmbs/Makefile: Likewise.
12567 * dlfcn/Makefile: Likewise.
12568 * posix/Makefile: Likewise.
12569
12570 [BZ #6959]
12571 * timezone/Makefile: Don't install timezone files, just the programs
12572 and scripts.
12573
125742012-03-06 Ulrich Drepper <drepper@gmail.com>
12575
12576 * nss/databases.def: Add missing gshadow entry.
12577
12578 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
12579
125802012-03-06 Marek Polacek <polacek@redhat.com>
12581
12582 [BZ #13726]
12583 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
12584 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12585 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
12586 * stdio-common/tst-long-dbl-fphex.c: New file.
12587
125882012-03-06 David S. Miller <davem@davemloft.net>
12589
12590 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12591 (set_obp_int): New function.
12592 (get_obp_int): New function.
12593 (__get_clockfreq_via_dev_openprom): Likewise.
12594 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
12595 Avoid unused variable warnings on 'val' and use builtin_expect.
12596 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
12597 __builtin_expect.
12598 (INLINE_CLONE_SYSCALL): Likewise.
12599
126002012-03-05 David S. Miller <davem@davemloft.net>
12601
12602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12603
126042012-03-05 Andreas Schwab <schwab@linux-m68k.org>
12605
12606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12607
12608 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
12609 only for |x| >= 40.
12610 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12611
126122012-03-05 H.J. Lu <hongjiu.lu@intel.com>
12613
12614 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
12615 Replace gettimeofday with __vdso_gettimeofday.
12616
12617 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12618 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
12619 __vdso_clock_gettime and __vdso_getcpu.
12620
12621 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
12622 time with __vdso_time.
12623
126242012-03-05 Joseph Myers <joseph@codesourcery.com>
12625
12626 * manual/lang.texi (size_t): Note types to which size_t may be
12627 equivalent with the GNU C Library, but do not describe when
12628 differences between them are significant.
12629
126302012-03-05 Andreas Jaeger <aj@suse.de>
12631
12632 * sysdeps/i386/fpu/libm-test-ulps: Update.
12633
126342012-03-05 Joseph Myers <joseph@codesourcery.com>
12635
12636 [BZ #3976]
12637 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
12638 (__ieee754_pow): Save and restore rounding mode and use
12639 round-to-nearest for main computations.
12640 * math/libm-test.inc (pow_test_tonearest): New function.
12641 (pow_test_towardzero): Likewise.
12642 (pow_test_downward): Likewise.
12643 (pow_test_upward): Likewise.
12644 (main): Call the new functions.
12645 * sysdeps/i386/fpu/libm-test-ulps: Update.
12646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12647
12648 [BZ #3976]
12649 * math/libm-test.inc (cosh_test_tonearest): New function.
12650 (cosh_test_towardzero): Likewise.
12651 (cosh_test_downward): Likewise.
12652 (cosh_test_upward): Likewise.
12653 (sinh_test_tonearest): Likewise.
12654 (sinh_test_towardzero): Likewise.
12655 (sinh_test_downward): Likewise.
12656 (sinh_test_upward): Likewise.
12657 (main): Call the new functions.
12658 * sysdeps/i386/fpu/libm-test-ulps: Update.
12659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12660
126612012-03-05 Tom de Vries <tom@codesourcery.com>
12662
12663 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
12664 default stack guard is set in last bytes.
12665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
12666
126672012-03-05 Kees Cook <keescook@chromium.org>
12668
12669 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
12670
12671 [BZ #13656]
12672 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
12673 possibly allocate from heap instead of stack.
12674 * stdio-common/bug-vfprintf-nargs.c: New file.
12675 * stdio-common/Makefile (tests): Add nargs overflow test.
12676
126772012-03-03 Andreas Schwab <schwab@linux-m68k.org>
12678
12679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12680
126812012-03-03 Marek Polacek <polacek@redhat.com>
12682
12683 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
12684 * math/math_private.h: Likewise.
12685 * stdlib/tst-strtod.c: Likewise.
12686 * sysdeps/i386/i486/bits/atomic.h: Likewise.
12687 * sysdeps/x86_64/bits/atomic.h: Likewise.
12688
126892012-03-02 David S. Miller <davem@davemloft.net>
12690
12691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
12692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
12693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
12694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
12695 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
12696 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
12697 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
12698 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
12699
127002012-03-02 Roland McGrath <roland@hack.frob.com>
12701
12702 [BZ #13792]
12703 * manual/examples/README: New file, says the example source files
12704 can be used under GPL>=2.
12705 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12706 line containing just "*/".
12707 * manual/examples/add.c: Add copyright header (GPL>=2).
12708 * manual/examples/argp-ex1.c: Likewise.
12709 * manual/examples/argp-ex2.c: Likewise.
12710 * manual/examples/argp-ex3.c: Likewise.
12711 * manual/examples/argp-ex4.c: Likewise.
12712 * manual/examples/atexit.c: Likewise.
12713 * manual/examples/db.c: Likewise.
12714 * manual/examples/dir.c: Likewise.
12715 * manual/examples/dir2.c: Likewise.
12716 * manual/examples/execinfo.c: Likewise.
12717 * manual/examples/filecli.c: Likewise.
12718 * manual/examples/filesrv.c: Likewise.
12719 * manual/examples/fmtmsgexpl.c: Likewise.
12720 * manual/examples/genpass.c: Likewise.
12721 * manual/examples/inetcli.c: Likewise.
12722 * manual/examples/inetsrv.c: Likewise.
12723 * manual/examples/isockad.c: Likewise.
12724 * manual/examples/longopt.c: Likewise.
12725 * manual/examples/memopen.c: Likewise.
12726 * manual/examples/memstrm.c: Likewise.
12727 * manual/examples/mkfsock.c: Likewise.
12728 * manual/examples/mkisock.c: Likewise.
12729 * manual/examples/mygetpass.c: Likewise.
12730 * manual/examples/pipe.c: Likewise.
12731 * manual/examples/popen.c: Likewise.
12732 * manual/examples/rprintf.c: Likewise.
12733 * manual/examples/search.c: Likewise.
12734 * manual/examples/select.c: Likewise.
12735 * manual/examples/setjmp.c: Likewise.
12736 * manual/examples/sigh1.c: Likewise.
12737 * manual/examples/sigusr.c: Likewise.
12738 * manual/examples/stpcpy.c: Likewise.
12739 * manual/examples/strdupa.c: Likewise.
12740 * manual/examples/strftim.c: Likewise.
12741 * manual/examples/strncat.c: Likewise.
12742 * manual/examples/subopt.c: Likewise.
12743 * manual/examples/swapcontext.c: Likewise.
12744 * manual/examples/termios.c: Likewise.
12745 * manual/examples/testopt.c: Likewise.
12746 * manual/examples/testpass.c: Likewise.
12747 * manual/examples/timeval_subtract.c: Likewise.
12748
12749 [BZ #13792]
12750 * manual/time.texi (Elapsed Time): Move timeval_subtract example
12751 function to ...
12752 * manual/timeval_subtract.c.texi: ... here, new file.
12753
127542012-03-02 David S. Miller <davem@davemloft.net>
12755
12756 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12757
127582012-03-02 Joseph Myers <joseph@codesourcery.com>
12759
12760 [BZ #3976]
12761 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12762 (__sin): Save and restore rounding mode and use round-to-nearest
12763 for all computations.
12764 (__cos): Save and restore rounding mode and use round-to-nearest
12765 for all computations.
12766 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12767 <fenv.h>.
12768 (tan): Save and restore rounding mode and use round-to-nearest for
12769 all computations.
12770 * math/libm-test.inc (cos_test_tonearest): New function.
12771 (cos_test_towardzero): Likewise.
12772 (cos_test_downward): Likewise.
12773 (cos_test_upward): Likewise.
12774 (sin_test_tonearest): Likewise.
12775 (sin_test_towardzero): Likewise.
12776 (sin_test_downward): Likewise.
12777 (sin_test_upward): Likewise.
12778 (tan_test_tonearest): Likewise.
12779 (tan_test_towardzero): Likewise.
12780 (tan_test_downward): Likewise.
12781 (tan_test_upward): Likewise.
12782 (main): Call the new functions.
12783 * sysdeps/i386/fpu/libm-test-ulps: Update.
12784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12785
12786 [BZ #10135]
12787 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12788 small n, then large n, before computing and testing k+n.
12789 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12790 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12791 Likewise.
12792 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12793 Likewise.
12794 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12795 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12796 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12797 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12798 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12799 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12800 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12801 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12802 * math/libm-test.inc (scalbn_test): Add more tests.
12803 (scalbln_test): Likewise.
12804
12805 * manual/filesys.texi (mode_t): Describe constraints on size and
12806 signedness, not exact equivalence to a particular type.
12807 (ino_t): Likewise.
12808 (ino64_t): Likewise.
12809 (dev_t): Likewise.
12810 (nlink_t): Likewise.
12811 (blkcnt_t): Likewise.
12812 (blkcnt64_t): Likewise.
12813 * manual/llio.texi (off_t): Likewise.
12814
12815 [BZ #3976]
12816 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12817 (__ieee754_exp): Save and restore rounding mode and use
12818 round-to-nearest for all computations.
12819 * math/libm-test.inc (exp_test_tonearest): New function.
12820 (exp_test_towardzero): Likewise.
12821 (exp_test_downward): Likewise.
12822 (exp_test_upward): Likewise.
12823 (main): Call the new functions.
12824 * sysdeps/i386/fpu/libm-test-ulps: Update.
12825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12826
128272012-03-01 Chris Demetriou <cgd@google.com>
12828
12829 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12830 have predictable order.
12831
128322012-03-01 David S. Miller <davem@davemloft.net>
12833
12834 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12835
12836 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12837 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12838 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12839 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12840
12841 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12842 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12843 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12845 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12846 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12847 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12848 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12849 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12850
12851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12852
12853 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12854 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12855 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12856
12857 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12858 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12859 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12860 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12861 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12862 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12863 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12864 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12865 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12866 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12867 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12868 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12869 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12870 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12871 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12872 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12873 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12874 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12875 * sysdeps/sparc/elf/configure: Regenerated.
12876
128772012-03-01 Joseph Myers <joseph@codesourcery.com>
12878
12879 * configure.in (AS, LD): Require binutils 2.20 or later.
12880 * configure: Regenerated.
12881 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12882 as required minimum version.
12883 * INSTALL: Regenerated.
12884
12885 [BZ #2541]
12886 [BZ #4108]
12887 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12888 before squaring exponent.
12889 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12890 bottom long double and 27 bits of top long double before squaring
12891 exponent.
12892 * math/libm-test.inc (erfc_test): Add more tests.
12893 * sysdeps/i386/fpu/libm-test-ulps: Update.
12894 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12896
128972012-03-01 Kai Tietz <ktietz@redhat.com>
12898
12899 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12900 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12901 containing bit-fields.
12902 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12903 * soft-fp/single.h (_FP_UNION_S): Likewise.
12904 * soft-fp/double.h (_FP_UNION_D): Likewise.
12905
129062012-02-29 Joseph Myers <joseph@codesourcery.com>
12907
12908 [BZ #13786]
12909 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12910 not include ../strcmp.S.
12911 [USE_AS_STRNCASECMP_L]: Likewise.
12912 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12913 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12914 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12915 (__strncasecmp_l_ia32): Define as alias to
12916 __strncasecmp_l_nonascii.
12917
12918 [BZ #5794]
12919 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12920 * sysdeps/i386/fpu/libm-test-ulps: Update.
12921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12922
12923 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12925
129262012-02-29 Jeff Law <law@redhat.com>
12927
12928 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12929 out of bounds read.
12930
129312012-02-29 Marek Polacek <polacek@redhat.com>
12932
12933 [BZ #13706]
12934 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12935 * elf/Makefile: Add rules to run tst-unused-dep.out.
12936
129372012-02-28 David S. Miller <davem@davemloft.net>
12938
12939 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12940 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12941 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12942 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12943 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12944 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12945
129462012-02-29 Joseph Myers <joseph@codesourcery.com>
12947
12948 * math/libm-test.inc (llround_test): Move one test from
12949 lround_test. Use TEST_f_L in moved test.
12950 (lround_test): Move misplaced test to llround_test. Add testcase
12951 from bug 2561.
12952
129532012-02-28 Ulrich Drepper <drepper@gmail.com>
12954
12955 * sysdeps/x86_64/fpu/e_expf.S: New file.
12956 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12957
129582012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12959
12960 [BZ #13637]
12961 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12962 of remain_len that may cause incomplete multi-byte character and
12963 false match.
12964 * posix/bug-regex33.c: New file.
12965 * posix/Makefile (tests): Add bug-regex33.
12966
129672012-02-28 Joseph Myers <joseph@codesourcery.com>
12968
12969 * manual/macros.texi: New file.
12970 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12971 * manual/libc.texinfo: Include macros.texi.
12972 * manual/creatute.texi: Likewise.
12973 * manual/install.texi: Likewise.
12974 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12975 @glibcadj{} in references to the GNU C Library.
12976 * manual/charset.texi: Likewise.
12977 * manual/conf.texi: Likewise.
12978 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12979 when not using those macros.
12980 * manual/creature.texi: Likewise.
12981 * manual/crypt.texi: Likewise.
12982 * manual/errno.texi: Likewise.
12983 * manual/filesys.texi: Likewise.
12984 * manual/header.texi: Likewise.
12985 * manual/install.texi: Likewise.
12986 * manual/intro.texi: Likewise.
12987 * manual/io.texi: Likewise.
12988 * manual/job.texi: Likewise.
12989 * manual/lang.texi: Likewise.
12990 * manual/libc.texiinfo: Likewise.
12991 * manual/llio.texi: Likewise.
12992 * manual/locale.texi: Likewise.
12993 * manual/maint.texi: Likewise.
12994 * manual/math.texi: Likewise.
12995 * manual/memory.texi: Likewise.
12996 * manual/message.texi: Likewise.
12997 * manual/nss.texi: Likewise.
12998 * manual/pattern.texi: Likewise.
12999 * manual/process.texi: Likewise.
13000 * manual/resource.texi: Likewise.
13001 * manual/search.texi: Likewise.
13002 * manual/setjmp.texi: Likewise.
13003 * manual/signal.texi: Likewise.
13004 * manual/socket.texi: Likewise.
13005 * manual/startup.texi: Likewise.
13006 * manual/stdio.texi: Likewise.
13007 * manual/string.texi: Likewise.
13008 * manual/sysinfo.texi: Likewise.
13009 * manual/syslog.texi: Likewise.
13010 * manual/terminal.texi: Likewise.
13011 * manual/time.texi: Likewise.
13012 * manual/users.texi: Likewise.
13013 * INSTALL: Regenerated.
13014 * NOTES: Regenerated.
13015 * sysdeps/gnu/errlist.c: Regenerated.
13016
130172012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13018
13019 * include/dirent.h: Include <dirstream.h> before
13020 <dirent/dirent.h>.
13021
130222012-02-28 David S. Miller <davem@davemloft.net>
13023
13024 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13025 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13026 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13027 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13028
130292012-02-27 David S. Miller <davem@davemloft.net>
13030
13031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13033 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13034 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13035
13036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13037 frame pointer instead of stack pointer relative arg slot.
13038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13039 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13040 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13041
130422012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13043
13044 [BZ #3992]
13045 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13046
130472012-02-27 David S. Miller <davem@davemloft.net>
13048
13049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13053 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13054 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13055 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13056 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13057
130582012-02-27 Joseph Myers <joseph@codesourcery.com>
13059
13060 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13061 later. Allow versions 5-9.
13062 * configure: Regenerated.
13063 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13064 required minimum version and 4.6 as recommended version. Do not
13065 mention bugs in GCC 2.7 and 2.8.
13066 * INSTALL: Regenerated.
13067
130682012-02-27 David S. Miller <davem@davemloft.net>
13069
13070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13074 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13075 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13076 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13077 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13078
13079 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13080 manipulate bits before adding and subtracting TWO112[sx].
13081 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13082
130832012-02-27 Roland McGrath <roland@hack.frob.com>
13084
13085 [BZ #13775]
13086 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13087 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13088 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13089 being in POSIX, because they are in 1003.1-2008.
13090
13091 * rt/tst-aio.c: Include <fcntl.h>.
13092 * rt/tst-aio7.c: Likewise.
13093 * rt/tst-aio64.c: Likewise.
13094
13095 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13096
130972012-02-27 Joseph Myers <joseph@codesourcery.com>
13098
13099 * manual/install.texi (--with-headers): Describe headers as
13100 interface headers, not private headers.
13101 (Specific advice for GNU/Linux systems): Describe use of headers
13102 from "make headers_install", not private headers from older
13103 kernels.
13104 * INSTALL: Regenerated.
13105 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13106 Change to 2.6.19.
13107 * sysdeps/unix/sysv/linux/configure: Regenerated.
13108
13109 * manual/llio.texi (fclean): Remove documentation.
13110
13111 * manual/Makefile (libc-texi-generated): New variable. Include
13112 version.texi.
13113 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13114 $(libc-texi-generated), not duplicated list of files.
13115 (version.texi, stamp-version): New rules.
13116 (realclean): Remove $(libc-texi-generated), not individual files
13117 from that list. Do not remove dir-add.texinfo.
13118 * manual/libc.texinfo: Comment out uses of edition numbers and
13119 references to printed manual. Remove last-updated dates.
13120 (EDITION): Comment out.
13121 (ISBN): Likewise.
13122 (VERSION, UPDATED): Remove.
13123 (version.texi): Include.
13124
131252012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13126
13127 * sysdeps/posix/spawni.c: Include <signal.h>.
13128 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13129 * sysdeps/pthread/aio_fsync.c: Likewise.
13130
131312012-02-26 Ulrich Drepper <drepper@gmail.com>
13132
13133 * conform/Makefile (tests): Run only when not cross-compiling and
13134 when fast-check is not defined.
13135
13136 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13137 * conform/data/limits.h-data: Fixes for POSIX2008.
13138 * conform/run-conformtest.sh: Run all tests.
13139 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13140 headers.
13141 * include/bits/dlfcn.h: Likewise.
13142 * include/langinfo.h: Likewise.
13143 * include/monetary.h: Likewise.
13144 * include/sys/poll.h: Likewise.
13145
13146 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13147 for __USE_GNU.
13148 * posix/spawn.h: Define __need_sigset_t.
13149 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13150 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13151 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13152 to get sigevent_t only.
13153 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13154 only for __USE_GNU.
13155 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13156 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13157 process_vm_writev only for __USE_GNU.
13158 * termios/termios.h: Declare tcgetsid also for POSIX2008.
13159
13160 * conform/Makefile: For now ignore errors from run-conformtest.
13161 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13162 POSIX to avoid namespace pollution. Don't prepend headers.
13163 * conform/data/aio.h-data: Fixes for POSIX testing.
13164 * conform/data/fcntl.h-data: Likewise.
13165 * conform/data/glob.h-data: Likewise.
13166 * conform/data/grp.h-data: Likewise.
13167 * conform/data/pthread.h-data: Likewise.
13168 * conform/data/pwd.h-data: Likewise.
13169 * conform/data/signal.h-data: Likewise.
13170 * conform/data/spawn.h-data: Likewise.
13171 * conform/data/stdio.h-data: Likewise.
13172 * conform/data/stdlib.h-data: Likewise.
13173 * conform/data/stropts.h-data: Likewise.
13174 * conform/data/sys/mman.h-data: Likewise.
13175 * conform/data/sys/stat.h-data: Likewise.
13176 * conform/data/sys/types.h-data: Likewise.
13177 * conform/data/sys/wait.h-data: Likewise.
13178 * conform/data/time.h-data: Likewise.
13179 * conform/data/unistd.h-data: Likewise.
13180 * conform/data/utime.h-data: Likewise.
13181
13182 * io/sys/stat.h: fchmod was always in POSIX.
13183 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13184 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13185 * rt/aio.h: Define __need_timespec before including <time.h>.
13186 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13187 struct. Add forward declaration of pthread_attr_t and use it in
13188 sigevent.
13189 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13190 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13191 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13192 always remove CLK_TCK definition.
13193
131942012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13195
13196 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13197
131982012-02-25 Ulrich Drepper <drepper@gmail.com>
13199
13200 * conform/run-conformtest.sh: New file.
13201 * conform/Makefile: Run run-conformtest for tests.
13202 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13203 support.
13204
13205 * conform/data/uchar.h-data: New file.
13206 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13207 * conform/data/arpa/inet.h-data: Likewise.
13208 * conform/data/assert.h-data: Likewise.
13209 * conform/data/complex.h-data: Likewise.
13210 * conform/data/cpio.h-data: Likewise.
13211 * conform/data/ctype.h-data: Likewise.
13212 * conform/data/dirent.h-data: Likewise.
13213 * conform/data/dlfcn.h-data: Likewise.
13214 * conform/data/errno.h-data: Likewise.
13215 * conform/data/fcntl.h-data: Likewise.
13216 * conform/data/float.h-data: Likewise.
13217 * conform/data/fmtmsg.h-data: Likewise.
13218 * conform/data/fnmatch.h-data: Likewise.
13219 * conform/data/ftw.h-data: Likewise.
13220 * conform/data/glob.h-data: Likewise.
13221 * conform/data/grp.h-data: Likewise.
13222 * conform/data/iconv.h-data: Likewise.
13223 * conform/data/inttypes.h-data: Likewise.
13224 * conform/data/langinfo.h-data: Likewise.
13225 * conform/data/libgen.h-data: Likewise.
13226 * conform/data/limits.h-data: Likewise.
13227 * conform/data/locale.h-data: Likewise.
13228 * conform/data/math.h-data: Likewise.
13229 * conform/data/monetary.h-data: Likewise.
13230 * conform/data/mqueue.h-data: Likewise.
13231 * conform/data/ndbm.h-data: Likewise.
13232 * conform/data/net/if.h-data: Likewise.
13233 * conform/data/netdb.h-data: Likewise.
13234 * conform/data/netinet/in.h-data: Likewise.
13235 * conform/data/nl_types.h-data: Likewise.
13236 * conform/data/poll.h-data: Likewise.
13237 * conform/data/pthread.h-data: Likewise.
13238 * conform/data/pwd.h-data: Likewise.
13239 * conform/data/regex.h-data: Likewise.
13240 * conform/data/sched.h-data: Likewise.
13241 * conform/data/search.h-data: Likewise.
13242 * conform/data/semaphore.h-data: Likewise.
13243 * conform/data/setjmp.h-data: Likewise.
13244 * conform/data/signal.h-data: Likewise.
13245 * conform/data/spawn.h-data: Likewise.
13246 * conform/data/stdarg.h-data: Likewise.
13247 * conform/data/stdio.h-data: Likewise.
13248 * conform/data/stdlib.h-data: Likewise.
13249 * conform/data/string.h-data: Likewise.
13250 * conform/data/strings.h-data: Likewise.
13251 * conform/data/stropts.h-data: Likewise.
13252 * conform/data/sys/ipc.h-data: Likewise.
13253 * conform/data/sys/mman.h-data: Likewise.
13254 * conform/data/sys/msg.h-data: Likewise.
13255 * conform/data/sys/resource.h-data: Likewise.
13256 * conform/data/sys/select.h-data: Likewise.
13257 * conform/data/sys/sem.h-data: Likewise.
13258 * conform/data/sys/shm.h-data: Likewise.
13259 * conform/data/sys/socket.h-data: Likewise.
13260 * conform/data/sys/stat.h-data: Likewise.
13261 * conform/data/sys/statvfs.h-data: Likewise.
13262 * conform/data/sys/time.h-data: Likewise.
13263 * conform/data/sys/timeb.h-data: Likewise.
13264 * conform/data/sys/times.h-data: Likewise.
13265 * conform/data/sys/types.h-data: Likewise.
13266 * conform/data/sys/uio.h-data: Likewise.
13267 * conform/data/sys/un.h-data: Likewise.
13268 * conform/data/sys/utsname.h-data: Likewise.
13269 * conform/data/sys/wait.h-data: Likewise.
13270 * conform/data/syslog.h-data: Likewise.
13271 * conform/data/tar.h-data: Likewise.
13272 * conform/data/termios.h-data: Likewise.
13273 * conform/data/utime.h-data: Likewise.
13274 * conform/data/utmpx.h-data: Likewise.
13275 * conform/data/varargs.h-data: Likewise.
13276 * conform/data/wchar.h-data: Likewise.
13277 * conform/data/wctype.h-data: Likewise.
13278 * conform/data/wordexp.h-data: Likewise.
13279
13280 * include/stropts.h: New file.
13281 * include/uchar.h: New file.
13282 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13283 * include/assert.h: Likewise.
13284 * include/ctype.h: Likewise.
13285 * include/dirent.h: Likewise.
13286 * include/dlfcn.h: Likewise.
13287 * include/fcntl.h: Likewise.
13288 * include/fnmatch.h: Likewise.
13289 * include/glob.h: Likewise.
13290 * include/grp.h: Likewise.
13291 * include/libio.h: Likewise.
13292 * include/locale.h: Likewise.
13293 * include/math.h: Likewise.
13294 * include/net/if.h: Likewise.
13295 * include/netdb.h: Likewise.
13296 * include/netinet/in.h: Likewise.
13297 * include/pthread.h: Likewise.
13298 * include/pwd.h: Likewise.
13299 * include/regex.h: Likewise.
13300 * include/sched.h: Likewise.
13301 * include/search.h: Likewise.
13302 * include/setjmp.h: Likewise.
13303 * include/signal.h: Likewise.
13304 * include/stdio.h: Likewise.
13305 * include/stdlib.h: Likewise.
13306 * include/string.h: Likewise.
13307 * include/sys/cdefs.h: Likewise.
13308 * include/sys/mman.h: Likewise.
13309 * include/sys/msg.h: Likewise.
13310 * include/sys/resource.h: Likewise.
13311 * include/sys/select.h: Likewise.
13312 * include/sys/socket.h: Likewise.
13313 * include/sys/stat.h: Likewise.
13314 * include/sys/statvfs.h: Likewise.
13315 * include/sys/time.h: Likewise.
13316 * include/sys/times.h: Likewise.
13317 * include/sys/uio.h: Likewise.
13318 * include/sys/utsname.h: Likewise.
13319 * include/sys/wait.h: Likewise.
13320 * include/termios.h: Likewise.
13321 * include/time.h: Likewise.
13322 * include/ulimit.h: Likewise.
13323 * include/unistd.h: Likewise.
13324 * include/utime.h: Likewise.
13325 * include/wchar.h: Likewise.
13326 * include/wctype.h: Likewise.
13327 * include/wordexp.h: Likewise.
13328
13329 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13330
13331 * time/time.h: TIME_UTC must be a macro.
13332 Make timespec_get available for ISO C11 only as well.
13333
133342012-02-24 Ulrich Drepper <drepper@gmail.com>
13335
13336 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
13337 Reported by Peng Haitao <penght@cn.fujitsu.com>.
13338
133392012-02-24 Joseph Myers <joseph@codesourcery.com>
13340
13341 * configure.in: Use -o not -a in test for unsupported multi-arch.
13342
133432012-02-24 Joseph Myers <joseph@codesourcery.com>
13344
13345 * manual/texinfo.tex: Update to version 2012-01-19.16.
13346
133472012-02-24 Joseph Myers <joseph@codesourcery.com>
13348
13349 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
13350
133512012-02-24 Roland McGrath <roland@hack.frob.com>
13352
13353 [BZ #13738]
13354 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
13355 * manual/fdl-1.3.texi: New file.
13356 * manual/fdl-1.1.texi: File removed.
13357
13358 [BZ #13738]
13359 * manual/libc.texinfo (FDL_VERSION): New @set.
13360 Use it for mention of FDL in cover text.
13361 (Documentation License): Use it in @include file name.
13362
133632012-02-22 Joseph Myers <joseph@codesourcery.com>
13364 Roland McGrath <roland@hack.frob.com>
13365
13366 [BZ #5461]
13367 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
13368 not LONG_LONG_MAX and LONG_LONG_MIN.
13369 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
13370 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
13371 name.
13372 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
13373
133742012-02-22 Joseph Myers <joseph@codesourcery.com>
13375
13376 [BZ #2547]
13377 [BZ #11365]
13378 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
13379 manipulate bits before adding and subtracting TWO23[sx].
13380 * math/libm-test.inc (nearbyint_test): Add more tests.
13381
133822012-02-22 Joseph Myers <joseph@codesourcery.com>
13383
13384 [BZ #2548]
13385 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
13386 bits before adding and subtracting TWO23[sx].
13387 * math/libm-test.inc (rint_test): Add more tests.
13388 (rint_test_tonearest): Likewise.
13389 (rint_test_towardzero): Likewise.
13390 (rint_test_downward): Likewise.
13391 (rint_test_upward: Likewise.
13392
133932012-02-22 Joseph Myers <joseph@codesourcery.com>
13394
13395 [BZ #10110]
13396 * include/stdc-predef.h: New file. Extracted from features.h.
13397 * include/features.h: Include stdc-predef.h.
13398 * Makefile (headers): Add stdc-predef.h.
13399 * CONFORMANCE (Compiler limitations): Update.
13400
134012012-02-22 Joseph Myers <joseph@codesourcery.com>
13402
13403 * manual/libc.texinfo (VERSION, UPDATED): Revert.
13404
134052012-02-21 David S. Miller <davem@davemloft.net>
13406
13407 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
13408 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13409
134102012-02-20 David S. Miller <davem@davemloft.net>
13411
13412 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
13413 using a normal save/restore sequence, rather than allocating a
13414 dummy stack frame just to store a frame pointer and restore.
13415 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13416
134172012-02-21 Joseph Myers <joseph@codesourcery.com>
13418
13419 * manual/install.texi: Fix stray word in line-wrapped comment.
13420
134212012-02-20 David S. Miller <davem@davemloft.net>
13422
13423 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
13424 both binutils and gcc support GOTDATA.
13425
13426 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
13427 "rd %pc" in the PIC register setup sequences.
13428
13429 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
13430 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13431 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13432 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13433 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13434 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13435 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13436 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13437 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
13438 (SYSCALL_ERROR_HANDLER): Likewise.
13439 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13440 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13441 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
13442 (SYSCALL_ERROR_HANDLER): Likewise.
13443
13444 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
13445 (HAVE_GCC_GOTDATA): New.
13446 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
13447 relocation support in both binutils and gcc.
13448 * sysdeps/sparc/elf/configure: Regenerate.
13449
13450 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
13451 * sysdeps/sparc/sparc32/elf/configure: Delete.
13452 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
13453 * sysdeps/sparc/sparc64/elf/configure: Delete.
13454 * sysdeps/sparc/elf/configure.in: New file.
13455 * sysdeps/sparc/elf/configure: Generate.
13456
13457 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
13458 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
13459 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13460 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
13461 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
13462
134632012-02-21 Joseph Myers <joseph@codesourcery.com>
13464
13465 * manual/install.texi: Do not mention specific glibc version
13466 numbers.
13467 * manual/libc.texinfo (VERSION, UPDATED): Update.
13468 (@copying): Use @copyright{} and range of years.
13469
134702012-02-21 Joseph Myers <joseph@codesourcery.com>
13471
13472 [BZ #13695]
13473 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
13474 [crti.S not in sysdirs] (generated): Do not append.
13475 [crti.S not in sysdirs] (omit-deps): Likewise.
13476 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
13477 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
13478 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
13479 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
13480 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
13481 Likewise.
13482 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
13483 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
13484 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
13485 * csu/defs.awk: Remove file.
13486 * sysdeps/generic/initfini.c: Likewise.
13487 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
13488 variable.
13489 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
13490 Likewise.
13491
134922012-02-20 Joseph Myers <joseph@codesourcery.com>
13493
13494 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
13495 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
13496 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
13497 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
13498 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13499 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
13500 <bits/epoll.h>.
13501 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
13502 (__EPOLL_PACKED): Define to empty if not defined by
13503 <bits/epoll.h>.
13504 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
13505 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13506 bits/epoll.h.
13507
135082012-02-20 Joseph Myers <joseph@codesourcery.com>
13509
13510 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
13511 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
13512 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
13513 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
13514 <bits/timerfd.h>.
13515 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
13516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13517 bits/timerfd.h.
13518
135192012-02-20 Joseph Myers <joseph@codesourcery.com>
13520
13521 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
13522 in C locale.
13523 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13524 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13525 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
13526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13527
135282012-02-20 Aurelien Jarno <aurelien@aurel32.net>
13529
13530 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13531 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13532
135332012-02-19 Andreas Schwab <schwab@linux-m68k.org>
13534
13535 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
13536 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
13537 defined.
13538 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
13539 Likewise.
13540 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
13541 entry for 2.16.
13542
135432012-02-19 Aurelien Jarno <aurelien@aurel32.net>
13544
13545 * math/w_acos.c: Use non-signaling floating-point comparisons.
13546 * math/w_acosf.c: Likewise.
13547 * math/w_acosh.c: Likewise.
13548 * math/w_acoshf.c: Likewise.
13549 * math/w_acoshl.c: Likewise.
13550 * math/w_acosl.c: Likewise.
13551 * math/w_asin.c: Likewise.
13552 * math/w_asinf.c: Likewise.
13553 * math/w_asinl.c: Likewise.
13554 * math/w_atanh.c: Likewise.
13555 * math/w_atanhf.c: Likewise.
13556 * math/w_atanhl.c: Likewise.
13557 * math/w_exp2.c: Likewise.
13558 * math/w_exp2f.c: Likewise.
13559 * math/w_exp2l.c: Likewise.
13560 * math/w_j0.c: Likewise.
13561 * math/w_j0f.c: Likewise.
13562 * math/w_j0l.c: Likewise.
13563 * math/w_j1.c: Likewise.
13564 * math/w_j1f.c: Likewise.
13565 * math/w_j1l.c: Likewise.
13566 * math/w_jn.c: Likewise.
13567 * math/w_jnf.c: Likewise.
13568 * math/w_log.c: Likewise.
13569 * math/w_log10.c: Likewise.
13570 * math/w_log10f.c: Likewise.
13571 * math/w_log10l.c: Likewise.
13572 * math/w_log2.c: Likewise.
13573 * math/w_log2f.c: Likewise.
13574 * math/w_log2l.c: Likewise.
13575 * math/w_logf.c: Likewise.
13576 * math/w_logl.c: Likewise.
13577 * math/w_sqrt.c: Likewise.
13578 * math/w_sqrtf.c: Likewise.
13579 * math/w_sqrtl.c: Likewise.
13580 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13581 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13582 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13583 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13584 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13585
135862012-02-19 Joseph Myers <joseph@codesourcery.com>
13587
13588 [BZ #9739]
13589 * manual/string.texi (strnlen): Use correct parameter name in
13590 equivalent expression.
13591
135922012-02-19 Joseph Myers <joseph@codesourcery.com>
13593
13594 [BZ #11174]
13595 * manual/users.texi (seteuid): Consistently use neweuid for
13596 argument name.
13597
135982012-02-19 Joseph Myers <joseph@codesourcery.com>
13599
13600 [BZ #13704]
13601 * manual/nss.texi (Services in the NSS configuration): Correct
13602 list of services in example configuration file.
13603
136042012-02-19 Nick Bowler <nbowler@draconx.ca>
13605
13606 [BZ #11322]
13607 * manual/arith.texi: Remove statements about negative zero
13608 behaving identically to zero.
13609
136102012-02-18 Joseph Myers <joseph@codesourcery.com>
13611
13612 [BZ #5993]
13613 * manual/install.texi: Do not document upgrading from libc5.
13614
136152012-02-18 Joseph Myers <joseph@codesourcery.com>
13616
13617 [BZ #4596]
13618 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
13619
136202012-02-18 David S. Miller <davem@davemloft.net>
13621
13622 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
13623 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
13624 %o7 across the call.
13625 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
13626 instead.
13627 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
13628 SETUP_PIC_REG_LEAF.
13629 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13630 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
13631 * sysdeps/sparc/crtn.S: Likewise.
13632
136332012-02-17 Ulrich Drepper <drepper@gmail.com>
13634
13635 * aout/Makefile: Remove.
13636
136372012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
13638
13639 [BZ #13058]
13640 * manual/examples/argp-ex1.c (main): Format definition in GNU
13641 style.
13642 * manual/examples/argp-ex2.c (main): Likewise.
13643 * manual/examples/argp-ex3.c (main): Likewise.
13644 * manual/examples/argp-ex4.c (main): Likewise.
13645 * manual/examples/longopt.c (main): Use new-style prototype
13646 definition.
13647 * manual/examples/strncat.c (main): Specify return type and use
13648 (void) for arguments.
13649 * manual/examples/subopt.c (main): Use char **argv argument.
13650
136512012-02-17 Joseph Myers <joseph@codesourcery.com>
13652
13653 [BZ #5077]
13654 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
13655 rounding modes.
13656
136572012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
13658
13659 [BZ #6907]
13660 * manual/string.texi (strchr): Change when strchrnul is
13661 recommended.
13662
136632012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
13664
13665 [BZ #174]
13666 * manual/locale.texi (setlocale): Document LOCPATH.
13667
136682012-02-17 Joseph Myers <joseph@codesourcery.com>
13669
13670 [BZ #10210]
13671 * manual/process.texi (execle): Move @dots{} before last argument.
13672
136732012-02-17 Paul Bolle <pebolle@tiscali.nl>
13674
13675 [BZ #12047]
13676 * manual/charset.texi (Generic Charset Conversion): Fix typo
13677 (LC_TYPE -> LC_CTYPE).
13678
136792012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
13680
13681 [BZ #5805]
13682 * manual/arith.texi (scalbn): Use @var{} on parameter names.
13683 (scalbnf): Likewise.
13684 (scalbnl): Likewise.
13685 (scalbln): Likewise.
13686 (scalblnf): Likewise.
13687 (scalblnl): Likewise.
13688 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
13689 (vwarnx): Likewise.
13690 (verr): Likewise.
13691 (verrx): Likewise.
13692 * manual/filesys.texi (telldir): Use braces around return type.
13693 * manual/llio.texi (mmap): Add space after comma.
13694 (mmap64): Likewise.
13695 * manual/math.texi (jn): Use @var{} on parameter names.
13696 (jnf): Likewise.
13697 (jnl): Likewise.
13698 (yn): Likewise.
13699 (ynf): Likewise.
13700 (ynl): Likewise.
13701 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
13702 line.
13703 * manual/resource.texi (ulimit): Use @dots{} instead of literal
13704 "...".
13705 (sched_get_priority_min): Remove semicolon on @deftypefun line.
13706 (sched_get_priority_max): Likewise.
13707 * manual/signal.texi (sigvec): Add space after comma.
13708 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13709 names.
13710 (if_indextoname): Likewise.
13711 (if_freenameindex): Likewise.
13712 (sendto): Use ',' instead of '.' in prototype.
13713 * manual/startup.texi (syscall): Use @dots{} instead of literal
13714 "...".
13715 * manual/stdio.texi (__fpending): Separate initial words of
13716 paragraph from @deftypefun line.
13717 * manual/syslog.texi (syslog): Use @dots{} instead of literal
13718 "...".
13719 (vsyslog): Use @var{} on parameter names.
13720 * manual/terminal.texi (stty): Use @var{} on parameter names.
13721 * manual/users.texi (getutmp): Use @var{} on parameter names.
13722 (getutmpx): Likewise.
13723
137242012-02-17 Joseph Myers <joseph@codesourcery.com>
13725
13726 [BZ #6884]
13727 * manual/stdio.texi (fopen): Fix typos in description of
13728 ",ccs=STRING".
13729
137302012-02-17 Aurelien Jarno <aurelien@aurel32.net>
13731
13732 [BZ #4026]
13733 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13734 get clock_id definition.
13735
137362012-02-17 Thomas Schwinge <thomas@schwinge.name>
13737
13738 [BZ #4822]
13739 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13740 (madvise): Cast every argument to void on its own.
13741
137422012-02-17 Joseph Myers <joseph@codesourcery.com>
13743
13744 [BZ #9902]
13745 * manual/startup.texi (Exit Status): Fix typo.
13746
137472012-02-17 Joseph Myers <joseph@codesourcery.com>
13748
13749 [BZ #10140]
13750 * manual/examples/argp-ex1.c: Include <stdlib.h>.
13751 * manual/examples/argp-ex2.c: Likewise.
13752 * manual/examples/argp-ex3.c: Likewise.
13753
137542012-02-16 Richard Henderson <rth@redhat.com>
13755
13756 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13757 * sysdeps/s390/s390-32/initfini.c: Remove.
13758 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13759 * sysdeps/s390/s390-64/initfini.c: Remove.
13760
137612012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13762
13763 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13764 compiler output for sysdeps/generic/initfini.c.
13765 * sysdeps/sh/elf/initfini.c: Remove file.
13766
137672012-02-16 David S. Miller <davem@davemloft.net>
13768
13769 [BZ #11494]
13770 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13771
13772 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13773 * sysdeps/sparc/crti.S: New file.
13774 * sysdeps/sparc/crtn.S: New file.
13775 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13776 * sysdeps/sparc/sparc64/Makefile: Likewise.
13777
137782012-02-15 Mike Frysinger <vapier@gentoo.org>
13779
13780 [BZ #3335]
13781 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13782
137832012-02-15 Roland McGrath <roland@hack.frob.com>
13784
13785 [BZ #4822]
13786 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13787
13788 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13789 (write, read, close): Likewise.
13790 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13791
137922012-02-15 Joseph Myers <joseph@codesourcery.com>
13793
13794 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13795 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13796 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13797 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13798 <bits/signalfd.h>.
13799 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13800 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13801 bits/signalfd.h.
13802
138032012-02-14 Marek Polacek <polacek@redhat.com>
13804
13805 * sysdeps/x86_64/crti.S: New file.
13806 * sysdeps/x86_64/crtn.S: New file.
13807 * sysdeps/x86_64/elf/initfini.c: Remove file.
13808
138092012-02-13 Joseph Myers <joseph@codesourcery.com>
13810
13811 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13812 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13813 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13814 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13815 <bits/inotify.h>.
13816 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13818 bits/inotify.h.
13819
138202012-02-13 Joseph Myers <joseph@codesourcery.com>
13821
13822 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13823 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13824 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13825 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13826 <bits/eventfd.h>.
13827 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13829 bits/eventfd.h.
13830
138312012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13832
13833 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13834 __feraiseexcept instead of feraiseexcept.
13835
13836 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13837 nanosleep invocations.
13838 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13839 strings, and add error checking for a nanosleep invocations.
13840
138412012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13842
13843 Replace FSF snail mail address with URLs, as per GNU coding standards.
13844 Most of the snail mail addresses were wrong anyway, and omitting
13845 them makes the source code easier to maintain. Almost all of the
13846 changes are to license notices and to locale LC_IDENTIFICATION
13847 addresses, except for this one:
13848 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13849 not its snail mail address.
13850
138512012-02-09 Richard Henderson <rth@twiddle.net>
13852
13853 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13854 of kernel-features.h.
13855
13856 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13857
138582012-02-08 Marek Polacek <polacek@redhat.com>
13859
13860 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13861 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13862 * sysdeps/gnu/_G_config.h: Likewise.
13863 * sysdeps/generic/_G_config.h: Likewise.
13864
138652012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13866
13867 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13868 tests.
13869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13870
13871 * sysdeps/powerpc/powerpc32/crti.S: New file.
13872 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13873 * sysdeps/powerpc/powerpc64/crti.S: New file.
13874 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13875
13876 * Makeconfig (have-initfini): Don't set.
13877 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13878 * configure.in (nopic_initfini): Don't substitute.
13879 * config.h.in (HAVE_INITFINI): Don't #undef.
13880 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13881 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13882
138832012-02-08 Joseph Myers <joseph@codesourcery.com>
13884
13885 Support crti.S and crtn.S provided directly by architectures.
13886 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13887 [crti.S in sysdirs] (omit-deps): Likewise.
13888 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13889 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13890 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13891 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13892 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13893 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13894 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13895 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13896 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13897 compiler output for sysdeps/generic/initfini.c.
13898 * sysdeps/i386/elf/Makefile: Remove file.
13899 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13900
139012012-02-07 Marek Polacek <polacek@redhat.com>
13902
13903 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13904 * sysdeps/gnu/_G_config.h: Likewise.
13905 * sysdeps/mach/hurd/_G_config.h: Likewise.
13906
139072012-02-07 Marek Polacek <polacek@redhat.com>
13908
13909 * math/Makefile (tests): Add tst-CMPLX2.
13910 * math/tst-CMPLX2.c: New file.
13911
139122012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13913
13914 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13915
13916 * math/libm-test.inc (jn_test): Add missing L suffix.
13917
139182012-02-06 Marek Polacek <polacek@redhat.com>
13919
13920 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13921 * sysdeps/i386/fpu/e_powf.S: Likewise.
13922 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13923 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13924 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13925 * sysdeps/i386/fpu/e_pow.S: Likewise.
13926 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13927 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13928 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13929 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13930 * sysdeps/i386/fpu/e_log2.S: Likewise.
13931 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13932 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13933 * sysdeps/i386/fpu/e_powl.S: Likewise.
13934 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13935 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13936 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13937 * sysdeps/i386/fpu/e_logl.S: Likewise.
13938 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13939 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13940 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13941 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13942 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13943 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13944 * sysdeps/i386/fpu/e_log.S: Likewise.
13945 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13946 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13947 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13948 * sysdeps/i386/fpu/e_logf.S: Likewise.
13949 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13950 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13951 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13952 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13953 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13954 * sysdeps/i386/fpu/e_log10.S: Likewise.
13955 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13956 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13957 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13958 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13959 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13960 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13961 * sysdeps/i386/asm-syntax.h: Likewise.
13962 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13963 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13964 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13965 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13966 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13967 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13968 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13969 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13970 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13971 * sysdeps/powerpc/sysdep.h: Likewise.
13972 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13973 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13974
139752012-02-06 Joseph Myers <joseph@codesourcery.com>
13976
13977 [BZ #411]
13978 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13979
139802012-02-06 Joseph Myers <joseph@codesourcery.com>
13981
13982 * sysdeps/i386/sysdep.h: Include <features.h>.
13983 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13984 version.
13985
139862012-02-05 Joseph Myers <joseph@codesourcery.com>
13987
13988 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13989 Define.
13990 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13991 LOAD_PIC_REG_STR.
13992
139932012-02-03 Joseph Myers <joseph@codesourcery.com>
13994
13995 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13996 (SETUP_PIC_REG): Use GET_PC_THUNK.
13997 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13998 macro.
13999
140002012-02-03 Joseph Myers <joseph@codesourcery.com>
14001
14002 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14003 for non-PIC compilation.
14004 (SETUP_PIC_REG): Add .p2align directive.
14005 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14006 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14007 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14008 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14009 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14010 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14011 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14012 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14013 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14014 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14015 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14016 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14017 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14018 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14019 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14020 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14021 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14022 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14023 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14024 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14025 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14026 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14027 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14028 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14029 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14030 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14031 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14032 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14033 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14034 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14035 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14036 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14037 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14038 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14039 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14040 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14041 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14042 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14043 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14044 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14045 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14046
140472012-02-03 Joseph Myers <joseph@codesourcery.com>
14048
14049 * math/tst-CMPLX.c: Include <stdio.h>.
14050
140512012-01-31 Joseph Myers <joseph@codesourcery.com>
14052
14053 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14054 float.
14055 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14056 * sysdeps/sparc/bits/mathdef.h: Likewise.
14057
140582012-01-31 Marek Polacek <polacek@redhat.com>
14059
14060 * libio/libio.h: Don't define _PARAMS.
14061 * locale/programs/config.h: Don't define PARAMS.
14062 * stdlib/strtol_l.c: Likewise.
14063 (__strtol_l): Remove PARAMS from the prototype.
14064
140652012-01-31 Ulrich Drepper <drepper@gmail.com>
14066
14067 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14068 names. Just use the correct names. Remove unnecessary wrapper
14069 functions.
14070 * malloc/arena.c: Likewise.
14071 * malloc/hooks.c: Likewise.
14072
14073 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14074 ARENA_TEST says not to. Simplify test for creation of a new arena.
14075 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14076
140772012-01-30 Ulrich Drepper <drepper@gmail.com>
14078
14079 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14080 into tail calls.
14081 (update_get_addr): New function.
14082 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14083 GET_ADDR_MODULE parameter.
14084
140852012-01-30 Joseph Myers <joseph@codesourcery.com>
14086
14087 * crypt/cert.c: Remove __STDC__ conditionals.
14088 * crypt/crypt-entry.c: Likewise.
14089 * crypt/crypt_util.c: Likewise.
14090 * libio/filedoalloc.c: Likewise.
14091 * libio/fileops.c: Likewise.
14092 * libio/genops.c: Likewise.
14093 * libio/iofclose.c: Likewise.
14094 * libio/iofdopen.c: Likewise.
14095 * libio/iofopen.c: Likewise.
14096 * libio/iofopen64.c: Likewise.
14097 * libio/iogetdelim.c: Likewise.
14098 * libio/iopopen.c: Likewise.
14099 * libio/obprintf.c: Likewise.
14100 * libio/oldfileops.c: Likewise.
14101 * libio/oldiofclose.c: Likewise.
14102 * libio/oldiofdopen.c: Likewise.
14103 * libio/oldiofopen.c: Likewise.
14104 * libio/oldiopopen.c: Likewise.
14105 * libio/wfiledoalloc.c: Likewise.
14106 * libio/wgenops.c: Likewise.
14107 * locale/programs/xmalloc.c: Likewise.
14108 * misc/syslog.c: Likewise.
14109 * stdio-common/xbug.c: Likewise.
14110 * string/memchr.c: Likewise.
14111 * string/memcmp.c: Likewise.
14112 * string/memrchr.c: Likewise.
14113 * string/rawmemchr.c: Likewise.
14114 * sysdeps/posix/getcwd.c: Likewise.
14115 * time/strftime_l.c: Likewise.
14116
141172012-01-30 Joseph Myers <joseph@codesourcery.com>
14118
14119 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
14120 * config.make.in (config-cflags-sse2avx): Define.
14121 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14122 Fix typo.
14123
141242012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14125
14126 * scripts/config.guess: Update from upstream config git repository.
14127 * scripts/config.sub: Likewise.
14128
141292012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14130
14131 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14132 (EM_NUM): Update.
14133 (R_TILEPRO_*, R_TILEGX_*): New macros.
14134
14135 * scripts/firstversions.awk: Fix bug in version range handling.
14136
14137 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14138
14139 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14140
14141 * include/sys/epoll.h: New file.
14142 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14143 libc_hidden_def.
14144
141452012-01-28 Ulrich Drepper <drepper@gmail.com>
14146
14147 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14148 Avoid unnecessary __WORDSIZE == 64 test.
14149 (fmaxf): Use VEX format if possible.
14150 (fmax): Likewise.
14151 (fminf): Likewise.
14152 (fmin): Likewise.
14153
14154 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14155 * math/math_private.h: Remove libc_fegetround* and
14156 libc_fesetround*.
14157 * sysdeps/i386/configure.in: Check for -msse2avx.
14158 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14159 also if SSE2AVX is defined.
14160 Remove libc_fegetround* and libc_fesetround*.
14161 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14162 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14163 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14164 of HAS_YMM_USABLE.
14165 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14166 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14167 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14168 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14169 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14170
14171 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14172
141732012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14174
14175 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14176 size is not set.
14177 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14178
141792012-01-27 Ulrich Drepper <drepper@gmail.com>
14180
14181 [BZ #13618]
14182 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14183 relocation.
14184 * Makeconfig (libm): Define.
14185 * elf/Makefile: Add rules to build and run tst-relsort1.
14186 * elf/tst-relsort1.c: New file.
14187 * elf/tst-relsort1mod1.c: New file.
14188 * elf/tst-relsort1mod2.c: New file.
14189
141902012-01-27 Joseph Myers <joseph@codesourcery.com>
14191
14192 * math/s_ldexp.c: Remove __STDC__ conditionals.
14193 * math/s_ldexpf.c: Likewise.
14194 * math/s_ldexpl.c: Likewise.
14195 * math/s_nextafter.c: Likewise.
14196 * math/s_nexttowardf.c: Likewise.
14197 * math/s_significand.c: Likewise.
14198 * math/s_significandf.c: Likewise.
14199 * math/s_significandl.c: Likewise.
14200 * math/w_jnl.c: Likewise.
14201 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14202 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14203 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14204 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14205 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14206 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14207 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14208 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14209 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14210 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14211 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14212 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14213 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14214 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14215 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14216 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14217 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14218 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14219 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14220 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14221 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14222 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14223 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14224 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14225 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14226 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14227 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14228 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14229 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14230 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14231 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14232 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14233 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14234 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14235 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14236 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14237 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14238 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14239 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14240 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14241 * sysdeps/ieee754/k_standard.c: Likewise.
14242 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14243 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14244 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14245 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14246 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14247 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14248 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14249 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14250 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14251 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14252 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14253 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14254 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14255 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14256 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14257 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14258 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14259 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14260 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14261 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14262 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14263 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14264 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14265 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14266 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14267 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14268 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14269 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14270 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14271 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14272 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14273 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14274 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14275 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14276 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14277 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14278 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14279 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14280 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14281 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14282 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14283 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14284 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14285 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14286 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14287 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14288 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14289 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14290 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14291 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14292 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14293 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14294 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14295 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14296 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14297 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14298 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14299 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14300 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14301 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14302 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14303 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14304 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14305 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14306 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14307 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14308 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14309 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14310 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14311 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14312 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14313 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14314 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14315 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14316 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14317 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14318 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14319 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14320 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14321 * sysdeps/ieee754/s_matherr.c: Likewise.
14322 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14323 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14324 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14325 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14326
143272012-01-26 Joseph Myers <joseph@codesourcery.com>
14328
14329 * crypt/md5.h: Remove __STDC__ conditionals.
14330 * libio/libioP.h: Likewise.
14331 * locale/programs/config.h: Likewise.
14332 * sysdeps/generic/sysdep.h: Likewise.
14333 * sysdeps/i386/asm-syntax.h: Likewise.
14334 * sysdeps/s390/asm-syntax.h: Likewise.
14335 * sysdeps/unix/sysdep.h: Likewise.
14336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14338
143392012-01-26 Joseph Myers <joseph@codesourcery.com>
14340
14341 * libio/libio.h: Remove __STDC__ conditionals.
14342 * malloc/obstack.h: Likewise.
14343 * math/complex.h: Likewise.
14344 * math/math.h: Likewise.
14345 * sysdeps/generic/_G_config.h: Likewise.
14346 * sysdeps/gnu/_G_config.h: Likewise.
14347 * sysdeps/mach/hurd/_G_config.h: Likewise.
14348 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14349 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14350 * sysdeps/sparc/bits/mathdef.h: Likewise.
14351
143522012-01-26 Ulrich Drepper <drepper@gmail.com>
14353
14354 [BZ #13583]
14355 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
14356 Clean up HAS_* macros.
14357 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
14358 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
14359 possible.
14360 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
14361 HAS_AVX.
14362 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14363 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14364 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14365 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14366 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14367
143682012-01-25 Joseph Myers <joseph@codesourcery.com>
14369
14370 * elf/tst-unique3.cc (gets): Remove declaration.
14371 * elf/tst-unique3lib.cc (gets): Likewise.
14372 * elf/tst-unique3lib2.cc (gets): Likewise.
14373 * elf/tst-unique4.cc (gets): Likewise.
14374
143752012-01-24 Ulrich Drepper <drepper@gmail.com>
14376
14377 * include/stdio.h: Add C++ protection. Add gets declarations and
14378 definitions.
14379 * debug/tst-chk1.c: Don't declare gets here.
14380 * stdio-common/tst-gets.c: Likewise.
14381
143822012-01-24 Joseph Myers <joseph@codesourcery.com>
14383
14384 * posix/glob: Remove directory.
14385
143862012-01-24 Joseph Myers <joseph@codesourcery.com>
14387
14388 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
14389
143902012-01-22 Pino Toscano <toscano.pino@tiscali.it>
14391
14392 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
14393 of the non-standard EPFNOSUPPORT.
14394
143952011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
14396
14397 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
14398 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
14399 ANYWHERE set to 1 only on KERN_NO_SPACE error.
14400
144012012-01-21 Ulrich Drepper <drepper@gmail.com>
14402
14403 * wcsmbs/uchar.h: Test __STDC_VERSION__.
14404
144052012-01-20 Ulrich Drepper <drepper@gmail.com>
14406
14407 * nscd/aicache.c (addhstaiX): Do not cache negative results of
14408 transient errors.
14409 * nscd/grpcache.c (cache_addgr): Likewise.
14410 * nscd/hstcache.c (cache_addhst): Likewise.
14411 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14412 * nscd/pwdcache.c (cache_addpw): Likewise.
14413 * nscd/servicescache.c (cache_addserv): Likewise.
14414
144152012-01-16 Ulrich Drepper <drepper@gmail.com>
14416
14417 * malloc/malloc.c: Various cleanups.
14418 * malloc/hooks.c: Likewise.
14419
14420 * stdlib/Makefile (tests): Add bug-fmtmsg1.
14421 * stdlib/bug-fmtmsg1.c: New file.
14422
14423 * stdlib/fmtmsg.c (init): Add missing unlock.
14424 Patch by Peng Haitao <penght@cn.fujitsu.com>.
14425
144262012-01-12 Marek Polacek <polacek@redhat.com>
14427
14428 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
14429 and _GNU_SOURCE.
14430
144312012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14432
14433 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
14434 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
14435 macro to ensure uniqueness of label name.
14436 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14437 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14438
144392012-01-11 Ulrich Drepper <drepper@gmail.com>
14440
14441 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
14442
14443 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
14444 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14445 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14446 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
14447
144482012-01-10 Ulrich Drepper <drepper@gmail.com>
14449
14450 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
14451
14452 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
14453 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14454 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14455
14456 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
14457
14458 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
14459 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14460 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14461 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
14462
14463 * math/bits/math-finite.h: Add ldexp support.
14464
144652012-01-10 Marek Polacek <polacek@redhat.com>
14466
14467 * locale/programs/localedef.h (show_archive_content): Add noreturn
14468 attribute.
14469
144702012-01-09 Ulrich Drepper <drepper@gmail.com>
14471
14472 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
14473
144742012-01-08 Ulrich Drepper <drepper@gmail.com>
14475
14476 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
14477
14478 * io/Makefile (headers): Add bits/poll2.h.
14479
144802011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
14481
14482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
14483 typo #include statement.
14484
144852012-01-08 Ulrich Drepper <drepper@gmail.com>
14486
14487 * include/sys/cdefs.h: Define __attribute_alloc_size.
14488 * catgets/gencat.c: Add alloc_size attribute and apply consistently
14489 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
14490 * elf/pldd.c: Likewise.
14491 * iconv/iconv_charmap.c: Likewise.
14492 * iconv/iconvconfig.c: Likewise.
14493 * iconv/strtab.c: Likewise.
14494 * locale/programs/locale.c: Likewise.
14495 * locale/programs/localedef.h: Likewise.
14496 * locale/programs/simple-hash.c: Likewise.
14497 * nscd/nscd.h: Likewise.
14498 * nss/makedb.c: Likewise.
14499 * sysdeps/generic/ldconfig.h: Likewise.
14500 * locale/programs/localedef.c: Remove xmalloc prototype.
14501 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
14502
145032012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14504
14505 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
14506 appropriate.
14507
145082012-01-08 Ulrich Drepper <drepper@gmail.com>
14509
14510 * math/Makefile (tests): Add tst-CMPLX.
14511 * math/tst-CMPLX.c: New file.
14512
14513 * math/complex.h (CMPLXL): Fix typo.
14514
14515 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
14516 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
14517 GLIBC_2.16.
14518 * debug/tst-chk1.c: Add poll and ppoll tests.
14519 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
14520 * include/sys/poll.h: Add hidden proto for ppoll.
14521 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
14522 * sysdeps/mach/hurd/ppoll.c: Likewise.
14523 * io/ppoll.c: Likewise.
14524 * debug/poll_chk.c: New file.
14525 * debug/ppoll_chk.c: New file.
14526 * include/bits/poll2.h: New file.
14527 * io/bits/poll2.h: New file.
14528
14529 [BZ #1350]
14530 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
14531
14532 * configure.in: static is always set to yes. Remove.
14533 * config.make.in: Don't set build-static.
14534 * Makeconfig: Remove use of build-static.
14535 * dlfcn/Makefile: Likewise.
14536 * elf/Makefile: Likewise.
14537 * math/Makefile: Likewise.
14538 * misc/Makefile: Likewise.
14539 * nptl/Makefile: Likewise.
14540 * sysdeps/mach/hurd/Makefile: Likewise.
14541
14542 * configure.in: PWD_P is not used anymore.
14543 * config.make.in: Remove PWD_P entry.
14544
14545 * configure.in: Remove last remnants of RANLIB.
14546 No need to check for signed size_t anymore.
14547 Don't set libc_commonpagesize and libc_relro_required here for Alpha
14548 and IA-64.
14549 Remove __builtin_expect test because we require at least gcc 3.4.
14550 * aclocal.m4: Likewise.
14551
14552 * wcsmbs/mbrtoc16.c: Implement using towc function.
14553 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
14554 * wcsmbs/wcsmbsload.c: Likewise.
14555 * iconv/gconv_simple.c: Likewise.
14556 * iconv/gconv_int.h: Likewise.
14557 * iconv/gconv_builtin.h: Likewise.
14558 * iconv/iconv_prog.c: Remove CHAR16 handling.
14559
14560 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
14561
14562 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
14563
14564 * configure.in: Remove --with-elf and --enable-bounded options.
14565 Dont set base_machine for ia64. More non-ELF conditions removed.
14566 Remove testing and setting of leading underscore information.
14567 * config.make.in (build-bounded): Set to no.
14568 * config.h.in: Remove NO_UNDERSCORES entry.
14569 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
14570 them.
14571 * csu/start.c: Remove !NO_UNDERSCORE code.
14572 * locale/localeinfo.h: Likewise.
14573 * sysdeps/generic/machine-gmon.h: Likewise.
14574 * sysdeps/generic/sysdep.h: Likewise.
14575 * sysdeps/i386/sysdep.h: Likewise.
14576 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14577 * sysdeps/mach/sysdep.h: Likewise.
14578 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14579 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14580 * sysdeps/sh/sysdep.h: Likewise.
14581 * sysdeps/sparc/sparc32/alloca.S: Likewise.
14582 * sysdeps/unix/i386/sysdep.S: Likewise.
14583 * sysdeps/unix/sparc/start.c: Likewise.
14584 * sysdeps/unix/sparc/sysdep.S: Likewise.
14585 * sysdeps/unix/sparc/sysdep.h: Likewise.
14586 * sysdeps/unix/start.c: Likewise.
14587 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14588 * sysdeps/x86_64/sysdep.h: Likewise.
14589
145902012-01-07 Ulrich Drepper <drepper@gmail.com>
14591
14592 [BZ #13553]
14593 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
14594 for non-gcc.
14595 * argp/argp-fmtstream.h: Use const instead __const.
14596 * argp/argp.h: Likewise.
14597 * assert/assert.h: Likewise.
14598 * bits/fenv.h: Likewise.
14599 * bits/sched.h: Likewise.
14600 * bits/sigset.h: Likewise.
14601 * bits/sigthread.h: Likewise.
14602 * catgets/nl_types.h: Likewise.
14603 * conform/data/pthread.h-data: Likewise.
14604 * crypt/crypt-private.h: Likewise.
14605 * crypt/crypt.h: Likewise.
14606 * crypt/crypt_util.c: Likewise.
14607 * ctype/ctype.h: Likewise.
14608 * debug/execinfo.h: Likewise.
14609 * debug/mbsnrtowcs_chk.c: Likewise.
14610 * debug/mbsrtowcs_chk.c: Likewise.
14611 * debug/wcsnrtombs_chk.c: Likewise.
14612 * debug/wcsrtombs_chk.c: Likewise.
14613 * debug/wcstombs_chk.c: Likewise.
14614 * dirent/dirent.h: Likewise.
14615 * dlfcn/dlfcn.h: Likewise.
14616 * elf/neededtest4.c: Likewise.
14617 * grp/grp.h: Likewise.
14618 * gshadow/gshadow.h: Likewise.
14619 * iconv/gconv.h: Likewise.
14620 * iconv/gconv_int.h: Likewise.
14621 * iconv/gconv_simple.c: Likewise.
14622 * iconv/iconv.h: Likewise.
14623 * iconv/loop.c: Likewise.
14624 * iconv/skeleton.c: Likewise.
14625 * include/aio.h: Likewise.
14626 * include/aliases.h: Likewise.
14627 * include/argz.h: Likewise.
14628 * include/arpa/inet.h: Likewise.
14629 * include/assert.h: Likewise.
14630 * include/dirent.h: Likewise.
14631 * include/dlfcn.h: Likewise.
14632 * include/execinfo.h: Likewise.
14633 * include/fcntl.h: Likewise.
14634 * include/fenv.h: Likewise.
14635 * include/glob.h: Likewise.
14636 * include/grp.h: Likewise.
14637 * include/libintl.h: Likewise.
14638 * include/mntent.h: Likewise.
14639 * include/netdb.h: Likewise.
14640 * include/pwd.h: Likewise.
14641 * include/rpc/netdb.h: Likewise.
14642 * include/sched.h: Likewise.
14643 * include/search.h: Likewise.
14644 * include/shadow.h: Likewise.
14645 * include/signal.h: Likewise.
14646 * include/stdio.h: Likewise.
14647 * include/stdlib.h: Likewise.
14648 * include/string.h: Likewise.
14649 * include/sys/socket.h: Likewise.
14650 * include/sys/stat.h: Likewise.
14651 * include/sys/statfs.h: Likewise.
14652 * include/sys/statvfs.h: Likewise.
14653 * include/sys/syslog.h: Likewise.
14654 * include/sys/time.h: Likewise.
14655 * include/sys/uio.h: Likewise.
14656 * include/time.h: Likewise.
14657 * include/unistd.h: Likewise.
14658 * include/utmp.h: Likewise.
14659 * include/wchar.h: Likewise.
14660 * include/wctype.h: Likewise.
14661 * inet/aliases.h: Likewise.
14662 * inet/arpa/inet.h: Likewise.
14663 * inet/netinet/ether.h: Likewise.
14664 * inet/netinet/in.h: Likewise.
14665 * intl/libintl.h: Likewise.
14666 * io/bits/fcntl2.h: Likewise.
14667 * io/fcntl.h: Likewise.
14668 * io/ftw.h: Likewise.
14669 * io/sys/poll.h: Likewise.
14670 * io/sys/stat.h: Likewise.
14671 * io/sys/statfs.h: Likewise.
14672 * io/sys/statvfs.h: Likewise.
14673 * io/utime.h: Likewise.
14674 * libio/bits/stdio.h: Likewise.
14675 * libio/bits/stdio2.h: Likewise.
14676 * libio/libio.h: Likewise.
14677 * libio/libioP.h: Likewise.
14678 * libio/stdio.h: Likewise.
14679 * locale/lc-ctype.c: Likewise.
14680 * locale/locale.h: Likewise.
14681 * login/utmp.h: Likewise.
14682 * malloc/arena.c: Likewise.
14683 * malloc/malloc.c: Likewise.
14684 * malloc/malloc.h: Likewise.
14685 * malloc/mcheck.c: Likewise.
14686 * malloc/mtrace.c: Likewise.
14687 * math/bits/mathcalls.h: Likewise.
14688 * math/fenv.h: Likewise.
14689 * math/math_private.h: Likewise.
14690 * misc/bits/error.h: Likewise.
14691 * misc/bits/syslog.h: Likewise.
14692 * misc/err.h: Likewise.
14693 * misc/error.h: Likewise.
14694 * misc/fstab.h: Likewise.
14695 * misc/mntent.h: Likewise.
14696 * misc/regexp.h: Likewise.
14697 * misc/search.h: Likewise.
14698 * misc/sgtty.h: Likewise.
14699 * misc/sys/mman.h: Likewise.
14700 * misc/sys/syslog.h: Likewise.
14701 * misc/sys/uio.h: Likewise.
14702 * misc/sys/xattr.h: Likewise.
14703 * misc/ttyent.h: Likewise.
14704 * nis/rpcsvc/ypclnt.h: Likewise.
14705 * nss/nss.h: Likewise.
14706 * posix/bits/unistd.h: Likewise.
14707 * posix/fnmatch.h: Likewise.
14708 * posix/glob.h: Likewise.
14709 * posix/sched.h: Likewise.
14710 * posix/spawn.h: Likewise.
14711 * posix/sys/wait.h: Likewise.
14712 * posix/unistd.h: Likewise.
14713 * posix/wordexp.h: Likewise.
14714 * pwd/pwd.h: Likewise.
14715 * resolv/netdb.h: Likewise.
14716 * resource/sys/resource.h: Likewise.
14717 * rt/aio.h: Likewise.
14718 * rt/bits/mqueue2.h: Likewise.
14719 * rt/mqueue.h: Likewise.
14720 * shadow/shadow.h: Likewise.
14721 * signal/signal.h: Likewise.
14722 * socket/send.c: Likewise.
14723 * socket/sendto.c: Likewise.
14724 * socket/sys/socket.h: Likewise.
14725 * stdio-common/printf.h: Likewise.
14726 * stdlib/bits/stdlib.h: Likewise.
14727 * stdlib/fmtmsg.h: Likewise.
14728 * stdlib/monetary.h: Likewise.
14729 * stdlib/stdlib.h: Likewise.
14730 * stdlib/ucontext.h: Likewise.
14731 * streams/stropts.h: Likewise.
14732 * string/argz.h: Likewise.
14733 * string/bits/string2.h: Likewise.
14734 * string/string.h: Likewise.
14735 * string/strings.h: Likewise.
14736 * sunrpc/rpc/auth.h: Likewise.
14737 * sunrpc/rpc/auth_des.h: Likewise.
14738 * sunrpc/rpc/clnt.h: Likewise.
14739 * sunrpc/rpc/netdb.h: Likewise.
14740 * sunrpc/rpc/pmap_clnt.h: Likewise.
14741 * sunrpc/rpc/xdr.h: Likewise.
14742 * sysdeps/generic/inttypes.h: Likewise.
14743 * sysdeps/generic/net/if.h: Likewise.
14744 * sysdeps/generic/sys/swap.h: Likewise.
14745 * sysdeps/gnu/net/if.h: Likewise.
14746 * sysdeps/gnu/utmpx.h: Likewise.
14747 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14748 * sysdeps/i386/i486/bits/string.h: Likewise.
14749 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14750 * sysdeps/s390/bits/string.h: Likewise.
14751 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14752 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14753 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14754 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14755 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14756 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14757 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14758 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14759 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14760 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14761 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14762 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14763 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14764 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14765 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14766 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14767 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14769 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14770 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14771 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14772 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14773 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14774 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14775 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14776 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14777 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14778 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14779 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14780 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14781 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14782 * sysvipc/sys/ipc.h: Likewise.
14783 * sysvipc/sys/msg.h: Likewise.
14784 * sysvipc/sys/sem.h: Likewise.
14785 * sysvipc/sys/shm.h: Likewise.
14786 * termios/termios.h: Likewise.
14787 * time/sys/time.h: Likewise.
14788 * time/time.h: Likewise.
14789 * wcsmbs/bits/wchar2.h: Likewise.
14790 * wcsmbs/uchar.h: Likewise.
14791 * wcsmbs/wchar.h: Likewise.
14792 * wctype/wctype.h: Likewise.
14793
14794 [BZ #13551]
14795 * Makeconfig: Remove all but ELF support including AIX support.
14796 * Makerules: Likewise.
14797 * config.h.in: Likewise.
14798 * config.make.in: Likewise.
14799 * configure: Likewise.
14800 * configure.in: Likewise.
14801 * csu/Makefile: Likewise.
14802 * csu/version.c: Likewise.
14803 * debug/Makefile: Likewise.
14804 * dlfcn/Makefile: Likewise.
14805 * elf/Makefile: Likewise.
14806 * extra-lib.mk: Likewise.
14807 * iconv/Makefile: Likewise.
14808 * include/libc-symbols.h: Likewise.
14809 * include/shlib-compat.h: Likewise.
14810 * resolv/Makefile: Likewise.
14811 * resolv/res_libc.c: Likewise.
14812 * rt/Makefile: Likewise.
14813 * sysdeps/i386/asm-syntax.h: Likewise.
14814 * sysdeps/i386/sysdep.h: Likewise.
14815 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14816 * sysdeps/mach/sysdep.h: Likewise.
14817 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14818 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14819 * sysdeps/s390/asm-syntax.h: Likewise.
14820 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14821 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14822 * sysdeps/sh/sysdep.h: Likewise.
14823 * sysdeps/unix/sparc/sysdep.h: Likewise.
14824 * sysdeps/wordsize-32/divdi3.c: Likewise.
14825 * sysdeps/x86_64/sysdep.h: Likewise.
14826
14827 * argp/Versions: Remove _argp_unlock_xxx.
14828
14829 [BZ #13559]
14830 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14831 * abilist/libBrokenLocale.abilist: Likewise.
14832 * abilist/libanl.abilist: Likewise.
14833 * abilist/libc.abilist: Likewise.
14834 * abilist/libcrypt.abilist: Likewise.
14835 * abilist/libdl.abilist: Likewise.
14836 * abilist/libm.abilist: Likewise.
14837 * abilist/libnsl.abilist: Likewise.
14838 * abilist/libpthread.abilist: Likewise.
14839 * abilist/libresolv.abilist: Likewise.
14840 * abilist/librt.abilist: Likewise.
14841 * abilist/libthread_db.abilist: Likewise.
14842 * abilist/libutil.abilist: Likewise.
14843 * abilist/libnss_db.abilist: New file.
14844
14845 * scripts/abilist.awk: Add support for indirect functions.
14846
14847 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14848
14849 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14850
14851 * shlib-versions: Remove entries for ports architectures.
14852
14853 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14854 files in ports.
14855 * elf/stackguard-macros.h: Remove support for IA-64.
14856 * elf/tst-auditmod1.c: Likewise.
14857 * sysdeps/generic/ldsodefs.h: Likewise.
14858
14859 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14860 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14861 configure files.
14862
14863 [BZ #13552]
14864 * configure.in: Remove --enable-omitfp support.
14865 * FAQ.in: Adjust.
14866 * config.make.in: Likewise.
14867 * Makeconfig: Likewise.
14868 * manual/install.texi: Likewise.
14869
14870 In case anyone cares, the IA-64 architecture could move to ports.
14871 * sysdeps/ia64/*: Removed.
14872 * sysdeps/unix/sysv/linux/ia64/*: Removed.
14873 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
14874
14875 [BZ #13555]
14876 * configure.in: Remove entries for unsupported architectures.
14877
14878 [BZ #13533]
14879 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14880 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14881 routines.
14882 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14883 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14884 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14885 fall back to using wcrtomb.
14886 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14887 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14888 renaming.
14889 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14890 * wcsmbs/tst-c16c32-1.c: New file.
14891
14892 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14893 local variable.
14894
14895 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14896
14897 * elf/tst-unique3.cc: Add explicit declaration of gets.
14898 * elf/tst-unique3lib.cc: Likewise.
14899 * elf/tst-unique3lib2.cc: Likewise.
14900 * elf/tst-unique4.cc: Likewise.
14901
14902 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14903
149042012-01-06 Joseph Myers <joseph@codesourcery.com>
14905
14906 [BZ #13566]
14907 * assert/assert.h (static_assert): Don't define for C++.
14908 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14909 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14910
149112012-01-03 Ulrich Drepper <drepper@gmail.com>
14912
14913 * iconv/loop.c (single loop): Fix assertion in storing of
14914 remaining bytes.
14915
14916 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14917
149182012-01-01 Ulrich Drepper <drepper@gmail.com>
14919
14920 * posix/getconf.c: Update copyright year.
14921 * nss/getent.c: Likewise.
14922 * nss/makedb.c: Likewise.
14923 * iconv/iconvconfig.c: Likewise.
14924 * iconv/iconv_prog.c: Likewise.
14925 * elf/ldconfig.c: Likewise.
14926 * elf/pldd.c: Likewise.
14927 * elf/sotruss.ksh: Likewise.
14928 * catgets/gencat.c: Likewise.
14929 * csu/version.c: Likewise.
14930 * elf/ldd.bash.in: Likewise.
14931 * elf/sprof.c (print_version): Likewise.
14932 * locale/programs/locale.c: Likewise.
14933 * locale/programs/localedef.c: Likewise.
14934 * login/programs/pt_chown.c: Likewise.
14935 * nscd/nscd.c (print_version): Likewise.
14936 * debug/xtrace.sh: Likewise.
14937 * malloc/memusage.sh: Likewise.
14938 * malloc/mtrace.pl: Likewise.
14939 * debug/catchsegv.sh: Likewise.
14940
149412011-12-30 Jakub Jelinek <jakub@redhat.com>
14942
14943 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14944 pure attribute.
14945
149462011-12-24 Ulrich Drepper <drepper@gmail.com>
14947
14948 [BZ #13533]
14949 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14950 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14951 transformations.
14952 * iconv/gconv_int.h: Likewise.
14953 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14954 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14955 from libc for GLIBC_2.16.
14956 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14957 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14958 * wcsmbs/uchar.h: Really define mbstate_t.
14959 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14960 * wcsmbs/c16rtomb.c: New file.
14961 * wcsmbs/mbrtoc16.c: New file.
14962 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14963 for C/POSIX locale.
14964 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14965 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14966
14967 * wcsmbs/wchar.h: Add missing __restrict.
14968
149692011-12-23 Ulrich Drepper <drepper@gmail.com>
14970
14971 [BZ #13532]
14972 * time/Makefile (routines): Add timespec_get.
14973 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14974 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14975 timespec for ISO C11.
14976 * time/timespec_get.c: New file.
14977 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14978 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14979
14980 [BZ #13531]
14981 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14982 * stdlib/stdlib.h: Declare aligned_alloc.
14983 * Versions.def: Add GLIBC_2.16 for libc.
14984 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14985
14986 [BZ 13527]
14987 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14988 ISO C11.
14989
14990 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
14991 code.
14992
14993 [BZ #13528]
14994 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14995
14996 [BZ #13529]
14997 * assert/assert.h (static_assert): Define.
14998
14999 * version.h: Update for 2.16 development version.
15000
15001 [BZ #13526]
15002 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15003 _ISOC11_SOURCE.
15004
15005 * version.h (RELEASE): Bump for 2.15 release.
15006 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15007
15008 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15009 Patch by Marek Polacek <mpolacek@redhat.com>.
15010
15011 * bits/byteswap.h: Protect long long constants with __extension__.
15012 * sysdeps/i386/bits/byteswap.h: Likewise.
15013 * sysdeps/ia64/bits/byteswap.h: Likewise.
15014 * sysdeps/s390/bits/byteswap.h: Likewise.
15015 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15016
150172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15018
15019 [BZ #13540]
15020 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15021 destination buffer.
15022 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15023
150242011-12-23 Marek Polacek <polacek@redhat.com>
15025
15026 * elf/dl-addr.c (determine_info): Add inline keyword.
15027 * elf/tst-auditmod4b.c (check_avx): Likewise.
15028 * elf/tst-auditmod6b.c (check_avx): Likewise.
15029 * elf/tst-auditmod6c.c (check_avx): Likewise.
15030 * elf/tst-auditmod7b.c (check_avx): Likewise.
15031
150322011-12-23 Ulrich Drepper <drepper@gmail.com>
15033
15034 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15035 !__SSE_MATH__.
15036
150372011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15038
15039 [BZ #13540]
15040 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15041 processing for last bytes.
15042
150432011-08-06 Bruno Haible <bruno@clisp.org>
15044
15045 [BZ #13061]
15046 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15047 U+0385, not to U+1FEE.
15048
15049 [BZ #13062]
15050 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15051 entry for U+00A5 U+0301.
15052
150532011-12-22 Ulrich Drepper <drepper@gmail.com>
15054
15055 [BZ #13166]
15056 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15057 buffer for the output is too small.
15058
15059 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15060 optimization.
15061
15062 [BZ #13185]
15063 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15064 SSE flags if possible.
15065
150662011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15067
15068 [BZ #13540]
15069 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15070 processing for last bytes.
15071
150722011-12-22 Joseph Myers <joseph@codesourcery.com>
15073
15074 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15075 (syscall-list-default-options, syscall-list-default-condition)
15076 (syscall-list-includes): Define.
15077 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15078 list of ABIs and options and #if conditions for each ABI. Do not
15079 handle common syscalls between ABIs specially.
15080 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15081 Remove.
15082 (syscall-list-variants, syscall-list-32bit-options)
15083 (syscall-list-32bit-condition, syscall-list-64bit-options)
15084 (syscall-list-64bit-condition): Define.
15085 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15086 (syscall-list-variants, syscall-list-32bit-options)
15087 (syscall-list-32bit-condition, syscall-list-64bit-options)
15088 (syscall-list-64bit-condition): Define.
15089 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15090 Remove.
15091 (syscall-list-variants, syscall-list-32bit-options)
15092 (syscall-list-32bit-condition, syscall-list-64bit-options)
15093 (syscall-list-64bit-condition): Define.
15094 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15095 Remove.
15096 (syscall-list-variants, syscall-list-32bit-options)
15097 (syscall-list-32bit-condition, syscall-list-64bit-options)
15098 (syscall-list-64bit-condition): Define.
15099
151002011-12-22 Ulrich Drepper <drepper@gmail.com>
15101
15102 * locale/iso-639.def: Add brx entry.
15103
15104 [BZ #13328]
15105 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15106 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15107
15108 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15109 __feraiseexcept_renamed.
15110
151112011-12-21 Ulrich Drepper <drepper@gmail.com>
15112
15113 [BZ #13538]
15114 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15115 EPOLLET with unsigned values.
15116 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15117 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15118
15119 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15120 to large cancellation.
15121 * math/s_cacoshf.c: Likewise.
15122 * math/s_cacoshl.c: Likewise.
15123
151242011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15125
15126 [BZ #13305]
15127 [BZ #12786]
15128 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15129 * math/s_cacoshf.c: Likewise.
15130 * math/s_cacoshl.c: Likewise.
15131
151322011-12-21 Ulrich Drepper <drepper@gmail.com>
15133
15134 [BZ #13439]
15135 * iconv/gconv.h: Define __GCONV_SWAP.
15136 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15137 * iconvdata/utf-16.c: Likewise.
15138 * iconvdata/utf-32.c: Likewise.
15139
151402011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15141
15142 [BZ #13524]
15143 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15144 numerator after shifting it by one limb.
15145
151462011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15147
15148 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15149 under [__USE_EXTERN_INLINES].
15150
151512011-12-17 Ulrich Drepper <drepper@gmail.com>
15152
15153 [BZ #13446]
15154 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15155
151562011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15157
15158 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15159 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15160 optimized code.
15161 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15162 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15163 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15164 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15165 for strncasecmp/strncasecmp_l compilation.
15166 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15167 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15168
151692011-12-08 Marek Polacek <mpolacek@redhat.com>
15170
15171 [BZ #13484]
15172 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15173 of __asm__.
15174
151752011-12-17 Ulrich Drepper <drepper@gmail.com>
15176
15177 [BZ #13506]
15178 * time/tzfile.c (__tzfile_read): Check values from file header.
15179
151802011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15181
15182 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15183 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15184 * powerpc/powerpc32/dl-start.S: Likewise.
15185 * powerpc/powerpc32/elf/start.S: Likewise.
15186 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15187 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15188 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15189 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15190 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15191 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15192 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15193 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15194 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15195 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15196 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15197 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15198 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15199 * powerpc/powerpc32/memset.S: Likewise.
15200 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15201 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15202 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15203 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15204 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15205 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15206 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15207 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15208 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15209 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15210 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15211 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15212 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15213
152142011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15215
15216 * math/libm-test.inc: Added more nearbyint tests.
15217 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15218 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15219 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15220 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15221
152222011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15223
15224 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15225 FD_CLOEXEC.
15226
152272011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15228
15229 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15230 Add wcscpy-ssse3 wcscpy-c.
15231 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15232 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15233 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15234 * sysdeps/x86_64/wcschr.S: New file.
15235 * sysdeps/x86_64/wcsrchr.S: New file.
15236 * string/test-strcmp.c: Remove checking of wcscmp function for
15237 wrong alignments.
15238 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15239 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15240 wcsrchr-sse2 wcsrchr-c.
15241 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15242 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15243 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15244 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15245 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15246 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15247 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15248 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15249 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15250 * wcsmbc/wcschr.c (WCSCHR): New macro.
15251
152522011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15253
15254 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15255 * wcsmbs/test-wcsrchr.c: New file.
15256 * string/test-strrchr.c: Add wcsrchr support.
15257 (WIDE): New macro.
15258 * wcsmbs/test-wcscpy.c: New file.
15259 * string/test-strcpy.c: Add wcscpy support.
15260 (WIDE): New macro.
15261
152622011-12-10 Ulrich Drepper <drepper@gmail.com>
15263
15264 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15265 the inner loop.
15266
152672011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15268
15269 [BZ #13472]
15270 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15271
152722011-12-04 Ulrich Drepper <drepper@gmail.com>
15273
15274 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
15275 Minor optimizations.
15276
15277 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15278 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15279 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15280
152812011-12-03 Ulrich Drepper <drepper@gmail.com>
15282
15283 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15284 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15285 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15286 for gcc to avoid warnings.
15287 * inet/Makefile (tests): Add tst-checks.
15288 * inet/tst-checks.c: New file.
15289
15290 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15291 warning.
15292
15293 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15294 __wmemcmp_sse2.
15295
15296 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15297 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15298
15299 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15300
153012011-12-02 Ulrich Drepper <drepper@gmail.com>
15302
15303 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15304 problem.
15305
15306 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15307
153082011-11-29 Joseph Myers <joseph@codesourcery.com>
15309
15310 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15311 conditional on GCC version.
15312 (__arch_compare_and_exchange_val_8_acq)
15313 (__arch_compare_and_exchange_val_16_acq)
15314 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15315 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15316 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15317
153182011-12-02 Joseph Myers <joseph@codesourcery.com>
15319
15320 * sysdeps/sh/backtrace.c: New file.
15321
153222011-12-02 Andreas Schwab <schwab@redhat.com>
15323
15324 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
15325 parenthesis.
15326
153272011-12-01 Andreas Schwab <schwab@redhat.com>
15328
15329 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15330 falling back to utime.
15331
153322011-11-30 Andreas Schwab <schwab@redhat.com>
15333
15334 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
15335 expectations for float.
15336
153372011-11-29 Andreas Schwab <schwab@redhat.com>
15338
15339 * locale/weight.h (findidx): Add parameter len.
15340 * locale/weightwc.h (findidx): Likewise.
15341 * posix/fnmatch_loop.c (FCT): Adjust caller.
15342 * posix/regcomp.c (build_equiv_class): Likewise.
15343 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
15344 * posix/regexec.c (check_node_accept_bytes): Likewise.
15345 * string/strcoll_l.c (STRCOLL): Likewise.
15346 * string/strxfrm_l.c (STRXFRM): Likewise.
15347
153482011-11-17 Ulrich Drepper <drepper@gmail.com>
15349
15350 * Makefile.in: Remove CVSOPT handling.
15351 * configure.in: Remove use of AC_REVISION.
15352 * iconvdata/Makefile (distribute): No need to filter out CVS.
15353 * scripts/list-sources.sh: Remove CVS, subversion and monotone
15354 handling.
15355
153562011-11-16 Andreas Schwab <schwab@redhat.com>
15357
15358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
15359 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
15360 [USE_AS_STRNCASECMP_L]: Likewise.
15361 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
15362 NO_TLS_DIRECT_SEG_REFS.
15363 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
15364 Fix argument offsets for non-PIC.
15365 [USE_AS_STRNCASECMP_L]: Likewise.
15366 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
15367 NO_TLS_DIRECT_SEG_REFS.
15368
153692011-11-15 Ulrich Drepper <drepper@gmail.com>
15370
15371 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
15372 O_CLOEXEC.
15373 * locale/loadlocale.c (_nl_load_locale): Likewise.
15374
153752011-11-15 Andreas Schwab <schwab@redhat.com>
15376
15377 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
15378 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
15379 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
15380 (SYSCALL_GETTIME): Set errno on error.
15381
15382 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
15383 count references to noai6ai_cached.
15384
153852011-11-15 Ulrich Drepper <drepper@gmail.com>
15386
15387 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
15388
15389 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
15390 FD_CLOEXEC for /proc/self/maps.
15391
15392 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
15393 FD_CLOEXEC for /proc/meminfo.
15394
15395 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
15396 gai.conf.
15397
15398 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
15399 FD_CLOEXEC for given file.
15400
15401 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
15402
15403 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
15404 FD_CLOEXEC for /etc/hosts.
15405 (_gethtent): Likewise.
15406
15407 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
15408
15409 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
15410 cancellation and set FD_CLOEXEC for /etc/netgroup.
15411
15412 * nss/nss_files/files-key.c (search): Don't allow cancellation when
15413 reading /etc/publickey.
15414
15415 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
15416 allow cancellation when reading /etc/group.
15417
15418 * nss/nss_files/files-alias.c (internal_setent): Don't allow
15419 cancellation.
15420 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
15421
15422 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
15423 when using data file.
15424
15425 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
15426
15427 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
15428 (write_nis_obj): Use "c" and "e" in fopen.
15429
15430 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
15431
15432 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
15433
15434 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
15435
15436 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
15437
15438 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
15439 locale.alias.
15440
15441 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
15442
15443 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
15444
15445 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
15446
15447 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
15448 file parsing and set FD_CLOEXEC.
15449
154502011-11-14 Ulrich Drepper <drepper@gmail.com>
15451
15452 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
15453
154542011-11-14 Andreas Schwab <schwab@redhat.com>
15455
15456 * malloc/arena.c (arena_get2): Don't call reused_arena when
15457 _int_new_arena failed.
15458
154592011-11-14 Ulrich Drepper <drepper@gmail.com>
15460
15461 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
15462 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
15463 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
15464 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15465 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15466 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
15467 to compile strcasecmp and strncasecmp.
15468 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
15469 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
15470
15471 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
15472
154732011-11-13 Ulrich Drepper <drepper@gmail.com>
15474
15475 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
15476 locale-defines.sym to gen-as-const-headers.
15477 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
15478 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
15479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
15480 to compile strcasecmp and strncasecmp.
15481 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
15482 strcasecmp_l and strncasecmp_l.
15483 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
15484 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
15485 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
15486 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
15487 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
15488 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
15489 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
15490 * sysdeps/i386/i686/multiarch/strncase.S: New file.
15491 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
15492 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
15493 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
15494
154952011-11-12 Ulrich Drepper <drepper@gmail.com>
15496
15497 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
15498 result of SYSDEP_GETTIME_CPU to retval.
15499 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
15500 parameter list to macro. Remove trailing semicolon. Adjust users.
15501
15502 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
15503 variable.
15504
15505 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
15506 mantissa words.
15507 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15508
15509 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
15510 from unused variable.
15511
15512 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
15513 DWARF definitions.
15514 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
15515 for assembling.
15516
15517 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
15518 over namespaces.
15519
15520 * sunrpc/rpc_prot.c (rejected): Fix case value.
15521
15522 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
15523 unsigned long long int to avoid warnings in shift.
15524
15525 * posix/regex_internal.c (re_string_reconstruct): Actually use result
15526 of use of trans.
15527 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
15528 variable tmp.
15529
15530 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
15531 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15532 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15533
15534 * nis/nis_table.c (nis_list): Use variable of correct type for
15535 result of __follow_path call.
15536
155372011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15538
15539 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
15540 of math functions ceil, trunc, floor, round, and sqrt, when
15541 avaliable on the platform.
15542 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
15543 name clash.
15544 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15545 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15546 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15547
155482011-10-30 Marek Polacek <mpolacek@redhat.com>
15549
15550 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
15551 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15552
155532011-11-11 Roland McGrath <roland@hack.frob.com>
15554
15555 * include/unistd.h: Fix __readlink return type.
15556 Reported by Chris Metcalf <cmetcalf@tilera.com>.
15557
155582011-11-11 Ulrich Drepper <drepper@gmail.com>
15559
15560 * stdlib/ucontext.h: Undo last change for makecontext.
15561
155622011-11-11 Andreas Schwab <schwab@redhat.com>
15563
15564 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
15565
15566 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
15567 * setjmp/setjmp.h: Mark functions as non-leaf.
15568 * setjmp/bits/setjmp2.h: Likewise.
15569 * stdlib/ucontext.h: Likewise.
15570
155712011-11-10 Andreas Schwab <schwab@redhat.com>
15572
15573 * malloc/arena.c (_int_new_arena): Don't increment narenas.
15574 (reused_arena): Don't check arena limit.
15575 (arena_get2): Atomically check arena limit.
15576
155772011-11-08 Ulrich Drepper <drepper@gmail.com>
15578
15579 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
15580 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
15581
15582 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
15583 instructions.
15584
155852011-11-07 Andreas Schwab <schwab@redhat.com>
15586
15587 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
15588 handler when locking.
15589
15590 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15591 Fix size of allocated buffer.
15592
155932011-11-04 Andreas Schwab <schwab@redhat.com>
15594
15595 [BZ #10103]
15596 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
15597 declarations for long double functions.
15598 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
15599
15600 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
15601
156022011-11-03 Andreas Schwab <schwab@redhat.com>
15603
15604 * nscd/nscd.c (main): Don't start AVC thread until credentials are
15605 installed.
15606
15607 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
15608 is disabled.
15609
156102011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15611
15612 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
15613
156142011-11-01 Andreas Schwab <schwab@linux-m68k.org>
15615
15616 * include/alloca.h (stackinfo_alloca_round): Define.
15617 (extend_alloca): Use it.
15618 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
15619 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
15620 here.
15621
15622 * scripts/check-local-headers.sh: Ignore libaudit.h.
15623
15624 * nscd/Makefile (extra-objs): Make recursively expanded.
15625
156262011-11-01 Ulrich Drepper <drepper@gmail.com>
15627
15628 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
15629 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15630
15631 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
15632 * posix/tst-rfc3484-2.c: Likewise.
15633 * posix/tst-rfc3484-3.c: Likewise.
15634
15635 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15636 process_vm_writev.
15637 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
15638 process_vm_writev.
15639 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
15640 process_vm_writev from libc using GLIBC_2.15 version.
15641
15642 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
15643
156442011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
15645
15646 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
15647 stack usage.
15648
156492011-10-31 Ulrich Drepper <drepper@gmail.com>
15650
15651 [BZ #13367]
15652 * nss/getent.c (initgroups_keys): Show error message in case no group
15653 names are given.
15654
15655 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
15656 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
15657 __bump_nl_timestamp.
15658 * nscd/connections (nscd_init): When host database is served open
15659 netlink socket and request notification about configuration changes.
15660 (main_loop_poll): Track netlink file descriptor and bump timestamp
15661 in case data becomes available.
15662 (main_loop_epoll): Likewise.
15663 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
15664 (database_pers_head): Add extra_data fileds.
15665 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
15666 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
15667 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
15668 Adjust caller.
15669 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
15670 in6ai data, call __free_in6ai.
15671 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
15672 Add -DHAVE_NETLINK.
15673 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
15674 interface information. Reuse previous data if netlink timestamp
15675 is not changed.
15676 (__bump_nl_timestamp): New function.
15677 (__free_in6ai): New function.
15678
156792011-10-30 Ulrich Drepper <drepper@gmail.com>
15680
15681 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
15682 close_not_cancel_no_status here.
15683 (__check_pf): Reorganize code a bit to not call close twice if OOM.
15684
156852011-10-29 Ulrich Drepper <drepper@gmail.com>
15686
15687 [BZ #13276]
15688 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
15689 return value.
15690
15691 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
15692 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
15693 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
15694
156952011-07-03 Andreas Jaeger <aj@suse.de>
15696
15697 [BZ #10709]
15698 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
15699 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
15700 * math/libm-test.inc (sin_test): Add test case.
15701
157022011-10-29 Ulrich Drepper <drepper@gmail.com>
15703
15704 [BZ #13337]
15705 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15706 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15707
15708 * elf/chroot_canon.c (chroot_canon): Cleanups.
15709
15710 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15711
15712 [BZ #13335]
15713 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15714 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15715
15716 * string/test-strchr.c: Make usable for strchrnul testing.
15717 * string/test-strchrnul.c: New file.
15718 * string/Makefile (strop-tests): Add strchrnul.
15719
15720 * po/it.po: Update from translation team.
15721 * po/es.po: Likewise.
15722
157232011-10-28 Ulrich Drepper <drepper@gmail.com>
15724
15725 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15726 the three constants needed as parameters. Drop the others.
15727 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15728 __m128i_strloadu_tolower.
15729 Create and initialize variable zero and use it in all the places
15730 where _mm_setzero_si128 was used.
15731
15732 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15733 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15734 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15735 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15736 anymore.
15737 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15738 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15739 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15740 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15741 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15742 __mpranred, __mptan.
15743 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15744 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15745 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15746 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15747 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15748 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15749 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15750 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15751 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15752
157532011-10-28 Andreas Schwab <schwab@redhat.com>
15754
15755 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15756 redefine if SHARED.
15757 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15758
15759 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15760 wide char related routines to wcsmbs subdir.
15761
157622011-10-27 Andreas Schwab <schwab@redhat.com>
15763
15764 [BZ #13344]
15765 * misc/sys/cdefs.h (__THROWNL): Define.
15766 * posix/unistd.h: Use __THREADNL instead of __THREAD
15767 for memory synchronization functions.
15768
157692011-10-26 Roland McGrath <roland@hack.frob.com>
15770
15771 [BZ #13349]
15772 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15773 doesn't exist.
15774 * manual/stdio.texi (Obstack Streams): Node removed.
15775
157762011-10-26 Andreas Schwab <schwab@redhat.com>
15777
15778 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15779 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15780 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15781
15782 * math/math_private.h (math_force_eval): Allow non-addressable
15783 arguments.
15784 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15785
157862011-10-25 Ulrich Drepper <drepper@gmail.com>
15787
15788 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15789 file is not needed.
15790
15791 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15792 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15793 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15794 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15795 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15796 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15797 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15798 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15799 Add AVX variants.
15800 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15801 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15802 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15803 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15804 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15805 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15806 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15807 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15808 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15809 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15810 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15811 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15812 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15813 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15814 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15815 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15816 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15817 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15818 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15819
15820 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15821 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15822
15823 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15824 place. Use VEX encoding when compiling for AVX.
15825
158262011-10-25 Andreas Schwab <schwab@redhat.com>
15827
15828 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15829 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15830
15831 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15832
158332011-10-25 Ulrich Drepper <drepper@gmail.com>
15834
15835 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
15836 useless if() expression.
15837 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15838 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15839 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15840 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15841 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15842 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15843 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15844 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15845 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15846 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15847 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15848 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15849 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15850 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15851 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15852 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15853 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15854 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15855 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15856
15857 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15858
158592011-10-25 Andreas Schwab <schwab@redhat.com>
15860
15861 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15862 condition.
15863 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15864
158652011-10-25 Ulrich Drepper <drepper@gmail.com>
15866
15867 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15868 .text section. Avoid duplicate constants.
15869 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15870 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15871 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15872 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15873 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15874 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15875 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15876 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15877 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15878 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15879 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15880 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15881 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15882 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15883 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15884 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15885 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15886 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15887 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15888 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15889 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15890 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15891 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15892 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15893 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15894 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15895 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15896 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15897 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15898 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15899 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15900 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15901 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15902 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15903 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15904 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15905 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15906 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15907 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15908 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15909 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15910 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15911 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15912 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15913 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15914
159152011-10-24 Ulrich Drepper <drepper@gmail.com>
15916
15917 * sysdeps/x86_64/dla.h: Move to ...
15918 * sysdeps/x86_64/fpu/dla.h: ...here.
15919 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15920 situations. Use __builtin_fma only for gcc 4.6 and up.
15921
15922 * config.make.in: Add have-mfma4 entry.
15923 * configure.in: Substitute libc_cv_cc_fma4.
15924 * math/Makefile (dbl-only-routines): Add sincostab.
15925 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15926 Use __sincostab not sincos.
15927 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15928 name is a macro.
15929 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15930 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15931 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15933 using __copysign.
15934 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15935 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15936 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15937 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15938 and __inv.
15939 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15940 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15941 __copysign.
15942 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15943 define aliases when function name is a macro.
15944 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15945 sysdeps/ieee754/dbl-64/sincos.tbl.
15946 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15947 fma4-enabled routines.
15948 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15949 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15950 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15951 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15952 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15953 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15954 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15955 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15956 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15957 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15958 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15959 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15960 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15961 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15962 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15963 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15964 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15965 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15966 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15967 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15968 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15969 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15970 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15971 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15972 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15973 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15974 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15975 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15976 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15977 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15978
15979 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15980 rename.
15981 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15982 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15983 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15984 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15985 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15986 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15987 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15988 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15989
159902011-10-24 Andreas Schwab <schwab@redhat.com>
15991
15992 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15993
159942011-10-23 Ulrich Drepper <drepper@gmail.com>
15995
15996 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15997
15998 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15999 prediction.
16000 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16001
16002 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16003 Remove unused variable magic_bits.
16004 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16005
16006 * string/strnlen.c: Define and use STRNLEN macro.
16007 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16008 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16009 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16010 * wcsmbs/wcslen.c: Define and use WCSLEN.
16011 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16012 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16013 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16014 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16015 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16016 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16017 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16018
160192011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16020
16021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16022 strnlen-sse2-no-bsf.
16023 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16024 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16025 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16026 Add strnlen support.
16027 (USE_AS_STRNLEN): New macro.
16028 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16029 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16030 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16031 * sysdeps/x86_64/wcslen.S: New file.
16032
160332011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16034
16035 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16036 XMM-moves are used for copying on small sizes.
16037
160382011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16039
16040 * wcsmbs/Makefile (strop-tests): Add wcschr.
16041 * wcsmbs/test-wcschr.c: New file.
16042 * string/test-strchr.c: Update.
16043 Add wcschr support.
16044 (WIDE): New macro.
16045
160462011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16047
16048 * wcsmbs/Makefile (strop-tests): Add wcslen.
16049 * wcsmbs/test-wcslen.c: New file.
16050 * string/test-strlen.c: Update.
16051 Add wcslen support.
16052 (WIDE): New macro.
16053
160542011-10-23 Ulrich Drepper <drepper@gmail.com>
16055
16056 * po/it.po: Update from translation team.
16057
160582011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16059
16060 * sysdeps/x86_64/wcscmp.S: Update.
16061 Fix wrong comparison semantics.
16062 wcscmp shall use signed comparison not unsigned.
16063 Don't use substraction to avoid overflow bug.
16064 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16065 * wcsmbc/wcscmp.c: Likewise.
16066 * string/test-strcmp.c: Likewise.
16067 Add new tests to check cases with negative values.
16068
160692011-10-23 Ulrich Drepper <drepper@gmail.com>
16070
16071 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16072 * sysdeps/x86_64/dla.h: ...here. New file.
16073 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16074 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16075 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16076 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16078 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16079 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16080 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16081 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16082
160832011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16084
16085 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16086 __ynl_finite aliases.
16087
160882011-10-22 Ulrich Drepper <drepper@gmail.com>
16089
16090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16091
16092 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16093 define DLA_FMA.
16094 [DLA_FMA] (EMULV): Use DLA_FMA.
16095 [DLA_FMA] (MUL12): Use EMULV.
16096 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16097 that are not needed.
16098 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16100 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16102 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16103 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16104 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16105
161062011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16107
16108 * math/s_nan.c: Undef __nan.
16109 * math/s_nanf.c: Undef __nanf.
16110 * math/s_nanl.c: Undef __nanl.
16111 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16112 "math_private.h".
16113
161142011-10-22 Ulrich Drepper <drepper@gmail.com>
16115
16116 * math/s_catan.c: Add branch predictions.
16117 * math/s_catanf.c: Likewise.
16118 * math/s_catanh.c: Likewise.
16119 * math/s_catanhf.c: Likewise.
16120 * math/s_catanhl.c: Likewise.
16121 * math/s_catanl.c: Likewise.
16122 * math/s_cexp.c: Likewise.
16123 * math/s_cexpf.c: Likewise.
16124 * math/s_cexpl.c: Likewise.
16125 * math/s_clog.c: Likewise.
16126 * math/s_clog10.c: Likewise.
16127 * math/s_clog10f.c: Likewise.
16128 * math/s_clog10l.c: Likewise.
16129 * math/s_clogf.c: Likewise.
16130 * math/s_clogl.c: Likewise.
16131 * math/s_csqrt.c: Likewise.
16132 * math/s_csqrtf.c: Likewise.
16133 * math/s_csqrtl.c: Likewise.
16134 * math/s_ctanf.c: Likewise.
16135 * math/s_ctanh.c: Likewise.
16136 * math/s_ctanhf.c: Likewise.
16137 * math/s_ctanhl.c: Likewise.
16138 * math/s_ctanl.c: Likewise.
16139
16140 * math/math_private.h: Define __nan, __nanf, __nanl.
16141 * math/s_cacosh.c: Include <math_private.h>.
16142 * math/s_cacoshl.c: Likewise.
16143 * math/s_casinh.c: Likewise.
16144 * math/s_casinhf.c: Likewise.
16145 * math/s_casinhl.c: Likewise.
16146 * math/s_ccos.c: Rely entire on ccosh.
16147 * math/s_ccosf.c: Rely entire on ccoshf.
16148 * math/s_ccosl.c: Rely entirely on ccoshl.
16149 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16150 Remove tests for FE_INVALID.
16151 * math/s_ccoshf.c: Likewise.
16152 * math/s_ccoshl.c: Likewise.
16153 * math/s_csin.c: Likewise.
16154 * math/s_csinf.c: Likewise.
16155 * math/s_csinh.c Likewise.
16156 * math/s_csinhf.c: Likewise.
16157 * math/s_csinhl.c: Likewise.
16158 * math/s_csinl.c: Likewise.
16159 * math/s_ctan.c: Likewise.
16160 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16161 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16162 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16163
161642011-10-21 Ulrich Drepper <drepper@gmail.com>
16165
16166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16167 compilation problems.
16168
16169 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16170 __builtin_expect.
16171
161722011-10-20 Ulrich Drepper <drepper@gmail.com>
16173
16174 * sysdeps/i386/configure.in: Test for -mfma4 option.
16175 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16176 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16177 COMMON_CPUID_INDEX_80000001.
16178 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16179 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16180 use it if FMA3 is not supported.
16181 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16182
16183 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16184 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16185
161862011-10-20 Andreas Schwab <schwab@redhat.com>
16187
16188 [BZ #12892]
16189 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16190 it would create a cycle with a link time dependency.
16191
161922011-10-19 Ulrich Drepper <drepper@gmail.com>
16193
16194 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16195 instruction.
16196 * string/Makefile (strop-tests): Add rawmemchr.
16197 * string/test-rawmemchr.c: New file.
16198
16199 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16200 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16201 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16202 when compiling str{,n}casecmp and when AVX is available. Hook up
16203 new optimized code in initializers.
16204
162052011-10-19 Andreas Schwab <schwab@redhat.com>
16206
16207 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16208 __feraiseexcept instead of feraiseexcept.
16209
162102011-10-18 Ulrich Drepper <drepper@gmail.com>
16211
16212 * math/math_private.h: Define defaults for libc_fetestexcept and
16213 libc_feupdateenv.
16214 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16215 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16216 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16217 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16218 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16219 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16220 libc_fetestexcept and libc_feupdateenv.
16221
16222 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16223 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16224 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16225 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16226 libc_feholdexcept_setround.
16227
16228 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16229 Add s_nearbyint-c and s_nearbyintf-c.
16230 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16231 nearbyintf inlines.
16232 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16233 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16234 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16235 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16236
16237 * math/math_private.h: Define defaults for libc_fegetround,
16238 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16239 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16240 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16241 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16242 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16243 standard functions.
16244 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16245 Remove comments and hacks for old compiler versions.
16246 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16247 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16248 libc_feholdexceptl.
16249
162502011-10-18 Andreas Schwab <schwab@redhat.com>
16251
16252 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
16253 (__feraiseexcept_renamed): Add __NTH.
16254 (feraiseexcept): Add __NTH. Rename local variables to fix
16255 namespace violations.
16256
162572011-10-17 Ulrich Drepper <drepper@gmail.com>
16258
16259 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16260
16261 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16262
16263 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16264 recently added interfaces.
16265 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16266
16267 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16268 about macro parameter expansion.
16269
16270 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16271 __NO_MATH_INLINES is defined. Cleanups.
16272
16273 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16274 and __floorf is target has SSE4.1.
16275 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16276 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16277 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16278 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16279
16280 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16281 name.
16282 (floorf): Likewise.
16283
16284 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16285
162862011-10-17 Andreas Schwab <schwab@redhat.com>
16287
16288 * misc/sys/cdefs.h: Fix last change.
16289
16290 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16291 database lookup.
16292
162932011-10-16 Ulrich Drepper <drepper@gmail.com>
16294
16295 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16296
16297 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16298 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16299 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16300 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16301 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16302 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16303 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16304 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16305 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16306 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16307 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16308 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16309 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16310 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16311 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16312 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16313 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16314 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16315 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16316 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16317 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16318 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16319
16320 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16321 ceil, ceilf, floor, floorf.
16322
16323 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16324 Perform IRELATIVE relocations last.
16325
16326 * elf/do-rel.h: Add another parameter nrelative, replacing the
16327 local variable with the same name. Change name of the function
16328 to end in Rel or Rela (uppercase).
16329 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16330 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
16331 elf_dynamic_do_##reloc function.
16332
163332011-10-15 Ulrich Drepper <drepper@gmail.com>
16334
16335 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
16336 is sufficient, at least on modern CPUs.
16337
16338 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
16339
16340 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
16341 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
16342
16343 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
16344 __expl_finite.
16345 * math/bits/math-finite.h: Add entries for exp.
16346 * math/e_expl.c: Add __*_finite alias.
16347 * sysdeps/i386/fpu/e_exp.S: Likewise.
16348 * sysdeps/i386/fpu/e_expf.S: Likewise.
16349 * sysdeps/i386/fpu/e_expl.c: Likewise.
16350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16351 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16352 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16353 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16354 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
16355 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16356 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16357
16358 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
16359 is sufficient, at least on modern CPUs.
16360
16361 * ctype/ctype-info.c (__ctype_init): Define.
16362 * include/ctype.h (__ctype_init): Declare.
16363 (__ctype_b_loc): The variable is always initialized.
16364 (__ctype_toupper_loc): Likewise.
16365 (__ctype_tolower_loc): Likewise.
16366 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
16367 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
16368
163692011-10-15 Andreas Schwab <schwab@linux-m68k.org>
16370
16371 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
16372
16373 * configure.in: Also look in $cxxmachine/include for C++ system
16374 headers.
16375
163762011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16377
16378 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
16379 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
16380 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
16381 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
16382 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
16383 (USE_AS_WMEMCMP): New macro.
16384 Fixing indents.
16385 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
16386 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
16387 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
16388 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
16389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16390 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
16391 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
16392 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
16393 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
16394 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
16395 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
16396 (USE_AS_WMEMCMP): New macro.
16397 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
16398 * sysdeps/string/test-memcmp.c: Update.
16399 Fix simple_wmemcmp.
16400 Add new tests.
16401 * wcsmbs/wmemcmp.c: Update.
16402 (WMEMCMP): New macro.
16403 Fix overflow bug.
16404
164052011-10-12 Andreas Jaeger <aj@suse.de>
16406
16407 [BZ #13268]
16408 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
16409
164102011-10-15 Ulrich Drepper <drepper@gmail.com>
16411
16412 * libio/iofwide.c (do_length): Avoid warning.
16413
16414 * ctype/ctype.h (__isctype_f): Add missing __THROW.
16415
164162011-10-14 Ulrich Drepper <drepper@gmail.com>
16417
16418 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
16419
16420 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
16421 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
16422 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
16423 * sysdeps/i386/i686/fpu/e_log.S: New file.
16424 * sysdeps/i386/i686/fpu/e_logf.S: New file.
16425 * sysdeps/i386/i686/fpu/e_logl.S: New file.
16426
16427 * ctype/ctype.h: Add support for inlined isXXX functions when
16428 compiling C++ code.
16429
164302011-10-14 Andreas Schwab <schwab@redhat.com>
16431
16432 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16433
16434 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
16435
164362011-10-13 Roland McGrath <roland@hack.frob.com>
16437
16438 [BZ #13291]
16439 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
16440
164412011-10-13 Andreas Schwab <schwab@redhat.com>
16442
16443 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
16444 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
16445 feraiseexcept.
16446
16447 * sysdeps/x86_64/memrchr.S: Check for zero size.
16448
16449 * string/stratcliff.c: Add memrchr tests.
16450
164512011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16452
16453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16454 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
16455 rawmemchr-sse2 rawmemchr-sse2-bsf.
16456 * sysdeps/i386/i686/multiarch/memchr.S: New file.
16457 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
16458 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
16459 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
16460 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
16461 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
16462 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
16463 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
16464 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
16465 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
16466 * string/memrchr.c (MEMRCHR): New macro.
16467
164682011-10-12 Ulrich Drepper <drepper@gmail.com>
16469
16470 Add integration with gcc's -ffinite-math-only and optimize wrapper
16471 functions in libm.
16472 * Versions.def: Define GLIBC_2.15 version for libm.
16473 * math/Makefile (headers): Add bits/math-finite.h.
16474 * math/bits/math-finite.h: New file.
16475 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
16476 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
16477 * math/e_acoshl.c: Add __*_finite alias.
16478 * math/e_acosl.c: Likewise.
16479 * math/e_asinl.c: Likewise.
16480 * math/e_atan2l.c: Likewise.
16481 * math/e_atanhl.c: Likewise.
16482 * math/e_coshl.c: Likewise.
16483 * math/e_exp10.c: Likewise.
16484 * math/e_exp10f.c: Likewise.
16485 * math/e_exp10l.c: Likewise.
16486 * math/e_exp2l.c: Likewise.
16487 * math/e_fmodl.c: Likewise.
16488 * math/e_gammal_r.c: Likewise.
16489 * math/e_hypotl.c: Likewise.
16490 * math/e_j0l.c: Likewise.
16491 * math/e_j1l.c: Likewise.
16492 * math/e_jnl.c: Likewise.
16493 * math/e_lgammal_r.c: Likewise.
16494 * math/e_log10l.c: Likewise.
16495 * math/e_log2l.c: Likewise.
16496 * math/e_logl.c: Likewise.
16497 * math/e_powl.c: Likewise.
16498 * math/e_sinhl.c: Likewise.
16499 * math/e_sqrtl.c: Likewise.
16500 * math/e_scalb.c: Completely rewritten and optimized.
16501 * math/e_scalbf.c: Likewise.
16502 * math/e_scalbl.c: Likewise.
16503 * math/w_acos.c: Likewise.
16504 * math/w_acosf.c: Likewise.
16505 * math/w_acosl.c: Likewise.
16506 * math/w_acosh.c: Likewise.
16507 * math/w_acoshf.c: Likewise.
16508 * math/w_acoshl.c: Likewise.
16509 * math/w_asin.c: Likewise.
16510 * math/w_asinf.c: Likewise.
16511 * math/w_asinl.c: Likewise.
16512 * math/w_atan2.c: Likewise.
16513 * math/w_atan2f.c: Likewise.
16514 * math/w_atan2l.c: Likewise.
16515 * math/w_atanh.c: Likewise.
16516 * math/w_atanhf.c: Likewise.
16517 * math/w_atanhl.c: Likewise.
16518 * math/w_exp10.c: Likewise.
16519 * math/w_exp10f.c: Likewise.
16520 * math/w_exp10l.c: Likewise.
16521 * math/w_fmod.c: Likewise.
16522 * math/w_fmodf.c: Likewise.
16523 * math/w_fmodl.c: Likewise.
16524 * math/w_j0.c: Likewise.
16525 * math/w_j0f.c: Likewise.
16526 * math/w_j0l.c: Likewise.
16527 * math/w_j1.c: Likewise.
16528 * math/w_j1f.c: Likewise.
16529 * math/w_j1l.c: Likewise.
16530 * math/w_jn.c: Likewise.
16531 * math/w_jnf.c: Likewise.
16532 * math/w_log.c: Likewise.
16533 * math/w_logf.c: Likewise.
16534 * math/w_logl.c: Likewise.
16535 * math/w_log10.c: Likewise.
16536 * math/w_log10f.c: Likewise.
16537 * math/w_log10l.c: Likewise.
16538 * math/w_log2.c: Likewise.
16539 * math/w_log2f.c: Likewise.
16540 * math/w_log2l.c: Likewise.
16541 * math/w_pow.c: Likewise.
16542 * math/w_powf.c: Likewise.
16543 * math/w_powl.c: Likewise.
16544 * math/w_remainder.c: Likewise.
16545 * math/w_remainderf.c: Likewise.
16546 * math/w_remainderl.c: Likewise.
16547 * math/w_scalb.c: Likewise.
16548 * math/w_scalbf.c: Likewise.
16549 * math/w_scalbl.c: Likewise.
16550 * math/w_sqrt.c: Likewise.
16551 * math/w_sqrtf.c: Likewise.
16552 * math/w_sqrtl.c: Likewise.
16553 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
16554 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
16555 used.
16556 * math/math_private.h: Declare __kernel_standard_f.
16557 * math/w_cosh.c: Remove cruft and optimize a bit.
16558 * math/w_coshf.c: Likewise.
16559 * math/w_coshl.c: Likewise.
16560 * math/w_exp2.c: Likewise.
16561 * math/w_exp2f.c: Likewise.
16562 * math/w_exp2l.c: Likewise.
16563 * math/w_hypot.c: Likewise.
16564 * math/w_hypotf.c: Likewise.
16565 * math/w_hypotl.c: Likewise.
16566 * math/w_lgamma.c: Likewise.
16567 * math/w_lgamma_r.c: Likewise.
16568 * math/w_lgammaf.c: Likewise.
16569 * math/w_lgammaf_r.c: Likewise.
16570 * math/w_lgammal.c: Likewise.
16571 * math/w_lgammal_r.c: Likewise.
16572 * math/w_sinh.c: Likewise.
16573 * math/w_sinhf.c: Likewise.
16574 * math/w_sinhl.c: Likewise.
16575 * math/w_tgamma.c: Likewise.
16576 * math/w_tgammaf.c: Likewise.
16577 * math/w_tgammal.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16579 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16580 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
16581 Minor optimizations. Pretty printing. Remove cruft.
16582 * sysdeps/i386/fpu/e_acosf.S: Likewise.
16583 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16584 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16585 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16586 * sysdeps/i386/fpu/e_acosl.c: Likewise.
16587 * sysdeps/i386/fpu/e_asin.S: Likewise.
16588 * sysdeps/i386/fpu/e_asinf.S: Likewise.
16589 * sysdeps/i386/fpu/e_atan2.S: Likewise.
16590 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
16591 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
16592 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16593 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16594 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16595 * sysdeps/i386/fpu/e_exp10.S: Likewise.
16596 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
16597 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
16598 * sysdeps/i386/fpu/e_exp2.S: Likewise.
16599 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
16600 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
16601 * sysdeps/i386/fpu/e_fmod.S: Likewise.
16602 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
16603 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
16604 * sysdeps/i386/fpu/e_hypot.S: Likewise.
16605 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
16606 * sysdeps/i386/fpu/e_log.S: Likewise.
16607 * sysdeps/i386/fpu/e_log10.S: Likewise.
16608 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16609 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16610 * sysdeps/i386/fpu/e_log2.S: Likewise.
16611 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16612 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16613 * sysdeps/i386/fpu/e_logf.S: Likewise.
16614 * sysdeps/i386/fpu/e_logl.S: Likewise.
16615 * sysdeps/i386/fpu/e_pow.S: Likewise.
16616 * sysdeps/i386/fpu/e_powf.S: Likewise.
16617 * sysdeps/i386/fpu/e_powl.S: Likewise.
16618 * sysdeps/i386/fpu/e_remainder.S: Likewise.
16619 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
16620 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
16621 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16622 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16623 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16624 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
16625 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
16626 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
16627 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16628 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16631 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16632 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16633 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16634 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16635 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16636 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16637 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16638 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16639 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16640 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16641 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16642 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16643 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16644 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16645 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16646 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16647 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16648 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16649 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16650 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16651 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16652 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16653 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16654 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16655 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16656 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16657 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16658 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16659 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16660 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16661 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16662 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16663 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16664 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16665 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16666 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16667 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16668 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16669 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16670 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16671 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16672 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16673 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16674 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16675 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16676 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16677 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16678 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16679 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16680 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16681 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16682 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16683 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16684 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16685 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16686 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16687 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16688 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16689 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16690 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16691 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16692 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16693 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16695 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16696 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16697 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16698 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16699 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16700 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16701 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16702 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16703 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16704 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16705 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16706 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16707 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16708 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16709 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16710 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16711 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16712 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16713 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16714 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16715 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16716 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16717 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16718 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16719 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16720 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16721 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16722 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16723 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16724 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16725 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16726 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16727 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16728 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16729 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16730 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16731 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16732 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16733 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16734 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16735 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16736 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16737 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
16738 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16739 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16740 (__isnanf): Likewise.
16741 (__isinf_ns): Likewise.
16742 (__isinf_nsf): Likewise.
16743 (__finite): Likewise.
16744 (__finitef): Likewise.
16745 (__ieee754_sqrt): Define as macro.
16746 (__ieee754_sqrtf): Define as macro.
16747 (__ieee754_sqrtl): Define as macro.
16748 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16749 inlined copy.
16750 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16751 __FINITE_MATH_ONLY__ consistent.
16752 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16753
167542011-10-10 Andreas Schwab <schwab@linux-m68k.org>
16755
16756 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16757 of rawmemchr.
16758
16759 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16760
167612011-10-09 Ulrich Drepper <drepper@gmail.com>
16762
16763 * po/ja.po: Update from translation team.
16764
167652011-10-08 Roland McGrath <roland@hack.frob.com>
16766
16767 * locale/programs/locarchive.c (prepare_address_space): New function.
16768 (create_archive, enlarge_archive, open_archive): Use it.
16769
16770 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16771 inside [SHARED], where it is used.
16772
16773 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16774
16775 * nss/getent.c (netgroup_keys): Remove unused variable.
16776 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16777
167782011-10-08 Ulrich Drepper <drepper@gmail.com>
16779
16780 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16781 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16782 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16783 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16784 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16785 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16786 * math/Makefile (libm-calls): Add s_isinf_ns.
16787 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16788 * math/multc3.c: Likewise.
16789 * math/s_casin.c: Likewise.
16790 * math/s_casinf.c: Likewise.
16791 * math/s_casinl.c: Likewise.
16792 * math/s_ccos.c: Likewise.
16793 * math/s_ccosf.c: Likewise.
16794 * math/s_ccosl.c: Likewise.
16795 * math/s_ctan.c: Likewise.
16796 * math/s_ctanf.c: Likewise.
16797 * math/s_ctanh.c: Likewise.
16798 * math/s_ctanhf.c: Likewise.
16799 * math/s_ctanhl.c: Likewise.
16800 * math/s_ctanl.c: Likewise.
16801 * math/w_fmod.c: Likewise.
16802 * math/w_fmodf.c: Likewise.
16803 * math/w_fmodl.c: Likewise.
16804 * math/w_remainder.c: Likewise.
16805 * math/w_remainderf.c: Likewise.
16806 * math/w_remainderl.c: Likewise.
16807 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16808 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16809 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16810 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16811 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16812 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16813 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16814 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16815
16816 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16817 of the number.
16818 * stdio-common/printf_fphex.c: Likewise.
16819 * stdio-common/printf_size.c: Likewise.
16820
16821 * math/e_exp10.c: Include math_private.h using <...> not "...".
16822 * math/e_exp10f.c: Likewise.
16823 * math/e_exp10l.c: Likewise.
16824 * math/e_exp2l.c: Likewise.
16825 * math/e_j0l.c: Likewise.
16826 * math/e_j1l.c: Likewise.
16827 * math/e_jnl.c: Likewise.
16828 * math/e_lgammal_r.c: Likewise.
16829 * math/e_rem_pio2l.c: Likewise.
16830 * math/e_scalb.c: Likewise.
16831 * math/e_scalbf.c: Likewise.
16832 * math/e_scalbl.c: Likewise.
16833 * math/k_cosl.c: Likewise.
16834 * math/k_sinl.c: Likewise.
16835 * math/k_tanl.c: Likewise.
16836 * math/s_cacoshf.c: Likewise.
16837 * math/s_catan.c: Likewise.
16838 * math/s_catanf.c: Likewise.
16839 * math/s_catanh.c: Likewise.
16840 * math/s_catanhf.c: Likewise.
16841 * math/s_catanhl.c: Likewise.
16842 * math/s_catanl.c: Likewise.
16843 * math/s_ccosh.c: Likewise.
16844 * math/s_ccoshf.c: Likewise.
16845 * math/s_ccoshl.c: Likewise.
16846 * math/s_cexp.c: Likewise.
16847 * math/s_cexpf.c: Likewise.
16848 * math/s_cexpl.c: Likewise.
16849 * math/s_clog.c: Likewise.
16850 * math/s_clog10.c: Likewise.
16851 * math/s_clog10f.c: Likewise.
16852 * math/s_clog10l.c: Likewise.
16853 * math/s_clogf.c: Likewise.
16854 * math/s_clogl.c: Likewise.
16855 * math/s_csin.c: Likewise.
16856 * math/s_csinf.c: Likewise.
16857 * math/s_csinh.c: Likewise.
16858 * math/s_csinhf.c: Likewise.
16859 * math/s_csinhl.c: Likewise.
16860 * math/s_csinl.c: Likewise.
16861 * math/s_csqrt.c: Likewise.
16862 * math/s_csqrtf.c: Likewise.
16863 * math/s_csqrtl.c: Likewise.
16864 * math/s_ctan.c: Likewise.
16865 * math/s_ctanf.c: Likewise.
16866 * math/s_ctanh.c: Likewise.
16867 * math/s_ctanhf.c: Likewise.
16868 * math/s_ctanhl.c: Likewise.
16869 * math/s_ctanl.c: Likewise.
16870 * math/s_ldexp.c: Likewise.
16871 * math/s_ldexpf.c: Likewise.
16872 * math/s_ldexpl.c: Likewise.
16873 * math/s_significand.c: Likewise.
16874 * math/s_significandf.c: Likewise.
16875 * math/s_significandl.c: Likewise.
16876 * math/w_acos.c: Likewise.
16877 * math/w_acosf.c: Likewise.
16878 * math/w_acosh.c: Likewise.
16879 * math/w_acoshf.c: Likewise.
16880 * math/w_acoshl.c: Likewise.
16881 * math/w_acosl.c: Likewise.
16882 * math/w_asin.c: Likewise.
16883 * math/w_asinf.c: Likewise.
16884 * math/w_asinl.c: Likewise.
16885 * math/w_atan2.c: Likewise.
16886 * math/w_atan2f.c: Likewise.
16887 * math/w_atan2l.c: Likewise.
16888 * math/w_atanh.c: Likewise.
16889 * math/w_atanhf.c: Likewise.
16890 * math/w_atanhl.c: Likewise.
16891 * math/w_cosh.c: Likewise.
16892 * math/w_coshf.c: Likewise.
16893 * math/w_coshl.c: Likewise.
16894 * math/w_dremf.c: Likewise.
16895 * math/w_exp10.c: Likewise.
16896 * math/w_exp10f.c: Likewise.
16897 * math/w_exp10l.c: Likewise.
16898 * math/w_exp2.c: Likewise.
16899 * math/w_exp2f.c: Likewise.
16900 * math/w_fmod.c: Likewise.
16901 * math/w_fmodf.c: Likewise.
16902 * math/w_fmodl.c: Likewise.
16903 * math/w_hypot.c: Likewise.
16904 * math/w_hypotf.c: Likewise.
16905 * math/w_hypotl.c: Likewise.
16906 * math/w_j0.c: Likewise.
16907 * math/w_j0f.c: Likewise.
16908 * math/w_j0l.c: Likewise.
16909 * math/w_j1.c: Likewise.
16910 * math/w_j1f.c: Likewise.
16911 * math/w_j1l.c: Likewise.
16912 * math/w_jn.c: Likewise.
16913 * math/w_jnf.c: Likewise.
16914 * math/w_jnl.c: Likewise.
16915 * math/w_lgamma.c: Likewise.
16916 * math/w_lgamma_r.c: Likewise.
16917 * math/w_lgammaf.c: Likewise.
16918 * math/w_lgammaf_r.c: Likewise.
16919 * math/w_lgammal.c: Likewise.
16920 * math/w_lgammal_r.c: Likewise.
16921 * math/w_log.c: Likewise.
16922 * math/w_log10.c: Likewise.
16923 * math/w_log10f.c: Likewise.
16924 * math/w_log10l.c: Likewise.
16925 * math/w_log2.c: Likewise.
16926 * math/w_log2f.c: Likewise.
16927 * math/w_log2l.c: Likewise.
16928 * math/w_logf.c: Likewise.
16929 * math/w_logl.c: Likewise.
16930 * math/w_pow.c: Likewise.
16931 * math/w_powf.c: Likewise.
16932 * math/w_powl.c: Likewise.
16933 * math/w_remainder.c: Likewise.
16934 * math/w_remainderf.c: Likewise.
16935 * math/w_remainderl.c: Likewise.
16936 * math/w_scalb.c: Likewise.
16937 * math/w_scalbf.c: Likewise.
16938 * math/w_scalbl.c: Likewise.
16939 * math/w_sinh.c: Likewise.
16940 * math/w_sinhf.c: Likewise.
16941 * math/w_sinhl.c: Likewise.
16942 * math/w_sqrt.c: Likewise.
16943 * math/w_sqrtf.c: Likewise.
16944 * math/w_sqrtl.c: Likewise.
16945 * math/w_tgamma.c: Likewise.
16946 * math/w_tgammaf.c: Likewise.
16947 * math/w_tgammal.c: Likewise.
16948
16949 * po/ja.po: Update from translation team.
16950
169512011-09-29 Andreas Jaeger <aj@suse.de>
16952
16953 [BZ #13179]
16954 * sunrpc/netname.c (netname2host): Fix logic.
16955
16956 [BZ #6779]
16957 [BZ #6783]
16958 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16959 correctly.
16960 * math/w_remainder.c (__remainder): Likewise.
16961 * math/w_remainderf.c (__remainderf): Likewise.
16962 * math/libm-test.inc (remainder_test): Add test cases.
16963
169642011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16965
16966 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16967 sdiv_qrnnd.
16968
169692011-10-07 Ulrich Drepper <drepper@gmail.com>
16970
16971 * string/test-memcmp.c: Avoid unncessary #defines.
16972 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16973
169742011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16975
16976 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16977 Use new sse2 version for core i3 - i7 as it's faster
16978 than sse42 version.
16979 (bit_Prefer_PMINUB_for_stringop): New.
16980 * sysdeps/x86_64/rawmemchr.S: Update.
16981 Replace with faster SSE2 version.
16982 * sysdeps/x86_64/memrchr.S: New file.
16983 * sysdeps/x86_64/memchr.S: Update.
16984 Replace with faster SSE2 version.
16985
169862011-09-12 Marek Polacek <mpolacek@redhat.com>
16987
16988 * elf/dl-load.c (lose): Add cast to avoid warning.
16989
169902011-10-07 Ulrich Drepper <drepper@gmail.com>
16991
16992 * po/ca.po: Update from translation team.
16993
16994 * inet/getnetgrent_r.c: Hook up nscd.
16995 * nscd/Makefile (routines): Add nscd_netgroup.
16996 (nscd-modules): Add netgroupcache.
16997 (CFLAGS-netgroupcache.c): Define.
16998 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16999 (cache_search): Add const to second parameter.
17000 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17001 INNETGR.
17002 (dbs): Add netgrdb entry.
17003 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17004 (verify_persistent_db): Handle netgrdb.
17005 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17006 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17007 GETFDNETGR.
17008 (netgroup_response_header): Define.
17009 (innetgroup_response_header): Define.
17010 (datahead): Add netgroup_response_header and innetgroup_response_header
17011 elements.
17012 * nscd/nscd.conf: Add entries for netgroup cache.
17013 * nscd/nscd.h (dbtype): Add netgrdb.
17014 (_PATH_NSCD_NETGROUP_DB): Define.
17015 (netgroup_iov_disabled): Declare.
17016 (xmalloc, xcalloc, xrealloc): Move declarations here.
17017 (cache_search): Adjust prototype.
17018 Add netgroup-related prototypes.
17019 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17020 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17021 (__nscd_innetgr): Declare.
17022 * nscd/selinux.c (perms): Use access_vector_t as element type and
17023 add netgroup-related initializers.
17024 * nscd/netgroupcache.c: New file.
17025 * nscd/nscd_netgroup.c: New file.
17026 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17027 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17028 For four parameters use innetgr.
17029 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17030 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17031 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17032 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17033
17034 * nscd/connections.c (register_traced_file): Don't register file
17035 for disabled databases.
17036
170372011-10-06 Ulrich Drepper <drepper@gmail.com>
17038
17039 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17040
17041 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17042 from tree and freeing node.
17043
170442011-09-25 Jiri Olsa <jolsa@redhat.com>
17045
17046 * nss/nsswitch.c (__nss_database_lookup): Handle
17047 nss_parse_service_list out of memory case.
17048
170492011-09-15 Jiri Olsa <jolsa@redhat.com>
17050
17051 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17052 out of memory case.
17053
170542011-10-04 Andreas Schwab <schwab@redhat.com>
17055
17056 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17057 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17058 pass it down.
17059 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17060 elf_machine_rela, elf_machine_lazy_rel.
17061 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17062 (ELF_DYNAMIC_DO_REL): Likewise.
17063 (ELF_DYNAMIC_DO_RELA): Likewise.
17064 (ELF_DYNAMIC_RELOCATE): Likewise.
17065 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17066 to ELF_DYNAMIC_DO_REL.
17067 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17068 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17069 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17070 elf_machine_rela.
17071 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17072 skip_ifunc, don't call ifunc function if non-zero.
17073 (elf_machine_rela): Likewise.
17074 (elf_machine_lazy_rel): Likewise.
17075 (elf_machine_lazy_rela): Likewise.
17076 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17077 (elf_machine_lazy_rel): Likewise.
17078 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17079 Likewise.
17080 (elf_machine_lazy_rel): Likewise.
17081 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17082 Likewise.
17083 (elf_machine_lazy_rel): Likewise.
17084 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17085 (elf_machine_lazy_rel): Likewise.
17086 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17087 (elf_machine_lazy_rel): Likewise.
17088 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17089 (elf_machine_lazy_rel): Likewise.
17090 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17091 (elf_machine_lazy_rel): Likewise.
17092 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17093 (elf_machine_lazy_rel): Likewise.
17094 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17095 (elf_machine_lazy_rel): Likewise.
17096
170972011-09-28 Ulrich Drepper <drepper@gmail.com>
17098
17099 * nss/nss_files/files-init.c (_nss_files_init): Use static
17100 initialization for all the *_traced_file variables.
17101
171022011-09-28 Andreas Schwab <schwab@redhat.com>
17103
17104 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17105
171062011-09-27 Roland McGrath <roland@hack.frob.com>
17107
17108 [BZ #13226]
17109 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17110
171112011-09-27 Andreas Schwab <schwab@redhat.com>
17112
17113 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17114 Reread the line before reparsing it.
17115
171162011-09-26 Andreas Schwab <schwab@redhat.com>
17117
17118 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17119
171202011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17121 Maxim Kuvyrkov <maxim@codesourcery.com>
17122 Joseph Myers <joseph@codesourcery.com>
17123
17124 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17125 if needed for __stack_chk_guard.
17126
171272011-09-19 Roland McGrath <roland@hack.frob.com>
17128
17129 * sysdeps/posix/spawni.c (script_execute): Always define it.
17130 It will be optimized away if unused.
17131 (maybe_script_execute): New function.
17132 (__spawni): Call it.
17133
17134 * Makerules: Don't include tls.make.
17135 (config-tls): Always set to thread.
17136 * tls.make.c: File removed.
17137
171382011-09-19 Mike Frysinger <vapier@gentoo.org>
17139
17140 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17141 * config.make.in (CPPFLAGS-config): New substituted variable.
17142
171432011-09-15 Ulrich Drepper <drepper@gmail.com>
17144
17145 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17146
17147 [BZ #13192]
17148 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17149 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17150
171512011-09-15 Roland McGrath <roland@hack.frob.com>
17152
17153 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17154 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17155 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17156 (CALL_FAIL): Likewise.
17157 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17158 (CALL_FAIL): Macro removed.
17159 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17160
171612011-09-15 Ulrich Drepper <drepper@gmail.com>
17162
17163 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17164 for __FINITE_MATH_ONLY__ == 1.
17165
171662011-09-15 Andreas Schwab <schwab@redhat.com>
17167
17168 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17169 __ieee754_sqrt instead of sqrt.
17170 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17171 __ieee754_sqrtf instead of sqrtf.
17172 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17173 __floorf instead of floorf.
17174 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17175 __floorf, __truncf instead of floorf, truncf.
17176
171772011-09-14 Ulrich Drepper <drepper@gmail.com>
17178
17179 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17180
17181 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17182 __extern_always_inline.
17183 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17184 32-bit.
17185
171862011-09-14 Andreas Schwab <schwab@redhat.com>
17187
17188 * elf/rtld.c (dl_main): Also relocate in dependency order when
17189 doing symbol dependency testing.
17190
171912011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17192
17193 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17194 Always define `refsym'.
17195
171962011-09-13 Andreas Schwab <schwab@redhat.com>
17197
17198 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17199 (__FD_ELT): Renamed from __FDELT.
17200 * misc/bits/select2.h (__FD_ELT): Likewise.
17201 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17202 __FD_MASK instead of __FDELT, __FDMASK.
17203 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17204 Likewise.
17205 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17206 Likewise.
17207
17208 * elf/Makefile (gen-ldd): Fix pattern.
17209
17210 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17211 (init_tls): Likewise.
17212
172132011-09-12 Ulrich Drepper <drepper@gmail.com>
17214
17215 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17216
172172011-09-12 Andreas Schwab <schwab@redhat.com>
17218
17219 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17220 `struct cmsghdr *' instead of `void *'.
17221 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17222 Likewise.
17223
172242011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17225
17226 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17227 if non-absolute.
17228 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17229 ldd_rewrite_script.
17230
172312011-09-11 Ulrich Drepper <drepper@gmail.com>
17232
17233 * configure.in: Remove --with-tls option.
17234 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17235 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17236 out in case it is missing.
17237 * sysdeps/ia64/elf/configure.in: Likewise.
17238 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17239 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17240 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17241 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17242 * sysdeps/sh/elf/configure.in: Likewise.
17243 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17244 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17245 * sysdeps/x86_64/elf/configure.in: Likewise.
17246 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17247 * sysdeps/mach/hurd/tls.h: Likewise.
17248
17249 [BZ #13067]
17250 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17251
17252 [BZ #13090]
17253 * configure.in: Fix use of AC_INIT.
17254
17255 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17256
172572011-09-10 Ulrich Drepper <drepper@gmail.com>
17258
17259 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17260 __set_errno.
17261 * malloc/hooks.c: Likewise.
17262
17263 [BZ #11929]
17264 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17265 variables statically.
17266 (narenas): Initialize.
17267 (list_lock): Initialize.
17268 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17269 initializtion of main_arena and list_lock. Small cleanups.
17270 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17271 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17272 Add initializers to main_arena and mp_.
17273 (malloc_state): Remove pagesize member. Change all users to use
17274 GLRO(dl_pagesize).
17275
17276 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17277 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17278 is always initialized.
17279
17280 * malloc/malloc.c: Removed unused configurations and dead code.
17281 * malloc/arena.c: Likewise.
17282 * malloc/hooks.c: Likewise.
17283 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
17284
17285 * include/tls.h: Removed. USE___THREAD must always be defined.
17286 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17287 * elf/dl-libc.c: Likewise.
17288 * elf/dl-tsd.c: Likewise.
17289 * include/errno.h: Likewise.
17290 * include/netdb.h: Likewise.
17291 * include/resolv.h: Likewise.
17292 * inet/herrno-loc.c: Likewise.
17293 * inet/herrno.c: Likewise.
17294 * malloc/arena.c: Likewise.
17295 * malloc/hooks.c: Likewise.
17296 * malloc/malloc.c: Likewise.
17297 * resolv/res-state.c: Likewise.
17298 * resolv/res_libc.c: Likewise.
17299 * sysdeps/i386/dl-machine.h: Likewise.
17300 * sysdeps/ia64/dl-machine.h: Likewise.
17301 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17302 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17303 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17304 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17305 * sysdeps/sh/dl-machine.h: Likewise.
17306 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17307 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17308 * sysdeps/unix/i386/sysdep.S: Likewise.
17309 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17310 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17311 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17312 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17313 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17314 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17315 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17316 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17317 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17318 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17319 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17320 * sysdeps/x86_64/dl-machine.h: Likewise.
17321 * tls.make.c: Likewise.
17322
17323 * configure.in: Remove --with-__thread option. Make tests for
17324 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17325 tls_model attribute fail if no support is available. Remove
17326 USE_IN_LIBIO.
17327 * Makeconfig: Adjust for dropped configure option. All features are
17328 now mandatory.
17329 * Makerules: Likewise.
17330 * Versions.def: Likewise.
17331 * argp/argp-fmtstream.c: Likewise.
17332 * argp/argp-fmtstream.h: Likewise.
17333 * argp/argp-help.c: Likewise.
17334 * assert/assert.c: Likewise.
17335 * config.h.in: Likewise.
17336 * config.make.in: Likewise.
17337 * configure: Likewise.
17338 * configure.in: Likewise.
17339 * csu/Versions: Likewise.
17340 * csu/init.c: Likewise.
17341 * elf/tst-audit2.c: Likewise.
17342 * elf/tst-tls10.c: Likewise.
17343 * elf/tst-tls10.h: Likewise.
17344 * elf/tst-tls11.c: Likewise.
17345 * elf/tst-tls12.c: Likewise.
17346 * elf/tst-tls14.c: Likewise.
17347 * elf/tst-tlsmod11.c: Likewise.
17348 * elf/tst-tlsmod12.c: Likewise.
17349 * elf/tst-tlsmod13.c: Likewise.
17350 * elf/tst-tlsmod13a.c: Likewise.
17351 * elf/tst-tlsmod14a.c: Likewise.
17352 * elf/tst-tlsmod15b.c: Likewise.
17353 * elf/tst-tlsmod16a.c: Likewise.
17354 * elf/tst-tlsmod16b.c: Likewise.
17355 * elf/tst-tlsmod7.c: Likewise.
17356 * elf/tst-tlsmod8.c: Likewise.
17357 * elf/tst-tlsmod9.c: Likewise.
17358 * gmon/gmon.c: Likewise.
17359 * grp/fgetgrent_r.c: Likewise.
17360 * grp/putgrent.c: Likewise.
17361 * hurd/fopenport.c: Likewise.
17362 * include/libc-symbols.h: Likewise.
17363 * include/tls.h: Likewise.
17364 * intl/gettextP.h: Likewise.
17365 * intl/loadinfo.h: Likewise.
17366 * locale/global-locale.c: Likewise.
17367 * locale/localeinfo.h: Likewise.
17368 * mach/devstream.c: Likewise.
17369 * malloc/arena.c: Likewise.
17370 * malloc/set-freeres.c: Likewise.
17371 * misc/err.c: Likewise.
17372 * misc/getttyent.c: Likewise.
17373 * misc/mntent_r.c: Likewise.
17374 * posix/getopt.c: Likewise.
17375 * posix/wordexp.c: Likewise.
17376 * pwd/fgetpwent_r.c: Likewise.
17377 * resolv/Versions: Likewise.
17378 * resolv/res_hconf.c: Likewise.
17379 * shadow/fgetspent_r.c: Likewise.
17380 * shadow/putspent.c: Likewise.
17381 * stdio-common/printf_fphex.c: Likewise.
17382 * stdio-common/tmpfile.c: Likewise.
17383 * stdlib/abort.c: Likewise.
17384 * stdlib/fmtmsg.c: Likewise.
17385 * sunrpc/auth_unix.c: Likewise.
17386 * sunrpc/clnt_perr.c: Likewise.
17387 * sunrpc/clnt_tcp.c: Likewise.
17388 * sunrpc/clnt_udp.c: Likewise.
17389 * sunrpc/clnt_unix.c: Likewise.
17390 * sunrpc/openchild.c: Likewise.
17391 * sunrpc/svc_simple.c: Likewise.
17392 * sunrpc/svc_tcp.c: Likewise.
17393 * sunrpc/svc_udp.c: Likewise.
17394 * sunrpc/svc_unix.c: Likewise.
17395 * sunrpc/xdr.c: Likewise.
17396 * sunrpc/xdr_array.c: Likewise.
17397 * sunrpc/xdr_rec.c: Likewise.
17398 * sunrpc/xdr_ref.c: Likewise.
17399 * sunrpc/xdr_stdio.c: Likewise.
17400
174012011-09-09 Ulrich Drepper <drepper@gmail.com>
17402
17403 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17404
174052011-07-03 Andreas Jaeger <aj@suse.de>
17406
17407 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
17408 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
17409 regenerate with gen-libm-tests.pl.
17410
174112010-05-12 Petr Baudis <pasky@suse.cz>
17412
17413 [BZ #11589]
17414 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
17415 around j0() zero points by switching to j1().
17416 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17417 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17418 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17419 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17420
174212011-09-09 Ulrich Drepper <drepper@gmail.com>
17422
17423 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
17424 instead of 0.
17425 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
17426 instead of 0. .
17427 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17428 Patch in part by Pavel Roskin <proski@gnu.org>.
17429
17430 [BZ #13138]
17431 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
17432 realloc.
17433 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
17434 Free memory block if necessary.
17435
17436 [BZ #12847]
17437 * libio/genops.c (INTDEF): For string streams the _lock pointer can
17438 be NULL. Don't lock in this case.
17439
174402011-09-09 Roland McGrath <roland@hack.frob.com>
17441
17442 * elf/elf.h (ELFOSABI_GNU): New macro.
17443 (ELFOSABI_LINUX): Define to that.
17444
174452011-07-29 Denis Zaitceff <zaitceff@gmail.com>
17446
17447 * string/strncat.c (strncat): Undef the symbol in case it has been
17448 defined in bits/string.h.
17449
174502011-09-09 Ulrich Drepper <drepper@gmail.com>
17451
17452 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
17453
17454 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
17455 link map.
17456
174572011-08-17 Andreas Jaeger <aj@suse.de>
17458
17459 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
17460
174612011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17462 Ian Lance Taylor <iant@google.com>
17463
17464 * math/libm-test.inc (lround_test): New testcase.
17465 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
17466
174672011-09-08 Ulrich Drepper <drepper@gmail.com>
17468
17469 * Makefile: Remove support for automatic cvs check-ins.
17470 * Makerules: Likewise.
17471 * config.make.in: Likewise.
17472 * configure.in: Likewise.
17473 * intl/Makefile: Likewise.
17474 * locale/Makefile: Likewise.
17475 * po/Makefile: Likewise.
17476 * posix/Makefile: Likewise.
17477 * sysdeps/gnu/Makefile: Likewise.
17478 * sysdeps/mach/hurd/Makefile: Likewise.
17479 * sysdeps/sparc/sparc32/Makefile: Likewise.
17480
17481 [BZ #13118]
17482 * posix/Makefile (bug-regex32-ENV): Define.
17483 Patch by John Stanley <jpsinthemix@verizon.net>.
17484
17485 * misc/Makefile (headers): Add bits/select2.h.
17486 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
17487 * misc/bits/select2.h: New file.
17488 * include/bits/select2.h: New file.
17489 * debug/Makefile (routines): Add fdelt_chk.
17490 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
17491 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
17492 FD_ISSET.
17493 * debug/fdelt_chk.c: New file.
17494
17495 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
17496 * wcsmbs/test-wmemcmp.c: Likewise.
17497 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
17498 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
17499
175002011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17501
17502 * string/Makefile (strop-tests): Add memcmp.
17503 * string/test-wmemcmp.c: New file.
17504 * string/test-memcmp.c: Add wmemcmp support.
17505
175062011-09-08 Roland McGrath <roland@hack.frob.com>
17507
17508 [BZ #13153]
17509 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
17510 2011-07-19 change.
17511
17512 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
17513 garbage value in a __mach_port_mod_refs call in the cases of the
17514 task-self and thread-self ports.
17515
175162011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17517
17518 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
17519
175202011-09-08 Andreas Schwab <schwab@redhat.com>
17521
17522 * elf/dl-load.c (lose): Check for non-null L.
17523
175242011-09-07 Ulrich Drepper <drepper@gmail.com>
17525
17526 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
17527
17528 * elf/dl-libc.c (dlerror_run): Pass back error code from
17529 dl_catch_error.
17530
17531 [BZ #13123]
17532 * elf/dl-load.c (lose): Free l_origin if it is valid.
17533
17534 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
17535 names.
17536 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17537 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17538 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17539 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17540 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17541 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
17542
175432011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17544
17545 * sysdeps/powerpc/fpu/e_hypot.c: New file.
17546 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
17547 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
17548 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
17549 * sysdeps/powerpc/fpu/k_cosf.c: New file.
17550 * sysdeps/powerpc/fpu/k_sinf.c: New file.
17551 * sysdeps/powerpc/fpu/s_cosf.c: New file.
17552 * sysdeps/powerpc/fpu/s_sinf.c: New file.
17553 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
17554 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
17555
175562011-08-15 Alan Modra <amodra@gmail.com>
17557
17558 [BZ #13092]
17559 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
17560 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
17561 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
17562 ppc_mcount to static-only-routines.
17563 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
17564 __mcount_internal.
17565 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
17566 __mcount_internal with usual JUMPTARGET. Remove useless nop.
17567
175682011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
17569
17570 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
17571 for finite and infinity parameters.
17572
175732011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17574
17575 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
17576 and add nop instructions for throughput optimization.
17577 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17578
175792011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
17580
17581 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
17582 aligned copy for power7 with vector-scalar instructions.
17583 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17584
175852011-07-24 H.J. Lu <hongjiu.lu@intel.com>
17586
17587 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
17588 AVX check.
17589
175902011-09-07 Andreas Schwab <schwab@redhat.com>
17591
17592 [BZ #13144]
17593 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
17594 last change.
17595
175962011-09-07 Ulrich Drepper <drepper@gmail.com>
17597
17598 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17599 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
17600 syscall wrapper around clock_gettime in __vdso_clock_gettime.
17601 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
17602 clock_gettime.
17603
176042011-09-06 Ulrich Drepper <drepper@gmail.com>
17605
17606 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
17607 Forgot to demangle the pointer.
17608
17609 * sysdeps/i386/sysdep.h: Define atom_text_section.
17610 * sysdeps/x86_64/sysdep.h: Likewise.
17611 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
17612 section with atom_text_section.
17613 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17614 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17615 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17616 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17617 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
17618
17619 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
17620 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
17621 already be defined. Change to take two parameters and don't assign
17622 result to variable. Adjust all users.
17623 Define INTERNAL_GETTIME if not already defined.
17624 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
17625 call.
17626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
17627 HAVE_CLOCK_GETTIME_VSYSCALL.
17628 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
17629
17630 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
17631 gettimeofday vsyscall, just use time.
17632
176332011-09-06 Andreas Schwab <schwab@redhat.com>
17634
17635 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
17636 <errno.h>.
17637
176382011-09-06 Ulrich Drepper <drepper@gmail.com>
17639
17640 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
17641 syscall on x86-64.
17642 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
17643 syscall.
17644 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17645 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
17646 syscall if possible.
17647
176482011-09-05 Ulrich Drepper <drepper@gmail.com>
17649
17650 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
17651 e_ident. Don't pass to find_mapsXX.
17652 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
17653
176542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17655
17656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17657 strchr-sse2-no-bsf strrchr-sse2-no-bsf
17658 * sysdeps/x86_64/multiarch/strchr.S: Update.
17659 Check bit_slow_BSF bit.
17660 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17661 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
17662 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
17663
176642011-09-05 Ulrich Drepper <drepper@gmail.com>
17665
17666 [BZ #13134]
17667 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
17668 before glibc 2.15.
17669 (tryshell): Define.
17670 (__spawni): Change last parameter to be flag. Test
17671 SPAWN_XFLAGS_USE_PATH flag to use path or not.
17672 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
17673 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
17674 * posix/spawni.c: Likewise.
17675 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
17676 * posix/spawnp.c: Likewise. Change normal version to use
17677 SPAWN_XFLAGS_USE_PATH.
17678 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
17679 SPAWN_XFLAGS_TRY_SHELL.
17680
17681 [BZ #13150]
17682 * posix/glob.h: Remove gcc 1.x support.
17683
17684 [BZ #13068]
17685 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
17686
176872011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17688
17689 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17690 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
17691 strrchr-sse2-bsf
17692 * sysdeps/i386/i686/multiarch/strchr.S: New file.
17693 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
17694 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
17695 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
17696 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
17697 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
17698
176992011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17700
17701 * sysdeps/x86_64/wcscmp.S: New file.
17702
17703 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17704 wcscmp-c wcscmp-sse2
17705 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17706 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17707 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17708 * wcsmbs/wcscmp.c: Allow renaming.
17709
177102011-09-05 David S. Miller <davem@davemloft.net>
17711
17712 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17713 stack slot, rather than the struct return pointer slot.
17714 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17715 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17717 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17718
177192011-09-05 Ulrich Drepper <drepper@gmail.com>
17720
17721 * po/ja.po: Update from translation team.
17722
17723 [BZ #13144]
17724 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17725 kernel in 64-bit binaries.
17726
177272011-09-01 David S. Miller <davem@davemloft.net>
17728
17729 * elf/elf.h (HWCAP_SPARC_*): Move to..
17730 * sysdeps/sparc/sysdep.h: this new file and add new values.
17731 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17732 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17733 _DL_HWCAP_COUNT to 24.
17734 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17735 entries.
17736 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17737 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17738 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17739 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17740 instead of magic constants.
17741 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17742
177432011-08-31 David S. Miller <davem@davemloft.net>
17744
17745 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17746 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17747 Reimplement to do errno handling inline.
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/sparc64/sysdep.h: Include
17753 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17754 (PSEUDO): Reimplement to do errno handling inline.
17755 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17756 (SYSCALL_ERROR_HANDLER): New macro.
17757 (__SYSCALL_STRING): Do not do errno handling in asm.
17758 (__CLONE_SYSCALL_STRING): Delete.
17759 (__INTERNAL_SYSCALL_STRING): Delete.
17760 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17761 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17762 i386.
17763 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17764 (inline_syscall*): Add 'err' argument.
17765 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17766 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17767 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17768 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17769
17770 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17771 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17772
177732011-08-30 Andreas Schwab <schwab@redhat.com>
17774
17775 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17776
177772011-08-29 Jiri Olsa <jolsa@redhat.com>
17778
17779 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17780 directive.
17781
177822011-08-24 David S. Miller <davem@davemloft.net>
17783
17784 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17785
177862011-08-24 Andreas Schwab <schwab@redhat.com>
17787
17788 * elf/Makefile: Add rules to build and run unload8 test.
17789 * elf/unload8.c: New file.
17790 * elf/unload8mod1.c: New file.
17791 * elf/unload8mod1x.c: New file.
17792 * elf/unload8mod2.c: New file.
17793 * elf/unload8mod3.c: New file.
17794
17795 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17796 it wasn't used.
17797
177982011-08-23 David S. Miller <davem@davemloft.net>
17799
17800 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17801 subtract stack bias.
17802 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17803 %sp not %fp in calculations.
17804 (_JMPBUF_UNWINDS_ADJ): Likewise.
17805
17806 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17807 (aio_suspend): Call it to force an exception region around the
17808 AIO_MISC_WAIT() invocation.
17809
178102011-08-23 Andreas Schwab <schwab@redhat.com>
17811
17812 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17813 backslash.
17814
178152011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17816
17817 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17818 protection macro.
17819 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17820 and <dl-machine.h>.
17821 (Elf64_FuncDesc): Remove.
17822
178232011-08-22 David S. Miller <davem@davemloft.net>
17824
17825 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17826 sigaltstack check, add missing cfi directives.
17827 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17828 missing cfi directives, and sigaltstack handling.
17829
178302011-08-16 Andreas Schwab <schwab@redhat.com>
17831
17832 [BZ #11724]
17833 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17834 object is seen twice.
17835 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17836
17837 * elf/Makefile (distribute): Add tst-initorder2.c.
17838 (tests): Add tst-initorder2.
17839 (modules-names): Add tst-initorder2a tst-initorder2b
17840 tst-initorder2c tst-initorder2d. Add rules to build them.
17841 ($(objpfx)tst-initorder2.out): New rule.
17842 * elf/tst-initorder2.c: New file.
17843 * elf/tst-initorder2.exp: New file.
17844
178452011-08-22 Andreas Schwab <schwab@redhat.com>
17846
17847 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17848
17849 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17850 dependencies back to end of function.
17851
17852 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17853 $(elfobjdir)/ld.so.
17854
178552011-08-21 Ulrich Drepper <drepper@gmail.com>
17856
17857 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17858 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17859 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17860 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17861 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17862 of __vdso_gettimeofday.
17863 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17864 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17865 attribute_hidden.
17866 (_libc_vdso_platform_setup): Remove initialization of
17867 __vdso_gettimeofday and __vdso_time.
17868
178692011-08-20 Ulrich Drepper <drepper@gmail.com>
17870
17871 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17872 and fgetc_unlocked.
17873 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17874 getc_unlocked.
17875
17876 * elf/dl-open.c (add_to_global): Report additions to the global scope
17877 for LD_DEBUG=scopes.
17878 (dl_open_worker): Also print scope of newly loaded dependencies.
17879 (_dl_show_scope): Indicate if there is no scope.
17880
17881 [BZ #13114]
17882 * stdio-common/Makefile (tests): Add bug24.
17883 * stdio-common/bug24.c: New file.
17884
178852011-08-19 Andreas Jaeger <aj@suse.de>
17886
17887 [BZ #13114]
17888 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17889 non-existant file when using close-on-exec mode.
17890
178912011-08-20 Ulrich Drepper <drepper@gmail.com>
17892
17893 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17894 the very first instruction.
17895
17896 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17897 the CFI state in the end.
17898 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17899 inclusion of dl-trampoline.h.
17900 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17901
179022011-08-19 Andreas Schwab <schwab@redhat.com>
17903
17904 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17905 expectations for long double.
17906
17907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17908 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17909
179102011-08-14 David S. Miller <davem@davemloft.net>
17911
17912 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17913 artificual limit depends upon the system page size.
17914
179152011-08-17 Ulrich Drepper <drepper@gmail.com>
17916
17917 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17918 * resolv/Makefile: Define CFLAGS-libresolv.
17919
179202011-08-17 Andreas Schwab <schwab@redhat.com>
17921
17922 * nss/makedb.c (compute_tables): Make variables used in nested
17923 function static.
17924
179252011-08-17 Ulrich Drepper <drepper@gmail.com>
17926
17927 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17928 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17929 if buffer was too small.
17930
17931 * elf/pldd.c (main): Attach to all threads in the process.
17932 Rewrite /proc handling to use *at functions.
17933
179342011-08-16 Ulrich Drepper <drepper@gmail.com>
17935
17936 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17937 specifies first scope to show.
17938 (dl_open_worker): Update callers. Move printing scope of new
17939 object to before the relocation.
17940 * elf/rtld.c (dl_main): Update _dl_show_scope call.
17941 * sysdeps/generic/ldsodefs.h: Update declaration.
17942
17943 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17944 string for the scope number.
17945
179462011-08-14 Ulrich Drepper <drepper@gmail.com>
17947
17948 * nscd/servicescache.c (cache_addserv): Make sure written is always
17949 initialized.
17950
179512011-08-14 Roland McGrath <roland@hack.frob.com>
17952
17953 * sysdeps/i386/i486/bits/atomic.h
17954 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17955 statement expression, so as to suppress "set but not used" warning.
17956 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17957
17958 * string/strncat.c (STRNCAT): Use prototype definition.
17959
17960 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17961 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17962 -Iprograms here.
17963 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17964 (localedef-modules): Add localedef.
17965 (locale-modules): Add locale.
17966
17967 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17968 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17969 to avoid a warning.
17970
179712011-08-14 David S. Miller <davem@davemloft.net>
17972
17973 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17974 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17975
179762011-08-13 Ulrich Drepper <drepper@gmail.com>
17977
17978 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
17979 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17980 * elf/rtld.c (dl_main): Set l_name of vDSO.
17981 Call _dl_show_scope when DL_DEBUG_SCOPES.
17982 (process_dl_debug): Recognize scopes flag and also set it for all.
17983 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17984 Declare _dl_show_scope.
17985
17986 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17987 (do_dlopen): Pass caller_dlopen to dl_open.
17988 (__libc_dlopen_mode): Initialize caller_dlopen.
17989
17990 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17991 of libc. Make tolower call locale-independent. Optimize a bit by
17992 using isdigit instead of isalnum.
17993 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17994
179952011-08-12 Ulrich Drepper <drepper@gmail.com>
17996
17997 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17998 was a dependency or dynamically loaded.
17999
180002011-08-11 Ulrich Drepper <drepper@gmail.com>
18001
18002 * intl/l10nflist.c: Allow architecture-specific pop function.
18003 * sysdeps/x86_64/l10nflist.c: New file.
18004
18005 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18006 classification.
18007
180082011-08-10 Andreas Schwab <schwab@redhat.com>
18009
18010 * include/dirent.h: Add libc_hidden_proto for scandirat and
18011 scandirat64. Don't declare __scandirat64.
18012 * dirent/scandirat.c: Add libc_hidden_def.
18013 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18014 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18015
180162011-08-10 David S. Miller <davem@davemloft.net>
18017
18018 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18019 enum.
18020 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18021 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18022 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18023
180242011-08-09 Ulrich Drepper <drepper@gmail.com>
18025
18026 * Versions.def [libc]: Add GLIBC_2.15.
18027 * dirent/Makefile (routines): Add scandirat and scandirat64.
18028 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18029 GLIBC_2.15.
18030 * dirent/dirent.h: Declare scandirat and scandirat64.
18031 * dirent/scandirat.c: New file.
18032 * dirent/scandirat64.c: New file.
18033 * sysdeps/wordsize-64/scandirat.c: New file.
18034 * sysdeps/wordsize-64/scandirat64.c: New file.
18035 * dirent/opendir.c: Define opendirat.
18036 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18037 using scandirat.
18038 * dirent/scandir64.c: Adjust for scandir.c change.
18039 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18040 __scandirat64, and __scandir_cancel_handler.
18041 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18042 additional parameter and use openat instead of open (outside of ld.so).
18043 Add new __opendir as wrapper around __opendirat.
18044 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18045 here without requiring old scandirat implementation.
18046
180472011-08-08 Ulrich Drepper <drepper@gmail.com>
18048
18049 * dirent/scandir.c (cancel_handler): Renamed to
18050 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18051 defined. Adjust users.
18052 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18053 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18054
180552011-08-04 Ulrich Drepper <drepper@gmail.com>
18056
18057 * string/test-string.h (IMPL): Use __STRING to expand name and then
18058 stringify it.
18059
18060 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18061 of cleanups.
18062
180632011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18064
18065 * string/Makefile: Update.
18066 (strop-tests): Append strncat.
18067 * string/test-wcscmp.c: New file.
18068 New comprehensive test for wcscmp.
18069 * string/test-strcmp.c: Update.
18070 (WIDE): New define.
18071
180722011-07-22 Andreas Schwab <schwab@redhat.com>
18073
18074 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18075 line.
18076
180772011-07-26 Andreas Schwab <schwab@redhat.com>
18078
18079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18080 encoding to ACE if AI_IDN.
18081
180822011-08-01 Jakub Jelinek <jakub@redhat.com>
18083
18084 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18085 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18086
180872011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18088
18089 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18090 Fix overflow bug in strncat.
18091 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18092
18093 * string/test-strncat.c: Update.
18094 Add new tests for checking overflow bugs.
18095
180962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18097
18098 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18099 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18100 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18101 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18102 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18103 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18104 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18105 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18106 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18107
18108 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18109 (USE_AS_STRCAT): Define.
18110 Add strcat and strncat support.
18111 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18112
181132011-07-25 Andreas Schwab <schwab@redhat.com>
18114
18115 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18116 __n bigger than INT_MAX+1.
18117 (__strncmp_g): Likewise.
18118
181192011-07-23 Ulrich Drepper <drepper@gmail.com>
18120
18121 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18122 * libio/stido.h: Likewise.
18123
18124 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18125 (AF_NFC): Define.
18126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18127 (AF_NFC): Define.
18128
18129 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18130 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18131 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18132 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18133 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18134
18135 [BZ #13021]
18136 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18137 installed.
18138
18139 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18140 typo.
18141 (_dl_x86_64_save_sse): Likewise.
18142
181432011-07-22 Ulrich Drepper <drepper@gmail.com>
18144
18145 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18146 OSXSAVE.
18147 (_dl_x86_64_save_sse): Likewise.
18148
18149 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18150
18151 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18152
181532011-07-21 Andreas Schwab <schwab@redhat.com>
18154
18155 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18156 change.
18157 (_dl_x86_64_save_sse): Use correct AVX check.
18158
181592011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18160
18161 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18162 bug in strncpy/strncat.
18163 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18164
181652011-07-21 Ulrich Drepper <drepper@gmail.com>
18166
18167 * string/tester.c (test_strcat): Add tests for different alignments
18168 of source and destination.
18169 (test_strncat): Likewise.
18170
181712011-07-20 Ulrich Drepper <drepper@gmail.com>
18172
18173 [BZ #12852]
18174 * posix/glob.c (glob): Check passed in values before using them in
18175 expressions to avoid some overflows.
18176 (glob_in_dir): Likewise.
18177
18178 [BZ #13007]
18179 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18180 check for AVX enablement so that we don't crash with old kernels and
18181 new hardware.
18182 * elf/tst-audit4.c: Add same checks here.
18183 * elf/tst-audit6.c: Likewise.
18184
18185 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
18186
181872011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18188
18189 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18190
181912011-07-20 Ulrich Drepper <drepper@gmail.com>
18192
18193 * po/cs.po: Update from translation team.
18194 * po/bg.po: Likewise.
18195
181962011-07-12 Marek Polacek <mpolacek@redhat.com>
18197
18198 * misc/sys/cdefs.h: Add support for const attribute.
18199 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18200 to gnu_dev_{major,minor,makedev} functions.
18201
182022011-07-20 Marek Polacek <mpolacek@redhat.com>
18203
18204 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18205
182062011-07-20 Andreas Schwab <schwab@redhat.com>
18207
18208 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18209 strlen results.
18210
182112011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18212
18213 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18214 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18215 register in order to avoid conflicts with the soft frame pointer
18216 being held in r11 when necessary.
18217 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18218 (INTERNAL_VSYSCALL_NCS): Likewise.
18219
182202011-07-14 Marek Polacek <mpolacek@redhat.com>
18221
18222 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18223 * elf/dl-fini.c (_dl_fini): Adjust caller.
18224 * elf/dl-close.c (_dl_close_worker): Likewise.
18225 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18226
182272011-07-15 Marek Polacek <mpolacek@redhat.com>
18228
18229 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18230 "aux_cache->nlibs < 0".
18231
18232 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18233 in the reload-count case.
18234
182352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18236
18237 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18238 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18239 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18240 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18241 * sysdeps/x86_64/multiarch/strcat.S: New file.
18242 * sysdeps/x86_64/multiarch/strncat.S: New file.
18243 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18244 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18245 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18246 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18247 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18248 (USE_AS_STRCAT): Define.
18249 Add strcat and strncat support.
18250 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18251 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18252 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18253 * string/strncat.c: Update.
18254 (USE_AS_STRNCAT): Define.
18255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18256 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18257 and i7.
18258 * sysdeps/x86_64/multiarch/init-arch.h
18259 (bit_Prefer_PMINUB_for_stringop): New.
18260 (index_Prefer_PMINUB_for_stringop): Likewise.
18261 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18262 bit_Prefer_PMINUB_for_stringop.
18263
182642011-07-19 Ulrich Drepper <drepper@gmail.com>
18265
18266 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18267 buffer64.
18268 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18269 of casting of buffer.
18270 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18271 buffer32 and buffer64.
18272 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18273 writes instead of casting of buffer.
18274 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18275 buffer32.
18276 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18277 casting of buffer.
18278
182792011-07-19 Andreas Schwab <schwab@redhat.com>
18280
18281 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18282
182832011-07-19 Ulrich Drepper <drepper@gmail.com>
18284
18285 * nscd/nscd.c (termination_handler): Don't do anything for a database
18286 if it has not yet been initialized.
18287
182882011-07-18 Ulrich Drepper <drepper@gmail.com>
18289
18290 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18291
182922011-07-15 Marek Polacek <mpolacek@redhat.com>
18293
18294 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18295
182962011-07-18 Ulrich Drepper <drepper@gmail.com>
18297
18298 * po/nl.po: Update from translation team.
18299 * po/sv.po: Likewise.
18300
183012011-07-16 Roland McGrath <roland@hack.frob.com>
18302
18303 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18304 now disallowed by GCC.
18305
18306 * configure.in (use-default-link): Default to yes if a test -shared
18307 link meets our qualifications.
18308 * configure: Regenerated.
18309
18310 * config.make.in (output-format): New variable.
18311 * configure.in: Check for ld --print-output-format support.
18312 * configure: Regenerated.
18313 * Makerules ($(common-objpfx)format.lds)
18314 [$(output-format) != unknown]: Just use $(output-format),
18315 instead of the linker-script munging.
18316
183172011-07-14 Roland McGrath <roland@hack.frob.com>
18318
18319 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18320 of $(common-objpfx)shlib.lds.
18321 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18322
18323 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18324 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18325
18326 * configure.in (-z relro check): Adjust test code to add a large
18327 writable data section after it.
18328 * configure: Regenerated.
18329
183302011-07-11 Roland McGrath <roland@hack.frob.com>
18331
18332 * configure.in (-z relro check): Fix test code to make the variable
18333 truly const.
18334 * configure: Regenerated.
18335
183362011-07-11 Ulrich Drepper <drepper@gmail.com>
18337
18338 * nscd/nscd.h (struct traced_file): Define.
18339 (struct database_dyn): Remove inotify_descr, reset_res, and filename
18340 elements. Add traced_files.
18341 (inotify_fd): Declare.
18342 (register_traced_file): Declare.
18343 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
18344 (inotify_fd): Export.
18345 (resolv_conf_descr): Remove.
18346 (nscd_init): Move inotify descriptor creation to main.
18347 Don't register files for notification here.
18348 (register_traced_file): New function.
18349 (invalidate_cache): Don't use reset_res to determine whether to call
18350 res_init, go through the list of registered files.
18351 (main_loop_poll): The inotify descriptors are now stored in the
18352 structures for the traced files.
18353 (main_loop_epoll): Likewise
18354 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
18355 to __nss_disable_nscd.
18356 * nscd/cache.c (prune_cache): There is no single inotify descriptor
18357 for a database anymore. Check the records for all the registered
18358 files instead.
18359 * nss/Makefile (libnss_files-routines): Add files-init.
18360 (libnss_db-routines): Add db-init.
18361 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
18362 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
18363 * nss/nss_db/db-init.c: New file.
18364 * nss/nss_files/files-init.c: New file.
18365 * nss/nsswitch.c (nss_load_library): New function. Broken out of
18366 __nss_lookup_function.
18367 (__nss_lookup_function): Call nss_load_library.
18368 (nss_load_all_libraries): New function.
18369 (__nss_disable_nscd): Take parameter with callback function for files
18370 to register. Set is_nscd. Load all the DSOs for the NSS modules
18371 used for the cached services.
18372 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
18373 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
18374 options for features to all the files in nscd.
18375
18376 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
18377
183782011-07-10 Roland McGrath <roland@hack.frob.com>
18379
18380 * csu/elf-init.c (__libc_csu_init): Comment typo.
18381
183822011-07-09 Ulrich Drepper <drepper@gmail.com>
18383
18384 * po/pl.po: Update from translation team.
18385 * po/ja.po: Likewise.
18386 * po/ru.po: Likewise.
18387 * po/ko.po: Likewise.
18388 * po/fr.po: Likewise.
18389
183902011-07-09 Roland McGrath <roland@hack.frob.com>
18391
18392 * configure.in (.ctors/.dtors header and trailer check):
18393 Use an empirical test on a built program.
18394 * configure: Regenerated.
18395
18396 * configure.in (-z relro check): Use an empirical test on a built DSO.
18397 Detect, but do not require, on ia64.
18398 * configure: Regenerated.
18399
18400 * configure.in (READELF): Find it with AC_CHECK_TOOL.
18401 Update tests that use readelf to use $READELF instead.
18402 * configure: Regenerated.
18403
184042011-07-08 Ulrich Drepper <drepper@gmail.com>
18405
18406 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
18407 if the result is not used.
18408
184092011-07-05 Andreas Jaeger <aj@suse.de>
18410
18411 [BZ#9696]
18412 * stdlib/tst-strtod.c: Add testcase.
18413
184142011-07-07 Ulrich Drepper <drepper@gmail.com>
18415
18416 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
18417 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
18418 The latter has a higher limit. Take additional parameter to pass to
18419 the new function.
18420 (__pathconf): Pass file to __statfs_link_max.
18421 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
18422 __statfs_link_max.
18423 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
18424 __statfs_link_max.
18425
18426 [BZ #12868]
18427 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
18428 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18429 Handle Lustre.
18430 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
18431 (__statfs_filesize_max): Likewise.
18432 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
18433
184342011-07-05 Andreas Jaeger <aj@suse.de>
18435
18436 * resolv/res_comp.c (dn_skipname): Remove unused variable.
18437
184382011-07-06 Marek Polacek <mpolacek@redhat.com>
18439
18440 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
18441 `status' variable.
18442 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
18443 Likewise.
18444
184452011-07-04 H.J. Lu <hongjiu.lu@intel.com>
18446
18447 * Makefile (strop-tests): Add strncat.
18448 * string/test-strncat.c: New file.
18449
184502011-06-30 Marek Polacek <mpolacek@redhat.com>
18451
18452 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
18453
184542011-06-21 Andreas Jaeger <aj@suse.de>
18455
18456 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
18457 Copy rule from iconvdata/Makefile.
18458
184592011-07-06 Ulrich Drepper <drepper@gmail.com>
18460
18461 [BZ #12922]
18462 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
18463 but no long options are defined, just return 'W'.
18464
184652011-06-22 Marek Polacek <mpolacek@redhat.com>
18466
18467 [BZ #9696]
18468 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
18469
184702011-07-06 Ulrich Drepper <drepper@gmail.com>
18471
18472 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
18473 netgroups to read.
18474 (innetgr): Likewise.
18475
184762011-07-05 Roland McGrath <roland@hack.frob.com>
18477
18478 * config.make.in (install_root): Default to $(DESTDIR).
18479
184802011-07-05 Ulrich Drepper <drepper@gmail.com>
18481
18482 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
18483
184842011-07-02 Roland McGrath <roland@hack.frob.com>
18485
18486 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
18487
18488 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
18489 containing directory rather than embedding absolute directory names.
18490
18491 * scripts/check-local-headers.sh: Rewritten using awk.
18492 Match by word, not by line. Print error messages for matches.
18493 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
18494
18495 * Makerules [shlib-lds-flags empty]:
18496 ($(common-objpfx)libc_pic.opts): New target.
18497 ($(common-objpfx)libc_pic.os.clean): New target.
18498 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
18499
18500 * config.make.in (OBJCOPY): New variable.
18501 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
18502 * configure: Regenerated.
18503
18504 * config.make.in (use-default-link): New variable.
18505 * configure.in (use_default_link): Grok --with-default-link to set it.
18506 * configure: Regenerated.
18507 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
18508 (shlib-lds, shlib-lds-flags): Define to empty.
18509
18510 * Makerules (shlib-lds): New variable.
18511 (shlib-lds-flags): New variable.
18512 (build-shlib, build-moduile, build-module-asneeded): Use it.
18513 ($(common-objpfx)libc.so): Use $(shlib-lds).
18514 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
18515 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
18516
18517 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
18518 DT_FLAGS/DT_FLAGS_1 with zero flags.
18519
18520 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
18521 linker script munging.
18522
185232011-07-02 Ulrich Drepper <drepper@gmail.com>
18524
18525 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
18526 as 128-bit value.
18527 * crypt/sha512.c (sha512_process_block): Perform total addition using
18528 128-bit if possible.
18529 (__sha512_finish_ctx): Likewise.
18530 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
18531 as 64-bit value.
18532 * crypt/sha256.c (SWAP64): Define.
18533 (sha256_process_block): Perform total addition using 64-bit if
18534 possible.
18535 (__sha256_finish_ctx): Likewise.
18536
185372011-07-01 Ulrich Drepper <drepper@gmail.com>
18538
18539 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
18540 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18541 * nscd/hstcache.c (cache_addhst): Likewise.
18542 * nscd/grpcache.c (cache_addgr): Likewise.
18543 * nscd/aicache.c (addhstaiX): Likewise
18544 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
18545
185462011-07-01 Thorsten Kukuk <kukuk@suse.de>
18547
18548 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
18549 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18550 * nscd/hstcache.c (cache_addhst): Likewise.
18551 * nscd/grpcache.c (cache_addgr): Likewise.
18552 * nscd/aicache.c (addhstaiX): Likewise
18553
185542011-07-01 Andreas Schwab <schwab@redhat.com>
18555
18556 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
18557 domain only when needed.
18558
185592011-06-30 Andreas Schwab <schwab@redhat.com>
18560
18561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
18562 is always restored.
18563
185642011-06-29 Ulrich Drepper <drepper@gmail.com>
18565
18566 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
18567 are re-adding the entry.
18568 * nscd/servicescache.c (cache_addserv): Likewise.
18569
185702011-06-30 Aurelien Jarno <aurelien@aurel32.net>
18571
18572 * sysdeps/generic/dl-irel.h: fix protection against multiple
18573 inclusions.
18574 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
18575
185762011-06-28 Ulrich Drepper <drepper@gmail.com>
18577
18578 [BZ #12935]
18579 * malloc/memusage.sh: Fix quoting in message.
18580 * debug/xtrace.sh: Likewise.
18581
18582 * configure.in: Remove support for --experimental-malloc option, make
18583 it the default.
18584 * config.make.in: Likewise.
18585 * malloc/Makefile: Likewise.
18586
185872011-06-27 Andreas Schwab <schwab@redhat.com>
18588
18589 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
18590 two-byte characters.
18591
185922011-06-27 Roland McGrath <roland@hack.frob.com>
18593
18594 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
18595 AC_CACHE_CHECK invocation.
18596 * configure: Regenerated.
18597
18598 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
18599
186002011-06-27 Ulrich Drepper <drepper@gmail.com>
18601
18602 [BZ #12350]
18603 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
18604 bit from old_res_options.
18605
18606 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
18607
18608 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
18609 value type for setfct.
18610
186112011-06-23 H.J. Lu <hongjiu.lu@intel.com>
18612
18613 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18614 __gettimeofday instead of gettimeofday.
18615
186162011-06-26 Ulrich Drepper <drepper@gmail.com>
18617
18618 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
18619
186202011-06-24 H.J. Lu <hongjiu.lu@intel.com>
18621
18622 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
18623
18624 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
18625 info.
18626
186272011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18628
18629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18630 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18631 strcpy-sse2-unaligned strncpy-sse2-unaligned
18632 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
18633 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
18634 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
18635 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
18636 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
18637 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
18638 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
18639 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
18640 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
18641 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
18642 (STRCPY): Support SSE2 and SSSE3 versions.
18643
186442011-06-24 Ulrich Drepper <drepper@gmail.com>
18645
18646 [BZ #12874]
18647 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
18648 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
18649 kernels which artificially limit size of requests.
18650
186512011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18652
18653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18654 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18655 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
18656 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
18657 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
18658 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
18659 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
18660 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
18661 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
18662 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
18663 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
18664 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
18665 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
18666 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
18667 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
18668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18669 Enable unaligned load optimization for Intel Core i3, i5 and i7
18670 processors.
18671 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
18672 Define.
18673 (index_Fast_Unaligned_Load): Define.
18674 (HAS_FAST_UNALIGNED_LOAD): Define.
18675
186762011-06-23 Marek Polacek <mpolacek@redhat.com>
18677
18678 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
18679
186802011-06-22 Ulrich Drepper <drepper@gmail.com>
18681
18682 [BZ #12907]
18683 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
18684 until it is clear that the information is realy needed.
18685 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
18686
186872011-06-22 Andreas Schwab <schwab@redhat.com>
18688
18689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
18690
186912011-06-22 Ulrich Drepper <drepper@gmail.com>
18692
18693 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18694 /sys/devices/system/cpu/online if it is usable.
18695
18696 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
18697 reading the information from the /proc filesystem to once a second.
18698
186992011-06-21 Andreas Jaeger <aj@suse.de>
18700
18701 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
18702 NULL after inclusion of kernel headers.
18703
187042011-06-21 Ulrich Drepper <drepper@gmail.com>
18705
18706 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18707 calls to internal_setent.
18708
18709 [BZ #12885]
18710 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18711 addresses using gethostbyname4_r ignore IPv4 addresses.
18712
18713 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18714 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
18715
18716 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18717
187182011-06-20 David S. Miller <davem@davemloft.net>
18719
18720 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18721 inclusions.
18722 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18723
18724 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18725 (elf_irel): Use it.
18726 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18727 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18728 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18729 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18730 * sysdeps/x86_64/dl-irel.h: Likewise.
18731
18732 * elf/dl-runtime.c: Use elf_ifunc_invoke.
18733 * elf/dl-sym.c: Likewise.
18734
187352011-06-15 Ulrich Drepper <drepper@gmail.com>
18736
18737 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
18738 need to dereference resplen2.
18739
187402011-06-14 Andreas Schwab <schwab@redhat.com>
18741
18742 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18743
187442011-06-15 Ulrich Drepper <drepper@gmail.com>
18745
18746 * Makeconfig: Define vardbdir and inst_vardbdir.
18747 * nss/Makefile: Add rules to install db-Makefile.
18748
18749 * nss/nss_db/db-XXX.c: Cleanup.
18750
18751 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18752 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18753 GLIBC_PRIVATE.
18754 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18755 * nss/makedb.c: Implement -g option to specify that value strings
18756 are generated and should not be added to table iterated over for
18757 get*ent calls.
18758 * nss/nss_db/db-initgroups.c: New file.
18759
18760 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18761 interface.
18762
18763 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18764 (internal_getgrouplist): Adjust to name change.
18765 Update use_initgroups_entry if this is not the first call.
18766 * nss/databases.def: Add initgroups entry.
18767
18768 * nss/makedb.c (compute_tables): Check result of multiple hash table
18769 sizes to minimize maximum chain length.
18770
187712011-06-14 Ulrich Drepper <drepper@gmail.com>
18772
18773 * Versions.def: Add entry for libnss_db.
18774 * shlib-versions: Likewise.
18775 * nss/Makefile: Add rules to build libnss_db.
18776 * nss/Versions: Add libnss_db information. Organize libnss_files
18777 entries better.
18778 * nss/db-Makefile: Add gshadow support. Change rules for the new
18779 makedb progra. Some minor improvements to generate smaller files.
18780 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18781 here from...
18782 * nss/makedb.c: ...here.
18783 Improve database format to be smaller and require less memory at
18784 runtime.
18785 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18786 db anymore.
18787 * nss/nss_db/db-netgrp.c: Likewise.
18788 * nss/nss_db/db-open.c: Likewise.
18789 * nss/nss_files/flies-XXX.x: Adjust comments.
18790 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18791 * nss/nss_files/files-grp.c: Likewise.
18792 * nss/nss_files/files-hosts.c: Likewise.
18793 * nss/nss_files/files-network.c: Likewise.
18794 * nss/nss_files/files-proto.c: Likewise.
18795 * nss/nss_files/files-pwd.c: Likewise.
18796 * nss/nss_files/files-rpc.c: Likewise.
18797 * nss/nss_files/files-service.c: Likewise.
18798 * nss/nss_files/files-sgrp.c: Likewise.
18799 * nss/nss_files/files-spwd.c: Likewise.
18800 * nss/nss_db/db-alias.c: Removed.
18801 * nss/nss_db/dummy-db.h: Removed.
18802
188032011-06-02 Ulrich Drepper <drepper@gmail.com>
18804
18805 * nss/makedb.c: Rewritten to not use database library.
18806 * nss/Makefile: Update to build new makedb program.
18807
188082011-06-14 Andreas Jaeger <aj@suse.de>
18809
18810 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18811 memset declaration.
18812
188132011-06-10 Andreas Schwab <schwab@redhat.com>
18814
18815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18816 tmpbuf.
18817
188182011-06-10 Roland McGrath <roland@hack.frob.com>
18819
18820 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18821 * elf/Makefile ($(objpfx)ld.so): Likewise.
18822
18823 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18824 Don't list ld.so twice in dependencies.
18825
18826 * posix/bug-regex31.c: Include <stdlib.h>.
18827
18828 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18829
18830 * nis/nss_compat/compat-spwd.c
18831 (getspent_next_nss_netgr): Remove unused variable.
18832 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18833
18834 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18835 nonmembers" output to use the right array.
18836
18837 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18838
18839 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18840
18841 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18842 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18843 * catgets/gencat.c (read_input_file): Likewise.
18844 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18845
18846 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18847 variable definition inside #if's controlling its use.
18848
18849 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18850
18851 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18852
18853 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18854
18855 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18856 unreachable code.
18857
18858 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18859
18860 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18861 * configure: Regenerated.
18862
18863 * Makerules: Revert last change.
18864 * elf/Makefile: Likewise.
18865
188662011-06-09 Roland McGrath <roland@hack.frob.com>
18867
18868 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18869 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18870 (reloc-link): Likewise.
18871
188722011-06-09 Ulrich Drepper <drepper@gmail.com>
18873
18874 * elf/Makefile: Add rules to build pldd.
18875 * elf/pldd.c: New file.
18876 * elf/pldd-xx.c: New file.
18877
188782011-06-07 Ulrich Drepper <drepper@gmail.com>
18879
18880 * version.h: Update for 2.15 development version.
18881
188822011-06-07 David S. Miller <davem@davemloft.net>
18883
18884 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18885 ifuncs.
18886 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18887 elf_machine_lazy_rel): Likewise.
18888 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18889 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18890 elf_machine_lazy_rel): Likewise.
18891 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18892 dl_hwcap via passed in argument.
18893 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18894 Likewise.
18895
188962011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18897
18898 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18899
189002011-06-06 Roland McGrath <roland@hack.frob.com>
18901
18902 [BZ #12849]
18903 * manual/fdl-1.1.texi: New file, verbatim from:
18904 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18905 * manual/lgpl-2.1.texi: New file, verbatim from:
18906 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18907 * manual/Makefile (licenses): New variable, list those new file names.
18908 (texis): Use it.
18909 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18910
18911 * manual/fdl.texi: File removed.
18912 * manual/lesser.texi: File removed.
18913 * manual/libc.texinfo (Copying, Documentation License):
18914 Use new @include file names, put @appendix directive before @include.
18915
189162011-06-04 Jakub Jelinek <jakub@redhat.com>
18917
18918 [BZ #12841]
18919 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18920 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18921 (mq_open): Add __NTH.
18922
189232011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18924
18925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18926 Assume Intel Core i3/i5/i7 processor if AVX is available.
18927
189282011-05-31 Ulrich Drepper <drepper@gmail.com>
18929
18930 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18931 typo.
18932
189332011-05-31 Andreas Schwab <schwab@redhat.com>
18934
18935 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18936 memory. Use alloca_account. Fix memory leak when retrying.
18937
189382011-05-31 Ulrich Drepper <drepper@gmail.com>
18939
18940 * version.h (RELEASE): Bump for 2.14 release.
18941 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18942
18943 * config.make.in (RANLIB): Remove entry.
18944
189452011-05-30 Ulrich Drepper <drepper@gmail.com>
18946
18947 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18948 (libc.pot): Work around missing support for .ksh extension in xgettext.
18949
18950 [BZ #12684]
18951 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18952 if both request failed.
18953 (send_dg): In case of server errors clear resplen or *resplen2.
18954
18955 [BZ #12454]
18956 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18957 when there are multiple maps.
18958 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18959 (_dl_fini): Remove test here.
18960
18961 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18962
189632011-05-29 Ulrich Drepper <drepper@gmail.com>
18964
18965 [BZ #12350]
18966 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18967 bit from old_res_options.
18968 (gaih_inet): Likewise.
18969
18970 [BZ #11099]
18971 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
18972 as signed.
18973
18974 * resolv/res_init.c (res_setoptions): Make the code more compact.
18975
18976 [BZ #11558]
18977 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18978 set RES_USEVC.
18979
18980 [BZ #11634]
18981 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18982
18983 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18984
18985 [BZ #11781]
18986 * malloc/malloc.h: Declare malloc hook variables as volatile.
18987
18988 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18989 in last patch.
18990
18991 [BZ #11799]
18992 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
18993 raise in the comment.
18994 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18995 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18996 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
18997
189982011-05-28 Ulrich Drepper <drepper@gmail.com>
18999
19000 [BZ #12811]
19001 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19002 grow the buffers more if it already has to be sufficient.
19003 (build_wcs_upper_buffer): Likewise.
19004 * posix/regexec.c (check_matching): Likewise.
19005 (clean_state_log_if_needed): Likewise.
19006 (extend_buffers): Don't enlarge buffers beyond size of the input
19007 buffer.
19008 Patches mostly by Emil Wojak <emil@wojak.eu>.
19009 * posix/bug-regex32.c: New file.
19010 * posix/Makefile (tests): Add bug-regex32.
19011
19012 * locale/findlocale.c (_nl_find_locale): Return right away if
19013 _nl_explode_name failed.
19014 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19015
19016 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19017
19018 * debug/xtrace.sh: Unify messages.
19019 * malloc/memusage.sh: Likewise.
19020
19021 [BZ #12813]
19022 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19023 time symbol from vDSO. Substitute with vsyscall if not available.
19024 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19025 __vdso_time.
19026
19027 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19028 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19029 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19030 Add sendmmsg and internal_sendmmsg.
19031 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19032 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19033 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19034
19035 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19036 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19037 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19038
190392011-05-27 Ulrich Drepper <drepper@gmail.com>
19040
19041 [BZ #12813]
19042 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19043 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19044 available.
19045 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19046 __vdso_getcpu.
19047
19048 [BZ #12814]
19049 * iconvdata/Makefile (tests): Add bug-iconv9.
19050 * iconvdata/bug-iconv9.c: New file.
19051
190522011-05-27 Andreas Schwab <schwab@redhat.com>
19053
19054 [BZ #12814]
19055 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19056
190572011-05-25 Jakub Jelinek <jakub@redhat.com>
19058
19059 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19060 (struct user_regs_struct): Change intcs field back to cs.
19061
190622011-05-25 Ulrich Drepper <drepper@gmail.com>
19063
19064 * po/ja.po: Update from translation team.
19065
190662011-05-23 Ulrich Drepper <drepper@gmail.com>
19067
19068 [BZ #12795]
19069 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19070 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19071
190722011-05-20 Andreas Schwab <schwab@redhat.com>
19073
19074 * stdlib/longlong.h: Update from GCC.
19075
190762011-05-23 Andreas Schwab <schwab@redhat.com>
19077
19078 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19079 parameter name.
19080 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19081 Add parameter name.
19082 (__sysconf): Pass it down.
19083
190842011-05-22 Ulrich Drepper <drepper@gmail.com>
19085
19086 [BZ #12671]
19087 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19088 some situations.
19089 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19090 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19091 add in in __libc_use_alloca calls. Adjust callers.
19092 (glob): Use malloc in some situations.
19093
19094 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19095 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19096 pltexit.
19097
190982011-05-21 Ulrich Drepper <drepper@gmail.com>
19099
19100 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19101 and CLOCK_BOOTTIME_ALARM.
19102
19103 [BZ #12782]
19104 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19105 is returned.
19106
19107 * string/_strerror.c (__strerror_r): Print negative errors as signed
19108 numbers.
19109
19110 [BZ #12777]
19111 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19112 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19113 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19114
19115 * configure.in: Fix typo in redirection and correct removal of test
19116 files in two cases.
19117
19118 [BZ #12788]
19119 * locale/setlocale.c (new_composite_name): Fix test to check for
19120 identical name of all categories.
19121
19122 [BZ #12792]
19123 * libio/filedoalloc.c (local_isatty): New function.
19124 (_IO_file_doallocate): Use local_isatty.
19125 * stdio-common/perror.c (perror): In case a new stream is used
19126 forward the stream error.
19127 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19128 error flag.
19129
191302011-05-20 Ulrich Drepper <drepper@gmail.com>
19131
19132 [BZ #11869]
19133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19134 alloca.
19135 * include/alloca.h (extend_alloca_account): Define.
19136
19137 [BZ #11857]
19138 * posix/regex.h: Fix comments with documentation of user-accessible
19139 fields after compilation and describe correct free'ing of pattern
19140 after re_compile_pattern.
19141 Patch by Reuben Thomas <rrt@sc3d.org>.
19142
191432011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19144
19145 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19146 and -mno-altivec to prevent the compiler from using Altivec and/or
19147 VSX instructions when the corresponding registers are not available.
19148
191492011-05-19 Andreas Schwab <schwab@redhat.com>
19150
19151 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19152
191532011-05-19 Ulrich Drepper <drepper@gmail.com>
19154
19155 * libio/freopen.c (freopen): Use __dup2, not dup2.
19156 * libio/freopen64.c (freopen64): Likewise.
19157
191582011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19159
19160 [BZ #12775]
19161 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19162 * math/Makefile (tests): Add test-powl.
19163 (CFLAGS-test-powl.c): Define.
19164 * math/test-powl.c: New file.
19165
191662011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19167
19168 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19169
191702011-05-17 Ulrich Drepper <drepper@gmail.com>
19171
19172 [BZ #11837]
19173 * iconvdata/gb18030.c: Update to GB18020-2005.
19174
191752011-05-16 Ulrich Drepper <drepper@gmail.com>
19176
19177 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19178 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19179 Patch by Aharon Robbins <arnold@skeeve.com>.
19180
19181 [BZ #11892]
19182 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19183 on the stack.
19184
19185 [BZ #11895]
19186 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19187 through underflows.
19188
19189 [BZ #12766]
19190 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19191 point to strings before performing equality test for error_one_per_line
19192 mode.
19193
19194 [BZ #11697]
19195 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19196
19197 [BZ #11820]
19198 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19199 (struct user_fpregs_struct): Avoid __uint*_t types.
19200
19201 [BZ #6420]
19202 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19203 symbol info. Use it instead of calling _dl_addr locally.
19204 (lock_and_info): New function.
19205 (tr_freehook): Call lock_and_info and pass symbol info as additional
19206 parameter to tr_where.
19207 (tr_mallochook): Likewise.
19208 (tr_reallochook): Likewise.
19209 (tr_memalignhook): Likewise.
19210
19211 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19212 used and couldn't be at all thread-safe.
19213
192142011-05-15 Ulrich Drepper <drepper@gmail.com>
19215
19216 * libio/freopen.c (freopen): Don't close old file descriptor
19217 before the new one is opened. Instead dup the new file descriptor
19218 to the old one after the new stream is created.
19219 * libio/freopen64.c (freopen64): Likewise.
19220 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19221 * libio/fileops.c (_IO_new_file_close_it): Handle new
19222 _IO_FLAGS2_NOCLOSE flag.
19223 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19224 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19225 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19226 _IO_FLAGS2_NOCLOSE flag.
19227 * include/unistd.h: Add hidden_proto for dup3.
19228 Define __have_dup3.
19229 * io/dup3.c: Define hidden symbol.
19230 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19231
19232 [BZ #7101]
19233 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19234 when an incomplete long option is used.
19235 * posix/tst-getopt_long1.c: New file.
19236 * posix/Makefile (tests): Add tst-getopt_long1.
19237
19238 [BZ #10138]
19239 * scripts/config.guess: Update from autoconf-2.68.
19240 * scripts/config.sub: Likewise.
19241
19242 [BZ #10157]
19243 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19244 tests into ...
19245 (has_cpuclock): ...this. New function.
19246 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19247 macro here based on has_cpuclock code.
19248
19249 [BZ #10149]
19250 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19251 First byte (not low byte) is now always NUL.
19252 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19253
19254 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19255 Use non-cancelable interfaces.
19256
19257 [BZ #9809]
19258 * locale/iso-639.def: Add entry for Sorani.
19259
19260 [BZ #11901]
19261 * include/stdlib.h: Move include protection to the right place.
19262 Define abort_msg_s. Declare __abort_msg with it.
19263 * stdlib/abort.c (__abort_msg): Adjust type.
19264 * assert/assert.c (__assert_fail_base): New function. Majority
19265 of code from __assert_fail. Allocate memory for __abort_msg with
19266 mmap.
19267 (__assert_fail): Now call __assert_fail_base.
19268 * assert/assert-perr.c: Remove bulk of implementation. Use
19269 __assert_fail_base.
19270 * include/assert.hL Declare __assert_fail_base.
19271 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19272 mmap.
19273 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19274
192752011-05-14 Ulrich Drepper <drepper@gmail.com>
19276
19277 [BZ #11952]
19278 [BZ #12453]
19279 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19280 until all modules are registered in the DTV.
19281 * elf/Makefile: Add rules to build and run tst-tls19.
19282 * elf/tst-tls19.c: New file.
19283 * elf/tst-tls19mod1.c: New file.
19284 * elf/tst-tls19mod2.c: New file.
19285 * elf/tst-tls19mod3.c: New file.
19286 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19287
19288 [BZ #12083]
19289 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19290 correctly.
19291
19292 [BZ #12601]
19293 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19294 two-byte sequence errors.
19295 * iconvdata/Makefile (tests): Add bug-iconv8.
19296 * iconvdata/bug-iconv8.c: New file.
19297
19298 [BZ #12626]
19299 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19300 buf2 definition.
19301
19302 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19303
19304 [BZ #12432]
19305 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19306 (dummy_getcfa): New function.
19307 (init): Get _Unwind_GetCFA address, use dummy if not found.
19308 (backtrace_helper): In recursion check, also check whether CFA changes.
19309 (__backtrace): Completely initialize arg.
19310
19311 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
19312 storing incomplete byte sequence in state object. Avoid testing for
19313 guaranteed too small input if we know there is enough data available.
19314
193152011-05-11 Andreas Schwab <schwab@redhat.com>
19316
19317 * Makeconfig (+link-pie): Indent.
19318 * Rules (binaries-pie): Define if $(have-fpie) and
19319 $(build-shared).
19320 (binaries-shared): Also filter out $(binaries-pie).
19321 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19322 * nscd/Makefile (others-pie): Add nscd.
19323 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19324 ($(objpfx)nscd): Remove command override.
19325 * login/Makefile (others-pie): Add pt_chown.
19326 ($(objpfx)pt_chown): Remove command override.
19327 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19328 remove command overrides.
19329
193302011-05-13 Ulrich Drepper <drepper@gmail.com>
19331
19332 * libio/tst_putwc.c: Fix error messages.
19333
19334 [BZ #12724]
19335 * libio/fileops.c (_IO_new_file_close_it): Always flush when
19336 currently writing and seek to current position when not.
19337 * libio/Makefile (tests): Add bug-fclose1.
19338 * libio/bug-fclose1.c: New file.
19339
193402011-05-12 Ulrich Drepper <drepper@gmail.com>
19341
19342 [BZ #12511]
19343 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
19344 don't set DF_1_NODELETE here.
19345 (do_lookup_x): When entering new entry test for copy relocation
19346 and if necessary set DF_1_NODELETE flag.
19347 * elf/tst-unique4.cc: New file.
19348 * elf/tst-unique4.h: New file.
19349 * elf/tst-unique4lib.cc: New file.
19350 * elf/Makefile: Add rules to build and run tst-unique4.
19351 Patch by Piotr Bury <pbury@goahead.com>.
19352
193532011-05-11 Ulrich Drepper <drepper@gmail.com>
19354
19355 [BZ #12052]
19356 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
19357
19358 [BZ #12625]
19359 * misc/mntent_r.c (addmntent): Flush the stream after the output
19360
19361 [BZ #12393]
19362 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
19363 (is_trusted_path_normalize): Skip initial colon. Append slash
19364 to empty buffer. Duplicate is_trusted_path code but allow
19365 constructed patch to be prefix.
19366 (is_dst): Allow $ORIGIN followed by /.
19367 (_dl_dst_substitute): Correct clearing of check_for_trusted.
19368 Correct testing of result of is_trusted_path_normalize
19369 (decompose_rpath): Fix warning.
19370
193712011-05-10 Ulrich Drepper <drepper@gmail.com>
19372
19373 [BZ #11257]
19374 * grp/initgroups.c (internal_getgrouplist): When we found the service
19375 list through the initgroups entry in nsswitch.conf do not always
19376 continue on a successful lookup. Don't always use the
19377 __nss_group_database value if it is set.
19378 * nss/nsswitch.conf (initgroups): Change action for successful db
19379 lookup to continue for compatibility.
19380
193812011-05-09 Ulrich Drepper <drepper@gmail.com>
19382
19383 [BZ #11532]
19384 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
19385 and CP774 modules.
19386 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
19387 and CP774 modules.
19388 * iconvdata/tst-tables.sh: Likewise.
19389 * iconvdata/cp770.c: New file.
19390 * iconvdata/cp771.c: New file.
19391 * iconvdata/cp772.c: New file.
19392 * iconvdata/cp773.c: New file.
19393 * iconvdata/cp774.c: New file.
19394 * iconvdata/testdata/CP770: New file.
19395 * iconvdata/testdata/CP770..UTF8: New file.
19396 * iconvdata/testdata/CP771: New file.
19397 * iconvdata/testdata/CP771..UTF8: New file.
19398 * iconvdata/testdata/CP772: New file.
19399 * iconvdata/testdata/CP772..UTF8: New file.
19400 * iconvdata/testdata/CP773: New file.
19401 * iconvdata/testdata/CP773..UTF8: New file.
19402 * iconvdata/testdata/CP774: New file.
19403 * iconvdata/testdata/CP774..UTF8: New file.
19404
19405 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
19406 END CHARMAP line.
19407 * iconvdata/gen-8bit-gap.sh: Likewise.
19408 * iconvdata/gen-8bit.sh: Likewise.
19409
19410 * locale/iso-639.def: Add ary entry.
19411
19412 [BZ #11258]
19413 * locale/C-translit.h.in: Add U20A1 transliteration.
19414
19415 [BZ #12178]
19416 * locale/iso-639.def: Add wae entry.
19417 Patch by Kevin Bortis <bortis@translate-wae.ch>.
19418
19419 [BZ #12545]
19420 * locale/programs/localedef.c (construct_output_path): Use ssize_t
19421 for n.
19422
19423 [BZ #12711]
19424 * locale/C-translit.h.in: Add entry for U20B9.
19425 Patch by pravin.d.s@gmail.com.
19426
194272011-05-08 Ulrich Drepper <drepper@gmail.com>
19428
19429 [BZ #12713]
19430 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
19431 ENAMETOOLONG use generic getcwd.
19432 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
19433 in rtld. Use *stat64.
19434 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
19435 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
19436 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
19437 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
19438 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
19439 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
19440 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
19441 __fstatat64 macros.
19442 * include/dirent.h: Add libc_hidden_proto for rewinddir.
19443 * dirent/rewinddir.c: Add libc_hidden_def.
19444 * sysdeps/mach/hurd/rewinddir.c: Likewise.
19445 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
19446
19447 * include/dirent.h (__alloc_dir): Add flags parameter.
19448 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
19449 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
19450 __alloc_dir.
19451 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
19452 from fdopendir if O_CLOEXEC is already set.
19453
194542011-03-15 Alan Modra <amodra@gmail.com>
19455
19456 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
19457 l_tls_firstbyte_offset non-zero. Save padding offset in
19458 l_tls_firstbyte_offset for later use.
19459 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
19460 freeing static tls block.
19461
194622011-03-05 Jonathan Nieder <jrnieder@gmail.com>
19463
19464 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
19465 where #ifdef was intended. The intent is to prevent ARG_MAX from
19466 being defined by the kernel headers.
19467
194682011-05-07 Ulrich Drepper <drepper@gmail.com>
19469
19470 [BZ #12734]
19471 * resolv/resolv.h: Define RES_NOTLDQUERY.
19472 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
19473 no-tld-query and set RES_NOTLDQUERY.
19474 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
19475 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
19476 modern BIND to search name as TLD unless forbidden.
19477
194782011-05-07 Petr Baudis <pasky@suse.cz>
19479 Ulrich Drepper <drepper@gmail.com>
19480
19481 [BZ #12393]
19482 * elf/dl-load.c (fillin_rpath): Move trusted path check...
19483 (is_trusted_path): ...to here.
19484 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
19485 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
19486 using is_trusted_path_normalize() in setuid scripts.
19487
194882011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19489
19490 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
19491 __BEGIN/__END_DECLS.
19492
194932011-05-06 Ulrich Drepper <drepper@gmail.com>
19494
19495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
19496 NSS_STATUS_NOTFOUND if no record was found.
19497
194982011-05-05 Andreas Schwab <schwab@redhat.com>
19499
19500 * sunrpc/Makefile (headers): Add rpc/netdb.h.
19501 (headers-not-in-tirpc): Remove rpc/netdb.h
19502 * resolv/netdb.h: Revert last change.
19503
195042011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19505
19506 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
19507 circular dependency between libgcc.a and libc.a.
19508
195092011-05-05 Andreas Schwab <schwab@redhat.com>
19510
19511 * resolv/netdb.h: Don't include <rpc/netdb.h>.
19512 * nis/Makefile: Don't install rpcsvc/*.
19513 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
19514 instead of <rpc/types.h>.
19515 (MAXHOSTNAMELEN): Define.
19516
195172011-05-03 Andreas Schwab <schwab@redhat.com>
19518
19519 * elf/ldconfig.c (add_dir): Don't crash on empty path.
19520
195212011-04-28 Maciej Babinski <mbabinski@google.com>
19522
19523 [BZ #12714]
19524 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
19525 gethostbyname4_r when IPv6 results are possible.
19526
195272011-05-02 Ulrich Drepper <drepper@gmail.com>
19528
19529 [BZ #12723]
19530 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
19531 _PC_PIPE_BUF handling.
19532
195332011-04-30 Bruno Haible <bruno@clisp.org>
19534
19535 [BZ #12717]
19536 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
19537 * resolv/netdb.h (getnameinfo): Change type of flags parameter
19538 to 'int'.
19539 * inet/getnameinfo.c (getnameinfo): Likewise.
19540
195412011-04-29 Ulrich Drepper <drepper@gmail.com>
19542
19543 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
19544 to groups setting in database lookup.
19545 * nss/nsswitch.conf: Add initgroups entry.
19546
195472011-04-22 Ulrich Drepper <drepper@gmail.com>
19548
19549 [BZ #12685]
19550 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
19551 mode string.
19552 Patch by Eric Blake <eblake@redhat.com>.
19553
195542011-04-20 H.J. Lu <hongjiu.lu@intel.com>
19555
19556 * sunrpc/Makefile (need-export-routines): Add svc_run.
19557 (routines): Remove svc_run.
19558 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
19559 * sunrpc/clnt_perr.c (clnt_perrno): Export.
19560 * sunrpc/svc_run.c (svc_run): Likewise.
19561 * sunrpc/svc_udp.c (svcudp_create): Likewise.
19562
195632011-04-21 Ulrich Drepper <drepper@gmail.com>
19564
19565 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
19566 problem in reallocation in last patch.
19567
195682011-04-20 Ulrich Drepper <drepper@gmail.com>
19569
19570 * sunrpc/Makefile: Move inclusion of Rules.
19571
195722011-04-19 Ulrich Drepper <drepper@gmail.com>
19573
19574 * nss/nss_files/files-initgroups.c: New file.
19575 * nss/Makefile (libnss_files-routines): Add files-initgroups.
19576 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
19577 _nss_files_initgroups_dyn.
19578
195792011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
19580
19581 * elf/elf.h (R_ARM_IRELATIVE): Define.
19582
195832011-04-19 Ulrich Drepper <drepper@gmail.com>
19584
19585 * po/ru.po: Update from translation team.
19586
195872011-04-17 Ulrich Drepper <drepper@gmail.com>
19588
19589 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
19590 dependencies.
19591
195922011-02-06 Mike Frysinger <vapier@gentoo.org>
19593
19594 [BZ #12653]
19595 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
19596 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
19597 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19598 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19599 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19600
196012011-03-28 Andreas Schwab <schwab@linux-m68k.org>
19602
19603 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
19604 differing bytes.
19605 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19606 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19607 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19608
196092011-04-17 Ulrich Drepper <drepper@gmail.com>
19610
19611 [BZ #12420]
19612 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
19613 storing it.
19614 * stdlib/bug-getcontext.c: New file.
19615 * stdlib/Makefile: Add rules to build and run bug-getcontext.
19616
196172011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19618
19619 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
19620 instructions into .machine "z9-109".
19621 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19622 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19623
196242011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19625
19626 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
19627 between environment variables and auxiliary vector.
19628
196292011-04-16 Ulrich Drepper <drepper@gmail.com>
19630
19631 * Makefile: Add rules to build linkobj/libc.so.
19632 * include/libc-symbols.h: Define libc_hidden_nolink.
19633 * include/rpc/auth.h: Mark functions which are to be hidden.
19634 * include/rpc/auth_des.h: Likewise.
19635 * include/rpc/auth_unix.h: Likewise.
19636 * include/rpc/clnt.h: Likewise.
19637 * include/rpc/des_crypt.h: Likewise.
19638 * include/rpc/key_prot.h: Likewise.
19639 * include/rpc/pmap_clnt.h: Likewise.
19640 * include/rpc/pmap_prot.h: Likewise.
19641 * include/rpc/pmap_rmt.h: Likewise.
19642 * include/rpc/rpc_msg.h: Likewise.
19643 * include/rpc/svc.h: Likewise.
19644 * include/rpc/svc_auth.h: Likewise.
19645 * include/rpc/xdr.h: Likewise.
19646 * nis/Makefile: Link all DSOs against linkobj/libc.so.
19647 * nss/Makefile: Likewise.
19648 * sunrpc/Makefile: Don't install headers. Build library with normal
19649 entry points. Don't build rpcinfo. Link RPC tests appropriately.
19650 * sunrpc/auth_des.c: Hide exported symbols by default, export some
19651 for the compat linking library. Remove use of INTDEF/INTUSE.
19652 * sunrpc/auth_none.c: Likewise.
19653 * sunrpc/auth_unix.c: Likewise.
19654 * sunrpc/authdes_prot.c: Likewise.
19655 * sunrpc/authuxprot.c: Likewise.
19656 * sunrpc/clnt_gen.c: Likewise.
19657 * sunrpc/clnt_perr.c: Likewise.
19658 * sunrpc/clnt_raw.c: Likewise.
19659 * sunrpc/clnt_simp.c: Likewise.
19660 * sunrpc/clnt_tcp.c: Likewise.
19661 * sunrpc/clnt_udp.c: Likewise.
19662 * sunrpc/clnt_unix.c: Likewise.
19663 * sunrpc/des_crypt.c: Likewise.
19664 * sunrpc/des_soft.c: Likewise.
19665 * sunrpc/get_myaddr.c: Likewise.
19666 * sunrpc/key_call.c: Likewise.
19667 * sunrpc/key_prot.c: Likewise.
19668 * sunrpc/netname.c: Likewise.
19669 * sunrpc/pm_getmaps.c: Likewise.
19670 * sunrpc/pm_getport.c: Likewise.
19671 * sunrpc/pmap_clnt.c: Likewise.
19672 * sunrpc/pmap_prot.c: Likewise.
19673 * sunrpc/pmap_prot2.c: Likewise.
19674 * sunrpc/pmap_rmt.c: Likewise.
19675 * sunrpc/publickey.c: Likewise.
19676 * sunrpc/rpc_cmsg.c: Likewise.
19677 * sunrpc/rpc_common.c: Likewise.
19678 * sunrpc/rpc_dtable.c: Likewise.
19679 * sunrpc/rpc_prot.c: Likewise.
19680 * sunrpc/rpc_thread.c: Likewise.
19681 * sunrpc/rtime.c: Likewise.
19682 * sunrpc/svc.c: Likewise.
19683 * sunrpc/svc_auth.c: Likewise.
19684 * sunrpc/svc_authux.c: Likewise.
19685 * sunrpc/svc_raw.c: Likewise.
19686 * sunrpc/svc_run.c: Likewise.
19687 * sunrpc/svc_simple.c: Likewise.
19688 * sunrpc/svc_tcp.c: Likewise.
19689 * sunrpc/svc_udp.c: Likewise.
19690 * sunrpc/svc_unix.c: Likewise.
19691 * sunrpc/svcauth_des.c: Likewise.
19692 * sunrpc/xcrypt.c: Likewise.
19693 * sunrpc/xdr.c: Likewise.
19694 * sunrpc/xdr_array.c: Likewise.
19695 * sunrpc/xdr_float.c: Likewise.
19696 * sunrpc/xdr_intXX_t.c: Likewise.
19697 * sunrpc/xdr_mem.c: Likewise.
19698 * sunrpc/xdr_rec.c: Likewise.
19699 * sunrpc/xdr_ref.c: Likewise.
19700 * sunrpc/xdr_sizeof.c: Likewise.
19701 * sunrpc/xdr_stdio.c: Likewise.
19702
197032011-04-10 Ulrich Drepper <drepper@gmail.com>
19704
19705 [BZ #12650]
19706 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19707 * sysdeps/ia64/dl-tls.h: Likewise.
19708 * sysdeps/powerpc/dl-tls.h: Likewise.
19709 * sysdeps/s390/dl-tls.h: Likewise.
19710 * sysdeps/sh/dl-tls.h: Likewise.
19711 * sysdeps/sparc/dl-tls.h: Likewise.
19712 * sysdeps/x86_64/dl-tls.h: Likewise.
19713 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19714
197152011-03-14 Andreas Schwab <schwab@redhat.com>
19716
19717 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19718 rpath element also skip the following colon.
19719 (expand_dynamic_string_token): Add is_path parameter and pass
19720 down to DL_DST_REQUIRED and _dl_dst_substitute.
19721 (decompose_rpath): Call expand_dynamic_string_token with
19722 non-zero is_path. Ignore empty rpaths.
19723 (_dl_map_object_from_fd): Call expand_dynamic_string_token
19724 with zero is_path.
19725
197262011-04-08 Andreas Schwab <schwab@linux-m68k.org>
19727
19728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19729 Make cancelable.
19730
197312011-04-09 Ulrich Drepper <drepper@gmail.com>
19732
19733 [BZ #12655]
19734 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19735 Patch by Filipe David Manana <fdmanana@apache.org>.
19736
197372011-04-07 Andreas Schwab <schwab@redhat.com>
19738
19739 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19740 Maintain aligned stack.
19741 (CHECK_RSP): Remove unused macro.
19742
197432011-04-03 Ulrich Drepper <drepper@gmail.com>
19744
19745 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19746 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19747
197482011-04-02 Ulrich Drepper <drepper@gmail.com>
19749
19750 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19751
19752 * include/features.h: Mention __USE_XOPEN2K8 in comment.
19753
197542011-03-26 H.J. Lu <hongjiu.lu@intel.com>
19755
19756 [BZ #12518]
19757 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19758 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19759 * sysdeps/x86_64/memmove.c: New file.
19760 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19761 (memcpy): Renamed to ...
19762 (__new_memcpy): This.
19763 (memcpy): Provide GLIBC_2_14 memcpy.
19764 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19765 (memcpy): Provide GLIBC_2_2_5 memcpy.
19766
197672011-04-01 Ulrich Drepper <drepper@gmail.com>
19768
19769 [BZ #12631]
19770 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19771
197722011-03-30 Andreas Schwab <schwab@redhat.com>
19773
19774 * misc/syncfs.c: New file.
19775 * misc/Makefile (routines): Add syncfs.
19776 * posix/unistd.h: Declare syncfs.
19777 * sysdeps/unix/syscalls.list: Add syncfs.
19778
197792011-04-01 Andreas Schwab <schwab@redhat.com>
19780
19781 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19782 open_by_handle_at.
19783 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19784 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19785 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19786 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19787 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19788 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19789 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19790
197912011-04-01 Ulrich Drepper <drepper@gmail.com>
19792
19793 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19794 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19795 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19796 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19797 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19798 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19799 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19800
19801 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19802 sync_file_range.c with -fexceptions.
19803 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19804 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19805 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19806 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19807 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19808 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19809 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
19810 sync_file_range as cancellation point
19811 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19812 now a wrapper around __call_sync_file_range with cancellation handling.
19813 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19814 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19815 function name to __call_sync_file_range.
19816 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19817 Add call_sync_file_range.
19818
198192011-04-01 Andreas Schwab <schwab@redhat.com>
19820
19821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19822 bits/timex.h.
19823
198242011-04-01 Ulrich Drepper <drepper@gmail.com>
19825
19826 * iconv/iconv.h: Fix typo in comment.
19827 * io/fcntl.h: Likewise.
19828 * libio/stdio.h: Likewise.
19829 * posix/spawn.h: Likewise.
19830 * posix/unistd.h: Likewise.
19831 * stdlib/stdlib.h: Likewise.
19832 * time/time.h: Likewise.
19833 * wcsmbs/wchar.h: Likewise.
19834
19835 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19836 open_by_handle): Add.
19837 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19838 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19839 Augment a few comments.
19840 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19841 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19842 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19843 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19844 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19845 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19846 open_by_handle.
19847
19848 * io/fcntl.h (AT_EMPTY_PATH): Define.
19849
198502011-03-30 Ulrich Drepper <drepper@gmail.com>
19851
19852 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19853 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19854 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19855 to...
19856 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
19857 * Versions.def: Add GLIBC_2.14.
19858 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19859 Export.
19860
198612011-03-22 Ulrich Drepper <drepper@gmail.com>
19862
19863 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19864 round counter.
19865 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19866
198672011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19868
19869 [BZ #12597]
19870 * string/test-strncmp.c (do_page_test): New function.
19871 (check2): Likewise.
19872 (test_main): Call check2.
19873 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19874
198752011-03-20 Ulrich Drepper <drepper@gmail.com>
19876
19877 [BZ #12587]
19878 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19879 Handle cache information in CPU leaf 4.
19880 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19881
198822011-03-18 Ulrich Drepper <drepper@gmail.com>
19883
19884 [BZ #12583]
19885 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19886 character representation.
19887 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19888
198892011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19890
19891 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19892 END(__isnan) to END(__isnanf) to match function entry point/label
19893 EALIGN(__isnanf,...).
19894
198952011-03-10 Jakub Jelinek <jakub@redhat.com>
19896
19897 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19898
198992011-03-10 Ulrich Drepper <drepper@gmail.com>
19900
19901 [BZ #12510]
19902 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19903 copy from the symbol referenced in the relocation to initialize the
19904 used variable.
19905 Patch by Piotr Bury <pbury@goahead.com>.
19906 * elf/Makefile: Add rules to build and tst-unique3.
19907 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19908 * elf/tst-unique3.cc: New file.
19909 * elf/tst-unique3.h: New file.
19910 * elf/tst-unique3lib.cc: New file.
19911 * elf/tst-unique3lib2.cc: New file.
19912
19913 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19914
199152011-03-10 Mike Frysinger <vapier@gentoo.org>
19916
19917 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19918 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19919 to _start.
19920
199212011-03-06 Ulrich Drepper <drepper@gmail.com>
19922
19923 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19924 to-be-loaded object along a path to loader is ld.so.
19925
199262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19927 Ulrich Drepper <drepper@gmail.com>
19928
19929 * sysdeps/x86_64/memset.S: After aligning destination, code
19930 branches to different locations depending on the value of
19931 misalignment, when multiarch is enabled. Fix this.
19932
199332011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19934
19935 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19936 Set _x86_64_preferred_memory_instruction for AMD processsors.
19937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19938 Set bit_Prefer_SSE_for_memop for AMD processors.
19939
199402011-03-04 Ulrich Drepper <drepper@gmail.com>
19941
19942 * libio/fmemopen.c (fmemopen): Optimize a bit.
19943
199442011-03-03 Andreas Schwab <schwab@redhat.com>
19945
19946 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19947
199482011-03-03 Roland McGrath <roland@redhat.com>
19949
19950 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19951
199522011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19953
19954 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
19955 __bzero_ultra1 instead of __memset_ultra1.
19956
199572011-02-23 Andreas Schwab <schwab@redhat.com>
19958 Ulrich Drepper <drepper@gmail.com>
19959
19960 [BZ #12509]
19961 * include/link.h (struct link_map): Add l_orig_initfini.
19962 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19963 returning unsuccessfully.
19964 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19965 close of a file loaded at startup, restore the original l_initfini
19966 list.
19967 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19968 list, store the pointer.
19969 * elf/Makefile ($(objpfx)noload-mem): New rule.
19970 (noload-ENV): Define.
19971 (tests): Add $(objpfx)noload-mem.
19972 * elf/noload.c: Include <memcheck.h>.
19973 (main): Call mtrace. Close all opened handles.
19974
199752011-02-17 Andreas Schwab <schwab@redhat.com>
19976
19977 [BZ #12454]
19978 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19979 dependencies are missing.
19980
199812011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19982
19983 Fix __if_freereq crash: Unlike the generic version which uses free,
19984 Hurd needs munmap.
19985 * sysdeps/mach/hurd/ifreq.h: New file.
19986
199872011-01-27 Petr Baudis <pasky@suse.cz>
19988 Ulrich Drepper <drepper@gmail.com>
19989
19990 [BZ 12445]#
19991 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19992 to extend_alloca().
19993 * stdio-common/bug23.c: New file.
19994 * stdio-common/Makefile (tests): Add bug23.
19995
199962010-09-28 Andreas Schwab <schwab@redhat.com>
19997 Ulrich Drepper <drepper@gmail.com>
19998
19999 [BZ #12489]
20000 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20001 before performing relro protection. At old place add assertion
20002 to make sure nothing changed.
20003
200042011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20005 Glauber de Oliveira Costa <glommer@gmail.com>
20006
20007 * elf/elf.h: Add new ARM TLS relocs.
20008
200092011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20010
20011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20012 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20013 cast from r3.
20014 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20015 'tests' variable.
20016 * sysdeps/wordsize-64/tst-writev.c: New file.
20017
200182011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20019
20020 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20021 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20022 insns in _dl_start to prevent a TOC reference before relocs are
20023 resolved.
20024
200252011-02-15 Ulrich Drepper <drepper@gmail.com>
20026
20027 [BZ #12469]
20028 * Makeconfig: Remove RANLIB definition.
20029 * Makerules: Don't use RANLIB.
20030 * aclocal.m4: Remove ranlib test.
20031 * configure.in: No need to check for ranlib.
20032 * elf/rtld-Rules: Don't use RANLIB.
20033
200342011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20035
20036 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20037 protection macro.
20038 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20039 inclusion protection macro.
20040
20041 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20042 SIGRTMIN and SIGRTMAX and print information in that case only when
20043 SIGRTMIN is defined.
20044
200452011-02-11 Jakub Jelinek <jakub@redhat.com>
20046
20047 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20048 arginfo fn returning -1.
20049
20050 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20051 and thousands string is zero terminated.
20052
200532011-02-03 Andreas Schwab <schwab@redhat.com>
20054
20055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20056 sysdeps/unix/sysv/linux/bits/socket.h.
20057
200582011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20059
20060 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20061 (__CPU_COUNT): Remove old macros.
20062 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20063 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20064 (__CPU_ALLOC, __CPU_FREE): Add macros.
20065 (__sched_cpualloc, __sched_cpufree): Add declarations.
20066
200672011-02-05 Ulrich Drepper <drepper@gmail.com>
20068
20069 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20070 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20071 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20072 (readdhstai): Return value of addhstaiX call.
20073 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20074 (addgrbyX): Return value returned by cache_addgr.
20075 (readdgrbyname): Return value returned by addgrbyX.
20076 (readdgrbygid): Likewise.
20077 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20078 (addpwbyX): Return value returned by cache_addpw.
20079 (readdpwbyname): Return value returned by addhstbyX.
20080 (readdpwbyuid): Likewise.
20081 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20082 (addservbyX): Return value returned by cache_addserv.
20083 (readdservbyname): Return value returned by addservbyX:
20084 (readdservbyport): Likewise.
20085 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20086 (addhstbyX): Return value returned by cache_addhst.
20087 (readdhstbyname): Return value returned by addhstbyX.
20088 (readdhstbyaddr): Likewise.
20089 (readdhstbynamev6): Likewise.
20090 (readdhstbyaddrv6): Likewise.
20091 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20092 (readdinitgroups): Return value returned by addinitgroupsX.
20093 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20094 (prune_cache): Keep track of timeout value of re-added entries.
20095 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20096 * nscd/nscd.h: Adjust prototypes of readd* functions.
20097
200982011-02-04 Roland McGrath <roland@redhat.com>
20099
20100 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20101 (nis_stats): Likewise.
20102 * nis/nis_modify.c (nis_modify): Likewise.
20103 * nis/nis_remove.c (nis_remove): Likewise.
20104 * nis/nis_add.c (nis_add): Likewise.
20105
20106 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20107
20108 * posix/fnmatch_loop.c: Add some consts.
20109
20110 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20111
201122011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20113
20114 [BZ #12460]
20115 * config.make.in (config-cflags-novzeroupper): Define.
20116 * configure.in: Substitute libc_cv_cc_novzeroupper.
20117 * elf/Makefile (AVX-CFLAGS): Define.
20118 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20119 (CFLAGS-tst-auditmod4a.c): Likewise.
20120 (CFLAGS-tst-auditmod4b.c): Likewise.
20121 (CFLAGS-tst-auditmod6b.c): Likewise.
20122 (CFLAGS-tst-auditmod6c.c): Likewise.
20123 (CFLAGS-tst-auditmod7b.c): Likewise.
20124 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20125
201262011-02-02 Ulrich Drepper <drepper@gmail.com>
20127
20128 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20129 function to the callback.
20130 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20131
201322011-02-02 Andreas Schwab <schwab@redhat.com>
20133
20134 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20135 of errno.
20136
201372011-01-19 Ulrich Drepper <drepper@gmail.com>
20138
20139 [BZ #11724]
20140 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20141 of constructors.
20142 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20143 of destructors.
20144 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20145
20146 [BZ #11724]
20147 * elf/Makefile: Add rules to build and run new test.
20148 * elf/tst-initorder.c: New file.
20149 * elf/tst-initorder.exp: New file.
20150 * elf/tst-initordera1.c: New file.
20151 * elf/tst-initordera2.c: New file.
20152 * elf/tst-initordera3.c: New file.
20153 * elf/tst-initordera4.c: New file.
20154 * elf/tst-initorderb1.c: New file.
20155 * elf/tst-initorderb2.c: New file.
20156 * elf/tst-order-a1.c: New file.
20157 * elf/tst-order-a2.c: New file.
20158 * elf/tst-order-a3.c: New file.
20159 * elf/tst-order-a4.c: New file.
20160 * elf/tst-order-b1.c: New file.
20161 * elf/tst-order-b2.c: New file.
20162 * elf/tst-order-main.c: New file.
20163 New test case by George Gensure <werkt0@gmail.com>.
20164
201652010-10-01 Andreas Schwab <schwab@redhat.com>
20166
20167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20168 decoding ACE if AI_CANONIDN.
20169
201702011-01-18 Ulrich Drepper <drepper@gmail.com>
20171
20172 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20173
201742011-01-17 Ulrich Drepper <drepper@gmail.com>
20175
20176 * version.h (RELEASE): Bump for 2.13 release.
20177 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20178
20179 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20180
20181 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20182 MADV_NOHUGEPAGE.
20183 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20184 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20185 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20186 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20187 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20188 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20189
20190 * posix/getconf.c: Update copyright year.
20191 * catgets/gencat.c: Likewise.
20192 * csu/version.c: Likewise.
20193 * debug/catchsegv.sh: Likewise.
20194 * debug/xtrace.sh: Likewise.
20195 * elf/ldconfig.c: Likewise.
20196 * elf/ldd.bash.in: Likewise.
20197 * elf/sprof.c (print_version): Likewise.
20198 * iconv/iconv_prog.c: Likewise.
20199 * iconv/iconvconfig.c: Likewise.
20200 * locale/programs/locale.c: Likewise.
20201 * locale/programs/localedef.c: Likewise.
20202 * malloc/memusage.sh: Likewise.
20203 * malloc/mtrace.pl: Likewise.
20204 * nscd/nscd.c (print_version): Likewise.
20205 * nss/getent.c: Likewise.
20206
20207 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20208 PF_CAIF, and PF_ALG.
20209 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20210
202112011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20212
20213 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20214 (modules-names): Use them.
20215 (ifunc-test-modules, ifunc-pie-tests): Define.
20216 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20217 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20218 (test-extras): Likewise.
20219 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20220 $(compile-command.c).
20221 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20222 (all-built-dso): Define.
20223 (check-textrel.out, check-execstack.out): Depend on it.
20224
20225 * configure.in: Don't override --enable-multi-arch.
20226
202272011-01-15 Ulrich Drepper <drepper@gmail.com>
20228
20229 [BZ #6812]
20230 * nscd/hstcache.c (tryagain): Define.
20231 (cache_addhst): Return tryagain not notfound for temporary errors.
20232 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20233 failed.
20234
202352011-01-14 Ulrich Drepper <drepper@gmail.com>
20236
20237 [BZ #10563]
20238 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20239 to make the syscall.
20240 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20241
20242 [BZ #12378]
20243 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20244 and fall back to matching as normal character if the string ends before
20245 the matching ']' is found. This is what POSIX requires.
20246 * posix/testfnm.c: Adjust test result.
20247 * posix/globtest.sh: Adjust test result. Add new test.
20248 * posix/tst-fnmatch.input: Likewise.
20249 * posix/tst-fnmatch2.c: Add new test.
20250
202512010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20252
20253 * elf/Makefile (check-execstack): Revert last change. Depend on
20254 check-execstack.h.
20255 (check-execstack.h): New target.
20256 (generated): Add check-execstack.h.
20257 * elf/check-execstack.c: Include "check-execstack.h".
20258 (main): Revert last change.
20259 (handle_file): Return zero if GNU_STACK is absent and
20260 DEFAULT_STACK_PERMS doesn't include PF_X.
20261
202622011-01-13 Ulrich Drepper <drepper@gmail.com>
20263
20264 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20265 in child fails because the descriptor is already closed.
20266 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20267 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20268 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
20269
20270 [BZ #12397]
20271 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20272 syscall.
20273
20274 [BZ #10484]
20275 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20276 temporary buffer used to handle multi lookups locally.
20277 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
20278
202792011-01-12 Ulrich Drepper <drepper@gmail.com>
20280
20281 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20282 loader is ld.so.
20283
202842011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20285
20286 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20287 alignment for SSE2.
20288
202892011-01-12 Ulrich Drepper <drepper@gmail.com>
20290
20291 [BZ #12394]
20292 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20293 characters. When rounding increased number of integer digits recompute
20294 number of groups.
20295 * stdio-common/tst-grouping.c: New file.
20296 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20297
202982011-01-09 Ulrich Drepper <drepper@gmail.com>
20299
20300 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20301 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20302
20303 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20304 void.
20305 * bits/select.h: Likewise.
20306
203072011-01-08 Ulrich Drepper <drepper@gmail.com>
20308
20309 * po/ja.po: Update from translation team.
20310
203112011-01-04 David S. Miller <davem@sunset.davemloft.net>
20312
20313 [BZ #11155]
20314 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20315 implementation just like for lxstat, fxstatat, et al.
20316
203172010-12-27 Jim Meyering <meyering@redhat.com>
20318
20319 [BZ #12348]
20320 * posix/regexec.c (build_trtable): Return failure indication upon
20321 calloc failure. Otherwise, re_search_internal could infloop on OOM.
20322
203232010-12-25 Ulrich Drepper <drepper@gmail.com>
20324
20325 [BZ #12201]
20326 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20327 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20328 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20329 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20330
20331 [BZ #12207]
20332 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20333
20334 [BZ #12204]
20335 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
20336 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
20337
203382010-12-15 H.J. Lu <hongjiu.lu@intel.com>
20339
20340 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
20341 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
20342 script has SORT_BY_INIT_PRIORITY.
20343 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
20344 NO_CTORS_DTORS_SECTIONS is defined.
20345 * elf/soinit.c: Likewise.
20346 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
20347 NO_CTORS_DTORS_SECTIONS is defined.
20348 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
20349 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
20350 * sysdeps/sh/init-first.c: Likewise.
20351 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
20352
203532010-12-24 Ulrich Drepper <drepper@gmail.com>
20354
20355 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
20356 always use the slow path.
20357
203582010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
20359
20360 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
20361 similar rule which adds the sysdep directories to the header search in
20362 order to pick up the correct platform stackinfo.h.
20363 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
20364 perform test if it is, otherwise return successfully without testing.
20365 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
20366 DEFAULT_STACK_PERMS define in stackinfo.h.
20367 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
20368 defined in stackinfo.h.
20369 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
20370 DEFAULT_STACK_PERMS defined in stackinfo.h.
20371 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
20372 * sysdeps/ia64/stackinfo.h: Likewise.
20373 * sysdeps/s390/stackinfo.h: Likewise.
20374 * sysdeps/sh/stackinfo.h: Likewise.
20375 * sysdeps/sparc/stackinfo.h: Likewise.
20376 * sysdeps/x86_64/stackinfo.h: Likewise.
20377 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
20378 PF_X for powerpc64. Retain PF_X for powerpc32.
20379
203802010-12-19 Ulrich Drepper <drepper@gmail.com>
20381
20382 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
20383 accurately.
20384 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
20385 GETDENTS_64BIT_ALIGNED.
20386
203872010-12-14 Ulrich Drepper <dreper@gmail.com>
20388
20389 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
20390
203912010-12-10 Andreas Schwab <schwab@redhat.com>
20392
20393 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
20394 _GNU_SOURCE.
20395
20396 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
20397 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
20398 Remove __restrict.
20399 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
20400 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
20401
204022010-12-09 Ulrich Drepper <drepper@gmail.com>
20403
20404 [BZ #11655]
20405 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
20406 are initialized.
20407
204082010-12-09 Jakub Jelinek <jakub@redhat.com>
20409
20410 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
20411
204122010-12-03 Ulrich Drepper <drepper@gmail.com>
20413
20414 * po/it.po: Update from translation team.
20415
204162010-12-01 H.J. Lu <hongjiu.lu@intel.com>
20417
20418 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
20419 unused codes.
20420
204212010-11-30 Ulrich Drepper <drepper@gmail.com>
20422
20423 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
20424
204252010-11-24 Andreas Schwab <schwab@redhat.com>
20426
20427 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
20428 specially.
20429 (gaih_getanswer_slice): Likewise.
20430
204312010-10-20 Jakub Jelinek <jakub@redhat.com>
20432
20433 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
20434
204352010-05-31 Petr Baudis <pasky@suse.cz>
20436
20437 [BZ #11149]
20438 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
20439 silently even in the chroot mode.
20440
204412010-11-22 Ulrich Drepper <drepper@gmail.com>
20442
20443 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
20444 last patch a bit. Pretty printing
20445
204462010-05-31 Petr Baudis <pasky@suse.cz>
20447
20448 [BZ #10085]
20449 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
20450 initialization of skip_initgroups_dyn.
20451
204522010-11-19 Ulrich Drepper <drepper@gmail.com>
20453
20454 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
20455 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20456
204572010-11-16 Ulrich Drepper <drepper@gmail.com>
20458
20459 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
20460
204612010-11-11 Andreas Schwab <schwab@redhat.com>
20462
20463 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
20464 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
20465 (tst-fnmatch-ENV): Set MALLOC_TRACE.
20466 ($(objpfx)tst-fnmatch-mem): New rule.
20467 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
20468 * posix/tst-fnmatch.c (main): Call mtrace.
20469
204702010-11-11 H.J. Lu <hongjiu.lu@intel.com>
20471
20472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20473 Support Intel processor model 6 and model 0x2c.
20474
204752010-11-10 Luis Machado <luisgpm@br.ibm.com>
20476
20477 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
20478 signed comparison.
20479
204802010-11-09 H.J. Lu <hongjiu.lu@intel.com>
20481
20482 [BZ #12205]
20483 * string/test-strncasecmp.c (check_result): New function.
20484 (do_one_test): Use it.
20485 (check1): New function.
20486 (test_main): Use it.
20487 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
20488 Support strcasecmp and strncasecmp.
20489
204902010-11-08 Ulrich Drepper <drepper@gmail.com>
20491
20492 [BZ #12194]
20493 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
20494 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20495
204962010-11-07 H.J. Lu <hongjiu.lu@intel.com>
20497
20498 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
20499 IFUNC support.
20500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20501 memset-x86-64.
20502 * sysdeps/x86_64/multiarch/bzero.S: New file.
20503 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
20504 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
20505 * sysdeps/x86_64/multiarch/memset.S: New file.
20506 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
20507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20508 Set bit_Prefer_SSE_for_memop for Intel processors.
20509 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
20510 Define.
20511 (index_Prefer_SSE_for_memop): Define.
20512 (HAS_PREFER_SSE_FOR_MEMOP): Define.
20513
205142010-11-04 Luis Machado <luisgpm@br.ibm.com>
20515
20516 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
20517 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
20518
205192010-11-03 H.J. Lu <hongjiu.lu@intel.com>
20520
20521 [BZ #12191]
20522 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20523 (__x86_64_raw_data_cache_size_half): Likewise.
20524 (__x86_64_raw_shared_cache_size): Likewise.
20525 (__x86_64_raw_shared_cache_size_half): Likewise.
20526
20527 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20528 (__x86_64_raw_data_cache_size_half): Likewise.
20529 (__x86_64_raw_shared_cache_size): Likewise.
20530 (__x86_64_raw_shared_cache_size_half): Likewise.
20531 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
20532 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
20533 and __x86_64_raw_shared_cache_size_half. Round
20534 __x86_64_data_cache_size_half, __x86_64_data_cache_size
20535 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
20536 to multiple of 256 bytes.
20537
205382010-11-03 Ulrich Drepper <drepper@gmail.com>
20539
20540 [BZ #12167]
20541 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
20542 of inacessible symlinks. Verify result of symlink before returning it.
20543 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20544 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
20545
205462010-10-28 Erich Ritz <erichritz@gmail.com>
20547
20548 * math/math.h (isinf): Fix typo in comment.
20549
205502010-11-01 Ulrich Drepper <drepper@gmail.com>
20551
20552 * po/da.po: Update from translation team.
20553
205542010-10-26 Ulrich Drepper <drepper@gmail.com>
20555
20556 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
20557 is added to the list.
20558
205592010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20560 Ulrich Drepper <drepper@gmail.com>
20561
20562 * elf/dl-object.c (_dl_new_object): Don't append the new object to
20563 the global list here. Move code to...
20564 (_dl_add_to_namespace_list): ...here. New function.
20565 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
20566 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
20567 * elf/dl-load.c (lose): Don't remove the element from the list.
20568 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
20569 (_dl_map_object): Likewise.
20570
205712010-10-25 Ulrich Drepper <drepper@gmail.com>
20572
20573 [BZ #12159]
20574 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
20575 into all bytes of SSE register.
20576 Patch by Richard Li <richardpku@gmail.com>.
20577
205782010-10-24 Ulrich Drepper <drepper@gmail.com>
20579
20580 [BZ #12140]
20581 * malloc/malloc.c (_int_free): Fill correct number of bytes when
20582 perturbing.
20583
205842010-10-20 Michael B. Brutman <brutman@us.ibm.com>
20585
20586 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
20587 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
20588 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
20589 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
20591 submachine.
20592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
20593
205942010-10-22 Andreas Schwab <schwab@redhat.com>
20595
20596 * include/dlfcn.h (__RTLD_SECURE): Define.
20597 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
20598 mode & __RTLD_SECURE instead.
20599 (open_path): Rename preloaded parameter to secure.
20600 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
20601 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
20602 * elf/dl-deps.c (openaux): Likewise.
20603 * elf/rtld.c (struct map_args): Remove is_preloaded.
20604 (map_doit): Don't use it.
20605 (dl_main): Likewise.
20606 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
20607 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
20608
206092010-09-09 Andreas Schwab <schwab@redhat.com>
20610
20611 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
20612 (sysd-rules-targets): Remove duplicates.
20613 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
20614 rtld-%.$o dependency.
20615
206162010-10-18 Andreas Schwab <schwab@redhat.com>
20617
20618 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
20619 _dl_map_object do it.
20620
206212010-10-19 Ulrich Drepper <drepper@gmail.com>
20622
20623 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
20624 fast fma builtins, define the macros in the C99 standard.
20625 (FP_FAST_FMAF): Likewise.
20626 (FP_FAST_FMAL): Likewise.
20627 * sysdeps/x86_64/bits/mathdef.h: Likewise.
20628
20629 * bits/mathdef.h: Update copyright year.
20630 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20631
206322010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
20633
20634 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
20635 builtins, define the macros in the C99 standard.
20636 (FP_FAST_FMAF): Likewise.
20637 (FP_FAST_FMAL): Likewise.
20638 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
20639 multiply/add.
20640 (FP_FAST_FMAF): Likewise.
20641
206422010-10-15 Jakub Jelinek <jakub@redhat.com>
20643
20644 [BZ #3268]
20645 * math/libm-test.inc (fma_test): Some new testcases.
20646 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
20647 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
20648 y and infinite z. Do multiplication by C already in long double.
20649 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
20650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
20651 y and infinite z. Do bitwise or of inexact bit into u.d.
20652 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
20653 * sysdeps/i386/fpu/s_fmaf.S: Removed.
20654 * sysdeps/i386/fpu/s_fma.S: Removed.
20655 * sysdeps/i386/fpu/s_fmal.S: Removed.
20656
206572010-10-16 Jakub Jelinek <jakub@redhat.com>
20658
20659 [BZ #3268]
20660 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
20661 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
20662 computation is not scheduled after fetestexcept. Fix value
20663 of minimum denormal long double.
20664
206652010-10-14 Jakub Jelinek <jakub@redhat.com>
20666
20667 [BZ #3268]
20668 * math/libm-test.inc (fma_test): Add some more tests.
20669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
20670 correctly.
20671
206722010-10-15 Andreas Schwab <schwab@redhat.com>
20673
20674 * scripts/data/localplt-s390-linux-gnu.data: New file.
20675 * scripts/data/localplt-s390x-linux-gnu.data: New file.
20676
206772010-10-13 Jakub Jelinek <jakub@redhat.com>
20678
20679 [BZ #3268]
20680 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
20681 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
20682 instead of dbl-64.
20683 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
20684 inlines.
20685 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
20686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
20687 if one of x and y is very large and the other is subnormal.
20688 * sysdeps/s390/fpu/s_fmaf.c: New file.
20689 * sysdeps/s390/fpu/s_fma.c: New file.
20690 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
20691 * sysdeps/powerpc/fpu/s_fma.S: New file.
20692 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
20693 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
20694 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
20695
206962010-10-12 Jakub Jelinek <jakub@redhat.com>
20697
20698 [BZ #3268]
20699 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
20700 fma tests.
20701 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
20702 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20703 * sysdeps/i386/i686/multiarch/s_fma.c: Include
20704 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20705 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20706 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20707 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20708
207092010-10-12 Ulrich Drepper <drepper@redhat.com>
20710
20711 [BZ #12078]
20712 * posix/regcomp.c (parse_branch): One more memory leak plugged.
20713 * posix/bug-regex31.input: Add test case.
20714
207152010-10-11 Ulrich Drepper <drepper@gmail.com>
20716
20717 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20718 * posix/bug-regex31.input: New file.
20719
20720 [BZ #12078]
20721 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20722 (parse_sub_exp): Fix last change, use postorder.
20723
20724 * posix/bug-regex31.c: New file.
20725 * posix/Makefile: Add rules to build and run bug-regex31.
20726
20727 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20728
20729 [BZ #12078]
20730 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20731
20732 [BZ #12108]
20733 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20734 to have entries in sys_siglist.
20735
20736 [BZ #12093]
20737 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20738 be NULL.
20739
207402010-10-07 Jakub Jelinek <jakub@redhat.com>
20741
20742 [BZ #3268]
20743 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20744 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20745 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20746 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20747 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20748 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20749 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20750 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20751 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20752 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20753 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20754 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20755 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20756 * math/ftestexcept.c (fetestexcept): Likewise.
20757 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20758 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20759 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20760 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20761 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20762 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20763 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20764
207652010-10-11 Ulrich Drepper <drepper@gmail.com>
20766
20767 [BZ #12107]
20768 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20769 newline.
20770
207712010-10-06 Ulrich Drepper <drepper@gmail.com>
20772
20773 * string/bug-strstr1.c: New file.
20774 * string/Makefile: Add rules to build and run bug-strstr1.
20775
207762010-10-05 Eric Blake <eblake@redhat.com>
20777
20778 [BZ #12092]
20779 * string/str-two-way.h (two_way_long_needle): Always clear memory
20780 when skipping input due to the shift table.
20781
207822010-10-03 Ulrich Drepper <drepper@gmail.com>
20783
20784 [BZ #12005]
20785 * malloc/mcheck.c: Handle large requests.
20786
20787 [BZ #12077]
20788 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20789 for strncmp and strncasecmp.
20790 * string/stratcliff.c: Add tests for strcmp and strncmp.
20791 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20792
207932010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20794
20795 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20796 __set_fpscr.
20797
207982010-09-30 Andreas Jaeger <aj@suse.de>
20799
20800 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20801 (CGROUP_SUPER_MAGIC): Define.
20802 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20803 Handle btrfs and cgroup file systems.
20804 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20805 Likewise.
20806
208072010-09-27 Luis Machado <luisgpm@br.ibm.com>
20808
20809 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20810 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20811
208122010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20813
20814 [BZ #12067]
20815 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20816 trying to locate the ELF header.
20817
208182010-09-27 Andreas Schwab <schwab@redhat.com>
20819
20820 [BZ #11611]
20821 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20822 Mask out sign-bit copies when constructing f_fsid.
20823
208242010-09-24 Petr Baudis <pasky@suse.cz>
20825
20826 * debug/stack_chk_fail_local.c: Add missing licence exception.
20827 * debug/warning-nop.c: Likewise.
20828
208292010-09-15 Joseph Myers <joseph@codesourcery.com>
20830
20831 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20832 implementing getdents64 using getdents syscall, set d_type if
20833 __ASSUME_GETDENTS32_D_TYPE.
20834
208352010-09-16 Andreas Schwab <schwab@redhat.com>
20836
20837 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20838 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20839
208402010-09-21 Ulrich Drepper <drepper@redhat.com>
20841
20842 [BZ #12037]
20843 * posix/unistd.h: Undo change of feature selection for ftruncate from
20844 2010-01-11.
20845
208462010-09-20 Ulrich Drepper <drepper@redhat.com>
20847
20848 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
20849 detection.
20850
208512010-09-20 Andreas Schwab <schwab@redhat.com>
20852
20853 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20854 fanotify_mark.
20855 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20856
208572010-09-14 Andreas Schwab <schwab@redhat.com>
20858
20859 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20860 variables after CHECK_SP call.
20861 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20862
208632010-09-13 Andreas Schwab <schwab@redhat.com>
20864 Ulrich Drepper <drepper@redhat.com>
20865
20866 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20867 re-relocationg ld.so.
20868 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20869 _dl_init_paths call.
20870 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20871 here anymore.
20872
208732010-09-14 Ulrich Drepper <drepper@redhat.com>
20874
20875 * resolv/res_init.c (__res_vinit): Count the default server we added.
20876
208772010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20878 Ulrich Drepper <drepper@redhat.com>
20879
20880 [BZ #11968]
20881 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20882 (____longjmp_chk): Use %ebx for saving value across system call.
20883 Add unwind info.
20884
208852010-09-06 Andreas Schwab <schwab@redhat.com>
20886
20887 * manual/Makefile: Don't mix pattern rules with normal rules.
20888
208892010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20890
20891 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20892 operation.
20893 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20894 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20895 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20896 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20897 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20898 Likewise.
20899
209002010-09-04 Ulrich Drepper <drepper@redhat.com>
20901
20902 [BZ #11979]
20903 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20904 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20905
209062010-09-02 Ulrich Drepper <drepper@redhat.com>
20907
20908 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20909 * sysdeps/x86_64/addmul_1.S: Likewise.
20910 * sysdeps/x86_64/lshift.S: Likewise.
20911 * sysdeps/x86_64/mul_1.S: Likewise.
20912 * sysdeps/x86_64/rshift.S: Likewise.
20913 * sysdeps/x86_64/sub_n.S: Likewise.
20914 * sysdeps/x86_64/submul_1.S: Likewise.
20915
209162010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20917
20918 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20919 Define __sched_param instead of SCHED_* and sched_param when
20920 <bits/sched.h> is included with __need_schedparam defined.
20921 * bits/sched.h [__need_schedparam]
20922 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
20923 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20924 (__defined_schedparam): Define to 1.
20925 (__sched_param): New structure, identical to sched_param.
20926 (__need_schedparam): Undefine.
20927
209282010-08-31 Mike Frysinger <vapier@gentoo.org>
20929
20930 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20931 (epoll_create1): Declare.
20932
20933 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20934
209352010-08-31 Andreas Schwab <schwab@redhat.com>
20936
20937 [BZ #7066]
20938 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20939 shifting retval into place.
20940
209412010-09-01 Ulrich Drepper <drepper@redhat.com>
20942
20943 * nis/rpcsvc/nis.h: Update copyright notice.
20944 * nis/rpcsvc/nis.x: Likewise.
20945 * nis/rpcsvc/nis_callback.h: Likewise.
20946 * nis/rpcsvc/nis_callback.x: Likewise.
20947 * nis/rpcsvc/nis_object.x: Likewise.
20948 * nis/rpcsvc/nis_tags.h: Likewise.
20949 * nis/rpcsvc/yp.h: Likewise.
20950 * nis/rpcsvc/yp.x: Likewise.
20951 * nis/rpcsvc/ypupd.h: Likewise.
20952 * nis/yp_xdr.c: Likewise.
20953 * nis/ypupdate_xdr.c: Likewise.
20954
20955 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20956 mainly the body of pmap_getport. Add parameters to specify timeouts.
20957 (pmap_getport): Use __libc_rpc_getport.
20958 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20959 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20960 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20961
209622010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20963
20964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20965 fanotify_mark.
20966
209672010-08-27 Roland McGrath <roland@redhat.com>
20968
20969 * sysdeps/i386/i686/multiarch/Makefile
20970 (CFLAGS-varshift.c): New variable.
20971
209722010-08-27 Ulrich Drepper <drepper@redhat.com>
20973
20974 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20975 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20976
20977 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20978
20979 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20980
209812010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20982
20983 * sysdeps/x86_64/strlen.S: Unroll the loop.
20984 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20985 strlen-sse2 strlen-sse2-bsf.
20986 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20987 __strlen_no_bsf if bit_Slow_BSF is set.
20988 (__strlen_sse42): Removed.
20989 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20990 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20991
209922010-08-25 Roland McGrath <roland@redhat.com>
20993
20994 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20995 * sysdeps/x86_64/multiarch/varshift.c: New file.
20996 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20997 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20998 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20999 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21000
210012010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21002
21003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21004 strlen-sse2 strlen-sse2-bsf.
21005 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21006 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21007 (__strlen_sse2): Removed.
21008 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21009 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21011 bit_Slow_BSF for Atom.
21012 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21013 (index_Slow_BSF): Define.
21014 (HAS_SLOW_BSF): Define.
21015
210162010-08-25 Ulrich Drepper <drepper@redhat.com>
21017
21018 [BZ #10851]
21019 * resolv/res_init.c (__res_vinit): When no server address at all
21020 is given default to loopback.
21021
210222010-08-24 Roland McGrath <roland@redhat.com>
21023
21024 * configure.in: Remove config-name.h generation.
21025 * configure: Regenerated.
21026 * config-name.in: File removed.
21027 * scripts/config-uname.sh: New file.
21028 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21029 ($(objdir)config-name.h): New target.
21030
21031 * sunrpc/rpc_parse.h: Avoid nested comment.
21032
210332010-08-24 Richard Henderson <rth@redhat.com>
21034 Ulrich Drepper <drepper@redhat.com>
21035 H.J. Lu <hongjiu.lu@intel.com>
21036
21037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21039 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21040 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21041 _mm_alignr_epi8 with _mm_loadu_si128.
21042 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21043 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21044 (__m128i_shift_right): Removed.
21045 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21046 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21047 * sysdeps/x86_64/multiarch/varshift.h: New file.
21048 * sysdeps/x86_64/multiarch/varshift.S: New file.
21049
210502010-08-21 Mike Frysinger <vapier@gentoo.org>
21051
21052 * configure.in: Move assembler checks to before sysdep dir checking.
21053
210542010-08-20 Petr Baudis <pasky@suse.cz>
21055
21056 * LICENSES: Sync the sunrpc license.
21057
210582010-08-19 Ulrich Drepper <drepper@redhat.com>
21059
21060 * sunrpc/auth_des.c: Update copyright notice once again.
21061 * sunrpc/auth_none.c: Likewise.
21062 * sunrpc/auth_unix.c: Likewise.
21063 * sunrpc/authdes_prot.c: Likewise.
21064 * sunrpc/authuxprot.c: Likewise.
21065 * sunrpc/bindrsvprt.c: Likewise.
21066 * sunrpc/clnt_gen.c: Likewise.
21067 * sunrpc/clnt_perr.c: Likewise.
21068 * sunrpc/clnt_raw.c: Likewise.
21069 * sunrpc/clnt_simp.c: Likewise.
21070 * sunrpc/clnt_tcp.c: Likewise.
21071 * sunrpc/clnt_udp.c: Likewise.
21072 * sunrpc/clnt_unix.c: Likewise.
21073 * sunrpc/des_crypt.c: Likewise.
21074 * sunrpc/des_soft.c: Likewise.
21075 * sunrpc/get_myaddr.c: Likewise.
21076 * sunrpc/getrpcport.c: Likewise.
21077 * sunrpc/key_call.c: Likewise.
21078 * sunrpc/key_prot.c: Likewise.
21079 * sunrpc/openchild.c: Likewise.
21080 * sunrpc/pm_getmaps.c: Likewise.
21081 * sunrpc/pm_getport.c: Likewise.
21082 * sunrpc/pmap_clnt.c: Likewise.
21083 * sunrpc/pmap_prot.c: Likewise.
21084 * sunrpc/pmap_prot2.c: Likewise.
21085 * sunrpc/pmap_rmt.c: Likewise.
21086 * sunrpc/rpc/auth.h: Likewise.
21087 * sunrpc/rpc/auth_unix.h: Likewise.
21088 * sunrpc/rpc/clnt.h: Likewise.
21089 * sunrpc/rpc/des_crypt.h: Likewise.
21090 * sunrpc/rpc/key_prot.h: Likewise.
21091 * sunrpc/rpc/netdb.h: Likewise.
21092 * sunrpc/rpc/pmap_clnt.h: Likewise.
21093 * sunrpc/rpc/pmap_prot.h: Likewise.
21094 * sunrpc/rpc/pmap_rmt.h: Likewise.
21095 * sunrpc/rpc/rpc.h: Likewise.
21096 * sunrpc/rpc/rpc_des.h: Likewise.
21097 * sunrpc/rpc/rpc_msg.h: Likewise.
21098 * sunrpc/rpc/svc.h: Likewise.
21099 * sunrpc/rpc/svc_auth.h: Likewise.
21100 * sunrpc/rpc/types.h: Likewise.
21101 * sunrpc/rpc/xdr.h: Likewise.
21102 * sunrpc/rpc_clntout.c: Likewise.
21103 * sunrpc/rpc_cmsg.c: Likewise.
21104 * sunrpc/rpc_common.c: Likewise.
21105 * sunrpc/rpc_cout.c: Likewise.
21106 * sunrpc/rpc_dtable.c: Likewise.
21107 * sunrpc/rpc_hout.c: Likewise.
21108 * sunrpc/rpc_main.c: Likewise.
21109 * sunrpc/rpc_parse.c: Likewise.
21110 * sunrpc/rpc_parse.h: Likewise.
21111 * sunrpc/rpc_prot.c: Likewise.
21112 * sunrpc/rpc_sample.c: Likewise.
21113 * sunrpc/rpc_scan.c: Likewise.
21114 * sunrpc/rpc_scan.h: Likewise.
21115 * sunrpc/rpc_svcout.c: Likewise.
21116 * sunrpc/rpc_tblout.c: Likewise.
21117 * sunrpc/rpc_util.c: Likewise.
21118 * sunrpc/rpc_util.h: Likewise.
21119 * sunrpc/rpcinfo.c: Likewise.
21120 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21121 * sunrpc/rpcsvc/key_prot.x: Likewise.
21122 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21123 * sunrpc/rpcsvc/mount.x: Likewise.
21124 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21125 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21126 * sunrpc/rpcsvc/rex.x: Likewise.
21127 * sunrpc/rpcsvc/rstat.x: Likewise.
21128 * sunrpc/rpcsvc/rusers.x: Likewise.
21129 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21130 * sunrpc/rpcsvc/spray.x: Likewise.
21131 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21132 * sunrpc/rtime.c: Likewise.
21133 * sunrpc/svc.c: Likewise.
21134 * sunrpc/svc_auth.c: Likewise.
21135 * sunrpc/svc_authux.c: Likewise.
21136 * sunrpc/svc_raw.c: Likewise.
21137 * sunrpc/svc_run.c: Likewise.
21138 * sunrpc/svc_simple.c: Likewise.
21139 * sunrpc/svc_tcp.c: Likewise.
21140 * sunrpc/svc_udp.c: Likewise.
21141 * sunrpc/svc_unix.c: Likewise.
21142 * sunrpc/svcauth_des.c: Likewise.
21143 * sunrpc/xcrypt.c: Likewise.
21144 * sunrpc/xdr.c: Likewise.
21145 * sunrpc/xdr_array.c: Likewise.
21146 * sunrpc/xdr_float.c: Likewise.
21147 * sunrpc/xdr_mem.c: Likewise.
21148 * sunrpc/xdr_rec.c: Likewise.
21149 * sunrpc/xdr_ref.c: Likewise.
21150 * sunrpc/xdr_sizeof.c: Likewise.
21151 * sunrpc/xdr_stdio.c: Likewise.
21152
21153 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21154 handling.
21155
211562010-08-19 Andreas Schwab <schwab@redhat.com>
21157
21158 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21159
211602010-08-19 Luis Machado <luisgpm@br.ibm.com>
21161
21162 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21163 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21164 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21165 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21166 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21167 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21168 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21169 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21170 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21171 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21172 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21173 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21174 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21175 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21176
211772010-07-26 Anton Blanchard <anton@samba.org>
21178
21179 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21180 * malloc/arena.c (heap_trim): Likewise.
21181
211822010-08-16 Ulrich Drepper <drepper@redhat.com>
21183
21184 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21185 here. Not...
21186 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21187 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21188
211892010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21190
21191 * sysdeps/i386/elf/Makefile: New file.
21192
211932010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21194
21195 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21196 from fanotify_init.
21197 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21198 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21199
212002010-08-15 Ulrich Drepper <drepper@redhat.com>
21201
21202 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21203 of strncasecmp_l.
21204 * sysdeps/multiarch/strcmp.S: Likewise.
21205
212062010-08-14 Ulrich Drepper <drepper@redhat.com>
21207
21208 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21209 strncase_l-nonascii.
21210 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21211 Add strncase_l-ssse3.
21212 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21213 * sysdeps/x86_64/strcmp.S: Likewise.
21214 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21215 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21216 * sysdeps/x86_64/strncase.S: New file.
21217 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21218 * sysdeps/x86_64/strncase_l.S: New file.
21219 * string/Makefile (strop-tests): Add strncasecmp.
21220 * string/test-strncasecmp.c: New file.
21221
21222 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21223 warning.
21224
21225 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21226 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21227
212282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21229
21230 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21231
212322010-08-12 Ulrich Drepper <drepper@redhat.com>
21233
21234 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21235 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21236 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21237
212382010-05-01 Alan Modra <amodra@gmail.com>
21239
21240 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21241 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21242 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21243 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21244 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21245 tidying. Don't tail-call __sigjmp_save for static lib.
21246 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21247 save location.
21248 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21249 (CALL_MCOUNT): Add eh info, and nop after bl.
21250 (TAIL_CALL_SYSCALL_ERROR): New macro.
21251 (PSEUDO_RET): Use it.
21252 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21253 Correct save location of integer regs and cr.
21254 (_dl_profile_resolve): Correct cr save location. Delete nops
21255 after bl when SHARED. Reduce cfi size a little by better
21256 placement of cfi directives.
21257 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21258 make a stack frame. Instead use parm save area as a temp.
21259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21260 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21262 Don't make a stack frame for parent, use parm save area.
21263 Increase child stack frame to 112 bytes. Don't save unused reg,
21264 and adjust reg usage. Set up cfi on error recovery and
21265 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21267 (__makecontext): Add dummy nop after jump to exit.
21268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21269 Use correct parm save area and cr save, reduce stack frame.
21270 Correct cfi for possible PSEUDO_RET frame setup.
21271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21272 Branch to local label emitted by PSEUDO_RET rather than
21273 __syscall_error.
21274
212752010-08-12 Andreas Schwab <schwab@redhat.com>
21276
21277 [BZ #11904]
21278 * locale/programs/locale.c (print_assignment): New function.
21279 (show_locale_vars): Use it.
21280
212812010-08-11 Ulrich Drepper <drepper@redhat.com>
21282
21283 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21284 field.
21285 (struct statfs64): Likewise.
21286 (_STATFS_F_FLAGS): Define.
21287 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21288 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21289 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21290 (ST_VALID): Define locally.
21291 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21292 __statvfs_getflags, use the provided value.
21293 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21294 __ASSUME_STATFS_F_FLAGS.
21295
21296 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21297
21298 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21299 Add sys/fanotify.h.
21300 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21301 fanotify_mask for GLIBC_2.13.
21302 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21303 fanotify_init and fanotify_mark.
21304 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21305 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21306
21307 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21308 Add prlimit.
21309 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21310 prlimit64 for GLIBC_2.13.
21311 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21312 prlimit64.
21313 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21314 syscall.
21315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21316 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21317 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21318 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21319 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
21320 add prlimit alias.
21321 * sysdeps/unix/sysv/linux/prlimit.c: New file.
21322
21323 [BZ #11903]
21324 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21325 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21326
21327 * nss/Makefile: Add rules to build and run tst-nss-test1.
21328 * shlib-versions: Add entry for libnss_test1.
21329 * nss/nss_test1.c: New file.
21330 * nss/tst-nss-test1.c: New file.
21331
21332 * nss/nsswitch.c (__nss_database_custom): Define new variable.
21333 (__nss_configure_lookup): Set appropriate entry in
21334 __nss_configure_lookup to true.
21335 * nss/nsswitch.h: Define enum with indeces of databases in
21336 databases and __nss_database_custom arrays. Declare
21337 __nss_database_custom.
21338 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
21339 to avoid using nscd when custom rules are installed.
21340 * nss/getXXbyYY_r.c: Likewise.
21341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21342
21343 * nss/nss_files/files-parse.c: Whitespace fixes.
21344
213452010-08-09 Ulrich Drepper <drepper@redhat.com>
21346
21347 [BZ #11883]
21348 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
21349 * posix/fnmatch_loop.c: Likewise.
21350
213512010-07-17 Andi Kleen <ak@linux.intel.com>
21352
21353 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
21354 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
21355 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
21356 * Versions.def [GLIBC_2.13]: Add.
21357
213582010-08-06 Ulrich Drepper <drepper@redhat.com>
21359
21360 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21361 Also fail if tpwd after pwuid call is NULL.
21362
213632010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
21364
21365 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
21366 when converting to ms.
21367
213682010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21369
21370 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
21371 EOPNOTSUPP errors with ENOTTY.
21372 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
21373 EOPNOTSUPP errors with ENOTTY.
21374
213752010-07-31 Ulrich Drepper <drepper@redhat.com>
21376
21377 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21378 Add strcasecmp_l-ssse3.
21379 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
21380 strcasecmp.
21381 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
21382 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
21383 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
21384
213852010-07-30 Ulrich Drepper <drepper@redhat.com>
21386
21387 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
21388
21389 * string/Makefile (strop-tests): Add strcasecmp.
21390 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21391 strcasecmp_l-nonascii.
21392 (gen-as-const-headers): Add locale-defines.sym.
21393 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
21394 * sysdeps/x86_64/strcasecmp.S: New file.
21395 * sysdeps/x86_64/strcasecmp_l.S: New file.
21396 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
21397 * sysdeps/x86_64/locale-defines.sym: New file.
21398 * string/test-strcasecmp.c: New file.
21399
21400 * string/test-strcasestr.c: Test both ends of the range of characters.
21401 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
21402
214032010-07-29 Roland McGrath <roland@redhat.com>
21404
21405 [BZ #11856]
21406 * manual/locale.texi (Yes-or-No Questions): Fix example code.
21407
214082010-07-27 Ulrich Drepper <drepper@redhat.com>
21409
21410 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
21411 for ld.so.
21412
214132010-07-27 Andreas Schwab <schwab@redhat.com>
21414
21415 * manual/memory.texi (Malloc Tunable Parameters): Document
21416 M_PERTURB.
21417
214182010-07-26 Roland McGrath <roland@redhat.com>
21419
21420 [BZ #11840]
21421 * configure.in (-fgnu89-inline check): Set and substitute
21422 gnu89_inline, not libc_cv_gnu89_inline.
21423 * configure: Regenerated.
21424 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
21425
214262010-07-26 Ulrich Drepper <drepper@redhat.com>
21427
21428 * string/test-strnlen.c: New file.
21429 * string/Makefile (strop-tests): Add strnlen.
21430 * string/tester.c (test_strnlen): Add a few more test cases.
21431 * string/tst-strlen.c: Better error reporting.
21432
21433 * sysdeps/x86_64/strnlen.S: New file.
21434
214352010-07-24 Ulrich Drepper <drepper@redhat.com>
21436
21437 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
21438 lower-latency instructions.
21439
214402010-07-23 Ulrich Drepper <drepper@redhat.com>
21441
21442 * string/test-strcasestr.c: New file.
21443 * string/test-strstr.c: New file.
21444 * string/Makefile (strop-tests): Add strstr and strcasestr.
21445 * string/str-two-way.h: Don't undefine MAX.
21446 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
21447
214482010-07-21 Andreas Schwab <schwab@redhat.com>
21449
21450 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21451 strcasestr-nonascii.
21452 (CFLAGS-strcasestr-nonascii.c): Define.
21453 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
21454 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
21455 Remove unused attribute.
21456
214572010-07-20 Roland McGrath <roland@redhat.com>
21458
21459 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
21460 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
21461 ld.so.cache was broken. With it, there is no way to disable dsocaps
21462 like LD_HWCAP_MASK can disable hwcaps.
21463
214642010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21465
21466 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
21467
214682010-07-16 Ulrich Drepper <drepper@redhat.com>
21469
21470 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
21471 call in strcasestr.
21472 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
21473 __strcasestr_sse42_nonascii.
21474 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
21475 strcasestr-nonascii.c.
21476 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
21477
214782010-06-15 Luis Machado <luisgpm@br.ibm.com>
21479
21480 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
21481 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
21482 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
21483 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
21484
214852010-07-09 Ulrich Drepper <drepper@redhat.com>
21486
21487 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
21488 fcntl.
21489
214902010-07-06 Andreas Schwab <schwab@redhat.com>
21491
21492 [BZ #11577]
21493 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
21494 dl_signal_cerror.
21495
214962010-07-06 Ulrich Drepper <drepper@redhat.com>
21497
21498 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
21499 _PC_PIPE_BUF using F_GETPIPE_SZ.
21500
215012010-07-05 Roland McGrath <roland@redhat.com>
21502
21503 * manual/arith.texi (Rounding Functions): Fix rint description
21504 implicit in round description.
21505
215062010-07-02 Ulrich Drepper <drepper@redhat.com>
21507
21508 * elf/Makefile: Fix linking for a few tests to make recent linker
21509 happy.
21510
215112010-06-30 Andreas Schwab <schwab@redhat.com>
21512
21513 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21514 $(common-objpfx)libc_nonshared.a.
21515
215162010-06-21 Luis Machado <luisgpm@br.ibm.com>
21517
21518 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
21519 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
21520 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21521 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21522 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
21523 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
21524 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21525 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
21527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
21528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
21529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
21531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
21533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
21534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
21535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
21536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
21538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
21540 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
21541 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
21542 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
21543 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
21544 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
21545 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
21546 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
21547 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
21548 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
21549 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
21550 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
21551 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
21552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
21553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
21554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
21555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
21556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
21557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
21558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
21559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
21560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
21561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
21562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
21563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
21564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
21565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
21566
215672010-06-25 H.J. Lu <hongjiu.lu@intel.com>
21568
21569 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
21570 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
21571 * string/memmove.c (memmove): Renamed to ...
21572 (MEMMOVE): ...this. Default to memmove.
21573 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
21574 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
21575 (END_CHK): Define.
21576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21577 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
21578 mempcpy-ssse3-back memmove-ssse3-back.
21579 * sysdeps/x86_64/multiarch/bcopy.S: New file .
21580 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
21581 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
21582 * sysdeps/x86_64/multiarch/memcpy.S: New file.
21583 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
21584 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
21585 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
21586 * sysdeps/x86_64/multiarch/memmove.c: New file.
21587 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
21588 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
21589 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
21590 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
21591 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
21592 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
21593 Define.
21594 (index_Fast_Copy_Backward): Define.
21595 (HAS_ARCH_FEATURE): Define.
21596 (HAS_FAST_REP_STRING): Define.
21597 (HAS_FAST_COPY_BACKWARD): Define.
21598
215992010-06-21 Andreas Schwab <schwab@redhat.com>
21600
21601 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21602 Restore proper fallback handling.
21603
216042010-06-19 Ulrich Drepper <drepper@redhat.com>
21605
21606 [BZ #11701]
21607 * posix/group_member.c (__group_member): Correct checking loop.
21608
21609 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
21610 OOM in getpwuid_r correctly. Return error number when the caller
21611 should return, otherwise -1.
21612 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
21613 call returning > 0 value.
21614 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
21615
216162010-06-07 Andreas Schwab <schwab@redhat.com>
21617
21618 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
21619 libc_nonshared.a from targets in modules-names.
21620
216212010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
21622
21623 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
21624 requires it.
21625
216262010-06-10 Luis Machado <luisgpm@br.ibm.com>
21627
21628 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
21629 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
21630 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
21631 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
21632
216332010-06-02 Andreas Schwab <schwab@redhat.com>
21634
21635 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
21636
216372010-06-14 Ulrich Drepper <drepper@redhat.com>
21638
21639 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
21640 and F_GETPIPE_SZ.
21641 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21642 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21643 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21645 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21646 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
21647
216482010-06-14 Roland McGrath <roland@redhat.com>
21649
21650 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
21651
216522010-06-07 Jakub Jelinek <jakub@redhat.com>
21653
21654 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
21655 __REDIRECT followed by __THROW.
21656 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
21657 * posix/getopt.h (getopt): Likewise.
21658
216592010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21660
21661 * hurd/lookup-at.c (__file_name_lookup_at): Accept
21662 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
21663 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
21664 in AT_FLAGS.
21665 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
21666 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
21667
216682010-05-28 Luis Machado <luisgpm@br.ibm.com>
21669
21670 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
21671
216722010-05-26 H.J. Lu <hongjiu.lu@intel.com>
21673
21674 [BZ #11640]
21675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21676 Properly check family and model.
21677
216782010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
21679
21680 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
21681
216822010-05-24 Luis Machado <luisgpm@br.ibm.com>
21683
21684 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
21685
216862010-05-21 Ulrich Drepper <drepper@redhat.com>
21687
21688 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
21689 symbol reference.
21690
216912010-05-19 Andreas Schwab <schwab@redhat.com>
21692
21693 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
21694 symbol reference.
21695
216962010-05-21 Andreas Schwab <schwab@redhat.com>
21697
21698 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
21699 and internal_recvmmsg.
21700 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
21701 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
21702 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21703 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21704
21705 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21706 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21707 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21708
217092010-05-20 Andreas Schwab <schwab@redhat.com>
21710
21711 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21712
217132010-05-17 Luis Machado <luisgpm@br.ibm.com>
21714
21715 POWER7 optimizations.
21716 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21717 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21718
217192010-05-19 Ulrich Drepper <drepper@redhat.com>
21720
21721 * version.h: Update for 2.13 development version.
21722
217232010-05-12 Andrew Stubbs <ams@codesourcery.com>
21724
21725 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21726 exceptions. Return 0.
21727
217282010-05-07 Roland McGrath <roland@redhat.com>
21729
21730 * elf/ldconfig.c (main): Add a const.
21731
217322010-05-06 Ulrich Drepper <drepper@redhat.com>
21733
21734 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21735 (args_options): Add no-idn option.
21736 (ahosts_keys_int): Add idn_flags to ai_flags.
21737 (parse_option): Handle 'i' option to clear idn_flags.
21738
21739 * malloc/malloc.c (_int_free): Possible race in the most recently
21740 added check. Only act on the data if no current modification
21741 happened.
21742
21743See ChangeLog.17 for earlier changes.