]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix spurious underflows from pow with results close to 1 (bug 14811).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
60e235ee
JM
12012-11-07 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #14811]
4 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5 (__ieee754_powl): Saturate nonzero exponents with absolute value
6 below 0x1p-79 to +/- 0x1p-79.
7 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10 nonzero exponents with absolute value below 0x1p-32 to +/-
11 0x1p-32.
12 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13 (__ieee754_powl): Saturate nonzero exponents with absolute value
14 below 0x1p-79 to +/- 0x1p-79.
15 * math/libm-test.inc (pow_test): Add more tests.
16
0ab234b7
AK
172012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18
19 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20 _dl_s390_cap_flags with kernel. Increase string length.
21 (_dl_s390_platforms): Add z196 and zEC12.
22
45832f74
JM
232012-11-07 Joseph Myers <joseph@codesourcery.com>
24
25 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26 Change XOPEN21K to XOPEN2K.
27
19218757
MK
282012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
29
30 * string/memmove.c: Use memcpy when possible.
31
c5f45721
AJ
322012-11-06 Andreas Jaeger <aj@suse.de>
33
34 * po/eo.po: Update from translation team.
35
82477c28
JM
362012-11-06 Joseph Myers <joseph@codesourcery.com>
37
38 [BZ #14793]
39 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40 exponent and small x and y exponents, scale x or y up. Increase
41 by 2 the exponent used in scaling up.
42 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44 * math/libm-test.inc (fma_test): Add more tests.
45 (fma_test_towardzero): Likewise.
46 (fma_test_downward): Likewise.
47 (fma_test_upward): Likewise.
48
99252c8c
JM
492012-11-05 Joseph Myers <joseph@codesourcery.com>
50
acfa885f
JM
51 [BZ #14805]
52 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
53 fenv_t *.
54
99252c8c
JM
55 [BZ #14801]
56 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
57 namespace for names of struct fields.
58 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
59 fenv_t fields.
60 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
61 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
62
d6d98dea
ST
632012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
64
65 [BZ #3665]
66 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
67
e10bb107
TS
682012-11-04 Thomas Schwinge <thomas@codesourcery.com>
69
70 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
71 PTR_DEMANGLE.
72
73 [BZ #5246]
74 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
75 PTR_DEMANGLE.
76
a0c2940d
JM
772012-11-04 Joseph Myers <joseph@codesourcery.com>
78
79 [BZ #14797]
80 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
81 definitely overflow as x * y not x * y + z.
82 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
83 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
84 * math/libm-test.inc (fma_test): Add more tests.
85 (fma_test_towardzero): Likewise.
86 (fma_test_downward): Likewise.
87 (fma_test_upward): Likewise.
88
b830319d
TS
892012-11-04 Thomas Schwinge <thomas@codesourcery.com>
90
91 [BZ #157]
92
93 * include/stub-tag.h: Remove file.
94 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
95 '#include' of it.
96 * manual/maint.texi (Porting): Don't reference it.
97 * Makerules ($(objpfx)stubs): Likewise.
98 * dirent/closedir.c: Don't include <stub-tag.h>.
99 * dirent/dirfd.c: Likewise.
100 * dirent/fdopendir.c: Likewise.
101 * dirent/getdents.c: Likewise.
102 * dirent/getdents64.c: Likewise.
103 * dirent/opendir.c: Likewise.
104 * dirent/readdir.c: Likewise.
105 * dirent/readdir64.c: Likewise.
106 * dirent/readdir64_r.c: Likewise.
107 * dirent/readdir_r.c: Likewise.
108 * dirent/rewinddir.c: Likewise.
109 * dirent/seekdir.c: Likewise.
110 * dirent/telldir.c: Likewise.
111 * gmon/profil.c: Likewise.
112 * grp/setgroups.c: Likewise.
113 * inet/if_index.c: Likewise.
114 * io/access.c: Likewise.
115 * io/chdir.c: Likewise.
116 * io/chmod.c: Likewise.
117 * io/chown.c: Likewise.
118 * io/close.c: Likewise.
119 * io/dup.c: Likewise.
120 * io/dup2.c: Likewise.
121 * io/dup3.c: Likewise.
122 * io/euidaccess.c: Likewise.
123 * io/faccessat.c: Likewise.
124 * io/fchdir.c: Likewise.
125 * io/fchmod.c: Likewise.
126 * io/fchmodat.c: Likewise.
127 * io/fchown.c: Likewise.
128 * io/fchownat.c: Likewise.
129 * io/fcntl.c: Likewise.
130 * io/flock.c: Likewise.
131 * io/fstatfs.c: Likewise.
132 * io/fstatfs64.c: Likewise.
133 * io/fstatvfs.c: Likewise.
134 * io/fstatvfs64.c: Likewise.
135 * io/futimens.c: Likewise.
136 * io/fxstat.c: Likewise.
137 * io/fxstat64.c: Likewise.
138 * io/fxstatat.c: Likewise.
139 * io/fxstatat64.c: Likewise.
140 * io/getcwd.c: Likewise.
141 * io/isatty.c: Likewise.
142 * io/lchmod.c: Likewise.
143 * io/lchown.c: Likewise.
144 * io/link.c: Likewise.
145 * io/linkat.c: Likewise.
146 * io/lseek.c: Likewise.
147 * io/lseek64.c: Likewise.
148 * io/lxstat64.c: Likewise.
149 * io/mkdir.c: Likewise.
150 * io/mkdirat.c: Likewise.
151 * io/mkfifo.c: Likewise.
152 * io/mkfifoat.c: Likewise.
153 * io/open.c: Likewise.
154 * io/open64.c: Likewise.
155 * io/openat.c: Likewise.
156 * io/openat64.c: Likewise.
157 * io/pipe.c: Likewise.
158 * io/pipe2.c: Likewise.
159 * io/poll.c: Likewise.
160 * io/posix_fadvise.c: Likewise.
161 * io/posix_fadvise64.c: Likewise.
162 * io/posix_fallocate.c: Likewise.
163 * io/posix_fallocate64.c: Likewise.
164 * io/read.c: Likewise.
165 * io/readlink.c: Likewise.
166 * io/readlinkat.c: Likewise.
167 * io/rmdir.c: Likewise.
168 * io/sendfile.c: Likewise.
169 * io/sendfile64.c: Likewise.
170 * io/statfs.c: Likewise.
171 * io/statfs64.c: Likewise.
172 * io/statvfs.c: Likewise.
173 * io/statvfs64.c: Likewise.
174 * io/symlink.c: Likewise.
175 * io/symlinkat.c: Likewise.
176 * io/ttyname.c: Likewise.
177 * io/ttyname_r.c: Likewise.
178 * io/umask.c: Likewise.
179 * io/unlink.c: Likewise.
180 * io/unlinkat.c: Likewise.
181 * io/utime.c: Likewise.
182 * io/utimensat.c: Likewise.
183 * io/write.c: Likewise.
184 * io/xmknod.c: Likewise.
185 * io/xmknodat.c: Likewise.
186 * io/xstat.c: Likewise.
187 * io/xstat64.c: Likewise.
188 * login/getpt.c: Likewise.
189 * login/grantpt.c: Likewise.
190 * login/unlockpt.c: Likewise.
191 * math/e_acoshl.c: Likewise.
192 * math/e_acosl.c: Likewise.
193 * math/e_asinl.c: Likewise.
194 * math/e_atan2l.c: Likewise.
195 * math/e_atanhl.c: Likewise.
196 * math/e_coshl.c: Likewise.
197 * math/e_expl.c: Likewise.
198 * math/e_fmodl.c: Likewise.
199 * math/e_gammal_r.c: Likewise.
200 * math/e_hypotl.c: Likewise.
201 * math/e_j0l.c: Likewise.
202 * math/e_j1l.c: Likewise.
203 * math/e_jnl.c: Likewise.
204 * math/e_lgammal_r.c: Likewise.
205 * math/e_log10l.c: Likewise.
206 * math/e_log2l.c: Likewise.
207 * math/e_logl.c: Likewise.
208 * math/e_powl.c: Likewise.
209 * math/e_rem_pio2l.c: Likewise.
210 * math/e_sinhl.c: Likewise.
211 * math/e_sqrtl.c: Likewise.
212 * math/fclrexcpt.c: Likewise.
213 * math/fedisblxcpt.c: Likewise.
214 * math/feenablxcpt.c: Likewise.
215 * math/fegetenv.c: Likewise.
216 * math/fegetexcept.c: Likewise.
217 * math/fegetround.c: Likewise.
218 * math/feholdexcpt.c: Likewise.
219 * math/fesetenv.c: Likewise.
220 * math/fesetround.c: Likewise.
221 * math/feupdateenv.c: Likewise.
222 * math/fgetexcptflg.c: Likewise.
223 * math/fraiseexcpt.c: Likewise.
224 * math/fsetexcptflg.c: Likewise.
225 * math/ftestexcept.c: Likewise.
226 * math/k_cosl.c: Likewise.
227 * math/k_rem_pio2l.c: Likewise.
228 * math/k_sinl.c: Likewise.
229 * math/k_tanl.c: Likewise.
230 * math/s_asinhl.c: Likewise.
231 * math/s_atanl.c: Likewise.
232 * math/s_cbrtl.c: Likewise.
233 * math/s_erfl.c: Likewise.
234 * math/s_expm1l.c: Likewise.
235 * math/s_log1pl.c: Likewise.
236 * math/s_tanhl.c: Likewise.
237 * misc/acct.c: Likewise.
238 * misc/brk.c: Likewise.
239 * misc/chflags.c: Likewise.
240 * misc/chroot.c: Likewise.
241 * misc/fchflags.c: Likewise.
242 * misc/fgetxattr.c: Likewise.
243 * misc/flistxattr.c: Likewise.
244 * misc/fremovexattr.c: Likewise.
245 * misc/fsetxattr.c: Likewise.
246 * misc/fsync.c: Likewise.
247 * misc/ftruncate.c: Likewise.
248 * misc/futimes.c: Likewise.
249 * misc/futimesat.c: Likewise.
250 * misc/getdomain.c: Likewise.
251 * misc/getdtsz.c: Likewise.
252 * misc/gethostid.c: Likewise.
253 * misc/gethostname.c: Likewise.
254 * misc/getloadavg.c: Likewise.
255 * misc/getpagesize.c: Likewise.
256 * misc/getsysstats.c: Likewise.
257 * misc/getxattr.c: Likewise.
258 * misc/gtty.c: Likewise.
259 * misc/ioctl.c: Likewise.
260 * misc/lgetxattr.c: Likewise.
261 * misc/listxattr.c: Likewise.
262 * misc/llistxattr.c: Likewise.
263 * misc/lremovexattr.c: Likewise.
264 * misc/lsetxattr.c: Likewise.
265 * misc/lutimes.c: Likewise.
266 * misc/madvise.c: Likewise.
267 * misc/mincore.c: Likewise.
268 * misc/mlock.c: Likewise.
269 * misc/mlockall.c: Likewise.
270 * misc/mmap.c: Likewise.
271 * misc/mprotect.c: Likewise.
272 * misc/msync.c: Likewise.
273 * misc/munlock.c: Likewise.
274 * misc/munlockall.c: Likewise.
275 * misc/munmap.c: Likewise.
276 * misc/preadv.c: Likewise.
277 * misc/preadv64.c: Likewise.
278 * misc/ptrace.c: Likewise.
279 * misc/pwritev.c: Likewise.
280 * misc/pwritev64.c: Likewise.
281 * misc/readv.c: Likewise.
282 * misc/reboot.c: Likewise.
283 * misc/remap_file_pages.c: Likewise.
284 * misc/removexattr.c: Likewise.
285 * misc/revoke.c: Likewise.
286 * misc/select.c: Likewise.
287 * misc/setdomain.c: Likewise.
288 * misc/setegid.c: Likewise.
289 * misc/seteuid.c: Likewise.
290 * misc/sethostid.c: Likewise.
291 * misc/sethostname.c: Likewise.
292 * misc/setregid.c: Likewise.
293 * misc/setreuid.c: Likewise.
294 * misc/setxattr.c: Likewise.
295 * misc/sstk.c: Likewise.
296 * misc/stty.c: Likewise.
297 * misc/swapoff.c: Likewise.
298 * misc/swapon.c: Likewise.
299 * misc/sync.c: Likewise.
300 * misc/syncfs.c: Likewise.
301 * misc/syscall.c: Likewise.
302 * misc/truncate.c: Likewise.
303 * misc/ualarm.c: Likewise.
304 * misc/usleep.c: Likewise.
305 * misc/ustat.c: Likewise.
306 * misc/utimes.c: Likewise.
307 * misc/vhangup.c: Likewise.
308 * misc/writev.c: Likewise.
309 * posix/_exit.c: Likewise.
310 * posix/alarm.c: Likewise.
311 * posix/execve.c: Likewise.
312 * posix/fexecve.c: Likewise.
313 * posix/fork.c: Likewise.
314 * posix/fpathconf.c: Likewise.
315 * posix/getaddrinfo.c: Likewise.
316 * posix/getegid.c: Likewise.
317 * posix/geteuid.c: Likewise.
318 * posix/getgid.c: Likewise.
319 * posix/getgroups.c: Likewise.
320 * posix/getlogin.c: Likewise.
321 * posix/getlogin_r.c: Likewise.
322 * posix/getpgid.c: Likewise.
323 * posix/getpid.c: Likewise.
324 * posix/getppid.c: Likewise.
325 * posix/getresgid.c: Likewise.
326 * posix/getresuid.c: Likewise.
327 * posix/getsid.c: Likewise.
328 * posix/getuid.c: Likewise.
329 * posix/glob64.c: Likewise.
330 * posix/nanosleep.c: Likewise.
331 * posix/pathconf.c: Likewise.
332 * posix/pause.c: Likewise.
333 * posix/posix_madvise.c: Likewise.
334 * posix/pread.c: Likewise.
335 * posix/pread64.c: Likewise.
336 * posix/pwrite.c: Likewise.
337 * posix/pwrite64.c: Likewise.
338 * posix/sched_getaffinity.c: Likewise.
339 * posix/sched_getp.c: Likewise.
340 * posix/sched_gets.c: Likewise.
341 * posix/sched_primax.c: Likewise.
342 * posix/sched_primin.c: Likewise.
343 * posix/sched_rr_gi.c: Likewise.
344 * posix/sched_setaffinity.c: Likewise.
345 * posix/sched_setp.c: Likewise.
346 * posix/sched_sets.c: Likewise.
347 * posix/sched_yield.c: Likewise.
348 * posix/setgid.c: Likewise.
349 * posix/setlogin.c: Likewise.
350 * posix/setpgid.c: Likewise.
351 * posix/setresgid.c: Likewise.
352 * posix/setresuid.c: Likewise.
353 * posix/setsid.c: Likewise.
354 * posix/setuid.c: Likewise.
355 * posix/sleep.c: Likewise.
356 * posix/spawni.c: Likewise.
357 * posix/sysconf.c: Likewise.
358 * posix/times.c: Likewise.
359 * posix/wait.c: Likewise.
360 * posix/wait3.c: Likewise.
361 * posix/wait4.c: Likewise.
362 * posix/waitpid.c: Likewise.
363 * resolv/gai_sigqueue.c: Likewise.
364 * resource/getpriority.c: Likewise.
365 * resource/getrlimit.c: Likewise.
366 * resource/getrusage.c: Likewise.
367 * resource/nice.c: Likewise.
368 * resource/setpriority.c: Likewise.
369 * resource/setrlimit.c: Likewise.
370 * resource/ulimit.c: Likewise.
371 * rt/aio_cancel.c: Likewise.
372 * rt/aio_fsync.c: Likewise.
373 * rt/aio_read.c: Likewise.
374 * rt/aio_sigqueue.c: Likewise.
375 * rt/aio_suspend.c: Likewise.
376 * rt/aio_write.c: Likewise.
377 * rt/clock_getres.c: Likewise.
378 * rt/clock_gettime.c: Likewise.
379 * rt/clock_nanosleep.c: Likewise.
380 * rt/clock_settime.c: Likewise.
381 * rt/lio_listio.c: Likewise.
382 * rt/mq_close.c: Likewise.
383 * rt/mq_getattr.c: Likewise.
384 * rt/mq_notify.c: Likewise.
385 * rt/mq_open.c: Likewise.
386 * rt/mq_receive.c: Likewise.
387 * rt/mq_send.c: Likewise.
388 * rt/mq_setattr.c: Likewise.
389 * rt/mq_timedreceive.c: Likewise.
390 * rt/mq_timedsend.c: Likewise.
391 * rt/mq_unlink.c: Likewise.
392 * rt/shm_open.c: Likewise.
393 * rt/shm_unlink.c: Likewise.
394 * rt/timer_create.c: Likewise.
395 * rt/timer_delete.c: Likewise.
396 * rt/timer_getoverr.c: Likewise.
397 * rt/timer_gettime.c: Likewise.
398 * rt/timer_settime.c: Likewise.
399 * setjmp/__longjmp.c: Likewise.
400 * setjmp/setjmp.c: Likewise.
401 * signal/kill.c: Likewise.
402 * signal/killpg.c: Likewise.
403 * signal/raise.c: Likewise.
404 * signal/sigaction.c: Likewise.
405 * signal/sigaltstack.c: Likewise.
406 * signal/sigblock.c: Likewise.
407 * signal/sigignore.c: Likewise.
408 * signal/sigintr.c: Likewise.
409 * signal/signal.c: Likewise.
410 * signal/sigpause.c: Likewise.
411 * signal/sigpending.c: Likewise.
412 * signal/sigqueue.c: Likewise.
413 * signal/sigreturn.c: Likewise.
414 * signal/sigset.c: Likewise.
415 * signal/sigsetmask.c: Likewise.
416 * signal/sigstack.c: Likewise.
417 * signal/sigsuspend.c: Likewise.
418 * signal/sigtimedwait.c: Likewise.
419 * signal/sigvec.c: Likewise.
420 * signal/sigwait.c: Likewise.
421 * signal/sigwaitinfo.c: Likewise.
422 * signal/sysv_signal.c: Likewise.
423 * socket/accept.c: Likewise.
424 * socket/accept4.c: Likewise.
425 * socket/bind.c: Likewise.
426 * socket/connect.c: Likewise.
427 * socket/getpeername.c: Likewise.
428 * socket/getsockname.c: Likewise.
429 * socket/getsockopt.c: Likewise.
430 * socket/isfdtype.c: Likewise.
431 * socket/listen.c: Likewise.
432 * socket/recv.c: Likewise.
433 * socket/recvfrom.c: Likewise.
434 * socket/recvmsg.c: Likewise.
435 * socket/send.c: Likewise.
436 * socket/sendmsg.c: Likewise.
437 * socket/sendto.c: Likewise.
438 * socket/setsockopt.c: Likewise.
439 * socket/shutdown.c: Likewise.
440 * socket/sockatmark.c: Likewise.
441 * socket/socket.c: Likewise.
442 * socket/socketpair.c: Likewise.
443 * stdio-common/ctermid.c: Likewise.
444 * stdio-common/cuserid.c: Likewise.
445 * stdio-common/remove.c: Likewise.
446 * stdio-common/rename.c: Likewise.
447 * stdio-common/renameat.c: Likewise.
448 * stdio-common/tempname.c: Likewise.
449 * stdlib/getcontext.c: Likewise.
450 * stdlib/makecontext.c: Likewise.
451 * stdlib/setcontext.c: Likewise.
452 * stdlib/swapcontext.c: Likewise.
453 * stdlib/system.c: Likewise.
454 * streams/fattach.c: Likewise.
455 * streams/fdetach.c: Likewise.
456 * streams/getmsg.c: Likewise.
457 * streams/getpmsg.c: Likewise.
458 * streams/putmsg.c: Likewise.
459 * streams/putpmsg.c: Likewise.
460 * sysdeps/unix/bsd/getpt.c: Likewise.
461 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
462 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
463 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
465 Likewise.
466 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
467 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
468 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
469 * sysvipc/msgctl.c: Likewise.
470 * sysvipc/msgget.c: Likewise.
471 * sysvipc/msgrcv.c: Likewise.
472 * sysvipc/msgsnd.c: Likewise.
473 * sysvipc/semctl.c: Likewise.
474 * sysvipc/semget.c: Likewise.
475 * sysvipc/semop.c: Likewise.
476 * sysvipc/semtimedop.c: Likewise.
477 * sysvipc/shmat.c: Likewise.
478 * sysvipc/shmctl.c: Likewise.
479 * sysvipc/shmdt.c: Likewise.
480 * sysvipc/shmget.c: Likewise.
481 * termios/tcdrain.c: Likewise.
482 * termios/tcflow.c: Likewise.
483 * termios/tcflush.c: Likewise.
484 * termios/tcgetattr.c: Likewise.
485 * termios/tcgetpgrp.c: Likewise.
486 * termios/tcsendbrk.c: Likewise.
487 * termios/tcsetattr.c: Likewise.
488 * termios/tcsetpgrp.c: Likewise.
489 * time/adjtime.c: Likewise.
490 * time/clock.c: Likewise.
491 * time/getitimer.c: Likewise.
492 * time/gettimeofday.c: Likewise.
493 * time/setitimer.c: Likewise.
494 * time/settimeofday.c: Likewise.
495 * time/stime.c: Likewise.
496 * time/time.c: Likewise.
497
4982012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 499
a20492cf
PT
500 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
501 /usr/old/bin.
502
72e182e3
PT
503 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
504 instead of spaces.
505 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
506
fbeafede
JM
5072012-11-03 Joseph Myers <joseph@codesourcery.com>
508
5b5b04d6
JM
509 [BZ #14796]
510 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
511 FE_TONEAREST before applying Dekker multiplication and Knuth
512 addition. Clear inexact exceptions and check for exact zero
513 results afterwards.
514 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
515 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
516 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
517 * math/libm-test.inc (fma_test): Add more tests.
518 (fma_test_towardzero): Likewise.
519 (fma_test_downward): Likewise.
520 (fma_test_upward): Likewise.
521 * sysdeps/generic/math_private.h (default_libc_fesetround): New
522 function.
523 (libc_fesetround): New macro.
524 (libc_fesetroundf): Likewise.
525 (libc_fesetroundl): Likewise.
526 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
527 function.
528 (libc_fesetround_387): Likewise.
529 (libc_fesetroundf): New macro.
530 (libc_fesetround): Likewise.
531 (libc_fesetroundl): Likewise.
532 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
533 function.
534 (libc_fesetroundf): New macro.
535 (libc_fesetround): Likewise.
536 (libc_fesetroundl): Likewise.
537 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
538 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
539 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
540 libm_hidden_ver.
541 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
542 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
543 libm_hidden_def.
544 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
545 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
546 libm_hidden_ver.
547 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
548 libm_hidden_def.
549
fbeafede
JM
550 [BZ #3439]
551 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
552 integer constant usable in #if and use that to give value to enum
553 constant.
554 (FE_DIVBYZERO): Likewise.
555 (FE_UNDERFLOW): Likewise.
556 (FE_OVERFLOW): Likewise.
557 (FE_INVALID): Likewise.
558 (FE_INVALID_SNAN): Likewise.
559 (FE_INVALID_ISI): Likewise.
560 (FE_INVALID_IDI): Likewise.
561 (FE_INVALID_ZDZ): Likewise.
562 (FE_INVALID_IMZ): Likewise.
563 (FE_INVALID_COMPARE): Likewise.
564 (FE_INVALID_SOFTWARE): Likewise.
565 (FE_INVALID_SQRT): Likewise.
566 (FE_INVALID_INTEGER_CONVERSION): Likewise.
567 (FE_TONEAREST): Likewise.
568 (FE_TOWARDZERO): Likewise.
569 (FE_UPWARD): Likewise.
570 (FE_DOWNWARD): Likewise.
571 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
572 (FE_DIVBYZERO): Likewise.
573 (FE_OVERFLOW): Likewise.
574 (FE_UNDERFLOW): Likewise.
575 (FE_INEXACT): Likewise.
576 (FE_TONEAREST): Likewise.
577 (FE_DOWNWARD): Likewise.
578 (FE_UPWARD): Likewise.
579 (FE_TOWARDZERO): Likewise.
580 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
581 (FE_UNDERFLOW): Likewise.
582 (FE_OVERFLOW): Likewise.
583 (FE_DIVBYZERO): Likewise.
584 (FE_INVALID): Likewise.
585 (FE_TONEAREST): Likewise.
586 (FE_TOWARDZERO): Likewise.
587 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
588 (FE_OVERFLOW): Likewise.
589 (FE_UNDERFLOW): Likewise.
590 (FE_DIVBYZERO): Likewise.
591 (FE_INEXACT): Likewise.
592 (FE_TONEAREST): Likewise.
593 (FE_TOWARDZERO): Likewise.
594 (FE_UPWARD): Likewise.
595 (FE_DOWNWARD): Likewise.
596 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
597 (FE_DIVBYZERO): Likewise.
598 (FE_OVERFLOW): Likewise.
599 (FE_UNDERFLOW): Likewise.
600 (FE_INEXACT): Likewise.
601 (FE_TONEAREST): Likewise.
602 (FE_DOWNWARD): Likewise.
603 (FE_UPWARD): Likewise.
604 (FE_TOWARDZERO): Likewise.
605
105ca950
CM
6062012-11-02 Chris Metcalf <cmetcalf@tilera.com>
607
608 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
609
a542b389
AS
6102012-11-03 Andreas Schwab <schwab@linux-m68k.org>
611
612 * scripts/cross-test-ssh.sh (command): Use newlines to separate
613 commands. Quote $PWD.
614 (blacklist_exports): Don't use remove_newlines. Replace "declare
615 -x" by "export".
616 (remove_newlines): Remove.
617
f62c8abc
L
6182012-11-02 H.J. Lu <hongjiu.lu@intel.com>
619
620 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
621 * stdlib/stdlib.h (atof): Moved to ...
622 * include/bits/stdlib-float.h: Here. New file.
623 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
624 * stdlib/bits/stdlib-float.h: New file.
625 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
626 -mno-sse -mno-mmx.
627 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
628 <xmmintrin.h>.
629
0155d5b2
JM
6302012-11-02 Joseph Myers <joseph@codesourcery.com>
631
a68d0680
JM
632 * conform/conformtest.pl (@headers): Add fenv.h.
633 * conform/data/fenv.h-data: New file.
634 * include/fenv.h [_ISOMAC]: Disable all contents of file except
635 include of <math/fenv.h>.
636
caf7f573
JM
637 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
638 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
639 && !UNIX98]. Enables tests for XOPEN2K8.
640 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
641 POSIX2008]: Likewise.
642
6c073ad6
JM
643 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
644 (struct rusage): Do not expect type or its members.
645
0155d5b2
JM
646 [BZ #3439]
647 * math/math.h (FP_NAN): Define macro to integer constant usable in
648 #if and use that to give value to enum constant.
649 (FP_INFINITE): Likewise.
650 (FP_ZERO): Likewise.
651 (FP_SUBNORMAL): Likewise.
652 (FP_NORMAL): Likewise.
653
b5dcacb4
AS
6542012-11-02 Andreas Schwab <schwab@linux-m68k.org>
655
656 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
657 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
658 arguments.
659
f7934be8
RM
6602012-11-02 Roland McGrath <roland@hack.frob.com>
661
662 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
663 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
664 autoconf-time if not.
665 * configure.in: Remove AC_PREREQ.
666
d7d08bde
TMQMF
6672012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
668
669 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
670 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
671 of the internal implementation.
672
dcdae19a
JM
6732012-11-02 Joseph Myers <joseph@codesourcery.com>
674
675 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
676 except include of <misc/sys/syslog.h>.
677
d6cffd3e
AS
6782012-11-01 Andreas Schwab <schwab@linux-m68k.org>
679
680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
681 function returns with a NULL context exit with zero.
682
b3563932
TMQMF
6832012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
684
685 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
686
b288a93d
L
6872012-11-01 H.J. Lu <hongjiu.lu@intel.com>
688
689 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
690 (run_program_cmd): This.
691 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
692 (tst_langinfo): New variable. Use it.
693
a2421a68
SAS
6942012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
695
696 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
697 floating point opcodes.
698
6f796e1b
TS
6992012-11-01 Thomas Schwinge <thomas@codesourcery.com>
700
7402596b
TS
701 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
702 variable.
703
d0d4f868
TS
704 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
705
6f796e1b
TS
706 * sysdeps/mach/hurd/powerpc: Remove directory.
707 * sysdeps/mach/powerpc: Likewise.
708
4da224a2
AS
7092012-11-01 Andreas Schwab <schwab@linux-m68k.org>
710
711 * scripts/check-local-headers.sh: Ignore c++ headers.
712
341dd673
TS
7132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
714
715 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
716 __libc_cleanup_region_start argument.
717
473611b2
JM
7182012-11-01 Joseph Myers <joseph@codesourcery.com>
719
720 [BZ #14784]
721 [BZ #14785]
722 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
723 x * y using scaling, not as x * y + z.
724 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
725 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
726 * math/libm-test.inc (fma_test): Add more tests.
727 (fma_test_towardzero): Likewise.
728 (fma_test_downward): Likewise.
729 (fma_test_upward): Likewise.
730
4078da3d
TS
7312012-11-01 Thomas Schwinge <thomas@codesourcery.com>
732
733 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
734
903252aa
JM
7352012-10-31 Joseph Myers <joseph@codesourcery.com>
736
737 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
738 New variable.
739
cbc818d0
TS
7402012-10-31 Thomas Schwinge <thomas@codesourcery.com>
741
742 * rt/tst-shm.c (worker): Correct checking for mmap failure.
743
5a03cb1e
AS
7442012-10-31 Andreas Schwab <schwab@linux-m68k.org>
745
746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
747 Fix sort order.
748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
749 Likewise.
750
90aff2ff
TMQMF
7512012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
752
753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
754 Fix the order of the list for glibc 2.17.
755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
756 Likewise.
757
1818fcb7
AS
7582012-10-31 Andreas Schwab <schwab@linux-m68k.org>
759
760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
761
ef82f4da
JM
7622012-10-31 Joseph Myers <joseph@codesourcery.com>
763
16a0e2ec
JM
764 [BZ #14610]
765 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
766 for low part of x being zero before using __atanl (y).
767 * math/libm-test.inc (atan2_test): Add another test.
768
0eb69512
JM
769 * manual/install.texi (Configuring and compiling): Document
770 general use of test-wrapper and test-wrapper-env.
771 * INSTALL: Regenerated.
772
ef82f4da
JM
773 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
774 (__fma): Do not extract and scale down low bits on after-rounding
775 systems when result rounded to normal precision would have normal
776 exponent.
777 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
778 (__fmal): Do not extract and scale down low bits on after-rounding
779 systems when result rounded to normal precision would have normal
780 exponent.
781 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
782 (__fmal): Do not extract and scale down low bits on after-rounding
783 systems when result rounded to normal precision would have normal
784 exponent.
785 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
786 macro.
787 (fma_test): Add more tests.
788 (fma_test_towardzero): Likewise.
789 (fma_test_downward): Likewise.
790 (fma_test_upward): Likewise.
791
954ef0d9
L
7922012-10-30 H.J. Lu <hongjiu.lu@intel.com>
793
794 * sysdeps/i386/tininess.h: Renamed to ...
795 * sysdeps/x86/tininess.h: This.
796 * sysdeps/x86_64/tininess.h: Removed.
797
df61ffb2
JM
7982012-10-30 Joseph Myers <joseph@codesourcery.com>
799
800 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
801 input. Use $(build-program-cmd).
802 ($(objpfx)tst-array1-static.out): Likewise.
803 ($(objpfx)tst-array2.out): Likewise.
804 ($(objpfx)tst-array3.out): Likewise.
805 ($(objpfx)tst-array4.out): Likewise.
806 ($(objpfx)tst-array5.out): Likewise.
807 ($(objpfx)tst-array5-static.out): Likewise.
808
01767843
CM
8092012-10-30 Chris Metcalf <cmetcalf@tilera.com>
810
47cc1490
CM
811 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
812 if defined.
813
01767843
CM
814 * nss/nsswitch.h (nss_interface_function): Provide new
815 macro for use with NSS functions.
816 * grp/initgroups.c: Use new macro.
817 * nss/getXXbyYY.c: Likewise.
818 * nss/getXXbyYY_r.c: Likewise.
819 * nss/getXXent.c: Likewise.
820 * nss/getXXent_r.c: Likewise.
821 * sysdeps/posix/getaddrinfo.c: Likewise.
822
8321aa97
AJ
8232012-10-30 Andreas Jaeger <aj@suse.de>
824
825 * po/ru.po: Update Russion translation from translation project.
826
2a27fd6d
JM
8272012-10-30 Joseph Myers <joseph@codesourcery.com>
828
8627a232
JM
829 [BZ #14152]
830 [BZ #14783]
831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
832 result and shift together with sticky bit instead of replicating
833 round-to-nearest rounding.
834 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
835 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
836 * math/libm-test.inc (fma_test): Add more tests. Do not permit
837 missing underflow exceptions.
838 (fma_test_towardzero): Add more tests.
839 (fma_test_downward): Likewise.
840 (fma_test_upward): Likewise.
841
2a27fd6d
JM
842 [BZ #14047]
843 * sysdeps/generic/tininess.h: New file.
844 * sysdeps/i386/tininess.h: Likewise.
845 * sysdeps/sh/tininess.h: Likewise.
846 * sysdeps/x86_64/tininess.h: Likewise.
847 * stdlib/tst-strtod-underflow.c: Likewise.
848 * stdlib/tst-tininess.c: Likewise.
849 * stdlib/strtod_l.c: Include <tininess.h>.
850 (round_and_return): Do not set errno for exact underflow cases.
851 Force an underflow exception when setting errno for underflow.
852 Determine underflow based on rounding to normal precision if
853 TININESS_AFTER_ROUNDING.
854 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
855 ERANGE for exact underflow cases.
856 * stdlib/Makefile (tests): Add tst-tininess and
857 tst-strtod-underflow.
858 ($(objpfx)tst-tininess): Use $(link-libm).
859 ($(objpfx)tst-strtod-underflow): Likewise.
860
e7170363
AJ
8612012-10-30 Andreas Jaeger <aj@suse.de>
862
e5088dc6
AJ
863 [BZ#14767]
864 * elf/Makefile (tests): Remove conditional for have-initfini-array
865 since this is now always required and the variable does not exist
866 anymore.
867 (tests-static): Likewise.
868 (modules-names): Likewise.
869
e7170363 870 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
871
872 * elf/tst-array1.c (fini_array): Make writeable so that it can be
873 merged with constructor/destructor.
874 (init_array): Likewise.
875 * elf/tst-array2dep.c (fini_array): Likewise.
876 (init_array): Likewise.
877
60457d8a
MF
8782012-10-29 Mike Frysinger <vapier@gentoo.org>
879
880 * manual/message.texi: Delete @cartouche tags.
881
8bece752
PT
8822012-10-29 Pino Toscano <toscano.pino@tiscali.it>
883
94ce799f
PT
884 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
885 EOPNOTSUPP.
886 * sysdeps/mach/hurd/fsync.c: Likewise.
887
8bece752
PT
888 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
889 [_POSIX_REALTIME_SIGNALS]: Change condition to
890 [_POSIX_REALTIME_SIGNALS > 0].
891
86ebe6b1
AJ
8922012-10-27 Andreas Jaeger <aj@suse.de>
893
894 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
895 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
896 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
897 [__WORDSIZE != 64]: Likewise.
898
54399c08
L
8992012-10-26 H.J. Lu <hongjiu.lu@intel.com>
900
901 * iconvdata/tst-table.sh: Remove ${SHELL}.
902 * iconvdata/tst-tables.sh: Likewise.
903
e2211bed
DM
9042012-10-25 David S. Miller <davem@davemloft.net>
905
906 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
907 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
908 of strtoull.
909
f303f97c
DM
910 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
911 ifunc-impl-list.c
912 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
913 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
914 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
915 file.
916
1e9d84cd
RM
9172012-10-25 Roland McGrath <roland@hack.frob.com>
918
919 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
920 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
921 __getdirentries.
922
df381762
JM
9232012-10-25 Joseph Myers <joseph@codesourcery.com>
924 Jim Blandy <jimb@codesourcery.com>
925
926 * scripts/cross-test-ssh.sh: New file.
927 * manual/install.texi (Configuring and compiling): Document use of
928 cross-test-ssh.sh.
929 * INSTALL: Regenerated.
930
bff64913
PT
9312012-10-25 Pino Toscano <toscano.pino@tiscali.it>
932
933 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
934 EOPNOTSUPP.
935
25fe8932
JM
9362012-10-25 Joseph Myers <joseph@codesourcery.com>
937
938 * Makeconfig (run-program-prefix): Fix comment.
939
cc1290d0
JM
9402012-10-24 Joseph Myers <joseph@codesourcery.com>
941 Jim Blandy <jimb@codesourcery.com>
942
943 * Makeconfig (test-wrapper): New variable,
944 (test-wrapper-env): Likewise.
945 [$(cross-compiling) = yes && $(test-wrapper) != ""]
946 (run-built-tests): Define to yes.
947 (run-program-prefix): Use $(test-wrapper).
948 (built-program-cmd): Likewise.
949 * Rules (make-test-out): Use $(test-wrapper-env) and
950 $(host-built-program-cmd).
951 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
952 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
953 tst-pathopt.sh.
954 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
955 $(test-wrapper-env) to tst-rtld-load-self.sh.
956 ($(objpfx)order2.out): Use $(test-wrapper).
957 ($(objpfx)tst-initorder.out): Likewise.
958 ($(objpfx)tst-initorder2.out): Likewise.
959 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
960 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
961 (test_wrapper_env): New variable. Use it to run ld.so.
962 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
963 Use it to run ld.so.
964 (test_wrapper_env): Likewise.
965 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
966 $(test-wrapper) to run-iconv-test.sh.
967 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
968 (ICONV): Use $test_wrapper.
969 * posix/Makefile ($(objpfx)globtest.out): Pass
970 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
971 globtest.sh, not $(run-program-prefix).
972 * posix/globtest.sh (run_via_rtld_prefix): New variable.
973 (test_wrapper): Likewise.
974 (test_wrapper_env): Likewise. Use it to run globtest with HOME
975 set together with run_via_rtld_prefix.
976 (run_program_prefix): Define in terms of test_wrapper and
977 run_via_rtld_prefix.
978
6e6249d0
RM
9792012-10-24 Roland McGrath <roland@hack.frob.com>
980
981 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
982 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
983 Targets removed.
984
985 [BZ #14743]
986 * include/time.h: Remove librt_hidden_proto (clock_gettime).
987 Declare __clock_getres, __clock_gettime, __clock_settime,
988 __clock_nanosleep, and __clock_getcpuclockid.
989 * rt/clock_gettime.c: Define __clock_gettime as an alias.
990 Remove librt_hidden_def (clock_gettime).
991 * sysdeps/unix/clock_gettime.c: Likewise.
992 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
993 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
994 * rt/clock_getres.c: Define __clock_getres as an alias.
995 * sysdeps/posix/clock_getres.c: Likewise.
996 * rt/clock_settime.c: Define __clock_settime as an alias.
997 * sysdeps/unix/clock_settime.c: Likewise.
998 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
999 * sysdeps/unix/clock_nanosleep.c: Likewise.
1000 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1001 * rt/clock-compat.c: New file.
1002 * rt/Makefile (librt-routines): Add clock-compat and move
1003 $(clock-routines) to ...
1004 (routines): ... here, new variable.
1005 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1006 Don't add get_clockfreq here.
1007 * rt/Versions (libc: GLIBC_2.17): New version set.
1008 Add clock_* symbols here.
1009 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1010 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1011 (GLIBC_2.17): Add clock_* symbols.
1012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1014 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1016 Likewise.
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1018 Likewise.
1019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1023 * NEWS: Mention the move.
1024
1025 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1026 Use __open, __read, __close rather than their public counterparts.
1027 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1028 (__get_clockfreq_via_cpuinfo): Likewise.
1029 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1030 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1031
1032 * config.h.in (HAVE_IFUNC): New #undef.
1033 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1034 was successful.
1035 * configure: Regenerated.
1036
0cae3f4b
MF
10372012-10-24 Mike Frysinger <vapier@gentoo.org>
1038
1039 * configure.in: Move READELF check to start of file.
1040 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1041 libc_cv_asm_gnu_indirect_function in the process.
1042 * configure: Regenerated.
1043
8175a253
MF
10442012-10-24 Mike Frysinger <vapier@gentoo.org>
1045
1046 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1047 send the output to /dev/null.
1048 (libc_cv_cc_with_libunwind): Likewise.
1049 (libc_cv_as_noexecstack): Likewise.
1050 * configure: Regenerate.
1051
0708a7d1
JM
10522012-10-24 Joseph Myers <joseph@codesourcery.com>
1053
10b40d85
JM
1054 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1055
0708a7d1
JM
1056 * posix/globtest.sh (TMPDIR): Do not set.
1057 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1058 (testout): Likewise.
1059
9fddec1a
AJ
10602012-10-24 Andreas Jaeger <aj@suse.de>
1061
3a8db22f
AJ
1062 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1063 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1064 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1065 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1066 posix_fadvise64, posix_fallocate64.
1067
9fddec1a
AJ
1068 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1069 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1070 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1071 Likewise.
1072 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1073 Likewise.
1074 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1075
1076 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1077 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1078 <bits/fcntl-linux.h>.
1079 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1080
1081 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1082 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1083 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1084 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1085 [__WORDSIZE != 64]: Likewise.
1086
ebfd1bbd
JM
10872012-10-23 Joseph Myers <joseph@codesourcery.com>
1088
03ac099f
JM
1089 * Makeconfig (run-built-tests): New variable.
1090 * Rules [$(cross-compiling) = yes]: Change condition to
1091 [$(run-built-tests) = no].
1092 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1093 to [$(run-built-tests) = yes].
1094 * elf/Makefile [$(cross-compiling) = no]: Likewise
1095 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1096 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1097 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1098 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1099 * io/Makefile [$(cross-compiling) = no]: Likewise.
1100 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1101 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1102 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1103 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1104 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1105 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1106 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1107 * string/Makefile [$(cross-compiling) = no]: Likewise.
1108
ebfd1bbd
JM
1109 * posix/Makefile ($(objpfx)globtest.out): Pass
1110 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1111 $(rtld-installed-name).
1112 * posix/globtest.sh (elf_objpfx): Remove variable.
1113 (rtld_installed_name): Likewise.
1114 (library_path): Likewise.
1115 (run_program_prefix): New variable. Use for running globtest
1116 binary.
1117
166bca24
JB
11182012-10-23 Jim Blandy <jimb@codesourcery.com>
1119 Joseph Myers <joseph@codesourcery.com>
1120
1121 * Makeconfig (host-built-program-cmd): New variable.
1122 * elf/Makefile (tst-stackguard1-ARGS): Use
1123 $(host-built-program-cmd).
1124 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1125 (tst-spawn-ARGS): Likewise.
1126 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1127
88866099
JM
11282012-10-23 Joseph Myers <joseph@codesourcery.com>
1129 Jim Blandy <jimb@codesourcery.com>
1130
1131 * Makeconfig (run-via-rtld-prefix): New variable.
1132 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1133 (built-program-cmd): Likewise.
1134
b4b4c296
AJ
11352012-10-22 Andreas Jaeger <aj@suse.de>
1136
1137 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1138 __O_RSYNC if it exists, otherwise to O_SYNC.
1139
6fb54a22
JB
11402012-10-22 Jim Blandy <jimb@codesourcery.com>
1141 Joseph Myers <joseph@codesourcery.com>
1142
1143 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1144 /dev/null.
1145 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1146 from /dev/null
1147 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1148 /dev/null.
1149
481b90b9
AJ
11502012-10-22 Andreas Jaeger <aj@suse.de>
1151
2a0e2669
AJ
1152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1153 Define always.
1154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1155
76e38f9a
AJ
1156 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1157 bits/fcntl-linux.h.
1158
7cd37b43
AJ
1159 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1160 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1161
481b90b9
AJ
1162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1163 to __O_LARGEFILE.
1164 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1165 to __O_LARGEFILE.
1166
aba75984
JB
11672012-10-21 Jim Blandy <jimb@codesourcery.com>
1168 Joseph Myers <joseph@codesourcery.com>
1169
1170 * config.make.in (NM): New variable.
1171
88d4247f
AJ
11722012-10-21 Andreas Jaeger <aj@suse.de>
1173
1174 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1175 definitions and declarations that are provided by
1176 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1177
f2eed205
L
11782012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1179
1180 [BZ #14683]
1181 * elf/Makefile (tests-static): Add tst-leaks1-static.
1182 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1183 ($(objpfx)tst-leaks1-static): New rule.
1184 ($(objpfx)tst-leaks1-static-mem): Likewise.
1185 (tst-leaks1-static-ENV): New macro.
1186 * elf/dl-open.c (dl_open_worker): Check the main application
1187 only if SHARED is defined.
1188 * elf/tst-leaks1-static.c: New file.
1189
335e6931
AJ
11902012-10-20 Andreas Jaeger <aj@suse.de>
1191
1192 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1193 generic values for Linux.
1194 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1195 and declarations that are provided by <bits/fcntl-linux.h> and
1196 include <bits/fcntl-linux.h>.
1197 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1198 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1199
ac5c94d3
RM
12002012-10-20 Roland McGrath <roland@hack.frob.com>
1201
1202 * io/fcntl.h: Move include of <bits/types.h> to the top and
1203 include it unconditionally.
1204
de54b33a
L
12052012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1206
228cfb01
L
1207 * wcsmbs/Makefile (tests-ifunc): New variable.
1208 (tests): Add $(tests-ifunc).
1209 * wcsmbs/test-wcschr-ifunc.c: New file.
1210 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1211 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1212 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1213 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1214 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1215
69f07e5f
L
1216 * string/Makefile (tests-ifunc): New variable.
1217 (tests): Add $(tests-ifunc).
1218 * string/test-memccpy.c (TEST_NAME): New macro.
1219 * string/test-memchr.c (TEST_NAME): Likewise.
1220 * string/test-memcmp.c (TEST_NAME): Likewise.
1221 * string/test-memcpy.c (TEST_NAME): Likewise.
1222 * string/test-memmem.c (TEST_NAME): Likewise.
1223 * string/test-memmove.c (TEST_NAME): Likewise.
1224 * string/test-memset.c (TEST_NAME): Likewise.
1225 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1226 * string/test-stpcpy.c (TEST_NAME): Likewise.
1227 * string/test-stpncpy.c (TEST_NAME): Likewise.
1228 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1229 * string/test-strcasestr.c (TEST_NAME): Likewise.
1230 * string/test-strcat.c (TEST_NAME): Likewise.
1231 * string/test-strchr.c (TEST_NAME): Likewise.
1232 * string/test-strcmp.c(TEST_NAME): Likewise.
1233 * string/test-strcpy.c (TEST_NAME): Likewise.
1234 * string/test-strcspn.c (TEST_NAME): Likewise.
1235 * string/test-strlen.c (TEST_NAME): Likewise.
1236 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1237 * string/test-strncmp.c (TEST_NAME): Likewise.
1238 * string/test-strncpy.c (TEST_NAME): Likewise.
1239 * string/test-strnlen.c (TEST_NAME): Likewise.
1240 * string/test-strpbrk.c (TEST_NAME): Likewise.
1241 * string/test-strrchr.c (TEST_NAME): Likewise.
1242 * string/test-strspn.c (TEST_NAME): Likewise.
1243 * string/test-strstr.c (TEST_NAME): Likewise.
1244 * string/test-bcopy-ifunc.c: New file.
1245 * string/test-bzero-ifunc.c: Likewise.
1246 * string/test-memccpy-ifunc.c: Likewise.
1247 * string/test-memchr-ifunc.c: Likewise.
1248 * string/test-memcmp-ifunc.c: Likewise.
1249 * string/test-memcpy-ifunc.c: Likewise.
1250 * string/test-memmem-ifunc.c: Likewise.
1251 * string/test-memmove-ifunc.c: Likewise.
1252 * string/test-mempcpy-ifunc.c: Likewise.
1253 * string/test-memset-ifunc.c: Likewise.
1254 * string/test-rawmemchr-ifunc.c: Likewise.
1255 * string/test-stpcpy-ifunc.c: Likewise.
1256 * string/test-stpncpy-ifunc.c: Likewise.
1257 * string/test-strcasecmp-ifunc.c: Likewise.
1258 * string/test-strcasestr-ifunc.c: Likewise.
1259 * string/test-strcat-ifunc.c: Likewise.
1260 * string/test-strchr-ifunc.c: Likewise.
1261 * string/test-strchrnul-ifunc.c: Likewise.
1262 * string/test-strcmp-ifunc.c: Likewise.
1263 * string/test-strcpy-ifunc.c: Likewise.
1264 * string/test-strcspn-ifunc.c: Likewise.
1265 * string/test-strlen-ifunc.c: Likewise.
1266 * string/test-strncasecmp-ifunc.c: Likewise.
1267 * string/test-strncat-ifunc.c: Likewise.
1268 * string/test-strncmp-ifunc.c: Likewise.
1269 * string/test-strncpy-ifunc.c: Likewise.
1270 * string/test-strnlen-ifunc.c: Likewise.
1271 * string/test-strpbrk-ifunc.c: Likewise.
1272 * string/test-strrchr-ifunc.c: Likewise.
1273 * string/test-strspn-ifunc.c: Likewise.
1274 * string/test-strstr-ifunc.c: Likewise.
1275
de54b33a
L
1276 * debug/Makefile (tests-ifunc): New variable.
1277 (tests): Add $(tests-ifunc).
1278 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1279 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1280 * debug/test-stpcpy_chk-ifunc.c: New file.
1281 * debug/test-strcpy_chk-ifunc.c: Likewise.
1282
88481c16
SP
12832012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1284
1285 [BZ #13601]
1286 * elf/dl-load.c (open_verify): Retry read if the entire ELF
1287 header is not read in.
1288
135948bd
JM
12892012-10-19 Joseph Myers <joseph@codesourcery.com>
1290
89f1c388
JM
1291 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
1292 script to $(SHELL) as $<. Pass $(common-objpfx) to script
1293 directly. Pass built executable to script as
1294 $(built-program-cmd).
1295 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
1296 $testprogram without using LD_LIBRARY_PATH and $ldso.
1297
e40a0d21
JM
1298 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1299 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1300 $(rtld-installed-name).
1301 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1302 (rtld_installed_name): Likewise.
1303 (library_path): Likewise.
1304 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
1305 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1306 $(run-program-prefix) to tst-tables.sh.
1307 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
1308 it to run tst-table-from and tst-table-to.
1309 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
1310 Pass it to tst-table.sh.
1311 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
1312 $(run-program-prefix) to tst-gettext.sh.
1313 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
1314 tst-translit.sh.
1315 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
1316 tst-gettext2.sh.
1317 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
1318 to run tst-gettext.
1319 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
1320 to run tst-gettext2.
1321 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
1322 to run tst-translit.
1323 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
1324 $(run-program-prefix) to tst-mtrace.sh.
1325 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
1326 to run tst-mtrace.
1327 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
1328 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
1329 $(rtld-installed-name).
1330 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
1331 (rtld_installed_name): Likewise.
1332 (run_program_prefix): New variable. Use it to run wordexp-test.
1333
728e272a
JM
1334 * Makeconfig (ARCH): Remove all definitions.
1335 (machine): Likewise.
1336 [ARCH]: Remove conditional code.
1337 [!objdir]: Give error.
1338 [!objdir] (objpfx): Remove.
1339 [!objdir] (common-objpfx): Likewise.
1340 [!objdir] (common-objdir): Likewise.
1341 * configure.in (config_makefile): Remove. Hardcode Makefile in
1342 AC_CONFIG_FILES call.
1343 * configure: Regenerated.
1344
d528cdcf
JM
1345 [BZ #13888]
1346 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
1347 or TMPDIR.
1348 (testout): Likewise.
1349
135948bd
JM
1350 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
1351 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
1352 $(rtld-installed-name).
1353 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
1354 (rtld_installed_name): Likwise.
1355 (runit): Remove function.
1356 (run_getconf): New variable, Use it for running getconf binary.
1357
38c78296
L
13582012-10-18 H.J. Lu <hongjiu.lu@intel.com>
1359
1360 [BZ #14716]
1361 * string/test-memmem.c (check_result): New function.
1362 (do_one_test): Use it.
1363 (check1): New function.
1364 (test_main): Use it.
1365
d077f65f
MT
13662012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
1367
1368 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
1369
ced52c71
JM
13702012-10-18 Joseph Myers <joseph@codesourcery.com>
1371
1372 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
1373 (_G_LSEEK64): Likewise.
1374 (_G_MMAP64): Likewise.
1375 (_G_FSTAT64): Likewise.
1376 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
1377 (_G_LSEEK64): Likewise.
1378 (_G_MMAP64): Likewise.
1379 (_G_FSTAT64): Likewise.
1380 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
1381 unconditional. Call __mmap64 directly.
1382 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
1383 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
1384 __lseek64 directly.
1385 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
1386 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
1387 __mmap64 directly.
1388 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
1389 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
1390 __lseek64 directly.
1391 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
1392 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
1393 __lseek64 directly.
1394 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
1395 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
1396 __lseek64 directly.
1397 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
1398 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
1399 __fxstat64 directly.
1400 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
1401 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
1402 unconditional.
1403 (freopen64) [!_G_OPEN64]: Remove conditional code.
1404 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
1405 unconditional.
1406 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
1407 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
1408 unconditional.
1409 (ftello64) [!_G_LSEEK64]: Remove conditional code.
1410 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
1411 unconditional.
1412 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1413 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
1414 unconditional.
1415 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
1416 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
1417 unconditional.
1418 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1419 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
1420 unconditional.
1421 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1422 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
1423 unconditional.
1424 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1425
b741de23
SP
14262012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1427
1428 [BZ #12140]
1429 * manual/memory.texi (Malloc Tunable Parameters): Add note
1430 about free list pointers overwriting some perturb bytes.
1431 Wording suggested by Roland McGrath.
1432
f9b9d9c9
JM
14332012-10-17 Joseph Myers <joseph@codesourcery.com>
1434
1435 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
1436 (lgamma_test): Likewise.
1437 (tgamma_test): Likewise.
1438
172a631a
FW
14392012-10-16 Florian Weimer <fweimer@redhat.com>
1440
1441 [BZ #14700]
1442 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
1443 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
1444
e9f37252
MK
14452012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
1446
1447 * NEWS: Mention BZ #14716.
1448 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
1449 when removing AVAILABLE1_USES_J macro.
1450
d394eb74
L
14512012-10-12 H.J. Lu <hongjiu.lu@intel.com>
1452
1453 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
1454 (__bswap_64): __uint64_t for unsigned 64-bit int.
1455
ca38dc17
AS
14562012-10-12 Andreas Schwab <schwab@linux-m68k.org>
1457
1458 * include/string.h (memmem): Declare libc hidden alias.
1459 * string/memmem.c (memmem): Define libc hidden alias.
1460 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
1461 __read, __close instead of open, read, close.
1462
9a387d1f
L
14632012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1464
ac49ecaf
L
1465 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
1466 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
1467 global and hidden.
1468 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
1469 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
1470 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
1471 Likewise.
1472 (__rawmemchr_sse2): Likewise.
1473 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
1474 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
1475 (__strchr_sse2): Likewise.
1476 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
1477 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
1478 (__strcasecmp_sse2): Likewise.
1479 (__strncasecmp_sse2): Likewise.
1480 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
1481 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
1482 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
1483 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
1484 (__strrchr_sse2): Likewise.
1485 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
1486 ifunc-impl-list.c.
1487 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1488 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1489 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1490 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1491 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1492 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1493 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1494 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1495 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
1496 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
1497 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1498 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
1499 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
1500 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1501 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1502 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1503 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1504 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1505 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
1506 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1507 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1508 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1509 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1510 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1511 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1512 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1513 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1514 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1515 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1516 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1517
b090e8ea
L
1518 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
1519 global and hidden.
1520 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
1521 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
1522 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
1523 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
1524 Likewise.
1525 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
1526 Likewise.
1527 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
1528 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
1529 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
1530 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
1531 ifunc-impl-list.c.
1532 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1533 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1534 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1535 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1536 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1537 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1538 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1539 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1540 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1541 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1542 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1543 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1544 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1545 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
1546 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
1547 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1548 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
1549 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
1550 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1551 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1552 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1553 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1554 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1555 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1556 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1557 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
1558 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
1559 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
1560 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
1561 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1562 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
1563 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1564 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1565 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
1566 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1567 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1568 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1569 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1570 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1571 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1572 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
1573
11dd4af6
L
1574 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
1575 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
1576 * include/ifunc-impl-list.h: New file.
1577 * misc/ifunc-impl-list.c: Likewise.
1578 * misc/Makefile (routines): Add ifunc-impl-list.
1579 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
1580 * string/test-string.h: Include <ifunc-impl-list.h>.
1581 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
1582 impl_array): New variables.
1583 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
1584 are defined.
1585 (test_init): Call __libc_ifunc_impl_list to initialize
1586 func_list if TEST_IFUNC and TEST_NAME are defined.
1587
9a387d1f
L
1588 * string/Makefile (strop-tests): Add bcopy and bzero.
1589 * string/test-bcopy.c: New file.
1590 * string/test-bzero.c: Likewise.
1591 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
1592 defined.
1593 * string/test-memset.c: Support bzero test if TEST_BZERO is
1594 defined.
1595 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
1596 __libc_memmove.
1597 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
1598 __libc_memset.
1599 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
1600 of memset.
1601
472371b9
JM
16022012-10-10 Joseph Myers <joseph@codesourcery.com>
1603
1e4a9536
JM
1604 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
1605 * configure: Regenerated.
1606
d173d12e
JM
1607 * Makeconfig (+link-static-before-libc): Don't include
1608 $(link-static-libc).
1609
472371b9
JM
1610 * libio/libio.h (_IO_pos_t): Remove.
1611
89a3ad0b
AO
16122012-10-10 Alexandre Oliva <aoliva@redhat.com>
1613
1614 * NEWS: Add note about FIPS mode. Wording suggested by Roland
1615 McGrath.
1616
e7451425
AO
16172012-10-10 Alexandre Oliva <aoliva@redhat.com>
1618
1619 * crypt/crypt-entry.c: Include fips-private.h.
1620 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
1621 * crypt/md5c-test.c (main): Tolerate disabled MD5.
1622 * sysdeps/unix/sysv/linux/fips-private.h: New file.
1623 * sysdeps/generic/fips-private.h: New file, dummy fallback.
1624
4ba74a35
AO
16252012-10-10 Alexandre Oliva <aoliva@redhat.com>
1626
1627 * crypt/crypt-private.h: Include stdbool.h.
1628 (_ufc_setup_salt_r): Return bool.
1629 * crypt/crypt-entry.c: Include errno.h.
1630 (__crypt_r): Return NULL with EINVAL for bad salt.
1631 * crypt/crypt_util.c (bad_for_salt): New.
1632 (_ufc_setup_salt_r): Check that salt is long enough and within
1633 the specified alphabet.
1634 * crypt/badsalttest.c: New file.
1635 * crypt/Makefile (tests): Add it.
1636 ($(objpfx)badsalttest): New.
1637
f96f1242
MK
16382012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
1639
1640 * NEWS: Add entry for BZ #14602.
1641
0e8e0c1c
JM
16422012-10-09 Joseph Myers <joseph@codesourcery.com>
1643
1644 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
1645 type-generic.
1646 * math/libm-test.inc: Update comment listing what functions and
1647 macros are tested.
1648 (isgreater_test): New function.
1649 (isgreaterequal_test): Likewise.
1650 (isless_test): Likewise.
1651 (islessequal_test): Likewise.
1652 (islessgreater_test): Likewise.
1653 (isunordered_test): Likewise.
1654 (main): Call the new functions.
1655
273edc5e
RM
16562012-10-09 Roland McGrath <roland@hack.frob.com>
1657
b8493de0
RM
1658 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
1659 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
1660 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
1661 * sysdeps/i386/configure: Regenerated.
1662 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
1663 * sysdeps/mach/configure: Regenerated.
1664 * sysdeps/mach/hurd/configure: Regenerated.
1665 * sysdeps/powerpc/configure: Regenerated.
1666 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1667 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1668 * sysdeps/s390/s390-32/configure: Regenerated.
1669 * sysdeps/s390/s390-64/configure: Regenerated.
1670 * sysdeps/sh/configure: Regenerated.
1671 * sysdeps/sparc/configure: Regenerated.
1672 * sysdeps/unix/sysv/linux/configure: Regenerated.
1673 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1674 * sysdeps/x86_64/configure: Regenerated.
1675
273edc5e
RM
1676 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1677 defined. Don't check if MAP is NULL.
1678
c8450f70
JM
16792012-10-09 Joseph Myers <joseph@codesourcery.com>
1680
1681 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1682 (_G_stat64): Likewise.
1683 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1684 (_G_stat64): Likewise.
1685 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1686 instead of struct _G_stat64.
1687 * libio/fileops.c (mmap_remap_check): Likewise.
1688 (decide_maybe_mmap): Likewise.
1689 (_IO_new_file_seekoff): Likewise.
1690 (_IO_file_stat): Likewise.
1691 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1692 _G_off64_t.
1693 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1694 instead of struct _G_stat64.
1695 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1696
57e605ba
MK
16972012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
1698
1699 [BZ #14602]
1700 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1701 Replace with ...
1702 (CHECK_EOL): New macro.
1703 (two_way_short_needle): Check beginning of haystack for EOL. Use
1704 CHECK_EOL.
1705 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1706 Replace with CHECK_EOL.
1707 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1708 Replace with CHECK_EOL.
1709
ef1bb361
JM
17102012-10-08 Joseph Myers <joseph@codesourcery.com>
1711
1712 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1713 type-generic.
1714 * math/libm-test.inc: Update comment listing what functions and
1715 macros are tested.
1716 (finite_test): New function.
1717 (isinf_test): Likewise.
1718 (isnan_test): Likewise.
1719 (fpclassify_test): Test subnormal input.
1720 (isfinite_test): Likewise.
1721 (isnormal_test): Likewise.
1722 (main): Call the new functions.
1723
55f11534
JN
17242012-10-08 Jonathan Nieder <jrnieder@gmail.com>
1725
1726 [BZ #14660]
1727 * Makerules (%.dynsym): Force C locale when running
1728 $(OBJDUMP) --dynamic-syms.
1729
1ab29350
AS
17302012-10-08 Andreas Schwab <schwab@linux-m68k.org>
1731
1732 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1733 <stdint.h>.
1734
f1ecb7ef
DM
17352012-10-06 David S. Miller <davem@davemloft.net>
1736
1737 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1738 upper 32-bits of the length value in %o2 since we use branch-on-register
1739 tests which consider the entire 64-bit register.
1740
5d41d91a
L
17412012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1742
1743 * string/test-strstr.c (check2): Add a test for page boundary.
1744
3baddb72
DM
17452012-10-05 David S. Miller <davem@davemloft.net>
1746
1747 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1748 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1749 file.
1750 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1751 sysdep_routines.
1752 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1753 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1754 and bzero when HWCAP_SPARC_CRYPTO is present.
1755
9cee5585
L
17562012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1757
d7e0dab9
L
1758 [BZ #14602]
1759 * string/test-strstr.c (check2): New function.
1760 (test_main): Call check2.
1761
03759f47
L
1762 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1763 and bug-strchr1.
1764 * string/bug-strcasestr1.c (do_test): Moved to ...
1765 * string/test-strcasestr.c (check1): Here. New function.
1766 (do_one_test): Break out result checking code into ...
1767 (check_result): This. New function.
1768 (do_one_test): Call check_result.
1769 (test_main): Call check1.
1770 * string/bug-strchr1.c (do_test): Moved to ...
1771 * string/test-strchr.c (check1): Here. New function.
1772 (do_one_test): Break out result checking code into ...
1773 (check_result): This. New function.
1774 (do_one_test): Call check_result.
1775 (test_main): Call check1.
1776 * string/bug-strstr1.c (main): Moved to ...
1777 * string/test-strchr.c (check1): Here. New function.
1778 (do_one_test): Break out result checking code into ...
1779 (check_result): This. New function.
1780 (do_one_test): Call check_result.
1781 (test_main): Call check1.
1782 * string/bug-strcasestr1.c: Removed.
1783 * string/bug-strchr1.c: Likewise.
1784 * string/bug-strstr1.c: Likewise.
1785
53cea63e
L
1786 * elf/Makefile (dl-routines): Add hwcaps.
1787 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1788 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1789 (_dl_important_hwcaps): Moved to ...
1790 * elf/dl-hwcaps.c: Here. New file.
1791 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1792
9cee5585 1793 [BZ #14557]
bb859b06
L
1794 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1795 if IS_IN_rtld isn't defined.
1796
9cee5585
L
1797 * elf/dl-support.c (_dl_sysinfo_map): New.
1798 Include "get-dynamic-info.h" and "setup-vdso.h".
1799 (_dl_non_dynamic_init): Call setup_vdso.
1800 * elf/dynamic-link.h: Don't include <assert.h>.
1801 (elf_get_dynamic_info): Moved to ...
1802 * elf/get-dynamic-info.h: Here. New file.
1803 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1804 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1805 * elf/setup-vdso.h: Here. New file.
1806 * elf/rtld.c: Include "setup-vdso.h".
1807 (dl_main): Call setup_vdso.
1808
23c31b76
JM
18092012-10-05 Joseph Myers <joseph@codesourcery.com>
1810
28234b07
JM
1811 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1812 creal in comment listing functions tested. List finite, isinf,
1813 isnan, isless, islessequal, isgreater, isgreaterequal,
1814 islessgreater, isunordered, lgamma_r and pow10 as functions and
1815 macros not tested. Mention which functions not tested are aliases
1816 for other functions. Fix typo. Note that signs of NaNs are not
1817 tested.
1818
23c31b76
JM
1819 * scripts/config.guess: Update from config.git.
1820 * scripts/config.sub: Likewise.
1821
9043e228
RM
18222012-10-04 Roland McGrath <roland@hack.frob.com>
1823
1824 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1825 * misc/madvise.c (madvise): Renamed to __madvise.
1826 Make madvise a weak alias.
1827 * include/sys/mman.h: Declare __madvise.
1828 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1829 * sysdeps/unix/syscalls.list
1830 (madvise): Make __madvise the strong name, and madvise a weak alias.
1831 * sysdeps/unix/sysv/linux/syscalls.list
1832 (madvise, mmap): Remove redundant entries.
1833 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1834 * malloc/malloc.c (mtrim): Likewise.
1835 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1836
f57f8055
RM
18372012-10-03 Roland McGrath <roland@hack.frob.com>
1838
1839 * sysdeps/mach/hurd/dl-cache.c: File removed.
1840 * config.h.in (USE_LDCONFIG): New #undef.
1841 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1842 * configure: Regenerated.
1843 * elf/Makefile (dl-routines): Add dl-cache only under
1844 [$(use-ldconfig) = yes].
1845 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1846 cache on [USE_LDCONFIG].
1847 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1848 [USE_LDCONFIG].
1849 * elf/rtld.c (dl_main): Likewise.
1850
5bb0c10a
PT
18512012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1852
1853 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1854 _SC_LEVEL4_CACHE_LINESIZE.
1855
010188c6
RM
18562012-10-03 Roland McGrath <roland@hack.frob.com>
1857
1858 * sysdeps/unix/bsd/confstr.h: File removed.
1859
b6c5ec07
AO
18602012-10-02 Alexandre Oliva <aoliva@redhat.com>
1861
1862 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1863 sys/sdt-config.h.
1864
408223d4
RM
18652012-10-02 Roland McGrath <roland@hack.frob.com>
1866
1867 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1868 Make 'mapoff' field ElfW(Off) rather than off_t.
1869
bb9510dc
DL
18702012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1871
fc997c6e
DL
1872 * nscd/Makefile: Remove nscd-cflags and all its users.
1873 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1874 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1875
bb9510dc
DL
1876 [BZ #10631]
1877 * malloc.c (malloc_printerr): Clarify error message.
1878
05699367
L
18792012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1880
1881 [BZ #14648]
1882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1883 Set bit_FMA_Usable if FMA is supported.
1884 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1885 macro.
1886 (bit_FMA4_Usable): Updated.
1887 (index_FMA_Usable): New macro.
1888 (CPUID_FMA): Likewise
1889 (HAS_FMA): Defined with bit_FMA_Usable.
1890
51367701
RM
18912012-10-01 Roland McGrath <roland@hack.frob.com>
1892
1893 * bits/types.h (__swblk_t): Type removed.
1894 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1895 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1896 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1897 (__SWBLK_T_TYPE): Likewise.
1898 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1899 (__SWBLK_T_TYPE): Likewise.
1900 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1901 (__SWBLK_T_TYPE): Likewise.
1902 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1903 (__SWBLK_T_TYPE): Likewise.
1904
4d57bf63 19052012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 1906 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
1907
1908 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1909 (xdr_mapname): Use YPMAXMAP as maxsize.
1910 (xdr_peername): Use YPMAXPEER as maxsize.
1911 (xdr_keydat): Use YPAXRECORD as maxsize.
1912 (xdr_valdat): Use YPMAXRECORD as maxsize.
1913
93c65d43
RM
19142012-10-01 Roland McGrath <roland@hack.frob.com>
1915
497a03d6
RM
1916 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1917
93c65d43
RM
1918 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1919 * csu/init-first.c: ... here.
1920 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1921 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1922 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1923 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1924 * sysdeps/i386/init-first.c: File removed.
1925 * sysdeps/sh/init-first.c: File removed.
1926
bec749fd
JM
19272012-10-01 Joseph Myers <joseph@codesourcery.com>
1928
1929 [BZ #14645]
1930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1931 if x * y might underflow to zero and z is zero.
1932 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1933 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1934 * math/libm-test.inc (min_subnorm_value): New variable.
1935 (fma_test): Add more tests.
1936 (fma_test_towardzero): Likewise.
1937 (fma_test_downward): Likewise
1938 (fma_test_upward): Likewise.
1939 (initialize): Set min_subnorm_value.
1940
8ec5b013
JM
19412012-09-29 Joseph Myers <joseph@codesourcery.com>
1942
1943 [BZ #14638]
1944 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1945 0 + 0.
1946 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1947 mode for addition resulting in exact zero.
1948 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1949 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1950 exact 0 + 0.
1951 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1952 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1953 * math/libm-test.inc (fma_test): Add more tests.
1954 (fma_test_towardzero): New function.
1955 (fma_test_downward): Likewise.
1956 (fma_test_upward): Likewise.
1957 (main): Call the new functions.
1958
b1fa802e
DM
19592012-09-28 David S. Miller <davem@davemloft.net>
1960
1961 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1962
d3b9fd9e
RM
19632012-09-28 Roland McGrath <roland@hack.frob.com>
1964
ea4d37b3
RM
1965 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1966 instead of SIGALRM.
1967
ac51c949
RM
1968 * sysdeps/gnu/_G_config.h: Moved to ...
1969 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1970 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1971 * sysdeps/generic/_G_config.h: ... here.
1972
28c195f7
RM
1973 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1974
848917f9
RM
1975 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1976
6bacf05b
RM
1977 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1978 Conditionalize target on [libnss_test1.so-version].
1979
91363dbb
RM
1980 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1981
cc87f7d8
RM
1982 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1983 (elfobjdir): Move out of conditionals.
1984
b1c608fe
RM
1985 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1986 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1987 (__nss_lookup_function): Conditionalize label remove_from_tree on
1988 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 1989
1d9a6d96
DM
19902012-09-28 David S. Miller <davem@davemloft.net>
1991
1992 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1993 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1994 file.
1995 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1996 sysdep_routines.
1997 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1998 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1999 when HWCAP_SPARC_CRYPTO is present.
2000
72581615
PT
20012012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2002
2003 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2004
715a900c
JL
20052012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2006
2007 [BZ #6530]
2008 * stdio-common/vfprintf.c (process_string_arg): Revert
2009 2000-07-22 change.
2010
20112011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2012
2013 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2014 for testcase.
2015 * stdio-common/tst-sprintf.c: Include <locale.h>
2016 (main): Test sprintf's handling of incomplete multibyte
2017 characters.
2018
9bac1d86
L
20192012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2020
2021 * elf/dl-runtime.c (VERSYMIDX): Removed.
2022 * elf/dl-version.c (VERSYMIDX): Likewise.
2023 * elf/do-rel.h (VERSYMIDX): Likewise.
2024 (VALIDX): Likewise.
2025 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2026 * elf/rtld.c (VALIDX): Likewise.
2027 (ADDRIDX): Likewise.
9bac1d86
L
2028 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2029 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2030 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
2031 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2032 (VALIDX): Likewise.
2033 (ADDRIDX): Likewise.
9bac1d86 2034
b31606c0
PT
20352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2036
2037 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2038
11541177
JL
20392012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2040
2041 [BZ #11438]
2042 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2043 to global scope.
2044 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2045 addresses are in the same scope as 192.0.2/24.
2046 * posix/gai.conf: Document new scope table defaults.
2047
adb26fae
SP
20482012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2049
2050 [BZ #5298]
2051 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2052 for ftell. Compute offsets from write pointers instead.
2053 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2054
4573c6b0
SP
20552012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2056
2057 [BZ #14543]
2058 * libio/Makefile (tests): New test case tst-fseek.
2059 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2060 combination works in wide mode.
2061 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2062 state when the external buffer state changes.
2063
aa9bbfe6
DM
20642012-09-27 David S. Miller <davem@davemloft.net>
2065
2066 [BZ #14376]
2067 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2068 pass reloc->r_addend in as the 'high' argument to
2069 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2070
784421e7
DM
2071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2072
c39bc8b8
PT
20732012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2074
2075 * rt/tst-aio2.c: Include <pthread.h>.
2076 * rt/tst-aio3.c: Likewise.
2077
1ccc2399
SE
20782012-09-27 Steve Ellcey <sellcey@mips.com>
2079
2080 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2081
31ed4153
L
20822012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2083
25f5f885
L
2084 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2085 contents on [SHARED].
31ed4153 2086
b7bfe116
MP
20872012-09-26 Marek Polacek <polacek@redhat.com>
2088
2089 [BZ #14530]
2090 [BZ #13741]
2091 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2092 for C++ and GCC <4.3 as well as for non GCC compilers.
2093
43c4edba
MT
20942012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2095
2096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2097
6a1bf82f
RM
20982012-09-25 Roland McGrath <roland@hack.frob.com>
2099
2100 * Makefile.in (all, install): Declare with .PHONY.
2101 Reported by Michael Hope <michael.hope@linaro.org>.
2102
8ad11b9a
TMQMF
21032012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2104
2105 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2106 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2107 system header.
2108 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2109 Likewise.
2110 (sydep_routines): Add the new and the internal functions.
2111 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2112 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2114 (GLIBC_2.17): Add the new function.
2115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2116 (GLIBC_2.17): Likewise.
2117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2118 (GLIBC_2.17): Likewise.
2119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2120 (GLIBC_2.17): Likewise.
2121 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2122
7e2fca8d
AM
21232012-09-25 Alan Modra <amodra@gmail.com>
2124
2125 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2126 Add release barrier before setting once_control to say
2127 initialisation is done. Add hints on lwarx. Use macro in
2128 place of isync.
2129 (clear_once_control): Add release barrier.
2130
b87c4b24
JM
21312012-09-25 Joseph Myers <joseph@codesourcery.com>
2132
d032e0d2
JM
2133 [BZ #13629]
2134 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2135 specially.
2136 * math/s_clog10.c (__clog10): Likewise.
2137 * math/s_clog10f.c (__clog10f): Likewise.
2138 * math/s_clog10l.c (__clog10l): Likewise.
2139 * math/s_clogf.c (__clogf): Likewise.
2140 * math/s_clogl.c (__clogl): Likewise.
2141 * math/Makefile (libm-calls): Add x2y2m1.
2142 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2143 (__x2y2m1): Likewise.
2144 (__x2y2m1l): Likewise.
2145 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2146 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2147 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2148 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2149 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2150 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2151 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2152 * sysdeps/i386/fpu/libm-test-ulps: Update.
2153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2154
b87c4b24
JM
2155 [BZ #14621]
2156 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2157 int as type of variable DEPTH.
2158 (glob): Use size_t instead of int as type of variables NEWCOUNT
2159 and OLD_PATHC.
2160
6d3bf199
LD
21612012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2162
22bf5c17
LD
2163 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2164 Add s_sincosf-sse2.
2165 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2166 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2167 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2168 macros for using routine as __sincosf_ia32.
2169 Use macro for function declaration and weak_alias.
2170 * sysdeps/i386/fpu/libm-test-ulps: Update.
2171
2172 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2174
2175 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
2176 subnormal argument.
2177 * math/s_cexpf.c (__cexpf): Likewise.
2178 * math/s_csinf.c (__csinf): Likewise.
2179 * math/s_csinhf.c (__csinhf): Likewise.
2180 * math/s_ctanf.c (__ctanf): Likewise.
2181 * math/s_ctanhf.c (__ctanhf): Likewise.
2182 * math/s_ccosh.c (__ccoshf): Likewise.
2183 * math/s_cexp.c (__cexpl): Likewise.
2184 * math/s_csin.c (__csin): Likewise.
2185 * math/s_csinh.c (__csinh): Likewise.
2186 * math/s_ctan.c (__ctan): Likewise.
2187 * math/s_ctanh.c (ctanh): Likewise.
2188 * math/s_ccoshl.c (__ccoshl): Likewise.
2189 * math/s_cexpl.c (__cexpl): Likewise.
2190 * math/s_csinl.c (__csinl): Likewise.
2191 * math/s_csinhl.c (__csinhl): Likewise.
2192 * math/s_ctanl.c (__ctanl): Likewise.
2193 * math/s_ctanhl.c (__ctanhl): Likewise.
2194
203e5603
JM
21952012-09-25 Joseph Myers <joseph@codesourcery.com>
2196
2197 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2198 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2199 (_IO_off_t): Define to __off_t, not _G_off_t.
2200 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2201 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2202 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2203 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2204 type of __dummy and __dummy2 fields.
2205 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2206 (_G_ssize_t): Likewise.
2207 (_G_off_t): Likewise.
2208 (_G_pid_t): Likewise.
2209 (_G_uid_t): Likewise.
2210 (_G_wchar_t): Likewise.
2211 (_G_wint_t): Likewise.
2212 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2213 (_G_ssize_t): Likewise.
2214 (_G_off_t): Likewise.
2215 (_G_pid_t): Likewise.
2216 (_G_uid_t): Likewise.
2217 (_G_wchar_t): Likewise.
2218 (_G_wint_t): Likewise.
2219 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2220 (_G_ssize_t): Likewise.
2221 (_G_off_t): Likewise.
2222 (_G_pid_t): Likewise.
2223 (_G_uid_t): Likewise.
2224 (_G_wchar_t): Likewise.
2225 (_G_wint_t): Likewise.
2226
9fab36eb
SP
22272012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2228
2229 * malloc/arena.c: Include malloc-sysdep.h.
2230 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2231 is sufficient to shrink the heap or an unmap is needed.
2232 * sysdeps/generic/malloc-sysdep.h: New file. Define
2233 new function check_may_shrink_heap.
2234 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2235 new function check_may_shrink_heap.
2236
2b4f00d1
SP
22372012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2238
2239 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2240 comments.
2241
9a9028b1
DL
22422012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2243
57c69bef
DL
2244 * catgets/test-gencat.sh: Add "set -e".
2245 * elf/tst-pathopt.sh: Likewise.
2246 * grp/tst_fgetgrent.sh: Likewise.
2247 * iconvdata/run-iconv-test.sh: Likewise.
2248 * intl/tst-gettext.sh: Likewise.
2249 * intl/tst-gettext2.sh: Likewise.
2250 * intl/tst-gettext4.sh: Likewise.
2251 * intl/tst-gettext6.sh: Likewise.
2252 * intl/tst-translit.sh: Likewise.
2253 * io/ftwtest-sh: Likewise.
2254 * libio/test-freopen.sh: Likewise.
2255 * malloc/tst-mtrace.sh: Likewise.
2256 * posix/globtest.sh: Likewise.
2257 * posix/tst-getconf.sh: Likewise.
2258 * posix/wordexp-tst.sh: Likewise.
2259 * stdio-common/tst-printf.sh: Likewise.
2260 * stdio-common/tst-unbputc.sh: Likewise.
2261 * stdlib/tst-fmtmsg.sh: Likewise.
2262 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2263 * catgets/Makefile: Do not specify -e option when running
2264 testsuite shell scripts.
2265 * elf/Makefile: Likewise.
2266 * grp/Makefile: Likewise.
2267 * iconvdata/Makefile: Likewise.
2268 * intl/Makefile: Likewise.
2269 * io/Makefile: Likewise.
2270 * libio/Makefile: Likewise.
2271 * malloc/Makefile: Likewise.
2272 * posix/Makefile: Likewise.
2273 * stdio-common/Makefile: Likewise.
2274 * stdlib/Makefile: Likewise.
2275 * sysdeps/x86_64/Makefile: Likewise.
2276
9a9028b1
DL
2277 * io/ftwtest-sh: Add copyright header.
2278 * posix/globtest.sh: Likewise.
2279 * posix/tst-getconf.sh: Likewise.
2280 * posix/wordexp-tst.sh: Likewise.
2281 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2282
ced6f16e
L
22832012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2284
94b32c39
L
2285 [BZ #13679]
2286 * Makeconfig (+link): Defined as $(+link-static) if
2287 $(build-shared) isn't yes.
2288 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2289 isn't yes.
2290 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2291
189e935b
L
2292 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2293
ced6f16e
L
2294 [BZ #14562]
2295 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2296 new chunk size with MALLOC_ALIGN_MASK.
2297
a9f8e53a
JM
22982012-09-24 Joseph Myers <joseph@codesourcery.com>
2299
2300 [BZ #5044]
2301 * stdio-common/printf_fphex.c: Include <stdbool.h> and
2302 <rounding-mode.h>.
2303 (__printf_fphex): Determine rounding using get_rounding_mode and
2304 round_away.
2305 * stdio-common/tst-printf-round.c (struct hex_test): New
2306 structure.
2307 (hex_tests): New variable.
2308 (test_hex_in_one_mode): New function.
2309 (do_test): Also run tests for hex float output.
2310
43153109
JM
23112012-09-21 Joseph Myers <joseph@codesourcery.com>
2312
2313 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2314 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2315 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
2316 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2317 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2318 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
2319 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2320 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2321
8a26625d
JM
23222012-09-20 Joseph Myers <joseph@codesourcery.com>
2323
2324 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
2325 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
2326 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
2327 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
2328
f3fd569c
DL
23292012-09-19 Dmitry V. Levin <ldv@altlinux.org>
2330
2331 [BZ #14579]
2332 * elf/rtld.c (dl_main): Limit the check for self loading to normal
2333 mode only.
2334 * elf/tst-rtld-load-self.sh: New test.
2335 * elf/Makefile: Run it.
2336
63bbedd4
JM
23372012-09-18 Joseph Myers <joseph@codesourcery.com>
2338
2339 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
2340 (tst-writev-ENV): Remove.
2341 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
2342
626f8b6a
CM
23432012-09-17 Chris Metcalf <cmetcalf@tilera.com>
2344
2345 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
2346
b7aaa4d6
JM
23472012-09-17 Joseph Myers <joseph@codesourcery.com>
2348
2349 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
2350 unconditional.
2351 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
2352 Likewise.
2353 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
2354 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
2355 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2356 Likewise.
2357
65513990
L
23582012-09-14 H.J. Lu <hongjiu.lu@intel.com>
2359
2360 [BZ #14587]
2361 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
2362 * config.make.in (have-cpp-asm-debuginfo): Removed.
2363 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
2364 * configure: Regenerated.
2365
784761be
JM
23662012-09-14 Joseph Myers <joseph@codesourcery.com>
2367
2368 [BZ #5044]
2369 * stdio-common/printf_fp.c: Include <stdbool.h> and
2370 <rounding-mode.h>.
2371 (___printf_fp): Determine rounding using get_rounding_mode and
2372 round_away.
2373 * stdio-common/tst-printf-round.c: New file.
2374 * stdio-common/Makefile (tests): Add tst-printf-round.
2375 (link-libm): New variable.
2376 ($(objpfx)tst-printf-round): Depend in $(link-libm).
2377
9503345f
L
23782012-09-13 H.J. Lu <hongjiu.lu@intel.com>
2379
2380 [BZ #14576]
2381 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
2382 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
2383 Likewise.
2384 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
2385 Likewise.
2386
ad35fc00
JM
23872012-09-13 Joseph Myers <joseph@codesourcery.com>
2388
2389 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
2390 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2391 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2392 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2393
6c9b0f68
JM
23942012-09-12 Joseph Myers <joseph@codesourcery.com>
2395
2396 [BZ #14518]
2397 * include/rounding-mode.h: New file.
2398 * sysdeps/generic/get-rounding-mode.h: Likewise.
2399 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
2400 * stdlib/strtod_l.c: Include <rounding-mode.h>.
2401 (MAX_VALUE): New macro.
2402 (MIN_VALUE): Likewise.
2403 (overflow_value): New function.
2404 (underflow_value): Likewise.
2405 (round_and_return): Use overflow_value and underflow_value to
2406 determine return values in overflow and underflow cases. Use
2407 round_away to determine rounding depending on rounding mode.
2408 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
2409 determine return values in overflow and underflow cases.
2410 * stdlib/tst-strtod-round.c: Include <fenv.h>.
2411 (struct test_results): New structure.
2412 (struct test): Use struct test_results to store expected results
2413 for all rounding modes.
2414 (TEST): Include expected results for all rounding modes.
2415 (test_in_one_mode): New function.
2416 (do_test): Use test_in_one_mode to compute and check results.
2417 Check results for all rounding modes.
2418 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
2419 $(link-libm).
2420
19fcedd5
AM
24212012-12-09 Allan McRae <allan@archlinux.org>
2422
1e9d84cd 2423 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 2424
8bbfd2f1
JM
24252012-09-11 Joseph Myers <joseph@codesourcery.com>
2426
2427 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
2428 (_G_int32_t): Likewise.
2429 (_G_uint16_t): Likewise.
2430 (_G_uint32_t): Likewise.
2431 (_G_HAVE_BOOL): Likewise.
2432 (_G_HAVE_ATEXIT): Likewise.
2433 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2434 (_G_HAVE_IO_FILE_OPEN): Likewise.
2435 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
2436 (_G_int32_t): Likewise.
2437 (_G_uint16_t): Likewise.
2438 (_G_uint32_t): Likewise.
2439 (_G_HAVE_BOOL): Likewise.
2440 (_G_HAVE_ATEXIT): Likewise.
2441 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2442 (_G_HAVE_IO_FILE_OPEN): Likewise.
2443 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
2444 (_G_int32_t): Likewise.
2445 (_G_uint16_t): Likewise.
2446 (_G_uint32_t): Likewise.
2447 (_G_HAVE_BOOL): Likewise.
2448 (_G_HAVE_ATEXIT): Likewise.
2449 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2450 (_G_HAVE_IO_FILE_OPEN): Likewise.
2451
b1dc5912
L
24522012-09-11 H.J. Lu <hongjiu.lu@intel.com>
2453
2454 * csu/libc-tls.c: Update copyright years.
2455
0e886ef9
JM
24562012-09-10 Joseph Myers <joseph@codesourcery.com>
2457
28361c5e
JM
2458 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
2459 [!_G_USING_THUNKS]: Remove conditional code.
2460 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
2461 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
2462
0e886ef9
JM
2463 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
2464 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
2465 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2466 (_G_VTABLE_LABEL_PREFIX): Likewise.
2467 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2468 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2469 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2470 (_G_VTABLE_LABEL_PREFIX): Likewise.
2471 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2472 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2473 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2474 (_G_VTABLE_LABEL_PREFIX): Likewise.
2475 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2476
bcba7aa2
L
24772012-09-10 H.J. Lu <hongjiu.lu@intel.com>
2478
2479 * libio/Makefile: Include ../Makeconfig before tests.
2480 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
2481 only if $(build-shared) is yes.
2482
06585ee8
L
2483 * iconv/gconv_db.c: Update copyright years.
2484
80ccd52c
LD
24852012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2486
2487 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
2488 unwind info if defined PIC. Fix special cases description.
2489 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
2490
2491 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
2492 DP_HI_MASK entry.
2493 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
2494
691bc9c1
L
24952012-09-07 H.J. Lu <hongjiu.lu@intel.com>
2496
3d9b46b3
L
2497 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
2498
de2139a9
L
2499 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
2500 is NULL.
2501
5ca78dd0
L
2502 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
2503 (LDLIBS-tst-chk4): This.
2504 (LDFLAGS-tst-chk5): Renamed to ...
2505 (LDLIBS-tst-chk5): This.
2506 (LDFLAGS-tst-chk6): Renamed to ...
2507 (LDLIBS-tst-chk6): This.
2508 (LDFLAGS-tst-lfschk4): Renamed to ...
2509 (LDLIBS-tst-lfschk4): This.
2510 (LDFLAGS-tst-lfschk5): Renamed to ...
2511 (LDLIBS-tst-lfschk5): This.
2512 (LDFLAGS-tst-lfschk6): Renamed to ...
2513 (LDLIBS-tst-lfschk6): This.
2514
691bc9c1
L
2515 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
2516 on $(common-objpfx)soversions.mk.
2517
65cafb1c
JM
25182012-09-07 Joseph Myers <joseph@codesourcery.com>
2519
2520 [BZ #10014]
2521 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
2522 example host name.
2523
c78ab094
SP
25242012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2525
2526 * malloc/arena.c (arena_get_retry): New function that gets
2527 another arena for the caller to try its request on.
2528 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
2529 current arena cannot fulfill the request.
2530 (__libc_memalign): Likewise.
2531 (__libc_memalign): Likewise.
2532 (__libc_pvalloc): Likewise.
2533 (__libc_calloc): Likewise.
2534
01f49f59
JT
25352012-09-05 John Tobey <john.tobey@gmail.com>
2536
2537 [BZ #13542]
2538 * manual/arith.texi (Operations on Complex): Fix description
2539 of carg branch cut.
2540
4c23fed5
JM
25412012-09-06 Joseph Myers <joseph@codesourcery.com>
2542
1d3c8572
JM
2543 [BZ #10014]
2544 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
2545 host name.
2546
4c23fed5
JM
2547 [BZ #10038]
2548 * manual/memory.texi (Memory): Make order of menu items match
2549 order of sections.
2550
04570aaa
L
25512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2552
2553 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
2554 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
2555 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
2556
b80af2f4
L
25572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2558
2559 * csu/libc-tls.c (static_dtv): Renamed to ...
2560 (_dl_static_dtv): This. Make it global.
2561 (_dl_initial_dtv): Removed.
2562 (__libc_setup_tls): Updated.
2563 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
2564 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
2565 DL_INITIAL_DTV.
2566
2abe9f15
PM
25672012-09-06 Petr Machata <pmachata@redhat.com>
2568
2569 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
2570 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
2571 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
2572 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
2573
0948c3af
L
25742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2575
2576 [BZ #14545]
2577 * csu/libc-tls.c (_dl_initial_dtv): New variable.
2578 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
2579 freeing dtv[-1].
2580
a5055ad1
L
25812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2582
2583 [BZ #14544]
2584 * Makeconfig (link-static-before-libc): Replace $(+prector)
2585 with $(+prectorT).
2586 (link-static-after-libc): Replace $(+postctor) with
2587 $(+postctorT).
2588 (link-bounded): Replace $(+prector)/$(+postctor) with
2589 $(+prectorT)/$(+postctorT).
2590 (+prectorT): New macro.
2591 (+postctorT): Likewise.
2592
ed8c2ecd
JM
25932012-09-06 Joseph Myers <joseph@codesourcery.com>
2594
2595 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
2596 (round_str): Handle values above the maximum for IBM long double
2597 as inexact.
2598 * stdlib/tst-strtod-round.c (tests): Regenerated.
2599
14c996c8
AK
26002012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2601
2602 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
2603 assembler flag.
2604 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
2605 zarch_nohighgprs around the zarch optimized routines.
2606 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2607 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2608 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
2609 for zarch.
2610
430d6ce6
DM
26112012-09-05 David S. Miller <davem@davemloft.net>
2612
2613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2614
ff04dda4
DM
2615 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
2616 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
2617 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
2618 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
2619 entries.
2620
24d4e01b
AO
26212012-09-05 Alexandre Oliva <aoliva@redhat.com>
2622
2623 * malloc/arena.c: Fold copyright years.
2624 * malloc/mcheck.c, malloc/memusage.c: Likewise.
2625
61d58174
AO
26262012-09-05 Alexandre Oliva <aoliva@redhat.com>
2627
2628 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
2629
20196a5e
AO
26302012-09-05 Alexandre Oliva <aoliva@redhat.com>
2631
2632 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
2633
5c447383
AO
26342012-09-05 Alexandre Oliva <aoliva@redhat.com>
2635
2636 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
2637 change internal state upon failure.
2638
fad64255
AO
26392012-09-05 Alexandre Oliva <aoliva@redhat.com>
2640
2641 * malloc/mcheck.c (mcheck_check_all): Fix typo.
2642 * malloc/memusage.c (mmap): Likewise.
2643 (mmap64, mremap): Likewise. Adjust name in comment.
2644
1ffb8c90
SP
26452012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2646
2647 * libio/fileops.c: Fix typos in comments.
2648 * libio/oldfileops.c: Likewise.
2649 * libio/wfileops.c: Likewise.
2650
6ef9cc37
SP
26512012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2652
2653 [BZ #1349]
2654 * malloc/Makefile (tests): Add tst-malloc-usable test case.
2655 (tst-malloc-usable-ENV): Set environment for test case.
2656 * malloc/hooks.c (malloc_check_get_size): New function to get
2657 requested size.
2658 * malloc/malloc.c (musable): Use malloc_check_get_size.
2659 * malloc/tst-malloc-usable.c: New test case.
2660
4d038ae3
AS
26612012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2662
2663 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
2664
c4e85184
AM
26652012-09-05 Allan McRae <allan@archlinux.org>
2666
b9dafc56 2667 [BZ #13966]
c4e85184
AM
2668 * configure.in (CXX_SYSINCLUDES): Use compiler output to
2669 determine header location.
2670 * configure: Regenerated.
2671
e1343020
AS
26722012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2673
2674 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
2675 float format.
2676 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
2677 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2678 format.
e1343020
AS
2679 (test): Regenerate.
2680
0a9f1987
DM
26812012-09-04 David S. Miller <davem@davemloft.net>
2682
2683 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2684 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2685 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2686
29237804
FW
26872012-09-04 Florian Weimer <fweimer@redhat.com>
2688
2689 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2690 failures.
2691
edb3cb88
FW
2692 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2693
60160d83
JM
26942012-09-04 Joseph Myers <joseph@codesourcery.com>
2695
2696 [BZ #9914]
2697 * libio/iogetdelim.c: Include <limits.h>.
2698 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2699 + len + 1 would overflow.
2700
bcd6c8dc
AJ
27012012-09-03 Andreas Jaeger <aj@suse.de>
2702
2703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2704 * sysdeps/i386/fpu/libm-test-ulps: Update.
2705
4ffffbd2
LD
27062012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2707
2708 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2709 Add s_sinf-sse2, s_conf-sse2.
2710
2711 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2712 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2713 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2714 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2715
2716 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2717 for using routine as __sinf_ia32.
2718 Use macro for function declaration and weak_alias.
2719 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2720 for using routine as __cosf_ia32.
2721 Use macro for function declaration and weak_alias.
2722
2723 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2724 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2725
2726 * sysdeps/x86_64/fpu/s_sinf.S: New file.
2727 * sysdeps/x86_64/fpu/s_cosf.S: New file.
2728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2729
2730 * math/libm-test.inc (cos_test): Add more test cases.
2731 (sin_test): Likewise.
2732 (sincos_test): Likewise.
2733
511fa286
AK
27342012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2735
2736 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2737 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2738 hidden.
2739 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2740
5f30cfec
L
27412012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2742
2743 [BZ #14538]
2744 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2745 first element of the GOT.
2746 (elf_machine_load_address): Return the difference between
2747 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2748
0786794f
AM
27492012-09-01 Allan McRae <allan@archlinux.org>
2750
5f30cfec
L
2751 [BZ #13412]
2752 * configure.in (AWK): Require gawk version 3.0 or later.
2753 * configure: Regenerated.
0786794f 2754
26889eac
JM
27552012-09-01 Joseph Myers <joseph@codesourcery.com>
2756
2757 * sysdeps/unix/sysv/linux/kernel-features.h
2758 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2759 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2760 [__NR_clock_getres]: Make code unconditional.
2761 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2762 (clock_getcpuclockid): Remove code left unreachable by removal of
2763 conditionals.
2764 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2765 code unconditional.
2766 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2767 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2768 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2769 Make code unconditional.
2770 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2771 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2772 * sysdeps/unix/sysv/linux/clock_settime.c
2773 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2774 conditional code.
2775 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2776 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2777
d22e28b0
L
27782012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2779
2780 [BZ #14476]
2781 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2782 scripts/test-installation.pl.
2783
2784 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2785 and $ld_so_version if it is set.
2786
050af9c4
SP
27872012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2788
2789 [BZ #14516]
2790 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2791 failure if reading from procfs failed.
2792 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2793
ad845c0b
JM
27942012-08-27 Joseph Myers <joseph@codesourcery.com>
2795
2796 * sysdeps/unix/sysv/linux/kernel-features.h
2797 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2798 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2799 Remove conditional code.
2800 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2801 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2802 Remove conditional code.
2803 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2804 * sysdeps/unix/sysv/linux/i386/fxstat.c
2805 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2806 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2807 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2808 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2809 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2810 * sysdeps/unix/sysv/linux/i386/lxstat.c
2811 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2812 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2813 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2814 Remove conditional code.
2815 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2816 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2817 Remove conditional code.
2818 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2819 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2820 <kernel-features.h>.
2821 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2822 Remove.
2823 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2824 Remove conditional code.
2825 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2826 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2827 Remove conditional.
2828
5dbf56af
MF
28292012-08-27 Mike Frysinger <vapier@gentoo.org>
2830
2831 [BZ #5400]
2832 * NEWS: Add fixed bug number.
2833
d6e70f43
JM
28342012-08-27 Joseph Myers <joseph@codesourcery.com>
2835
7efb4737
JM
2836 [BZ #14519]
2837 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2838 underflowing exponent in case of negative sign.
2839 * stdlib/tst-strtod-round-data: Add more tests.
2840 * stdlib/tst-strtod-round.c (tests): Regenerated.
2841
af92131a
JM
2842 [BZ #3479]
2843 * stdlib/strtod_l.c (NDIG): Remove.
2844 (HEXNDIG): Likewise.
2845 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2846 smallest representable value.
2847 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2848 lie within an exact representation of 1/2 ulp of the result.
2849 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2850 unconditionally.
2851 (TENS_P9_IDX): Define unconditionally.
2852 (TENS_P9_SIZE): Likewise.
2853 (TENS_P10_IDX): Likewise.
2854 (TENS_P10_SIZE): Likewise.
2855 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2856 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2857 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2858 entries for 10^2^13 and 10^2^14.
2859 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2860 (TENS_P13_IDX): Define.
2861 (TENS_P13_SIZE): Likewise.
2862 (TENS_P14_IDX): Likewise.
2863 (TENS_P14_SIZE): Likewise.
2864 (_fpioconst_pow10): Change array size to
2865 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2866 unconditional.
2867 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2868 1024]: Add entries for 10^2^13 and 10^2^14.
2869 [LAST_POW10 > _LAST_POW10]: Remove #error.
2870 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2871 (_fpioconst_pow10): Change array size to
2872 FPIOCONST_POW10_ARRAY_SIZE.
2873 * stdlib/gen-fpioconst.c: New file.
2874 * stdlib/gen-tst-strtod-round.c: Likewise.
2875 * stdlib/tst-strtod-round-data: Likewise.
2876 * stdlib/tst-strtod-round.c: Likewise.
2877 * stdlib/Makefile (tests): Add tst-strtod-round.
2878
d6e70f43
JM
2879 [BZ #14459]
2880 * stdlib/strtod_l.c: Include <stdint.h>.
2881 (NDEBUG): Do not define.
2882 (round_and_return): Change EXPONENT parameter to type intmax_t.
2883 Rearrange calculations to avoid internal overflow possibilities.
2884 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2885 Rearrange calculations to avoid internal overflow possibilities.
2886 Assert that number fits inside MPNSIZE limbs.
2887 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2888 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2889 calculations and add assertions to avoid internal overflow
2890 possibilities. Add casts to avoid signed/unsigned operations.
2891 * stdlib/tst-strtod-overflow.c: New file.
2892 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2893
1f529f7d
MP
28942012-08-25 Marek Polacek <polacek@redhat.com>
2895
2896 * time/time.h: Fix some typos in comments.
2897
59a629f1
RM
28982012-08-23 Roland McGrath <roland@hack.frob.com>
2899
2900 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2901 * posix/tst-rfc3484-2.c: Likewise.
2902 * posix/tst-rfc3484-3.c: Likewise.
2903
d3bafbc9
SM
29042012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2905
2906 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2907 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2908
4efcc022
JM
29092012-08-23 Joseph Myers <joseph@codesourcery.com>
2910
2911 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2912 #include of fxstatat64.c.
2913
3cc3ef96
RM
29142012-08-22 Roland McGrath <roland@hack.frob.com>
2915
f04e2132
RM
2916 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2917 * shadow/getspent_r.c: Likewise.
2918 * shadow/getspnam.c: Likewise.
2919 * shadow/getspnam_r.c: Likewise.
2920 * gshadow/getsgent.c: Likewise.
2921 * gshadow/getsgent_r.c: Likewise.
2922 * gshadow/getsgnam.c: Likewise.
2923 * gshadow/getsgnam_r.c: Likewise.
2924 * inet/getnetbyad.c: Likewise.
2925 * inet/getnetbyad_r.c: Likewise.
2926 * inet/getnetbynm.c: Likewise.
2927 * inet/getnetbynm_r.c: Likewise.
2928 * inet/getnetent.c: Likewise.
2929 * inet/getnetent_r.c: Likewise.
2930 * inet/getproto.c: Likewise.
2931 * inet/getproto_r.c: Likewise.
2932 * inet/getprtent.c: Likewise.
2933 * inet/getprtent_r.c: Likewise.
2934 * inet/getprtname.c: Likewise.
2935 * inet/getprtname_r.c: Likewise.
2936 * inet/getrpcbyname.c: Likewise.
2937 * inet/getrpcbyname_r.c: Likewise.
2938 * inet/getrpcbynumber.c: Likewise.
2939 * inet/getrpcbynumber_r.c: Likewise.
2940 * inet/getrpcent.c: Likewise.
2941 * inet/getrpcent_r.c: Likewise.
2942 * inet/getaliasent.c: Likewise.
2943 * inet/getaliasent_r.c: Likewise.
2944 * inet/getaliasname.c: Likewise.
2945 * inet/getaliasname_r.c: Likewise.
2946 * nscd/getgrgid_r.c: Likewise.
2947 * nscd/getgrnam_r.c: Likewise.
2948 * nscd/gethstbyad_r.c: Likewise.
2949 * nscd/gethstbynm3_r.c: Likewise.
2950 * nscd/getpwnam_r.c: Likewise.
2951 * nscd/getpwuid_r.c: Likewise.
2952 * nscd/getsrvbynm_r.c: Likewise.
2953 * nscd/getsrvbypt_r.c: Likewise.
2954 * nscd/gai.c: Likewise.
2955
c53d909c
RM
2956 * configure.in (build_nscd): New substituted variable, set
2957 by --disable-build-nscd and defaults to $use_nscd.
2958 * configure: Regenerated.
2959 * config.make.in (build-nscd): New substituted variable.
2960 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2961 Change conditional to require [$(build-nscd) = yes] as well.
2962 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2963
3cc3ef96
RM
2964 [BZ# 13696]
2965 * configure.in (use_nscd): New substituted variable, set by
2966 --disable-nscd. If enabled, define USE_NSCD.
2967 * configure: Regenerated.
2968 * config.h.in: Add USE_NSCD.
2969 * config.make.in (use-nscd): New substituted variable.
2970 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2971 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2972 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2973 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2974 (CFLAGS-getgrnam_r.c): Likewise.
2975 (CFLAGS-initgroups.c): Likewise.
2976 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2977 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2978 Variables removed.
2979 * inet/getnetgrent_r.c
2980 (nscd_setnetgrent): New function, broken out of ...
2981 (setnetgrent): ... here. Call it.
2982 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2983 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2984 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2985 * nscd/Makefile (routines, aux): Move definitions after include of
2986 Makeconfig. Conditionalize on [$(use-nscd) != no].
2987 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2988 Conditionalize on [USE_NSCD].
2989 (is_nscd, nscd_init_cb): Likewise.
2990 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2991 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2992 * nss/nss_db/db-init.c: Likewise.
2993 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2994 [USE_NSCD].
2995 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2996 (make_request): Use it.
2997 (cache_valid_p): New function.
2998 (__check_pf): Use it.
2999 * NEWS: Add item for --disable-nscd.
3000
07e51550
DL
30012012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3002
3003 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3004 to support sed >= 4.2.1-20-ga9bf076.
3005 * configure: Regenerated.
3006
35a5b08b
RM
30072012-08-22 Roland McGrath <roland@hack.frob.com>
3008
3009 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3010 Conditionalize whole body on [IREL].
3011
8479f23a
JL
30122012-08-22 Jeff Law <law@redhat.com>
3013
3014 [BZ #14505]
3015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3016 if the family is PF_UNSPEC.
3017
48da0b21
MF
30182012-08-22 Mike Frysinger <vapier@gentoo.org>
3019
3020 * Makerules (lib-version): Rename from V.
3021 (install-lib-nosubdir): Change V to lib-version.
3022
15d0da8c
WS
30232012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3024
3025 [BZ #14252]
3026 * powerpc32/power6/wcschr.c: New file.
3027 * powerpc32/power6/wcscpy.c: New file.
3028 * powerpc32/power6/wcsrchr.c: New file.
3029 * powerpc64/power6/wcschr.c: New file.
3030 * powerpc64/power6/wcscpy.c: New file.
3031 * powerpc64/power6/wcsrchr.c: New file.
3032
bcca0895
MK
30332012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3034
3035 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3036 (two_way_short_needle): Use it.
5a4aaa33
RM
3037 * string/strstr.c (AVAILABLE1_USES_J): Define.
3038 * string/strcasestr.c: Likewise.
99677e57
MK
3039
3040 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3041 array references.
3042 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3043
400726de
MK
3044 [BZ #11607]
3045 * NEWS: Add an entry.
3046 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3047 define their defaults.
3048 (two_way_short_needle): Detect end-of-string on-the-fly.
3049 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3050 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3051 * string/bug-strcasestr1.c: New test.
3052 * string/Makefile: Run it.
3053
20a71f2c
MK
30542012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3055
3056 [BZ #11607]
3057 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3058 the first character.
3059
21ad0558
RM
30602012-08-21 Roland McGrath <roland@hack.frob.com>
3061
3062 * csu/elf-init.c (__libc_csu_irel): Function removed.
3063 * csu/libc-start.c (apply_irel): New function.
3064 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3065
0e1d9911
JM
30662012-08-21 Joseph Myers <joseph@codesourcery.com>
3067
3068 * sysdeps/unix/sysv/linux/kernel-features.h
3069 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3070 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3071 <kernel-features.h>.
3072 [__NR_fadvise64_64]: Make code unconditional.
3073 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3074 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3075 !__NR_fadvise64_64)]: Likewise.
3076 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3077 !__NR_fadvise64_64))]: Likewise.
3078 [__NR_fadvise64]: Make code unconditional.
3079 [!__NR_fadvise64]: Remove conditional code.
3080 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3081 <kernel-features.h>.
3082 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3083 unconditional.
3084 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3085 conditional code.
3086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3087 not include <kernel-features.h>.
3088 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3089 unconditional.
3090 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3091 conditional code.
3092 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3093 include <kernel-features.h>.
3094 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3095 unconditional.
3096 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3097 conditional code.
3098
14a50c9d
WS
30992012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3100
3101 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3102 slight instruction rearrangements per scrollpipe analysis.
3103 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3104
c0f4faf0
RM
31052012-08-20 Roland McGrath <roland@hack.frob.com>
3106
696da859
RM
3107 * manual/syslog.texi (syslog; vsyslog, closelog):
3108 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3109 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3110
c0f4faf0
RM
3111 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3112 DSOCAPS to match condition on defining it.
3113
348363b2
JM
31142012-08-20 Joseph Myers <joseph@codesourcery.com>
3115
a35cbf28
JM
3116 * sysdeps/unix/sysv/linux/kernel-features.h
3117 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3119 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3120 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3122 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3123 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3125 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3126 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3127
445f7ecd
JM
3128 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3129 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3130
348363b2
JM
3131 * sysdeps/unix/sysv/linux/kernel-features.h
3132 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3133 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3134 unconditional.
3135 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3136 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3137 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3138 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3139 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3140 Make code unconditional.
3141 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3142 (__mmap64) [!__NR_mmap2]: Likewise.
3143 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3144 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3145 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3146 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3147 [__NR_mmap2]: Make code unconditional.
3148 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3149 (__mmap64) [!__NR_mmap2]: Likewise.
3150
bc5bc0e5
AK
31512012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3152
3153 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3154
88d506de
AJ
31552012-08-18 Andreas Jaeger <aj@suse.de>
3156
3157 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3158
493387d2
MF
31592012-08-18 Mike Frysinger <vapier@gentoo.org>
3160
3161 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3162 * include/unistd.h (__have_sock_cloexec): Likewise.
3163 (__have_pipe2): Likewise.
3164 (__have_dup3): Likewise.
3165
a277af22
MF
31662012-08-18 Mike Frysinger <vapier@gentoo.org>
3167
3168 [BZ #9685]
3169 * include/unistd.h (__have_pipe2): Change define into an extern int.
3170 (__have_dup3): Likewise.
3171 * socket/have_sock_cloexec.c: Include fcntl.h.
3172 (__have_pipe2): New variable.
3173 (__have_dup3): Likewise.
3174
fdab8fd3
MF
31752012-08-17 Mike Frysinger <vapier@gentoo.org>
3176
3177 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3178
31035e80
MP
31792012-08-17 Marek Polacek <polacek@redhat.com>
3180
3181 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3182 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3183
3bd9e993
RM
31842012-08-17 Roland McGrath <roland@hack.frob.com>
3185
c91c505f
RM
3186 * configure.in: Add AC_SUBST for sysheaders.
3187 * configure: Regenerated.
3188 * config.make.in (sysheaders): New substituted variable.
3189
7c6f9d53
RM
3190 * sysdeps/unix/mkfifo.c: Moved ...
3191 * sysdeps/posix/mkfifo.c: ... here.
3192 * sysdeps/unix/mkfifoat.c: Moved ...
3193 * sysdeps/posix/mkfifoat.c: ... here.
3194
3195 * sysdeps/unix/utime.c: Moved ...
3196 * sysdeps/posix/utime.c: ... here.
3197
3198 * sysdeps/unix/time.c: Moved ...
3199 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
3200 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3201 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
3202
3203 * sysdeps/unix/nice.c: Moved ...
3204 * sysdeps/posix/nice.c: ... here.
3205
3206 * sysdeps/unix/alarm.c: Moved ...
3207 * sysdeps/posix/alarm.c: ... here.
3208
3bd9e993
RM
3209 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3210
d1f09384
JL
32112012-08-17 Jeff Law <law@redhat.com>
3212
3213 * intl/Makefile (codeset_mo): New variable.
3214 ($(codeset_mo)): New target.
3215 (tst-codeset.out): Depend on that. Remove explicit rule.
3216 (tst-gettext3.out, tst-gettext5.out): Likewise.
3217 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3218 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3219 * intl/tst-codeset.sh: Remove.
3220 * intl/tst-gettext3.sh: Likewise.
3221 * intl/tst-gettext5.sh: Likewise.
3222
2ae1ae5c
RM
32232012-08-17 Roland McGrath <roland@hack.frob.com>
3224
c31fdb83
RM
3225 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3226 * sysdeps/unix/syscalls.list: ... here.
3227
a0844057
RM
3228 * sysdeps/posix/getaddrinfo.c
3229 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3230 (gaiconf_init, gaiconf_reload): Use them.
3231 [!_STATBUF_ST_NSEC]
3232 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3233 Define using time_t rather than struct timespec.
3234
750c1f2a
RM
3235 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3236 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3237 Macros removed.
3238 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3239 [!NO_THREADS].
3240 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3241 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3242 Likewise.
3243
2ae1ae5c
RM
3244 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3245 __libc_cleanup_push argument.
3246
e66a42f5
RM
3247 * bits/param.h: New file.
3248 * misc/sys/param.h: New file.
3249 * include/sys/param.h: New file.
3250 * misc/Makefile (headers): Add bits/param.h.
3251 * sysdeps/generic/sys/param.h: File removed.
3252 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3253 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3254 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 3255 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 3256
b7c08a66
RM
3257 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3258 last change.
3259
b2e1c562
RM
3260 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3261 [_IO_MTSAFE_IO].
3262 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3263 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3264 New macros.
3265
c75ccd4c
RM
3266 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3267 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3268 rather than -D_IO_MTSAFE_IO conditionally.
3269 * stdio-common/Makefile (CPPFLAGS): Likewise.
3270 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3271 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3272 Use $(libio-mtsafe).
3273 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3274 of -D_IO_MTSAFE_IO.
3275 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3276 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3277 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3278 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3279 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3280 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3281 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3282 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3283 (CFLAGS-fread_u_chk.c): Likewise.
3284 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3285 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3286 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3287 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3288 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3289 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3290 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3291 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3292 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3293
3294 * libio/Makefile: Test [$(libc-reentrant) = yes]
3295 instead of [$(filter %REENTRANT, $(defines)) nonempty].
3296
3297 * Makeconfig
3298 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3299 * sysdeps/pthread/configure: File removed.
3300 * sysdeps/pthread/Makeconfig: New file.
3301 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3302 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3303
d9195db8
GB
33042012-08-16 Gary Benson <gbenson@redhat.com>
3305
3306 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3307 unmapping the first object in a namespace.
3308
86466cd9
RM
33092012-08-16 Roland McGrath <roland@hack.frob.com>
3310
3311 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
3312 (__internal_setnetgrent): ... this. Add internal_function to
3313 definition. Add libc_hidden_def.
3314 (setnetgrent): Update caller.
3315 (internal_endnetgrent): Renamed to ...
3316 (__internal_endnetgrent): ... this. Add internal_function to
3317 definition. Add libc_hidden_def.
3318 (endnetgrent): Update caller.
3319 (internal_getnetgrent_r): Renamed to ...
3320 (__internal_getnetgrent_r): ... this. Add internal_function to
3321 definition. Add libc_hidden_def.
3322 (__getnetgrent_r): Update caller.
3323 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
3324
c3c8283c
JM
33252012-08-16 Joseph Myers <joseph@codesourcery.com>
3326
3327 * stdlib/longlong.h: Update from GCC.
3328
db1ee0a8
RM
33292012-08-16 Roland McGrath <roland@hack.frob.com>
3330
3331 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
3332 on _QL, which is set by umul_ppmm but never used.
3333 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
3334 variables, which are set by GMP macros but never used.
3335 * stdio-common/_itowa.c (_itowa): Likewise.
3336 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
3337 * stdlib/mod_1.c (mpn_mod_1): Likewise.
3338
30f69637
CD
33392012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
3340
3341 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
3342 struct La_sh_regs is not constant.
3343 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
3344 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
3345 and struct La_sparc64_regs are not constant.
3346
93a78ac4
JM
33472012-08-16 Joseph Myers <joseph@codesourcery.com>
3348
3349 * sysdeps/unix/sysv/linux/kernel-features.h
3350 (__ASSUME_POSIX_TIMERS): Remove.
3351 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3352 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3353 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
3354 Make code unconditional.
3355 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3356 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
3357 Make code unconditional.
3358 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3359 * sysdeps/unix/sysv/linux/clock_nanosleep.c
3360 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
3361 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3362 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
3363 Make code unconditional.
3364 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3365 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
3366 (__libc_missing_posix_timers): Remove.
3367
dd924cd7
RM
33682012-08-15 Roland McGrath <roland@hack.frob.com>
3369
4b4f2771
RM
3370 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
3371 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
3372
601c888b
RM
3373 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
3374
176790a7
RM
3375 * elf/dl-sym.c: Include <stdlib.h>.
3376
329bc018
RM
3377 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
3378 constants, which avoids warnings in 32-bit builds.
3379
e04e272d
RM
3380 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
3381 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
3382
952bf94a
RM
3383 * misc/lseek.c: File moved to ...
3384 * io/lseek.c: ... here.
3385
7c99b50a
RM
3386 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
3387
dd924cd7
RM
3388 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
3389 shifting LEN more than 31 bits at once.
3390
b3f479a8
LD
33912012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3392
3393 [BZ #14195]
8c4ae0d4
RM
3394 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
3395 segmentation fault for a case of two empty input strings.
b3f479a8
LD
3396 * string/test-strncasecmp.c (check1): Renamed to...
3397 (bz12205): ...this.
3398 (bz14195): Add new testcase for two empty input strings and N > 0.
3399 (test_main): Call new testcase, adapt for renamed function.
3400
9c55864e
AJ
34012012-08-15 Andreas Jaeger <aj@suse.de>
3402
3403 [BZ #14090]
3404 * crypt/md5test2.c: New test, based on test supplied by Serge
3405 Belyshev <belyshev@depni.sinp.msu.ru>.
3406 * crypt/Makefile (xtests): Add md5test-giant..
3407 * crypt/Makefile ($(objpfx)md5test-giant): Add.
3408
02dcb6c5
PE
34092012-08-15 Paul Eggert <eggert@cs.ucla.edu>
3410
3411 [BZ #14090]
3412 * crypt/md5.c (md5_process_block): Don't assume the buffer
3413 length is less than 2**32.
3414 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
3415 length is less than 2**64.
3416
a3f95dcc
RM
34172012-08-15 Roland McGrath <roland@hack.frob.com>
3418
be75d758
RM
3419 * string/str-two-way.h: Include <sys/param.h>.
3420 (MAX): Macro removed.
3421
7312ca90
RM
3422 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
3423 Move #define and #undef of memmove to just before and after
3424 including <string.h>.
3425
9a0a5486
RM
3426 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
3427 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
3428 and after including <string.h>. Move declarations of
3429 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
3430 to before #include "string/memmove.c".
3431
67cc348d
RM
3432 * include/dirent.h: Declare __getdirentries.
3433
a3f95dcc
RM
3434 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
3435 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
3436
ca98e171
MF
34372012-08-14 Mike Frysinger <vapier@gentoo.org>
3438
3439 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
3440 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
3441 * sysdeps/i386/configure: Regenerated.
3442 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
3443 STABS_CURRENT_FILE, and STABS_FUN.
3444 (END): Remove call to STABS_FUN_END.
3445 (STABS_CURRENT_FILE1): Delete.
3446 (STABS_CURRENT_FILE): Likewise.
3447 (STABS_FUN): Likewise.
3448 (STABS_FUN_END): Likewise.
3449 (STABS_FUN2): Likewise.
3450 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
3451 * sysdeps/x86_64/configure: Regenerated.
3452
5908bf46
RM
34532012-08-14 Roland McGrath <roland@hack.frob.com>
3454
3455 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 3456 * elf/dl-lookup.c: Likewise.
5908bf46 3457
f2c05b9e
JM
34582012-08-14 Joseph Myers <joseph@codesourcery.com>
3459
3460 * sysdeps/unix/sysv/linux/kernel-features.h
3461 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
3462 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
3463 unconditionally.
3464 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
3465 unconditionally.
3466 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
3467 condition on __ASSUME_CLONE_THREAD_FLAGS.
3468
e11f5155
AJ
34692012-08-14 Andreas Jaeger <aj@suse.de>
3470
3471 * sysdeps/i386/fpu/libm-test-ulps: Update.
3472
51a9ba86
MK
34732012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
3474
2fdd4f78
AJ
3475 * include/atomic.h (atomic_exchange_and_add): Split into ...
3476 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
3477 New atomic macros.
51a9ba86 3478
ba6cba9e
MT
34792012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
3480
3481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3482
42443a47
JL
34832012-08-13 Jeff Law <law@redhat.com>
3484
3485 * manual/stdio.texi (snprintf): Clarify handling of the trailing
3486 null byte in the output string.
3487
121dce05
JM
34882012-08-10 Joseph Myers <joseph@codesourcery.com>
3489
3490 * sysdeps/unix/sysv/linux/kernel-features.h
3491 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
3492 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
3493 (__ASSUME_ARG_MAX_STACK_BASED): Define.
3494 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3495 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
3496 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
3497 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
3498
bf51f568
JL
34992012-08-09 Jeff Law <law@redhat.com>
3500
3501 [BZ #13939]
3502 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
3503 When avoid_arena is set, don't retry in the that arena. Pick the
3504 next one, whatever it might be.
3505 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
3506 (arena_lock): Pass in new parameter to arena_get2.
3507 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
3508 arena_get2.
3509 (__libc_malloc): Unify retrying after main arena failure with
3510 __libc_memalign version.
3511 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
3512
f85fa270
L
35132012-08-09 H.J. Lu <hongjiu.lu@intel.com>
3514
3515 [BZ #14166]
3516 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
3517 to __redirect_strstr.
3518 (__strstr_sse42): Use typeof __redirect_strstr.
3519 (__strstr_ia32): Likewise.
3520 (__libc_strstr): New prototype.
3521 (strstr): Renamed to ...
3522 (__libc_strstr): This.
3523 (strstr): New strong alias of __libc_strstr.
3524 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3525 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
3526 __redirect_time.
3527 Include <time.h>.
3528 (__libc_time): New prototype.
3529 (time_ifunc): Replace time with __libc_time.
3530 (time): New strong alias and hidden definition of __libc_time.
3531 (__GI_time): Remove strong alias.
3532 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
3533 Include <stddef.h>.
3534 (memmove): Redefined to __redirect_memmove.
3535 (__memmove_sse2): Use typeof __redirect_memmove.
3536 (__memmove_ssse3): Likewise.
3537 (__memmove_ssse3_back): Likewise.
3538 (__libc_memmove): New prototype.
3539 (memmove): Renamed to ...
3540 (__libc_memmove): This.
3541 (memmove): New strong alias of __libc_memmove.
3542
33b4a91e
MS
35432012-08-08 Mark Salter <msalter@redhat.com>
3544
3545 * elf/elf.h
3546 (R_MN10300_TLS_GD): Define.
3547 (R_MN10300_TLS_LD): Likewise.
3548 (R_MN10300_TLS_LDO): Likewise.
3549 (R_MN10300_TLS_GOTIE): Likewise.
3550 (R_MN10300_TLS_IE): Likewise.
3551 (R_MN10300_TLS_LE): Likewise.
3552 (R_MN10300_TLS_DTPMOD): Likewise.
3553 (R_MN10300_TLS_DTPOFF): Likewise.
3554 (R_MN10300_TLS_TPOFF): Likewise.
3555 (R_MN10300_SYM_DIFF): Likewise.
3556 (R_MN10300_ALIGN): Likewise.
3557 (R_MN10300_NUM): Update.
3558
b36137f1
JM
35592012-08-08 Joseph Myers <joseph@codesourcery.com>
3560
3561 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
3562 Remove.
3563
cdd915fd
RM
35642012-08-08 Roland McGrath <roland@hack.frob.com>
3565
a2433aac
RM
3566 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
3567
cdd915fd
RM
3568 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
3569 sysdeps/unix -> sysdeps/posix move.
3570 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3571
bf9b740a
AM
35722012-08-07 Allan McRae <allan@archlinux.org>
3573
3574 [BZ #14303]
3575 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
3576 (SUNOS_CPP): Likewise.
3577 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
3578 not found.
3579 (open_input): Call CPP using execvp.
3580
93df14ee
JM
35812012-08-07 Joseph Myers <joseph@codesourcery.com>
3582
3583 * sysdeps/unix/sysv/linux/kernel-features.h
3584 (__ASSUME_PROT_GROWSUPDOWN): Remove.
3585 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3586 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3587 (__ASSUME_WAITID_SYSCALL): Likewise.
3588 * sysdeps/unix/sysv/linux/dl-execstack.c
3589 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
3590 code unconditional.
3591 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
3592 conditional code.
3593 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
3594 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
3595 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
3596 code.
3597 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
3598 unconditional.
3599 [__ASSUME_WAITID_SYSCALL]: Likewise.
3600 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
3601
d34689de
RM
36022012-08-07 Roland McGrath <roland@hack.frob.com>
3603
a281decc
RM
3604 * sysdeps/unix/closedir.c: Renamed to ...
3605 * sysdeps/posix/closedir.c: ... here.
3606 * sysdeps/unix/dirfd.c: Renamed to ...
3607 * sysdeps/posix/dirfd.c: ... here.
3608 * sysdeps/unix/dirstream.h: Renamed to ...
3609 * sysdeps/posix/dirstream.h: ... here.
3610 * sysdeps/unix/fdopendir.c: Renamed to ...
3611 * sysdeps/posix/fdopendir.c: ... here.
3612 * sysdeps/unix/opendir.c: Renamed to ...
3613 * sysdeps/posix/opendir.c: ... here.
3614 * sysdeps/unix/readdir.c: Renamed to ...
3615 * sysdeps/posix/readdir.c: ... here.
3616 * sysdeps/unix/readdir_r.c: Renamed to ...
3617 * sysdeps/posix/readdir_r.c: ... here.
3618 * sysdeps/unix/rewinddir.c: Renamed to ...
3619 * sysdeps/posix/rewinddir.c: ... here.
3620 * sysdeps/unix/seekdir.c: Renamed to ...
3621 * sysdeps/posix/seekdir.c: ... here.
3622 * sysdeps/unix/telldir.c: Renamed to ...
3623 * sysdeps/posix/telldir.c: ... here.
3624 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
3625 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
3626 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3627 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
3628
22895b47
RM
3629 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
3630 * bits/fcntl.h: ... here.
3631
707a53b6
RM
3632 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
3633 not 0.
3634 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
3635 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
3636 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
3637 (struct flock): Move l_start, l_len to the beginning.
3638 Use __pid_t for l_pid.
3639 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
3640 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
3641 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
3642 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
3643 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
3644 [__USE_LARGEFILE64] (struct flock64): New type.
3645 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
3646
f0bd3e25
RM
3647 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
3648 * bits/dirent.h: ... here.
3649
d34689de
RM
3650 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
3651 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
3652
6dad2c06
JM
36532012-08-07 Joseph Myers <joseph@codesourcery.com>
3654
3655 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3656 Change from 2.6.0 to 2.6.16.
3657 * sysdeps/unix/sysv/linux/configure: Regenerated.
3658 * sysdeps/unix/sysv/linux/kernel-features.h
3659 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
3660 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
3661 version.
3662 (__ASSUME_UTIMES): Likewise.
3663 (__ASSUME_CLONE_STOPPED): Remove.
3664 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
3665 architectures, not kernel version.
3666 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
3667 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3668 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3669 (__ASSUME_WAITID_SYSCALL): Likewise.
3670 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
3671 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
3672 * README: State 2.6.16 as minimum Linux kernel version. Do not
3673 refer to older versions.
3674
03af9520
RM
36752012-08-06 Roland McGrath <roland@hack.frob.com>
3676
8e49df1d
RM
3677 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3678 Define alphasort64 as an alias.
3679 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3680 Define versionsort64 as an alias.
3681 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3682 Define scandir64 as an alias.
3683 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3684 Define scandirat64 as an alias.
3685 * dirent/alphasort64.c (alphasort64):
3686 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3687 * dirent/versionsort64.c: Likewise.
3688 * dirent/scandir64.c: Likewise.
3689 * dirent/scandirat64.c: Likewise.
3690 * sysdeps/wordsize-64/alphasort.c: File removed.
3691 * sysdeps/wordsize-64/alphasort64.c: File removed.
3692 * sysdeps/wordsize-64/scandir.c: File removed.
3693 * sysdeps/wordsize-64/scandir64.c: File removed.
3694 * sysdeps/wordsize-64/scandirat.c: File removed.
3695 * sysdeps/wordsize-64/scandirat64.c: File removed.
3696 * sysdeps/wordsize-64/versionsort.c: File removed.
3697 * sysdeps/wordsize-64/versionsort64.c: File removed.
3698 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3699 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3700 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3701 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3702 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3703 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3704 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3705 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3706
3707 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3708 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3709 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3710 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3711 [defined __arch64__ || defined __sparcv9]
3712 (__INO_T_MATCHES_INO64_T): New macro.
3713 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3714 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3715 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3716 * sysdeps/unix/sysv/linux/bits/dirent.h
3717 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3718 (_DIRENT_MATCHES_DIRENT64): New macro.
3719
03af9520
RM
3720 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3721 Define lockf64 as an alias.
3722 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3723 Define fseeko64 as an alias.
3724 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3725 Define ftello64 as an alias.
3726 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3727 Define _IO_fgetpos64 and fgetpos64 as aliases.
3728 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3729 Define _IO_fsetpos64 and fsetpos64 as aliases.
3730 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3731 Conditionalize body on this.
3732 * libio/fseeko64.c: Likewise.
3733 * libio/ftello64.c: Likewise.
3734 * libio/iofgetpos64.c: Likewise.
3735 * libio/iofsetpos64.c: Likewise.
3736 * sysdeps/wordsize-64/lockf.c: File removed.
3737 * sysdeps/wordsize-64/lockf64.c: File removed.
3738 * sysdeps/wordsize-64/fseeko.c: File removed.
3739 * sysdeps/wordsize-64/fseeko64.c: File removed.
3740 * sysdeps/wordsize-64/ftello.c: File removed.
3741 * sysdeps/wordsize-64/ftello64.c: File removed.
3742 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3743 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3744 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3745 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3746 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3747 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3748 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3749 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3750 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3751 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3752 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3753 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3754 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3755 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3756
3757 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3758 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3759 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3760 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3761 [defined __arch64__ || defined __sparcv9]
3762 (__OFF_T_MATCHES_OFF64_T): New macro.
3763 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3764 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3765 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3766 (__OFF_T_MATCHES_OFF64_T): New macro.
3767
c5757acd
L
37682012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3769
3770 * stdlib/secure-getenv.c (__secure_getenv): Replace
3771 GLIBC_2_16 with GLIBC_2_17.
3772
3a31811e
L
37732012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3774
3775 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3776 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3777
faa2bccb
DM
37782012-08-03 David S. Miller <davem@davemloft.net>
3779
3780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3781
85fe1997
JM
37822012-08-03 Joseph Myers <joseph@codesourcery.com>
3783
3784 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3785 Remove.
3786 (__ASSUME_CORRECT_SI_PID): Likewise.
3787 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3788 (__ASSUME_TMPFS_NAME): Likewise.
3789 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3790 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3791 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3792 (HAVE_AUX_SECURE): Make definition unconditional.
3793 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3794 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3795
4f75b7a0
RM
37962012-08-03 Roland McGrath <roland@hack.frob.com>
3797
3798 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3799 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3800 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3801 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3802 __eloop_threshold instead of SYMLOOP_MAX.
3803
3804 * sysdeps/generic/eloop-threshold.h: New file.
3805 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3806 of MAXSYMLINKS.
3807 * elf/chroot_canon.c (chroot_canon): Likewise.
3808
7aab07e4
JM
38092012-08-03 Joseph Myers <joseph@codesourcery.com>
3810
3811 [BZ #13717]
3812 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3813 Change to 2.6.0 everywhere.
3814 * sysdeps/unix/sysv/linux/configure: Regenerated.
3815 * sysdeps/unix/sysv/linux/kernel-features.h
3816 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3817 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3818 kernel versions.
3819 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3820 (__ASSUME_FUTEX_REQUEUE): Remove.
3821 (__ASSUME_STATFS64): Define unconditionally.
3822 (__ASSUME_AT_SECURE): Likewise.
3823 (__ASSUME_CORRECT_SI_PID): Likewise.
3824 (__ASSUME_TGKILL): Define without depending on kernel version for
3825 i386.
3826 (__ASSUME_UTIMES): Likewise.
3827 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3828 kernel version.
3829 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3830 (__ASSUME_TMPFS_NAME): Likewise.
3831 * README: Update reference to Linux kernel versions.
3832
b67e9372
MP
38332012-08-02 Marek Polacek <polacek@redhat.com>
3834
1f529f7d 3835 [BZ# 14150]
b67e9372
MP
3836 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3837 libc_cv_asm_type_prefix with %.
3838 * configure: Regenerated.
d2441631
RM
3839 * include/libc-symbols.h: Remove comment about
3840 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
3841 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3842 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3843 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3844 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3845 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3846 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3847 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3848 * elf/tst-unique2mod1.c: Likewise.
3849 * elf/tst-unique1mod2.c: Likewise.
3850 * elf/tst-unique1mod1.c: Likewise.
3851 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3852 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3853 Replace ASM_TYPE_DIRECTIVE with .type.
3854 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3855 * sysdeps/i386/sysdep.h: Likewise.
3856 * sysdeps/x86_64/sysdep.h: Likewise.
3857 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
3858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3859 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 3860 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
3861 * sysdeps/powerpc/powerpc32/sysdep.h:
3862 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
3863 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3864 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3865 * sysdeps/i386/fpu/e_powf.S: Likewise.
3866 * sysdeps/i386/fpu/e_expl.S: Likewise.
3867 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3868 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3869 * sysdeps/i386/fpu/e_pow.S: Likewise.
3870 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3871 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3872 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3873 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3874 * sysdeps/i386/fpu/e_log2.S: Likewise.
3875 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3876 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3877 * sysdeps/i386/fpu/e_powl.S: Likewise.
3878 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3879 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3880 * sysdeps/i386/fpu/e_logl.S: Likewise.
3881 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3882 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3883 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3884 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3885 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3886 * sysdeps/i386/fpu/e_log.S: Likewise.
3887 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3888 * sysdeps/i386/fpu/e_logf.S: Likewise.
3889 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3890 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3891 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3892 * sysdeps/i386/fpu/e_log10.S: Likewise.
3893 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3894 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3895 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3896 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3897 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3898 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3899 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3900 * sysdeps/i386/i686/strtok.S: Likewise.
3901 * sysdeps/i386/i386-mcount.S: Likewise.
3902 * sysdeps/i386/strtok.S: Likewise.
3903 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3904 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3905 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3906 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3907 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3908 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3909 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3910 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3911 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3912 * sysdeps/x86_64/_mcount.S: Likewise.
3913 * sysdeps/x86_64/strtok.S: Likewise.
3914 * sysdeps/sh/_mcount.S: Likewise.
3915
2747bf9a
RM
39162012-08-01 Roland McGrath <roland@hack.frob.com>
3917
3918 * libio/iofopen.c: Include <fcntl.h>.
3919 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3920 (_IO_fopen64, fopen64): Define as aliases.
3921 * libio/iofopen64.c: Include <fcntl.h>.
3922 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3923 Conditionalize body on this.
3924 * sysdeps/wordsize-64/iofopen.c: File removed.
3925 * sysdeps/wordsize-64/iofopen64.c: File removed.
3926
3fb791b8
MP
39272012-08-01 Marek Polacek <polacek@redhat.com>
3928
3929 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3930 Use dlfcn directly instead of a variable.
3931 (binfmt-subdir): Do not define.
3932 (dlfcn): Likewise.
3933
a9f1039f
JM
39342012-08-01 Joseph Myers <joseph@codesourcery.com>
3935
23bddc06
JM
3936 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3937 Remove all definitions.
3938 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3939 <kernel-features.h>.
3940 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3941 (miss_F_GETOWN_EX): Remove all definitions.
3942 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3943 macro definition.
3944 [!__ASSUME_FCNTL64]: Remove conditional code.
3945 [__ASSUME_FCNTL64]: Make code unconditional.
3946 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3947 <kernel-features.h>.
3948 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3949 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3950 (lockf64) [__NR_fcntl64]: Make code unconditional.
3951 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3952
a9f1039f
JM
3953 * sysdeps/unix/sysv/linux/kernel-features.h
3954 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3955 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3956 Make code unconditional.
3957 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3958 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3960 [__NR_vfork]: Make code unconditional.
3961 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3962 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3964 [__NR_vfork]: Make code unconditional.
3965 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3966 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3967
09c0ee5f
RM
39682012-08-01 Roland McGrath <roland@hack.frob.com>
3969
48aec5b9
RM
3970 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3971 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3972
cd97c966
RM
3973 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3974 Define mkstemp64 as an alias.
3f55550c
RM
3975 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3976 Define mkstemps64 as an alias.
cd97c966
RM
3977 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3978 Define mkostemp64 as an alias.
b8625cfc
RM
3979 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3980 Define mkostemps64 as an alias.
cd97c966
RM
3981 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3982 Conditionalize body on this.
3983 * misc/mkostemp64.c: Likewise.
b8625cfc 3984 * misc/mkostemps64.c: Likewise.
3f55550c 3985 * misc/mkstemps64.c: Likewise.
cd97c966
RM
3986 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3987 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3988 * sysdeps/wordsize-64/mkostemp.c: File removed.
3989 * sysdeps/wordsize-64/mkstemp.c: File removed.
3990 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3991 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3992 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3993 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3994
09c0ee5f
RM
3995 [BZ #14138]
3996 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3997 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3998 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3999 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4000
4001 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4002 compat_symbol macros from <shlib-compat.h> rather than the underlying
4003 default_symbol_version and symbol_version macros, so that DEFAULT
4004 lines in shlib-versions are respected.
4005 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4006
7e66ee51
FW
40072012-08-01 Florian Weimer <fweimer@redhat.com>
4008
4009 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4010 Declare with warn_unused_result.
4011 (setgid, setregid, setegid, setresgid): Likewise.
4012 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4013 Likewise.
4014 * WUR-REPORT: Remove set*id functions.
4015
d2a54255
PT
40162012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4017
4018 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4019
7ecdb005
RM
40202012-07-31 Roland McGrath <roland@hack.frob.com>
4021
789bd351
RM
4022 * include/sys/socket.h (__libc_accept, __libc_accept4):
4023 Add attribute_hidden.
4024 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4025
40ce302d
RM
4026 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4027 use of PTR_MANGLE.
4028 * inet/getnetgrent_r.c (setup): Likewise.
4029
7ecdb005
RM
4030 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4031
e2eabb2c
DM
40322012-07-31 David S. Miller <davem@davemloft.net>
4033
4034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4035
d0419dbf
JM
40362012-07-31 Joseph Myers <joseph@codesourcery.com>
4037
4038 [BZ #13629]
4039 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4040 value between 1.0 and 2.0 and smaller part has absolute value less
4041 than 1.0.
4042 * math/s_clog10.c (__clog10): Likewise.
4043 * math/s_clog10f.c (__clog10f): Likewise.
4044 * math/s_clog10l.c (__clog10l): Likewise.
4045 * math/s_clogf.c (__clogf): Likewise.
4046 * math/s_clogl.c (__clogl): Likewise.
4047 * math/libm-test.inc (clog_test): Add more tests.
4048 (clog10_test): Likewise.
4049 * sysdeps/i386/fpu/libm-test-ulps: Update.
4050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4051
2bc13872
FW
40522012-07-31 Florian Weimer <fweimer@redhat.com>
4053
4054 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4055 Exit with zero in case no suitable GID is found, and write a
4056 message to standard error.
4057
bea9b193
RM
40582012-07-30 Roland McGrath <roland@hack.frob.com>
4059
4060 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4061 rather than to 1.
4062 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4063 (MAXPATHLEN): Removed.
4064 (NOGROUP, NODEV): New macros.
4065 (setbit, clrbit, isset, isclr): New macros.
4066 (howmany, roundup, powerof2): New macros.
4067 (DEV_BSIZE): New macro.
4068
4069 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4070 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4071
4072 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4073 definition on [!__NO_LONG_DOUBLE_MATH].
4074
4075 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4076 PTR_MANGLE and PTR_DEMANGLE.
4077
4078 * socket/accept4.c (accept4): Rename to __libc_accept4.
4079 Define accept4 as a weak alias.
4080
4081 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4082 on [_DIRENT_HAVE_D_TYPE].
4083 * io/ftw.c (ftw_dir): Likewise.
4084
4085 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4086
4087 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4088
4089 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4090 Use the BSD numbers rather than the arbitrary ones we had.
4091 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4092 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4093 (SIGXCPU, SIGXFSZ): New macros.
4094 (_NSIG): Now 32.
4095
4096 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4097 initializer on [_LIBC_REENTRANT].
4098
4099 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4100 definitions inside [_POSIX_MAPPED_FILES].
4101
4102 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4103
4104 * dirent/opendir.c: Include <fcntl.h>.
4105
4106 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4107 (__libc_getspecific): Likewise.
4108 (__libc_key_create): Likewise.
4109
4110 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4111 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4112 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4113 (tmpfile64): Define as alias.
4114 * sysdeps/wordsize-64/tmpfile.c: File removed.
4115 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4116 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4117 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4118
4119 * stdio-common/vfscanf.c: Include <stdbool.h>.
4120 * nss/makedb.c: Likewise.
4121 * stdio-common/_i18n_number.h: Likewise.
4122 * argp/argp-help.c: Likewise.
4123 * posix/wordexp.c: Likewise.
4124 * sysdeps/posix/spawni.c: Likewise.
4125 * nss/nss_files/files-initgroups.c: Likewise.
4126 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4127 * nss/nss_files/files-initgroups.c: Likewise.
4128 * nss/nss_db/db-netgrp.c: Likewise.
4129 * nss/nss_db/db-initgroups.c: Likewise.
4130 * io/fchmodat.c: Include <sys/stat.h>.
4131
4132 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4133 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4134
4135 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4136 [HAVE_MMAP].
4137
4138 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4139 Add multiple inclusion protection.
4140
e5abc686
DM
41412012-07-27 David S. Miller <davem@davemloft.net>
4142
4143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4144
815e6fa3
GB
41452012-07-27 Gary Benson <gbenson@redhat.com>
4146
4147 [BZ #14298]
4148 * elf/rtld.c: Include <stap-probe.h>.
4149 (dl_main): Added static probes "init_start" and "init_complete".
4150 * elf/dl-load.c: Include <stap-probe.h>.
4151 (lose): Take new parameter "nsid".
4152 Added static probe "map_failed".
4153 (_dl_map_object_from_fd): Pass namespace id to lose.
4154 Added static probe "map_start".
4155 (open_verify): Pass namespace id to lose.
4156 * elf/dl-open.c: Include <stap-probe.h>.
4157 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4158 and "reloc_complete".
4159 * elf/dl-close.c: Include <stap-probe.h>.
4160 (_dl_close_worker): Added static probes "unmap_start" and
4161 "unmap_complete".
4162 * elf/rtld-debugger-interface.txt: New file documenting the above.
4163
9f98c16c
RM
41642012-07-26 Roland McGrath <roland@hack.frob.com>
4165
4166 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4167 rather than a string variable.
4168 * sunrpc/rpc_main.c (h_output): Likewise.
4169 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4170
f3c22df3
PT
41712012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4172
4173 * inet/check_native.c: New file.
4174
3129cfc6
JM
41752012-07-26 Joseph Myers <joseph@codesourcery.com>
4176
da865e95
JM
4177 [BZ #13629]
4178 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4179 if larger part has absolute value 1.0.
4180 * math/s_clog10.c (__clog10): Likewise.
4181 * math/s_clog10f.c (__clog10f): Likewise.
4182 * math/s_clog10l.c (__clog10l): Likewise.
4183 * math/s_clogf.c (__clogf): Likewise.
4184 * math/s_clogl.c (__clogl): Likewise.
4185 * math/libm-test.inc (clog_test): Add more tests.
4186 (clog10_test): Likewise.
4187 * sysdeps/i386/fpu/libm-test-ulps: Update.
4188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4189
3129cfc6
JM
4190 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4191 (pltexit): Likewise.
4192 (La_regs): Likewise.
4193 (La_retval): Likewise.
4194 (int_retval): Likewise.
4195 Update #error for removed macros to refer only to definitions in
4196 tst-audit.h.
4197 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4198 macro.
4199 (pltexit): Likewise.
4200 (La_regs): Likewise.
4201 (La_retval): Likewise.
4202 (int_retval): Likewise.
4203 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4204 macro.
4205 (pltexit): Likewise.
4206 (La_regs): Likewise.
4207 (La_retval): Likewise.
4208 (int_retval): Likewise.
4209 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4210 macro.
4211 (pltexit): Likewise.
4212 (La_regs): Likewise.
4213 (La_retval): Likewise.
4214 (int_retval): Likewise.
4215 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4216 macro.
4217 (pltexit): Likewise.
4218 (La_regs): Likewise.
4219 (La_retval): Likewise.
4220 (int_retval): Likewise.
4221 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4222 macro.
4223 (pltexit): Likewise.
4224 (La_regs): Likewise.
4225 (La_retval): Likewise.
4226 (int_retval): Likewise.
4227 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4228 macro.
4229 (pltexit): Likewise.
4230 (La_regs): Likewise.
4231 (La_retval): Likewise.
4232 (int_retval): Likewise.
4233 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4234 macro definitions in tst-audit.h.
4235 * sysdeps/i386/tst-audit.h: New file.
4236 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4237 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4238 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4239 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4240 * sysdeps/sh/tst-audit.h: Likewise.
4241 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4242 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4243 * sysdeps/x86_64/tst-audit.h: Likewise.
4244
bfc07087
AJ
42452012-07-26 Andreas Jaeger <aj@suse.de>
4246
b1b2aaf8
AJ
4247 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4248 ptrace.
4249
4250 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4251 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4252 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4253 PTRACE_O_MASK.
4254 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4255 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4256 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4257
bfc07087
AJ
4258 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4259 value.
4260
4261 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4262 _sigsys.
4263 (si_call_addr, si_syscall, si_arch): Define new macro.
4264 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4265 _sigsys.
4266 (si_call_addr, si_syscall, si_arch): Define new marcro.
4267 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4268 _sigsys.
4269 (si_call_addr, si_syscall, si_arch): Define new macro.
4270 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4271 _sigsys.
4272 (si_call_addr, si_syscall, si_arch): Define new macro.
4273
89b4b02f
JM
42742012-07-25 Joseph Myers <joseph@codesourcery.com>
4275
4276 [BZ #13717]
4277 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4278 Change to 2.4.21 where previously 2.4.1.
4279 * sysdeps/unix/sysv/linux/configure: Regenerated.
4280 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4281 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4282 Linux kernel version.
4283 (__ASSUME_STD_AUXV): Remove.
4284 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4285 kernel version.
4286 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4287 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4288 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4289 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4290 (__ASSUME_NETLINK_SUPPORT): Likewise.
4291 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4292 (__no_netlink_support): Remove conditional definition.
4293 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4294 Remove.
4295 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4296 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4297 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4298 (if_nameindex_ioctl): Remove.
4299 (if_nameindex_netlink): Do not handle __no_netlink_support.
4300 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4301 code.
4302 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4303 Remove conditional code.
4304 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4305 code.
4306 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4307 unconditional.
4308 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4309 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
4310 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
4311 Remove.
4312 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4313 [!__ASSUME_STD_AUXV]: Remove conditional code.
4314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
4315 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
4316 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
4317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
4318 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
4319 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4320 code.
4321 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4323 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
4324 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4325 conditional code.
4326 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4328 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4329 code.
4330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4331 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4332 conditional code.
4333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
4334 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4335 code unconditional.
4336 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4337 conditional code.
4338 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4339 unconditional.
4340 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4341 conditional code.
4342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4343 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4344 unconditional.
4345 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4346 conditional code.
4347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4348 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4349 code unconditional.
4350 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4351 conditional code.
4352 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4353 unconditional.
4354 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4355 conditional code.
4356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4357 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4358 code unconditional.
4359 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4360 conditional code.
4361 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4362 unconditional.
4363 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4364 conditional code.
4365
842a39cd
AS
43662012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4367
4368 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4369 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
4370 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4371 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
4372 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
4373 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4374 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4375 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4376 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
4377 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4378 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
4379 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4380 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
4381 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4382 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4383 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
4384 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
4385 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
4386 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
4387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
4388 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
4389 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4390 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4391
84b3fd84
FW
43922012-07-25 Florian Weimer <fweimer@redhat.com>
4393
4394 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
4395 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
4396 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
4397 Introduce __libc_secure_getenv.
0c7936d5
FW
4398 * stdlib/Versions (2.17): Add secure_getenv
4399 (GLIBC_PRIVATE): Add __libc_secure_getenv.
4400 * stdlib/secure-getenv.c: Rename __secure_getenv to
4401 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
4402 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
4403 * stdlib/tst-secure-getenv.c: New.
4404 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
4405 * manual/startup.texi (Environment Access): Document
4406 secure_getenv.
84b3fd84
FW
4407 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
4408 __libc_secure_getenv.
4409 * inet/ruserpass.c (ruserpass): Likewise.
4410 * malloc/mtrace.c (mtrace): Likewise.
4411 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 4412 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
4413 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
4414 * sysdeps/posix/tempname.c: Likewise. Evaluate
4415 HAVE_SECURE_GETENV.
4416 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 4417 __secure_getenv to __libc_secure_getenv.
84b3fd84 4418 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
4419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4420 Likewise.
4421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4422 Likewise.
4423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4425 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 4430
56e49b71
JM
44312012-07-25 Joseph Myers <joseph@codesourcery.com>
4432
4433 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
4434 (struct La_i86_retval): Likewise.
4435 (struct La_x86_64_regs): Likewise.
4436 (struct La_x86_64_retval): Likewise.
4437 (struct La_x32_regs): Likewise.
4438 (struct La_x32_retval): Likewise.
4439 (struct La_ppc32_regs): Likewise.
4440 (struct La_ppc32_retval): Likewise.
4441 (struct La_ppc64_regs): Likewise.
4442 (struct La_ppc64_retval): Likewise.
4443 (struct La_sh_regs): Likewise.
4444 (struct La_sh_retval): Likewise.
4445 (struct La_s390_32_regs): Likewise.
4446 (struct La_s390_32_retval): Likewise.
4447 (struct La_s390_64_regs): Likewise.
4448 (struct La_s390_64_retval): Likewise.
4449 (struct La_sparc32_regs): Likewise.
4450 (struct La_sparc32_retval): Likewise.
4451 (struct La_sparc64_regs): Likewise.
4452 (struct La_sparc64_retval): Likewise.
4453 (struct audit_ifaces): Remove architecture-specific pltenter and
4454 pltexit members.
4455 * sysdeps/i386/ldsodefs.h: New file.
4456 * sysdeps/powerpc/ldsodefs.h: Likewise.
4457 * sysdeps/s390/ldsodefs.h: Likewise.
4458 * sysdeps/sh/ldsodefs.h: Likewise.
4459 * sysdeps/sparc/ldsodefs.h: Likewise.
4460 * sysdeps/x86_64/ldsodefs.h: Likewise.
4461
354691b7
MP
44622012-07-25 Marek Polacek <polacek@redhat.com>
4463
4464 [BZ #6808]
4465 * math/libm-test.inc (yn_test): Add another test.
4466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
4467 to ERANGE when the result is +-Inf.
4468 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4469 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4470 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
4471 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
4472
bf9e2071
JM
44732012-07-24 Joseph Myers <joseph@codesourcery.com>
4474
4475 * conform/data/time.h-data (NULL): Use macro-constant. Require
4476 equal to 0.
4477 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
4478 clock_t.
4479 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
4480
57633811
TS
44812012-07-23 Thomas Schwinge <thomas@codesourcery.com>
4482
4483 * configure.in <sysdeps resolving>: Correct printing
4484 Implies_before.
4485 * configure: Regenerate.
4486
c23c33b0
TS
44872012-07-22 Thomas Schwinge <thomas@codesourcery.com>
4488
4489 * math/w_ilogb.c: Include <limits.h>.
4490 * math/w_ilogbl.c: Likewise.
4491
b5982523
JM
44922012-07-20 Joseph Myers <joseph@codesourcery.com>
4493
4494 * manual/lang.texi (__va_copy): Document primarily as ISO C99
4495 va_copy. Document allowing for unavailable va_copy only as
4496 pre-C99 compatibility.
4497 * manual/string.texi (Copying and Concatenation): Use va_copy
4498 instead of __va_copy in concat example.
4499
ac4ea442
PT
45002012-07-20 Pino Toscano <toscano.pino@tiscali.it>
4501
4502 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
4503 (__sendto): Use create_address_port. Initialize APORT and deallocate
4504 it if not null.
4505
f98eafbd
PT
4506 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
4507 with O_NOLINK passed to __file_name_lookup.
4508
898c7aab
PT
4509 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
4510 with O_NOLINK passed to __file_name_lookup.
4511
0ced335a
PT
4512 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
4513 negative N or less than NGIDS.
4514
b3404dbd
PT
4515 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
4516 type to string_t. Set ERANGE as errno and return it if NAME is not big
4517 enough. Use memcpy instead of strncpy.
4518
0f48659e
JM
45192012-07-20 Joseph Myers <joseph@codesourcery.com>
4520
4521 * elf/Makefile (check-data): Remove.
4522 (localplt.data): New vpath directive.
4523 ($(objpfx)check-localplt.out): Use localplt.data from vpath
4524 instead of $(check-data).
4525 * scripts/data/localplt-generic.data: Move to ...
4526 * sysdeps/generic/localplt.data: ... here.
4527 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
4528 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
4529 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
4530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4531 ... here.
4532 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
4533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4534 ... here.
4535 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
4536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
4537 ... here.
4538 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
4539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4540 ... here.
4541 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
4542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
4543 ... here.
4544 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
4545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
4546 ... here.
4547
d37cbdaa
AZ
45482012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4549
4550 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
4551 PPC32 and PPC64 files.
4552 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
4553 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
4554
46f85fc2
AK
45552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4556
4557 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
4558 __makecontext_ret to ...
4559 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4560 ... here and call exit if uc_link is NULL. New file.
4561 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
4562 __makecontext_ret.S.
4563 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
4564 __makecontext_ret to ...
4565 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4566 ... here and call exit if uc_link is NULL. New file.
4567 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
4568 __makecontext_ret.S.
4569
08f43f9b
AK
45702012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4571
4572 * elf/elf.h (R_390_IRELATIVE): New definition.
4573 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
4574 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
4575 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
4576 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4577 (elf_machine_lazy_rel): Likewise.
4578 * sysdeps/s390/dl-irel.h: New file.
4579 * sysdeps/s390/s390-64/memcpy.S: New asm code.
4580 * sysdeps/s390/s390-64/memset.S: New asm code.
4581 * sysdeps/s390/s390-64/memcmp.S: New asm code.
4582 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
4583 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
4584 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
4585 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
4586 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
4587 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
4588 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
4589 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
4590 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
4591 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
4592 * sysdeps/s390/s390-32/memcpy.S: New asm code.
4593 * sysdeps/s390/s390-32/memset.S: New asm code.
4594 * sysdeps/s390/s390-32/memcmp.S: New asm code.
4595
3b05db33
MP
45962012-07-17 Marek Polacek <polacek@redhat.com>
4597
4598 [BZ #14349]
4599 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
4600 * sysdeps/s390/s390-64/configure.in: Likewise.
4601 * sysdeps/sparc/configure.in: Likewise.
4602 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
4603 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
4604 * sysdeps/i386/configure.in: Likewise.
4605 * sysdeps/x86_64/configure.in: Likewise.
4606 * sysdeps/sh/configure.in: Likewise.
4607 * sysdeps/s390/s390-32/configure: Regenerated.
4608 * sysdeps/s390/s390-64/configure: Likewise.
4609 * sysdeps/x86_64/configure: Likewise.
4610 * sysdeps/sh/configure: Likewise.
4611 * sysdeps/powerpc/powerpc64/configure: Likewise.
4612 * sysdeps/powerpc/powerpc32/configure: Likewise.
4613 * sysdeps/sparc/configure: Likwise.
4614 * sysdeps/i386/configure: Likewise.
4615
a66877c6
MP
4616 * elf/dl-open.c: Comment fixes.
4617
cfc82fd8
JM
46182012-07-17 Joseph Myers <joseph@codesourcery.com>
4619
bd29910a
JM
4620 * Makefile [CXX] (check-data): Remove.
4621 [CXX] (c++-types.data): New vpath directive.
4622 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
4623 vpath. Do not allow for C++ type data being missing.
4624 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
4625 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
4626 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
4627 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
4628 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
4629 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
4630 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
4631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4632 ... here.
4633 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
4634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4635 ... here.
4636 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
4637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
4638 ... here.
4639 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
4640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
4641 ... here.
4642 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
4643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
4644 ... here.
4645 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
4646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
4647 ... here.
4648 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
4649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
4650 ... here.
4651 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
4652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
4653
cfc82fd8
JM
4654 * elf/tls-macros.h (TLS_LE): Move architecture-specific
4655 definitions to architecture-specific files.
4656 (TLS_IE): Likewise.
4657 (TLS_LD): Likewise.
4658 (TLS_GD): Likewise.
4659 * sysdeps/i386/tls-macros.h: New file.
4660 * sysdeps/powerpc/tls-macros.h: Likewise.
4661 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4662 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4663 * sysdeps/sh/tls-macros.h: Likewise.
4664 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
4665 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
4666 * sysdeps/x86_64/tls-macros.h: Likewise.
4667
f7db3170
TS
46682012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4669
07cbfc23
TS
4670 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
4671 zero value for regular exit case.
4672
f7db3170
TS
4673 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4674 (__start_context): Preserve zero value for regular exit case.
4675
dc97c227
TS
46762012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4677 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4678
4679 * manual/setjmp.texi (setcontext): Clarify normal process
4680 termination when uc_link is the null pointer.
4681 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4682 exit call.
4683
d0cd7d02
AS
46842012-07-16 Andreas Schwab <schwab@linux-m68k.org>
4685
4686 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4687 preprocessor. Test for each exception mask separately.
4688
dd318934
AJ
46892012-07-16 Andreas Jaeger <aj@suse.de>
4690
4691 * po/ru.po: Update from translation team.
4692
8048311a
JM
46932012-07-15 Joseph Myers <joseph@codesourcery.com>
4694
4695 * conform/data/string.h-data (NULL): Use macro-constant. Require
4696 equal to 0.
4697 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4698 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4699 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4700 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4701 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4702
b637d46e
AJ
47032012-07-13 Andreas Jaeger <aj@suse.de>
4704
4705 * po/fr.po: Update from translation team.
4706
541428fe
MP
47072012-07-12 Marek Polacek <polacek@redhat.com>
4708
4709 [BZ #14173]
4710 * math/libm-test.inc (yn_test): Add test for BZ #14173.
4711 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4712 loop condition.
4713
ec332e94
JM
47142012-07-12 Joseph Myers <joseph@codesourcery.com>
4715
4716 [BZ #13717]
4717 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4718 Change to 2.4.1 where previously 2.4.0.
4719 * sysdeps/unix/sysv/linux/configure: Regenerated.
4720 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4721 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4722 version.
4723 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4724 (__ASSUME_AT_CLKTCK): Remove.
4725 (__ASSUME_AT_PAGESIZE): Likewise.
4726 (__ASSUME_AT_XID): Likewise.
4727 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4728 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4729 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4730 unconditionally.
4731 (HAVE_AUX_PAGESIZE): Likewise.
4732 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4733 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4734 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4735
7b6e99be
JB
47362012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4737
4738 [BZ #14307]
4739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4740 the temporary buffer used to invoke __gethostbyname2_r,
4741 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4742 host_data / struct gaih_addrtuple.
4743 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4744 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4745 header file nss/nsswitch.h.
4746 * nss/nsswitch.h (global scope): Add definition of implementation
4747 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4748 resolv/nss_dns/dns-host.c).
4749
608404eb
AJ
47502012-07-11 Andreas Jaeger <aj@suse.de>
4751
4752 * po/fr.po: Update from translation team.
4753
71220aca
AJ
4754 * po/sv.po: Update from translation team
4755 * po/fr.po: Another update from translation team.
4756
28cfe843
AZ
47572012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4758
4759 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4760 for subnormals or multiply small sinh result by itself.
4761 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4763
6b90f981
DM
47642012-07-11 David S. Miller <davem@davemloft.net>
4765
4766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4767
c6825772
AS
47682012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4769
4770 [BZ #14347]
4771 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4772 (INTERNAL_MARK): Shift it here.
4773
7b8e0d49
MP
47742012-07-10 Marek Polacek <polacek@redhat.com>
4775
4776 [BZ #14151]
4777 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4778 libc_cv_asm_global_directive with .globl.
4779 * configure: Regenerated.
4780 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4781 with .globl.
4782 * sysdeps/i386/configure: Regenerated.
4783 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4784 with .globl.
4785 * sysdeps/x86_64/configure: Regenerated.
4786 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4787 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4788 * elf/tst-unique2mod2.c: Likewise.
4789 * elf/tst-unique2mod1.c: Likewise.
4790 * elf/tst-unique1mod2.c: Likewise.
4791 * elf/tst-unique1mod1.c: Likewise.
4792 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4793 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4794 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4795 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4796 * sysdeps/mach/sysdep.h: Likewise.
4797 * sysdeps/i386/sysdep.h: Likewise.
4798 * sysdeps/i386/i386-mcount.S: Likewise.
4799 * sysdeps/x86_64/_mcount.S: Likewise.
4800 * sysdeps/x86_64/sysdep.h: Likewise.
4801 * sysdeps/sh/_mcount.S: Likewise.
4802 * sysdeps/sh/sysdep.h: Likewise.
4803 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4804 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4805 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4806 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4807 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4808 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4809 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4810 * locale/localeinfo.h: Likewise.
4811 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4812 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4813
6c55cda3
RM
48142012-07-09 Roland McGrath <roland@hack.frob.com>
4815
4816 [BZ #14336]
4817 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4818 system".
4819 * manual/message.texi (The Uniforum approach): Likewise.
4820 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4821 (glibc iconv Implementation): Likewise.
4822
638a572e
JM
48232012-07-09 Joseph Myers <joseph@codesourcery.com>
4824
4825 [BZ #14337]
4826 * math/s_clog.c (__clog): Avoid scaling a value down where that
4827 could result in underflow.
4828 * math/s_clog10.c (__clog10): Likewise.
4829 * math/s_clog10f.c (__clog10f): Likewise.
4830 * math/s_clog10l.c (__clog10l): Likewise.
4831 * math/s_clogf.c (__clogf): Likewise.
4832 * math/s_clogl.c (__clogl): Likewise.
4833 * math/libm-test.inc (clog_test): Add more tests.
4834 (clog10_test): Likewise.
4835 * sysdeps/i386/fpu/libm-test-ulps: Update.
4836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4837
261f4859
AS
48382012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4839
0abaf3e4
AS
4840 [BZ #14283]
4841 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4842 by 7 not 8 to examine high bit of fractional part.
4843
261f4859
AS
4844 [BZ #14042]
4845 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4846 for call to __mcount_internal.
4847 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4848 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4849 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4850
f17ac40d
JM
48512012-07-06 Joseph Myers <joseph@codesourcery.com>
4852
9ad63c23
JM
4853 [BZ #14154]
4854 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4855 approximation for values within 0x1p-13f of an odd multiple of
4856 pi/4.
4857 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4858 exception. Add more tests.
4859 * sysdeps/i386/fpu/libm-test-ulps: Update.
4860
f17ac40d
JM
4861 [BZ #6778]
4862 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4863 inputs and return -1 for them. Do not check for +Inf in case not
4864 reachable for +Inf.
4865 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4866 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4867 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4868 and return -1 for them. Do not check for +Inf in case not
4869 reachable for +Inf.
4870 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4871 define.
4872 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4873 and return -1 for them. Do not check for +Inf in case not
4874 reachable for +Inf.
4875 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4876 spurious underflow.
4877 * sysdeps/i386/fpu/libm-test-ulps: Update.
4878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4879
fb21f89b
MF
48802012-07-06 Mike Frysinger <vapier@gentoo.org>
4881
4882 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4883
cdfe2c5e
JM
48842012-07-05 Joseph Myers <joseph@codesourcery.com>
4885
4886 [BZ #14157]
4887 [BZ #14331]
4888 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4889 could result in spurious underflow. Scale down values above
4890 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4891 * math/s_csqrtf.c (__csqrtf): Likewise.
4892 * math/s_csqrtl.c (__csqrtl): Likewise.
4893 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4894 spurious underflow.
4895 * sysdeps/i386/fpu/libm-test-ulps: Update.
4896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4897
70d35b67
AS
48982012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4899
704bc459
AS
4900 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4901 xopen-msg.sed.
4902 * catgets/xopen-msg.awk: New file.
4903 * catgets/xopen-msg.sed: Removed.
4904
70d35b67
AS
4905 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4906 po2text.sed.
4907 * intl/po2test.awk: New file.
4908 * intl/po2test.sed: Removed.
4909
ca61cf32
JM
49102012-07-04 Joseph Myers <joseph@codesourcery.com>
4911
4912 [BZ #14328]
4913 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4914 or multiply small sinh result by itself.
4915 * math/s_ctanf.c (__ctanf): Likewise.
4916 * math/s_ctanh.c (__ctanh): Likewise.
4917 * math/s_ctanhf.c (__ctanhf): Likewise.
4918 * math/s_ctanhl.c (__ctanhl): Likewise.
4919 * math/s_ctanl.c (__ctanl): Likewise.
4920 * math/libm-test.inc (ctan_test_tonearest): New function.
4921 (ctan_test_towardzero): Likewise.
4922 (ctan_test_downward): Likewise.
4923 (ctan_test_upward): Likewise.
4924 (ctanh_test_tonearest): Likewise.
4925 (ctanh_test_towardzero): Likewise.
4926 (ctanh_test_downward): Likewise.
4927 (ctanh_test_upward): Likewise.
4928 (main): Call these new functions.
4929 * sysdeps/i386/fpu/libm-test-ulps: Update.
4930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4931
ca48a46a
MF
49322012-07-03 Mike Frysinger <vapier@gentoo.org>
4933
4934 * .gitignore: Delete /ports entry.
4935
9d63d37d
AJ
49362012-07-03 Andreas Jaeger <aj@suse.de>
4937
4938 * po/bg.po: Update from translation team.
4939 * po/cs.po: Likewise.
4940 * po/de.po: Likewise.
4941 * po/hr.po: Likewise.
4942 * po/nl.pl: Likewise.
4943 * po/pl.po: Likewise.
4944 * po/vi.po: Likewise.
4945
370ca3d2
JM
49462012-07-03 Joseph Myers <joseph@codesourcery.com>
4947
95f5a9a8
JM
4948 * Makeconfig [!+link] (+link-before-libc): New variable.
4949 [!+link] (+link-after-libc): Likewise.
4950 [!+link] (+link-tests): Likewise.
4951 [!+link] (+link): Define in terms of $(+link-before-libc) and
4952 $(+link-after-libc).
4953 [!+link-static] (+link-static-before-libc): New variable.
4954 [!+link-static] (+link-static-after-libc): Likewise.
4955 [!+link-static] (+link-static-tests): Likewise.
4956 [!+link-static] (+link-static): Define in terms of
4957 $(+link-static-before-libc) and $(+link-static-after-libc).
4958 [build-shared] (link-libc-before-gnulib): New variable.
4959 [build-shared] (link-libc-tests): Likewise.
4960 [build-shared] (link-libc): Define in terms of
4961 $(link-libc-before-gnulib).
4962 [!build-shared] (link-libc-tests): New variable.
4963 (link-libc-static-tests): New variable.
4964 [!gnulib] (gnulib-arch): New variable.
4965 [!gnulib] (gnulib-tests): Likewise.
4966 [!gnulib] (static-gnulib-arch): Likewise.
4967 [!gnulib] (static-gnulib-tests): Likewise.
4968 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4969 Define with "=" instead of ":=".
4970 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4971 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4972 * Rules (binaries-all-notests): New variable.
4973 (binaries-all-tests): Likewise.
4974 (binaries-static-notests): Likewise.
4975 (binaries-static-tests): Likewise.
4976 (binaries-all): Define using $(binaries-all-notests) and
4977 $(binaries-all-tests).
4978 (binaries-static): Define using $(binaries-static-notests) and
4979 $(binaries-static-tests).
4980 (binaries-shared-tests): New variable.
4981 (binaries-shared-notests): Likewise.
4982 (binaries-shared): Remove variable.
4983 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4984 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4985 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4986 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4987 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4988 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4989 * elf/Makefile (sln-modules): New variable.
4990 (extra-objs): Add $(sln-modules:=.o).
4991 (ldconfig-modules): Add static-stubs.
4992 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4993 * elf/static-stubs.c: New file.
4994
7a845b2c
JM
4995 [BZ #14283]
4996 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4997 by 7 not 8 to examine high bit of fractional part. Use volatile
4998 variables when splitting into final array of floats if
4999 __FLT_EVAL_METHOD__ != 0.
5000 * math/libm-test.inc (cos_test): Add another test.
5001 (sin_test): Likewise.
5002 * sysdeps/i386/fpu/libm-test-ulps: Update.
5003
e2283f38
JM
5004 [BZ #14273]
5005 * math/libm-test.inc (cosh_test): Add more tests.
5006
370ca3d2
JM
5007 * version.h (RELEASE): Set to "development".
5008 (VERSION): Set to "2.16.90".
5009
ee9247c3
CD
50102012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5011
5012 * NEWS: Update copyright. Remove last-updated date.
5013 Mention math library bug fixes and timezone data changes.
5014 * README: Mention GNU/Hurd, x32, and HPPA support status.
5015
4648c381
TS
50162012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5017
5018 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5019
aac78a43
AJ
50202012-06-27 Andreas Jaeger <aj@suse.de>
5021
5022 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5023
ed3dbfad
AJ
50242012-06-25 Andreas Jaeger <aj@suse.de>
5025
5026 * sysdeps/s390/fpu/libm-test-ulps: Update.
5027
4d0ee855
AS
50282012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5029 Thomas Schwinge <thomas@codesourcery.com>
5030
5031 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5032 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5033 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5034 fanotify_mark.
5035
af1bce34
TS
50362012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5037
a9fa33ba
TS
5038 * sysdeps/mach/start.c: Remove file.
5039 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5040 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5041 * sysdeps/sh/init-first.c: Likewise.
5042
58f902b8
TS
5043 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5044 registers for frame unwinding purposes, add CFI directives.
5045 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5046 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5047 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5048 Likewise.
5049
1518f58b
TS
5050 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5051 __fortify_fail returning.
5052 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5053
db9b5059
TS
5054 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5055 sysdeps/sh/____longjmp_chk.S.
5056 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5057 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5058 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5059 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5060
967705fe
TS
5061 * sysdeps/sh/abort-instr.h: New file.
5062 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5063 process in case exit returns.
5064
a9def8c4
TS
5065 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5066 initialize the GOT register before use.
5067
2a649725
TS
5068 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5069 calculation of ARGC > 4.
5070
af1bce34
TS
5071 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5072 meaningful names to some local labels.
5073
d230f50a
KK
50742012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5075 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5076
5077 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5078 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5079 (__arch_compare_and_exchange_val_16_acq): Likewise.
5080 (__arch_compare_and_exchange_val_32_acq): Likewise.
5081 (atomic_exchange_and_add): Fix gUSA sequence.
5082 (atomic_add): Likewise.
5083 (atomic_add_negative): Likewise.
5084 (atomic_add_zero): Likewise.
5085 (atomic_bit_test_set): Likewise.
5086
0479b305
AS
50872012-06-22 Andreas Schwab <schwab@redhat.com>
5088
5089 [BZ #13579]
5090 * include/link.h (struct link_map): Add l_free_initfini.
5091 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5092 l_initfini.
5093 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5094 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5095 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5096 set.
5097
0e3933b9
CD
50982012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5099
5100 * configure.in: Use AC_LANG_SOURCE.
5101 * configure: Regenerate.
5102
4248b1b1
RM
51032012-06-22 Roland McGrath <roland@hack.frob.com>
5104
5105 * configure.in (libc_cv_localstatedir): New substituted variable.
5106 * configure: Regenerated.
5107 * config.make.in (localstatedir): New variable, substituted from
5108 libc_cv_localstatedir.
5109 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5110 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5111 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5112 * sysdeps/gnu/configure: Regenerated.
5113
006dd861
JL
51142012-06-21 Jeff Law <law@redhat.com>
5115
5116 [BZ #14277]
5117 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5118 free. Simplify list management for _LIBC case.
5119
79662d42
JM
51202012-06-21 Joseph Myers <joseph@codesourcery.com>
5121
b7abb4bf
JM
5122 [BZ #14273]
5123 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5124 Clear sign bit of 64-bit integer value before comparing against
5125 overflow value.
5126
79662d42
JM
5127 * sysdeps/mach/configure: Regenerated.
5128
1f150908
L
51292012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5130
5131 [BZ #14278]
5132 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5133
28363bbf
JL
51342012-06-21 Jeff Law <law@redhat.com>
5135
5136 [BZ #13882]
5137 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5138 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 5139 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
5140 * elf/dl-open.c (dl_open_worker): Likewise.
5141
09615db4
CD
51422012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5143
5144 * scripts/list-sources.sh: Scan PORTS for translations.
5145 * po/libc.pot: Regenerated.
5146
2174c6dd
AJ
51472012-06-21 Andreas Jaeger <aj@suse.de>
5148
5149 [BZ #12194]
5150 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5151 warning.
5152 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5153 * bits/byteswap-16.h (__bswap_16): Likewise.
5154 * bits/byteswap.h (__bswap_constant_16): Likewise.
5155
3ee947b1
L
51562012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5157
5158 [BZ #14117]
a2f34833
L
5159 * sysdeps/i386/fpu_control.h: Removed.
5160 * sysdeps/x86_64/fpu_control.h: Moved to ...
5161 * sysdeps/x86/fpu_control.h: Here.
5162
3ee947b1
L
5163 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5164 (_FPU_SETCW): Likewise.
5165
ed1825f8
L
51662012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5167
25f1282a
L
5168 [BZ #14117]
5169 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5170 * sysdeps/x86/fpu/bits/mathinline.h: This.
5171 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5172
ed1825f8
L
5173 [BZ #14050]
5174 [BZ #14117]
5175 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5176 functions if __x86_64__ is defined.
5177
36d54b74
CLT
51782012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5179
5180 * string/endian.h: Add !__ASSEMBLER__ condition for including
5181 conversion interfaces.
5182
10285c21
JM
51832012-06-15 Joseph Myers <joseph@codesourcery.com>
5184
5185 [BZ #14241]
5186 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5187 of ABS(x) in calculating zero to negative powers other than odd
5188 integers.
5189 * math/libm-test.inc (pow_test): Add more tests.
5190
06c5abbd
AJ
51912012-06-15 Andreas Jaeger <aj@suse.de>
5192
5193 * manual/contrib.texi (Contributors): Update entry of Liubov
5194 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5195 Machado Filho.
5196
a3aeac40
CH
51972012-06-15 Cyril Hrubis <metan@ucw.cz>
5198
5199 * string/string.h: Add __wur to GNU version of strerror_r.
5200
49bdf4c1
L
52012012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5202
5203 [BZ #14229]
5204 * string/Makefile (tests): Add tst-strtok_r.
5205 * string/tst-strtok_r.c: New file.
5206 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5207 RAX_LP/RDX_LP on SAVE_PTR.
5208
834f9b8d
RM
52092012-06-14 Roland McGrath <roland@hack.frob.com>
5210
5211 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5212
75fa1921
JM
52132012-06-14 Joseph Myers <joseph@codesourcery.com>
5214
5215 * libm_test.inc (csqrt_test): Allow more spurious underflow
5216 exceptions.
5217 (j0_test): Likewise.
5218 (j1_test): Likewise.
5219 (y0_test): Likewise.
5220 (y1_test): Likewise.
5221
771766df
CD
52222012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5223
5224 * po/Makefile (libc.pot): Use UTF-8 charset.
5225
ceb9e56b
PP
52262012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5227
5228 [BZ #14210]
5229 Suppress sign-conversion warning from FD_SET.
5230 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5231 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5232 not unsigned long int.
5233 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5234
ddb28975
L
52352012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5236
5237 [BZ #14050]
5238 [BZ #14117]
5239 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5240 __extern_always_inline instead of __extern_inline.
5241 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5242 (__signbit): Likewise.
5243 (__signbitl): Support C++ namespace.
5244 (lrintf): New inline function.
5245 (lrint): Likewise.
5246 (llrintf): Likewise.
5247 (llrint): Likewise.
5248 (fmaxf): Likewise.
5249 (fmax): Likewise.
5250 (fminf): Likewise.
5251 (fmin): Likewise.
5252 (rint): Likewise.
5253 (rintf): Likewise.
5254 (ceil): Likewise.
5255 (ceilf): Likewise.
5256 (floor): Likewise.
5257 (floorf): Likewise.
5258 (nearbyint): Likewise.
5259 (nearbyintf): Likewise.
5260
d7b4fb26
TS
52612012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5262
5263 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5264 non-default versions.
5265
eb55f5c2
RM
52662012-06-11 Roland McGrath <roland@hack.frob.com>
5267
5268 [BZ #14218]
5269 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5270
366af02c
TS
52712012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5272
99ff6e5c
TS
5273 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5274 (FE_UPWARD, FE_DOWNWARD): Don't define.
5275 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5276 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5277
366af02c
TS
5278 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5279 reading it.
5280 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5281 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5282
793ea851
KK
52832012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5284
5285 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5286 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5287 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5288 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5289
a728a38f
L
52902012-06-06 H.J. Lu <hongjiu.lu@intel.com>
5291
5292 [BZ #14117]
c08010c7
L
5293 * sysdeps/i386/fpu/bits/fenv.h: Removed.
5294 * sysdeps/i386/fpu/Implies: New file.
5295 * sysdeps/x86_64/fpu/Implies: Likewise.
5296 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5297 * sysdeps/x86/fpu/bits/fenv.h: This.
5298
a728a38f
L
5299 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5300 __SSE_MATH__.
5301
6e230d11
SP
53022012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5303
5304 [BZ #14134]
5305 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5306 character 0xffff that matches the last element of the
5307 conversion table.
5308
1b671feb
AZ
53092012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5310
5311 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
5312 fmodl commit.
5313
6043738b
AZ
53142012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5315
5316 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
5317 values higher than 25.6283.
5318
34ae0b32
AZ
53192012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5320
5321 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
5322 subnormal exponent extraction and add some __builtin_expect.
5323 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
5324 Fix for subnormal mantissa calculation.
5325
1214ec8f
MF
53262012-06-04 Mike Frysinger <vapier@gentoo.org>
5327
5328 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
5329 cpu2 is -1 and errno is not ENOSYS.
5330
f3d1f93c
L
53312012-06-04 H.J. Lu <hongjiu.lu@intel.com>
5332
5333 [BZ #14117]
0e4a3cd7
L
5334 * sysdeps/i386/i486/bits/string.h: Renamed to ...
5335 * sysdeps/x86/bits/string.h: This.
5336 * sysdeps/x86_64/bits/string.h: Removed.
5337
6704c645
L
5338 * sysdeps/i386/i486/bits/string.h: Define inline functions only
5339 if not compiling for x86-64, but compiling for >= i486.
5340
48495318
L
5341 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
5342 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
5343
14adcbfc
L
5344 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
5345 New macro from Linux kernel 3.4.0.
5346 (FP_XSTATE_MAGIC2): Likewise.
5347 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5348 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
5349 (struct _fpx_sw_bytes): New struct.
5350 (struct _xsave_hdr): Likewise.
5351 (struct _ymmh_state): Likewise.
5352 (struct _xstate): Likewise.
5353
68e408ab
L
5354 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
5355 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
5356 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
5357 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
5358 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
5359 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
5360
f3d1f93c
L
5361 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
5362 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
5363 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
5364 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
5365 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
5366 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
5367
d9dc34cd
TMQMF
53682012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5369
5370 [BZ #13743]
5371 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
5372 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
5373 (sysdep_headers): Include sys/platform/ppc.h.
5374 * sysdeps/powerpc/test-gettimebase.c: Test for
5375 __ppc_get_timebase() to catch future ISA opcode/insn changes.
5376 * manual/Makefile (appendices): Include platform.texi.
5377 * manual/contrib.texi (Contributors): Update @node pointers.
5378 * manual/maint.texi (Maintenance): Likewise.
5379 (Platform): New node.
5380 * manual/platform.texi: New file. Document the new features.
5381
4af3879c
SP
53822012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5383 Jakub Jelinek <jakub@redhat.com>
5384
5385 [BZ #14188]
5386 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
5387 where __builtin_expect is unavailable.
5388
2fd6ff13
DM
53892012-06-03 David S. Miller <davem@davemloft.net>
5390
5391 * stdlib/longlong.h: Updated from GCC.
5392
173f7220
AS
53932012-06-02 Andreas Schwab <schwab@linux-m68k.org>
5394
5395 [BZ #14042]
5396 * sysdeps/powerpc/powerpc32/mcount.c: New file.
5397 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
5398 __mcount_internal.
5399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5400 (GLIBC_2.16): Likewise.
5401
f34a1c6f
L
54022012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5403
5404 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
5405
88a4576f
JM
54062012-06-01 Joseph Myers <joseph@codesourcery.com>
5407
ea32bcdd
JM
5408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5409 (default-abi): New variable.
5410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
5411 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
5412 variable.
5413 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
5414 Likewise.
5415 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
5416 Likewise.
5417 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
5418 Likewise.
5419
88a4576f
JM
5420 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
5421 definition. Document in comment.
5422
402fe938
DM
54232012-06-01 David S. Miller <davem@davemloft.net>
5424
5425 * stdlib/longlong.h: Updated from GCC.
5426
3553723f
L
54272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5428
5429 [BZ #14117]
3bd872c4
L
5430 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
5431 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
5432 sys/debugreg.h sys/io.h here.
5433 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
5434 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
5435 sys/io.h.
5436 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
5437 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
5438 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
5439 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
5440 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
5441 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
5442
3553723f
L
5443 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
5444 Define only if __x86_64__ is defined.
5445
4842e4fe
JM
54462012-06-01 Joseph Myers <joseph@codesourcery.com>
5447
c5bfe3d5
JM
5448 [BZ #14048]
5449 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
5450 Use int64_t for variable i.
5451 * math/libm-test.inc (fmod_test): Add more tests.
5452
4842e4fe
JM
5453 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
5454 z computation is not scheduled after fetestexcept.
5455 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
5456 Use math_force_eval instead of asm to ensure calculation scheduled
5457 before exception test.
5458 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
5459 Ensure a1 + u.d computation is not scheduled after fetestexcept.
5460
efb73488
AJ
54612012-06-01 Aurelien Jarno <aurelien@aurel32.net>
5462
5463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
5464 computation is not scheduled after fetestexcept.
5465
29bcce7c
L
54662012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5467
5468 [BZ #14117]
5469 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
5470 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
5471
73a68f94
AZ
54722012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5473
5474 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
5475 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5476
67b6df78
L
54772012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5478
edf2933a 5479 [BZ #14117]
ebc64a18
L
5480 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
5481 <bits/wordsize.h>.
5482 (__WCHAR_MIN): Support __WORDSIZE == 64.
5483 (__WCHAR_MAX): Likewise.
5484
edf2933a
L
5485 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
5486 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
5487
57c6cf40
L
5488 [BZ #14183]
5489 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
5490 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
5491
67b6df78 5492 [BZ #14117]
8eb6281e
L
5493 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
5494 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
5495
aac639f4
L
5496 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
5497 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
5498
67b6df78
L
5499 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
5500 Defined to 1 if __x86_64__ isn't defined.
5501 (_STAT_VER_LINUX_OLD): New.
5502 (st_atime): Remove duplicate.
5503 (st_mtime): Likewise.
5504 (st_ctime): Likewise.
5505
1c2cfe81
DM
55062012-05-31 David S. Miller <davem@davemloft.net>
5507
5508 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
5509 entries.
5510
5be8418c
AS
55112012-06-01 Andreas Schwab <schwab@linux-m68k.org>
5512
e7725326
AS
5513 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
5514 gen-libm-test.pl.
5515
5be8418c
AS
5516 [BZ #14132]
5517 * elf/dl-reloc.c: Include <_itoa.h>.
5518 (_dl_reloc_bad_type): Remove use of INTUSE.
5519 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
5520 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
5521 * stdio-common/psiginfo.c (psiginfo): Likewise.
5522 * stdio-common/psignal.c (psignal): Likewise.
5523 * string/strsignal.c (strsignal): Likewise.
5524 * include/signal.h (_sys_siglist): Declare hidden proto.
5525 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
5526 INTVARDEF with libc_hidden_data_def.
5527 * stdio-common/itoa-udigits.c: Likewise.
5528 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
5529 (_itoa_lower_digits_internal): Remove declaration.
5530 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
5531 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
5532 (_sys_sigabbrev_internal): Remove aliases.
5533 (_sys_siglist): Define hidden alias.
5534
507352f1
MT
55352012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
5536
5537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5538 bits/sysctl.h.
5539
42bbb1c3
L
55402012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5541
5542 [BZ #14117]
6bd784b6
L
5543 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
5544 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
5545
8bca20f0
L
5546 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
5547 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
5548 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
5549 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
5550 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
5551 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
5552
f9e890a9
L
5553 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
5554 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
5555 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
5556
471101a1
L
5557 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
5558 with __addr.
5559 (insw): Likewise.
5560 (insl): Likewise.
5561 (outsb): Likewise.
5562 (outsw): Likewise.
5563 (outsl): Likewise.
5564
6451c862
L
5565 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
5566 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
5567 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
5568
a254b8c9
L
5569 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
5570 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
5571 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
5572 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
5573 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
5574 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
5575
b8dfdd92
L
5576 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
5577 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
5578
578cd270
L
5579 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
5580 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
5581
de662f5f
L
5582 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
5583 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
5584 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
5585
25653439
L
5586 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
5587 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
5588 to ...
5589 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
5590
6bad24a0
L
5591 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
5592 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
5593 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
5594
42bbb1c3
L
5595 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
5596 for x86-64.
5597 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
5598
2d10d547
JM
55992012-05-31 Joseph Myers <joseph@codesourcery.com>
5600
5601 * math/math.h (M_El): Use two more decimal places.
5602 (M_LOG2El): Likewise.
5603 (M_LOG10El): Likewise.
5604 (M_LN2l): Likewise.
5605 (M_LN10l): Likewise.
5606 (M_PIl): Likewise.
5607 (M_PI_2l): Likewise.
5608 (M_PI_4l): Likewise.
5609 (M_1_PIl): Likewise.
5610 (M_2_PIl): Likewise.
5611 (M_2_SQRTPIl): Likewise.
5612 (M_SQRT2l): Likewise.
5613 (M_SQRT1_2l): Likewise.
5614
f230c29b
DM
56152012-05-31 David S. Miller <davem@davemloft.net>
5616
5617 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
5618 values between float registers.
5619 * sysdeps/sparc/sparc64/memset.S: Likewise.
5620 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5621
fed806c3
MF
56222012-05-31 Mike Frysinger <vapier@gentoo.org>
5623
5624 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
5625 -D_FORTIFY_SOURCE=1.
5626 (CPPFLAGS-tst-longjmp_chk.c): Define.
5627 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
5628 (CPPFLAGS-tst-longjmp_chk2.c): Define.
5629 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
5630 CFLAGS-tst-wchar-h.c.
5631
30917259
MP
56322012-05-31 Marek Polacek <polacek@redhat.com>
5633
5634 [BZ #14132]
5635 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
5636 __endmntent_internal): Remove declaration.
5637 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
5638 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
5639 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
5640
1c58d5dc
DM
56412012-05-30 David S. Miller <davem@davemloft.net>
5642
5643 * sysdeps/sparc/sparc32/soft-fp/q_util.c
5644 (___Q_simulate_exceptions): Use real FP ops rather than writing
5645 into the %fsr.
5646 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
5647 Likewise.
5648
7dc00e0d
L
56492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5650
5651 [BZ #14117]
0bd53985
L
5652 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
5653 * sysdeps/x86/bits/xtitypes.h: This.
5654
3a257e66
L
5655 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
5656 * sysdeps/x86/bits/wordsize.h: This.
5657
62f62904
L
5658 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
5659 * sysdeps/x86/bits/huge_vall.h: This.
5660
404fe9d9
L
5661 * sysdeps/i386/bits/select.h: Removed.
5662 * sysdeps/x86_64/bits/select.h: Renamed to ...
5663 * sysdeps/x86/bits/select.h: This.
5664
d48d0446
L
5665 * sysdeps/i386/bits/setjmp.h: Removed.
5666 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
5667 * sysdeps/x86/bits/setjmp.h: This.
5668
7dc00e0d
L
5669 * sysdeps/i386/bits/mathdef.h: Removed.
5670 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
5671 * sysdeps/x86/bits/mathdef.h: This.
5672
03277f8f
AS
56732012-05-30 Andreas Schwab <schwab@linux-m68k.org>
5674
5675 [BZ #14132]
5676 * include/sys/socket.h (__connect_internal)
5677 (__libc_sa_len_internal): Remove declaration.
5678 (__connect, __libc_sa_len): Declare hidden_proto.
5679 (SA_LEN): Remove use of INTUSE.
5680 * socket/connect.c: Add libc_hidden_def.
5681 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5682 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5683 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5684 alias.
5685 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5686 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5687 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5688 of adding _internal alias.
5689
13764867
L
56902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5691
5692 [BZ #14117]
6bd97696
L
5693 * sysdeps/i386/bits/link.h: Removed.
5694 * sysdeps/i386/bits/linkmap.h: Likewise.
5695 * sysdeps/x86_64/bits/link.h: Renamed to ...
5696 * sysdeps/x86/bits/link.h: This.
5697 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5698 * sysdeps/x86/bits/linkmap.h: This.
5699
f726f0bb
L
5700 * sysdeps/i386/bits/endian.h: Removed.
5701 * sysdeps/x86_64/bits/endian.h: Renamed to ...
5702 * sysdeps/x86/bits/endian.h: This.
5703
13764867
L
5704 * sysdeps/i386/bits/byteswap.h: Removed.
5705 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5706 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5707 * sysdeps/x86/bits/byteswap.h: This.
5708 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5709 * sysdeps/x86/bits/byteswap-16.h: This.
5710 * sysdeps/i386/Implies: Add x86.
5711 * sysdeps/x86_64/Implies: Likewise.
5712
ae251b0b
DM
57132012-05-30 David S. Miller <davem@davemloft.net>
5714
5715 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5716 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5717 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5718 (FP_TRAPPING_EXCEPTIONS): Define.
5719 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5720 (FP_TRAPPING_EXCEPTIONS): Define.
5721 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5722 subnormals only when inexact has been signalled or underflow
5723 exceptions are enabled.
5724 (_FP_PACK_CANONICAL): Likewise.
5725
d5c90867
L
57262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5727
5728 [BZ #14183]
5729 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5730 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5731
63f1549e
RH
57322012-05-30 Richard Henderson <rth@twiddle.net>
5733
8d8f2279
RH
5734 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5735 with #ifndef NOT_IN_libc.
5736
63f1549e
RH
5737 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5738 marked to avoid plt entry.
5739
0ab0291b
L
57402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5741
5742 [BZ #14112]
5743 * Makeconfig (default-abi): New macro.
5744 (abi-includes): Likewise.
5745 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5746 $(abi-$(default-abi)-lib-soname) for soname if defined.
5747 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5748 abi-variants.
5749 * Makefile (installed-stubs): Likewise.
5750 * include/stubs-biarch.h: Removed.
5751 * scripts/lib-names.awk: Only handle one library at a time.
5752 * scripts/soversions.awk: Remove WORDSIZE support.
5753 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5754 entries.
5755 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5756 Removed.
5757 (syscall-list-default-condition): Likewise.
5758 (syscall-list-default-condition): Likewise.
5759 (syscall-list-includes): Likewise.
5760 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5761 syscall-list-* with abi-*. Handle undefined abi-variants.
5762 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5763 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5764 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5765 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5766 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5767 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5768 Removed.
5769 (syscall-list-32-options): Likewise.
5770 (syscall-list-32-condition): Likewise.
5771 (syscall-list-64-options): Likewise.
5772 (syscall-list-64-condition): Likewise.
5773 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5774 macro.
5775 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5776 Renamed to ...
5777 (abi-*): This.
5778 (abi-64-ld-soname): New macro.
5779 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5780 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5781 Renamed to ...
5782 (abi-*): This.
5783 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5784 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5785
4da0431d
JM
57862012-05-30 Joseph Myers <joseph@codesourcery.com>
5787
3a85279c
JM
5788 * sysdeps/unix/sysv/linux/kernel-features.h
5789 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5790 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5791 include <kernel-features.h>.
5792 [!__NR_ftruncate64]: Remove conditional code.
5793 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5794 [__NR_ftruncate64]: Make code unconditional.
5795 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5796 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5797 include <kernel-features.h>.
5798 [!__NR_ftruncate64]: Remove conditional code.
5799 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5800 [__NR_ftruncate64]: Make code unconditional.
5801 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5803 include <kernel-features.h>.
5804 [!__NR_ftruncate64]: Remove conditional code.
5805 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5806 [__NR_ftruncate64]: Make code unconditional.
5807 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5809 include <kernel-features.h>.
5810 [!__NR_ftruncate64]: Remove conditional code.
5811 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5812 [__NR_ftruncate64]: Make code unconditional.
5813 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5814
4da0431d
JM
5815 * configure.in (libc_cv_fpie): Weaken to a compile test using
5816 LIBC_TRY_CC_OPTION.
5817 * configure: Regenerated.
5818
11ef492c
AK
58192012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5820
5821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5825 Refreshed.
5826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5832 Refreshed.
5833
d66ef399
DM
58342012-05-27 David S. Miller <davem@davemloft.net>
5835
5836 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5837 (___Q_zero): New.
5838 (__Q_simulate_exceptions): Return void. Change to simulate
5839 exceptions by writing into the %fsr.
5840 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5841 (__Qp_handle_exceptions): Likewise.
5842 (numbers): Delete.
5843 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5844 __Qp_handle_exceptions.
5845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5846 __Qp_handle_exceptions.
5847 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5848 as unused and give dummy FP_RND_NEAREST initializer.
5849 (FP_INHIBIT_RESULTS): Define.
5850 (___Q_simulate_exceptions): Update declaration.
5851 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5852 formatting.
5853 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5854 as unused and give dummy FP_RND_NEAREST initializer.
5855 (__Qp_handle_exceptions): Update declaration.
5856 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5857 formatting.
5858
04fb54b5
TS
58592012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5860
5861 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5862 the temporary FPU control word.
5863 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5864 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5865 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5866 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5867 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5868 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5869 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5870 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5871 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5872 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5873 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5874
3f99608f
KK
58752012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5876
5877 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5878 fields.
5879
65a4de4e
CLT
58802012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5881
5882 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5883 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5884 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5885 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5886 Likewise.
5887 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5888 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5889 Likewise.
5890
15749d40
UD
58912012-05-27 Ulrich Drepper <drepper@gmail.com>
5892
5893 * po/h.po: Update from translation team.
5894
25dbcb27
AS
58952012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5896
3d3f8e55
AS
5897 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5898
25dbcb27
AS
5899 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5900 handling of denormals.
5901 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5902 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5903 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5904 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5905 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5906 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5908 Likewise.
5909
7ad47a80 59102012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
5911
5912 [BZ #14152]
5913 * math/libm-test.inc (fma_test): Don't always expect underflow
5914 exception.
5915
9c6ea9fa
SP
59162012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5917
5918 [BZ #12416]
5919 * elf/tst-execstack.c: Include stackinfo.h.
5920 (do_test): Adjust test case to ensure that pthread_getattr_np
5921 behaviour remains the same after marking stack executable.
5922
a8239222
JM
59232012-05-25 Joseph Myers <joseph@codesourcery.com>
5924
5925 * sysdeps/unix/sysv/linux/kernel-features.h
5926 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5927 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5928 kernel-features.h.
5929 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5930 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5931 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5932 kernel-features.h.
5933 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5934 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5935
918b5606
L
59362012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5937
5938 * configure.in: Define the default includes to being none.
5939 * configure: Regenerated.
5940
3a097cc7
RM
59412012-05-25 Roland McGrath <roland@hack.frob.com>
5942
8422c9a5
RM
5943 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5944 * sysdeps/x86_64/setjmp.S: Likewise.
5945 * sysdeps/i386/bsd-setjmp.S: Likewise.
5946 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5947 * sysdeps/i386/setjmp.S: Likewise.
5948 * sysdeps/i386/__longjmp.S: Likewise.
5949 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5950 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5951
3a097cc7
RM
5952 * include/stap-probe.h: New file.
5953 * configure.in: Handle --enable-systemtap.
5954 * configure: Regenerated.
5955 * config.h.in (USE_STAP_PROBE): New #undef.
5956 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5957 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5958 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5959
21708942
JM
59602012-05-25 Joseph Myers <joseph@codesourcery.com>
5961
5962 [BZ #13717]
5963 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5964 to 2.4.0 where earlier.
5965 * sysdeps/unix/sysv/linux/configure: Regenerated.
5966 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5967 <kernel-features.h>.
5968 [__ASSUME_32BITUIDS]: Make code unconditional.
5969 [!__ASSUME_32BITUIDS]: Remove conditional code.
5970 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5971 <kernel-features.h>.
5972 [__ASSUME_32BITUIDS]: Make code unconditional.
5973 [!__ASSUME_32BITUIDS]: Remove conditional code.
5974 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5975 [__ASSUME_32BITUIDS]: Make code unconditional.
5976 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5977 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5978 <kernel-features.h>.
5979 [__ASSUME_32BITUIDS]: Make code unconditional.
5980 [!__ASSUME_32BITUIDS]: Remove conditional code.
5981 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5982 <kernel-features.h>.
5983 [__ASSUME_32BITUIDS]: Make code unconditional.
5984 [!__ASSUME_32BITUIDS]: Remove conditional code.
5985 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5986 <kernel-features.h>.
5987 [__ASSUME_32BITUIDS]: Make code unconditional.
5988 [!__ASSUME_32BITUIDS]: Remove conditional code.
5989 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5990 <kernel-features.h>.
5991 [__ASSUME_32BITUIDS]: Make code unconditional.
5992 [!__ASSUME_32BITUIDS]: Remove conditional code.
5993 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5994 <kernel-features.h>.
5995 [__ASSUME_32BITUIDS]: Make code unconditional.
5996 [!__ASSUME_32BITUIDS]: Remove conditional code.
5997 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5998 <kernel-features.h>.
5999 [__ASSUME_32BITUIDS]: Make code unconditional.
6000 [!__ASSUME_32BITUIDS]: Remove conditional code.
6001 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6002 <kernel-features.h>.
6003 [__ASSUME_32BITUIDS]: Make code unconditional.
6004 [!__ASSUME_32BITUIDS]: Remove conditional code.
6005 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6006 <kernel-features.h>.
6007 [__ASSUME_32BITUIDS]: Make code unconditional.
6008 [!__ASSUME_32BITUIDS]: Remove conditional code.
6009 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6010 <kernel-features.h>.
6011 [__ASSUME_32BITUIDS]: Make code unconditional.
6012 [!__ASSUME_32BITUIDS]: Remove conditional code.
6013 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6014 <kernel-features.h>.
6015 [__ASSUME_32BITUIDS]: Make code unconditional.
6016 [!__ASSUME_32BITUIDS]: Remove conditional code.
6017 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6018 <kernel-features.h>.
6019 [__NR_setresgid] (__setresgid): Do not declare.
6020 [__ASSUME_32BITUIDS]: Make code unconditional.
6021 [!__ASSUME_32BITUIDS]: Remove conditional code.
6022 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6023 <kernel-features.h>.
6024 [__NR_setresuid] (__setresuid): Do not declare.
6025 [__ASSUME_32BITUIDS]: Make code unconditional.
6026 [!__ASSUME_32BITUIDS]: Remove conditional code.
6027 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.c: Do not include
6044 <kernel-features.h>.
6045 [__ASSUME_32BITUIDS]: Make code unconditional.
6046 [!__ASSUME_32BITUIDS]: Remove conditional code.
6047 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6048 <kernel-features.h>.
6049 [__ASSUME_32BITUIDS]: Make code unconditional.
6050 [!__ASSUME_32BITUIDS]: Remove conditional code.
6051 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6052 <kernel-features.h>.
6053 [__ASSUME_32BITUIDS]: Make code unconditional.
6054 [!__ASSUME_32BITUIDS]: Remove conditional code.
6055 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6056 <kernel-features.h>.
6057 [__ASSUME_32BITUIDS]: Make code unconditional.
6058 [!__ASSUME_32BITUIDS]: Remove conditional code.
6059 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6060 <kernel-features.h>.
6061 [__ASSUME_32BITUIDS]: Make code unconditional.
6062 [!__ASSUME_32BITUIDS]: Remove conditional code.
6063 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6064 <kernel-features.h>.
6065 [__ASSUME_32BITUIDS]: Make code unconditional.
6066 [!__ASSUME_32BITUIDS]: Remove conditional code.
6067 * sysdeps/unix/sysv/linux/kernel-features.h
6068 (__ASSUME_SETRESUID_SYSCALL): Remove.
6069 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6070 (__ASSUME_32BITUIDS): Likewise.
6071 (__ASSUME_LDT_WORKS): Likewise.
6072 (__ASSUME_O_DIRECTORY): Likewise.
6073 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6074 architecture but not kernel version.
6075 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6076 (__ASSUME_MMAP2_SYSCALL): Likewise.
6077 (__ASSUME_STAT64_SYSCALL): Likewise.
6078 (__ASSUME_IPC64): Likewise.
6079 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6080 <kernel-features.h>.
6081 [__ASSUME_32BITUIDS]: Make code unconditional.
6082 [!__ASSUME_32BITUIDS]: Remove conditional code.
6083 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6084 <kernel-features.h>.
6085 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6086 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6087 132096]: Remove conditional code.
6088 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6089 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
6094 <kernel-features.h>.
6095 [__ASSUME_32BITUIDS]: Make code unconditional.
6096 [!__ASSUME_32BITUIDS]: Remove conditional code.
6097 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6098 <kernel-features.h>.
6099 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6100 unconditional.
6101 (__setresgid): Do not declare.
6102 [__ASSUME_32BITUIDS]: Make code unconditional.
6103 [!__ASSUME_32BITUIDS]: Remove conditional code.
6104 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6105 <kernel-features.h>.
6106 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6107 unconditional.
6108 (__setresuid): Do not declare.
6109 [__ASSUME_32BITUIDS]: Make code unconditional.
6110 [!__ASSUME_32BITUIDS]: Remove conditional code.
6111 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6112 <kernel-features.h>.
6113 [__ASSUME_32BITUIDS]: Make code unconditional.
6114 [!__ASSUME_32BITUIDS]: Remove conditional code.
6115 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6116 <kernel-features.h>.
6117 [__ASSUME_32BITUIDS]: Make code unconditional.
6118 [!__ASSUME_32BITUIDS]: Remove conditional code.
6119
a386f1cc
RH
61202012-05-25 Richard Henderson <rth@twiddle.net>
6121
6122 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6123 dl_hwcap to ifunc resolver.
6124 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6125 elf_ifunc_invoke.
6126 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6127 dl_hwcap to ifunc resolver.
6128 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6129
b6550497
JM
61302012-05-24 Joseph Myers <joseph@codesourcery.com>
6131
6132 [BZ #14153]
6133 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6134 for |x| <= 2**-26, not 2**-57.
6135 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6136 exception.
6137
b0bc23a1
JL
61382012-05-24 Jeff Law <law@redhat.com>
6139
6140 * stdio-common/Makefile (tests): Add bug25.
6141 * stdio-common/bug25.c: New test.
6142
347c92e9
L
61432012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6144
6145 [BZ #13576]
6146 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6147 multiple of MALLOC_ALIGNMENT in size.
6148 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6149
6bcc8b3f
JM
61502012-05-24 Joseph Myers <joseph@codesourcery.com>
6151
6152 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6153 Require >= 256.
6154 (FILENAME_MAX): Use macro-int-constant.
6155 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6156 (_IOFBF): Use macro-int-constant.
6157 (_IOLBF): Likewise.
6158 (_IONBF): Likewise.
6159 (SEEK_CUR): Likewise.
6160 (SEEK_END): Likewise.
6161 (SEEK_SET): Likewise.
6162 (TMP_MAX): Likewise.
6163 (EOF): Use macro-int-constant. Require < 0.
6164 (NULL): Use macro-constant. Require == 0.
6165 (stdin): Require type to be FILE *.
6166 (stdout): Likewise.
6167 (stderr): Likewise.
6168 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6169 macro-int-constant.
6170 (EXIT_SUCCESS): Likewise.
6171 (NULL): Use macro-constant. Require == 0.
6172 (RAND_MAX): Use macro-int-constant.
6173 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6174 [C99-based standards] (strtof): Require function.
6175 [C99-based standards] (strtold): Likewise.
6176 [C99-based standards] (strtoll): Likewise.
6177 [C99-based standards] (strtoull): Likewise.
6178 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6179 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6180 [ISO || ISO99 || ISO11] (math.h): Likewise.
6181 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6182 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6183 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6184
d18ea0c5
AS
61852012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6186
6187 [BZ #14132]
56d25bb8
AS
6188 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6189 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6190 * intl/dgettext.c (DCGETTEXT): Likewise.
6191 * intl/gettext.c (DCGETTEXT): Likewise.
6192 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6193 * posix/regex_internal.h (gettext): Likewise.
6194 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6195 Remove declaration.
6196 * include/argz.h (__argz_count_internal)
6197 (__argz_stringify_internal): Remove declaration.
6198 (__argz_count, __argz_stringify): Declare hidden proto.
6199 * intl/dcgettext.c: Remove use of INTDEF.
6200 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6201 * string/argz-stringify.c: Likewise.
6202 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6203 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6204 Declare hidden proto.
d18ea0c5
AS
6205 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6206 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6207 Declare hidden proto.
6208 * include/stdio.h (__asprintf_internal): Don't declare.
6209 (__asprintf): Don't define as macro. Declare hidden proto.
6210 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6211 (__fsetlocking): Declare hidden proto.
6212 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6213 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6214 hidden proto.
6215 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6216 (_IO_setlinebuf): Remove use of INTUSE.
6217 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6218 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6219 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6220 Remove declaration.
6221 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6222 (_IO_do_flush): Remove use of INTUSE.
6223 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6224 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6225 (_IO_adjust_column, _IO_least_wmarker)
6226 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6227 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6228 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6229 (_IO_default_doallocate, _IO_wdefault_doallocate)
6230 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6231 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6232 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6233 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6234 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6235 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6236 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6237 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6238 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6239 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6240 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6241 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6242 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6243 proto.
6244 (_IO_flush_all_internal, _IO_adjust_column_internal)
6245 (_IO_default_uflow_internal, _IO_default_finish_internal)
6246 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6247 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6248 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6249 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6250 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6251 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6252 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6253 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6254 (_IO_file_close_internal, _IO_file_close_it_internal)
6255 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6256 (_IO_file_init_internal, _IO_file_attach_internal)
6257 (_IO_file_fopen_internal, _IO_file_read_internal)
6258 (_IO_file_sync_internal, _IO_file_seek_internal)
6259 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6260 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6261 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6262 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6263 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6264 (_IO_list_all_internal, _IO_link_in_internal)
6265 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6266 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6267 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6268 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6269 (_IO_do_write_internal, _IO_padn_internal)
6270 (_IO_getline_info_internal, _IO_getline_internal)
6271 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6272 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6273 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6274 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6275 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6276 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6277 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6278 with libc_hidden_ver, remove use of INTUSE.
6279 * libio/genops.c: Likewise.
6280 * libio/freopen.c: Likewise.
6281 * libio/freopen64.c: Likewise.
6282 * libio/iofclose.c: Likewise.
6283 * libio/iofdopen.c: Likewise.
6284 * libio/iofflush.c: Likewise.
6285 * libio/iofflush_u.c: Likewise.
6286 * libio/iofgets.c: Likewise.
6287 * libio/iofgets_u.c: Likewise.
6288 * libio/iofopen.c: Likewise.
6289 * libio/iofopncook.c: Likewise.
6290 * libio/iofread.c: Likewise.
6291 * libio/iofread_u.c: Likewise.
6292 * libio/ioftell.c: Likewise.
6293 * libio/iofwrite.c: Likewise.
6294 * libio/iogetline.c: Likewise.
6295 * libio/iogets.c: Likewise.
6296 * libio/iogetwline.c: Likewise.
6297 * libio/iopadn.c: Likewise.
6298 * libio/iopopen.c: Likewise.
6299 * libio/ioseekoff.c: Likewise.
6300 * libio/ioseekpos.c: Likewise.
6301 * libio/iosetbuffer.c: Likewise.
6302 * libio/iosetvbuf.c: Likewise.
6303 * libio/ioungetc.c: Likewise.
6304 * libio/ioungetwc.c: Likewise.
6305 * libio/iovdprintf.c: Likewise.
6306 * libio/iovsprintf.c: Likewise.
6307 * libio/iovsscanf.c: Likewise.
6308 * libio/memstream.c: Likewise.
6309 * libio/obprintf.c: Likewise.
6310 * libio/oldfileops.c: Likewise.
6311 * libio/oldiofclose.c: Likewise.
6312 * libio/oldiofdopen.c: Likewise.
6313 * libio/oldiofopen.c: Likewise.
6314 * libio/oldiopopen.c: Likewise.
6315 * libio/oldstdfiles.c: Likewise.
6316 * libio/putc.c: Likewise.
6317 * libio/setbuf.c: Likewise.
6318 * libio/setlinebuf.c: Likewise.
6319 * libio/stdfiles.c: Likewise.
6320 * libio/strops.c: Likewise.
6321 * libio/vasprintf.c: Likewise.
6322 * libio/vscanf.c: Likewise.
6323 * libio/vsnprintf.c: Likewise.
6324 * libio/vswprintf.c: Likewise.
6325 * libio/wfiledoalloc.c: Likewise.
6326 * libio/wfileops.c: Likewise.
6327 * libio/wgenops.c: Likewise.
6328 * libio/wmemstream.c: Likewise.
6329 * libio/wstrops.c: Likewise.
6330 * libio/__fpurge.c: Likewise.
6331 * libio/__fsetlocking.c: Likewise.
6332 * assert/assert.c: Likewise.
6333 * debug/fgets_chk.c: Likewise.
6334 * debug/fgets_u_chk.c: Likewise.
6335 * debug/fread_chk.c: Likewise.
6336 * debug/fread_u_chk.c: Likewise.
6337 * debug/gets_chk.c: Likewise.
6338 * debug/obprintf_chk.c: Likewise.
6339 * debug/vasprintf_chk.c: Likewise.
6340 * debug/vdprintf_chk.c: Likewise.
6341 * debug/vsnprintf_chk.c: Likewise.
6342 * debug/vsprintf_chk.c: Likewise.
6343 * malloc/mtrace.c: Likewise.
6344 * misc/error.c: Likewise.
6345 * misc/syslog.c: Likewise.
6346 * stdio-common/asprintf.c: Likewise.
6347 * stdio-common/fxprintf.c: Likewise.
6348 * stdio-common/getw.c: Likewise.
6349 * stdio-common/isoc99_fscanf.c: Likewise.
6350 * stdio-common/isoc99_scanf.c: Likewise.
6351 * stdio-common/isoc99_vfscanf.c: Likewise.
6352 * stdio-common/isoc99_vscanf.c: Likewise.
6353 * stdio-common/isoc99_vsscanf.c: Likewise.
6354 * stdio-common/printf-prs.c: Likewise.
6355 * stdio-common/printf_fp.c: Likewise.
6356 * stdio-common/printf_fphex.c: Likewise.
6357 * stdio-common/printf_size.c: Likewise.
6358 * stdio-common/putw.c: Likewise.
6359 * stdio-common/scanf.c: Likewise.
6360 * stdio-common/sprintf.c: Likewise.
6361 * stdio-common/tmpfile.c: Likewise.
6362 * stdio-common/vfprintf.c: Likewise.
6363 * stdio-common/vfscanf.c: Likewise.
6364 * stdlib/strfmon_l.c: Likewise.
6365 * sunrpc/openchild.c: Likewise.
6366 * sunrpc/xdr_stdio.c: Likewise.
6367 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6368 * sysdeps/mach/hurd/tmpfile.c: Likewise.
6369
d6c33fda
RM
63702012-05-24 Roland McGrath <roland@hack.frob.com>
6371
c1487492
RM
6372 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6373
6374 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
6375 in the third column, to generate for the shared library an IFUNC
6376 that uses _dl_vdso_vsym.
6377 * Makerules (COMPILE.c, compile-stdin.c): New variables.
6378 * Makeconfig (object-suffixes-noshared): New variable.
6379
6380 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
6381 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
6382 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
6383 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
6384
d6c33fda
RM
6385 [BZ #14132]
6386 * include/sys/time.h (__gettimeofday): Remove macro.
6387 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
6388 * time/gettimeofday.c (__gettimeofday): Remove #undef.
6389 Remove INTDEF.
6390 (__gettimeofday): Add libc_hidden_def.
6391 (gettimeofday): Add libc_hidden_weak.
6392 * sysdeps/mach/gettimeofday.c: Likewise.
6393 * sysdeps/posix/gettimeofday.c: Likewise.
6394 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6395 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6396 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
6397 (__gettimeofday_internal): Remove strong_alias.
6398 (__gettimeofday): Add libc_hidden_def.
6399 (gettimeofday): Add libc_hidden_weak.
6400 * sysdeps/unix/syscalls.list (gettimeofday):
6401 Remove __gettimeofday_internal alias.
6402
b5a2bbe6
L
64032012-05-24 Daniel Jacobowitz <drow@false.org>
6404 H.J. Lu <hongjiu.lu@intel.com>
6405
6406 [BZ #12495]
6407 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
6408 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
6409 (largebin_index_32_big): New.
6410 (largebin_index): Use it for 16-byte alignment.
6411 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
6412 correction with front_misalign.
6413
cfba4fda
L
64142012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6415
7f907421
L
6416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
6417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6418 Likewise.
6419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
6420 Likewise.
6421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6422 Likewise.
6423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
6424 Likewise.
6425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
6426 Likewise.
6427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
6428 Likewise.
6429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
6430 Likewise.
6431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6432 Likewise.
6433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
6434 Likewise.
6435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
6436 Likewise.
6437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6438 Likewise.
6439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
6440 Likewise.
6441
cfba4fda
L
6442 * scripts/data/c++-types-x32-linux-gnu.data: New file.
6443 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
6444
80bad0cc
JM
64452012-05-24 Joseph Myers <joseph@codesourcery.com>
6446
7a25eb06
JM
6447 [BZ #10846]
6448 [BZ #14036]
6449 * math/libm-test.inc (exp_test): Add test from bug 14036.
6450 (pow_test): Add test from bug 10846.
6451
795405f9
JM
6452 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
6453 and other flags.
6454 (special_function): Do not include flags in test name.
6455 (parse_args): Likewise.
6456 * sysdeps/i386/fpu/libm-test-ulps: Update.
6457 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6458 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6459 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6461
80bad0cc
JM
6462 * math/gen-libm-test.pl (%beautify): Add entries for underflow
6463 exceptions.
6464 * math/libm-test.inc ("Philosophy"): Update comment about
6465 exception testing.
6466 (UNDERFLOW_EXCEPTION): New macro.
6467 (UNDERFLOW_EXCEPTION_OK): Likewise.
6468 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6469 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6470 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6471 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6472 (INVALID_EXCEPTION_OK): Update value.
6473 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6474 (OVERFLOW_EXCEPTION_OK): Likewise.
6475 (IGNORE_ZERO_INF_SIGN): Likewise.
6476 (test_exceptions): Handle underflow exceptions.
6477 (acos_test): Update for underflow exception expectations.
6478 (cexp_test): Likewise.
6479 (clog_test): Likewise.
6480 (clog10_test): Likewise.
6481 (csqrt_test): Likewise.
6482 (ctan_test): Likewise.
6483 (ctanh_test): Likewise.
6484 (exp_test): Likewise.
6485 (exp10_test): Likewise.
6486 (exp2_test): Likewise.
6487 (expm1_test): Likewise.
6488 (fma_test): Likewise.
6489 (j0_test): Likewise.
6490 (jn_test): Likewise.
6491 (nexttoward_test): Likewise.
6492 (pow_test): Likewise.
6493 (scalbn_test): Likewise.
6494 (scalbln_test): Likewise.
6495 (tan_test): Likewise.
6496 (y1_test): Likewise.
6497 * sysdeps/i386/fpu/libm-test-ulps: Update.
6498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6499
9e0e3d0b
DM
65002012-05-23 David S. Miller <davem@davemloft.net>
6501
6502 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6503 (__libc_sigaction): Remove unused local variables.
6504
ccd0a08f
L
65052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6506
6507 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
6508
62bdf9a6
PE
65092012-05-23 Paul Eggert <eggert@cs.ucla.edu>
6510
f8591f80
PE
6511 mktime: avoid signed integer overflow
6512 * time/mktime.c (__mktime_internal): Do not mishandle the case
6513 where diff == INT_MIN.
6514
94c7d826
PE
6515 mktime: simplify computation of average
6516 * time/mktime.c (ranged_convert): Use new time_t_avg function
6517 instead of rolling our own (probably-slower) code.
6518
ce73d683
PE
6519 mktime: do not assume signed right shift propagates sign bit
6520 * time/mktime.c (isdst_differ): New static function.
6521 (__mktime_internal): No need to normalize tm_isdst now.
6522 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
6523 tm_isdst values.
6524
72a22e59
PE
6525 mktime: merge another wrapv change from gnulib
6526 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
6527 from some compilers.
6528
68605433
PE
6529 mktime: remove incorrect attempt at unusual arithmetics
6530 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
6531 The code didn't really work on such machines anyway.
6532 (TYPE_MINIMUM): Assume two's complement.
6533 (twos_complement_arithmetic): Verify that long_int and time_t
6534 are two's complement (or unsigned, in the latter case).
6535
03cf7fe3
PE
6536 mktime: check signed shifts on long_int and time_t, too
6537 * time/mktime.c (SHR): Check that shifts work as desired
6538 on the types long_int and time_t too, as SHR is used on
6539 such types.
6540
f04dfbc2
PE
6541 mktime: do not assume 'long' is wide enough
6542 * time/mktime.c (verify): Move decl up.
6543 (long_int): New type.
6544 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
6545 to remove assumption in the code that 'long' is wide enough to
6546 store year values. This assumption is not true on x32 and on
6547 some non-glibc platforms.
6548
62bdf9a6
PE
6549 mktime: merge wrapv change from gnulib
6550 * time/mktime.c (WRAPV): New macro.
6551 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
6552 (guess_time_tm, __mktime_internal): Do not assume that signed
6553 integer overflow wraps around; modern compilers generate code
6554 where this assumption is no longer valid.
6555
5e292e4f
L
65562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6557
6558 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6559 Replace "jmp L(pseudo_end)" with "ret".
6560 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
6561 Likewise.
6562
8caf8c87
AJ
65632012-05-23 Andreas Jaeger <aj@suse.de>
6564
6565 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
6566 * sysdeps/unix/sysv/linux/poll.c: Remove file.
6567
1a09dc56
AJ
65682012-05-23 Andreas Jaeger <aj@suse.de>
6569 Maximilian Attems <max@stro.at>
6570
6571 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
6572 New macros.
6573
1c87aba0
L
65742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6575
6576 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
6577 code so that pseudo_end is just ret and the stack pointer is
6578 correct also for static library in error case.
6579
40e45bd5
JM
65802012-05-23 Joseph Myers <joseph@codesourcery.com>
6581
c2670533
JM
6582 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
6583 move to syscalls.list.
6584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6588
40e45bd5
JM
6589 * manual/install.texi (Running make install): Do not mention Linux
6590 kernel version for which pt_chown is not needed.
6591 (Linux): Do not mention problems with nscd with 2.0 kernels.
6592 * INSTALL: Regenerated.
6593
be08eda5
AJ
65942012-05-23 Andreas Jaeger <aj@suse.de>
6595
6596 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
6597 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
6598 macro.
6599 * sysdeps/unix/sysv/linux/s390/bits/mman.h
6600 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6601 * sysdeps/unix/sysv/linux/sh/bits/mman.h
6602 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6603 * sysdeps/unix/sysv/linux/i386/bits/mman.h
6604 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6605 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
6606 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6607 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
6608 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6609 * sysdeps/unix/sysv/linux/bits/in.h
6610 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
6611
a6a056bb
RM
66122012-05-22 Roland McGrath <roland@hack.frob.com>
6613
6614 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
6615 (PREPARE_VERSION): Just use assert instead, it will be elided
6616 under [NDEBUG] anyway.
6617
c9009328
L
66182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6619
6620 * sysdeps/unix/sysv/linux/Makefile: Include
6621 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 6622 (sysdep_routines): Remove sysctl.
c9009328
L
6623 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
6624 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
6625 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
6626 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
6627 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
6628
73338355
AJ
66292012-05-22 Andreas Jaeger <aj@suse.de>
6630
6631 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
6632 that pseudo_end is just ret and the stack pointer is correct also
6633 for static library in error case.
6634
d44638b0
PP
66352012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6636
6637 [BZ #14122]
6638 * nss/nsswitch.c (defconfig_entries): New variable.
6639 (__nss_database_lookup): Don't leak defconfig entries.
6640 (nss_parse_service_list): Don't leak on error paths.
6641 (free_database_entries): New function.
6642 (free_defconfig): New function.
6643 (free_mem): Move common code to free_database_entries.
6644
31a39bd8
L
66452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6646
da0331a8
L
6647 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
6648 Add arch_prctl.
6649 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
6650
31a39bd8
L
6651 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6652 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
6653 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
6654 New macro.
6655 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6656 (INTERNAL_SYSCALL_TYPES): Likewise.
6657 (LOAD_ARGS_TYPES_[1-6]): Likewise.
6658 (LOAD_REGS_TYPES_[1-6]): Likewise.
6659 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
6660 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
6661
45470df3
AZ
66622012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6663
6664 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
6665 copysignl for GLIBC_2_0.
6666 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
6667 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
6668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
6669 logbl for GLIBC_2_0.
6670 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6671 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6672
98a61bcb
L
66732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6674
a4f6e481
L
6675 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
6676 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6677
f63d5db6
L
6678 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6679 Use "neg %eax".
6680
98a61bcb
L
6681 * time/mktime.c: Update copyright years.
6682
95770f14
PE
66832012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6684
6226efbd
PE
6685 mktime: merge comment-quoting-style change from gnulib
6686 * time/mktime.c: Quote 'like this' in comments.
6687 The GNU coding standards suggest that we no longer quote `like this',
6688 as "`" and "'" are typically rendered asymmetrically nowadays.
6689 The typical gnulib style is to quote 'like this' when quoting
6690 code, and "like this" when quoting English.
6691
b99e4f78
PE
6692 * time/mktime.c (compile-command): Add "-I.".
6693
643e01e6
PE
6694 mktime: merge mktime-internal.h change from gnulib
6695 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6696
2554247d
PE
6697 mktime: merge time_r change from gnulib
6698 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6699
826dd0ab
PE
6700 mktime: merge DEBUG change from gnulib
6701 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6702 case system <time.h> has a #define.
6703
bd83aabe
PE
6704 mktime: merge <sys/types.h> change from gnulib
6705 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6706 since <time.t> is now guaranteed to define time_t.
6707
95770f14
PE
6708 mktime: merge HAVE_CONFIG_H change from gnulib
6709 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6710
5e1a27a9
L
67112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6712
0e44a77e
L
6713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6714 Use "neg %eax".
6715
5e1a27a9
L
6716 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6717 __rlim_t cast.
6718 (struct rusage): Use anonymous union to pad each field to
6719 __syscall_slong_t.
6720
46259bec
DM
67212012-05-21 David S. Miller <davem@davemloft.net>
6722
6723 * Makefules (o-iterator): Remove .s cases.
6724 (compile-command.s): Delete.
6725 (COMPILE.s): Delete.
6726 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6727
59f0c22e
JM
67282012-05-21 Joseph Myers <joseph@codesourcery.com>
6729
6730 * configure.in (libc_cv_predef_stack_protector): Only consider
6731 "foobar" and "__stack_chk_fail" lines in libc_undefs.
6732 * configure: Regenerated.
6733
20c07380
L
67342012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6735
bbb3154b
L
6736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6737 New macro. Use R*LP on int and pointer.
6738 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
6739 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6740 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
6741 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6742
20c07380
L
6743 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6744 [__WORDSIZE_TIME64_COMPAT32] instead of
6745 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6746 (struct utmp): Likewise.
6747 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6748 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6749 Renamed to ...
6750 (__WORDSIZE_TIME64_COMPAT32): This.
6751 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6752 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6753 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6754 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6755 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6756 (__WORDSIZE_TIME64_COMPAT32): New macro.
6757
d8d1017e
AJ
67582012-05-21 Andreas Jaeger <aj@suse.de>
6759
6760 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6761 only if [SHARED]. Add prototype for __wcschr_ia32.
6762
6c7fb145
RM
67632012-05-21 Roland McGrath <roland@hack.frob.com>
6764
6765 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6766 of %rbp unmolested in the jmp_buf while mangling the low bits.
6767 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6768 unmolested high bits of %rbp while demangling the low bits.
6769 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6770
66274218
AJ
67712012-05-21 Andreas Jaeger <aj@suse.de>
6772
07c58f8f
AJ
6773 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6774 * sunrpc/svc_simple.c: Use it for registerrpc.
6775 * sunrpc/xcrypt.c: Use it for passwd2des.
6776
66274218
AJ
6777 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6778
61f65140
L
67792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6780
6781 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6782 Don't define if [__SYSCALL_WORDSIZE != 32].
6783 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6784 New macro.
6785
5fefb436
AJ
67862012-05-21 Bruno Haible <bruno@clisp.org>
6787 Andreas Jaeger <aj@suse.de>
6788
6789 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6790 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6791 inptr and inend for must_buffer_ch.
6792 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6793 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6794 * stdio-common/Makefile (tests): Remove bug15.
6795 (bug15-ENV): Remove macro.
6796 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6797 anymore.
6798
d8e272ab
AJ
67992012-05-19 Andreas Jaeger <aj@suse.de>
6800 Roland McGrath <roland@hack.frob.com>
6801
6802 * manual/contrib.texi: Completely rewritten. It contains now an
6803 alphabetical list of contributors and their contributions.
6804
4a56a162
RH
68052012-05-21 Richard Henderson <rth@twiddle.net>
6806
6807 * misc/getauxval.c (__getauxval): Use unsigned long int.
6808 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6809 (getauxval): Use unsigned long int.
6810
d024d23c
L
68112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6812
6813 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6814
cbc00a03
RM
68152012-05-21 Roland McGrath <roland@hack.frob.com>
6816
6817 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6818 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6819 __alignof__ (long double).
6820
478143fa
AZ
68212012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6822
6823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6824
c7683a6d
RH
68252012-05-20 Richard Henderson <rth@twiddle.net>
6826
6827 * misc/getauxval.c: New file.
6828 * misc/sys/auxv.h: New file.
6829 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6830 (routines): Add getauxval.
6831 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6832 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6833 * elf/dl-sysdep.c (_dl_auxv): Remove.
6834 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6835 * elf/dl-support.c (_dl_auxv): New variable.
6836 (_dl_aux_init): Initialize it.
6837 * manual/startup.texi (Auxiliary Vector): New node.
6838 * sysdeps/generic/bits/hwcap.h: New file.
6839 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6840 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6841 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6842 * sysdeps/sparc/sysdep.h: ... here. Include it.
6843 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6844 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
6845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6846 Update.
c7683a6d
RH
6847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6850 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6855
a6f1845d
AZ
68562012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6857
6858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6859
cbcbe830
DM
68602012-05-19 David S. Miller <davem@davemloft.net>
6861
6862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6863
e0b16cc2
JM
68642012-05-19 Joseph Myers <joseph@codesourcery.com>
6865
6866 [BZ #14123]
6867 * math/s_ccosh.c: Include <float.h>
6868 (__ccosh): Avoid internal overflow calculating sinh and cosh
6869 values before multiplying by sin and cos values.
6870 * math/s_ccoshf.c: Likewise.
6871 * math/s_ccoshl.c: Likewise.
6872 * math/s_csin.c: Likewise.
6873 * math/s_csinf.c: Likewise.
6874 * math/s_csinl.c: Likewise.
6875 * math/s_csinh.c: Likewise.
6876 * math/s_csinhf.c: Likewise.
6877 * math/s_csinhl.c: Likewise.
6878 * math/libm-test.inc (ccos_test): Add more tests.
6879 (ccosh_test): Likewise.
6880 (csin_test): Likewise.
6881 (csinh_test): Likewise.
6882 * sysdeps/i386/fpu/libm-test-ulps: Update.
6883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6884
6ad13e08
L
68852012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6886
f66f0ce8
L
6887 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6888 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6889
6ad13e08
L
6890 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6891
b1d072a7
JM
68922012-05-19 Joseph Myers <joseph@codesourcery.com>
6893
6894 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6895 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6896 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6897 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6898 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6899 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6900 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6901 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6902 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6903 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6904 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6905 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6906 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6907 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6908 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6909 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6910 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6911 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6912 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6913 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6914 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6915 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6916 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6917 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6918 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6919 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6920 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6921 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6922 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6923 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6924 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6925
9eae47cb
AJ
69262012-05-18 Andreas Jaeger <aj@suse.de>
6927
6928 * csu/.gitignore: Delete.
6929
bb07f69f
L
69302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6931
6932 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6933 (timex): Use __syscall_slong_t.
6934
e6bdb741
AJ
69352012-05-18 Andreas Jaeger <aj@suse.de>
6936 Carlos O'Donell <carlos_odonell@mentor.com>
6937
6938 * manual/install.texi (Configuring and compiling): Update
6939 description about files modified in the source directory.
d6c33fda 6940 * INSTALL: Regenerated.
e6bdb741 6941
1b74487e
L
69422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6943
6944 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6945 value. Use "or" to set return value to -1.
6946 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6947 negate return value.
6948
a88b64b9
TMQMF
69492012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6950
6951 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6952 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6953 failure if the compiler has Graphite support disabled.
6954 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6955 Likewise.
6956 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6957 CFLAGS-memmove.c): Likewise.
6958 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6959 Likewise.
6960
3707636e
L
69612012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6962
610b8622
L
6963 * sysdeps/x86_64/x32/_itoa.h: New file.
6964
7cd195df
L
6965 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6966 getdents system call only if kernel and user dirents have the
6967 same d_ino and d_off.
6968
94b07d20
L
6969 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6970 LLONG_MAX != LONG_MAX.
6971 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6972 (_fitoa_word): Likewise.
6973
18298070
L
6974 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6975 years.
6976 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6977 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6978 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6979
553c7ea4
L
6980 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6981 include <bits/wordsize.h>. Check __x86_64__ instead of
6982 __WORDSIZE.
6983 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6984 if __x86_64__ is defined. Use anonymous union on fpstate.
6985
3707636e
L
6986 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6987 anonymous union.
6988
b53ef01a
AS
69892012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6990
37fb1dc0
AS
6991 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6992 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6993 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6994 Refer to _rtld_local_ro instead of _rtld_global_ro.
6995 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6996 Likewise.
6997 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6998 Likewise.
6999 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7000 Likewise.
7001 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7002 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7003 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7004
b53ef01a
AS
7005 * sysdeps/powerpc/powerpc32/dl-machine.c
7006 (__elf_machine_runtime_setup) [PROF]: Don't reference
7007 _dl_prof_resolve.
7008
7a185db2
AJ
70092012-05-18 Andreas Jaeger <aj@suse.de>
7010
7011 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7012 function only available for GCCs before 3.4 since GCC 3.4
7013 introduced a builtin.
7014 (lrint): Likewise.
7015 (llrintf): Likewise.
7016 (llrint): Likewise.
7017 (fmaxf): Likewise.
7018 (fmax): Likewise.
7019 (fminf): Likewise.
7020 (fmin): Likewise.
7021 (rint): Likewise.
7022 (rintf): Likewise.
7023 (nearbyint): Likewise.
7024 (nearbyintf): Likewise.
7025 (ceil): Likewise.
7026 (ceilf): Likewise.
7027 (floor): Likewise.
7028 (floorf): Likewise.
7029
3e5aef87
L
70302012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7031
428bd707
L
7032 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7033 on both fields and cast pointer to __syscall_ulong_t.
7034
3e5aef87
L
7035 * bits/types.h (__fsword_t): New type.
7036 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7037 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7038 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7039 (__FSWORD_T_TYPE): Likewise.
7040 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7041 (__FSWORD_T_TYPE): Likewise.
7042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7043 (__FSWORD_T_TYPE): Likewise.
7044 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7045 (__FSWORD_T_TYPE): Likewise.
7046 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7047 __SWORD_TYPE with __fsword_t.
7048 (statfs64): Likewise.
7049
1ba7c3dc
DM
70502012-05-17 David S. Miller <davem@davemloft.net>
7051
7052 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7053
59910343
AJ
70542012-05-17 Andreas Jaeger <aj@suse.de>
7055
7056 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7057 warning.
7058
2e4c1e9e
L
70592012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7060
7061 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7062
de7f5ce7
AJ
70632012-05-17 Andreas Jaeger <aj@suse.de>
7064
7065 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7066 when it is used.
7067
286abc3d
CM
70682012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7069
7070 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7071
477cc68e
L
70722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7073
7074 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7075 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7076
1a0994f5
CD
70772012-05-17 Andreas Jaeger <aj@suse.de>
7078 Carlos O'Donell <carlos_odonell@mentor.com>
7079
7080 [BZ #14059]
7081 * sysdeps/x86_64/multiarch/init-arch.h
7082 (bit_YMM_Usable): Rename to...
7083 (bit_AVX_Usable): ... this.
7084 (bit_FMA4_Usable): New macro.
7085 (bit_XMM_state): New macro.
7086 (bit_YMM_state): New macro.
7087 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7088 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7089 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7090 (CPUID_OSXSAVE): New macro.
7091 (CPUID_AVX): New macro.
7092 (CPUID_FMA4): New macro.
7093 (index_YMM_Usable): Rename to...
7094 (index_AVX_Usable): ... this.
7095 (HAS_AVX): Use HAS_ARCH_FEATURE.
7096 (HAS_FMA4): Likewise.
7097 (HAS_YMM_USABLE): Remove.
7098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7099 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7100 are present.
7101 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7102 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7103 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7104 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7105 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7106
0af797de
CM
71072012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7108
7109 * math/libm-test.c: Support platforms without multiple rounding modes.
7110 * math/bug-nextafter.c: Support platforms without FP exceptions.
7111 * math/bug-nexttoward.c: Likewise.
7112 * math/test-fenv.c: Likewise.
7113 * math/test-misc.c: Likewise.
7114 * stdlib/bug-getcontext.c: Likewise.
7115
e39745ff
AJ
71162012-05-17 Andreas Jaeger <aj@suse.de>
7117
7118 * manual/examples/search.c (critter_cmp): Change signature to
7119 avoid warnings.
7120 * manual/string.texi (Collation Functions): Likewise.
7121
48970aba
L
71222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7123
7124 * bits/types.h: Fold copyright years.
7125 * bits/typesizes.h: Likewise.
7126 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7128 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7129 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7130 * time/time.h: Likewise.
7131
bedee953
PP
71322012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7133
7134 [BZ #208]
7135 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7136 in instead of returning them. Return void.
7137 (__libc_mallinfo): Accumulate over all arenas.
7138 (__malloc_stats): Adjust for change in int_mallinfo interface.
7139
61653dfb
RM
71402012-05-16 Roland McGrath <roland@hack.frob.com>
7141
30b99d79
RM
7142 [BZ #10375]
7143 * configure.in (NM): Add AC_CHECK_TOOL for it.
7144 (libc_extra_cflags): New substituted variable.
7145 Check for -fstack-protector being used implicitly.
7146 * configure: Regenerated.
7147 * config.make.in (config-extra-cflags): New variable,
7148 gets @libc_extra_cflags@.
7149 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7150
61653dfb
RM
7151 [BZ #10375]
7152 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7153 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7154 * configure: Regenerated.
7155 * config.make.in (CPPUNDEFS): New substituted variable.
7156 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7157 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7158 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7159
661768bb
L
71602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7161
7162 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7163 (mq_attr): Use __syscall_slong_t.
7164
d4261567
L
71652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7166
7167 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7168 Check __x86_64__ instead of __WORDSIZE.
7169 (_STAT_VER_LINUX): Likewise.
7170 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7171 __syscall_ulong_t and __syscall_slong_t.
7172 (stat64): Likewise.
7173
cf3ff365
L
71742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7175
7176 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7177
76cf3e4d
L
71782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7179
7180 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7181
a637753a
L
71822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7183
7184 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7185 __syscall_ulong_t.
7186
d5e05119
L
7187 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7188 include <bits/wordsize.h>. Check __x86_64__ instead of
7189 __WORDSIZE.
7190 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7191 defined.
7192 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7193
f62ee380
L
7194 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7195 include <bits/wordsize.h>. Check __x86_64__ instead of
7196 __WORDSIZE.
7197 (user_regs_struct): Use "__extension__ unsigned long long"
7198 instead of "unsigned long" if __x86_64__ is defined.
7199 (user): Likewise. Pad after pointer field if __ILP32__ is
7200 defined.
7201
4e124ced
JM
72022012-05-16 Joseph Myers <joseph@codesourcery.com>
7203
6a3951a0
JM
7204 * configure.in (makeinfo): Require version 4.5 or later. Allow
7205 versions 5 to 9.
7206 * configure: Regenerated.
7207 * manual/install.texi (texinfo): Increase version requirement to
7208 4.5 or later.
7209 * INSTALL: Regenerated.
7210
4e124ced
JM
7211 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7212
953ca31a
L
72132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7214
7215 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7216
617aca05
L
7217 * sysdeps/x86_64/x32/ffs.c: New file.
7218
5762f7ae
L
7219 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7220 __syscall_ulong_t.
7221 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7222 defined. Use __syscall_ulong_t.
7223 (shminfo): Use __syscall_ulong_t.
7224 (shm_info): Likewise.
7225
a26b6856
L
7226 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7227 __syscall_ulong_t.
7228
cb2b9ef7
L
7229 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7230 <bits/wordsize.h>.
7231 (msgqnum_t): Use __syscall_ulong_t.
7232 (msglen_t): Likewise.
7233 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7234 __syscall_ulong_t.
7235
34683bb0
L
7236 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7237 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7238
84a68786
L
7239 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7240
48baa5f1
L
7241 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7242 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7243
180be88b
L
7244 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7245 __syscall_slong_t.
7246
5e90c8ad
L
7247 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7248 include <bits/wordsize.h>. Check __x86_64__ instead of
7249 __WORDSIZE.
7250
23dfb58b
L
7251 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7252 "unsigned long long int" if __x86_64__ is defined.
7253 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7254
ce5d54b0
L
7255 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7256 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7257 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7258
13dc9eac
L
7259 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7260 <stdint.h>.
7261 (GET_PC): Cast to uintptr_t first.
7262 (GET_FRAME): Likewise.
7263 (GET_STACK): Likewise.
7264
a7895d15
L
7265 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7266 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7267 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7268 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7269 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7270 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7271 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7272 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7273 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7274 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7275 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7276 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7277 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7278 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7279 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7280 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7281 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7282 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7283 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7284 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7285 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7286 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7287 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7288 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7289 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7290 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7291 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7292 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7293 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7294
656416c9
AS
72952012-05-16 Andreas Schwab <schwab@linux-m68k.org>
7296
5bd66283
AS
7297 * Makerules (+depfiles): Also collect depfiles from .oS in
7298 $(extra-objs).
7299 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7300 .oS, $(libnldbl-routines)).
7301
656416c9
AS
7302 * Makerules (native-compile-mkdep-flags): Define.
7303 * sunrpc/Makefile (extra-objs): Add $(addprefix
7304 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7305 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7306 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
7307 calling $(make-target-directory).
7308
a46f2169
L
73092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7310
7311 * bits/types.h (__snseconds_t): Removed.
7312 * time/time.h (struct timespec): Replace __snseconds_t with
7313 __syscall_slong_t.
7314 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7315 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
7316 Likewise.
7317 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7318 (__SNSECONDS_T_TYPE): Likewise.
7319 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7320 (__SNSECONDS_T_TYPE): Likewise.
7321 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7322 (__SNSECONDS_T_TYPE): Likewise.
7323
6af6528b
L
73242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7325
7326 * sysdeps/mach/hurd/bits/typesizes.h
7327 (__SYSCALL_SLONG_TYPE): New macro.
7328 (__SYSCALL_ULONG_TYPE): Likewise.
7329
de986b56
L
73302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7331
7332 * bits/types.h (__syscall_slong_t): New type.
7333 (__syscall_ulong_t): Likewise.
7334
7335 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
7336 (__SYSCALL_ULONG_TYPE): Likewise.
7337 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7338 (__SYSCALL_SLONG_TYPE): Likewise.
7339 (__SYSCALL_ULONG_TYPE): Likewise.
7340 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7341 (__SYSCALL_SLONG_TYPE): Likewise.
7342 (__SYSCALL_ULONG_TYPE): Likewise.
7343 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7344 (__SYSCALL_SLONG_TYPE): Likewise.
7345 (__SYSCALL_ULONG_TYPE): Likewise.
7346
85736dc7
L
73472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7348
7349 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
7350 Add sigaltstack-offsets.sym.
7351 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7352 <sigaltstack-offsets.h>.
7353 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
7354 longjmp_msg pointer.
7355 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
7356 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
7357 signal stack.
7358 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
7359
cc03b296
JM
73602012-05-15 Joseph Myers <joseph@codesourcery.com>
7361
a9538892
JM
7362 * elf/stackguard-macros.h: Remove file.
7363 * sysdeps/generic/stackguard-macros.h: New file.
7364 * sysdeps/i386/stackguard-macros.h: Likewise.
7365 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7366 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7367 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7368 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7369 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7370 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7371 * sysdeps/x86_64/stackguard-macros.h: Likewise.
7372 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
7373 <elf/stackguard-macros.h>.
7374
cc03b296
JM
7375 [BZ #14109]
7376 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
7377 __aligned__ in attribute.
7378 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
7379 (gregset_t): Likewise.
7380
93171016
L
73812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7382
7383 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
7384 * sysdeps/x86_64/64/Implies-after: Here. New file.
7385 * sysdeps/x86_64/x32/Implies-after: New file.
7386
d86813a0
L
73872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7388
7389 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
7390 and access return value for _dl_profile_fixup. Use R10_LP to
7391 load frame size.
7392
2953ec75
L
73932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7394
7395 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
7396
3b550e9e
L
73972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7398
7399 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
7400 * sysdeps/x86_64/x32/sysdep.h: New file.
7401
eda41706
L
74022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7403
7404 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
7405 * sysdeps/x86_64/setjmp.S: Likewise.
7406
9ea01d93
AZ
74072012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7408
7409 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
7410 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
7411 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
7412 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
7413 remove unused global constant.
7414
02a91938
CM
74152012-05-15 Chris Metcalf <cmetcalf@tilera.com>
7416
7417 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
7418 include of <not-cancel.h>.
7419
6540185f
RM
74202012-05-15 Roland McGrath <roland@hack.frob.com>
7421
7422 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
7423
509072a0
AJ
74242012-05-15 Jeff Law <law@redhat.com>
7425 Andreas Jaeger <aj@suse.de>
7426
7427 [BZ #13594]
7428 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
7429 out from...
7430 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
7431 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
7432 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
7433 code changing __hst_map_handle.map.
7434
ba75122d
RM
74352012-05-15 Roland McGrath <roland@hack.frob.com>
7436
7437 * configure.in (sysnames): Look for Implies-before and Implies-after
7438 files.
7439 * configure: Regenerated.
7440
890d8bd8
L
74412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7442
7443 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
7444 8-byte data alignment with LP_SIZE alignment.
7445
f6ee6623
L
74462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7447
7448 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
7449 into R10_LP.
7450
ea2626f6
L
74512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7452
7453 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
7454
085f715e
L
74552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7456
7457 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
7458 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
7459 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
7460 Likewise.
7461 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7462
be8498fc
L
74632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7464
7465 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
7466 (stackinfo_sub_sp): Likewise.
7467
70bc83b9
L
74682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7469
7470 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
7471 RAX_LP.
7472
9bc0b730
L
74732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7474
7475 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
7476 into R*_LP.
7477
6d2850e7
L
74782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7479
7480 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
7481 sizes into R*_LP.
7482
3cb84561
L
74832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7484
7485 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
7486
54e2ed81
L
74872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7488
7489 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
7490 into R11_LP and load __x86_64_shared_cache_size_half into
7491 R8_LP.
7492
8a17f349
L
74932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7494
7495 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
7496 R8_LP.
7497
777b1eea
AZ
74982012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7499
7500 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
7501 logb for POWER7.
7502 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
7503 logbf for POWER7.
7504 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
7505 logbl for POWER7.
7506 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
7507 powerpc32/power7/fpu/s_logb.c via #include.
7508 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
7509 powerpc32/power7/fpu/s_logbf.c via #include.
7510 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
7511 powerpc32/power7/fpu/s_logbl.c via #include.
7512
d20d4ac2
JM
75132012-05-15 Joseph Myers <joseph@codesourcery.com>
7514
7515 * README.libm: Remove file.
7516
6cdef1ab
L
75172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7518
7519 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
7520 count for x32. Use R*_LP and omit operand-size suffix.
7521
0b254d8f
L
75222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7523
7524 * shlib-versions: Move x86_64-.*-linux.* entries to ...
7525 * sysdeps/x86_64/64/shlib-versions: Here. New file.
7526 * sysdeps/x86_64/x32/shlib-versions: New file.
7527
ceb809dc
RM
75282012-05-14 Roland McGrath <roland@hack.frob.com>
7529
7530 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
7531 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
7532 Use _dl_fatal_printf instead.
7533
37f1abd4
JM
75342012-05-14 Joseph Myers <joseph@codesourcery.com>
7535
7536 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
7537 set if not set by the user. Do not allow for being unset.
7538 * sysdeps/unix/sysv/linux/configure: Regenerated.
7539
11de3a33
L
75402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7541
7542 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
7543 the `q' suffix from lea and replace .quad with ASM_ADDR.
7544
e02f153a
L
75452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7546
7547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
7548 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
7549 instead of $17.
7550 (PTR_DEMANGLE): Likewise.
7551
520ae0fd
L
75522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7553
7554 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
7555 (LP_OP): Likewise.
7556 (ASM_ADDR): Likewise.
7557 (RAX_LP): Likewise.
7558 (RBP_LP): Likewise.
7559 (RBX_LP): Likewise.
7560 (RCX_LP): Likewise.
7561 (RDI_LP): Likewise.
7562 (RSI_LP): Likewise.
7563 (RSP_LP): Likewise.
7564 (R8_LP): Likewise.
7565 (R9_LP): Likewise.
7566 (R10_LP): Likewise.
7567 (R10_LP): Likewise.
7568 (R11_LP): Likewise.
7569 (R12_LP): Likewise.
7570 (R13_LP): Likewise.
7571 (R14_LP): Likewise.
7572 (R15_LP): Likewise.
7573
b985be81
L
75742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7575
7576 * sysdeps/x86_64/x32/dl-machine.h: New file.
7577
6a4888ff
AJ
75782012-05-14 Andreas Jaeger <aj@suse.de>
7579
7580 * manual/Makefile (subdir): Remove export of subdir.
7581 (all): Remove target.
7582 (.PHONY): Remove all from list.
7583 (mkinstalldirs): Remove.
7584 (.PHONY): Remove installdirs from list.
7585 ($(inst_infodir)/libc.info): Use make-target-directory.
7586 (installdirs): Remove.
7587 (subdir_%): Remove.
7588 (glibc-targets): Remove.
7589 (lib): Remove.
7590 (stubs): Remove.
7591 ($(objpfx)stubs ../po/manual.pot): Remove.
7592 ($(objpfx)stamp%): Remove.
7593 (make-target-directory): Remove.
7594 (subdir_install): Remove.
7595 (routines): Remove.
7596 (aux): Remove.
7597 (sources): Remove.
7598 (objects): Remove.
7599 (headers): Remove.
7600
7601 [BZ #13750]
7602 * manual/.gitignore: Remove, it's not needed anymore.
7603 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
7604 all files in it.
7605 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
7606 directory.
7607 (texis): Renamed to $(objpfx)texis.
7608 (texis-path): New, contains path to generated files.
7609 (chapters.%): Use texis-path for complete path, add extra argument
7610 libc-texinfo.sh.
7611 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
7612 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
7613 (summary,texi, stamp-summary): Use complete path of
7614 files. Generate files in build dir.
7615 (dir-add.texi): Build in build dir.
7616 (libm-err.texi,stamp-libm-err): Likewise.
7617 (version.texi, stamp-version): Likewise.
7618 (.%c.texi): Likewise.
7619 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
7620 (mostlyclean): Remove target.
7621 (realclean): Remove target.
7622 (generated): Add new variable with contents from mostlyclean and
7623 realclean, remove entries duplicated in common-mostlyclean, add
7624 stamp-libm-err and stamp-version.
7625 (generated-dirs): Add libc directory.
7626 ($(inst_infodir)/libc.info): Install files from build dir.
7627
7628 * manual/install.texi (Configuring and compiling): Adjust since
7629 the info files are not part of the tar ball anymore.
7630
7ac77294
AJ
76312012-05-14 Andreas Jaeger <aj@suse.de>
7632
7633 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
7634 variable.
7635
ffb7875d
JM
76362012-05-14 Joseph Myers <joseph@codesourcery.com>
7637
7638 [BZ #13717]
7639 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7640 to 2.2.0 where earlier.
7641 * sysdeps/unix/sysv/linux/configure: Regenerated.
7642 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
7643 Remove conditional code.
7644 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
7645 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
7646 Remove conditional code.
7647 [!__NR_lchown]: Likewise.
7648 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7649 [__NR_lchown]: Likewise.
7650 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
7651 comment referencing __ASSUME_LCHOWN_SYSCALL.
7652 * sysdeps/unix/sysv/linux/i386/sigaction.c
7653 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7654 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7655 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
7656 Remove conditional code.
7657 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
7658 (__protocol_available): Remove #if 0 code.
7659 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
7660 conditional code.
7661 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
7662 * sysdeps/unix/sysv/linux/kernel-features.h
7663 (__ASSUME_GETCWD_SYSCALL): Don't define.
7664 (__ASSUME_REALTIME_SIGNALS): Likewise.
7665 (__ASSUME_PREAD_SYSCALL): Likewise.
7666 (__ASSUME_PWRITE_SYSCALL): Likewise.
7667 (__ASSUME_POLL_SYSCALL): Likewise.
7668 (__ASSUME_LCHOWN_SYSCALL): Likewise.
7669 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
7670 non-SPARC.
7671 (__ASSUME_SIOCGIFNAME): Don't define.
7672 (__ASSUME_MSG_NOSIGNAL): Likewise.
7673 (__ASSUME_SENDFILE): Define unconditionally.
7674 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
7675 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
7676 conditional code.
7677 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7678 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7679 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7680 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7681 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7682 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7683 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7685 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7688 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7691 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7694 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7697 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7700 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7701 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7703 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7704 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7706 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7707 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7708 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7709 Remove conditional code.
7710 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7711 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7712 Remove conditional code.
7713 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7714 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7715 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7716 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7717 Remove conditional code.
7718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7719 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7720 Remove conditional code.
7721 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7722 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7723 Remove conditional code.
7724 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7725 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7726 Remove conditional code.
7727 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7728 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7729 Remove conditional code.
7730 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7731 * sysdeps/unix/sysv/linux/sh/pwrite64.c
7732 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7733 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7734 * sysdeps/unix/sysv/linux/sigaction.c
7735 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7736 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7737 * sysdeps/unix/sysv/linux/sigpending.c
7738 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7739 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7740 * sysdeps/unix/sysv/linux/sigprocmask.c
7741 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7742 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7743 * sysdeps/unix/sysv/linux/sigsuspend.c
7744 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7745 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7746 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7747 (__libc_missing_rt_sigs): Remove.
7748 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7749 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7750 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7751 Remove conditional code.
7752 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7753 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7754 return 1.
7755 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7756 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7757 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7758 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7759
1bfb7291
AJ
77602012-05-14 Andreas Jaeger <aj@suse.de>
7761
caae5a81
AJ
7762 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7763 it's not used in glibc.
7764 (__coshm1): Likewise.
7765 (__acosh1p): Likewise.
7766 (__sgn): Likewise.
7767
1bfb7291
AJ
7768 * manual/string.texi (Copying and Concatenation): Add missing
7769 variable in concat example.
7770 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7771
c044d724
L
77722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7773
144c5467 7774 [BZ #14103]
c044d724
L
7775 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7776 __builtin_clzl with __builtin_clzll.
7777
2523c62b
L
77782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7779
7780 [BZ #14104]
7781 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7782 libc_freeres_ptr.
7783
d7bb4c42
LD
77842012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7785
7786 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7787 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7788 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7789 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7790
9dc4e1fb
MF
77912012-05-14 Mike Frysinger <vapier@gentoo.org>
7792
7793 * NEWS: Update ia64 info.
7794
c7df0112
AS
77952012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7796
7797 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7798 used as bcopy.
7799
dc70356c
TS
78002012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7801
7802 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7803 * sysdeps/unix/syscalls.list (dup3): Likewise.
7804 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7805 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7806
9fb1a21f
L
78072012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7808
7809 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7810 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7811
4822a2a5
L
78122012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7813
7814 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7815 thread pointer.
7816 (TLS_IE): Use mov/add instead of movq/addq to load thread
7817 pointer.
7818 (TLS_GD_PREFIX): New.
7819 (TLS_GD): Use it.
7820
842b81d6
DM
78212012-05-11 David S. Miller <davem@davemloft.net>
7822
7823 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7824 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7825 (_FPU_SETCW): Likewise.
7826
1cf463cd
L
78272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7828
7829 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7830 is 32-byte aligned.
7831
60cc4a18
AS
78322012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7833
7834 [BZ #11837]
7835 * iconvdata/gb18030.c: Update tables.
7836 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7837 characters specially.
7838 (BODY for TO_LOOP): Add encoding of missing ranges.
7839
febb44a4
TS
78402012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7841
7842 [BZ #13673]
7843 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7844 * sysdeps/mach/hurd/dup3.c: Likewise.
7845 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7846 * sysdeps/powerpc/memmove.c:: Likewise.
7847
0a10fb9e
L
78482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7849
7850 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7851 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7852
df8a552f
L
78532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7854
7855 * elf/elf.h (R_X86_64_RELATIVE64): New.
7856 (R_X86_64_NUM): Updated.
7857 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7858 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7859 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7860 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7861 tst-quad1pie tst-quad2pie
7862 (modules-names): Add tst-quadmod1 tst-quadmod2.
7863 ($(objpfx)tst-quad1): New dependency.
7864 ($(objpfx)tst-quad2): Likewise.
7865 ($(objpfx)tst-quad1pie): Likewise.
7866 ($(objpfx)tst-quad2pie): Likewise.
7867 * sysdeps/x86_64/tst-quad1.c: New file.
7868 * sysdeps/x86_64/tst-quad1pie.c: New file.
7869 * sysdeps/x86_64/tst-quad2.c: Likewise.
7870 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7871 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7872 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7873 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7874 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7875
f34d6f84
ST
78762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7877
f42d41d1
ST
7878 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7879 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7880 * streams/stropts.h (t_scalar_t): Define type.
7881
3c3571fc
ST
7882 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7883 (_PATH_PRESERVE): Set to "/var/lib".
7884 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7885
61f06bd3
ST
7886 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7887 instead of int.
7888
918d4d71
ST
7889 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7890 if __dir_mkfile succeeded.
7891
f34d6f84
ST
7892 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7893 checking for _hurd_dtablesize. Unlock it right after having
7894 finished _hurd_dtable allocation.
7895
10589b4a
TS
78962012-05-10 Thomas Schwinge <thomas@schwinge.name>
7897
674cdbc7
TS
7898 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7899 * sysdeps/mach/hurd/configure: Regenerated.
7900 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7901 special-casing to...
7902 * sysdeps/gnu/configure.in: ... this new file.
7903 * sysdeps/unix/sysv/linux/configure: Regenerated.
7904 * sysdeps/gnu/configure: New generated file.
7905
8e41b99f
TS
7906 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7907 for Linux: use nsec instead of usec, as well as:
7908 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7909 members of type struct timespec.
7910 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7911 New macros.
7912 (struct stat64): Likewise.
7913 (_STATBUF_ST_NSEC): New macro.
7914 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7915
10589b4a
TS
7916 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7917 __strtoul_internal rather than strtoul.
7918
63643c85
PT
79192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7920
7921 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7922 and reject them.
7923
3faebe6a
ST
79242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7925
7926 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7927 which preserves existing values.
7928 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7929
c6474b07
PT
79302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7931
7932 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7933 TIMEOUT values. Return EINVAL for NFDS values either negative or
7934 greater than FD_SETSIZE.
7935
1043890b
ST
79362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7937
7938 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7939 allocated, call __vm_protect to finish enabling the existing space, and
7940 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7941 allocate the remainder.
7942
37ed8b9b
PT
79432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7944
7945 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7946 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7947
db653660
ST
79482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7949
37ed8b9b
PT
7950 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7951 sysdeps/mach/hurd/readlink.c.
b29d4053 7952
db653660
ST
7953 * posix/tst-sysconf.c (posix_options): Only use
7954 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7955 _POSIX_SYNCHRONIZED_IO when they are defined
7956 * sysdeps/mach/hurd/bits/posix_opt.h:
7957 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7958 (_XOPEN_REALTIME): Undefine macro.
7959 (_XOPEN_REALTIME_THREADS): Undefine macro.
7960 (_XOPEN_SHM): Undefine macro.
7961 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7962 macro to -1.
7963 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7964 macro to -1.
7965 (_POSIX_ASYNC_IO): Undefine macro.
7966 (_POSIX_PRIORITIZED_IO): Undefine macro.
7967 (_POSIX_SPIN_LOCKS): Define macro to -1.
7968
ee16e894
ST
7969 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7970 SA_NODEFER, SA_RESETHAND.
7971 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7972 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7973 F_DUPFD_CLOEXEC.
7974
6103ae3b
TS
79752012-05-10 Thomas Schwinge <thomas@schwinge.name>
7976
7977 * elf/Makefile (pldd-modules): Define unconditionally.
7978
80b4e5f3
TS
79792012-05-10 Thomas Schwinge <thomas@schwinge.name>
7980
7981 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7982
edadcbd6
ST
79832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7984
7985 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7986 Return ENOENT when name is empty.
7987 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7988
80694780
TS
79892012-05-10 Thomas Schwinge <thomas@schwinge.name>
7990
1792c087
TS
7991 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7992
80694780
TS
7993 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7994
6b645f0d
ST
79952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7996
80694780
TS
7997 Fix mlock in all cases except non-readable pages.
7998 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7999 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 8000
6b645f0d
ST
8001 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8002 (__mkdir): When path is `/', just fail with EEXIST.
8003 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8004
e468f8a3
TS
80052012-05-10 Thomas Schwinge <thomas@schwinge.name>
8006
8007 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8008 <sys/uio.h> (for writev).
8009 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8010 and <sys/param.h> (for MIN).
8011
a4186cff
PT
80122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8013
8014 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8015 REQUESTED_TIME. Properly set the remaining time and return EINTR
8016 if interrupted.
8017
510bbf14
TS
80182012-05-10 Thomas Schwinge <thomas@schwinge.name>
8019
8020 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8021 Depend on against $(link-rpcuserlibs).
8022
5d5722e8
ST
80232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8024
a4186cff
PT
8025 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8026 (__libc_stack_end): Do not use attribute_relro.
8027 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8028 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 8029 to libthread-provided value.
a4186cff
PT
8030 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8031 attribute_relro.
5d5722e8 8032
37233df9
TS
80332012-05-10 Thomas Schwinge <thomas@schwinge.name>
8034
be971a2b
TS
8035 [BZ #3748]
8036 * bits/libc-lock.h (__libc_once_get): New macro.
8037 * sysdeps/mach/bits/libc-lock.h: Likewise.
8038 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8039 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8040 instead of using implementation details.
8041
37233df9
TS
8042 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8043 * libio/freopen.c: Likewise.
8044 * libio/freopen64.c: Likewise.
8045 * misc/syslog.c: Likewise.
8046 * nscd/connections.c: Likewise.
8047 * nscd/netgroupcache.c: Likewise.
8048 * sysdeps/posix/getcwd.c: Likewise.
8049
38de94a5
RM
80502012-05-10 Roland McGrath <roland@hack.frob.com>
8051
8052 * math/w_ilogbf.c: Add #include <limits.h>.
8053
67530489
ST
80542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8055
a4186cff 8056 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
8057 path instead of returning without unlocking.
8058
67530489
ST
8059 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8060 immediate-write ioctls.
8061 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8062
5aa3a74a
TS
80632012-05-10 Thomas Schwinge <thomas@schwinge.name>
8064
18bad2ae
TS
8065 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8066 __builtin_frame_address instead of making assumptions about the
8067 location of the return address relative to DATA. Force early load of
8068 the return address.
8069 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8070 __builtin_frame_address.
8071
5aa3a74a
TS
8072 dup3 for GNU Hurd.
8073 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8074 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8075 implement dup3 and do some further code clean-ups.
8076 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8077 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8078
ecd0de9a
ST
80792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8080
cd9fa985
ST
8081 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8082
a4186cff
PT
8083 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8084 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8085 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8086 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8087 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8088 d->port.lock.
802ca5a5 8089
a4186cff
PT
8090 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8091 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8092 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 8093
bcf55240
TS
80942012-05-10 Thomas Schwinge <thomas@schwinge.name>
8095
6960eb42
TS
8096 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8097 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8098 definitions.
8099
eb43375f
TS
8100 accept4 for GNU Hurd.
8101 * include/sys/socket.h (__libc_accept4): New prototype.
8102 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8103 to implement __libc_accept4.
8104 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8105 __libc_accept4.
8106 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8107
bcf55240
TS
8108 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8109 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8110 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8111 signal-defines.sym.
8112
6178c55b
ST
81132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8114
a4186cff 8115 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 8116
6f080c2f
TS
81172012-05-10 Thomas Schwinge <thomas@schwinge.name>
8118
8119 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8120 assertion on O_CLOEXEC flag.
8121 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8122 * hurd/intern-fd.c: Likewise.
8123 * hurd/port2fd.c: Likewise.
8124
bcfe3a54
ST
81252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8126
8127 [BZ #3906]
8128 * bits/in.h (IPV6_PKTINFO): Define new macro.
8129 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8130
89c9aa49
AZ
81312012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8132
8133 [BZ #13954]
8134 [BZ #13955]
8135 [BZ #13956]
8136 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8137 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8138 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8139 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8140 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8141 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8142 * math/libm-test.inc (logb_test) : Additional logb tests.
8143
021db4be
AJ
81442012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8145 Andreas Jaeger <aj@suse.de>
8146
8147 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8148 * configure: Regenerated.
8149 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8150 * config.make.in (link-obsolete-rpc): New substituted variable.
8151 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8152 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8153 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8154 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8155 so that libc.a contains the symbols.
8156 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8157 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8158 * sunrpc/auth_none.c: Likewise.
8159 * sunrpc/auth_unix.c: Likewise.
8160 * sunrpc/authdes_prot.c: Likewise.
8161 * sunrpc/authuxprot.c: Likewise.
8162 * sunrpc/clnt_gen.c: Likewise.
8163 * sunrpc/clnt_perr.c: Likewise.
8164 * sunrpc/clnt_raw.c: Likewise.
8165 * sunrpc/clnt_simp.c: Likewise.
8166 * sunrpc/clnt_tcp.c: Likewise.
8167 * sunrpc/clnt_udp.c: Likewise.
8168 * sunrpc/clnt_unix.c: Likewise.
8169 * sunrpc/des_crypt.c: Likewise.
8170 * sunrpc/des_soft.c: Likewise.
8171 * sunrpc/get_myaddr.c: Likewise.
8172 * sunrpc/key_call.c: Likewise.
8173 * sunrpc/key_prot.c: Likewise.
8174 * sunrpc/netname.c: Likewise.
8175 * sunrpc/pm_getmaps.c: Likewise.
8176 * sunrpc/pm_getport.c: Likewise.
8177 * sunrpc/pmap_clnt.c: Likewise.
8178 * sunrpc/pmap_prot.c: Likewise.
8179 * sunrpc/pmap_prot2.c: Likewise.
8180 * sunrpc/pmap_rmt.c: Likewise.
8181 * sunrpc/publickey.c: Likewise.
8182 * sunrpc/rpc_cmsg.c: Likewise.
8183 * sunrpc/rpc_common.c: Likewise.
8184 * sunrpc/rpc_dtable.c: Likewise.
8185 * sunrpc/rpc_prot.c: Likewise.
8186 * sunrpc/rpc_thread.c: Likewise.
8187 * sunrpc/rtime.c: Likewise.
8188 * sunrpc/svc.c: Likewise.
8189 * sunrpc/svc_auth.c: Likewise.
8190 * sunrpc/svc_raw.c: Likewise.
8191 * sunrpc/svc_run.c: Likewise.
8192 * sunrpc/svc_tcp.c: Likewise.
8193 * sunrpc/svc_udp.c: Likewise.
8194 * sunrpc/svc_unix.c: Likewise.
8195 * sunrpc/svcauth_des.c: Likewise.
8196 * sunrpc/xcrypt.c: Likewise.
8197 * sunrpc/xdr.c: Likewise.
8198 * sunrpc/xdr_array.c: Likewise.
8199 * sunrpc/xdr_float.c: Likewise.
8200 * sunrpc/xdr_intXX_t.c: Likewise.
8201 * sunrpc/xdr_mem.c: Likewise.
8202 * sunrpc/xdr_rec.c: Likewise.
8203 * sunrpc/xdr_ref.c: Likewise.
8204 * sunrpc/xdr_sizeof.c: Likewise.
8205 * sunrpc/xdr_stdio.c: Likewise.
8206
b5c086a2
RM
82072012-05-10 Roland McGrath <roland@hack.frob.com>
8208
8209 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8210 change. Update copyright years.
8211
6d74dd09
JM
82122012-05-10 Joseph Myers <joseph@codesourcery.com>
8213
8214 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8215
28e72501
MK
82162012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8217 Joseph Myers <joseph@codesourcery.com>
8218 Paul Pluzhnikov <ppluzhnikov@google.com>
8219
8220 [BZ #14012]
8221 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8222 requiring rpcgen.
8223 [cross-compiling] (extra-libs): Likewise.
8224 [cross-compiling] (extra-libs-others): Likewise.
8225 [cross-compiling] (librpcsvc-routines): Likewise.
8226 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8227 [cross-compiling] (omit-deps): Likewise.
8228 (sunrpc-CPPFLAGS): New variable.
8229 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8230 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8231 (cross-rpcgen-objs): New variable.
8232 (extra-objs): Append $(cross-rpcgen-objs).
8233 ($(cross-rpcgen-objs)): New rule.
8234 ($(objpfx)cross-rpcgen): Likewise.
8235 (rpcgen-cmd): Define to use $(built-program-file). Expand
8236 comment.
8237 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8238 ($(objpfx)x%.stmp): Likewise.
8239 * sunrpc/proto.h [IS_IN_build] (_): Define.
8240 [IS_IN_build] (_libc_intl_domainname): Likewise.
8241
c8c59454
L
82422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8243
8244 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8245 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8246 and R_X86_64_TPOFF64.
8247
6f27cd16
JM
82482012-05-10 Joseph Myers <joseph@codesourcery.com>
8249
8250 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8251 sysdeps/unix/sysv/syscalls.list.
8252 (stime): Likewise.
8253 (utime): Likewise.
8254 * sysdeps/unix/sysv/syscalls.list: Remove file.
8255
02467e1c
PE
82562012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8257
8258 [BZ #3440]
8259 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8260 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8261 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8262 (__LC_IDENTIFICATION): Make these macros useful in #if
8263 expressions, as required by C99.
8264
da392631
AS
82652012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8266
8267 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8268 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8269 after this.
8270
8115f29b
L
82712012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8272
8273 * stdlib/longlong.h: Updated from GCC.
8274
bdd74070
AJ
82752012-05-09 Andreas Jaeger <aj@suse.de>
8276
edfe0dbe
AJ
8277 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8278 default is first entry.
8279 (run_mode): Set type.
8280 (main): Remove informal message about syslog.
8281 (options): Fix typo.
8282
bcfe3a54
ST
8283 [BZ #14053]
8284 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 8285 to asm.
bcfe3a54
ST
8286 (lrint): Likewise.
8287 (llrintf): Likewise.
8288 (llrint): Likewise.
8289 (rint): Likewise.
8290 (rintf): Likewise.
8291 (nearbyint): Likewise.
8292 (nearbyintf): Likewise.
bdd74070 8293
91d8d69e
AJ
82942012-05-09 Andreas Jaeger <aj@suse.de>
8295 Pedro Alves <palves@redhat.com>
8296
8297 * nscd/nscd.c (run_mode): Use enum.
8298 (main): Cleanup coding style issue.
8299
bb90b80b
AJ
83002012-05-09 Alexandre Oliva <aoliva@redhat.com>
8301 Andreas Jaeger <aj@suse.de>
8302
bcfe3a54
ST
8303 * nscd/nscd.c (go_background): Replaced with...
8304 (run_mode): ... this.
bb90b80b 8305 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
8306 (options): Add -F --foreground.
8307 (main): Implement it.
8308 (parse_opt): Parse it.
bb90b80b 8309
1a4b75a1
AJ
83102012-05-09 Andreas Jaeger <aj@suse.de>
8311
8312 [BZ #14083]
8313 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
8314 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
8315 -Wconversion warning.
8316 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8317 Likewise.
8318
b1cc2472
JM
83192012-05-09 Joseph Myers <joseph@codesourcery.com>
8320
8321 * conform/data/locale.h-data (NULL): Use macro-constant. Require
8322 == 0.
8323 (LC_ALL): Use macro-int-constant.
8324 (LC_COLLATE): Likewise.
8325 (LC_CTYPE): Likewise.
8326 (LC_MESSAGES): Likewise.
8327 (LC_MONETARY): Likewise.
8328 (LC_NUMERIC): Likewise.
8329 (LC_TIME): Likewise.
8330 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
8331 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8332 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8333 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
8334 Specify type.
8335 [C99-based standards] (float_t): Expect type.
8336 [C99-based standards] (double_t): Expect type.
8337 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
8338 type.
8339 [C99-based standards] (HUGE_VALL): Likewise.
8340 [C99-based standards] (INFINITY): Likewise.
8341 [C99-based standards] (NAN): Likewise.
8342 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
8343 [C99-based standards] (FP_NAN): Likewise.
8344 [C99-based standards] (FP_NORMAL): Likewise.
8345 [C99-based standards] (FP_SUBNORMAL): Likewise.
8346 [C99-based standards] (FP_ZERO): Likewise.
8347 [C99-based standards] (FP_FAST_FMA): Use
8348 optional-macro-int-constant. Specify type. Require == 1.
8349 [C99-based standards] (FP_FAST_FMAF): Likewise.
8350 [C99-based standards] (FP_FAST_FMAL): Likewise.
8351 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
8352 [C99-based standards] (FP_ILOGBNAN): Likewise.
8353 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
8354 Specify type.
8355 [C99-based standards] (MATH_ERREXCEPT): Likewise.
8356 [C99-based standards] (math_errhandling): Specify type.
8357 [ISO99 || ISO11] (signgam): Do not allow.
8358 [non-C99-based standards] (copysignf): Do not allow.
8359 [non-C99-based standards] (exp2f): Likewise.
8360 [non-C99-based standards] (log2f): Likewise.
8361 [non-C99-based standards] (modff): Allow.
8362 [non-C99-based standards] (erff): Do not allow.
8363 [non-C99-based standards] (erfcf): Likewise.
8364 [non-C99-based standards] (gammaf): Likewise.
8365 [non-C99-based standards] (hypotf): Likewise.
8366 [non-C99-based standards] (j0f): Likewise.
8367 [non-C99-based standards] (j1f): Likewise.
8368 [non-C99-based standards] (jnf): Likewise.
8369 [non-C99-based standards] (lgammaf): Likewise.
8370 [non-C99-based standards] (tgammaf): Likewise.
8371 [non-C99-based standards] (y0f): Likewise.
8372 [non-C99-based standards] (y1f): Likewise.
8373 [non-C99-based standards] (ynf): Likewise.
8374 [non-C99-based standards] (isnanf): Likewise.
8375 [non-C99-based standards] (acoshf): Likewise.
8376 [non-C99-based standards] (asinhf): Likewise.
8377 [non-C99-based standards] (atanhf): Likewise.
8378 [non-C99-based standards] (cbrtf): Likewise.
8379 [non-C99-based standards] (expm1f): Likewise.
8380 [non-C99-based standards] (ilogbf): Likewise.
8381 [non-C99-based standards] (log1pf): Likewise.
8382 [non-C99-based standards] (logbf): Likewise.
8383 [non-C99-based standards] (nextafterf): Likewise.
8384 [non-C99-based standards] (remainderf): Likewise.
8385 [non-C99-based standards] (rintf): Likewise.
8386 [non-C99-based standards] (scalbf): Likewise.
8387 [non-C99-based standards] (copysignl): Likewise.
8388 [non-C99-based standards] (exp2l): Likewise.
8389 [non-C99-based standards] (log2l): Likewise.
8390 [non-C99-based standards] (modfl): Allow.
8391 [non-C99-based standards] (erfl): Do not allow.
8392 [non-C99-based standards] (erfcl): Likewise.
8393 [non-C99-based standards] (gammal): Likewise.
8394 [non-C99-based standards] (hypotl): Likewise.
8395 [non-C99-based standards] (j0l): Likewise.
8396 [non-C99-based standards] (j1l): Likewise.
8397 [non-C99-based standards] (jnl): Likewise.
8398 [non-C99-based standards] (lgammal): Likewise.
8399 [non-C99-based standards] (tgammal): Likewise.
8400 [non-C99-based standards] (y0l): Likewise.
8401 [non-C99-based standards] (y1l): Likewise.
8402 [non-C99-based standards] (ynl): Likewise.
8403 [non-C99-based standards] (isnanl): Likewise.
8404 [non-C99-based standards] (acoshl): Likewise.
8405 [non-C99-based standards] (asinhl): Likewise.
8406 [non-C99-based standards] (atanhl): Likewise.
8407 [non-C99-based standards] (cbrtl): Likewise.
8408 [non-C99-based standards] (expm1l): Likewise.
8409 [non-C99-based standards] (ilogbl): Likewise.
8410 [non-C99-based standards] (log1pl): Likewise.
8411 [non-C99-based standards] (logbl): Likewise.
8412 [non-C99-based standards] (nextafterl): Likewise.
8413 [non-C99-based standards] (remainderl): Likewise.
8414 [non-C99-based standards] (rintl): Likewise.
8415 [non-C99-based standards] (scalbl): Likewise.
8416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8417 [non-C99-based standards] (FP_*): Do not allow.
8418 [C99-based standards] (FP_*): Change to
8419 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8420 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8421 allow.
8422 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
8423 (SIG_ERR): Likewise.
8424 [X/Open-based standards] (SIG_HOLD): Likewise.
8425 (SIG_IGN): Likewise.
8426 (SIGABRT): Use macro-int-constant. Specify type. Require
8427 positive value.
8428 (SIGFPE): Likewise.
8429 (SIGILL): Likewise.
8430 (SIGINT): Likewise.
8431 (SIGSEGV): Likewise.
8432 (SIGTER): Likewise.
8433 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
8434 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
8435 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
8436 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
8437 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
8438 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
8439 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
8440 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
8441 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
8442 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
8443 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
8444 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
8445 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
8446 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
8447 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
8448 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
8449 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
8450 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
8451 [X/Open-based standards] (SIGTRAP): Likewise.
8452 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
8453 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
8454 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
8455 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
8456 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8457 allow.
8458
b9f1922d
IW
84592012-05-08 Ian Wienand <ianw@vmware.com>
8460
8461 [BZ #14080]
8462 * time/tzset.c (__tzset_parse_tz): Update default rules for
8463 daylight time changes in the Energy Policy Act of 2005.
8464
1db86e88
AJ
84652012-05-09 Andreas Jaeger <aj@suse.de>
8466
8467 [BZ #13983]
8468 * elf/ldconfig.c (parse_conf): Change string to make clear that
8469 ldconfig only issued a warning if ld.so.conf does not exist.
8470
dee4a4e3
DM
84712012-05-08 David S. Miller <davem@davemloft.net>
8472
ee0db190
DM
8473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
8474 movxtod instead of popping the value on the stack.
8475
dee4a4e3
DM
8476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8477
6a43ec98
CD
84782012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
8479
8480 * config.h.in: Add HAVE_ARM_PCS_VFP.
8481
05c2c961
RMG
84822012-05-08 Roland Mc Grath <roland@hack.frob.com>
8483
bcfe3a54
ST
8484 [BZ #13979]
8485 * include/features.h: Warn if user requests __FORTIFY_SOURCE
8486 checking but the checks are disabled for any reason.
05c2c961 8487
4b30f61a
L
84882012-05-08 H.J. Lu <hongjiu.lu@intel.com>
8489
8490 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
8491 and ELF64_R_TYPE with ELFW(R_TYPE).
8492
eee2bc67
JM
84932012-05-08 Joseph Myers <joseph@codesourcery.com>
8494
7ea5391a
JM
8495 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
8496 (ulimit): Likewise.
8497
eee2bc67
JM
8498 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
8499 (settimeofday): Likewise.
8500
abb66a67
MF
85012012-05-08 Mike Frysinger <vapier@gentoo.org>
8502
8503 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
8504 a struct th_u2 inside the union, and move tu_block/tu_code into
8505 a new th_u3 union of tu_block/tu_code inside of that. Move
8506 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
8507 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
8508 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
8509 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
8510 (th_stuff): Change to th_u1.tu_stuff.
8511 (th_data): Define.
8512 (th_msg): Change to th_u1.th_u2.tu_data.
8513
7f18b530
DM
85142012-05-07 David S. Miller <davem@davemloft.net>
8515
05760585
DM
8516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8517
7f18b530
DM
8518 [BZ #14074]
8519 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
8520 (SETUP_PIC_REG): Use it.
8521 (SETUP_PIC_REG_LEAF): Use it.
8522
495fd99f
JM
85232012-05-07 Joseph Myers <joseph@codesourcery.com>
8524
8525 [BZ #13885]
8526 [BZ #13923]
8527 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8528 USE_AS_EXPM1L.
8529 (EXPL_FINITE): Likewise.
8530 (FLDLOG): Likewise.
8531 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8532 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8533 e_expl.S.
8534 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8535 USE_AS_EXPM1L.
8536 (EXPL_FINITE): Likewise.
8537 (FLDLOG): Likewise.
8538 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8539 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8540 e_expl.S.
8541 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
8542 test of -max_value argument for long double.
8543 * sysdeps/i386/fpu/libm-test-ulps: Update.
8544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8545
6693d694
DM
85462012-05-06 David S. Miller <davem@davemloft.net>
8547
8548 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
8549 quad soft-float symbols whose references which are compiler
8550 generated.
8551 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8552
6c23e11c
JM
85532012-05-06 Joseph Myers <joseph@codesourcery.com>
8554
d8b82cad
JM
8555 [BZ #13884]
8556 [BZ #13914]
8557 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8558 USE_AS_EXP10L.
8559 (EXPL_FINITE): Likewise.
8560 (FLDLOG): Likewise.
8561 (c0): Likewise.
8562 (c1): Likewise.
8563 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8564 Adjust comments for base varying.
8565 (__expl_finite): Change alias to EXPL_FINITE.
8566 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
8567 e_expl.S.
8568 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
8569 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8570 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8571 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
8572 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8573 USE_AS_EXP10L.
8574 (EXPL_FINITE): Likewise.
8575 (FLDLOG): Likewise.
8576 (c0): Likewise.
8577 (c1): Likewise.
8578 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8579 Adjust comments for base varying.
8580 (__expl_finite): Change alias to EXPL_FINITE.
8581 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
8582 tests for bugs.
8583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8584
6c23e11c
JM
8585 [BZ #14064]
8586 * math/libm-test.inc (check_float_internal): Correct ulp
8587 calculation for subnormal expected results.
8588
29ba805c
AJ
85892012-05-06 Andreas Jaeger <aj@suse.de>
8590
8591 * Makeconfig (+math-flags): New, set to -frounding-math.
8592 (+cflags): Add +math-flags so that all of glibc gets compiled with
8593 it.
8594
8595 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
8596
7b17aeda
JM
85972012-05-05 Joseph Myers <joseph@codesourcery.com>
8598
5779f134
JM
8599 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
8600 Disable one test.
8601
41498f4d
JM
8602 [BZ #13787]
8603 [BZ #13922]
8604 [BZ #14036]
8605 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
8606 (__ieee754_expl): Allow for and saturate large arguments.
8607 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
8608 (u_threshold): Likewise.
8609 (__exp): Call __ieee754_exp before checking for overflow and
8610 underflow.
8611 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
8612 (u_threshold): Likewise.
8613 (__expf): Call __ieee754_expf before checking for overflow and
8614 underflow.
8615 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
8616 (u_threshold): Likewise.
8617 (__expl): Call __ieee754_expl before checking for overflow and
8618 underflow.
8619 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
8620 (__ieee754_expl): Allow for and saturate large arguments.
8621 * math/libm-test.inc (exp_test): Add another test. Do not allow
8622 missing overflow exception on overflow.
8623 (expm1_test): Do not allow missing overflow exception on overflow.
8624
6698b8bf
JM
8625 * sysdeps/i386/fpu/e_expl.c: Move to ...
8626 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
8627 rather than using inline asm.
8628 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
8629 * sysdeps/x86_64/fpu/e_expl.S: Copy from
8630 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
8631
7b17aeda
JM
8632 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
8633 (nice): Likewise.
8634 (poll): Likewise.
8635 (signal): Likewise.
8636 (time): Likewise.
8637 (times): Likewise.
8638
f7c85819
JM
86392012-05-04 Joseph Myers <joseph@codesourcery.com>
8640
8641 * sysdeps/unix/syscalls.list (adjtime): Add entry from
8642 sysdeps/unix/common/syscalls.list.
8643 (fchmod): Likewise.
8644 (fchown): Likewise.
8645 (ftruncate): Likewise.
8646 (getrusage): Likewise.
8647 (gettimeofday): Likewise.
8648 (setpgid): Likewise.
8649 (setregid): Likewise.
8650 (setreuid): Likewise.
8651 (sigaction): Likewise.
8652 (truncate): Likewise.
8653 (vhangup): Likewise.
8654 * sysdeps/unix/common/syscalls.list: Remove file.
8655 * sysdeps/unix/bsd/Implies: Don't include unix/common.
8656 * sysdeps/unix/sysv/linux/Implies: Likewise.
8657
336270d0
L
86582012-05-04 H.J. Lu <hongjiu.lu@intel.com>
8659
8660 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
8661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
8662 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
8663 Moved to ...
8664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8665 Here.
8666 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
8667 to ...
8668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
8669 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
8670 to ...
8671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
8672 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
8673 to ...
8674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
8675 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
8676 to ...
8677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8678 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8679 to ...
8680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8681 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8682 to ...
8683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8684 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
8685 to ...
8686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8687 Here.
8688 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8689 to ...
8690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8691 Here.
8692 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8693 to ...
8694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8695 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8696 Moved to ...
8697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8698 Here.
8699 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8700 to ...
8701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8702
d128e450
JM
87032012-05-04 Joseph Myers <joseph@codesourcery.com>
8704
fa8ee516
JM
8705 * sysdeps/unix/common/bits/dirent.h: Remove file.
8706 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8707
d128e450
JM
8708 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8709 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8710 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8711 * sysdeps/unix/bsd/isatty.c: Likewise.
8712 * sysdeps/unix/bsd/tcdrain.c: Likewise.
8713 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8714 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8715
ff8faaf0 87162012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 8717
62881be4 8718 [BZ #13563]
31dc8730
AZ
8719 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8720 long double comparison inaccuracies.
8721 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8723
6fef930c
AS
87242012-05-04 Andreas Schwab <schwab@linux-m68k.org>
8725
8726 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8727 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8728
8f203e6c
JM
87292012-05-04 Joseph Myers <joseph@codesourcery.com>
8730
8731 [BZ #14049]
8732 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8733 nonzero digits before rounding a hex value.
8734 * stdlib/tst-strtod.c (tests): Add another test.
8735
5197d9c2
AK
87362012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8737
8738 * sysdeps/s390/fpu/libm-test-ulps: Update.
8739
f0c1dedf
AJ
87402012-05-03 Andreas Jaeger <aj@suse.de>
8741
8742 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8743 does not get optimized out.
8744 (malloc_opt_barrier): New.
8745
a65ef2ae 87462012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 8747 Roland McGrath <roland@hack.frob.com>
a65ef2ae 8748
2b942cb7 8749 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 8750 intermediate file deletion.
2b942cb7 8751 (generated): Add .symlist files.
a65ef2ae 8752
54b71e02
JM
87532012-05-03 Joseph Myers <joseph@codesourcery.com>
8754
8755 [BZ #13775]
8756 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8757 Redirect under this condition.
8758 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8759 [__USE_GNU] (__dprintf_chk): Not under this condition.
8760 [__USE_GNU] (__vdprintf_chk): Likewise.
8761 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8762 under this condition.
8763 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8764 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8765 [__USE_XOPEN2K8] (vdprintf): Likewise.
8766 [__USE_GNU] (__dprintf_chk): Not under this condition.
8767 [__USE_GNU] (__vdprintf_chk): Likewise.
8768 [__USE_GNU] (dprintf): Likewise.
8769 [__USE_GNU] (vdprintf): Likewise.
8770
d3dfcc41
RM
87712012-05-03 Roland McGrath <roland@hack.frob.com>
8772
8773 * elf/Makefile (common-generated): Set this instead of generated for
8774 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8775 $(all-built-dso)-derived lists.
8776
7ac30cc5
AJ
87772012-05-03 Andreas Jaeger <aj@suse.de>
8778
0c51e550
AJ
8779 * sysdeps/i386/fpu/libm-test-ulps: Update.
8780
7ac30cc5
AJ
8781 * FAQ: Removed.
8782 * FAQ.in: Likewise.
8783 * scripts/gen-FAQ.pl: Likewise.
8784 * manual/install.texi (Installation): Point to online location of
8785 FAQ.
8786 * Makefile (files-for-dist): Remove FAQ.
8787 (FAQ): Remove.
8788
d4c2917f
AM
87892012-05-02 Allan McRae <allan@archlinux.org>
8790
8791 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8792 (LDFLAGS-reldepmod5.so): Likewise.
8793 (LDFLAGS-reldep6mod1.so): Likewise.
8794 (LDFLAGS-reldep6mod4.so): Likewise.
8795 (LDFLAGS-reldep8mod3.so): Likewise.
8796 (LDFLAGS-unload4mod1.so): Likewise.
8797 (LDFLAGS-unload4mod2.so): Likewise.
8798 (LDFLAGS-tst-initorder): Likewise.
8799 (LDFLAGS-tst-initordera2.so): Likewise.
8800 (LDFLAGS-tst-initordera3.so): Likewise.
8801 (LDFLAGS-tst-initordera4.so): Likewise.
8802 (LDFLAGS-tst-initorderb2.so): Likewise.
8803 (LDFLAGS-noload): Likewise.
8804 (LDFLAGS-next): Likewise.
8805 (LDFLAGS-order2mod1.so): Likewise.
8806 (LDFLAGS-order2mod2.so): Likewise.
8807 (LDFLAGS-tst-initorder2): Likewise.
8808 (LDFLAGS-tst-initorder2a.so): Likewise.
8809 (LDFLAGS-tst-initorder2b.so): Likewise.
8810 (LDFLAGS-tst-initorder2c.so): Likewise.
8811 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8812
d77f993f
DM
88132012-05-02 David S. Miller <davem@davemloft.net>
8814
8815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8816
171a70b4
PP
88172012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8818
8819 [BZ #14055]
8820 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8821
0be196ad
AJ
88222012-05-02 Andreas Jaeger <aj@suse.de>
8823
8824 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8825 since we manipulate rounding mode.
8826 (CPPFLAGS-test-idouble.c): Likewise.
8827 (CPPFLAGS-test-ifloat.c): Likewise.
8828 (CFLAGS-test-ldouble.c): Likewise.
8829 (CFLAGS-test-double.c): Likewise.
8830 (CFLAGS-test-float.c): Likewise.
8831 (CFLAGS-test-misc.c): Likewise.
8832 (CFLAGS-test-test-fenv.c): Likewise.
8833
4f9d04aa
AZ
88342012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8835
2b942cb7
RM
8836 [BZ #2550]
8837 [BZ #2570]
8838 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8839 comparisons to determine direction to adjust input.
4f9d04aa 8840
82a79e7d
RM
88412012-05-01 Roland McGrath <roland@hack.frob.com>
8842
f5a01ca9
RM
8843 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8844 output to the target.
8845
90fe4186
RM
8846 * scripts/localplt.awk: New file.
8847 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8848 (check-localplt-CFLAGS): Variable removed.
8849 ($(all-built-dso:=.jmprel)): New static pattern rule.
8850 (generated): Add those targets.
8851 (localplt-built-dso): New variable.
8852 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8853
8854 * elf/check-localplt.c: File removed.
8855
82397ed6
RM
8856 * scripts/check-execstack.awk: New file.
8857 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8858 (check-execstack-CFLAGS): Variable removed.
8859 ($(objpfx)check-execstack.h): Target removed.
8860 ($(objpfx)execstack-default): New target.
8861 (generated): Add that instead of check-execstack.h.
8862 ($(all-built-dso:=.phdr)): New static pattern rule.
8863 (generated): Add those targets.
8864 * elf/check-execstack.c: File removed.
8865
82a79e7d
RM
8866 * scripts/check-textrel.awk: New file.
8867 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8868 (check-textrel-CFLAGS): Variable removed.
8869 (all-built-dso): Use := to define.o
8870 ($(all-built-dso:=.dyn)): New static pattern rule.
8871 (generated): Add those targets.
8872 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8873 * config.make.in (READELF): New substituted variable.
8874 * elf/check-textrel.c: File removed.
8875
62fde54f 88762012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 8877
615605c9
JM
8878 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8879 allow.
8880 * conform/data/ctype.h-data [C99-based standards] (isblank):
8881 Expect function.
8882 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8883 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8884 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8885 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8886 Specify type. Require positive value.
8887 (EILSEQ): Likewise.
8888 (ERANGE): Likewise.
8889 [ISO || POSIX] (EILSEQ): Do not expect.
8890 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8891 Specify type. Require positive value.
8892 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8893 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8894 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8895 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8896 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8897 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8898 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8899 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8900 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8901 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8902 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8903 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8904 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8905 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8906 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8907 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8908 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8909 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8910 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8911 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8912 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8913 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8914 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8915 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8916 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8917 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8918 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8919 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8920 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8921 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8922 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8923 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8924 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8925 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8926 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8927 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8928 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8929 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8930 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8931 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8932 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8933 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8934 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8935 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8936 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8937 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8938 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8939 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8940 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8941 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8942 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8943 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8944 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8945 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8946 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8947 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8948 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8949 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8950 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8951 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8952 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8953 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8954 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8955 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8956 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8957 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8958 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8959 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8960 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8961 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8962 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8963 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8964 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8965 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8966 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8967 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8968 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8969 Require >= 2.
8970 (FLT_ROUNDS): Expect as macro, not constant.
8971 (FLT_MANT_DIG): Use macro-int-constant.
8972 (DBL_MANT_DIG): Likewise.
8973 (LDBL_MANT_DIG): Likewise.
8974 (FLT_DIG): Likewise.
8975 (DBL_DIG): Likewise.
8976 (LDBL_DIG): Likewise.
8977 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8978 (DBL_MIN_EXP): Likewise.
8979 (LDBL_MIN_EXP): Likewise.
8980 (FLT_MAX_EXP): Use macro-int-constant.
8981 (DBL_MAX_EXP): Likewise.
8982 (LDBL_MAX_EXP): Likewise.
8983 (FLT_MAX_10_EXP): Likewise.
8984 (DBL_MAX_10_EXP): Likewise.
8985 (LDBL_MAX_10_EXP): Likewise.
8986 (FLT_MAX): Use macro-constant.
8987 (DBL_MAX): Likewise.
8988 (LDBL_MAX): Likewise.
8989 (FLT_EPSILON): Use macro-constant. Give upper bound.
8990 (DBL_EPSILON): Likewise.
8991 (LDBL_EPSILON): Likewise.
8992 (FLT_MIN): Likewise.
8993 (DBL_MIN): Likewise.
8994 (LDBL_MIN): Likewise.
8995 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8996 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8997 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8998 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8999 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9000 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9001 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9002 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9003 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9004 [ISO11] (FLT_TRUE_MIN): Likewise.
9005 [ISO11] (LDBL_TRUE_MIN): Likewise.
9006 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9007 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9008 (SCHAR_MIN): Use macro-int-constant. Specify type.
9009 (SCHAR_MAX): Likewise.
9010 (UCHAR_MAX): Likewise.
9011 (CHAR_MIN): Likewise.
9012 (CHAR_MAX): Likewise.
9013 (MB_LEN_MAX): Use macro-int-constant.
9014 (SHRT_MIN): Use macro-int-constant. Specify type.
9015 (SHRT_MAX): Likewise.
9016 (USHRT_MAX): Likewise.
9017 (INT_MAX): Likewise.
9018 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9019 bound negative.
9020 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9021 bound with "U".
9022 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9023 bound with "L".
9024 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9025 bound negative. Suffix upper bound with "L".
9026 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9027 bound with "UL".
9028 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9029 Specify type.
9030 [C99-based standards] (LLONG_MAX): Likewise.
9031 [C99-based standards] (ULLONG_MAX): Likewise.
9032 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9033 == 0.
9034 [ISO11] (max_align_t): Require type.
9035 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9036
c9140a62
JM
9037 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9038 from $CFLAGS, without defining away __attribute__ calls.
9039 (checknamespace): Use $CFLAGS_namespace.
9040
9af0bf29
JM
9041 * conform/conformtest.pl (@keywords): Only include C99 keywords
9042 for standards based on C99 or C11.
9043
343222a2
JM
9044 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9045 Disable tests.
9046 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9047 UNIX98]: Likewise.
9048
661f8cf0
JM
9049 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9050 usability of symbols in #if.
9051
ee74b9cb
JM
9052 * conform/conformtest.pl: If macro or constant types start
9053 "promoted:", expect the symbol to be of the following type
9054 promoted by the integer promotions.
62fde54f 9055
aafc49b3
JM
9056 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9057 in one place. Also handle "macro-constant".
9058
fefdf574
JM
9059 * conform/conformtest.pl: Only accept expected macro values with
9060 "==". Parse all "macro" lines in one place.
9061 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9062
f2d922fe
JM
9063 * conform/conformtest.pl: Handle braced types on "constant" lines
9064 instead of handling "typed-constant".
9065 * conform/data/signal.h-data: Use "constant" instead of
9066 "typed-constant".
9067
d22956c9
JM
9068 * conform/conformtest.pl: Handle "optional-" at start of lines in
9069 one place rather than duplicating several cases. Handle each
9070 format of "macro" line with initial "optional-".
9071
028e2e38
JM
9072 * conform/conformtest.pl: Only accept expected constant or
9073 optional-constant values with "==". Parse all "constant" lines in
9074 one place. Parse all "optional-constant" lines in one place.
9075 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9076 * conform/data/fmtmsg.h-data: Likewise.
9077 * conform/data/netinet/in.h-data: Likewise.
9078 * conform/data/tar.h-data: Likewise.
9079 * conform/data/limits.h-data: Use "==" form on "constant" and
9080 "optional-constant" lines.
9081
1b8f2850
JM
9082 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9083 Use -std=c99 for XOPEN2K.
9084 (@knownproblems): Remove.
9085 (newtoken): Don't check %isknown.
9086
a05a144b
JM
9087 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9088 Do not expect macro.
9089 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9090 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9091 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9092 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9093 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9094 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9095 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9096 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9097 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9098 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9099 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9100 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9101 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9102 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9103 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9104 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9105 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9106 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9107 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9108 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9109 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9110 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9111 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9112 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9113 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9114 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9115 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9116 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9117 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9118 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9119 [XPG3] (acosh): Likewise.
9120 [XPG3] (asinh): Likewise.
9121 [XPG3] (atanh): Likewise.
9122 [XPG3] (cbrt): Likewise.
9123 [XPG3] (expm1): Likewise.
9124 [XPG3] (ilogb): Likewise.
9125 [XPG3] (log1p): Likewise.
9126 [XPG3] (logb): Likewise.
9127 [XPG3] (nextafter): Likewise.
9128 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9129 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9130 [XPG3] (remainder): Likewise.
9131 [XPG3] (rint): Likewise.
9132 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9133 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9134 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9135 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9136 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9137 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9138 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9139 [UNIX98 || XOPEN2K] (scalb): Expect.
9140 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9141 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9142 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9143 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9144 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9145 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9146 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9147 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9148 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9149 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9150 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9151 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9152 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9153 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9154 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9155 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9156 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9157 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9158 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9159 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9160 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9161 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9162 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9163 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9164 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9165 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9166 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9167 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9168 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9169 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9170 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9171 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9172 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9173 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9174 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9175 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9176 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9177 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9178 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9179 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9180 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9181 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9182 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9183 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9184 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9185 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9186 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9187 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9188 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9189 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9190 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9191 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9192 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9193 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9194 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9195 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9196 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9197 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9198 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9199 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9200 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9201 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9202 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9203 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9204 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9205 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9206 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9207 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9208 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9209 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9210 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9211 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9212 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9213 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9214 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9215 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9216 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9217 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9218 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9219 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9220 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9221 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9222 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9223 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9224 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9225 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9226 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9227 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9228 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9229 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9230 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9231 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9232 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9233 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9234 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9235 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9236 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9237 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9238 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9239 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9240 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9241 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9242 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9243 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9244 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9245 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9246 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9247 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9248 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9249 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9250 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9251 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9252 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9253 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9254 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9255 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9256 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9257 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9258 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9259 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9260 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9261 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9262 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9263 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9264 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9265 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9266 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9267 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9268 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9269 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9270 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9271 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9272 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9273 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9274 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9275 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9276 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9277
73c5ebe3
JM
9278 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9279 _XOPEN_SOURCE_EXTENDED for XPG4.
9280
39c33b6c
JM
9281 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9282
62fde54f
JM
9283 * Makeconfig (localtime): Remove variable.
9284 (inst_localtime-file): Likewise.
9285
0741d64c
AS
92862012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9287
9288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9289 Update.
9290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9291 Update.
9292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9293 Update.
9294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9295 Update.
9296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9297 Update.
9298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9299 Update.
9300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9301 Update.
9302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9303 Update.
9304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9305 Update.
9306
7cb029ee
JM
93072012-05-01 Joseph Myers <joseph@codesourcery.com>
9308
9309 [BZ #2550]
9310 [BZ #2570]
9311 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
9312 comparisons to determine direction to adjust input.
9313 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9314 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9315 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9316 Likewise.
9317 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9318 Likewise.
9319 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9320 Likewise.
9321 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9322 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9323 Likewise.
9324 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9325 Likewise.
9326 * math/libm-test.inc (nexttoward_test): Add more tests.
9327
412bd966
AS
93282012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9329
9330 [BZ #14040]
9331 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
9332 in version GLIBC_2.1, not GLIBC_2.0.
9333 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
9334 Likewise.
9335
9568c0c2
JM
93362012-04-30 Joseph Myers <joseph@codesourcery.com>
9337
adfbc8ac
JM
9338 [BZ #13942]
9339 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
9340 (1 - x) * (1 + x).
9341 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9342 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
9343 * math/libm-test.inc (acos_test): Add more tests.
9344 (asin_test): Likewise.
9345 * sysdeps/i386/fpu/libm-test-ulps: Update.
9346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9347
5ba3cc69
JM
9348 [BZ #14034]
9349 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
9350 of square root.
9351 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
9352 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9353 * math/libm-test.inc (acos_test_tonearest): New function.
9354 (acos_test_towardzero): Likewise.
9355 (acos_test_downward): Likewise.
9356 (acos_test_upward): Likewise.
9357 (asin_test_tonearest): Likewise.
9358 (asin_test_towardzero): Likewise.
9359 (asin_test_downward): Likewise.
9360 (asin_test_upward): Likewise.
9361 (main): Call the new functions.
9362 * sysdeps/i386/fpu/libm-test-ulps: Update.
9363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9364
9568c0c2
JM
9365 [BZ #13884]
9366 [BZ #13924]
9367 * math/e_exp10.c: Include <float.h>.
9368 (__ieee754_exp10): Handle underflow here rather than multiplying
9369 large negative argument by M_LN10.
9370 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
9371 of __ieee754_expf.
9372 * math/e_exp10l.c: Include <float.h>.
9373 (__ieee754_exp10l): Handle underflow here rather than multiplying
9374 large negative argument by M_LN10l.
9375 * math/libm-test.inc (exp10_test): Add another test. Do not allow
9376 spurious overflow exception on underflow.
9377
5ac3ea17
MP
93782012-04-29 Marek Polacek <polacek@redhat.com>
9379
9380 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
9381 (__fortify_function): New macro.
9382 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
9383 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
9384 __extern_always_inline.
9385 * libio/bits/stdio2.h: Likewise.
9386 * libio/bits/stdio.h: Likewise.
9387 * string/string.h: Likewise.
9388 * string/bits/string3.h: Likewise.
9389 * include/stdio.h: Likewise.
9390 * stdlib/bits/stdlib.h: Likewise.
9391 * stdlib/stdlib.h: Likewise.
9392 * rt/bits/mqueue2.h: Likewise.
9393 * rt/mqueue.h: Likewise.
9394 * posix/bits/unistd.h: Likewise.
9395 * posix/unistd.h: Likewise.
9396 * io/bits/poll2.h: Likewise.
9397 * io/bits/fcntl2.h: Likewise.
9398 * io/fcntl.h: Likewise.
9399 * io/sys/poll.h: Likewise.
9400 * misc/bits/syslog.h: Likewise.
9401 * misc/bits/syslog-ldbl.h: Likewise.
9402 * misc/sys/syslog.h: Likewise.
9403 * socket/bits/socket2.h: Likewise.
9404 * socket/sys/socket.h: Likewise.
9405 * debug/tst-chk1.c: Likewise.
9406 * wcsmbs/bits/wchar2.h: Likewise.
9407 * wcsmbs/bits/wchar-ldbl.h: Likewise.
9408 * wcsmbs/wchar.h: Likewise.
9409
ecf0ebfb
AJ
94102012-04-29 Andreas Jaeger <aj@suse.de>
9411
9412 * Makerules (tests): Remove enable-check-abi protection.
9413 (check-abi-warn): Remove.
9414 (check-abi-%): Remove check-abi-warn usage.
9415
9416 * configure.in: Remove check-abi configure option.
9417 * configure: Regenerated.
9418 * config.make.in (enable-check-abi): Remove.
9419
6d5c57fa
AS
94202012-04-28 Andreas Schwab <schwab@linux-m68k.org>
9421
24c5d07e 9422 [BZ #14033]
ded5180a
AS
9423 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
9424 double functions to double *_finite functions.
9425
7e0d315d
AS
9426 [BZ #13941]
9427 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
9428 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
9429 LDBL_MIN_EXP.
9430 * stdio-common/Makefile (tests): Add tst-sprintf3.
9431 * stdio-common/tst-sprintf3.c: New file.
9432
6d5c57fa
AS
9433 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
9434 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
9435
0749ff8b
JM
94362012-04-28 Joseph Myers <joseph@codesourcery.com>
9437
9438 * conform/conformtest.pl: Remove duplicate typed-constant
9439 handling.
9440
8dbd5d7b
DM
94412012-04-28 David S. Miller <davem@davemloft.net>
9442
9443 * Makerules (%.abilist): Add vpath on sysdep_dirs.
9444 (check-abi-%): Remove AWK script prerequisite and explicit
9445 abilist directory.
9446 (check-abi): Rewrite to just diff the symlist with the abilist.
9447 (config-tls, config-abi-config): Delete, no longer used.
9448 (update-abi-%): Remove AWK script and explicit abilist directory.
9449 (update-abi): Rewrite to simply compare and conditionally copy the
9450 symlist and the sysdep abilist file. Remove update-abi-config
9451 checks.
9452 * abilist/ld.abilist: Remove.
9453 * abilist/libBrokenLocale.abilist: Remove.
9454 * abilist/libanl.abilist: Remove.
9455 * abilist/libcrypt.abilist: Remove.
9456 * abilist/libdl.abilist: Remove.
9457 * abilist/librt.abilist: Remove.
9458 * abilist/libthread_db.abilist: Remove.
9459 * abilist/libutil.abilist: Remove.
9460 * scripts/extract-abilist.awk: Remove.
9461 * scripts/merge-abilist.awk: Remove.
9462 * sysdeps/generic/libcidn.abilist: New file.
9463 * sysdeps/generic/libnss_compat.abilist: New file.
9464 * sysdeps/generic/libnss_db.abilist: New file.
9465 * sysdeps/generic/libnss_dns.abilist: New file.
9466 * sysdeps/generic/libnss_files.abilist: New file.
9467 * sysdeps/generic/libnss_hesiod.abilist: New file.
9468 * sysdeps/generic/libnss_nis.abilist: New file.
9469 * sysdeps/generic/libnss_nisplus.abilist: New file.
9470 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
9471 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
9472 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
9473 file.
9474 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
9475 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
9476 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
9477 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
9478 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
9479 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
9480 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
9481 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
9482 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
9483 file.
9484 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
9485 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
9486 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
9487 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
9488 file.
9489 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
9490 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
9491 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
9492 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
9493 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
9494 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
9495 file.
9496 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
9497 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
9498 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
9499 file.
9500 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
9501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
9502 New file.
9503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
9504 New file.
9505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
9506 New file.
9507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
9508 New file.
9509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
9510 New file.
9511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
9512 New file.
9513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
9514 New file.
9515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
9516 New file.
9517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
9518 New file.
9519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
9520 New file.
9521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
9522 New file.
9523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
9524 New file.
9525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
9526 New file.
9527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
9528 file.
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9530 New file.
9531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9532 New file.
9533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
9534 file.
9535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9536 New file.
9537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9538 New file.
9539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
9540 file.
9541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9542 New file.
9543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9544 New file.
9545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9546 New file.
9547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9548 New file.
9549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9550 New file.
9551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9552 New file.
9553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
9554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
9555 file.
9556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9557 New file.
9558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
9559 file.
9560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
9561 file.
9562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
9563 file.
9564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
9565 file.
9566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
9567 file.
9568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9569 New file.
9570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
9571 file.
9572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
9573 file.
9574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9575 New file.
9576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
9577 file.
9578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
9579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
9580 file.
9581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9582 New file.
9583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
9584 file.
9585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
9586 file.
9587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
9588 file.
9589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
9590 file.
9591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
9592 file.
9593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9594 New file.
9595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
9596 file.
9597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
9598 file.
9599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9600 New file.
9601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
9602 file.
9603 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9604 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
9605 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
9606 file.
9607 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
9608 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
9609 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
9610 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
9611 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
9612 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
9613 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
9614 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
9615 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
9616 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
9617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
9618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
9619 file.
9620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9621 New file.
9622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
9623 file.
9624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
9625 file.
9626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
9627 file.
9628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
9629 file.
9630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
9631 file.
9632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9633 New file.
9634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9635 New file.
9636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
9637 file.
9638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9639 New file.
9640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
9641 file.
9642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
9643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
9644 file.
9645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9646 New file.
9647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
9648 file.
9649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
9650 file.
9651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
9652 file.
9653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
9654 file.
9655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
9656 file.
9657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9658 New file.
9659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9660 New file.
9661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
9662 file.
9663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9664 New file.
9665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
9666 file.
9667
41d73a1b
JM
96682012-04-28 Joseph Myers <joseph@codesourcery.com>
9669
9670 * conform/conformtest.pl: Fix typo in handling typed-constant from
9671 allow-header.
9672
28aeeda4
JM
96732012-04-27 Joseph Myers <joseph@codesourcery.com>
9674
adae8f5e
JM
9675 * README: Cut down references to pre-2.6 Linux kernels and
9676 Linuxthreads. Update lists of configurations in libc and ports
9677 and sort alphabetically. Say "or newer" with Linux kernel version
9678 requirements.
9679
28aeeda4
JM
9680 * config.h.in [IS_IN_build]: Allow compiling without optimization.
9681
a462cb63
RA
96822012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9683
9684 [BZ #887]
9685 * math/libm-test.inc (logb_test_downward): New test to expose
9686 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9687 rounding mode.
9688
6ad3493e
JM
96892012-04-27 Joseph Myers <joseph@codesourcery.com>
9690
9691 [BZ #14027]
9692 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9693 to be done.
9694 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9695 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9696
2ce4f015
JM
96972012-04-26 Joseph Myers <joseph@codesourcery.com>
9698
5aeb141a
JM
9699 * sysdeps/unix/i386/brk.S: Remove file.
9700 * sysdeps/unix/i386/dl-brk.S: Likewise.
9701 * sysdeps/unix/i386/pipe.S: Likewise.
9702 * sysdeps/unix/i386/sigreturn.S: Likewise.
9703 * sysdeps/unix/i386/syscall.S: Likewise.
9704 * sysdeps/unix/i386/vfork.S: Likewise.
9705 * sysdeps/unix/i386/wait.S: Likewise.
9706
7143acae
JM
9707 * sysdeps/unix/common/tcsendbrk.c: Move to ...
9708 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9709
2ce4f015
JM
9710 * configure.in (arm*-none*): Do not allow without
9711 --enable-hacker-mode.
9712 (netbsd*): Remove case setting base_os.
9713 (386bsd*): Likewise.
9714 (freebsd*): Likewise.
9715 (bsdi*): Likewise.
9716 (osf*): Likewise.
9717 (sunos*): Likewise.
9718 (ultrix*): Likewise.
9719 (newsos*): Likewise.
9720 (dynix*): Likewise.
9721 (*bsd*): Likewise.
9722 (sysv*): Likewise.
9723 (isc*): Likewise.
9724 (esix*): Likewise.
9725 (sco*): Likewise.
9726 (minix*): Likewise.
9727 (irix4*): Likewise.
9728 (irix6*): Likewise.
9729 (solaris[2-9]*): Likewise.
9730 (none): Likewise.
9731 * configure: Regenerated.
9732
0ac229c8
AZ
97332012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9734
9735 [BZ #11521]
9736 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9737 overflow or cancellation in calculating denominator.
9738 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9739 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9740 down expression to avoid unexpected rounding in newer GCCs.
9741 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9742
33f244f4
DM
97432012-04-26 David S. Miller <davem@davemloft.net>
9744
9745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9746 long-double compat symbols.
9747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9760
cfa1f3e8
DM
97612012-04-25 David S. Miller <davem@davemloft.net>
9762
9763 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9764 HWCAP_* values only after the memory barriers have been defined.
9765 (atomic_full_barrier): Define.
9766 (atomic_read_barrier): Define.
9767 (atomic_write_barrier): Define.
9768
6e236b92
SP
97692012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9770
9771 * shlib-versions: Add libgcc_s version information.
9772 * sysdeps/generic/libgcc_s.h: Remove.
9773 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9774 libgcc_s.h.
9775 * sysdeps/gnu/unwind-resume.c: Likewise.
9776 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9777
aab39a09
DM
97782012-04-25 David S. Miller <davem@davemloft.net>
9779
9780 * sysdeps/unix/sparc/brk.S: Delete.
9781 * sysdeps/unix/sparc/dl-brk.S: Delete.
9782 * sysdeps/unix/sparc/pipe.S: Delete.
9783 * sysdeps/unix/sparc/sysdep.S: Delete.
9784 * sysdeps/unix/sparc/sysdep.h: Delete.
9785 * sysdeps/unix/sparc/vfork.S: Delete.
9786 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9787 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9788 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9789 ret_ERRVAL, r0, r1, MOVE): Define.
9790 (JUMPTARGET): Remove.
9791 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9792 sysdeps/unix/sparc/sysdep.h
9793 (ENTRY, END): Remove.
9794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9795
a3cc4f48
JM
97962012-04-25 Joseph Myers <joseph@codesourcery.com>
9797
2ed8cda2
JM
9798 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9799 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9800 -DIS_IN_build.
9801
35d76d59
JM
9802 * timezone/README: Update upstream location and email address for
9803 tzcode and tzdata.
9804 * timezone/zdump.c: Update from tzcode 2012b.
9805 * timezone/zic.c: Likewise.
9806
a3cc4f48
JM
9807 * configure.in (libc_cv_as_needed): Remove test.
9808 * configure: Regenerated.
9809 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9810 conditional definition.
9811 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9812 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9813 * config.make.in (have-as-needed): Remove variable.
9814
ceab42c3
SP
98152012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9816 Paul Pluzhnikov <ppluzhnikov@google.com>
9817
9818 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9819 strings correctly.
9820
3ce2865f
CLT
98212012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9822
9823 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9824 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9825 * sysdeps/sh/strlen.S: Likewise.
9826
f37e0d68
JM
98272012-04-24 Joseph Myers <joseph@codesourcery.com>
9828
ae186e9a
JM
9829 * sysdeps/unix/fork.S: Remove file.
9830 * sysdeps/unix/i386/fork.S: Likewise.
9831 * sysdeps/unix/sparc/fork.S: Likewise.
9832
b96914af
JM
9833 * sysdeps/unix/system.c: Remove file.
9834 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9835
f37e0d68
JM
9836 * sysdeps/unix/getegid.S: Remove file.
9837 * sysdeps/unix/geteuid.S: Likewise.
9838
87ef29ca
RM
98392012-04-24 Roland McGrath <roland@hack.frob.com>
9840
83bcd236
RM
9841 * scripts/check-localplt.awk: New file.
9842 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9843 of diff.
9844 * scripts/data/localplt-generic.data: Add a comment.
9845
87ef29ca
RM
9846 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9847 NODE when __dir_mkfile failed.
9848 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9849 Reported by Ludovic Courtès <ludo@gnu.org>.
9850
e5a6e567
AJ
98512012-04-24 Andreas Jaeger <aj@suse.de>
9852
9853 * Makerules (common-clean): Also remove gen-as-const-headers
9854 files.
9855
c1820385
JM
98562012-04-24 Joseph Myers <joseph@codesourcery.com>
9857
9858 * Makerules (native-compile): Do not change working directory for
9859 build. Use $(OUTPUT_OPTION) in command.
9860 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9861
94e02fc4
AZ
98622012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9863
9864 [BZ #13886]
9865 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9866 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9867 * math/libm-test.inc (floor_test): Add more tests.
9868 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9869
3a533ca3
JM
98702012-04-24 Joseph Myers <joseph@codesourcery.com>
9871
940ab4b3
JM
9872 * sysdeps/unix/getdents.c: Remove file.
9873 * sysdeps/unix/sysv/getdents.c: Likewise.
9874 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9875
90e037bd
JM
9876 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9877 sysdeps/unix/mman/syscalls.list.
9878 (mmap): Likewise.
9879 (mprotect): Likewise.
9880 (msync): Likewise.
9881 (munmap): Likewise.
9882 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9883 * sysdeps/unix/mman/syscalls.list: Remove.
9884 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9885
3a533ca3
JM
9886 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9887 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9888 * configure: Regenerated.
9889 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9890 $(libgcc_s_suffix).
9891 * config.make.in (libgcc_s_suffix): Remove variable.
9892
1ad743de
JM
98932012-04-23 Joseph Myers <joseph@codesourcery.com>
9894
4ad451e2
JM
9895 * sysdeps/unix/sysv/gethostname.c: Move to ...
9896 * sysdeps/posix/gethostname.c: ... here.
9897
5e37ce39
JM
9898 * sysdeps/unix/execve.S: Remove file.
9899
1ad743de
JM
9900 * sysdeps/unix/_exit.S: Remove file.
9901
4e681b5b
AJ
99022012-04-23 Andreas Jaeger <aj@suse.de>
9903
9904 [BZ #13739]
9905 * manual/Makefile: Remove make dist support, there's no
9906 need for a stand-alone documentation tar ball.
9907 (TEXI2DVI): Define always, it's not in Makeconfig.
9908 (dist): Removed.
9909 (tar-it): Removed.
9910 (edition): Removed.
9911 (glibc-doc-$(edition).tar): Removed
9912 (%.Z): Removed.
9913 (%.gz): Removed.
9914 (%.uu): Removed.
9915 (ETAGS): Remove, it's in Makeconfig.
9916 (move-if-change): Remove, it's in Makeconfig.
9917
c0baea34
PE
99182013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9919
9920 [BZ #13970]
9921 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9922 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9923 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9924 (strtod_l, strtof_l, strtold_l): Remove __wur.
9925 It is not necessarily an error to ignore strtol's return value.
9926 One can reliably look at the stored endptr to decide whether
9927 the number had valid syntax.
9928
7c0616fa
AJ
99292012-04-21 Andreas Jaeger <aj@suse.de>
9930
803cb6b7 9931 [BZ #13739]
7c0616fa
AJ
9932 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9933
b0fe253f
JM
99342012-04-21 Joseph Myers <joseph@codesourcery.com>
9935
9936 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9937 * sysdeps/unix/sysv/Versions: Remove file.
9938
8280f22d
MT
99392012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9940
9941 [BZ #13927]
9942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9943
75ce411f 99442012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
9945
9946 [BZ #7064]
9947 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9948 version from __vm86.
9949
097d59fa
JM
99502012-04-20 Joseph Myers <joseph@codesourcery.com>
9951
a90f3bcb
JM
9952 * sysdeps/unix/common/lxstat.c: Remove file.
9953 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9954
edc7ea78
JM
9955 * sysdeps/unix/sysv/Makefile: Remove file.
9956
cb78c221
JM
9957 * sysdeps/unix/sysv/direct.h: Remove file.
9958
efa6a45f
JM
9959 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9960 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9961 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9962 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9963 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9964 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9965 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9966
9c9f2d0c
JM
9967 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9968
4541c83b
JM
9969 * sysdeps/unix/xmknod.c: Remove file.
9970 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9971
f5d153a0
JM
9972 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9973
aa746595
JM
9974 * sysdeps/unix/sysv/i386/time.S: Remove file.
9975
cce5905e
JM
9976 * sysdeps/unix/fxstat.c: Remove file.
9977 * sysdeps/unix/xstat.c: Likewise.
9978 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9979
37fa3841
JM
9980 * sysdeps/unix/sysv/sigaction.c: Remove file.
9981
ff1962a3
JM
9982 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9983 (sysdep_headers): Remove variable.
9984 [termio.h not in sysdep_headers] (generated): Likewise.
9985 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9986 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9987 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9988 * sysdeps/unix/sysv/tcflow.c: Likewise.
9989 * sysdeps/unix/sysv/tcflush.c: Likewise.
9990 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9991 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9992 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9993 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9994 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9995
e7740d31
JM
9996 * sysdeps/unix/siglist.c: Remove file.
9997
ee06f18b
JM
9998 * sysdeps/unix/getppid.S: Remove file.
9999
097d59fa
JM
10000 * sysdeps/unix/mkdir.c: Remove file.
10001 * sysdeps/unix/rmdir.c: Likewise.
10002
ff3d51ec
AS
100032012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10004
10005 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10006 ERR_MAX value.
10007 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10008 errlist-compat value.
10009
50f81fd7
DM
100102012-04-18 David S. Miller <davem@davemloft.net>
10011
10012 * sysdeps/generic/memcopy.h (reg_char): Delete.
10013 * debug/strcat_chk.c: Use char, not reg_char.
10014 * debug/strcpy_chk.c: Likewise.
10015 * debug/strncat_chk.c: Likewise.
10016 * debug/strncpy_chk.c: Likewise.
10017 * string/memchr.c: Likewise.
10018 * string/memrchr.c: Likewise.
10019 * string/rawmemchr.c: Likewise.
10020 * string/strcat.c: Likewise.
10021 * string/strchr.c: Likewise.
10022 * string/strchrnul.c: Likewise.
10023 * string/strcmp.c: Likewise.
10024 * string/strcpy.c: Likewise.
10025 * string/strncat.c: Likewise.
10026 * string/strncmp.c: Likewise.
10027 * string/strncpy.c: Likewise.
10028
8ff41c46
WS
100292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10030
10031 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10032 __builtin_memcopy is called when src and dest ranges are known to not
10033 overlap.
10034
6b652f46
WS
100352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10036
10037 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10038 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10039 fwd_align_merge macro call.
10040 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10041 bwd_align_merge macro call.
10042 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10043
b282631e
WS
100442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10045
10046 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10047 bwd_align_merge macros.
10048 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10049 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10050 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10051
95aa737c
DM
100522012-04-18 David S. Miller <davem@davemloft.net>
10053
10054 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10055
7a99a614
AJ
100562012-04-18 Andreas Jaeger <aj@suse.de>
10057
10058 [BZ# 6794]
10059 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10060 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10061 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10062
10063 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10064 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10065 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10066
10067 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10068 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10069 Adjust for changed ldbl-128 files.
10070
10071 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10072 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10073 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10074
e5270c23
DM
100752012-04-17 David S. Miller <davem@davemloft.net>
10076
10077 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10078
fb5e92c9
AS
100792012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10080
10081 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10082 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10083 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10084 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10085 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10086 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10087
76da7265
AZ
100882012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10089
10090 [BZ #6794]
10091 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10092 * math/libm-test.inc: Add ilogb errno and exception tests.
10093 * math/w_ilogb.c: New file: ilogb wrapper.
10094 * math/w_ilogbf.c: New file: ilogbf wrapper.
10095 * math/w_ilogbl.c: New file: ilogbl wrapper.
10096 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10097 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10098 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10099 exception being thrown with 0.0 as argument.
10100 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10101 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10102 exception being thrown with 0.0 as argument.
10103 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10104 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10105 exception being thrown with 0.0 as argument.
10106 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10107 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10108 exception being thrown with 0.0 as argument.
10109 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10110 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 10111 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
10112 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10113 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10114 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10115 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10116 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10117 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10118
0396e69d
PB
101192012-04-17 Petr Baudis <pasky@ucw.cz>
10120
10121 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10122 with altivec.
10123
750b5926
MP
101242012-04-16 Marek Polacek <polacek@redhat.com>
10125
10126 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10127
751728a1
MP
101282012-04-16 Marek Polacek <polacek@redhat.com>
10129
10130 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10131 operands of fdivp instruction.
10132
34a27407
L
101332012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10134
10135 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10136 * elf/tst-auditmod3b.c: Likewise.
10137 * elf/tst-auditmod4b.c: Likewise.
10138 * elf/tst-auditmod5b.c: Likewise.
10139 * elf/tst-auditmod6b.c: Likewise.
10140 * elf/tst-auditmod6c.c: Likewise.
10141 * elf/tst-auditmod7b.c: Likewise.
10142 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10143 * sysdeps/x86_64/preconfigure.in: Likewise.
10144 * sysdeps/x86_64/preconfigure: Regenerated.
10145
7e73e17d
L
101462012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10147
10148 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10149 __ILP32__.
10150
c7a6ab72
AB
101512012-04-13 Antoine Balestrat <merkil33@gmail.com>
10152
10153 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10154 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10155
a9e8e0e0
CL
101562012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10157
10158 [BZ #13973]
10159 * locale/iso-639.def: Fix gl language name. Spotted by
10160 Yaron Shahrabani.
10161
ec98af7d
RM
101622012-04-12 Roland McGrath <roland@hack.frob.com>
10163
10164 [BZ #2074]
10165 * libio/libio.h (__io_write_fn): Update comment.
10166
247c3ede
PB
101672012-04-12 Petr Baudis <pasky@ucw.cz>
10168
10169 [BZ #2074]
10170 * stdio.texi (Hook Functions): The user provided writer function
10171 is not allowed to return -1.
10172
55939d6d
DM
101732012-04-11 David S. Miller <davem@davemloft.net>
10174
10175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10176
90020f5a
MF
101772012-04-11 Mike Frysinger <vapier@gentoo.org>
10178
10179 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10180 Add a leading slash to rtkaio.
10181
288f9098
JM
101822012-04-11 Jim Meyering <meyering@redhat.com>
10183
90020f5a
MF
10184 [BZ #11959]
10185 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10186 It is not necessarily an error to ignore fwrite's return
10187 value. One can reliably use ferror to test for errors after
10188 the fact.
288f9098 10189
4be2b570
L
101902012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10191
10192 * bits/types.h (__snseconds_t): New type.
10193 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10194
10195 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10196 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10197 (__SNSECONDS_T_TYPE): Likewise.
10198 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10199 (__SNSECONDS_T_TYPE): Likewise.
10200 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10201 (__SNSECONDS_T_TYPE): Likewise.
10202
288f9098 102032012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
10204
10205 [BZ #2636]
10206 * manual/time.texi (Processor Time): Return type of times is
10207 elapsed real time since an arbitrary point in the past.
10208 (CPU Time): Move CLK_TCK from here...
10209 (Processor Time): ...to here. Correct description.
10210 * manual/conf.texi (Constants for Sysconf): Correct description of
10211 _SC_CLK_TCK.
10212
d7dd4413
DM
102132012-04-10 David S. Miller <davem@davemloft.net>
10214
10215 [BZ #13967]
10216 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10217 where the is a gap between DT_REL(A) and DT_JMPREL.
10218
b46068fc
L
102192012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10220
10221 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10222 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10223 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10224
73d65cc3
SP
102252012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10226
10227 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10228 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10229 (dl_main): Handle --inhibit-cache.
10230 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10231 _dl_inhibit_cache.
10232 * elf/dl-load.c (_dl_map_object): Use it.
10233 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10234
bcc8d661
JM
102352012-04-09 Joseph Myers <joseph@codesourcery.com>
10236
8f9a2fae
JM
10237 [BZ #13872]
10238 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10239 (__ieee754_powl): Saturate large exponents rather than testing for
10240 overflow of y*log2(x).
10241 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10242 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10243 exceptions.
10244
bcc8d661
JM
10245 [BZ #11521]
10246 * math/s_ctan.c: Include <float.h>.
10247 (__ctan): Avoid internal overflow or cancellation in calculating
10248 denominator.
10249 * math/s_ctanf.c: Likewise.
10250 * math/s_ctanl.c: Likewise.
10251 * math/s_ctanh.c: Likewise.
10252 * math/s_ctanhf.c: Likewise.
10253 * math/s_ctanhl.c: Likewise.
10254 * math/libm-test.inc (ctan_test): Add more tests.
10255 (ctanh_test): Likewise.
10256 * sysdeps/i386/fpu/libm-test-ulps: Update.
10257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10258
823fbbb4
AJ
102592012-04-09 Andreas Jaeger <aj@suse.de>
10260
03879793
AJ
10261 [BZ #6894]
10262 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10263 is an optional BSD extension.
10264
823fbbb4
AJ
10265 [BZ #10254]
10266 * manual/stdio.texi (Opening Streams): Document additional fopen
10267 parameters.
10268
8de131cb
RM
102692012-04-09 Roland McGrath <roland@hack.frob.com>
10270
10271 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10272 %eax without telling the compiler.
10273
c0ed9d7d
CD
102742012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10275
10276 [BZ # 13963]
10277 * manual/install.texi: Use sourceware.org.
10278
c483f6b4
JM
102792012-04-09 Joseph Myers <joseph@codesourcery.com>
10280
d7dd9453
JM
10281 [BZ #13873]
10282 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10283 (__ieee754_pow): Generate overflow and underflow using huge*huge
10284 and tiny*tiny rather than just returning constant infinity or zero
10285 for large exponents.
10286 * math/libm-test.inc (pow_test): Require overflow exceptions for
10287 applicable cases of large exponents.
10288
c483f6b4
JM
10289 [BZ #706]
10290 * sysdeps/i386/fpu/e_pow.S (p10): New object.
10291 (__ieee754_pow): Use iterative multiplication algorithm only for
10292 integer exponents with absolute value below 1024. Check for odd
10293 integer exponents when using algorithm for real exponents.
10294 * math/libm-test.inc (pow_test): Add more tests.
10295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10296
d2de7579
JM
102972012-04-08 Joseph Myers <joseph@codesourcery.com>
10298
10299 [BZ #13705]
10300 * math/libm-test.inc (exp_test): Do not allow overflow exception
10301 on underflow test.
10302
f77f1232
AJ
103032012-04-08 Aurelien Jarno <aurelien@aurel32.net>
10304
10305 [BZ #13705]
10306 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10307 instead of __kernel_standard_f.
10308
3884932b
MF
103092012-04-08 Mike Frysinger <vapier@gentoo.org>
10310
10311 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
10312 * sysdeps/x86_64/memset_chk.S: Likewise.
10313
54472e9c
AJ
103142012-04-08 Andreas Jaeger <aj@suse.de>
10315
6ab0fbfc
AJ
10316 [BZ #10153]
10317 * manual/startup.texi (Environment Access): Describe return value
10318 for putenv and setenv.
10319
61efba8c
AJ
10320 [BZ #6895]
10321 * manual/filesys.texi (Directory Entries): Add description for
10322 DT_LNK.
10323
95c3f29a
AJ
10324 [BZ #6890]
10325 * manual/filesys.texi (Directory Entries): Clarify that it's file
10326 system not operating system in the description of DT_UNKNOWN.
10327
54472e9c
AJ
10328 [BZ #6578]
10329 * manual/syslog.texi (closelog): Fix reference, it's openlog.
10330
624254b1
SC
103312012-04-08 Stephen Compall <s11@member.fsf.org>
10332
10333 [BZ #6649]
10334 * manual/llio.texi (Opening and Closing Files): Add cross
10335 reference to explain mode argument.
10336
1e4920e0
MF
103372012-04-07 Mike Frysinger <vapier@gentoo.org>
10338
10339 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
10340 * sysdeps/x86_64/memset_chk.S: Likewise.
10341
5ed848f3
DM
103422012-04-07 David S. Miller <davem@davemloft.net>
10343
10344 * elf/elf.h (R_SPARC_WDISP10): Define.
10345 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
10346 R_SPARC_SIZE32.
10347 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
10348 R_SPARC_SIZE64 and R_SPARC_H34.
10349
96154cd8
CD
103502012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
10351
10352 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
10353 conditions and remove no longer applicable assertion.
10354
9904dc47
L
103552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10356
10357 * bits/byteswap.h: Include <features.h>.
10358 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10359 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10360
f8887d0a
L
103612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10362
10363 * bits/byteswap.h (__bswap_16): Removed.
10364 Include <bits/byteswap-16.h> to get __bswap_16.
10365 * sysdeps/i386/bits/byteswap.h: Likewise.
10366 * sysdeps/s390/bits/byteswap.h: Likewise.
10367 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10368 * bits/byteswap-16.h: New file.
10369 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10370 * sysdeps/s390/bits/byteswap-16.h: Likewise.
10371 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
10372 * string/Makefile (headers): Add bits/byteswap-16.h.
10373
62470f60
PP
103742012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10375
10376 [BZ #13895]
10377 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
10378 extra indirection.
10379 * nss/Makefile (tests-static, tests): Add tst-nss-static.
10380 * nss/tst-nss-static.c: New.
10381
4dad7bab
RM
103822012-04-06 Robert Millan <rmh@gnu.org>
10383
10384 [BZ #6486]
10385 * manual/llio.texi (File Position Primitive): lseek
10386 refers to WHENCE when it really means OFFSET.
10387
e9142a17
AJ
103882012-04-06 Andreas Jaeger <aj@suse.de>
10389
2c040eff
AJ
10390 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
10391 strncmp declarations.
10392
e9142a17
AJ
10393 * abilist/libc.abilist: Add __poll and __ppoll.
10394
ff9f1c5f
DM
103952012-04-05 David S. Miller <davem@davemloft.net>
10396
dcd2ae90
DM
10397 * scripts/check-local-headers.sh: Accept a host triplet in the
10398 path matched by the exclude regexp.
10399
993eb054
DM
10400 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
10401 definition.
10402 * sysdeps/powerpc/powerpc32/dl-machine.h
10403 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
10404 * sysdeps/s390/s390-32/dl-machine.h
10405 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10406 * sysdeps/sparc/sparc32/dl-machine.h
10407 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10408 * sysdeps/sparc/sparc64/dl-machine.h
10409 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10410
ff9f1c5f
DM
10411 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
10412 lazy binding.
48e2e132 10413 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
10414 undefined symbol errors.
10415
48e2e132 10416 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
10417 DT_NEEDED entries.
10418
e80d6f94
MM
104192012-04-05 Michael Matz <matz@suse.de>
10420
10421 [BZ #13592]
10422 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
10423
349fa79f
AJ
104242012-04-05 Andreas Jaeger <aj@suse.de>
10425
10426 [BZ #13908]
10427 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
10428 comment.
10429
f402708f
KK
104302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10431
10432 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
10433 which ROUND is no valid rounding mode.
10434
2ecccfc9
KK
104352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10436
10437 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
10438 read again.
10439 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
10440
8a53f50f
KK
104412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10442
10443 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
10444 an exception using FPU order intentionally.
10445
104462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10447
10448 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
10449 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
10450 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
10451 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
10452
d653abb7
SJ
104532012-04-05 Simon Josefsson <simon@josefsson.org>
10454
10455 [BZ #12340]
10456 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
10457 EINVAL when BUFLEN is too smal.
10458
c3b1bf7d
TS
104592012-04-05 Thomas Schwinge <thomas@codesourcery.com>
10460
10461 [BZ #13553]
10462 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
10463 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
10464
b1aa60f3
AJ
104652012-04-03 Andreas Jaeger <aj@suse.de>
10466
c3b1bf7d 10467 [BZ #13938]
67f60a26
AJ
10468 * manual/setjmp.texi (System V contexts): Fix sentence.
10469
b1aa60f3
AJ
10470 [BZ #13926]
10471 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
10472 New macro for this case.
10473 [!__GNUC__] (__bswap_64): New inline function for this case.
10474 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10475 * bits/byteswap.h: Likewise.
10476 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
10477 ull, guard with __GLIBC_HAVE_LONG_LONG.
10478
10479 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
10480 __GLIBC_HAVE_LONG_LONG.
10481
10482 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
10483 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
10484
39c59c35
TMQMF
104852012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10486
10487 [BZ #13691]
10488 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
10489 inptr and inend, rather than using last_ch.
10490
135ffda8
DM
104912012-04-02 David S. Miller <davem@davemloft.net>
10492
10493 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
10494 * stdio-common/printf-parse.h (read_int): Change return type to
10495 'int', return -1 on INT_MAX overflow.
10496 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
10497 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
10498 overflows INT_MAX. Check for overflow of in-format-string precision
10499 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
10500 SIZE_MAX not INT_MAX for integer overflow test.
10501 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
10502 skip the construct in the format string but do not record anything.
10503 * stdio-common/bug22.c: Adjust to test both width/prevision
10504 INT_MAX overflow as well as total length INT_MAX overflow. Check
10505 explicitly for proper errno values.
10506
228c019e
TS
105072012-04-02 Thomas Schwinge <thomas@codesourcery.com>
10508
302cadd3
TS
10509 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
10510 CHAR_MAX.
10511 * string/test-strcmp.c [! WIDE]: Likewise.
10512 * time/tst-mktime2.c: Likewise for INT_MAX.
10513 * string/test-string.h: #include <sys/param.h> for MIN.
10514
228c019e
TS
10515 * csu/init-first.c (__libc_init_first): Call __ctype_init.
10516 * sysdeps/i386/init-first.c (init): Likewise.
10517 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
10518 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
10519 * sysdeps/sh/init-first.c (init): Likewise.
10520
cfa633f5
UD
105212012-04-01 Ulrich Drepper <drepper@gmail.com>
10522
10523 * po/ru.po: Update from translation team.
d1635ef8 10524 * po/vi.po: Likewise.
cfa633f5 10525
6cd0a5ea
SP
105262012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10527
10528 * resolv/nss_dns/dns-host.c: Merge copyright years.
10529
4b43400f
LD
105302012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10531
10532 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10533 Optimize memcpy with prefetch if
10534 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
10535 src, dst pointers have unequal 16 byte alignments.
10536
48c41d04
SP
105372012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10538
10539 [BZ #13928]
10540 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
10541 from a CNAME entry and return the minimum ttl for the query.
10542 (gaih_getanswer_slice): Likewise.
10543
b8dc394d
JL
105442012-03-30 Jeff Law <law@redhat.com>
10545
10546 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
10547 due to long keys.
10548 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10549 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10550
2f5a5ed0
JL
10551 * resolv/nss_dns/dns-host.c: Update copyright year.
10552
1d39e359
UD
105532012-03-30 Ulrich Drepper <drepper@gmail.com>
10554
c030f70c 10555 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 10556 requests to save a system call. Fix check that all bytes are sent.
c030f70c 10557
1d39e359
UD
10558 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
10559 comments for sendmmsg.
10560
105612012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
10562
10563 [BZ #13691]
10564 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
10565 with only 1 character between 0x0041 and 0x01b0.
10566 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
10567 * wcsmbs/tst-mbsnrtowcs.c: New file.
10568
20fde227
DM
105692012-03-29 David S. Miller <davem@davemloft.net>
10570
10571 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
10572 small copies by hand.
10573
984a4237
JL
105742012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10575
10576 [BZ #13761]
10577 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
10578 _nss_compat_initgroups_dyn): Fall back to malloc/free
10579 for large group memberships.
10580
18c9d62b
DM
105812012-03-28 David S. Miller <davem@davemloft.net>
10582
88d85d4f
DM
10583 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
10584 that branches into memcpy.
10585 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
10586 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10587 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10588 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10589 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
10590 bits.
10591 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
10592 implementation too.
10593 * sysdeps/sparc/mempcpy.S: New file.
10594
e5aa83e1
DM
10595 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
10596 the IFUNC routine in the libc case.
10597 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10598
88570753
DM
10599 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
10600 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
10601 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
10602 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
10603 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
10604 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
10605 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
10606 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
10607
249d7567
DM
10608 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
10609 loop to 256 bytes instead of 64 bytes and fix test signedness.
10610
18c9d62b
DM
10611 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
10612 * sysdeps/sparc/sparc32/Makefile: rather than here...
10613 * sysdeps/sparc/sparc64/Makefile: and here.
10614
05f3d1f6
UD
106152012-03-28 Ulrich Drepper <drepper@gmail.com>
10616
10617 * malloc/mallocbug.c: Avoid warnings about unused variables.
10618
86ae07a8
JL
106192012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10620
10621 [BZ #13760]
10622 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
10623 in the right place. Discard and retry query if response is
10624 larger than input buffer size.
10625
41bf21a1
JM
106262012-03-28 Joseph Myers <joseph@codesourcery.com>
10627
d6270972
JM
10628 [BZ #369]
10629 [BZ #2678]
10630 [BZ #3866]
10631 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
10632 x for large integer exponent.
10633 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10634 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
10635 sign of result as needed afterwards.
10636 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10637 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
10638 result for underflowing pow the same as for overflow.
10639 (__kernel_standard_l): Handle powl overflow and underflow here
10640 rather than calling __kernel_standard.
10641 * math/libm-test.inc (pow_test): Add more tests.
10642
414fca03 10643 [BZ #3868]
41bf21a1
JM
10644 [BZ #13879]
10645 [BZ #13910]
10646 [BZ #13911]
10647 [BZ #13912]
10648 [BZ #13913]
10649 [BZ #13915]
10650 [BZ #13916]
10651 [BZ #13917]
10652 [BZ #13918]
10653 [BZ #13919]
10654 [BZ #13920]
10655 [BZ #13921]
10656 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
10657 * sysdeps/ieee754/k_standard.c: Include <float.h>.
10658 (__kernel_standard_l): New function.
10659 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
10660 __kernel_standard.
10661 * math/w_acosl.c (__acosl): Likewise.
10662 * math/w_asinl.c (__asinl): Likewise.
10663 * math/w_atan2l.c (__atan2l): Likewise.
10664 * math/w_atanhl.c (__atanhl): Likewise.
10665 * math/w_coshl.c (__coshl): Likewise.
10666 * math/w_exp10l.c (__exp10l): Likewise.
10667 * math/w_exp2l.c (__exp2l): Likewise.
10668 * math/w_fmodl.c (__fmodl): Likewise.
10669 * math/w_hypotl.c (__hypotl): Likewise.
10670 * math/w_j0l.c (__j0l, __y0l): Likewise.
10671 * math/w_j1l.c (__j1l, __y1l): Likewise.
10672 * math/w_jnl.c (__jnl, __ynl): Likewise.
10673 * math/w_lgammal.c (__lgammal): Likewise.
10674 * math/w_log10l.c (__log10l): Likewise.
10675 * math/w_log2l.c (__log2l): Likewise.
10676 * math/w_logl.c (__logl): Likewise.
10677 * math/w_powl.c (__powl): Likewise.
10678 * math/w_remainderl.c (__remainderl): Likewise.
10679 * math/w_scalbl.c (sysv_scalbl): Likewise.
10680 * math/w_sinhl.c (__sinhl): Likewise.
10681 * math/w_sqrtl.c (__sqrtl): Likewise.
10682 * math/w_tgammal.c (__tgammal): Likewise.
10683 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10684 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10685 * math/libm-test.inc (acos_test): Add more tests.
10686 (acosh_test): Likewise.
10687 (asin_test): Likewise.
10688 (atanh_test): Likewise.
10689 (exp_test): Likewise.
10690 (exp10_test): Likewise.
10691 (exp2_test): Likewise.
10692 (expm1_test): Likewise.
10693 (lgamma_test): Likewise.
10694 (log_test): Likewise.
10695 (log10_test): Likewise.
10696 (log1p_test): Likewise.
10697 (log2_test): Likewise.
10698 (pow_test): Do not allow some spurious overflow exceptions.
10699 (sqrt_test): Add more tests.
10700 (tgamma_test): Likewise.
10701 (y0_test): Likewise.
10702 (y1_test): Likewise.
10703 (yn_test): Likewise.
10704
dd62fda6
AB
107052012-03-27 Anton Blanchard <anton@samba.org>
10706
10707 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10708 MAP_HUGETLB.
10709 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10710 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10711 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10712
1e3cdfda
AJ
107132012-03-27 David S. Miller <davem@davemloft.net>
10714
b855ab85
DM
10715 * conform/Makefile: Run run-conformtest.sh using $(BASH).
10716
1e3cdfda
AJ
10717 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10718 have-as-vis3 check.
10719
107202012-03-27 Andreas Jaeger <aj@suse.de>
10721
10722 * sysdeps/x86_64/elf/configure.in: Moved to ...
10723 * sysdeps/x86_64/configure.in: ... here.
10724 * sysdeps/x86_64/elf/start.S: Moved to ...
10725 * sysdeps/x86_64/start.S: ... here.
10726 * sysdeps/x86_64/elf/configure: Delete.
10727
10728 * sysdeps/x86_64/configure.in: Merge contents from
10729 sysdeps/i386/configure.in (without i686 check).
10730
10731 * sysdeps/i386/elf/Versions: Merge into ...
10732 * sysdeps/i386/Versions: ... this.
10733 * sysdeps/i386/elf/Versions: Delete file.
10734 * sysdeps/i386/elf/start.S: Moved to ...
10735 * sysdeps/i386/start.S: ...here.
10736 * sysdeps/i386/elf/configure.in: Merge into...
10737 * sysdeps/i386/configure.in: ...here.
10738 * sysdeps/i386/elf/configure.in: Delete file.
10739 * sysdeps/i386/elf/configure: Delete file.
10740
10741 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10742 * debug/backtracesyms.c: ... here.
10743 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10744 * debug/backtracesymsfd.c: ... here.
10745 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10746 * sysdeps/generic/ifunc-sel.h: ... here.
10747
10748 * sysdeps/unix/i386/start.c: Delete file.
10749 * sysdeps/unix/sparc/start.c: Delete file.
10750 * sysdeps/unix/start.c: Delete file.
10751
10752 * sysdeps/sh/elf/configure.in: Moved to ...
10753 * sysdeps/sh/configure.in: ... here.
10754 * sysdeps/sh/elf/start.S: Moved to ...
10755 * sysdeps/sh/start.S: ... here.
10756 * sysdeps/sh/elf/configure: Delete file.
10757
10758 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10759 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10760 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10761 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10762 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10763 * sysdeps/powerpc/powerpc64/start.S: here.
10764 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10765 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10766 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10767 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10768 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10769
10770 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10771 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10772 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10773 * sysdeps/powerpc/powerpc32/start.S: ... here.
10774 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10775 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10776 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10777
10778 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10779 * sysdeps/powerpc/ifunc-sel.h: ... here.
10780 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10781 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10782
10783 * sysdeps/sparc/elf/configure.in: Moved to ...
10784 * sysdeps/sparc/configure.in: ... here.
10785 * sysdeps/sparc/elf/configure: Delete file.
10786 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10787 * sysdeps/sparc/sparc32/start.S: ... here.
10788 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10789 * sysdeps/sparc/sparc64/start.S: ... here.
10790 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10791 * sysdeps/sparc/sparc32/Makefile: ... this.
10792 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10793 * sysdeps/sparc/sparc64/Makefile: ... this.
10794
10795 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10796 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10797 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10798 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10799 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10800 * sysdeps/s390/s390-32/setjmp.S: ... here.
10801 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10802 * sysdeps/s390/s390-32/configure.in: ... here.
10803 * sysdeps/s390/s390-32/elf/configure: Delete file.
10804 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10805 * sysdeps/s390/s390-32/start.S: ... here.
10806
10807 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10808 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10809 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10810 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10811 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10812 * sysdeps/s390/s390-64/setjmp.S: ... here.
10813 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10814 * sysdeps/s390/s390-64/configure.in: ... here
10815 * sysdeps/s390/s390-64/elf/configure: Delete file.
10816 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10817 * sysdeps/s390/s390-64/start.S: ... here.
10818 * sysdeps/s390/s390-64/elf/configure: Delete.
10819
10820 * configure.in: Remove support for elf directories in sysdeps.
10821
10822 * configure: Regenerated.
10823 * sysdeps/i386/configure: Regenerated.
10824 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10825 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10826 * sysdeps/s390/s390-32/configure: Regenerated.
10827 * sysdeps/s390/s390-64/configure: Regenerated.
10828 * sysdeps/sh/configure: Regenerated.
10829 * sysdeps/sparc/configure: Regenerated.
10830 * sysdeps/x86_64/configure: Regenerated.
10831
a3f61311
AS
108322012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10833
c876e002
AS
10834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10835
a3f61311
AS
10836 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10837 denormal result into account.
10838
ac4c54f0
RM
108392012-03-25 Roland McGrath <roland@hack.frob.com>
10840
10841 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10842 Reported by Allan McRae <allan@archlinux.org>.
10843
6a9b9c02
JL
108442012-03-23 Jeff Law <law@redhat.com>
10845
10846 * nss/getnssent.c (__nss_getent): Fix typo.
10847
4c42a0c1
DM
108482012-03-23 David S. Miller <davem@davemloft.net>
10849
10850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10851
1532c7ac
L
108522012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10853
10854 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10855 to pad to uint64_t for each field.
10856 (dl_tls_index): Replace unsigned long with uint64_t.
10857
3ff42526
PP
108582012-03-23 Daniel Jacobowitz <dmj@google.com>
10859 Paul Pluzhnikov <ppluzhnikov@google.com>
10860
10861 [BZ #6528]
10862 * grp/Makefile (otherlibs): Don't set it.
10863 * inet/Makefile (otherlibs): Likewise.
10864 * login/Makefile (otherlibs): Likewise.
10865 * nscd/Makefile (otherlibs): Likewise.
10866 * posix/Makefile (otherlibs): Likewise.
10867 * pwd/Makefile (otherlibs): Likewise.
10868 * rt/Makefile (otherlibs): Likewise.
10869 * sunrpc/Makefile (otherlibs): Likewise.
10870 * nss/Makefile (otherlibs): Likewise.
10871 Add libnss_files to routines and static-only-routines.
10872 ($(objpfx)getent): Remove rule.
10873 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10874 static-only-routines.
10875
7c69cd14
JM
108762012-03-22 Joseph Myers <joseph@codesourcery.com>
10877
10878 [BZ #13892]
10879 * math/s_cexp.c: Include <float.h>.
10880 (__cexp): Handle exp result overflowing not necessarily
10881 overflowing both real and imaginary parts of result.
10882 * math/s_cexpf.c: Likewise.
10883 * math/s_cexpl.c: Likewise.
10884 * math/libm-test.inc (cexp_test): Add more tests.
10885 * sysdeps/i386/fpu/libm-test-ulps: Update.
10886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10887
81b035fe
L
108882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10889
10890 * include/link.h (ELFW): New macro.
10891 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10892 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10893
1da7940c
L
108942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10895
10896 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10897 with uint64_t.
10898
b749dbb9
L
108992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10900
10901 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10902 declaration.
10903 (struct La_x32_retval): Likewise.
10904
2ff87f3f
L
109052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10906
10907 * sysdeps/x86_64/preconfigure.in: New file.
10908 * sysdeps/x86_64/preconfigure: New generated file.
10909
c0df8e69
JM
109102012-03-22 Joseph Myers <joseph@codesourcery.com>
10911
48e44791
JM
10912 [BZ #13824]
10913 * math/e_exp2l.c: Include <float.h>.
10914 (__ieee754_exp2l): Handle overflow and underflow cases
10915 separately. Only pass fractional part of argument to
10916 __ieee754_expl.
10917 * math/libm-test.inc (exp2_test): Add more tests.
10918
c0df8e69
JM
10919 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10920 negating x to take absolute value.
10921 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10922 Likewise.
10923 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10924 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10925 Likewise.
10926 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10927 computing low part if x was negated.
10928 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10929
c8e43ba7
L
109302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10931
10932 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10933 la_x32_gnu_pltexit.
10934 (pltexit): Cast int_retval to ptrdiff_t.
10935 * elf/tst-auditmod3b.c: Likewise.
10936 * elf/tst-auditmod4b.c: Likewise.
10937 * elf/tst-auditmod5b.c: Likewise.
10938 * elf/tst-auditmod6b.c: Likewise.
10939 * elf/tst-auditmod6c.c: Likewise.
10940 * elf/tst-auditmod7b.c: Likewise.
10941
10942 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10943 and x32_gnu_pltexit.
10944
10945 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10946 __ELF_NATIVE_CLASS.
10947 (La_x32_regs): New macro.
10948 (La_x32_retval): Likewise.
10949 (la_x32_gnu_pltenter): New function prototype.
10950 (la_x32_gnu_pltexit): Likewise.
10951
7998fa78
AS
109522012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10953
dcb33988
AS
10954 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10955 exponent.
10956
233fc563
AS
10957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10958
7998fa78
AS
10959 * configure.in (libc_cv_cc_nofma): Check for option to disable
10960 generation of FMA instructions.
10961 * configure: Regenerate.
10962 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10963 * sysdeps/ieee754/dbl-64/Makefile: New file.
10964 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10965 Remove brandred-fma4.
10966 (CFLAGS-brandred-fma4.c): Remove.
10967 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10968 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10969 define.
10970 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10971 define.
10972
8e95c99a
L
109732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10974
10975 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10976 LLONG_MAX != LONG_MAX.
10977 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10978 (_fitoa_word): Likewise.
10979 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10980 LLONG_MAX != LONG_MAX.
10981 * stdio-common/_itowa.h: Include <_itoa.h>.
10982 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10983 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10984 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10985 only if not defined.
10986 (_ITOA_WORD_TYPE): Likewise.
10987 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10988 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10989
6f4db457
DM
109902012-03-21 David S. Miller <davem@davemloft.net>
10991
10992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10993
7785fe5a
L
109942012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10995
10996 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10997 of x86_64 when setting libc_cv_slibdir, libdir and
10998 libc_cv_localedir.
10999 * sysdeps/unix/sysv/linux/configure: Regenerated.
11000
4535cd55
JM
110012012-03-21 Joseph Myers <joseph@codesourcery.com>
11002
11003 * manual/lang.texi (Old Varargs): Remove section.
11004 (How Variadic): Update menu.
11005 (va_start): Do not mention varargs.h.
11006
17228132
TS
110072012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11008 Joseph Myers <joseph@codesourcery.com>
11009
11010 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11011 link test.
11012 * configure: Regenerated.
11013
8149f976
TS
110142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11015
05f3d1f6
UD
11016 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11017 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11018 conformtest.pl
8149f976 11019
1a4ac776
JM
110202012-03-21 Joseph Myers <joseph@codesourcery.com>
11021
be22ce65
JM
11022 * NOTES: Remove.
11023 * Makefile (files-for-dist): Remove NOTES.
11024 (NOTES): Remove rule.
11025 * README: Don't refer to NOTES.
11026 * manual/creature.texi: Don't include macros.texi.
11027 * manual/intro.texi (creature.texi): Remove comment referring to
11028 NOTES.
11029
40b601fb
JM
11030 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11031 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11032 * configure: Regenerated.
11033 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11034 LIBC_TRY_CC_OPTION.
11035 (libc_cv_as_i686): Likewise.
11036 (libc_cv_cc_avx): Likewise.
11037 (libc_cv_cc_sse2avx): Likewise.
11038 (libc_cv_cc_fma4): Likewise.
11039 (libc_cv_cc_novzeroupper): Likewise.
11040 * sysdeps/i386/configure: Regenerated.
11041
1a4ac776
JM
11042 [BZ #13883]
11043 * sysdeps/i386/fpu/s_cexp.S: Remove.
11044 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11045 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11046 * math/libm-test.inc (cexp_test): Add more tests.
11047 * sysdeps/i386/fpu/libm-test-ulps: Update.
11048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11049
a458e7fe
AM
110502012-03-21 Allan McRae <allan@archlinux.org>
11051
11052 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11053
0cb7efc5
JM
110542012-03-21 Joseph Myers <joseph@codesourcery.com>
11055
11056 [BZ #13871]
11057 * math/w_exp2.c: Do not include <float.h>.
11058 (o_threshold, u_threshold): Remove.
11059 (__exp2): Calculate result before checking finiteness and calling
11060 __kernel_standard.
11061 * math/w_exp2f.c: Likewise.
11062 * math/w_exp2l.c: Likewise.
11063 * math/libm-test.inc (exp2_test): Require overflow exception for
11064 1e6 input.
2460d3aa
JM
11065
11066 [BZ #3866]
11067 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11068 range of signed 64-bit integers before using fistpll. Remove
11069 checks for whether integers fit in mantissa bits.
11070 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11071 the range of signed 32-bit integers before using fistpl. Remove
11072 checks for whether integers fit in mantissa bits.
11073 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11074 (__ieee754_powl): Test for y outside the range of signed 64-bit
11075 integers before using fistpll. Reduce 64-bit values to 63-bit
11076 ones as needed.
11077 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11078 divide-by-zero is raised for zero to large negative powers.
11079 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11080 (__ieee754_powl): Test for y outside the range of signed 64-bit
11081 integers before using fistpll. Reduce 64-bit values to 63-bit
11082 ones as needed.
11083 * math/libm-test.inc (pow_test): Add more tests.
11084
eb96ffb0
L
110852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11086
11087 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11088 <stdio-common/_itoa.h>.
11089 * debug/segfault.c: Likewise.
11090 * elf/dl-cache.c: Likewise.
11091 * elf/dl-minimal.c: Likewise.
11092 * elf/dl-misc.c: Likewise.
11093 * elf/dl-sysdep.c: Likewise.
11094 * elf/dl-version.c: Likewise.
11095 * elf/rtld.c: Likewise.
11096 * hurd/hurdsock.c: Likewise.
11097 * hurd/lookup-retry.c: Likewise.
11098 * malloc/malloc.c: Likewise.
11099 * malloc/mtrace.c: Likewise.
11100 * nscd/nscd_getgr_r.c: Likewise.
11101 * nscd/nscd_getpw_r.c: Likewise.
11102 * nscd/nscd_getserv_r.c: Likewise.
11103 * posix/getopt_init.c: Likewise.
11104 * posix/wordexp.c: Likewise.
11105 * stdio-common/_itoa.c: Likewise.
11106 * stdio-common/printf_fphex.c: Likewise.
11107 * stdio-common/vfprintf.c: Likewise.
11108 * string/_strerror.c: Likewise.
11109 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11110 * sysdeps/i386/i686/hp-timing.h: Likewise.
11111 * sysdeps/mach/_strerror.c: Likewise.
11112 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11113 * sysdeps/mach/hurd/sethostid.c: Likewise.
11114 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11115 * sysdeps/mach/xpg-strerror.c: Likewise.
11116 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11117 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11118 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11119 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11120 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11121 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11122 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11123 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11124 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11125 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11126 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11127 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11128 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11129 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11130 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11131 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11132 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11133 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11134 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11135 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11136 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11137
11138 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11139
11140 * stdio-common/_itoa.h: Moved to ...
11141 * sysdeps/generic/_itoa.h: Here.
11142
11143 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11144
11145 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11146 instead of "_itoa.h" and "_itowa.h".
11147 * stdio-common/vfprintf.: Likewise.
11148
d1af992d
L
111492012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11150
11151 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11152 <bits/wordsize.h>.
11153 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11154 (__signbit): Likwise.
11155 (llrintf): Likwise.
11156 (llrint): Likwise.
11157
114883e0
L
111582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11159
11160 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11161 __WORDSIZE != 64.
11162
c135cc1b
JM
111632012-03-20 Joseph Myers <joseph@codesourcery.com>
11164
11165 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11166 OVERFLOW_EXCEPTION_OK.
11167 * math/libm-test.inc ("Philosophy"): Update comment about
11168 exception testing.
11169 (OVERFLOW_EXCEPTION): Define.
11170 (OVERFLOW_EXCEPTION_OK): Likewise.
11171 (INVALID_EXCEPTION_OK): Renumber.
11172 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11173 (IGNORE_ZERO_INF_SIGN): Likewise.
11174 (test_exceptions): Handle FE_OVERFLOW.
11175 (exp10_test): Expect overflow exceptions.
11176 (exp2_test): Likewise.
11177 (expm1_test): Likewise.
11178 (nextafter_test): Likewise.
11179 (pow_test): Likewise.
11180 (scalbn_test): Likewise.
11181 (scalbln_test): Likewise.
11182
95443d88
L
111832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11184
11185 * sysdeps/x86_64/bits/atomic.h
11186 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11187 64bit integer.
11188 (atomic_exchange_acq): Likewise.
11189 (__arch_exchange_and_add_body): Likewise.
11190 (__arch_add_body): Likewise.
11191 (atomic_add_negative): Likewise.
11192 (atomic_add_zero): Likewise.
11193
490df6c4
L
111942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11195
c2722551 11196 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
11197 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11198
5e52b189
L
111992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11200
11201 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11202 Check __x86_64__ instead of __WORDSIZE.
11203
a9879d4c
L
112042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11205
11206 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11207
5df98260
DM
112082012-03-19 David S. Miller <davem@davemloft.net>
11209
e1497744
DM
11210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11211
5df98260
DM
11212 * sysdeps/sparc/fpu/fenv_private.h: New file.
11213 * sysdeps/sparc/fpu/math_private.h: Use it.
11214 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11215 Remove.
11216 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11217 (libc_feholdexcept_setroundl): Remove.
11218 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11219 Remove.
11220 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11221 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11222
b4c35121
L
112232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11224
11225 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11226 int64_t instead of long int.
11227 (INSERT_WORDS64): Likwise.
11228
56965fd7
L
112292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11230
11231 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11232 _Unwind_GetCFA return to _Unwind_Ptr first.
11233
83d1aec8
JM
112342012-03-19 Joseph Myers <joseph@codesourcery.com>
11235
1897ad44
JM
11236 [BZ #13629]
11237 * math/s_clog.c: Include <float.h>.
11238 (__clog): Scale large or subnormal inputs.
11239 * math/s_clogf.c: Likewise.
11240 * math/s_clogl.c: Likewise.
11241 * math/s_clog10.c: Include <float.h>.
11242 (M_LOG10_2): Define.
11243 (__clog10): Scale large or subnormal inputs.
11244 * math/s_clog10f.c: Likewise.
11245 * math/s_clog10l.c: Likewise.
11246 * math/libm-test.inc (clog_test): Add more tests.
11247 (clog10_test): Likewise.
11248 * sysdeps/i386/fpu/libm-test-ulps: Update.
11249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11250
7726d6a9
JM
11251 [BZ #11451]
11252 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11253 x and y.
11254 * math/libm-test.inc (atan2_test): Add another test.
11255
83d1aec8
JM
11256 * Makerules (common-objdir-compile): Remove.
11257 * sysdeps/unix/Makefile (config-generated): Do not add
11258 $(unix-generated) to variable.
11259 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11260 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11261 Remove rule.
11262 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11263 Likewise.
11264 [generic bits/local_lim.h] (before-compile): Do not append to
11265 variable.
11266 [generic bits/local_lim.h] (common-generated): Likewise.
11267 [generic sys/param.h] (before-compile): Do not append to variable.
11268 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11269 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11270 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11271 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11272 include.
11273 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11274 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11275 [generic sys/param.h] ($(addprefix
11276 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11277 [generic sys/param.h] (common-generated): Do not append to
11278 variable.
11279 [generic sys/param.h] (sysdep_headers): Likewise.
11280 [generic bits/errno.h] (before-compile): Do not append to
11281 variable.
11282 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11283 rule.
11284 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11285 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11286 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11287 [generic bits/errno.h] (common-generated): Do not append to
11288 variable.
11289 [generic bits/ioctls.h] (before-compile): Do not append to
11290 variable.
11291 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11292 rule.
11293 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11294 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11295 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11296 rule.
11297 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11298 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11299 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11300 [generic bits/ioctls.h] (common-generated): Do not append to
11301 variable.
11302 [generic sys/syscall.h] (syscall.h): Remove variable.
11303 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11304 rule.
11305 [generic sys/syscall.h] (before-compile): Do not append to
11306 variable.
11307 [generic sys/syscall.h] (common-generated): Likewise.
11308 * sysdeps/unix/errnos-tmpl.c: Remove file.
11309 * sysdeps/unix/errnos.awk: Likewise.
11310 * sysdeps/unix/ioctls-tmpl.c: Likewise.
11311 * sysdeps/unix/ioctls.awk: Likewise.
11312 * sysdeps/unix/mk-local_lim.c: Likewise.
11313 * sysdeps/unix/snarf-ioctls: Likewise.
11314
4851a949
RH
113152012-03-19 Richard Henderson <rth@twiddle.net>
11316
bd37f2ee
RH
11317 * sysdeps/i386/fpu/fenv_private.h: New file.
11318 * sysdeps/i386/fpu/math_private.h: Use it.
11319 (math_opt_barrier, math_force_eval): Remove.
11320 (libc_feholdexcept_setround_53bit): Remove.
11321 (libc_feupdateenv_53bit): Remove.
11322 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11323 (math_opt_barrier, math_force_eval): Remove.
11324 (libc_feholdexcept): Remove.
11325 (libc_feholdexcept_setround): Remove.
11326 (libc_fetestexcept, libc_fesetenv): Remove.
11327 (libc_feupdateenv_test): Remove.
11328 (libc_feupdateenv, libc_feholdsetround): Remove.
11329 (libc_feresetround): Remove.
11330
d0adc922
RH
11331 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
11332 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11333
0fe0f1f8
RH
11334 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
11335 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
11336 (libc_feupdateenv_testl): New.
11337 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
11338 (libc_feupdateenv_testf): New.
11339 (libc_feupdateenv): Use libc_feupdateenv_test.
11340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
11341 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
11342
eb92c487
RH
11343 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
11344 (libc_feholdsetroundf, libc_feholdsetroundl): New.
11345 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
11346 (libc_feresetround_noex): New.
11347 (libc_feresetround_noexf): New.
11348 (libc_feresetround_noexl): New.
11349 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
11350 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
11351 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
11352 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
11353 SET_RESTORE_ROUND.
11354 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11355 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
11356 (__cos): Likewise.
11357 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
11358 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11359 SET_RESTORE_ROUND_NOEX.
11360 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
11361 SET_RESTORE_ROUND_NOEXF.
11362 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
11363 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
11364 (libc_feholdsetroundf): New.
11365 (libc_feresetround, libc_feresetroundf): New.
11366
7d2e8012
RH
11367 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
11368 (libc_feholdexcept_setround_53bit): Convert from macro to function.
11369 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
11370
b4dabbb4
RH
11371 * sysdeps/generic/math_private.h: Include <fenv.h>.
11372 (default_libc_feholdexcept): New.
11373 (default_libc_feholdexcept_setround): New.
11374 (default_libc_fesetenv, default_libc_feupdateenv): New.
11375 (libc_feholdexcept): Only define if undefined.
11376 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
11377 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
11378 (libc_feholdexcept_setroundl): Likewise.
11379 (libc_feholdexcept_setround_53bit): Likewise.
11380 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
11381 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
11382 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
11383 (libc_feupdateenv_53bit): Likewise.
11384 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
11385 (libc_feholdexcept): Convert from macro to inline function.
11386 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
11387 (libc_fesetenv, libc_feupdateenv): Likewise.
11388
4851a949
RH
11389 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
11390 not previously defined.
11391 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
11392 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
11393 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
11394 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
11395 * sysdeps/ieee754/flt-32/math_private.h: New file.
11396 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
11397 math_private.h below SET_FLOAT_WORD.
11398 (__isnan, __isinf_ns, __finite): Remove.
11399 (__isnanf, __isinf_nsf, __finitef): Remove.
11400
e79d442e
AS
114012012-03-18 Andreas Schwab <schwab@linux-m68k.org>
11402
11403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11404
90b80344
DM
114052012-03-17 David S. Miller <davem@davemloft.net>
11406
11407 [BZ #6471]
11408 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
11409 for 2.16.
11410
edc21804
DM
114112012-03-16 David S. Miller <davem@davemloft.net>
11412
77e927af
DM
11413 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
11414 warnings.
11415
374976dd
DM
11416 [BZ #6471]
11417 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
11418 properly.
11419 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
11420 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
11421 sysdep_routines when subdir is sysvipc.
11422 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
11423 __getshmlba helper.
11424
edc21804
DM
11425 * sysdeps/sparc/fpu/libm-test/ulps: Update.
11426
473c3ef3
L
114272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11428
11429 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
11430 [__LP64__].
11431
eb0f39b6
L
114322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11433
11434 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
11435 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
11436 (__lround): Renamed to ...
11437 (__llround): This. Replace long int with long long int.
11438 Define lround functions as aliases of llround functions.
11439 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
11440
6b6cd74b
L
114412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11442
11443 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
11444 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
11445 adresses to uintptr_t. Replace "long int" and "unsigned long
11446 int" with "greg_t" on va_arg.
11447
f1a77b01
L
114482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11449
11450 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
11451 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
11452
11453 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
11454 Move e_machine check before EI_CLASS check. Handle x32
11455 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
11456 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
11457 SKIP_EM_IA_64 and include
11458 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
11459
11460 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
11461 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
11462 (add_system_dir): New macro.
11463
11464 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
11465 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
11466
11b90b9f
JM
114672012-03-16 Joseph Myers <joseph@codesourcery.com>
11468
c36e1d23
JM
11469 [BZ #2551]
11470 [BZ #2552]
11471 [BZ #2553]
11472 [BZ #2554]
11473 [BZ #2562]
11474 [BZ #2563]
11475 [BZ #2565]
11476 [BZ #2566]
11477 [BZ #2576]
11478 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
11479 (y0): Likewise.
11480 * math/w_j0f.c (j0f): Likewise.
11481 (y0f): Likewise.
11482 * math/w_j0l.c (__j0l): Likewise.
11483 (__y0l): Likewise.
11484 * math/w_j1.c (j1): Likewise.
11485 (y1): Likewise.
11486 * math/w_j1f.c (j1f): Likewise.
11487 (y1f): Likewise.
11488 * math/w_j1l.c (__j1l): Likewise.
11489 (__y1l): Likewise.
11490 * math/w_jn.c (jn): Likewise.
11491 (yn): Likewise.
11492 * math/w_jnf.c (jnf): Likewise.
11493 (ynf): Likewise.
11494 * math/w_jnl.c (__jnl): Likewise.
11495 (__ynl): Likewise.
11496 * math/libm-test.inc (j0_test): Add more tests.
11497 (j1_test): Likewise.
11498 (jn_test): Likewise. Add trailing semicolon to existing test.
11499 (y0_test): Likewise.
11500 (y1_test): Likewise.
11501 * sysdeps/i386/fpu/libm-test-ulps: Update.
11502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11503
11b90b9f
JM
11504 [BZ #13851]
11505 [BZ #13854]
11506 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11507 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
11508 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
11509 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
11510 (__tanl): Set errno for infinite argument.
11511 * sysdeps/i386/fpu/mptan.c: Remove.
11512 * sysdeps/i386/fpu/s_tan.S: Likewise.
11513 * sysdeps/i386/fpu/s_tanl.S: Likewise.
11514 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
11515 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
11516 * math/libm-test.inc (tan_test): Add more tests and enable more
11517 tests for double and long double.
11518 * sysdeps/i386/fpu/libm-test-ulps: Update.
11519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11520
6a1bd2a1
JK
115212012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11522
11523 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
11524 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
11525
10a803e0
RM
115262012-03-16 Roland McGrath <roland@hack.frob.com>
11527
11528 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
11529 * configure.in: Use it for both main tree and add-ons.
11530 * configure: Regenerated.
11531
f196c7f7
L
115322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11533
11534 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
11535
8848d99d
JM
115362012-03-16 Joseph Myers <joseph@codesourcery.com>
11537
96cbe7f4
JM
11538 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
11539 in comment.
11540
8848d99d
JM
11541 [BZ #13851]
11542 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
11543 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
11544 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
11547 infinite argument.
11548 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
11549 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
11550 != 0 for prec == 2.
11551 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
11552 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
11553 * sysdeps/i386/fpu/s_cosl.S: Likewise.
11554 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
11555 * sysdeps/i386/fpu/s_sinl.S: Likewise.
11556 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
11557 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
11558 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
11559 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
11560 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
11561 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
11562 * math/libm-test.inc (cos_test): Add more tests and enable more
11563 tests for long double.
11564 (sin_test): Likewise.
11565 (sincos_test): Likewise.
11566 * sysdeps/i386/fpu/libm-test-ulps: Update.
11567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11568
dd7f4703
DM
115692012-03-16 David S. Miller <davem@davemloft.net>
11570
11571 * sysdeps/sparc/fpu/math_private.h: New file.
11572
006f1daa
DM
115732012-03-15 David S. Miller <davem@davemloft.net>
11574
c0c83bc8
DM
11575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
11576 file.
e6a62e18 11577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
11578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
11579 file.
e6a62e18
DM
11580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
11581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
11582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
11583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
11584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
11585 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
11586 sysdep routines.
11587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11588
88cb87d9
DM
11589 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
11590 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
11591
006f1daa 11592 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
11593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
11594 sparc-ifunc.h
006f1daa 11595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
11596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
11597 Likewise.
11598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
11599 Likewise.
006f1daa
DM
11600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
11601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
11602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
11603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11604 Likewise.
006f1daa
DM
11605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
11607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
11609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
11610 Likewise.
11611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
11612 Likewise.
006f1daa
DM
11613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
11615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11619 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
11620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
11621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
11624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
11625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
11626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
11627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
11628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
11629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
11630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
11631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
11632 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
11633 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
11634 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
11635 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
11636 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
11637
11e0098e
AS
116382012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11639
11640 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
11641 scaling.
11642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11643
e85b09d0
AJ
116442012-03-15 Andreas Jaeger <aj@suse.de>
11645
11646 [BZ #13852]
11647 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
11648 ieee754/flt-32 implementation for sin, cos and sincos.
11649 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
11650 * sysdeps/i386/fpu/s_cosf.S: Likewise.
11651 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
11652 * sysdeps/i386/fpu/s_sinf.S: Likewise.
11653 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
11654 ieee754/flt-32 implementation for tan.
11655
11656 * math/libm-test.inc (cos_test): Enable some large input tests for
11657 float as well
11658 (sin_test): Likewise.
11659 (sincos_test): Likewise.
11660 (tan_test): Add tests for large input.
11661
11662 * sysdeps/i386/fpu/libm-test-ulps: Update.
11663
81c64153
AJ
116642012-03-15 Andreas Jaeger <aj@suse.de>
11665
11666 [BZ #13658]
11667 * math/libm-test.inc (cos_test): Add more test cases.
11668 (sin_test): Likewise.
11669 (sincos_test): Likewise.
11670
7bbfa5c6
AJ
116712012-03-15 Andreas Jaeger <aj@suse.de>
11672
11673 [BZ #13837]
11674 * math/libm-test.inc (cos_test): Add a test case for large input
11675 value.
11676 (sin_test): Likewise.
11677 (sincos_test): Likewise.
11678
116792012-03-15 Andreas Jaeger <aj@suse.de>,
11680 Joseph Myers <joseph@codesourcery.com>
11681
11682 [BZ #13658]
0671f479 11683 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
11684 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11685 * sysdeps/i386/fpu/branred.c: Likewise.
11686 * sysdeps/i386/fpu/dosincos.c: Likewise.
11687 * sysdeps/i386/fpu/mpa.c: Likewise.
11688 * sysdeps/i386/fpu/s_cos.S: Likewise.
11689 * sysdeps/i386/fpu/s_sin.S: Likewise.
11690 * sysdeps/i386/fpu/s_sincos.S: Likewise.
11691 * sysdeps/i386/fpu/sincos32.c: Likewise.
11692
11693 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11694 Define.
11695 (libc_feupdateenv_53bit): Define.
11696 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11697 Define.
11698 (libc_feupdateenv_53bit): Define.
11699
11700 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11701 53 bit (without extend i386 double precision).
11702
11703 * math/libm-test.inc (sincos_test): Add tests for large input.
11704 (sin): Likewise.
11705 (cos): Likewise.
11706
11707 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11708
9cad04ea
AS
117092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11710
11711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11712
f7062b9a
DM
117132012-03-15 David S. Miller <davem@davemloft.net>
11714
11715 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11716 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11717 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11718 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
11730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11731 file.
f7062b9a 11732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
11733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11734 file.
f7062b9a 11735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
11736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11737 file.
f7062b9a 11738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
11739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11740 file.
f7062b9a
DM
11741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11742 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11743 fmin/fmax sysdep routines.
11744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11745
7bd951ff
DM
117462012-03-14 David S. Miller <davem@davemloft.net>
11747
559398ab
DM
11748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11751 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11754 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11755 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11767 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11768 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11769 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11770 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11771 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11772 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11773 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11775 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11776 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11777 routines.
11778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11779 file.
559398ab 11780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
11781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11782 file.
559398ab 11783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
11784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11785 file.
559398ab 11786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
11787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11788 file.
559398ab 11789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
11790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11791 file.
559398ab 11792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
11793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11794 file.
11795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11796 file.
11797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11798 file.
11799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11800 file.
11801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11802 New file.
11803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11804 file.
11805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11806 file.
559398ab 11807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
11808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11809 file.
559398ab 11810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11812 file.
559398ab 11813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
11814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11815 file.
559398ab 11816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
11817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11818 VIS3 routines.
559398ab
DM
11819
11820 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11821 New file.
11822
5a1c1e32
DM
11823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11824
eae47a36
DM
11825 * sysdeps/sparc/configure.in: New file.
11826 * sysdeps/sparc/configure: Generate.
11827 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11828 * configure: Regenerate.
11829 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11830 * config.make.in (have-as-vis3): New.
11831 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11832 available use -Av9d instead of -Av9a.
11833 * sysdeps/sparc/sparc64/Makefile: Likewise.
11834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
11835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11836 New file.
11837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11838 file.
11839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11840 New file.
11841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11842 file.
eae47a36
DM
11843 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11844 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11845 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11846 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11847 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11848
c0c83bc8
DM
11849 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11850 fzeros/fnegs to load 0x80000000 into a float register instead of
11851 using the stack.
7bd951ff
DM
11852 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11853
bd951ccb
JM
118542012-03-14 Joseph Myers <joseph@codesourcery.com>
11855
11856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11857 bits/syscall.h.
11858 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11859 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11860 ($(inst_includedir)/bits/syscall.h): Remove rule.
11861 ($(objpfx)bits/syscall.d): Include instead of
11862 $(objpfx)syscall-list.d.
11863 (generated): Change syscall-list.h and syscall-list.d to
11864 bits/syscall.h and bits/syscall.d.
11865
bb4e6db2
RM
118662012-03-14 Roland McGrath <roland@hack.frob.com>
11867
11868 [BZ #13846]
11869 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11870
aa4a2ae1
JM
118712012-03-14 Joseph Myers <joseph@codesourcery.com>
11872
e456826d
JM
11873 [BZ #13841]
11874 * math/s_csqrt.c: Include <float.h>.
11875 (__csqrt): Scale large or subnormal inputs.
11876 * math/s_csqrtf.c: Likewise.
11877 * math/s_csqrtl.c: Likewise.
11878 * math/libm-test.inc (csqrt_test): Add more tests.
11879 * sysdeps/i386/fpu/libm-test-ulps: Update.
11880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11881
aa4a2ae1
JM
11882 [BZ #13840]
11883 * math/libm-test.inc (hypot_test): Add more tests.
11884
7c10fd35
DM
118852012-03-13 David S. Miller <davem@davemloft.net>
11886
11887 [BZ #13840]
11888 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11889 double-precision for the calculation instead of scaling.
11890
f453b98b
JM
118912012-03-13 Joseph Myers <joseph@codesourcery.com>
11892
11893 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11894 manipulate bits before adding and subtracting TWO52[sx].
11895 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11896 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11897 Likewise.
11898 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11899
09a3453f
DM
119002012-03-13 David S. Miller <davem@davemloft.net>
11901
8e59da90
DM
11902 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11903 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11904 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11905 rtld-global-offsets.h
11906 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11907
2a8ab7f2
DM
11908 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11909 large parameters.
11910
10f62770
DM
11911 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11912
5f0bdb18
DM
11913 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11914 'err' in the ifdef scope in which it is actually used.
11915
09a3453f
DM
11916 * nss/nss_db/db-init.c: Include string.h
11917
b4b2eb5e
DM
119182012-03-12 David S. Miller <davem@davemloft.net>
11919
98bb2f1c
DM
11920 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11921 masking out of the most significant byte of random value used.
11922 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11923 Fix coding style in previous change.
11924
b4b2eb5e
DM
11925 * sysdeps/unix/sysv/linux/kernel-features.h
11926 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11927 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11928 expression.
11929 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11930 later.
11931
6e226b09
DM
119322012-03-11 David S. Miller <davem@davemloft.net>
11933
a1bcbd40
DM
11934 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11935 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11936 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11937 for 'resultvar' otherwise things get truncated on 64-bit.
11938
cb9d6174
DM
11939 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11940 Fix masking out of the most significant byte of random value used.
11941
6e226b09
DM
11942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11943
058c132d
AS
119442012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11945
11946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11947
2d2cd515
DM
119482012-03-09 David S. Miller <davem@davemloft.net>
11949
11950 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11951 variables with appropriate CPP guards.
11952 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11953 frame pointer, not the stack pointer. Correct layout comments. Fix test
11954 on resulting framesize and the management of the outregs buffer for pltexit.
11955 Preserve floating point return values across _dl_call_pltexit call.
11956 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11957 framesize and the management of the outregs buffer for pltexit.
11958 Preserve floating point return values across _dl_call_pltexit
11959 call.
11960 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11961 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11962 (print_exit): Fix format string for return register value.
11963
9a07f9d0
JM
119642012-03-10 Joseph Myers <joseph@codesourcery.com>
11965
11966 * sunrpc/Makefile (others): Add rpcgen.
11967 ($(objpfx)rpcgen): Remove special build rule and dependency on
11968 libc.
11969 * sunrpc/rpcgen.c: New file.
11970
547b5e30
PE
119712012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11972
c524201a
PE
11973 [BZ #13673]
11974 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11975 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11976 * sysdeps/i386/crti.S: Likewise.
11977 * sysdeps/i386/crtn.S: Likewise.
11978 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11979 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11980 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11981 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11982 * sysdeps/sh/crti.S: Likewise.
11983 * sysdeps/sh/crtn.S: Likewise.
11984 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11985
7b6235f2
PE
11986 [BZ #13673]
11987 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11988 with URL.
11989 * locale/programs/locfile-kw.gperf: Likewise.
11990 * locale/programs/charmap-kw.h: Regenerated.
11991 * locale/programs/locfile-kw.h: Likewise.
11992
547b5e30
PE
11993 [BZ #13673]
11994 * intl/plural.y: Replace FSF snail mail address with URL.
11995 * intl/plural.c: Regenerated.
11996
5f0a5dae
RH
119972012-03-09 Richard Henderson <rth@twiddle.net>
11998
11999 * include/math_private.h: Remove file.
12000 * math/math_private.h: Move file ...
12001 * sysdeps/generic/math_private.h: ... here.
12002
b8c03620
RH
12003 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12004 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12005 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12006
4e234f5d 12007 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
12008 and <math_private.h>.
12009 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12010 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12011 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12012 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12013 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12014 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12015 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12017 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12018 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12019 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12020 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12021 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12022 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12023 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12024 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12025 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12026 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12027 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12028 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12029 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12030 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12031 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12033 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12034 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12035 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12036 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12037 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12038 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12039 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12040 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12041 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12042 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12043 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12044 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12045 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12046 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12047 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12048 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12049 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12050 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12051 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12052 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12053 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12054 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12055 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12056 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12057 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12058 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12059 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12060 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12061 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12062 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12063 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12064 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12065 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12066 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12067 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12068 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12069 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12070 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12071 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12072 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12073 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12074 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12075 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12076 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12077 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12078 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12079 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12080 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12081 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12082 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12083 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12085 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12086 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12087 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12088 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12089 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12090 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12091 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12092 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12093 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12094 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12095 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12096 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12097 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12098 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12099 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12100 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12101 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12102 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12103 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12104 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12105 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12106 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12107 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12108 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12109 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12110 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12111 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12112 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12113 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12114 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12115 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12116 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12117 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12118 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12119 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12120 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12121 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12122 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12123 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12124 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12125 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12126 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12127 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12128 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12129 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12130 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12131 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12132 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12133 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12134 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12135 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12136 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12137 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12138 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12139 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12140 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12141 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12142 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12143 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12144 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12145 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12146 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12147 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12148 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12149 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12150 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12151 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12152 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12153 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12154 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12155 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12156 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12157 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12158 * sysdeps/ieee754/k_standard.c: Likewise.
12159 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12160 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12161 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12162 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12163 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12164 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12165 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12166 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12167 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12168 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12169 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12170 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12171 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12172 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12173 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12174 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12175 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12176 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12177 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12178 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12179 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12180 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12181 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12182 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12183 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12184 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12185 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12186 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12187 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12188 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12189 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12190 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12191 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12192 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12193 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12194 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12195 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12196 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12197 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12198 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12199 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12200 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12201 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12202 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12203 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12204 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12205 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12206 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12207 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12208 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12209 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12210 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12211 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12212 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12213 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12214 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12215 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12216 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12217 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12218 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12219 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12220 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12221 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12222 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12223 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12225 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12226 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12227 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12228 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12229 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12230 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12231 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12232 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12233 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12234 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12235 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12236 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12237 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12238 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12239 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12240 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12241 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12242 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12243 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12244 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12245 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12246 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12247 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12248 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12249 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12250 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12251 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12252 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12253 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12254 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12255 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12256 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12257 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12258 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12259 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12260 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12261 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12262 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12263 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12264 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12265 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12266 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12267 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12268 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12269 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12270 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12271 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12272 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12273 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12274 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12275 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12276 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12277 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12278 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12279 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12281 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12282 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12284 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12285 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12286 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12287 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12288 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12289 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12290 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12291 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12292 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12293 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12294 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12295 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12296 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12297 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12298 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12299 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12300 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12301 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12302 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12303 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12304 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12305 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12306 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12307 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12308 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
12309 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12310 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12311 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12312 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
12314 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
12315 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12316 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12317 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12318 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12319 * sysdeps/ieee754/s_lib_version.c: Likewise.
12320 * sysdeps/ieee754/s_matherr.c: Likewise.
12321 * sysdeps/ieee754/s_signgam.c: Likewise.
12322 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12323 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12324 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12325 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12326 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12327 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12328 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
12329 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
12330 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
12331 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12332 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12333 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12334 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12335 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12336 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
12337 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12338 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12339 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12340 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12341 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12342 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 12343
1991fa03
JM
123442012-03-09 Joseph Myers <joseph@codesourcery.com>
12345
12346 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
12347 * sunrpc/rpc_main.c: Likewise.
12348 * sunrpc/rpc_svcout.c: Likewise.
12349
60d6f5a6
DM
123502012-03-09 David S. Miller <davem@davemloft.net>
12351
12352 * include/math_private.h: New file.
12353
4962050e
JM
123542012-03-09 Joseph Myers <joseph@codesourcery.com>
12355
02a6f887
JM
12356 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
12357 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
12358 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
12359 from <bits/socket_type.h>.
12360 (enum __socket_type): Don't define here.
12361 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
12362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12363 bits/socket_type.h.
12364
c6e013c1
JM
12365 [BZ #13566]
12366 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
12367 checking __USE_GNU.
12368
4962050e
JM
12369 * Makerules ($(inst_includedir)/%.h): New rule.
12370 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
12371 (install-others): Remove variable setting.
12372 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
12373
38842f45
RH
123742012-03-08 Richard Henderson <rth@twiddle.net>
12375
67bb6da6
RH
12376 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
12377 from macro to inline function; merge with the
12378 !__LIBC_INTERNAL_MATH_INLINES version.
12379 (__ieee754_sqrtf): Likewise.
12380
15194b4b
RH
12381 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
12382 to inline function.
12383 (__rintf, __floor, __floorf): Likewise.
12384
64e21ede
RH
12385 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
12386 macro to inline function.
12387 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
12388
38842f45
RH
12389 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
12390 not <math/math_private.h>.
12391
c64bf5fe
DM
123922012-03-08 David S. Miller <davem@davemloft.net>
12393
12394 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
12395 copyright year.
12396 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12397
82d86f28
TS
123982012-03-08 Thomas Schwinge <thomas@codesourcery.com>
12399
12400 * resolv/gai_misc.c (handle_requests): Fix struct timespec
12401 normalization.
12402 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
12403 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12404
aea5d727
UD
124052012-03-08 Ulrich Drepper <drepper@gmail.com>
12406
12407 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
12408 be defined individually, they must be defined as a block. Define
12409 S for printing a string instead of hidint the different by using a
12410 macro for adding the 'l'.
12411 * stdio-common/tst-fphex-wide.c: Adjust.
12412
70bca0a3
MP
124132012-03-07 Marek Polacek <polacek@redhat.com>
12414
12415 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
12416
65b81130
MP
124172012-03-08 Marek Polacek <polacek@redhat.com>
12418
12419 [BZ #13806]
12420 * stdio-common/Makefile (tests): Add tst-fphex-wide.
12421 * stdio-common/tst-fphex.c: Define a few macros to make the
12422 test reusable. Use them.
12423 * stdio-common/tst-fphex-wide.c: New file.
12424
07037eeb
JM
124252012-03-08 Joseph Myers <joseph@codesourcery.com>
12426
a7a93d50
JM
12427 [BZ #6911]
12428 * manual/macros.texi (gnusystems): New macro.
12429 (nongnusystems): Likewise.
12430 (gnulinuxhurdsystems): Likewise.
12431 (gnuhurdsystems): Likewise..
12432 (gnulinuxsystems): Likewise.
12433 * manual/charset.texi: Use new macros or @theglibc{} to refer to
12434 variants of the GNU system, not "GNU system".
12435 * manual/conf.texi: Likewise.
12436 * manual/errno.texi: Likewise. Update example of errno macro
12437 expansion.
12438 * manual/filesys.texi: Likewise.
12439 (getumask): Document as specific to GNU/Hurd.
12440 * manual/install.texi: Likewise. Reword some references to
12441 GNU/Linux.
12442 * manual/intro.texi: Likewise.
12443 * manual/io.texi: Likewise.
12444 (File Name Portability): Detail which constraints are inapplicable
12445 to all GNU systems and which are only inapplicable to GNU/Hurd.
12446 * manual/job.texi: Likewise.
12447 * manual/llio.texi: Likewise.
12448 (O_NOCTTY): Document as present on GNU/Linux.
12449 * manual/maint.texi: Likewise.
12450 * manual/memory.texi: Likewise.
12451 * manual/pattern.texi: Likewise.
12452 * manual/pipe.texi: Likewise.
12453 * manual/process.texi: Likewise.
12454 * manual/resource.texi: Likewise.
12455 (RUSAGE_CHILDREN): Remove statement about specifying a particular
12456 child on GNU/Hurd.
12457 * manual/setjmp.texi: Likewise.
12458 * manual/signal.texi: Likewise.
12459 * manual/startup.texi: Likewise.
12460 * manual/stdio.texi: Likewise.
12461 * manual/terminal.texi: Likewise.
12462 (ONLCR): Document as POSIX.
12463 (OXTABS): Document availability on GNU/Linux as XTABS.
12464 (ONOEOT): Document availability separately from other bits.
12465 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
12466 * manual/time.texi: Likewise.
12467 * manual/users.texi: Likewise.
12468 * INSTALL: Regenerated.
12469 * sysdeps/gnu/errlist.c: Regenerated.
12470
07037eeb
JM
12471 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
12472 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
12473 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
12474 puts.
12475 * configure: Regenerated.
12476
d1d3431a
JM
124772012-03-07 Joseph Myers <joseph@codesourcery.com>
12478
af6a1e37
JM
12479 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
12480 default includes instead of AC_HEADER_CHECK.
12481 * sysdeps/i386/configure: Regenerated.
12482
d1d3431a
JM
12483 [BZ #10716]
12484 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
12485 * math/s_cacoshf.c (__cacoshf): Likewise.
12486 * math/s_cacoshl.c (__cacoshl): Likewise.
12487 * math/s_casinh.c (__casinh): Set signs of result from argument.
12488 * math/s_casinhf.c (__casinhf): Likewise.
12489 * math/s_casinhl.c (__casinhl): Likewise.
12490 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
12491 (casinh_test): Add more tests.
12492 * sysdeps/i386/fpu/libm-test-ulps: Update.
12493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12494
482ff4da
UD
124952012-03-07 Ulrich Drepper <drepper@gmail.com>
12496
872fda05
UD
12497 * po/zh_TW.po: Update from translation team.
12498
a4300c7a
UD
12499 * login/Makefile (distribute): Remove variable.
12500 * catgets/Makefile: Likewise.
12501 * mach/Makefile: Likewise.
12502 * malloc/Makefile: Likewise.
12503 * misc/Makefile: Likewise.
12504 * iconv/Makefile: Likewise.
12505 * nscd/Makefile: Likewise.
12506 * hurd/Makefile: Likewise.
12507 * manual/Makefile: Likewise.
12508 * locale/Makefile: Likewise.
12509 * intl/Makefile: Likewise.
12510 * conform/Makefile: Likewise.
12511 * nss/Makefile: Likewise.
12512 * time/Makefile: Likewise.
12513 * soft-fp/Makefile: Likewise.
12514 * dirent/Makefile: Likewise.
12515 * gmon/Makefile: Likewise.
12516 * po/Makefile: Likewise.
12517 * rt/Makefile: Likewise.
12518 * socket/Makefile: Likewise.
12519 * math/Makefile: Likewise.
12520 * signal/Makefile: Likewise.
12521 * debug/Makefile: Likewise.
12522 * elf/Makefile: Likewise.
12523 * timezone/Makefile: Likewise.
12524 * stdlib/Makefile: Likewise.
12525 * iconvdata/Makefile: Likewise.
12526 * sunrpc/Makefile: Likewise.
12527 * io/Makefile: Likewise.
12528 * argp/Makefile: Likewise.
12529 * inet/Makefile: Likewise.
12530 * hesiod/Makefile: Likewise.
12531 * grp/Makefile: Likewise.
12532 * csu/Makefile: Likewise.
12533 * wctype/Makefile: Likewise.
12534 * crypt/Makefile: Likewise.
12535 * libio/Makefile: Likewise.
12536 * string/Makefile: Likewise.
12537 * nis/Makefile: Likewise.
12538 * resolv/Makefile: Likewise.
12539 * stdio-common/Makefile: Likewise.
12540 * wcsmbs/Makefile: Likewise.
12541 * dlfcn/Makefile: Likewise.
12542 * posix/Makefile: Likewise.
12543
3b7c4e74 12544 [BZ #6959]
482ff4da
UD
12545 * timezone/Makefile: Don't install timezone files, just the programs
12546 and scripts.
12547
f72ed77d
UD
125482012-03-06 Ulrich Drepper <drepper@gmail.com>
12549
a000466f
UD
12550 * nss/databases.def: Add missing gshadow entry.
12551
f72ed77d
UD
12552 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
12553
a53b7a4e
MP
125542012-03-06 Marek Polacek <polacek@redhat.com>
12555
12556 [BZ #13726]
12557 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
12558 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12559 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
12560 * stdio-common/tst-long-dbl-fphex.c: New file.
12561
e9258400
DM
125622012-03-06 David S. Miller <davem@davemloft.net>
12563
12564 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12565 (set_obp_int): New function.
12566 (get_obp_int): New function.
12567 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
12568 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
12569 Avoid unused variable warnings on 'val' and use builtin_expect.
12570 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
12571 __builtin_expect.
e9258400
DM
12572 (INLINE_CLONE_SYSCALL): Likewise.
12573
3bd2c723
DM
125742012-03-05 David S. Miller <davem@davemloft.net>
12575
12576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12577
bbb78d03
AS
125782012-03-05 Andreas Schwab <schwab@linux-m68k.org>
12579
884c5db4
AS
12580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12581
bbb78d03
AS
12582 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
12583 only for |x| >= 40.
12584 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12585
1c9f702a 125862012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
12587
12588 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
12589 Replace gettimeofday with __vdso_gettimeofday.
12590
7be16f82
RM
12591 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12592 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
12593 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
12594
12595 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
12596 time with __vdso_time.
12597
ed58a00f
JM
125982012-03-05 Joseph Myers <joseph@codesourcery.com>
12599
12600 * manual/lang.texi (size_t): Note types to which size_t may be
12601 equivalent with the GNU C Library, but do not describe when
12602 differences between them are significant.
12603
30ee4ced
AJ
126042012-03-05 Andreas Jaeger <aj@suse.de>
12605
12606 * sysdeps/i386/fpu/libm-test-ulps: Update.
12607
b7cd39e8
JM
126082012-03-05 Joseph Myers <joseph@codesourcery.com>
12609
12610 [BZ #3976]
12611 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
12612 (__ieee754_pow): Save and restore rounding mode and use
12613 round-to-nearest for main computations.
12614 * math/libm-test.inc (pow_test_tonearest): New function.
12615 (pow_test_towardzero): Likewise.
12616 (pow_test_downward): Likewise.
12617 (pow_test_upward): Likewise.
12618 (main): Call the new functions.
12619 * sysdeps/i386/fpu/libm-test-ulps: Update.
12620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
12621
12622 [BZ #3976]
12623 * math/libm-test.inc (cosh_test_tonearest): New function.
12624 (cosh_test_towardzero): Likewise.
12625 (cosh_test_downward): Likewise.
12626 (cosh_test_upward): Likewise.
12627 (sinh_test_tonearest): Likewise.
12628 (sinh_test_towardzero): Likewise.
12629 (sinh_test_downward): Likewise.
12630 (sinh_test_upward): Likewise.
12631 (main): Call the new functions.
12632 * sysdeps/i386/fpu/libm-test-ulps: Update.
12633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12634
6c6a98c9
TV
126352012-03-05 Tom de Vries <tom@codesourcery.com>
12636
12637 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
12638 default stack guard is set in last bytes.
12639 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
12640
21bb2d2e 126412012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 12642
21bb2d2e 12643 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 12644
21bb2d2e
AJ
12645 [BZ #13656]
12646 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
12647 possibly allocate from heap instead of stack.
12648 * stdio-common/bug-vfprintf-nargs.c: New file.
12649 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 12650
c6922934
AS
126512012-03-03 Andreas Schwab <schwab@linux-m68k.org>
12652
12653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12654
bc957d53
MP
126552012-03-03 Marek Polacek <polacek@redhat.com>
12656
12657 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
12658 * math/math_private.h: Likewise.
12659 * stdlib/tst-strtod.c: Likewise.
12660 * sysdeps/i386/i486/bits/atomic.h: Likewise.
12661 * sysdeps/x86_64/bits/atomic.h: Likewise.
12662
6358490d
DM
126632012-03-02 David S. Miller <davem@davemloft.net>
12664
12665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
12666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
12667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
12668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
12669 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
12670 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
12671 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
12672 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
12673
01ae168d
RM
126742012-03-02 Roland McGrath <roland@hack.frob.com>
12675
d9a17c07
RM
12676 [BZ #13792]
12677 * manual/examples/README: New file, says the example source files
12678 can be used under GPL>=2.
12679 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12680 line containing just "*/".
12681 * manual/examples/add.c: Add copyright header (GPL>=2).
12682 * manual/examples/argp-ex1.c: Likewise.
12683 * manual/examples/argp-ex2.c: Likewise.
12684 * manual/examples/argp-ex3.c: Likewise.
12685 * manual/examples/argp-ex4.c: Likewise.
12686 * manual/examples/atexit.c: Likewise.
12687 * manual/examples/db.c: Likewise.
12688 * manual/examples/dir.c: Likewise.
12689 * manual/examples/dir2.c: Likewise.
12690 * manual/examples/execinfo.c: Likewise.
12691 * manual/examples/filecli.c: Likewise.
12692 * manual/examples/filesrv.c: Likewise.
12693 * manual/examples/fmtmsgexpl.c: Likewise.
12694 * manual/examples/genpass.c: Likewise.
12695 * manual/examples/inetcli.c: Likewise.
12696 * manual/examples/inetsrv.c: Likewise.
12697 * manual/examples/isockad.c: Likewise.
12698 * manual/examples/longopt.c: Likewise.
12699 * manual/examples/memopen.c: Likewise.
12700 * manual/examples/memstrm.c: Likewise.
12701 * manual/examples/mkfsock.c: Likewise.
12702 * manual/examples/mkisock.c: Likewise.
12703 * manual/examples/mygetpass.c: Likewise.
12704 * manual/examples/pipe.c: Likewise.
12705 * manual/examples/popen.c: Likewise.
12706 * manual/examples/rprintf.c: Likewise.
12707 * manual/examples/search.c: Likewise.
12708 * manual/examples/select.c: Likewise.
12709 * manual/examples/setjmp.c: Likewise.
12710 * manual/examples/sigh1.c: Likewise.
12711 * manual/examples/sigusr.c: Likewise.
12712 * manual/examples/stpcpy.c: Likewise.
12713 * manual/examples/strdupa.c: Likewise.
12714 * manual/examples/strftim.c: Likewise.
12715 * manual/examples/strncat.c: Likewise.
12716 * manual/examples/subopt.c: Likewise.
12717 * manual/examples/swapcontext.c: Likewise.
12718 * manual/examples/termios.c: Likewise.
12719 * manual/examples/testopt.c: Likewise.
12720 * manual/examples/testpass.c: Likewise.
12721 * manual/examples/timeval_subtract.c: Likewise.
12722
01ae168d
RM
12723 [BZ #13792]
12724 * manual/time.texi (Elapsed Time): Move timeval_subtract example
12725 function to ...
12726 * manual/timeval_subtract.c.texi: ... here, new file.
12727
49efa33d
DM
127282012-03-02 David S. Miller <davem@davemloft.net>
12729
12730 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12731
28afd92d
JM
127322012-03-02 Joseph Myers <joseph@codesourcery.com>
12733
804360ed
JM
12734 [BZ #3976]
12735 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12736 (__sin): Save and restore rounding mode and use round-to-nearest
12737 for all computations.
12738 (__cos): Save and restore rounding mode and use round-to-nearest
12739 for all computations.
12740 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12741 <fenv.h>.
12742 (tan): Save and restore rounding mode and use round-to-nearest for
12743 all computations.
12744 * math/libm-test.inc (cos_test_tonearest): New function.
12745 (cos_test_towardzero): Likewise.
12746 (cos_test_downward): Likewise.
12747 (cos_test_upward): Likewise.
12748 (sin_test_tonearest): Likewise.
12749 (sin_test_towardzero): Likewise.
12750 (sin_test_downward): Likewise.
12751 (sin_test_upward): Likewise.
12752 (tan_test_tonearest): Likewise.
12753 (tan_test_towardzero): Likewise.
12754 (tan_test_downward): Likewise.
12755 (tan_test_upward): Likewise.
12756 (main): Call the new functions.
12757 * sysdeps/i386/fpu/libm-test-ulps: Update.
12758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12759
a6d06d7b
JM
12760 [BZ #10135]
12761 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12762 small n, then large n, before computing and testing k+n.
12763 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12764 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12765 Likewise.
12766 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12767 Likewise.
12768 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12769 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12770 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12771 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12772 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12773 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12774 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12775 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12776 * math/libm-test.inc (scalbn_test): Add more tests.
12777 (scalbln_test): Likewise.
12778
07e12bb3
JM
12779 * manual/filesys.texi (mode_t): Describe constraints on size and
12780 signedness, not exact equivalence to a particular type.
12781 (ino_t): Likewise.
12782 (ino64_t): Likewise.
12783 (dev_t): Likewise.
12784 (nlink_t): Likewise.
12785 (blkcnt_t): Likewise.
12786 (blkcnt64_t): Likewise.
12787 * manual/llio.texi (off_t): Likewise.
12788
28afd92d
JM
12789 [BZ #3976]
12790 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12791 (__ieee754_exp): Save and restore rounding mode and use
12792 round-to-nearest for all computations.
12793 * math/libm-test.inc (exp_test_tonearest): New function.
12794 (exp_test_towardzero): Likewise.
12795 (exp_test_downward): Likewise.
12796 (exp_test_upward): Likewise.
12797 (main): Call the new functions.
12798 * sysdeps/i386/fpu/libm-test-ulps: Update.
12799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12800
b1eeb65d
CD
128012012-03-01 Chris Demetriou <cgd@google.com>
12802
12803 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12804 have predictable order.
12805
53362a4b
DM
128062012-03-01 David S. Miller <davem@davemloft.net>
12807
3c969083
DM
12808 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12809
759707de
DM
12810 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12811 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12812 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12813 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12814
dfdb8ff2
DM
12815 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12816 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12817 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12819 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12820 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12821 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12822 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12823 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12824
ead89f96
DM
12825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12826
7f66bd07
DM
12827 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12828 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12829 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12830
53362a4b
DM
12831 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12832 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12833 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12834 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12835 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12836 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12837 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12838 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12839 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12840 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12841 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12842 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12843 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12844 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12845 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12847 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12848 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12849 * sysdeps/sparc/elf/configure: Regenerated.
12850
7b1902cb
JM
128512012-03-01 Joseph Myers <joseph@codesourcery.com>
12852
bec039bc
JM
12853 * configure.in (AS, LD): Require binutils 2.20 or later.
12854 * configure: Regenerated.
12855 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12856 as required minimum version.
12857 * INSTALL: Regenerated.
12858
7b1902cb
JM
12859 [BZ #2541]
12860 [BZ #4108]
12861 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12862 before squaring exponent.
12863 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12864 bottom long double and 27 bits of top long double before squaring
12865 exponent.
12866 * math/libm-test.inc (erfc_test): Add more tests.
12867 * sysdeps/i386/fpu/libm-test-ulps: Update.
12868 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12870
f775c276
KT
128712012-03-01 Kai Tietz <ktietz@redhat.com>
12872
12873 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12874 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12875 containing bit-fields.
12876 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12877 * soft-fp/single.h (_FP_UNION_S): Likewise.
12878 * soft-fp/double.h (_FP_UNION_D): Likewise.
12879
5b8a4d4a
JM
128802012-02-29 Joseph Myers <joseph@codesourcery.com>
12881
0bab47b6
JM
12882 [BZ #13786]
12883 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12884 not include ../strcmp.S.
12885 [USE_AS_STRNCASECMP_L]: Likewise.
12886 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12887 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12888 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12889 (__strncasecmp_l_ia32): Define as alias to
12890 __strncasecmp_l_nonascii.
12891
0fcad3e2
JM
12892 [BZ #5794]
12893 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12894 * sysdeps/i386/fpu/libm-test-ulps: Update.
12895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12896
5b8a4d4a
JM
12897 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12899
8fdceb2e
JL
129002012-02-29 Jeff Law <law@redhat.com>
12901
12902 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12903 out of bounds read.
12904
1f393a11
MP
129052012-02-29 Marek Polacek <polacek@redhat.com>
12906
12907 [BZ #13706]
12908 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12909 * elf/Makefile: Add rules to run tst-unused-dep.out.
12910
8847f037
DM
129112012-02-28 David S. Miller <davem@davemloft.net>
12912
12913 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12914 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12915 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12916 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12917 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12918 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12919
169d7f11
JM
129202012-02-29 Joseph Myers <joseph@codesourcery.com>
12921
12922 * math/libm-test.inc (llround_test): Move one test from
12923 lround_test. Use TEST_f_L in moved test.
12924 (lround_test): Move misplaced test to llround_test. Add testcase
12925 from bug 2561.
12926
39adf059
UD
129272012-02-28 Ulrich Drepper <drepper@gmail.com>
12928
12929 * sysdeps/x86_64/fpu/e_expf.S: New file.
12930 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12931
71b5d1c5
SB
129322012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12933
12934 [BZ #13637]
12935 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12936 of remain_len that may cause incomplete multi-byte character and
12937 false match.
12938 * posix/bug-regex33.c: New file.
12939 * posix/Makefile (tests): Add bug-regex33.
12940
1f77f049
JM
129412012-02-28 Joseph Myers <joseph@codesourcery.com>
12942
12943 * manual/macros.texi: New file.
12944 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12945 * manual/libc.texinfo: Include macros.texi.
12946 * manual/creatute.texi: Likewise.
12947 * manual/install.texi: Likewise.
12948 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12949 @glibcadj{} in references to the GNU C Library.
12950 * manual/charset.texi: Likewise.
12951 * manual/conf.texi: Likewise.
12952 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12953 when not using those macros.
12954 * manual/creature.texi: Likewise.
12955 * manual/crypt.texi: Likewise.
12956 * manual/errno.texi: Likewise.
12957 * manual/filesys.texi: Likewise.
12958 * manual/header.texi: Likewise.
12959 * manual/install.texi: Likewise.
12960 * manual/intro.texi: Likewise.
12961 * manual/io.texi: Likewise.
12962 * manual/job.texi: Likewise.
12963 * manual/lang.texi: Likewise.
12964 * manual/libc.texiinfo: Likewise.
12965 * manual/llio.texi: Likewise.
12966 * manual/locale.texi: Likewise.
12967 * manual/maint.texi: Likewise.
12968 * manual/math.texi: Likewise.
12969 * manual/memory.texi: Likewise.
12970 * manual/message.texi: Likewise.
12971 * manual/nss.texi: Likewise.
12972 * manual/pattern.texi: Likewise.
12973 * manual/process.texi: Likewise.
12974 * manual/resource.texi: Likewise.
12975 * manual/search.texi: Likewise.
12976 * manual/setjmp.texi: Likewise.
12977 * manual/signal.texi: Likewise.
12978 * manual/socket.texi: Likewise.
12979 * manual/startup.texi: Likewise.
12980 * manual/stdio.texi: Likewise.
12981 * manual/string.texi: Likewise.
12982 * manual/sysinfo.texi: Likewise.
12983 * manual/syslog.texi: Likewise.
12984 * manual/terminal.texi: Likewise.
12985 * manual/time.texi: Likewise.
12986 * manual/users.texi: Likewise.
12987 * INSTALL: Regenerated.
12988 * NOTES: Regenerated.
d40c5d54 12989 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 12990
450bf206
AS
129912012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12992
12993 * include/dirent.h: Include <dirstream.h> before
12994 <dirent/dirent.h>.
12995
741a235b
DM
129962012-02-28 David S. Miller <davem@davemloft.net>
12997
12998 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12999 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13000 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13001 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13002
d6b5aa58
DM
130032012-02-27 David S. Miller <davem@davemloft.net>
13004
1aff59a3
DM
13005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13007 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13008 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13009
d6b5aa58
DM
13010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13011 frame pointer instead of stack pointer relative arg slot.
13012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13013 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13014 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13015
433f48bf
CD
130162012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13017
13018 [BZ #3992]
13019 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13020
d674b76d
DM
130212012-02-27 David S. Miller <davem@davemloft.net>
13022
13023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13027 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13028 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13029 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13030 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13031
0e7727f7
JM
130322012-02-27 Joseph Myers <joseph@codesourcery.com>
13033
13034 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13035 later. Allow versions 5-9.
43be4ca2 13036 * configure: Regenerated.
0e7727f7
JM
13037 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13038 required minimum version and 4.6 as recommended version. Do not
13039 mention bugs in GCC 2.7 and 2.8.
43be4ca2 13040 * INSTALL: Regenerated.
0e7727f7 13041
a78bc654
DM
130422012-02-27 David S. Miller <davem@davemloft.net>
13043
428d5830
DM
13044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13048 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13049 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13050 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13051 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13052
a78bc654
DM
13053 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13054 manipulate bits before adding and subtracting TWO112[sx].
13055 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13056
4579f81c
RM
130572012-02-27 Roland McGrath <roland@hack.frob.com>
13058
36c8acb4
RM
13059 [BZ #13775]
13060 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13061 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13062 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13063 being in POSIX, because they are in 1003.1-2008.
13064
84ad622b
RM
13065 * rt/tst-aio.c: Include <fcntl.h>.
13066 * rt/tst-aio7.c: Likewise.
13067 * rt/tst-aio64.c: Likewise.
13068
4579f81c
RM
13069 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13070
abd923db
JM
130712012-02-27 Joseph Myers <joseph@codesourcery.com>
13072
13073 * manual/install.texi (--with-headers): Describe headers as
13074 interface headers, not private headers.
13075 (Specific advice for GNU/Linux systems): Describe use of headers
13076 from "make headers_install", not private headers from older
13077 kernels.
43be4ca2 13078 * INSTALL: Regenerated.
abd923db
JM
13079 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13080 Change to 2.6.19.
13081 * sysdeps/unix/sysv/linux/configure: Regenerated.
13082
6664049b
JM
13083 * manual/llio.texi (fclean): Remove documentation.
13084
bb8b6697
JM
13085 * manual/Makefile (libc-texi-generated): New variable. Include
13086 version.texi.
13087 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13088 $(libc-texi-generated), not duplicated list of files.
13089 (version.texi, stamp-version): New rules.
13090 (realclean): Remove $(libc-texi-generated), not individual files
13091 from that list. Do not remove dir-add.texinfo.
13092 * manual/libc.texinfo: Comment out uses of edition numbers and
13093 references to printed manual. Remove last-updated dates.
13094 (EDITION): Comment out.
13095 (ISBN): Likewise.
13096 (VERSION, UPDATED): Remove.
13097 (version.texi): Include.
13098
12e5c3b9
AS
130992012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13100
13101 * sysdeps/posix/spawni.c: Include <signal.h>.
13102 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13103 * sysdeps/pthread/aio_fsync.c: Likewise.
13104
4efeffc1 131052012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 13106
ba63ba08
UD
13107 * conform/Makefile (tests): Run only when not cross-compiling and
13108 when fast-check is not defined.
13109
d94a4670
UD
13110 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13111 * conform/data/limits.h-data: Fixes for POSIX2008.
13112 * conform/run-conformtest.sh: Run all tests.
13113 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13114 headers.
13115 * include/bits/dlfcn.h: Likewise.
13116 * include/langinfo.h: Likewise.
13117 * include/monetary.h: Likewise.
13118 * include/sys/poll.h: Likewise.
13119
13120 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13121 for __USE_GNU.
13122 * posix/spawn.h: Define __need_sigset_t.
13123 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13124 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13125 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13126 to get sigevent_t only.
13127 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13128 only for __USE_GNU.
13129 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13130 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13131 process_vm_writev only for __USE_GNU.
13132 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
13133
13134 * conform/Makefile: For now ignore errors from run-conformtest.
13135 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13136 POSIX to avoid namespace pollution. Don't prepend headers.
13137 * conform/data/aio.h-data: Fixes for POSIX testing.
13138 * conform/data/fcntl.h-data: Likewise.
13139 * conform/data/glob.h-data: Likewise.
13140 * conform/data/grp.h-data: Likewise.
13141 * conform/data/pthread.h-data: Likewise.
13142 * conform/data/pwd.h-data: Likewise.
13143 * conform/data/signal.h-data: Likewise.
13144 * conform/data/spawn.h-data: Likewise.
13145 * conform/data/stdio.h-data: Likewise.
13146 * conform/data/stdlib.h-data: Likewise.
13147 * conform/data/stropts.h-data: Likewise.
13148 * conform/data/sys/mman.h-data: Likewise.
13149 * conform/data/sys/stat.h-data: Likewise.
13150 * conform/data/sys/types.h-data: Likewise.
13151 * conform/data/sys/wait.h-data: Likewise.
13152 * conform/data/time.h-data: Likewise.
13153 * conform/data/unistd.h-data: Likewise.
13154 * conform/data/utime.h-data: Likewise.
13155
13156 * io/sys/stat.h: fchmod was always in POSIX.
13157 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13158 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13159 * rt/aio.h: Define __need_timespec before including <time.h>.
13160 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13161 struct. Add forward declaration of pthread_attr_t and use it in
13162 sigevent.
13163 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13164 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13165 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13166 always remove CLK_TCK definition.
13167
c20105c3
AS
131682012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13169
13170 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13171
7a270350
UD
131722012-02-25 Ulrich Drepper <drepper@gmail.com>
13173
31341567
UD
13174 * conform/run-conformtest.sh: New file.
13175 * conform/Makefile: Run run-conformtest for tests.
13176 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13177 support.
13178
13179 * conform/data/uchar.h-data: New file.
13180 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13181 * conform/data/arpa/inet.h-data: Likewise.
13182 * conform/data/assert.h-data: Likewise.
13183 * conform/data/complex.h-data: Likewise.
13184 * conform/data/cpio.h-data: Likewise.
13185 * conform/data/ctype.h-data: Likewise.
13186 * conform/data/dirent.h-data: Likewise.
13187 * conform/data/dlfcn.h-data: Likewise.
13188 * conform/data/errno.h-data: Likewise.
13189 * conform/data/fcntl.h-data: Likewise.
13190 * conform/data/float.h-data: Likewise.
13191 * conform/data/fmtmsg.h-data: Likewise.
13192 * conform/data/fnmatch.h-data: Likewise.
13193 * conform/data/ftw.h-data: Likewise.
13194 * conform/data/glob.h-data: Likewise.
13195 * conform/data/grp.h-data: Likewise.
13196 * conform/data/iconv.h-data: Likewise.
13197 * conform/data/inttypes.h-data: Likewise.
13198 * conform/data/langinfo.h-data: Likewise.
13199 * conform/data/libgen.h-data: Likewise.
13200 * conform/data/limits.h-data: Likewise.
13201 * conform/data/locale.h-data: Likewise.
13202 * conform/data/math.h-data: Likewise.
13203 * conform/data/monetary.h-data: Likewise.
13204 * conform/data/mqueue.h-data: Likewise.
13205 * conform/data/ndbm.h-data: Likewise.
13206 * conform/data/net/if.h-data: Likewise.
13207 * conform/data/netdb.h-data: Likewise.
13208 * conform/data/netinet/in.h-data: Likewise.
13209 * conform/data/nl_types.h-data: Likewise.
13210 * conform/data/poll.h-data: Likewise.
13211 * conform/data/pthread.h-data: Likewise.
13212 * conform/data/pwd.h-data: Likewise.
13213 * conform/data/regex.h-data: Likewise.
13214 * conform/data/sched.h-data: Likewise.
13215 * conform/data/search.h-data: Likewise.
13216 * conform/data/semaphore.h-data: Likewise.
13217 * conform/data/setjmp.h-data: Likewise.
13218 * conform/data/signal.h-data: Likewise.
13219 * conform/data/spawn.h-data: Likewise.
13220 * conform/data/stdarg.h-data: Likewise.
13221 * conform/data/stdio.h-data: Likewise.
13222 * conform/data/stdlib.h-data: Likewise.
13223 * conform/data/string.h-data: Likewise.
13224 * conform/data/strings.h-data: Likewise.
13225 * conform/data/stropts.h-data: Likewise.
13226 * conform/data/sys/ipc.h-data: Likewise.
13227 * conform/data/sys/mman.h-data: Likewise.
13228 * conform/data/sys/msg.h-data: Likewise.
13229 * conform/data/sys/resource.h-data: Likewise.
13230 * conform/data/sys/select.h-data: Likewise.
13231 * conform/data/sys/sem.h-data: Likewise.
13232 * conform/data/sys/shm.h-data: Likewise.
13233 * conform/data/sys/socket.h-data: Likewise.
13234 * conform/data/sys/stat.h-data: Likewise.
13235 * conform/data/sys/statvfs.h-data: Likewise.
13236 * conform/data/sys/time.h-data: Likewise.
13237 * conform/data/sys/timeb.h-data: Likewise.
13238 * conform/data/sys/times.h-data: Likewise.
13239 * conform/data/sys/types.h-data: Likewise.
13240 * conform/data/sys/uio.h-data: Likewise.
13241 * conform/data/sys/un.h-data: Likewise.
13242 * conform/data/sys/utsname.h-data: Likewise.
13243 * conform/data/sys/wait.h-data: Likewise.
13244 * conform/data/syslog.h-data: Likewise.
13245 * conform/data/tar.h-data: Likewise.
13246 * conform/data/termios.h-data: Likewise.
13247 * conform/data/utime.h-data: Likewise.
13248 * conform/data/utmpx.h-data: Likewise.
13249 * conform/data/varargs.h-data: Likewise.
13250 * conform/data/wchar.h-data: Likewise.
13251 * conform/data/wctype.h-data: Likewise.
13252 * conform/data/wordexp.h-data: Likewise.
13253
13254 * include/stropts.h: New file.
13255 * include/uchar.h: New file.
13256 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13257 * include/assert.h: Likewise.
13258 * include/ctype.h: Likewise.
13259 * include/dirent.h: Likewise.
13260 * include/dlfcn.h: Likewise.
13261 * include/fcntl.h: Likewise.
13262 * include/fnmatch.h: Likewise.
13263 * include/glob.h: Likewise.
13264 * include/grp.h: Likewise.
13265 * include/libio.h: Likewise.
13266 * include/locale.h: Likewise.
13267 * include/math.h: Likewise.
13268 * include/net/if.h: Likewise.
13269 * include/netdb.h: Likewise.
13270 * include/netinet/in.h: Likewise.
13271 * include/pthread.h: Likewise.
13272 * include/pwd.h: Likewise.
13273 * include/regex.h: Likewise.
13274 * include/sched.h: Likewise.
13275 * include/search.h: Likewise.
13276 * include/setjmp.h: Likewise.
13277 * include/signal.h: Likewise.
13278 * include/stdio.h: Likewise.
13279 * include/stdlib.h: Likewise.
13280 * include/string.h: Likewise.
13281 * include/sys/cdefs.h: Likewise.
13282 * include/sys/mman.h: Likewise.
13283 * include/sys/msg.h: Likewise.
13284 * include/sys/resource.h: Likewise.
13285 * include/sys/select.h: Likewise.
13286 * include/sys/socket.h: Likewise.
13287 * include/sys/stat.h: Likewise.
13288 * include/sys/statvfs.h: Likewise.
13289 * include/sys/time.h: Likewise.
13290 * include/sys/times.h: Likewise.
13291 * include/sys/uio.h: Likewise.
13292 * include/sys/utsname.h: Likewise.
13293 * include/sys/wait.h: Likewise.
13294 * include/termios.h: Likewise.
13295 * include/time.h: Likewise.
13296 * include/ulimit.h: Likewise.
13297 * include/unistd.h: Likewise.
13298 * include/utime.h: Likewise.
13299 * include/wchar.h: Likewise.
13300 * include/wctype.h: Likewise.
13301 * include/wordexp.h: Likewise.
13302
13303 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13304
7a270350
UD
13305 * time/time.h: TIME_UTC must be a macro.
13306 Make timespec_get available for ISO C11 only as well.
13307
7724defc
UD
133082012-02-24 Ulrich Drepper <drepper@gmail.com>
13309
13310 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
13311 Reported by Peng Haitao <penght@cn.fujitsu.com>.
13312
6b1d1d46
JM
133132012-02-24 Joseph Myers <joseph@codesourcery.com>
13314
13315 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 13316
0f8bbd69
JM
133172012-02-24 Joseph Myers <joseph@codesourcery.com>
13318
13319 * manual/texinfo.tex: Update to version 2012-01-19.16.
13320
66ab80bc
JM
133212012-02-24 Joseph Myers <joseph@codesourcery.com>
13322
13323 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
13324
74981cc5
RM
133252012-02-24 Roland McGrath <roland@hack.frob.com>
13326
ee968201
RM
13327 [BZ #13738]
13328 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
13329 * manual/fdl-1.3.texi: New file.
13330 * manual/fdl-1.1.texi: File removed.
13331
74981cc5
RM
13332 [BZ #13738]
13333 * manual/libc.texinfo (FDL_VERSION): New @set.
13334 Use it for mention of FDL in cover text.
13335 (Documentation License): Use it in @include file name.
13336
7bb764bc
JM
133372012-02-22 Joseph Myers <joseph@codesourcery.com>
13338 Roland McGrath <roland@hack.frob.com>
13339
13340 [BZ #5461]
13341 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
13342 not LONG_LONG_MAX and LONG_LONG_MIN.
13343 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
13344 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
13345 name.
13346 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
13347
6cbeae47
JM
133482012-02-22 Joseph Myers <joseph@codesourcery.com>
13349
13350 [BZ #2547]
13351 [BZ #11365]
13352 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
13353 manipulate bits before adding and subtracting TWO23[sx].
13354 * math/libm-test.inc (nearbyint_test): Add more tests.
13355
fe45ce09
JM
133562012-02-22 Joseph Myers <joseph@codesourcery.com>
13357
13358 [BZ #2548]
13359 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
13360 bits before adding and subtracting TWO23[sx].
13361 * math/libm-test.inc (rint_test): Add more tests.
13362 (rint_test_tonearest): Likewise.
13363 (rint_test_towardzero): Likewise.
13364 (rint_test_downward): Likewise.
13365 (rint_test_upward: Likewise.
13366
ff3b3d82
JM
133672012-02-22 Joseph Myers <joseph@codesourcery.com>
13368
13369 [BZ #10110]
13370 * include/stdc-predef.h: New file. Extracted from features.h.
13371 * include/features.h: Include stdc-predef.h.
13372 * Makefile (headers): Add stdc-predef.h.
13373 * CONFORMANCE (Compiler limitations): Update.
13374
ef0aab35
JM
133752012-02-22 Joseph Myers <joseph@codesourcery.com>
13376
13377 * manual/libc.texinfo (VERSION, UPDATED): Revert.
13378
58639409
DM
133792012-02-21 David S. Miller <davem@davemloft.net>
13380
13381 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
13382 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13383
c0e70b25
DM
133842012-02-20 David S. Miller <davem@davemloft.net>
13385
13386 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
13387 using a normal save/restore sequence, rather than allocating a
13388 dummy stack frame just to store a frame pointer and restore.
13389 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13390
fb06851d
JM
133912012-02-21 Joseph Myers <joseph@codesourcery.com>
13392
13393 * manual/install.texi: Fix stray word in line-wrapped comment.
13394
7a8b71c3
DM
133952012-02-20 David S. Miller <davem@davemloft.net>
13396
d510c123
DM
13397 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
13398 both binutils and gcc support GOTDATA.
13399
0722d7c2
DM
13400 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
13401 "rd %pc" in the PIC register setup sequences.
13402
3d2b3019
DM
13403 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
13404 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13405 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13406 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13407 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13408 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13409 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13410 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13411 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
13412 (SYSCALL_ERROR_HANDLER): Likewise.
13413 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13414 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13415 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
13416 (SYSCALL_ERROR_HANDLER): Likewise.
13417
c80098a9
DM
13418 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
13419 (HAVE_GCC_GOTDATA): New.
13420 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
13421 relocation support in both binutils and gcc.
13422 * sysdeps/sparc/elf/configure: Regenerate.
13423
3a2545a0
DM
13424 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
13425 * sysdeps/sparc/sparc32/elf/configure: Delete.
13426 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
13427 * sysdeps/sparc/sparc64/elf/configure: Delete.
13428 * sysdeps/sparc/elf/configure.in: New file.
13429 * sysdeps/sparc/elf/configure: Generate.
13430
7a8b71c3
DM
13431 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
13432 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
13433 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13434 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
13435 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
13436
f1e86fca
JM
134372012-02-21 Joseph Myers <joseph@codesourcery.com>
13438
13439 * manual/install.texi: Do not mention specific glibc version
13440 numbers.
13441 * manual/libc.texinfo (VERSION, UPDATED): Update.
13442 (@copying): Use @copyright{} and range of years.
13443
0e7dfaef
JM
134442012-02-21 Joseph Myers <joseph@codesourcery.com>
13445
13446 [BZ #13695]
13447 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
13448 [crti.S not in sysdirs] (generated): Do not append.
13449 [crti.S not in sysdirs] (omit-deps): Likewise.
13450 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
13451 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
13452 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
13453 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
13454 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
13455 Likewise.
13456 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
13457 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
13458 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
13459 * csu/defs.awk: Remove file.
13460 * sysdeps/generic/initfini.c: Likewise.
13461 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
13462 variable.
13463 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
13464 Likewise.
13465
599af3ca
JM
134662012-02-20 Joseph Myers <joseph@codesourcery.com>
13467
13468 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
13469 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
13470 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
13471 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
13472 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13473 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
13474 <bits/epoll.h>.
13475 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
13476 (__EPOLL_PACKED): Define to empty if not defined by
13477 <bits/epoll.h>.
13478 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
13479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13480 bits/epoll.h.
13481
0e499750
JM
134822012-02-20 Joseph Myers <joseph@codesourcery.com>
13483
13484 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
13485 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
13486 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
13487 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
13488 <bits/timerfd.h>.
13489 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
13490 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13491 bits/timerfd.h.
13492
5ad91f6e
JM
134932012-02-20 Joseph Myers <joseph@codesourcery.com>
13494
13495 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
13496 in C locale.
13497 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13498 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13499 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
13500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13501
06b99b02
AJ
135022012-02-20 Aurelien Jarno <aurelien@aurel32.net>
13503
13504 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13505 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13506
7638c0fd
AS
135072012-02-19 Andreas Schwab <schwab@linux-m68k.org>
13508
13509 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
13510 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
13511 defined.
13512 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
13513 Likewise.
13514 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
13515 entry for 2.16.
13516
92221550
AJ
135172012-02-19 Aurelien Jarno <aurelien@aurel32.net>
13518
13519 * math/w_acos.c: Use non-signaling floating-point comparisons.
13520 * math/w_acosf.c: Likewise.
13521 * math/w_acosh.c: Likewise.
13522 * math/w_acoshf.c: Likewise.
13523 * math/w_acoshl.c: Likewise.
13524 * math/w_acosl.c: Likewise.
13525 * math/w_asin.c: Likewise.
13526 * math/w_asinf.c: Likewise.
13527 * math/w_asinl.c: Likewise.
13528 * math/w_atanh.c: Likewise.
13529 * math/w_atanhf.c: Likewise.
13530 * math/w_atanhl.c: Likewise.
13531 * math/w_exp2.c: Likewise.
13532 * math/w_exp2f.c: Likewise.
13533 * math/w_exp2l.c: Likewise.
13534 * math/w_j0.c: Likewise.
13535 * math/w_j0f.c: Likewise.
13536 * math/w_j0l.c: Likewise.
13537 * math/w_j1.c: Likewise.
13538 * math/w_j1f.c: Likewise.
13539 * math/w_j1l.c: Likewise.
13540 * math/w_jn.c: Likewise.
13541 * math/w_jnf.c: Likewise.
13542 * math/w_log.c: Likewise.
13543 * math/w_log10.c: Likewise.
13544 * math/w_log10f.c: Likewise.
13545 * math/w_log10l.c: Likewise.
13546 * math/w_log2.c: Likewise.
13547 * math/w_log2f.c: Likewise.
13548 * math/w_log2l.c: Likewise.
13549 * math/w_logf.c: Likewise.
13550 * math/w_logl.c: Likewise.
13551 * math/w_sqrt.c: Likewise.
13552 * math/w_sqrtf.c: Likewise.
13553 * math/w_sqrtl.c: Likewise.
13554 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13555 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13556 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13557 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13558 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13559
ebaf36eb
JM
135602012-02-19 Joseph Myers <joseph@codesourcery.com>
13561
13562 [BZ #9739]
13563 * manual/string.texi (strnlen): Use correct parameter name in
13564 equivalent expression.
13565
71c254a6
JM
135662012-02-19 Joseph Myers <joseph@codesourcery.com>
13567
13568 [BZ #11174]
13569 * manual/users.texi (seteuid): Consistently use neweuid for
13570 argument name.
13571
16d2c631
JM
135722012-02-19 Joseph Myers <joseph@codesourcery.com>
13573
13574 [BZ #13704]
13575 * manual/nss.texi (Services in the NSS configuration): Correct
13576 list of services in example configuration file.
13577
cd837b09
NB
135782012-02-19 Nick Bowler <nbowler@draconx.ca>
13579
13580 [BZ #11322]
13581 * manual/arith.texi: Remove statements about negative zero
13582 behaving identically to zero.
13583
02c4bbad
JM
135842012-02-18 Joseph Myers <joseph@codesourcery.com>
13585
13586 [BZ #5993]
13587 * manual/install.texi: Do not document upgrading from libc5.
13588
366842e7
JM
135892012-02-18 Joseph Myers <joseph@codesourcery.com>
13590
13591 [BZ #4596]
13592 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
13593
dd54084d
DM
135942012-02-18 David S. Miller <davem@davemloft.net>
13595
13596 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
13597 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
13598 %o7 across the call.
13599 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
13600 instead.
13601 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
13602 SETUP_PIC_REG_LEAF.
13603 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13604 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
13605 * sysdeps/sparc/crtn.S: Likewise.
13606
2bcc53a3
UD
136072012-02-17 Ulrich Drepper <drepper@gmail.com>
13608
13609 * aout/Makefile: Remove.
13610
09c093b5
RK
136112012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
13612
13613 [BZ #13058]
13614 * manual/examples/argp-ex1.c (main): Format definition in GNU
13615 style.
13616 * manual/examples/argp-ex2.c (main): Likewise.
13617 * manual/examples/argp-ex3.c (main): Likewise.
13618 * manual/examples/argp-ex4.c (main): Likewise.
13619 * manual/examples/longopt.c (main): Use new-style prototype
13620 definition.
13621 * manual/examples/strncat.c (main): Specify return type and use
13622 (void) for arguments.
13623 * manual/examples/subopt.c (main): Use char **argv argument.
13624
2ee633a2
JM
136252012-02-17 Joseph Myers <joseph@codesourcery.com>
13626
13627 [BZ #5077]
13628 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
13629 rounding modes.
13630
0520adde
FB
136312012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
13632
13633 [BZ #6907]
13634 * manual/string.texi (strchr): Change when strchrnul is
13635 recommended.
13636
3f4081cd
DGM
136372012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
13638
13639 [BZ #174]
13640 * manual/locale.texi (setlocale): Document LOCPATH.
13641
d1b10e78
JM
136422012-02-17 Joseph Myers <joseph@codesourcery.com>
13643
13644 [BZ #10210]
13645 * manual/process.texi (execle): Move @dots{} before last argument.
13646
79c6869c
PB
136472012-02-17 Paul Bolle <pebolle@tiscali.nl>
13648
13649 [BZ #12047]
13650 * manual/charset.texi (Generic Charset Conversion): Fix typo
13651 (LC_TYPE -> LC_CTYPE).
13652
cc6e48bc
NB
136532012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
13654
13655 [BZ #5805]
13656 * manual/arith.texi (scalbn): Use @var{} on parameter names.
13657 (scalbnf): Likewise.
13658 (scalbnl): Likewise.
13659 (scalbln): Likewise.
13660 (scalblnf): Likewise.
13661 (scalblnl): Likewise.
13662 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
13663 (vwarnx): Likewise.
13664 (verr): Likewise.
13665 (verrx): Likewise.
13666 * manual/filesys.texi (telldir): Use braces around return type.
13667 * manual/llio.texi (mmap): Add space after comma.
13668 (mmap64): Likewise.
13669 * manual/math.texi (jn): Use @var{} on parameter names.
13670 (jnf): Likewise.
13671 (jnl): Likewise.
13672 (yn): Likewise.
13673 (ynf): Likewise.
13674 (ynl): Likewise.
13675 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
13676 line.
13677 * manual/resource.texi (ulimit): Use @dots{} instead of literal
13678 "...".
13679 (sched_get_priority_min): Remove semicolon on @deftypefun line.
13680 (sched_get_priority_max): Likewise.
13681 * manual/signal.texi (sigvec): Add space after comma.
13682 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13683 names.
13684 (if_indextoname): Likewise.
13685 (if_freenameindex): Likewise.
13686 (sendto): Use ',' instead of '.' in prototype.
13687 * manual/startup.texi (syscall): Use @dots{} instead of literal
13688 "...".
13689 * manual/stdio.texi (__fpending): Separate initial words of
13690 paragraph from @deftypefun line.
13691 * manual/syslog.texi (syslog): Use @dots{} instead of literal
13692 "...".
13693 (vsyslog): Use @var{} on parameter names.
13694 * manual/terminal.texi (stty): Use @var{} on parameter names.
13695 * manual/users.texi (getutmp): Use @var{} on parameter names.
13696 (getutmpx): Likewise.
13697
5b23062f
JM
136982012-02-17 Joseph Myers <joseph@codesourcery.com>
13699
13700 [BZ #6884]
13701 * manual/stdio.texi (fopen): Fix typos in description of
13702 ",ccs=STRING".
13703
8dee4833
AJ
137042012-02-17 Aurelien Jarno <aurelien@aurel32.net>
13705
13706 [BZ #4026]
13707 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13708 get clock_id definition.
13709
9078ce93
TS
137102012-02-17 Thomas Schwinge <thomas@schwinge.name>
13711
13712 [BZ #4822]
13713 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13714 (madvise): Cast every argument to void on its own.
13715
3835c55f
JM
137162012-02-17 Joseph Myers <joseph@codesourcery.com>
13717
13718 [BZ #9902]
13719 * manual/startup.texi (Exit Status): Fix typo.
13720
35c47e37
JM
137212012-02-17 Joseph Myers <joseph@codesourcery.com>
13722
13723 [BZ #10140]
13724 * manual/examples/argp-ex1.c: Include <stdlib.h>.
13725 * manual/examples/argp-ex2.c: Likewise.
13726 * manual/examples/argp-ex3.c: Likewise.
13727
e3b69ca7
RH
137282012-02-16 Richard Henderson <rth@redhat.com>
13729
13730 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13731 * sysdeps/s390/s390-32/initfini.c: Remove.
13732 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13733 * sysdeps/s390/s390-64/initfini.c: Remove.
13734
df83af67
KK
137352012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13736
13737 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13738 compiler output for sysdeps/generic/initfini.c.
13739 * sysdeps/sh/elf/initfini.c: Remove file.
13740
f63f3380
DM
137412012-02-16 David S. Miller <davem@davemloft.net>
13742
fb59b3a4
DM
13743 [BZ #11494]
13744 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13745
f63f3380
DM
13746 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13747 * sysdeps/sparc/crti.S: New file.
13748 * sysdeps/sparc/crtn.S: New file.
13749 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13750 * sysdeps/sparc/sparc64/Makefile: Likewise.
13751
df6a4a4a
MF
137522012-02-15 Mike Frysinger <vapier@gentoo.org>
13753
6dd8f3dc 13754 [BZ #3335]
df6a4a4a
MF
13755 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13756
1cac7236
RM
137572012-02-15 Roland McGrath <roland@hack.frob.com>
13758
d2c736f8
RM
13759 [BZ #4822]
13760 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13761
1cac7236
RM
13762 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13763 (write, read, close): Likewise.
13764 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13765
8e475601
JM
137662012-02-15 Joseph Myers <joseph@codesourcery.com>
13767
13768 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13769 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13770 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13771 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13772 <bits/signalfd.h>.
13773 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13774 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13775 bits/signalfd.h.
13776
ed656b40
MP
137772012-02-14 Marek Polacek <polacek@redhat.com>
13778
13779 * sysdeps/x86_64/crti.S: New file.
13780 * sysdeps/x86_64/crtn.S: New file.
13781 * sysdeps/x86_64/elf/initfini.c: Remove file.
13782
2a979d3a
JM
137832012-02-13 Joseph Myers <joseph@codesourcery.com>
13784
13785 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13786 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13787 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13788 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13789 <bits/inotify.h>.
13790 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13792 bits/inotify.h.
13793
2a418ac3
JM
137942012-02-13 Joseph Myers <joseph@codesourcery.com>
13795
13796 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13797 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13798 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13799 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13800 <bits/eventfd.h>.
13801 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13803 bits/eventfd.h.
13804
fb779be7
TS
138052012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13806
e19e83c5
RM
13807 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13808 __feraiseexcept instead of feraiseexcept.
7c35ffed 13809
fb779be7
TS
13810 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13811 nanosleep invocations.
13812 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13813 strings, and add error checking for a nanosleep invocations.
13814
59ba27a6
PE
138152012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13816
13817 Replace FSF snail mail address with URLs, as per GNU coding standards.
13818 Most of the snail mail addresses were wrong anyway, and omitting
13819 them makes the source code easier to maintain. Almost all of the
13820 changes are to license notices and to locale LC_IDENTIFICATION
13821 addresses, except for this one:
13822 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13823 not its snail mail address.
13824
57b957eb
RH
138252012-02-09 Richard Henderson <rth@twiddle.net>
13826
af850b1c
RH
13827 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13828 of kernel-features.h.
13829
57b957eb
RH
13830 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13831
6b73181a
MP
138322012-02-08 Marek Polacek <polacek@redhat.com>
13833
13834 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13835 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13836 * sysdeps/gnu/_G_config.h: Likewise.
13837 * sysdeps/generic/_G_config.h: Likewise.
13838
26ecc33a
AS
138392012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13840
6c6dbc63
AS
13841 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13842 tests.
13843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13844
e216c012
AS
13845 * sysdeps/powerpc/powerpc32/crti.S: New file.
13846 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13847 * sysdeps/powerpc/powerpc64/crti.S: New file.
13848 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13849
26ecc33a
AS
13850 * Makeconfig (have-initfini): Don't set.
13851 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13852 * configure.in (nopic_initfini): Don't substitute.
13853 * config.h.in (HAVE_INITFINI): Don't #undef.
13854 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13855 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13856
3add8e13
JM
138572012-02-08 Joseph Myers <joseph@codesourcery.com>
13858
13859 Support crti.S and crtn.S provided directly by architectures.
13860 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13861 [crti.S in sysdirs] (omit-deps): Likewise.
13862 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13863 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13864 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13865 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13866 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13867 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13868 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13869 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13870 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13871 compiler output for sysdeps/generic/initfini.c.
13872 * sysdeps/i386/elf/Makefile: Remove file.
13873 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13874
a22f12b4
MP
138752012-02-07 Marek Polacek <polacek@redhat.com>
13876
13877 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13878 * sysdeps/gnu/_G_config.h: Likewise.
13879 * sysdeps/mach/hurd/_G_config.h: Likewise.
13880
148cf100
MP
138812012-02-07 Marek Polacek <polacek@redhat.com>
13882
13883 * math/Makefile (tests): Add tst-CMPLX2.
13884 * math/tst-CMPLX2.c: New file.
13885
cfdc0dd7
AS
138862012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13887
84ba42c4
AS
13888 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13889
cfdc0dd7
AS
13890 * math/libm-test.inc (jn_test): Add missing L suffix.
13891
622c86f4
MP
138922012-02-06 Marek Polacek <polacek@redhat.com>
13893
13894 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13895 * sysdeps/i386/fpu/e_powf.S: Likewise.
13896 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13897 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13898 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13899 * sysdeps/i386/fpu/e_pow.S: Likewise.
13900 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13901 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13902 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13903 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13904 * sysdeps/i386/fpu/e_log2.S: Likewise.
13905 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13906 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13907 * sysdeps/i386/fpu/e_powl.S: Likewise.
13908 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13909 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13910 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13911 * sysdeps/i386/fpu/e_logl.S: Likewise.
13912 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13913 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13914 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13915 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13916 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13917 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13918 * sysdeps/i386/fpu/e_log.S: Likewise.
13919 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13920 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13921 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13922 * sysdeps/i386/fpu/e_logf.S: Likewise.
13923 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13924 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13925 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13926 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13927 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13928 * sysdeps/i386/fpu/e_log10.S: Likewise.
13929 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13930 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13931 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13932 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13933 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13934 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13935 * sysdeps/i386/asm-syntax.h: Likewise.
13936 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13937 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13938 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13939 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13940 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13941 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13942 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13943 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13944 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13945 * sysdeps/powerpc/sysdep.h: Likewise.
13946 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13947 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13948
d4a54ac6
JM
139492012-02-06 Joseph Myers <joseph@codesourcery.com>
13950
13951 [BZ #411]
13952 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13953
314054ea
JM
139542012-02-06 Joseph Myers <joseph@codesourcery.com>
13955
13956 * sysdeps/i386/sysdep.h: Include <features.h>.
13957 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13958 version.
13959
d8e0ca50
JM
139602012-02-05 Joseph Myers <joseph@codesourcery.com>
13961
13962 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13963 Define.
13964 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13965 LOAD_PIC_REG_STR.
13966
b1da7dd9
JM
139672012-02-03 Joseph Myers <joseph@codesourcery.com>
13968
13969 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13970 (SETUP_PIC_REG): Use GET_PC_THUNK.
13971 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13972 macro.
13973
9a1d9254
JM
139742012-02-03 Joseph Myers <joseph@codesourcery.com>
13975
13976 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13977 for non-PIC compilation.
13978 (SETUP_PIC_REG): Add .p2align directive.
13979 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13980 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13981 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13982 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13983 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13984 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13985 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13986 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13987 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13988 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13989 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13990 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13991 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13992 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13993 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13994 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13995 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13996 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13997 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13998 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13999 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14000 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14001 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14002 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14003 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14004 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14005 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14006 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14007 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14008 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14009 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14010 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14011 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14012 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14013 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14014 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14015 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14016 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14017 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14018 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14019 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14020
65dc3b75
JM
140212012-02-03 Joseph Myers <joseph@codesourcery.com>
14022
14023 * math/tst-CMPLX.c: Include <stdio.h>.
14024
d55bf177
JM
140252012-01-31 Joseph Myers <joseph@codesourcery.com>
14026
14027 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14028 float.
14029 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14030 * sysdeps/sparc/bits/mathdef.h: Likewise.
14031
69db4f8f
MP
140322012-01-31 Marek Polacek <polacek@redhat.com>
14033
14034 * libio/libio.h: Don't define _PARAMS.
14035 * locale/programs/config.h: Don't define PARAMS.
14036 * stdlib/strtol_l.c: Likewise.
14037 (__strtol_l): Remove PARAMS from the prototype.
14038
41b81892
UD
140392012-01-31 Ulrich Drepper <drepper@gmail.com>
14040
3b49edc0
UD
14041 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14042 names. Just use the correct names. Remove unnecessary wrapper
14043 functions.
14044 * malloc/arena.c: Likewise.
14045 * malloc/hooks.c: Likewise.
14046
41b81892
UD
14047 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14048 ARENA_TEST says not to. Simplify test for creation of a new arena.
14049 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14050
27a25b6e
UD
140512012-01-30 Ulrich Drepper <drepper@gmail.com>
14052
14053 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14054 into tail calls.
14055 (update_get_addr): New function.
14056 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14057 GET_ADDR_MODULE parameter.
14058
c8a89e7d
JM
140592012-01-30 Joseph Myers <joseph@codesourcery.com>
14060
14061 * crypt/cert.c: Remove __STDC__ conditionals.
14062 * crypt/crypt-entry.c: Likewise.
14063 * crypt/crypt_util.c: Likewise.
14064 * libio/filedoalloc.c: Likewise.
14065 * libio/fileops.c: Likewise.
14066 * libio/genops.c: Likewise.
14067 * libio/iofclose.c: Likewise.
14068 * libio/iofdopen.c: Likewise.
14069 * libio/iofopen.c: Likewise.
14070 * libio/iofopen64.c: Likewise.
14071 * libio/iogetdelim.c: Likewise.
14072 * libio/iopopen.c: Likewise.
14073 * libio/obprintf.c: Likewise.
14074 * libio/oldfileops.c: Likewise.
14075 * libio/oldiofclose.c: Likewise.
14076 * libio/oldiofdopen.c: Likewise.
14077 * libio/oldiofopen.c: Likewise.
14078 * libio/oldiopopen.c: Likewise.
14079 * libio/wfiledoalloc.c: Likewise.
14080 * libio/wgenops.c: Likewise.
14081 * locale/programs/xmalloc.c: Likewise.
14082 * misc/syslog.c: Likewise.
14083 * stdio-common/xbug.c: Likewise.
14084 * string/memchr.c: Likewise.
14085 * string/memcmp.c: Likewise.
14086 * string/memrchr.c: Likewise.
14087 * string/rawmemchr.c: Likewise.
14088 * sysdeps/posix/getcwd.c: Likewise.
14089 * time/strftime_l.c: Likewise.
14090
3b100462
JM
140912012-01-30 Joseph Myers <joseph@codesourcery.com>
14092
14093 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
14094 * config.make.in (config-cflags-sse2avx): Define.
14095 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14096 Fix typo.
14097
607998af
CM
140982012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14099
14100 * scripts/config.guess: Update from upstream config git repository.
14101 * scripts/config.sub: Likewise.
14102
3601428f
CM
141032012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14104
3ac8b282
CM
14105 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14106 (EM_NUM): Update.
14107 (R_TILEPRO_*, R_TILEGX_*): New macros.
14108
e034841e
CM
14109 * scripts/firstversions.awk: Fix bug in version range handling.
14110
540d7568
CM
14111 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14112
3601428f
CM
14113 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14114
463de862
CM
14115 * include/sys/epoll.h: New file.
14116 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14117 libc_hidden_def.
14118
73139a76
UD
141192012-01-28 Ulrich Drepper <drepper@gmail.com>
14120
96bc5b45
UD
14121 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14122 Avoid unnecessary __WORDSIZE == 64 test.
14123 (fmaxf): Use VEX format if possible.
14124 (fmax): Likewise.
14125 (fminf): Likewise.
14126 (fmin): Likewise.
14127
56f6f6a2
UD
14128 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14129 * math/math_private.h: Remove libc_fegetround* and
14130 libc_fesetround*.
14131 * sysdeps/i386/configure.in: Check for -msse2avx.
14132 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14133 also if SSE2AVX is defined.
14134 Remove libc_fegetround* and libc_fesetround*.
14135 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14136 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14137 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14138 of HAS_YMM_USABLE.
14139 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14140 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14141 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14142 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14143 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14144
73139a76
UD
14145 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14146
d73f93a4
AZ
141472012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14148
14149 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14150 size is not set.
14151 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14152
6ee65ed6
UD
141532012-01-27 Ulrich Drepper <drepper@gmail.com>
14154
14155 [BZ #13618]
14156 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14157 relocation.
14158 * Makeconfig (libm): Define.
14159 * elf/Makefile: Add rules to build and run tst-relsort1.
14160 * elf/tst-relsort1.c: New file.
14161 * elf/tst-relsort1mod1.c: New file.
14162 * elf/tst-relsort1mod2.c: New file.
14163
8db21882
JM
141642012-01-27 Joseph Myers <joseph@codesourcery.com>
14165
14166 * math/s_ldexp.c: Remove __STDC__ conditionals.
14167 * math/s_ldexpf.c: Likewise.
14168 * math/s_ldexpl.c: Likewise.
14169 * math/s_nextafter.c: Likewise.
14170 * math/s_nexttowardf.c: Likewise.
14171 * math/s_significand.c: Likewise.
14172 * math/s_significandf.c: Likewise.
14173 * math/s_significandl.c: Likewise.
14174 * math/w_jnl.c: Likewise.
14175 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14176 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14177 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14178 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14179 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14180 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14181 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14182 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14183 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14184 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14185 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14186 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14187 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14188 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14189 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14190 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14191 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14192 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14193 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14194 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14195 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14196 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14197 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14198 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14199 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14200 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14201 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14202 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14203 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14204 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14205 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14206 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14207 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14208 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14209 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14210 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14211 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14212 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14213 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14214 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14215 * sysdeps/ieee754/k_standard.c: Likewise.
14216 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14217 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14218 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14219 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14220 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14221 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14222 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14223 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14224 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14225 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14226 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14227 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14228 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14229 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14230 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14231 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14232 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14233 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14234 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14235 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14236 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14237 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14238 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14239 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14240 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14241 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14242 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14243 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14244 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14245 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14246 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14247 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14248 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14249 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14250 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14251 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14252 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14253 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14254 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14255 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14256 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14257 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14258 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14259 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14260 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14261 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14262 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14263 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14264 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14265 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14266 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14267 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14268 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14269 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14270 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14271 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14272 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14273 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14274 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14275 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14276 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14277 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14278 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14279 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14280 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14281 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14282 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14283 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14284 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14285 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14286 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14287 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14288 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14289 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14290 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14291 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14292 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14293 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14294 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14295 * sysdeps/ieee754/s_matherr.c: Likewise.
14296 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14297 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14300
965a54a4
JM
143012012-01-26 Joseph Myers <joseph@codesourcery.com>
14302
14303 * crypt/md5.h: Remove __STDC__ conditionals.
14304 * libio/libioP.h: Likewise.
14305 * locale/programs/config.h: Likewise.
14306 * sysdeps/generic/sysdep.h: Likewise.
14307 * sysdeps/i386/asm-syntax.h: Likewise.
14308 * sysdeps/s390/asm-syntax.h: Likewise.
14309 * sysdeps/unix/sysdep.h: Likewise.
14310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14312
7071ad79
JM
143132012-01-26 Joseph Myers <joseph@codesourcery.com>
14314
14315 * libio/libio.h: Remove __STDC__ conditionals.
14316 * malloc/obstack.h: Likewise.
14317 * math/complex.h: Likewise.
14318 * math/math.h: Likewise.
14319 * sysdeps/generic/_G_config.h: Likewise.
14320 * sysdeps/gnu/_G_config.h: Likewise.
14321 * sysdeps/mach/hurd/_G_config.h: Likewise.
14322 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14323 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14324 * sysdeps/sparc/bits/mathdef.h: Likewise.
14325
afc5ed09
UD
143262012-01-26 Ulrich Drepper <drepper@gmail.com>
14327
14328 [BZ #13583]
14329 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 14330 Clean up HAS_* macros.
afc5ed09 14331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
14332 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
14333 possible.
14334 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
14335 HAS_AVX.
14336 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14337 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14338 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14339 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14340 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 14341
bdb6de1d
JM
143422012-01-25 Joseph Myers <joseph@codesourcery.com>
14343
14344 * elf/tst-unique3.cc (gets): Remove declaration.
14345 * elf/tst-unique3lib.cc (gets): Likewise.
14346 * elf/tst-unique3lib2.cc (gets): Likewise.
14347 * elf/tst-unique4.cc (gets): Likewise.
14348
b15549e6
UD
143492012-01-24 Ulrich Drepper <drepper@gmail.com>
14350
14351 * include/stdio.h: Add C++ protection. Add gets declarations and
14352 definitions.
14353 * debug/tst-chk1.c: Don't declare gets here.
14354 * stdio-common/tst-gets.c: Likewise.
14355
a037381f
JM
143562012-01-24 Joseph Myers <joseph@codesourcery.com>
14357
14358 * posix/glob: Remove directory.
14359
f1d4aa75
JM
143602012-01-24 Joseph Myers <joseph@codesourcery.com>
14361
14362 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
14363
81c0c964
PT
143642012-01-22 Pino Toscano <toscano.pino@tiscali.it>
14365
14366 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
14367 of the non-standard EPFNOSUPPORT.
14368
0ea698ae
ST
143692011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
14370
14371 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
14372 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
14373 ANYWHERE set to 1 only on KERN_NO_SPACE error.
14374
d220b117
UD
143752012-01-21 Ulrich Drepper <drepper@gmail.com>
14376
14377 * wcsmbs/uchar.h: Test __STDC_VERSION__.
14378
3e1aa84e
UD
143792012-01-20 Ulrich Drepper <drepper@gmail.com>
14380
14381 * nscd/aicache.c (addhstaiX): Do not cache negative results of
14382 transient errors.
14383 * nscd/grpcache.c (cache_addgr): Likewise.
14384 * nscd/hstcache.c (cache_addhst): Likewise.
14385 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14386 * nscd/pwdcache.c (cache_addpw): Likewise.
14387 * nscd/servicescache.c (cache_addserv): Likewise.
14388
400aa020
UD
143892012-01-16 Ulrich Drepper <drepper@gmail.com>
14390
d77e7869
UD
14391 * malloc/malloc.c: Various cleanups.
14392 * malloc/hooks.c: Likewise.
14393
400aa020
UD
14394 * stdlib/Makefile (tests): Add bug-fmtmsg1.
14395 * stdlib/bug-fmtmsg1.c: New file.
14396
14397 * stdlib/fmtmsg.c (init): Add missing unlock.
14398 Patch by Peng Haitao <penght@cn.fujitsu.com>.
14399
e0a309cf
MP
144002012-01-12 Marek Polacek <polacek@redhat.com>
14401
14402 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
14403 and _GNU_SOURCE.
14404
929d11c7
WS
144052012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14406
14407 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
14408 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
14409 macro to ensure uniqueness of label name.
14410 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14411 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14412
41d0e869
UD
144132012-01-11 Ulrich Drepper <drepper@gmail.com>
14414
0cc5ed3b
UD
14415 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
14416
41d0e869
UD
14417 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
14418 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14419 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14420 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
14421
a47a831a
UD
144222012-01-10 Ulrich Drepper <drepper@gmail.com>
14423
daa891c0
UD
14424 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
14425
14426 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
14427 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14428 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14429
e58ef0f2
UD
14430 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
14431
a47a831a 14432 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
14433 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14434 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 14435 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
14436
14437 * math/bits/math-finite.h: Add ldexp support.
14438
a0bfc9c7
MP
144392012-01-10 Marek Polacek <polacek@redhat.com>
14440
14441 * locale/programs/localedef.h (show_archive_content): Add noreturn
14442 attribute.
14443
d6e97a1d
UD
144442012-01-09 Ulrich Drepper <drepper@gmail.com>
14445
14446 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
14447
d5835c26
UD
144482012-01-08 Ulrich Drepper <drepper@gmail.com>
14449
e5f484c6
UD
14450 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
14451
d5835c26
UD
14452 * io/Makefile (headers): Add bits/poll2.h.
14453
d1f741e9
WS
144542011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
14455
14456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
14457 typo #include statement.
14458
ec09c1c4
UD
144592012-01-08 Ulrich Drepper <drepper@gmail.com>
14460
14461 * include/sys/cdefs.h: Define __attribute_alloc_size.
14462 * catgets/gencat.c: Add alloc_size attribute and apply consistently
14463 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
14464 * elf/pldd.c: Likewise.
14465 * iconv/iconv_charmap.c: Likewise.
14466 * iconv/iconvconfig.c: Likewise.
14467 * iconv/strtab.c: Likewise.
14468 * locale/programs/locale.c: Likewise.
14469 * locale/programs/localedef.h: Likewise.
14470 * locale/programs/simple-hash.c: Likewise.
14471 * nscd/nscd.h: Likewise.
14472 * nss/makedb.c: Likewise.
14473 * sysdeps/generic/ldconfig.h: Likewise.
14474 * locale/programs/localedef.c: Remove xmalloc prototype.
14475 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
14476
20b38e03
PP
144772012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14478
14479 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
14480 appropriate.
14481
a0da5fe1
UD
144822012-01-08 Ulrich Drepper <drepper@gmail.com>
14483
1d5a644a 14484 * math/Makefile (tests): Add tst-CMPLX.
669704fd 14485 * math/tst-CMPLX.c: New file.
1d5a644a 14486
8784a6db
UD
14487 * math/complex.h (CMPLXL): Fix typo.
14488
d9a216c0
UD
14489 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
14490 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
14491 GLIBC_2.16.
14492 * debug/tst-chk1.c: Add poll and ppoll tests.
14493 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
14494 * include/sys/poll.h: Add hidden proto for ppoll.
14495 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
14496 * sysdeps/mach/hurd/ppoll.c: Likewise.
14497 * io/ppoll.c: Likewise.
14498 * debug/poll_chk.c: New file.
14499 * debug/ppoll_chk.c: New file.
14500 * include/bits/poll2.h: New file.
14501 * io/bits/poll2.h: New file.
14502
ac097f5c
UD
14503 [BZ #1350]
14504 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
14505
2119dcfa
UD
14506 * configure.in: static is always set to yes. Remove.
14507 * config.make.in: Don't set build-static.
14508 * Makeconfig: Remove use of build-static.
14509 * dlfcn/Makefile: Likewise.
14510 * elf/Makefile: Likewise.
14511 * math/Makefile: Likewise.
14512 * misc/Makefile: Likewise.
14513 * nptl/Makefile: Likewise.
14514 * sysdeps/mach/hurd/Makefile: Likewise.
14515
121766a9
UD
14516 * configure.in: PWD_P is not used anymore.
14517 * config.make.in: Remove PWD_P entry.
14518
51a1d39c 14519 * configure.in: Remove last remnants of RANLIB.
8720d066 14520 No need to check for signed size_t anymore.
215f4bdc
UD
14521 Don't set libc_commonpagesize and libc_relro_required here for Alpha
14522 and IA-64.
3857022a 14523 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
14524 * aclocal.m4: Likewise.
14525
d3ed7225
UD
14526 * wcsmbs/mbrtoc16.c: Implement using towc function.
14527 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
14528 * wcsmbs/wcsmbsload.c: Likewise.
14529 * iconv/gconv_simple.c: Likewise.
14530 * iconv/gconv_int.h: Likewise.
14531 * iconv/gconv_builtin.h: Likewise.
14532 * iconv/iconv_prog.c: Remove CHAR16 handling.
14533
14534 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
14535
14536 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
14537
a0da5fe1
UD
14538 * configure.in: Remove --with-elf and --enable-bounded options.
14539 Dont set base_machine for ia64. More non-ELF conditions removed.
14540 Remove testing and setting of leading underscore information.
14541 * config.make.in (build-bounded): Set to no.
14542 * config.h.in: Remove NO_UNDERSCORES entry.
14543 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
14544 them.
14545 * csu/start.c: Remove !NO_UNDERSCORE code.
14546 * locale/localeinfo.h: Likewise.
14547 * sysdeps/generic/machine-gmon.h: Likewise.
14548 * sysdeps/generic/sysdep.h: Likewise.
14549 * sysdeps/i386/sysdep.h: Likewise.
14550 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14551 * sysdeps/mach/sysdep.h: Likewise.
14552 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14553 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14554 * sysdeps/sh/sysdep.h: Likewise.
14555 * sysdeps/sparc/sparc32/alloca.S: Likewise.
14556 * sysdeps/unix/i386/sysdep.S: Likewise.
14557 * sysdeps/unix/sparc/start.c: Likewise.
14558 * sysdeps/unix/sparc/sysdep.S: Likewise.
14559 * sysdeps/unix/sparc/sysdep.h: Likewise.
14560 * sysdeps/unix/start.c: Likewise.
14561 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14562 * sysdeps/x86_64/sysdep.h: Likewise.
14563
df78418a
UD
145642012-01-07 Ulrich Drepper <drepper@gmail.com>
14565
a784e502
UD
14566 [BZ #13553]
14567 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
14568 for non-gcc.
14569 * argp/argp-fmtstream.h: Use const instead __const.
14570 * argp/argp.h: Likewise.
14571 * assert/assert.h: Likewise.
14572 * bits/fenv.h: Likewise.
14573 * bits/sched.h: Likewise.
14574 * bits/sigset.h: Likewise.
14575 * bits/sigthread.h: Likewise.
14576 * catgets/nl_types.h: Likewise.
14577 * conform/data/pthread.h-data: Likewise.
14578 * crypt/crypt-private.h: Likewise.
14579 * crypt/crypt.h: Likewise.
14580 * crypt/crypt_util.c: Likewise.
14581 * ctype/ctype.h: Likewise.
14582 * debug/execinfo.h: Likewise.
14583 * debug/mbsnrtowcs_chk.c: Likewise.
14584 * debug/mbsrtowcs_chk.c: Likewise.
14585 * debug/wcsnrtombs_chk.c: Likewise.
14586 * debug/wcsrtombs_chk.c: Likewise.
14587 * debug/wcstombs_chk.c: Likewise.
14588 * dirent/dirent.h: Likewise.
14589 * dlfcn/dlfcn.h: Likewise.
14590 * elf/neededtest4.c: Likewise.
14591 * grp/grp.h: Likewise.
14592 * gshadow/gshadow.h: Likewise.
14593 * iconv/gconv.h: Likewise.
14594 * iconv/gconv_int.h: Likewise.
14595 * iconv/gconv_simple.c: Likewise.
14596 * iconv/iconv.h: Likewise.
14597 * iconv/loop.c: Likewise.
14598 * iconv/skeleton.c: Likewise.
14599 * include/aio.h: Likewise.
14600 * include/aliases.h: Likewise.
14601 * include/argz.h: Likewise.
14602 * include/arpa/inet.h: Likewise.
14603 * include/assert.h: Likewise.
14604 * include/dirent.h: Likewise.
14605 * include/dlfcn.h: Likewise.
14606 * include/execinfo.h: Likewise.
14607 * include/fcntl.h: Likewise.
14608 * include/fenv.h: Likewise.
14609 * include/glob.h: Likewise.
14610 * include/grp.h: Likewise.
14611 * include/libintl.h: Likewise.
14612 * include/mntent.h: Likewise.
14613 * include/netdb.h: Likewise.
14614 * include/pwd.h: Likewise.
14615 * include/rpc/netdb.h: Likewise.
14616 * include/sched.h: Likewise.
14617 * include/search.h: Likewise.
14618 * include/shadow.h: Likewise.
14619 * include/signal.h: Likewise.
14620 * include/stdio.h: Likewise.
14621 * include/stdlib.h: Likewise.
14622 * include/string.h: Likewise.
14623 * include/sys/socket.h: Likewise.
14624 * include/sys/stat.h: Likewise.
14625 * include/sys/statfs.h: Likewise.
14626 * include/sys/statvfs.h: Likewise.
14627 * include/sys/syslog.h: Likewise.
14628 * include/sys/time.h: Likewise.
14629 * include/sys/uio.h: Likewise.
14630 * include/time.h: Likewise.
14631 * include/unistd.h: Likewise.
14632 * include/utmp.h: Likewise.
14633 * include/wchar.h: Likewise.
14634 * include/wctype.h: Likewise.
14635 * inet/aliases.h: Likewise.
14636 * inet/arpa/inet.h: Likewise.
14637 * inet/netinet/ether.h: Likewise.
14638 * inet/netinet/in.h: Likewise.
14639 * intl/libintl.h: Likewise.
14640 * io/bits/fcntl2.h: Likewise.
14641 * io/fcntl.h: Likewise.
14642 * io/ftw.h: Likewise.
14643 * io/sys/poll.h: Likewise.
14644 * io/sys/stat.h: Likewise.
14645 * io/sys/statfs.h: Likewise.
14646 * io/sys/statvfs.h: Likewise.
14647 * io/utime.h: Likewise.
14648 * libio/bits/stdio.h: Likewise.
14649 * libio/bits/stdio2.h: Likewise.
14650 * libio/libio.h: Likewise.
14651 * libio/libioP.h: Likewise.
14652 * libio/stdio.h: Likewise.
14653 * locale/lc-ctype.c: Likewise.
14654 * locale/locale.h: Likewise.
14655 * login/utmp.h: Likewise.
14656 * malloc/arena.c: Likewise.
14657 * malloc/malloc.c: Likewise.
14658 * malloc/malloc.h: Likewise.
14659 * malloc/mcheck.c: Likewise.
14660 * malloc/mtrace.c: Likewise.
14661 * math/bits/mathcalls.h: Likewise.
14662 * math/fenv.h: Likewise.
14663 * math/math_private.h: Likewise.
14664 * misc/bits/error.h: Likewise.
14665 * misc/bits/syslog.h: Likewise.
14666 * misc/err.h: Likewise.
14667 * misc/error.h: Likewise.
14668 * misc/fstab.h: Likewise.
14669 * misc/mntent.h: Likewise.
14670 * misc/regexp.h: Likewise.
14671 * misc/search.h: Likewise.
14672 * misc/sgtty.h: Likewise.
14673 * misc/sys/mman.h: Likewise.
14674 * misc/sys/syslog.h: Likewise.
14675 * misc/sys/uio.h: Likewise.
14676 * misc/sys/xattr.h: Likewise.
14677 * misc/ttyent.h: Likewise.
14678 * nis/rpcsvc/ypclnt.h: Likewise.
14679 * nss/nss.h: Likewise.
14680 * posix/bits/unistd.h: Likewise.
14681 * posix/fnmatch.h: Likewise.
14682 * posix/glob.h: Likewise.
14683 * posix/sched.h: Likewise.
14684 * posix/spawn.h: Likewise.
14685 * posix/sys/wait.h: Likewise.
14686 * posix/unistd.h: Likewise.
14687 * posix/wordexp.h: Likewise.
14688 * pwd/pwd.h: Likewise.
14689 * resolv/netdb.h: Likewise.
14690 * resource/sys/resource.h: Likewise.
14691 * rt/aio.h: Likewise.
14692 * rt/bits/mqueue2.h: Likewise.
14693 * rt/mqueue.h: Likewise.
14694 * shadow/shadow.h: Likewise.
14695 * signal/signal.h: Likewise.
14696 * socket/send.c: Likewise.
14697 * socket/sendto.c: Likewise.
14698 * socket/sys/socket.h: Likewise.
14699 * stdio-common/printf.h: Likewise.
14700 * stdlib/bits/stdlib.h: Likewise.
14701 * stdlib/fmtmsg.h: Likewise.
14702 * stdlib/monetary.h: Likewise.
14703 * stdlib/stdlib.h: Likewise.
14704 * stdlib/ucontext.h: Likewise.
14705 * streams/stropts.h: Likewise.
14706 * string/argz.h: Likewise.
14707 * string/bits/string2.h: Likewise.
14708 * string/string.h: Likewise.
14709 * string/strings.h: Likewise.
14710 * sunrpc/rpc/auth.h: Likewise.
14711 * sunrpc/rpc/auth_des.h: Likewise.
14712 * sunrpc/rpc/clnt.h: Likewise.
14713 * sunrpc/rpc/netdb.h: Likewise.
14714 * sunrpc/rpc/pmap_clnt.h: Likewise.
14715 * sunrpc/rpc/xdr.h: Likewise.
14716 * sysdeps/generic/inttypes.h: Likewise.
14717 * sysdeps/generic/net/if.h: Likewise.
14718 * sysdeps/generic/sys/swap.h: Likewise.
14719 * sysdeps/gnu/net/if.h: Likewise.
14720 * sysdeps/gnu/utmpx.h: Likewise.
14721 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14722 * sysdeps/i386/i486/bits/string.h: Likewise.
14723 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14724 * sysdeps/s390/bits/string.h: Likewise.
14725 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14726 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14727 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14728 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14729 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14730 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14731 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14732 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14733 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14734 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14735 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14736 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14737 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14738 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14739 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14740 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14741 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14743 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14744 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14745 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14746 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14747 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14748 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14749 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14750 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14751 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14752 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14753 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14754 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14755 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14756 * sysvipc/sys/ipc.h: Likewise.
14757 * sysvipc/sys/msg.h: Likewise.
14758 * sysvipc/sys/sem.h: Likewise.
14759 * sysvipc/sys/shm.h: Likewise.
14760 * termios/termios.h: Likewise.
14761 * time/sys/time.h: Likewise.
14762 * time/time.h: Likewise.
14763 * wcsmbs/bits/wchar2.h: Likewise.
14764 * wcsmbs/uchar.h: Likewise.
14765 * wcsmbs/wchar.h: Likewise.
14766 * wctype/wctype.h: Likewise.
14767
0269750c
UD
14768 [BZ #13551]
14769 * Makeconfig: Remove all but ELF support including AIX support.
14770 * Makerules: Likewise.
14771 * config.h.in: Likewise.
14772 * config.make.in: Likewise.
14773 * configure: Likewise.
14774 * configure.in: Likewise.
14775 * csu/Makefile: Likewise.
14776 * csu/version.c: Likewise.
14777 * debug/Makefile: Likewise.
14778 * dlfcn/Makefile: Likewise.
14779 * elf/Makefile: Likewise.
14780 * extra-lib.mk: Likewise.
14781 * iconv/Makefile: Likewise.
14782 * include/libc-symbols.h: Likewise.
14783 * include/shlib-compat.h: Likewise.
14784 * resolv/Makefile: Likewise.
14785 * resolv/res_libc.c: Likewise.
14786 * rt/Makefile: Likewise.
14787 * sysdeps/i386/asm-syntax.h: Likewise.
14788 * sysdeps/i386/sysdep.h: Likewise.
14789 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14790 * sysdeps/mach/sysdep.h: Likewise.
14791 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14792 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14793 * sysdeps/s390/asm-syntax.h: Likewise.
14794 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14795 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14796 * sysdeps/sh/sysdep.h: Likewise.
14797 * sysdeps/unix/sparc/sysdep.h: Likewise.
14798 * sysdeps/wordsize-32/divdi3.c: Likewise.
14799 * sysdeps/x86_64/sysdep.h: Likewise.
14800
00bbd29b
UD
14801 * argp/Versions: Remove _argp_unlock_xxx.
14802
14803 [BZ #13559]
14804 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14805 * abilist/libBrokenLocale.abilist: Likewise.
14806 * abilist/libanl.abilist: Likewise.
14807 * abilist/libc.abilist: Likewise.
14808 * abilist/libcrypt.abilist: Likewise.
14809 * abilist/libdl.abilist: Likewise.
14810 * abilist/libm.abilist: Likewise.
14811 * abilist/libnsl.abilist: Likewise.
14812 * abilist/libpthread.abilist: Likewise.
14813 * abilist/libresolv.abilist: Likewise.
14814 * abilist/librt.abilist: Likewise.
14815 * abilist/libthread_db.abilist: Likewise.
14816 * abilist/libutil.abilist: Likewise.
14817 * abilist/libnss_db.abilist: New file.
14818
14819 * scripts/abilist.awk: Add support for indirect functions.
14820
a2693a0e
UD
14821 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14822
3f05895f
UD
14823 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14824
ecb6fb48
UD
14825 * shlib-versions: Remove entries for ports architectures.
14826
664f8cb9
UD
14827 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14828 files in ports.
14829 * elf/stackguard-macros.h: Remove support for IA-64.
14830 * elf/tst-auditmod1.c: Likewise.
14831 * sysdeps/generic/ldsodefs.h: Likewise.
14832
7ae81d88
UD
14833 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14834 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14835 configure files.
14836
bdeba135
UD
14837 [BZ #13552]
14838 * configure.in: Remove --enable-omitfp support.
14839 * FAQ.in: Adjust.
14840 * config.make.in: Likewise.
14841 * Makeconfig: Likewise.
14842 * manual/install.texi: Likewise.
14843
d75a0a62
UD
14844 In case anyone cares, the IA-64 architecture could move to ports.
14845 * sysdeps/ia64/*: Removed.
14846 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 14847 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 14848
dcc9756b
UD
14849 [BZ #13555]
14850 * configure.in: Remove entries for unsupported architectures.
14851
d3761ebc 14852 [BZ #13533]
9954432e
UD
14853 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14854 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14855 routines.
14856 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14857 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14858 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14859 fall back to using wcrtomb.
14860 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14861 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14862 renaming.
14863 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14864 * wcsmbs/tst-c16c32-1.c: New file.
14865
14866 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14867 local variable.
14868
c3a87236
UD
14869 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14870
28926a1b
UD
14871 * elf/tst-unique3.cc: Add explicit declaration of gets.
14872 * elf/tst-unique3lib.cc: Likewise.
14873 * elf/tst-unique3lib2.cc: Likewise.
14874 * elf/tst-unique4.cc: Likewise.
14875
df78418a
UD
14876 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14877
8ecd6b2a
JM
148782012-01-06 Joseph Myers <joseph@codesourcery.com>
14879
14880 [BZ #13566]
14881 * assert/assert.h (static_assert): Don't define for C++.
14882 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14883 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14884
9f115170
UD
148852012-01-03 Ulrich Drepper <drepper@gmail.com>
14886
5e0d0300
UD
14887 * iconv/loop.c (single loop): Fix assertion in storing of
14888 remaining bytes.
14889
9f115170
UD
14890 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14891
81fb02b0
UD
148922012-01-01 Ulrich Drepper <drepper@gmail.com>
14893
14894 * posix/getconf.c: Update copyright year.
14895 * nss/getent.c: Likewise.
a316c1f6 14896 * nss/makedb.c: Likewise.
81fb02b0
UD
14897 * iconv/iconvconfig.c: Likewise.
14898 * iconv/iconv_prog.c: Likewise.
14899 * elf/ldconfig.c: Likewise.
a316c1f6
UD
14900 * elf/pldd.c: Likewise.
14901 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
14902 * catgets/gencat.c: Likewise.
14903 * csu/version.c: Likewise.
14904 * elf/ldd.bash.in: Likewise.
14905 * elf/sprof.c (print_version): Likewise.
14906 * locale/programs/locale.c: Likewise.
14907 * locale/programs/localedef.c: Likewise.
a316c1f6 14908 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
14909 * nscd/nscd.c (print_version): Likewise.
14910 * debug/xtrace.sh: Likewise.
14911 * malloc/memusage.sh: Likewise.
14912 * malloc/mtrace.pl: Likewise.
14913 * debug/catchsegv.sh: Likewise.
14914
2ba92745
JJ
149152011-12-30 Jakub Jelinek <jakub@redhat.com>
14916
14917 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14918 pure attribute.
14919
dadebdae
UD
149202011-12-24 Ulrich Drepper <drepper@gmail.com>
14921
d3761ebc 14922 [BZ #13533]
db6af3eb
UD
14923 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14924 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14925 transformations.
14926 * iconv/gconv_int.h: Likewise.
14927 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14928 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14929 from libc for GLIBC_2.16.
14930 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14931 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14932 * wcsmbs/uchar.h: Really define mbstate_t.
14933 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14934 * wcsmbs/c16rtomb.c: New file.
14935 * wcsmbs/mbrtoc16.c: New file.
14936 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14937 for C/POSIX locale.
14938 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14939 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14940
dadebdae
UD
14941 * wcsmbs/wchar.h: Add missing __restrict.
14942
67371b56
UD
149432011-12-23 Ulrich Drepper <drepper@gmail.com>
14944
74033a25
UD
14945 [BZ #13532]
14946 * time/Makefile (routines): Add timespec_get.
14947 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14948 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14949 timespec for ISO C11.
14950 * time/timespec_get.c: New file.
14951 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14952 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14953
380d7e87
UD
14954 [BZ #13531]
14955 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14956 * stdlib/stdlib.h: Declare aligned_alloc.
14957 * Versions.def: Add GLIBC_2.16 for libc.
14958 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14959
4e9e7a35
UD
14960 [BZ 13527]
14961 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14962 ISO C11.
14963
380d7e87 14964 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
14965 code.
14966
03a71829
UD
14967 [BZ #13528]
14968 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14969
839e283e
UD
14970 [BZ #13529]
14971 * assert/assert.h (static_assert): Define.
14972
ce5294e2 14973 * version.h: Update for 2.16 development version.
90fa7312 14974
8d44e150 14975 [BZ #13526]
d7809905
UD
14976 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14977 _ISOC11_SOURCE.
14978
c0da14cd
UD
14979 * version.h (RELEASE): Bump for 2.15 release.
14980 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14981
530a3249
MP
14982 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14983 Patch by Marek Polacek <mpolacek@redhat.com>.
14984
67371b56
UD
14985 * bits/byteswap.h: Protect long long constants with __extension__.
14986 * sysdeps/i386/bits/byteswap.h: Likewise.
14987 * sysdeps/ia64/bits/byteswap.h: Likewise.
14988 * sysdeps/s390/bits/byteswap.h: Likewise.
14989 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14990
15db4de1
LD
149912011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14992
14993 [BZ #13540]
bbe315ea
LD
14994 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14995 destination buffer.
15db4de1
LD
14996 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14997
2b2596b1
MP
149982011-12-23 Marek Polacek <polacek@redhat.com>
14999
15000 * elf/dl-addr.c (determine_info): Add inline keyword.
15001 * elf/tst-auditmod4b.c (check_avx): Likewise.
15002 * elf/tst-auditmod6b.c (check_avx): Likewise.
15003 * elf/tst-auditmod6c.c (check_avx): Likewise.
15004 * elf/tst-auditmod7b.c (check_avx): Likewise.
15005
70c6c246
UD
150062011-12-23 Ulrich Drepper <drepper@gmail.com>
15007
15008 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15009 !__SSE_MATH__.
15010
c044cf14
LD
150112011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15012
15db4de1 15013 [BZ #13540]
c044cf14
LD
15014 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15015 processing for last bytes.
15016
6b13d9d9
BH
150172011-08-06 Bruno Haible <bruno@clisp.org>
15018
d455f537
BH
15019 [BZ #13061]
15020 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15021 U+0385, not to U+1FEE.
15022
6b13d9d9
BH
15023 [BZ #13062]
15024 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15025 entry for U+00A5 U+0301.
15026
db910efd
UD
150272011-12-22 Ulrich Drepper <drepper@gmail.com>
15028
27deeafc
UD
15029 [BZ #13166]
15030 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15031 buffer for the output is too small.
15032
aed9d171
UD
15033 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15034 optimization.
15035
db910efd
UD
15036 [BZ #13185]
15037 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15038 SSE flags if possible.
15039
2bd779ae
LD
150402011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15041
e7f9dac3 15042 [BZ #13540]
2bd779ae
LD
15043 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15044 processing for last bytes.
15045
154bfc16
JM
150462011-12-22 Joseph Myers <joseph@codesourcery.com>
15047
15048 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15049 (syscall-list-default-options, syscall-list-default-condition)
15050 (syscall-list-includes): Define.
15051 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15052 list of ABIs and options and #if conditions for each ABI. Do not
15053 handle common syscalls between ABIs specially.
15054 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15055 Remove.
15056 (syscall-list-variants, syscall-list-32bit-options)
15057 (syscall-list-32bit-condition, syscall-list-64bit-options)
15058 (syscall-list-64bit-condition): Define.
15059 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15060 (syscall-list-variants, syscall-list-32bit-options)
15061 (syscall-list-32bit-condition, syscall-list-64bit-options)
15062 (syscall-list-64bit-condition): Define.
15063 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15064 Remove.
15065 (syscall-list-variants, syscall-list-32bit-options)
15066 (syscall-list-32bit-condition, syscall-list-64bit-options)
15067 (syscall-list-64bit-condition): Define.
15068 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15069 Remove.
15070 (syscall-list-variants, syscall-list-32bit-options)
15071 (syscall-list-32bit-condition, syscall-list-64bit-options)
15072 (syscall-list-64bit-condition): Define.
15073
21eaf3a5
UD
150742011-12-22 Ulrich Drepper <drepper@gmail.com>
15075
16c6f992
UD
15076 * locale/iso-639.def: Add brx entry.
15077
41043168
UD
15078 [BZ #13328]
15079 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15080 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15081
21eaf3a5
UD
15082 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15083 __feraiseexcept_renamed.
15084
e3a851a2
UD
150852011-12-21 Ulrich Drepper <drepper@gmail.com>
15086
4920765e
UD
15087 [BZ #13538]
15088 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15089 EPOLLET with unsigned values.
15090 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15091 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15092
e3a851a2
UD
15093 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15094 to large cancellation.
15095 * math/s_cacoshf.c: Likewise.
15096 * math/s_cacoshl.c: Likewise.
15097
b27e24b8
RK
150982011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15099
15100 [BZ #13305]
aebefeee 15101 [BZ #12786]
b27e24b8
RK
15102 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15103 * math/s_cacoshf.c: Likewise.
15104 * math/s_cacoshl.c: Likewise.
15105
ee190f67
UD
151062011-12-21 Ulrich Drepper <drepper@gmail.com>
15107
15108 [BZ #13439]
15109 * iconv/gconv.h: Define __GCONV_SWAP.
15110 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15111 * iconvdata/utf-16.c: Likewise.
15112 * iconvdata/utf-32.c: Likewise.
15113
707f25df
AS
151142011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15115
15116 [BZ #13524]
15117 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15118 numerator after shifting it by one limb.
15119
d2daaa1e
RÁE
151202011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15121
15122 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15123 under [__USE_EXTERN_INLINES].
15124
a4647e72
UD
151252011-12-17 Ulrich Drepper <drepper@gmail.com>
15126
15127 [BZ #13446]
15128 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15129
f0b264f1
AZ
151302011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15131
15132 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15133 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15134 optimized code.
15135 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15136 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15137 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15138 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15139 for strncasecmp/strncasecmp_l compilation.
15140 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15141 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15142
8ef4f244
MP
151432011-12-08 Marek Polacek <mpolacek@redhat.com>
15144
15145 [BZ #13484]
15146 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15147 of __asm__.
15148
97ac2654
UD
151492011-12-17 Ulrich Drepper <drepper@gmail.com>
15150
15151 [BZ #13506]
15152 * time/tzfile.c (__tzfile_read): Check values from file header.
15153
91d2a845
WS
151542011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15155
15156 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15157 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15158 * powerpc/powerpc32/dl-start.S: Likewise.
15159 * powerpc/powerpc32/elf/start.S: Likewise.
15160 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15161 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15162 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15163 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15164 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15165 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15166 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15167 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15168 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15169 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15170 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15171 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15172 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15173 * powerpc/powerpc32/memset.S: Likewise.
15174 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15175 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15176 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15177 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15178 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15179 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15180 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15181 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15182 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15183 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15184 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15185 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15186 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15187
a1267ba1
AZ
151882011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15189
15190 * math/libm-test.inc: Added more nearbyint tests.
15191 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15192 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15193 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15194 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15195
ad8ac1bd
RL
151962011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15197
15198 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15199 FD_CLOEXEC.
15200
1d3e4b61
UD
152012011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15202
15203 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15204 Add wcscpy-ssse3 wcscpy-c.
15205 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15206 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15207 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15208 * sysdeps/x86_64/wcschr.S: New file.
15209 * sysdeps/x86_64/wcsrchr.S: New file.
15210 * string/test-strcmp.c: Remove checking of wcscmp function for
15211 wrong alignments.
15212 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15213 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15214 wcsrchr-sse2 wcsrchr-c.
15215 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15216 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15217 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15218 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15219 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15220 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15221 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15222 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15223 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15224 * wcsmbc/wcschr.c (WCSCHR): New macro.
15225
5b330a2d
UD
152262011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15227
15228 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15229 * wcsmbs/test-wcsrchr.c: New file.
15230 * string/test-strrchr.c: Add wcsrchr support.
15231 (WIDE): New macro.
15232 * wcsmbs/test-wcscpy.c: New file.
15233 * string/test-strcpy.c: Add wcscpy support.
15234 (WIDE): New macro.
26428b7c 15235
f039c043
UD
152362011-12-10 Ulrich Drepper <drepper@gmail.com>
15237
15238 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15239 the inner loop.
15240
850fb039
AS
152412011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15242
15243 [BZ #13472]
15244 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15245
4efbd5cb
UD
152462011-12-04 Ulrich Drepper <drepper@gmail.com>
15247
52ff5dd0 15248 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 15249 Minor optimizations.
52ff5dd0 15250
4efbd5cb
UD
15251 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15252 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15253 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15254
8a426e12
UD
152552011-12-03 Ulrich Drepper <drepper@gmail.com>
15256
aff2453d
UD
15257 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15258 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15259 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15260 for gcc to avoid warnings.
15261 * inet/Makefile (tests): Add tst-checks.
15262 * inet/tst-checks.c: New file.
15263
15264 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15265 warning.
15266
15267 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15268 __wmemcmp_sse2.
15269
15270 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15271 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15272
8a426e12
UD
15273 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15274
9bea3473
UD
152752011-12-02 Ulrich Drepper <drepper@gmail.com>
15276
3a965496
UD
15277 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15278 problem.
15279
9bea3473
UD
15280 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15281
f101631b
UD
152822011-11-29 Joseph Myers <joseph@codesourcery.com>
15283
15284 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15285 conditional on GCC version.
15286 (__arch_compare_and_exchange_val_8_acq)
15287 (__arch_compare_and_exchange_val_16_acq)
15288 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15289 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15290 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15291
a98275aa
UD
152922011-12-02 Joseph Myers <joseph@codesourcery.com>
15293
15294 * sysdeps/sh/backtrace.c: New file.
15295
d4cc29a2
AS
152962011-12-02 Andreas Schwab <schwab@redhat.com>
15297
15298 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
15299 parenthesis.
15300
6257af2d
AS
153012011-12-01 Andreas Schwab <schwab@redhat.com>
15302
15303 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15304 falling back to utime.
15305
b5f44c1a
AS
153062011-11-30 Andreas Schwab <schwab@redhat.com>
15307
15308 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
15309 expectations for float.
15310
f3a6cc0a
AS
153112011-11-29 Andreas Schwab <schwab@redhat.com>
15312
15313 * locale/weight.h (findidx): Add parameter len.
15314 * locale/weightwc.h (findidx): Likewise.
15315 * posix/fnmatch_loop.c (FCT): Adjust caller.
15316 * posix/regcomp.c (build_equiv_class): Likewise.
15317 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
15318 * posix/regexec.c (check_node_accept_bytes): Likewise.
15319 * string/strcoll_l.c (STRCOLL): Likewise.
15320 * string/strxfrm_l.c (STRXFRM): Likewise.
15321
9d65ea3a
UD
153222011-11-17 Ulrich Drepper <drepper@gmail.com>
15323
15324 * Makefile.in: Remove CVSOPT handling.
15325 * configure.in: Remove use of AC_REVISION.
15326 * iconvdata/Makefile (distribute): No need to filter out CVS.
15327 * scripts/list-sources.sh: Remove CVS, subversion and monotone
15328 handling.
15329
5583a086
AS
153302011-11-16 Andreas Schwab <schwab@redhat.com>
15331
15332 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
15333 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
15334 [USE_AS_STRNCASECMP_L]: Likewise.
15335 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
15336 NO_TLS_DIRECT_SEG_REFS.
15337 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
15338 Fix argument offsets for non-PIC.
15339 [USE_AS_STRNCASECMP_L]: Likewise.
15340 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
15341 NO_TLS_DIRECT_SEG_REFS.
15342
d62a8200
UD
153432011-11-15 Ulrich Drepper <drepper@gmail.com>
15344
9d65ea3a 15345 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
15346 O_CLOEXEC.
15347 * locale/loadlocale.c (_nl_load_locale): Likewise.
15348
09f93bd3
AS
153492011-11-15 Andreas Schwab <schwab@redhat.com>
15350
446514f9
AS
15351 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
15352 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
15353 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
15354 (SYSCALL_GETTIME): Set errno on error.
15355
09f93bd3
AS
15356 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
15357 count references to noai6ai_cached.
15358
312be3f9
UD
153592011-11-15 Ulrich Drepper <drepper@gmail.com>
15360
15361 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
15362
15363 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
15364 FD_CLOEXEC for /proc/self/maps.
15365
15366 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
15367 FD_CLOEXEC for /proc/meminfo.
15368
15369 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
15370 gai.conf.
15371
15372 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
15373 FD_CLOEXEC for given file.
15374
15375 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
15376
15377 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
15378 FD_CLOEXEC for /etc/hosts.
15379 (_gethtent): Likewise.
15380
15381 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
15382
15383 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
15384 cancellation and set FD_CLOEXEC for /etc/netgroup.
15385
15386 * nss/nss_files/files-key.c (search): Don't allow cancellation when
15387 reading /etc/publickey.
15388
15389 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
15390 allow cancellation when reading /etc/group.
15391
15392 * nss/nss_files/files-alias.c (internal_setent): Don't allow
15393 cancellation.
15394 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
15395
15396 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
15397 when using data file.
15398
15399 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
15400
15401 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
15402 (write_nis_obj): Use "c" and "e" in fopen.
15403
15404 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
15405
15406 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
15407
15408 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
15409
15410 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
15411
15412 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
15413 locale.alias.
15414
15415 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
15416
15417 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
15418
15419 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
15420
15421 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
15422 file parsing and set FD_CLOEXEC.
15423
82af0fa8
UD
154242011-11-14 Ulrich Drepper <drepper@gmail.com>
15425
15426 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
15427
a5fb313c
AS
154282011-11-14 Andreas Schwab <schwab@redhat.com>
15429
15430 * malloc/arena.c (arena_get2): Don't call reused_arena when
15431 _int_new_arena failed.
15432
6abf3465
UD
154332011-11-14 Ulrich Drepper <drepper@gmail.com>
15434
15435 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
15436 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
15437 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
15438 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15439 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15440 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
15441 to compile strcasecmp and strncasecmp.
15442 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
15443 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
15444
15445 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
15446
76e3966e
UD
154472011-11-13 Ulrich Drepper <drepper@gmail.com>
15448
15449 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
15450 locale-defines.sym to gen-as-const-headers.
15451 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
15452 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
15453 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
15454 to compile strcasecmp and strncasecmp.
15455 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
15456 strcasecmp_l and strncasecmp_l.
15457 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
15458 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
15459 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
15460 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
15461 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
15462 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
15463 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
15464 * sysdeps/i386/i686/multiarch/strncase.S: New file.
15465 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
15466 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
15467 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
15468
ab26144e
UD
154692011-11-12 Ulrich Drepper <drepper@gmail.com>
15470
7edb22ef
UD
15471 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
15472 result of SYSDEP_GETTIME_CPU to retval.
15473 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
15474 parameter list to macro. Remove trailing semicolon. Adjust users.
15475
9694fc44
UD
15476 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
15477 variable.
15478
8ad89ef8
UD
15479 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
15480 mantissa words.
15481 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15482
0c822ef9
UD
15483 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
15484 from unused variable.
15485
874e0564
UD
15486 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
15487 DWARF definitions.
15488 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
15489 for assembling.
15490
3a2edc79
UD
15491 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
15492 over namespaces.
15493
f3c2577f
UD
15494 * sunrpc/rpc_prot.c (rejected): Fix case value.
15495
294ce126
UD
15496 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
15497 unsigned long long int to avoid warnings in shift.
15498
5e2b63c6
UD
15499 * posix/regex_internal.c (re_string_reconstruct): Actually use result
15500 of use of trans.
15501 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
15502 variable tmp.
15503
e7f4b08e
UD
15504 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
15505 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15506 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15507
ab26144e
UD
15508 * nis/nis_table.c (nis_list): Use variable of correct type for
15509 result of __follow_path call.
15510
8a6d5255
AZ
155112011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15512
15513 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
15514 of math functions ceil, trunc, floor, round, and sqrt, when
15515 avaliable on the platform.
15516 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
15517 name clash.
15518 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15519 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15520 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15521
aaddc98c
MP
155222011-10-30 Marek Polacek <mpolacek@redhat.com>
15523
15524 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
15525 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15526
95b7042b
RM
155272011-11-11 Roland McGrath <roland@hack.frob.com>
15528
15529 * include/unistd.h: Fix __readlink return type.
15530 Reported by Chris Metcalf <cmetcalf@tilera.com>.
15531
57769839
UD
155322011-11-11 Ulrich Drepper <drepper@gmail.com>
15533
15534 * stdlib/ucontext.h: Undo last change for makecontext.
15535
edc5984d
AS
155362011-11-11 Andreas Schwab <schwab@redhat.com>
15537
98591e58
AS
15538 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
15539
edc5984d
AS
15540 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
15541 * setjmp/setjmp.h: Mark functions as non-leaf.
15542 * setjmp/bits/setjmp2.h: Likewise.
15543 * stdlib/ucontext.h: Likewise.
15544
77cdc054
AS
155452011-11-10 Andreas Schwab <schwab@redhat.com>
15546
15547 * malloc/arena.c (_int_new_arena): Don't increment narenas.
15548 (reused_arena): Don't check arena limit.
15549 (arena_get2): Atomically check arena limit.
15550
fe72eebd
UD
155512011-11-08 Ulrich Drepper <drepper@gmail.com>
15552
5f078c32
UD
15553 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
15554 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
15555
fe72eebd
UD
15556 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
15557 instructions.
15558
ae1bc2fa
AS
155592011-11-07 Andreas Schwab <schwab@redhat.com>
15560
7583a88d
AS
15561 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
15562 handler when locking.
15563
ae1bc2fa
AS
15564 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15565 Fix size of allocated buffer.
15566
10fb0bfa
AS
155672011-11-04 Andreas Schwab <schwab@redhat.com>
15568
998832a4
AS
15569 [BZ #10103]
15570 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
15571 declarations for long double functions.
15572 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
15573
10fb0bfa
AS
15574 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
15575
3d7ba52b
AS
155762011-11-03 Andreas Schwab <schwab@redhat.com>
15577
a9ae54a1
AS
15578 * nscd/nscd.c (main): Don't start AVC thread until credentials are
15579 installed.
15580
3d7ba52b
AS
15581 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
15582 is disabled.
15583
bc8db248
ST
155842011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15585
15586 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
15587
45b96dd6
AS
155882011-11-01 Andreas Schwab <schwab@linux-m68k.org>
15589
647776f6
AS
15590 * include/alloca.h (stackinfo_alloca_round): Define.
15591 (extend_alloca): Use it.
15592 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
15593 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
15594 here.
15595
d91a8b93
AS
15596 * scripts/check-local-headers.sh: Ignore libaudit.h.
15597
45b96dd6
AS
15598 * nscd/Makefile (extra-objs): Make recursively expanded.
15599
432d41ce
UD
156002011-11-01 Ulrich Drepper <drepper@gmail.com>
15601
34372fc6
UD
15602 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
15603 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15604
fadb59f8
UD
15605 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
15606 * posix/tst-rfc3484-2.c: Likewise.
15607 * posix/tst-rfc3484-3.c: Likewise.
15608
78239589
UD
15609 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15610 process_vm_writev.
15611 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
15612 process_vm_writev.
15613 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
15614 process_vm_writev from libc using GLIBC_2.15 version.
15615
432d41ce
UD
15616 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
15617
02f9c6cf
PP
156182011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
15619
15620 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
15621 stack usage.
15622
3a2c0242
UD
156232011-10-31 Ulrich Drepper <drepper@gmail.com>
15624
f4ec4833
UD
15625 [BZ #13367]
15626 * nss/getent.c (initgroups_keys): Show error message in case no group
15627 names are given.
15628
3a2c0242
UD
15629 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
15630 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
15631 __bump_nl_timestamp.
15632 * nscd/connections (nscd_init): When host database is served open
15633 netlink socket and request notification about configuration changes.
15634 (main_loop_poll): Track netlink file descriptor and bump timestamp
15635 in case data becomes available.
15636 (main_loop_epoll): Likewise.
15637 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
15638 (database_pers_head): Add extra_data fileds.
15639 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
15640 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
15641 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
15642 Adjust caller.
15643 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
15644 in6ai data, call __free_in6ai.
15645 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
15646 Add -DHAVE_NETLINK.
15647 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
15648 interface information. Reuse previous data if netlink timestamp
15649 is not changed.
15650 (__bump_nl_timestamp): New function.
15651 (__free_in6ai): New function.
15652
636064eb
UD
156532011-10-30 Ulrich Drepper <drepper@gmail.com>
15654
15655 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
15656 close_not_cancel_no_status here.
15657 (__check_pf): Reorganize code a bit to not call close twice if OOM.
15658
9beb2334
UD
156592011-10-29 Ulrich Drepper <drepper@gmail.com>
15660
6ef76f3b
UD
15661 [BZ #13276]
15662 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
15663 return value.
15664
0ffc4f3e 15665 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
15666 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
15667 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
15668
cb95113e
UD
156692011-07-03 Andreas Jaeger <aj@suse.de>
15670
15671 [BZ #10709]
15672 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
15673 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
15674 * math/libm-test.inc (sin_test): Add test case.
15675
a1b560ff
UD
156762011-10-29 Ulrich Drepper <drepper@gmail.com>
15677
c9aaface
UD
15678 [BZ #13337]
15679 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15680 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15681
d272e7f1
UD
15682 * elf/chroot_canon.c (chroot_canon): Cleanups.
15683
1bc33071
UD
15684 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15685
1760874d
TJ
15686 [BZ #13335]
15687 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15688 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15689
51d91b18
UD
15690 * string/test-strchr.c: Make usable for strchrnul testing.
15691 * string/test-strchrnul.c: New file.
15692 * string/Makefile (strop-tests): Add strchrnul.
15693
a1b560ff 15694 * po/it.po: Update from translation team.
b611fb81 15695 * po/es.po: Likewise.
a1b560ff 15696
a5b81e1f
UD
156972011-10-28 Ulrich Drepper <drepper@gmail.com>
15698
fd52bc6d
UD
15699 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15700 the three constants needed as parameters. Drop the others.
15701 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15702 __m128i_strloadu_tolower.
52e4b9eb
UD
15703 Create and initialize variable zero and use it in all the places
15704 where _mm_setzero_si128 was used.
fd52bc6d 15705
a5b81e1f
UD
15706 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15707 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15708 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15709 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15710 anymore.
15711 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15712 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15713 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15714 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15715 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15716 __mpranred, __mptan.
15717 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15718 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15719 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15720 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15721 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15722 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15723 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15724 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15725 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15726
b4343346
AS
157272011-10-28 Andreas Schwab <schwab@redhat.com>
15728
0c92d8a8
AS
15729 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15730 redefine if SHARED.
15731 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15732
b4343346
AS
15733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15734 wide char related routines to wcsmbs subdir.
15735
3871f58f
AS
157362011-10-27 Andreas Schwab <schwab@redhat.com>
15737
15738 [BZ #13344]
15739 * misc/sys/cdefs.h (__THROWNL): Define.
15740 * posix/unistd.h: Use __THREADNL instead of __THREAD
15741 for memory synchronization functions.
15742
94d44d9f
RM
157432011-10-26 Roland McGrath <roland@hack.frob.com>
15744
21b64b15 15745 [BZ #13349]
94d44d9f
RM
15746 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15747 doesn't exist.
15748 * manual/stdio.texi (Obstack Streams): Node removed.
15749
f6ce9294
AS
157502011-10-26 Andreas Schwab <schwab@redhat.com>
15751
80479147
AS
15752 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15753 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15754 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15755
f6ce9294
AS
15756 * math/math_private.h (math_force_eval): Allow non-addressable
15757 arguments.
15758 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15759
618280a1
UD
157602011-10-25 Ulrich Drepper <drepper@gmail.com>
15761
e0016b11
UD
15762 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15763 file is not needed.
15764
15765 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15766 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15767 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15768 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15769 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15770 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15771 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15772 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15773 Add AVX variants.
15774 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15775 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15776 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15777 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15778 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15779 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15780 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15781 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15782 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15783 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15784 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15785 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15786 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15787 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15788 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15789 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15790 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15791 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15792 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15793
15794 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15795 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15796
618280a1
UD
15797 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15798 place. Use VEX encoding when compiling for AVX.
15799
37822576
AS
158002011-10-25 Andreas Schwab <schwab@redhat.com>
15801
1f1e1947
AS
15802 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15803 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15804
37822576
AS
15805 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15806
31ea014d
UD
158072011-10-25 Ulrich Drepper <drepper@gmail.com>
15808
d7826aa1 15809 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 15810 useless if() expression.
d7826aa1
UD
15811 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15812 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15813 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15814 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15815 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15816 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15817 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15818 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15819 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15820 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15821 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15822 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15823 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15824 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15825 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15826 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15827 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15828 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15829 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15830
31ea014d
UD
15831 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15832
16437fec
AS
158332011-10-25 Andreas Schwab <schwab@redhat.com>
15834
15835 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15836 condition.
15837 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15838
31d3cc00
UD
158392011-10-25 Ulrich Drepper <drepper@gmail.com>
15840
15841 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15842 .text section. Avoid duplicate constants.
15843 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15844 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15845 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15846 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15847 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15849 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15851 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15852 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15853 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15854 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15855 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15856 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15857 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15858 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15859 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15860 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15861 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15862 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15863 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15864 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15865 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15866 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15867 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15868 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15869 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15870 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15871 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15872 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15873 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15874 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15875 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15876 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15877 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15878 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15879 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15880 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15881 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15882 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15883 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15884 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15885 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15886 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15887 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15888
58985aa9
UD
158892011-10-24 Ulrich Drepper <drepper@gmail.com>
15890
202c9deb
UD
15891 * sysdeps/x86_64/dla.h: Move to ...
15892 * sysdeps/x86_64/fpu/dla.h: ...here.
15893 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15894 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 15895
af968f62
UD
15896 * config.make.in: Add have-mfma4 entry.
15897 * configure.in: Substitute libc_cv_cc_fma4.
15898 * math/Makefile (dbl-only-routines): Add sincostab.
15899 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15900 Use __sincostab not sincos.
15901 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15902 name is a macro.
15903 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15904 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15905 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15907 using __copysign.
15908 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15909 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15910 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15911 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15912 and __inv.
15913 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15914 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15915 __copysign.
15916 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15917 define aliases when function name is a macro.
15918 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15919 sysdeps/ieee754/dbl-64/sincos.tbl.
15920 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15921 fma4-enabled routines.
15922 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15923 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15924 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15925 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15926 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15927 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15928 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15929 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15930 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15931 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15932 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15933 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15934 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15935 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15936 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15937 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15938 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15939 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15940 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15941 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15942 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15943 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15944 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15945 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15946 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15947 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15948 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15949 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15950 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15951 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15952
58985aa9
UD
15953 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15954 rename.
15955 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15956 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15957 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15958 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15959 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15960 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15961 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15962 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15963
a201fbcf
AS
159642011-10-24 Andreas Schwab <schwab@redhat.com>
15965
15966 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15967
fc2ee42a
LD
159682011-10-23 Ulrich Drepper <drepper@gmail.com>
15969
bb3129bd
UD
15970 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15971
0275fff8
UD
15972 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15973 prediction.
15974 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15975
2fa2ae85
UD
15976 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15977 Remove unused variable magic_bits.
15978 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15979
fc2ee42a
LD
15980 * string/strnlen.c: Define and use STRNLEN macro.
15981 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15982 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15983 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15984 * wcsmbs/wcslen.c: Define and use WCSLEN.
15985 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15986 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15987 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15988 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15989 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15990 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15991 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15992
ce7dd29f
LD
159932011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15994
15995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15996 strnlen-sse2-no-bsf.
15997 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15998 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15999 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16000 Add strnlen support.
16001 (USE_AS_STRNLEN): New macro.
16002 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16003 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16004 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16005 * sysdeps/x86_64/wcslen.S: New file.
16006
979c70a3
MZ
160072011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16008
16009 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16010 XMM-moves are used for copying on small sizes.
16011
2d09f82f
LD
160122011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16013
16014 * wcsmbs/Makefile (strop-tests): Add wcschr.
16015 * wcsmbs/test-wcschr.c: New file.
16016 * string/test-strchr.c: Update.
16017 Add wcschr support.
16018 (WIDE): New macro.
16019
619fccca
LD
160202011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16021
2d09f82f 16022 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
16023 * wcsmbs/test-wcslen.c: New file.
16024 * string/test-strlen.c: Update.
16025 Add wcslen support.
16026 (WIDE): New macro.
16027
09f699ea
UD
160282011-10-23 Ulrich Drepper <drepper@gmail.com>
16029
16030 * po/it.po: Update from translation team.
16031
95584d3b
LD
160322011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16033
16034 * sysdeps/x86_64/wcscmp.S: Update.
16035 Fix wrong comparison semantics.
16036 wcscmp shall use signed comparison not unsigned.
16037 Don't use substraction to avoid overflow bug.
16038 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16039 * wcsmbc/wcscmp.c: Likewise.
16040 * string/test-strcmp.c: Likewise.
16041 Add new tests to check cases with negative values.
16042
c8b3296b
UD
160432011-10-23 Ulrich Drepper <drepper@gmail.com>
16044
16045 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16046 * sysdeps/x86_64/dla.h: ...here. New file.
16047 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16048 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16049 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16050 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16051 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16052 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16053 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16054 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16055 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16056
246ad57a
AS
160572011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16058
16059 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16060 __ynl_finite aliases.
16061
a1a87169
UD
160622011-10-22 Ulrich Drepper <drepper@gmail.com>
16063
0d355eb7
UD
16064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16065
a1a87169
UD
16066 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16067 define DLA_FMA.
16068 [DLA_FMA] (EMULV): Use DLA_FMA.
16069 [DLA_FMA] (MUL12): Use EMULV.
16070 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16071 that are not needed.
16072 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16073 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16074 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16075 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16076 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16077 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16078 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16079
ee2aafe0
AS
160802011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16081
16082 * math/s_nan.c: Undef __nan.
16083 * math/s_nanf.c: Undef __nanf.
16084 * math/s_nanl.c: Undef __nanl.
16085 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16086 "math_private.h".
16087
bc62c2fb
UD
160882011-10-22 Ulrich Drepper <drepper@gmail.com>
16089
77425c63
UD
16090 * math/s_catan.c: Add branch predictions.
16091 * math/s_catanf.c: Likewise.
16092 * math/s_catanh.c: Likewise.
16093 * math/s_catanhf.c: Likewise.
16094 * math/s_catanhl.c: Likewise.
16095 * math/s_catanl.c: Likewise.
16096 * math/s_cexp.c: Likewise.
16097 * math/s_cexpf.c: Likewise.
16098 * math/s_cexpl.c: Likewise.
16099 * math/s_clog.c: Likewise.
16100 * math/s_clog10.c: Likewise.
16101 * math/s_clog10f.c: Likewise.
16102 * math/s_clog10l.c: Likewise.
16103 * math/s_clogf.c: Likewise.
16104 * math/s_clogl.c: Likewise.
16105 * math/s_csqrt.c: Likewise.
16106 * math/s_csqrtf.c: Likewise.
16107 * math/s_csqrtl.c: Likewise.
16108 * math/s_ctanf.c: Likewise.
16109 * math/s_ctanh.c: Likewise.
16110 * math/s_ctanhf.c: Likewise.
16111 * math/s_ctanhl.c: Likewise.
16112 * math/s_ctanl.c: Likewise.
16113
bc62c2fb
UD
16114 * math/math_private.h: Define __nan, __nanf, __nanl.
16115 * math/s_cacosh.c: Include <math_private.h>.
16116 * math/s_cacoshl.c: Likewise.
16117 * math/s_casinh.c: Likewise.
16118 * math/s_casinhf.c: Likewise.
16119 * math/s_casinhl.c: Likewise.
16120 * math/s_ccos.c: Rely entire on ccosh.
16121 * math/s_ccosf.c: Rely entire on ccoshf.
16122 * math/s_ccosl.c: Rely entirely on ccoshl.
16123 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16124 Remove tests for FE_INVALID.
16125 * math/s_ccoshf.c: Likewise.
16126 * math/s_ccoshl.c: Likewise.
16127 * math/s_csin.c: Likewise.
16128 * math/s_csinf.c: Likewise.
16129 * math/s_csinh.c Likewise.
16130 * math/s_csinhf.c: Likewise.
16131 * math/s_csinhl.c: Likewise.
16132 * math/s_csinl.c: Likewise.
16133 * math/s_ctan.c: Likewise.
16134 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16135 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16136 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16137
8ec250a4
UD
161382011-10-21 Ulrich Drepper <drepper@gmail.com>
16139
c196fed8
UD
16140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16141 compilation problems.
16142
8ec250a4
UD
16143 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16144 __builtin_expect.
16145
8d4f46c6
UD
161462011-10-20 Ulrich Drepper <drepper@gmail.com>
16147
ed72b654
UD
16148 * sysdeps/i386/configure.in: Test for -mfma4 option.
16149 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16150 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16151 COMMON_CPUID_INDEX_80000001.
16152 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16153 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16154 use it if FMA3 is not supported.
16155 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16156
8d4f46c6
UD
16157 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16158 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16159
d45c60c2
AS
161602011-10-20 Andreas Schwab <schwab@redhat.com>
16161
16162 [BZ #12892]
16163 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16164 it would create a cycle with a link time dependency.
16165
d9a4d2ab
UD
161662011-10-19 Ulrich Drepper <drepper@gmail.com>
16167
855d1560
UD
16168 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16169 instruction.
16170 * string/Makefile (strop-tests): Add rawmemchr.
16171 * string/test-rawmemchr.c: New file.
16172
d9a4d2ab
UD
16173 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16174 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16175 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16176 when compiling str{,n}casecmp and when AVX is available. Hook up
16177 new optimized code in initializers.
16178
8f3b1ffe
AS
161792011-10-19 Andreas Schwab <schwab@redhat.com>
16180
16181 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16182 __feraiseexcept instead of feraiseexcept.
16183
d38f1dba
UD
161842011-10-18 Ulrich Drepper <drepper@gmail.com>
16185
d9a8d0ab
UD
16186 * math/math_private.h: Define defaults for libc_fetestexcept and
16187 libc_feupdateenv.
16188 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16189 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16190 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16191 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16192 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16193 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16194 libc_fetestexcept and libc_feupdateenv.
16195
4855e3dd
UD
16196 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16197 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16198 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16199 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16200 libc_feholdexcept_setround.
16201
581d30e3
UD
16202 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16203 Add s_nearbyint-c and s_nearbyintf-c.
16204 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16205 nearbyintf inlines.
16206 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16207 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16208 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16209 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16210
d38f1dba
UD
16211 * math/math_private.h: Define defaults for libc_fegetround,
16212 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16213 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16214 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16215 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16216 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16217 standard functions.
16218 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16219 Remove comments and hacks for old compiler versions.
16220 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16221 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16222 libc_feholdexceptl.
16223
caa6c9d8
AS
162242011-10-18 Andreas Schwab <schwab@redhat.com>
16225
16226 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
16227 (__feraiseexcept_renamed): Add __NTH.
16228 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
16229 namespace violations.
16230
97c066e6
UD
162312011-10-17 Ulrich Drepper <drepper@gmail.com>
16232
99ce7b04
UD
16233 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16234
1004d182
UD
16235 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16236
228a984d
UD
16237 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16238 recently added interfaces.
16239 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16240
c8553a6a
UD
16241 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16242 about macro parameter expansion.
16243
ed22dcf6
UD
16244 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16245 __NO_MATH_INLINES is defined. Cleanups.
16246
16247 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16248 and __floorf is target has SSE4.1.
16249 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16250 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16251 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16252 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16253
b171c137
UD
16254 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16255 name.
16256 (floorf): Likewise.
16257
97c066e6
UD
16258 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16259
629f62ef
AS
162602011-10-17 Andreas Schwab <schwab@redhat.com>
16261
49a43d80
AS
16262 * misc/sys/cdefs.h: Fix last change.
16263
629f62ef
AS
16264 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16265 database lookup.
16266
e453f6cd
UD
162672011-10-16 Ulrich Drepper <drepper@gmail.com>
16268
aa78043a
UD
16269 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16270
ad0f5cad
UD
16271 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16272 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16273 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16274 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16275 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16276 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16277 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16278 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16279 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16280 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16281 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16282 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16283 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16284 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16285 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16286 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16287 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16288 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16289 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16290 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16291 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16292 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16293
16294 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16295 ceil, ceilf, floor, floorf.
16296
16297 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16298 Perform IRELATIVE relocations last.
16299
e453f6cd
UD
16300 * elf/do-rel.h: Add another parameter nrelative, replacing the
16301 local variable with the same name. Change name of the function
16302 to end in Rel or Rela (uppercase).
16303 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16304 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
16305 elf_dynamic_do_##reloc function.
16306
fd5bdc09
UD
163072011-10-15 Ulrich Drepper <drepper@gmail.com>
16308
79b195b5
UD
16309 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
16310 is sufficient, at least on modern CPUs.
16311
d4a28569
UD
16312 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
16313
b61099b5
UD
16314 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
16315 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
16316
bcf01e6d
UD
16317 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
16318 __expl_finite.
16319 * math/bits/math-finite.h: Add entries for exp.
16320 * math/e_expl.c: Add __*_finite alias.
16321 * sysdeps/i386/fpu/e_exp.S: Likewise.
16322 * sysdeps/i386/fpu/e_expf.S: Likewise.
16323 * sysdeps/i386/fpu/e_expl.c: Likewise.
16324 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16325 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16326 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16327 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16328 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
16329 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16330 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16331
ba1a0d59
UD
16332 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
16333 is sufficient, at least on modern CPUs.
16334
fd5bdc09
UD
16335 * ctype/ctype-info.c (__ctype_init): Define.
16336 * include/ctype.h (__ctype_init): Declare.
16337 (__ctype_b_loc): The variable is always initialized.
16338 (__ctype_toupper_loc): Likewise.
16339 (__ctype_tolower_loc): Likewise.
16340 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
16341 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
16342
7872cfb0
AS
163432011-10-15 Andreas Schwab <schwab@linux-m68k.org>
16344
b468825a
AS
16345 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
16346
7872cfb0
AS
16347 * configure.in: Also look in $cxxmachine/include for C++ system
16348 headers.
16349
be13f7bf
LD
163502011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16351
16352 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
16353 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
16354 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
16355 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
16356 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
16357 (USE_AS_WMEMCMP): New macro.
16358 Fixing indents.
16359 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
16360 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
16361 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
16362 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
16363 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16364 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
16365 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
16366 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
16367 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
16368 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
16369 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
16370 (USE_AS_WMEMCMP): New macro.
16371 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
16372 * sysdeps/string/test-memcmp.c: Update.
16373 Fix simple_wmemcmp.
16374 Add new tests.
16375 * wcsmbs/wmemcmp.c: Update.
16376 (WMEMCMP): New macro.
16377 Fix overflow bug.
16378
556a2007
AJ
163792011-10-12 Andreas Jaeger <aj@suse.de>
16380
16381 [BZ #13268]
16382 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
16383
538faaa7
UD
163842011-10-15 Ulrich Drepper <drepper@gmail.com>
16385
ab6737ff
UD
16386 * libio/iofwide.c (do_length): Avoid warning.
16387
538faaa7
UD
16388 * ctype/ctype.h (__isctype_f): Add missing __THROW.
16389
396a21b1
UD
163902011-10-14 Ulrich Drepper <drepper@gmail.com>
16391
cdf2901f
UD
16392 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
16393
38ad40ce
UD
16394 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
16395 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
16396 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
16397 * sysdeps/i386/i686/fpu/e_log.S: New file.
16398 * sysdeps/i386/i686/fpu/e_logf.S: New file.
16399 * sysdeps/i386/i686/fpu/e_logl.S: New file.
16400
396a21b1
UD
16401 * ctype/ctype.h: Add support for inlined isXXX functions when
16402 compiling C++ code.
16403
6b1f68c9
AS
164042011-10-14 Andreas Schwab <schwab@redhat.com>
16405
349290c0
AS
16406 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16407
6b1f68c9
AS
16408 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
16409
f2282d42
RM
164102011-10-13 Roland McGrath <roland@hack.frob.com>
16411
16412 [BZ #13291]
16413 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
16414
5298ffa8
AS
164152011-10-13 Andreas Schwab <schwab@redhat.com>
16416
714fad23
AS
16417 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
16418 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
16419 feraiseexcept.
16420
81dcc7fb
AS
16421 * sysdeps/x86_64/memrchr.S: Check for zero size.
16422
5298ffa8
AS
16423 * string/stratcliff.c: Add memrchr tests.
16424
951fbcec
LD
164252011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16426
16427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16428 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
16429 rawmemchr-sse2 rawmemchr-sse2-bsf.
16430 * sysdeps/i386/i686/multiarch/memchr.S: New file.
16431 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
16432 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
16433 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
16434 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
16435 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
16436 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
16437 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
16438 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
16439 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
16440 * string/memrchr.c (MEMRCHR): New macro.
16441
0ac5ae23
UD
164422011-10-12 Ulrich Drepper <drepper@gmail.com>
16443
16444 Add integration with gcc's -ffinite-math-only and optimize wrapper
16445 functions in libm.
16446 * Versions.def: Define GLIBC_2.15 version for libm.
16447 * math/Makefile (headers): Add bits/math-finite.h.
16448 * math/bits/math-finite.h: New file.
16449 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
16450 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
16451 * math/e_acoshl.c: Add __*_finite alias.
16452 * math/e_acosl.c: Likewise.
16453 * math/e_asinl.c: Likewise.
16454 * math/e_atan2l.c: Likewise.
16455 * math/e_atanhl.c: Likewise.
16456 * math/e_coshl.c: Likewise.
16457 * math/e_exp10.c: Likewise.
16458 * math/e_exp10f.c: Likewise.
16459 * math/e_exp10l.c: Likewise.
16460 * math/e_exp2l.c: Likewise.
16461 * math/e_fmodl.c: Likewise.
16462 * math/e_gammal_r.c: Likewise.
16463 * math/e_hypotl.c: Likewise.
16464 * math/e_j0l.c: Likewise.
16465 * math/e_j1l.c: Likewise.
16466 * math/e_jnl.c: Likewise.
16467 * math/e_lgammal_r.c: Likewise.
16468 * math/e_log10l.c: Likewise.
16469 * math/e_log2l.c: Likewise.
16470 * math/e_logl.c: Likewise.
16471 * math/e_powl.c: Likewise.
16472 * math/e_sinhl.c: Likewise.
16473 * math/e_sqrtl.c: Likewise.
16474 * math/e_scalb.c: Completely rewritten and optimized.
16475 * math/e_scalbf.c: Likewise.
16476 * math/e_scalbl.c: Likewise.
16477 * math/w_acos.c: Likewise.
16478 * math/w_acosf.c: Likewise.
16479 * math/w_acosl.c: Likewise.
16480 * math/w_acosh.c: Likewise.
16481 * math/w_acoshf.c: Likewise.
16482 * math/w_acoshl.c: Likewise.
16483 * math/w_asin.c: Likewise.
16484 * math/w_asinf.c: Likewise.
16485 * math/w_asinl.c: Likewise.
16486 * math/w_atan2.c: Likewise.
16487 * math/w_atan2f.c: Likewise.
16488 * math/w_atan2l.c: Likewise.
16489 * math/w_atanh.c: Likewise.
16490 * math/w_atanhf.c: Likewise.
16491 * math/w_atanhl.c: Likewise.
16492 * math/w_exp10.c: Likewise.
16493 * math/w_exp10f.c: Likewise.
16494 * math/w_exp10l.c: Likewise.
16495 * math/w_fmod.c: Likewise.
16496 * math/w_fmodf.c: Likewise.
16497 * math/w_fmodl.c: Likewise.
16498 * math/w_j0.c: Likewise.
16499 * math/w_j0f.c: Likewise.
16500 * math/w_j0l.c: Likewise.
16501 * math/w_j1.c: Likewise.
16502 * math/w_j1f.c: Likewise.
16503 * math/w_j1l.c: Likewise.
16504 * math/w_jn.c: Likewise.
16505 * math/w_jnf.c: Likewise.
16506 * math/w_log.c: Likewise.
16507 * math/w_logf.c: Likewise.
16508 * math/w_logl.c: Likewise.
16509 * math/w_log10.c: Likewise.
16510 * math/w_log10f.c: Likewise.
16511 * math/w_log10l.c: Likewise.
16512 * math/w_log2.c: Likewise.
16513 * math/w_log2f.c: Likewise.
16514 * math/w_log2l.c: Likewise.
16515 * math/w_pow.c: Likewise.
16516 * math/w_powf.c: Likewise.
16517 * math/w_powl.c: Likewise.
16518 * math/w_remainder.c: Likewise.
16519 * math/w_remainderf.c: Likewise.
16520 * math/w_remainderl.c: Likewise.
16521 * math/w_scalb.c: Likewise.
16522 * math/w_scalbf.c: Likewise.
16523 * math/w_scalbl.c: Likewise.
16524 * math/w_sqrt.c: Likewise.
16525 * math/w_sqrtf.c: Likewise.
16526 * math/w_sqrtl.c: Likewise.
16527 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
16528 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
16529 used.
16530 * math/math_private.h: Declare __kernel_standard_f.
16531 * math/w_cosh.c: Remove cruft and optimize a bit.
16532 * math/w_coshf.c: Likewise.
16533 * math/w_coshl.c: Likewise.
16534 * math/w_exp2.c: Likewise.
16535 * math/w_exp2f.c: Likewise.
16536 * math/w_exp2l.c: Likewise.
16537 * math/w_hypot.c: Likewise.
16538 * math/w_hypotf.c: Likewise.
16539 * math/w_hypotl.c: Likewise.
16540 * math/w_lgamma.c: Likewise.
16541 * math/w_lgamma_r.c: Likewise.
16542 * math/w_lgammaf.c: Likewise.
16543 * math/w_lgammaf_r.c: Likewise.
16544 * math/w_lgammal.c: Likewise.
16545 * math/w_lgammal_r.c: Likewise.
16546 * math/w_sinh.c: Likewise.
16547 * math/w_sinhf.c: Likewise.
16548 * math/w_sinhl.c: Likewise.
16549 * math/w_tgamma.c: Likewise.
16550 * math/w_tgammaf.c: Likewise.
16551 * math/w_tgammal.c: Likewise.
16552 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16553 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16554 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
16555 Minor optimizations. Pretty printing. Remove cruft.
16556 * sysdeps/i386/fpu/e_acosf.S: Likewise.
16557 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16558 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16559 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16560 * sysdeps/i386/fpu/e_acosl.c: Likewise.
16561 * sysdeps/i386/fpu/e_asin.S: Likewise.
16562 * sysdeps/i386/fpu/e_asinf.S: Likewise.
16563 * sysdeps/i386/fpu/e_atan2.S: Likewise.
16564 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
16565 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
16566 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16567 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16568 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16569 * sysdeps/i386/fpu/e_exp10.S: Likewise.
16570 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
16571 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
16572 * sysdeps/i386/fpu/e_exp2.S: Likewise.
16573 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
16574 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
16575 * sysdeps/i386/fpu/e_fmod.S: Likewise.
16576 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
16577 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
16578 * sysdeps/i386/fpu/e_hypot.S: Likewise.
16579 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
16580 * sysdeps/i386/fpu/e_log.S: Likewise.
16581 * sysdeps/i386/fpu/e_log10.S: Likewise.
16582 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16583 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16584 * sysdeps/i386/fpu/e_log2.S: Likewise.
16585 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16586 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16587 * sysdeps/i386/fpu/e_logf.S: Likewise.
16588 * sysdeps/i386/fpu/e_logl.S: Likewise.
16589 * sysdeps/i386/fpu/e_pow.S: Likewise.
16590 * sysdeps/i386/fpu/e_powf.S: Likewise.
16591 * sysdeps/i386/fpu/e_powl.S: Likewise.
16592 * sysdeps/i386/fpu/e_remainder.S: Likewise.
16593 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
16594 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
16595 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16596 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16597 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16598 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
16599 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
16600 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
16601 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16602 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16605 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16606 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16607 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16608 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16609 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16610 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16611 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16612 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16614 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16615 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16616 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16617 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16620 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16621 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16622 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16623 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16624 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16625 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16626 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16627 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16628 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16629 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16630 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16631 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16632 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16633 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16634 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16635 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16636 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16637 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16638 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16639 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16640 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16641 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16642 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16643 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16644 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16645 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16646 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16647 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16648 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16649 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16650 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16651 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16652 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16653 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16654 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16655 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16656 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16657 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16658 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16659 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16660 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16661 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16662 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16663 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16664 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16665 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16666 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16667 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16668 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16669 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16670 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16671 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16672 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16673 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16674 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16675 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16676 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16677 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16678 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16679 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16680 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16681 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16682 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16683 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16684 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16685 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16686 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16687 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16688 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16689 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16690 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16691 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16692 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16693 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16694 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16695 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16696 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16697 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16698 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16699 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16700 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16701 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16702 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16703 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16704 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16705 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16706 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16707 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16708 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16709 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16710 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16711 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
16712 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16713 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16714 (__isnanf): Likewise.
16715 (__isinf_ns): Likewise.
16716 (__isinf_nsf): Likewise.
16717 (__finite): Likewise.
16718 (__finitef): Likewise.
16719 (__ieee754_sqrt): Define as macro.
16720 (__ieee754_sqrtf): Define as macro.
16721 (__ieee754_sqrtl): Define as macro.
16722 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16723 inlined copy.
16724 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16725 __FINITE_MATH_ONLY__ consistent.
16726 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16727
12cc2fcd
AS
167282011-10-10 Andreas Schwab <schwab@linux-m68k.org>
16729
a843a204
AS
16730 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16731 of rawmemchr.
16732
12cc2fcd
AS
16733 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16734
c853acd5
UD
167352011-10-09 Ulrich Drepper <drepper@gmail.com>
16736
16737 * po/ja.po: Update from translation team.
16738
c658d255
RM
167392011-10-08 Roland McGrath <roland@hack.frob.com>
16740
110946e4
RM
16741 * locale/programs/locarchive.c (prepare_address_space): New function.
16742 (create_archive, enlarge_archive, open_archive): Use it.
16743
50604220
RM
16744 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16745 inside [SHARED], where it is used.
16746
c658d255
RM
16747 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16748
16749 * nss/getent.c (netgroup_keys): Remove unused variable.
16750 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16751
6a621eb7
UD
167522011-10-08 Ulrich Drepper <drepper@gmail.com>
16753
7edb55ce
UD
16754 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16755 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16756 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16757 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16758 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16759 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16760 * math/Makefile (libm-calls): Add s_isinf_ns.
16761 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16762 * math/multc3.c: Likewise.
16763 * math/s_casin.c: Likewise.
16764 * math/s_casinf.c: Likewise.
16765 * math/s_casinl.c: Likewise.
16766 * math/s_ccos.c: Likewise.
16767 * math/s_ccosf.c: Likewise.
16768 * math/s_ccosl.c: Likewise.
16769 * math/s_ctan.c: Likewise.
16770 * math/s_ctanf.c: Likewise.
16771 * math/s_ctanh.c: Likewise.
16772 * math/s_ctanhf.c: Likewise.
16773 * math/s_ctanhl.c: Likewise.
16774 * math/s_ctanl.c: Likewise.
16775 * math/w_fmod.c: Likewise.
16776 * math/w_fmodf.c: Likewise.
16777 * math/w_fmodl.c: Likewise.
16778 * math/w_remainder.c: Likewise.
16779 * math/w_remainderf.c: Likewise.
16780 * math/w_remainderl.c: Likewise.
16781 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16782 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16783 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16784 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16785 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16786 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16787 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16788 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16789
187da0ae
UD
16790 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16791 of the number.
16792 * stdio-common/printf_fphex.c: Likewise.
16793 * stdio-common/printf_size.c: Likewise.
16794
9277c064
UD
16795 * math/e_exp10.c: Include math_private.h using <...> not "...".
16796 * math/e_exp10f.c: Likewise.
16797 * math/e_exp10l.c: Likewise.
16798 * math/e_exp2l.c: Likewise.
16799 * math/e_j0l.c: Likewise.
16800 * math/e_j1l.c: Likewise.
16801 * math/e_jnl.c: Likewise.
16802 * math/e_lgammal_r.c: Likewise.
16803 * math/e_rem_pio2l.c: Likewise.
16804 * math/e_scalb.c: Likewise.
16805 * math/e_scalbf.c: Likewise.
16806 * math/e_scalbl.c: Likewise.
16807 * math/k_cosl.c: Likewise.
16808 * math/k_sinl.c: Likewise.
16809 * math/k_tanl.c: Likewise.
16810 * math/s_cacoshf.c: Likewise.
16811 * math/s_catan.c: Likewise.
16812 * math/s_catanf.c: Likewise.
16813 * math/s_catanh.c: Likewise.
16814 * math/s_catanhf.c: Likewise.
16815 * math/s_catanhl.c: Likewise.
16816 * math/s_catanl.c: Likewise.
16817 * math/s_ccosh.c: Likewise.
16818 * math/s_ccoshf.c: Likewise.
16819 * math/s_ccoshl.c: Likewise.
16820 * math/s_cexp.c: Likewise.
16821 * math/s_cexpf.c: Likewise.
16822 * math/s_cexpl.c: Likewise.
16823 * math/s_clog.c: Likewise.
16824 * math/s_clog10.c: Likewise.
16825 * math/s_clog10f.c: Likewise.
16826 * math/s_clog10l.c: Likewise.
16827 * math/s_clogf.c: Likewise.
16828 * math/s_clogl.c: Likewise.
16829 * math/s_csin.c: Likewise.
16830 * math/s_csinf.c: Likewise.
16831 * math/s_csinh.c: Likewise.
16832 * math/s_csinhf.c: Likewise.
16833 * math/s_csinhl.c: Likewise.
16834 * math/s_csinl.c: Likewise.
16835 * math/s_csqrt.c: Likewise.
16836 * math/s_csqrtf.c: Likewise.
16837 * math/s_csqrtl.c: Likewise.
16838 * math/s_ctan.c: Likewise.
16839 * math/s_ctanf.c: Likewise.
16840 * math/s_ctanh.c: Likewise.
16841 * math/s_ctanhf.c: Likewise.
16842 * math/s_ctanhl.c: Likewise.
16843 * math/s_ctanl.c: Likewise.
16844 * math/s_ldexp.c: Likewise.
16845 * math/s_ldexpf.c: Likewise.
16846 * math/s_ldexpl.c: Likewise.
16847 * math/s_significand.c: Likewise.
16848 * math/s_significandf.c: Likewise.
16849 * math/s_significandl.c: Likewise.
16850 * math/w_acos.c: Likewise.
16851 * math/w_acosf.c: Likewise.
16852 * math/w_acosh.c: Likewise.
16853 * math/w_acoshf.c: Likewise.
16854 * math/w_acoshl.c: Likewise.
16855 * math/w_acosl.c: Likewise.
16856 * math/w_asin.c: Likewise.
16857 * math/w_asinf.c: Likewise.
16858 * math/w_asinl.c: Likewise.
16859 * math/w_atan2.c: Likewise.
16860 * math/w_atan2f.c: Likewise.
16861 * math/w_atan2l.c: Likewise.
16862 * math/w_atanh.c: Likewise.
16863 * math/w_atanhf.c: Likewise.
16864 * math/w_atanhl.c: Likewise.
16865 * math/w_cosh.c: Likewise.
16866 * math/w_coshf.c: Likewise.
16867 * math/w_coshl.c: Likewise.
16868 * math/w_dremf.c: Likewise.
16869 * math/w_exp10.c: Likewise.
16870 * math/w_exp10f.c: Likewise.
16871 * math/w_exp10l.c: Likewise.
16872 * math/w_exp2.c: Likewise.
16873 * math/w_exp2f.c: Likewise.
16874 * math/w_fmod.c: Likewise.
16875 * math/w_fmodf.c: Likewise.
16876 * math/w_fmodl.c: Likewise.
16877 * math/w_hypot.c: Likewise.
16878 * math/w_hypotf.c: Likewise.
16879 * math/w_hypotl.c: Likewise.
16880 * math/w_j0.c: Likewise.
16881 * math/w_j0f.c: Likewise.
16882 * math/w_j0l.c: Likewise.
16883 * math/w_j1.c: Likewise.
16884 * math/w_j1f.c: Likewise.
16885 * math/w_j1l.c: Likewise.
16886 * math/w_jn.c: Likewise.
16887 * math/w_jnf.c: Likewise.
16888 * math/w_jnl.c: Likewise.
16889 * math/w_lgamma.c: Likewise.
16890 * math/w_lgamma_r.c: Likewise.
16891 * math/w_lgammaf.c: Likewise.
16892 * math/w_lgammaf_r.c: Likewise.
16893 * math/w_lgammal.c: Likewise.
16894 * math/w_lgammal_r.c: Likewise.
16895 * math/w_log.c: Likewise.
16896 * math/w_log10.c: Likewise.
16897 * math/w_log10f.c: Likewise.
16898 * math/w_log10l.c: Likewise.
16899 * math/w_log2.c: Likewise.
16900 * math/w_log2f.c: Likewise.
16901 * math/w_log2l.c: Likewise.
16902 * math/w_logf.c: Likewise.
16903 * math/w_logl.c: Likewise.
16904 * math/w_pow.c: Likewise.
16905 * math/w_powf.c: Likewise.
16906 * math/w_powl.c: Likewise.
16907 * math/w_remainder.c: Likewise.
16908 * math/w_remainderf.c: Likewise.
16909 * math/w_remainderl.c: Likewise.
16910 * math/w_scalb.c: Likewise.
16911 * math/w_scalbf.c: Likewise.
16912 * math/w_scalbl.c: Likewise.
16913 * math/w_sinh.c: Likewise.
16914 * math/w_sinhf.c: Likewise.
16915 * math/w_sinhl.c: Likewise.
16916 * math/w_sqrt.c: Likewise.
16917 * math/w_sqrtf.c: Likewise.
16918 * math/w_sqrtl.c: Likewise.
16919 * math/w_tgamma.c: Likewise.
16920 * math/w_tgammaf.c: Likewise.
16921 * math/w_tgammal.c: Likewise.
16922
6a621eb7
UD
16923 * po/ja.po: Update from translation team.
16924
bf582445
AJ
169252011-09-29 Andreas Jaeger <aj@suse.de>
16926
f9efbf3a
AJ
16927 [BZ #13179]
16928 * sunrpc/netname.c (netname2host): Fix logic.
16929
bf582445
AJ
16930 [BZ #6779]
16931 [BZ #6783]
16932 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16933 correctly.
16934 * math/w_remainder.c (__remainder): Likewise.
16935 * math/w_remainderf.c (__remainderf): Likewise.
16936 * math/libm-test.inc (remainder_test): Add test cases.
16937
48693bea
AK
169382011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16939
16940 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16941 sdiv_qrnnd.
16942
42622229
LD
169432011-10-07 Ulrich Drepper <drepper@gmail.com>
16944
16945 * string/test-memcmp.c: Avoid unncessary #defines.
16946 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16947
093ecf92
LD
169482011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16949
16950 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16951 Use new sse2 version for core i3 - i7 as it's faster
16952 than sse42 version.
16953 (bit_Prefer_PMINUB_for_stringop): New.
16954 * sysdeps/x86_64/rawmemchr.S: Update.
16955 Replace with faster SSE2 version.
16956 * sysdeps/x86_64/memrchr.S: New file.
16957 * sysdeps/x86_64/memchr.S: Update.
16958 Replace with faster SSE2 version.
16959
fde56e5c
MP
169602011-09-12 Marek Polacek <mpolacek@redhat.com>
16961
16962 * elf/dl-load.c (lose): Add cast to avoid warning.
16963
21fd49a9
UD
169642011-10-07 Ulrich Drepper <drepper@gmail.com>
16965
5a06e643
UD
16966 * po/ca.po: Update from translation team.
16967
684ae515
UD
16968 * inet/getnetgrent_r.c: Hook up nscd.
16969 * nscd/Makefile (routines): Add nscd_netgroup.
16970 (nscd-modules): Add netgroupcache.
16971 (CFLAGS-netgroupcache.c): Define.
16972 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16973 (cache_search): Add const to second parameter.
16974 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16975 INNETGR.
16976 (dbs): Add netgrdb entry.
16977 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16978 (verify_persistent_db): Handle netgrdb.
16979 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16980 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16981 GETFDNETGR.
16982 (netgroup_response_header): Define.
16983 (innetgroup_response_header): Define.
16984 (datahead): Add netgroup_response_header and innetgroup_response_header
16985 elements.
16986 * nscd/nscd.conf: Add entries for netgroup cache.
16987 * nscd/nscd.h (dbtype): Add netgrdb.
16988 (_PATH_NSCD_NETGROUP_DB): Define.
16989 (netgroup_iov_disabled): Declare.
16990 (xmalloc, xcalloc, xrealloc): Move declarations here.
16991 (cache_search): Adjust prototype.
16992 Add netgroup-related prototypes.
16993 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16994 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16995 (__nscd_innetgr): Declare.
16996 * nscd/selinux.c (perms): Use access_vector_t as element type and
16997 add netgroup-related initializers.
16998 * nscd/netgroupcache.c: New file.
16999 * nscd/nscd_netgroup.c: New file.
17000 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17001 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17002 For four parameters use innetgr.
17003 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17004 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17005 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17006 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17007
21fd49a9
UD
17008 * nscd/connections.c (register_traced_file): Don't register file
17009 for disabled databases.
17010
054c0457
UD
170112011-10-06 Ulrich Drepper <drepper@gmail.com>
17012
32b63198
UD
17013 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17014
054c0457
UD
17015 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17016 from tree and freeing node.
17017
64031225
JO
170182011-09-25 Jiri Olsa <jolsa@redhat.com>
17019
17020 * nss/nsswitch.c (__nss_database_lookup): Handle
17021 nss_parse_service_list out of memory case.
17022
0490345c
JO
170232011-09-15 Jiri Olsa <jolsa@redhat.com>
17024
17025 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17026 out of memory case.
17027
3a62d00d
AS
170282011-10-04 Andreas Schwab <schwab@redhat.com>
17029
17030 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17031 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17032 pass it down.
17033 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17034 elf_machine_rela, elf_machine_lazy_rel.
17035 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17036 (ELF_DYNAMIC_DO_REL): Likewise.
17037 (ELF_DYNAMIC_DO_RELA): Likewise.
17038 (ELF_DYNAMIC_RELOCATE): Likewise.
17039 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17040 to ELF_DYNAMIC_DO_REL.
17041 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17042 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17043 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17044 elf_machine_rela.
17045 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17046 skip_ifunc, don't call ifunc function if non-zero.
17047 (elf_machine_rela): Likewise.
17048 (elf_machine_lazy_rel): Likewise.
17049 (elf_machine_lazy_rela): Likewise.
17050 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17051 (elf_machine_lazy_rel): Likewise.
17052 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17053 Likewise.
17054 (elf_machine_lazy_rel): Likewise.
17055 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17056 Likewise.
17057 (elf_machine_lazy_rel): Likewise.
17058 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17059 (elf_machine_lazy_rel): Likewise.
17060 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17061 (elf_machine_lazy_rel): Likewise.
17062 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17063 (elf_machine_lazy_rel): Likewise.
17064 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17065 (elf_machine_lazy_rel): Likewise.
17066 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17067 (elf_machine_lazy_rel): Likewise.
17068 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17069 (elf_machine_lazy_rel): Likewise.
17070
68577918
UD
170712011-09-28 Ulrich Drepper <drepper@gmail.com>
17072
17073 * nss/nss_files/files-init.c (_nss_files_init): Use static
17074 initialization for all the *_traced_file variables.
17075
68822d74
AS
170762011-09-28 Andreas Schwab <schwab@redhat.com>
17077
17078 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17079
2056100b
RM
170802011-09-27 Roland McGrath <roland@hack.frob.com>
17081
17082 [BZ #13226]
17083 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17084
32c76b63
AS
170852011-09-27 Andreas Schwab <schwab@redhat.com>
17086
17087 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17088 Reread the line before reparsing it.
17089
bf972c9d
AS
170902011-09-26 Andreas Schwab <schwab@redhat.com>
17091
17092 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17093
e057a1b5
JM
170942011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17095 Maxim Kuvyrkov <maxim@codesourcery.com>
17096 Joseph Myers <joseph@codesourcery.com>
17097
17098 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17099 if needed for __stack_chk_guard.
17100
bc7e1c36
RM
171012011-09-19 Roland McGrath <roland@hack.frob.com>
17102
ecb1482f
RM
17103 * sysdeps/posix/spawni.c (script_execute): Always define it.
17104 It will be optimized away if unused.
17105 (maybe_script_execute): New function.
17106 (__spawni): Call it.
17107
bc7e1c36
RM
17108 * Makerules: Don't include tls.make.
17109 (config-tls): Always set to thread.
17110 * tls.make.c: File removed.
17111
1c3b002b
MF
171122011-09-19 Mike Frysinger <vapier@gentoo.org>
17113
17114 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17115 * config.make.in (CPPFLAGS-config): New substituted variable.
17116
2840865d
UD
171172011-09-15 Ulrich Drepper <drepper@gmail.com>
17118
88738eb6
UD
17119 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17120
cbf645a6 17121 [BZ #13192]
2840865d
UD
17122 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17123 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17124
b402e91a
RM
171252011-09-15 Roland McGrath <roland@hack.frob.com>
17126
17127 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17128 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17129 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17130 (CALL_FAIL): Likewise.
17131 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17132 (CALL_FAIL): Macro removed.
17133 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17134
4c1a1f71
UD
171352011-09-15 Ulrich Drepper <drepper@gmail.com>
17136
17137 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17138 for __FINITE_MATH_ONLY__ == 1.
17139
edc121be
AS
171402011-09-15 Andreas Schwab <schwab@redhat.com>
17141
17142 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17143 __ieee754_sqrt instead of sqrt.
17144 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17145 __ieee754_sqrtf instead of sqrtf.
17146 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17147 __floorf instead of floorf.
17148 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17149 __floorf, __truncf instead of floorf, truncf.
17150
cd205654
UD
171512011-09-14 Ulrich Drepper <drepper@gmail.com>
17152
ee4d0315
UD
17153 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17154
cd205654
UD
17155 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17156 __extern_always_inline.
17157 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17158 32-bit.
17159
48b67d71
AS
171602011-09-14 Andreas Schwab <schwab@redhat.com>
17161
17162 * elf/rtld.c (dl_main): Also relocate in dependency order when
17163 doing symbol dependency testing.
17164
1ae12c75
AS
171652011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17166
17167 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17168 Always define `refsym'.
17169
995a80df
AS
171702011-09-13 Andreas Schwab <schwab@redhat.com>
17171
e529793b
AS
17172 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17173 (__FD_ELT): Renamed from __FDELT.
17174 * misc/bits/select2.h (__FD_ELT): Likewise.
17175 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17176 __FD_MASK instead of __FDELT, __FDMASK.
17177 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17178 Likewise.
17179 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17180 Likewise.
17181
52d4fef8
AS
17182 * elf/Makefile (gen-ldd): Fix pattern.
17183
995a80df
AS
17184 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17185 (init_tls): Likewise.
17186
8682f8b0
UD
171872011-09-12 Ulrich Drepper <drepper@gmail.com>
17188
17189 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17190
de82006d
AS
171912011-09-12 Andreas Schwab <schwab@redhat.com>
17192
a7c8e6a1
AS
17193 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17194 `struct cmsghdr *' instead of `void *'.
17195 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17196 Likewise.
17197
0f31fe77
AS
171982011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17199
17200 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17201 if non-absolute.
17202 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17203 ldd_rewrite_script.
0f31fe77 17204
32b4c839
UD
172052011-09-11 Ulrich Drepper <drepper@gmail.com>
17206
83cd1420
UD
17207 * configure.in: Remove --with-tls option.
17208 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17209 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17210 out in case it is missing.
17211 * sysdeps/ia64/elf/configure.in: Likewise.
17212 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17213 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17214 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17215 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17216 * sysdeps/sh/elf/configure.in: Likewise.
17217 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17218 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17219 * sysdeps/x86_64/elf/configure.in: Likewise.
17220 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17221 * sysdeps/mach/hurd/tls.h: Likewise.
17222
633f745d
UD
17223 [BZ #13067]
17224 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17225
f318beb8
UD
17226 [BZ #13090]
17227 * configure.in: Fix use of AC_INIT.
17228
32b4c839
UD
17229 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17230
3ce1f295
UD
172312011-09-10 Ulrich Drepper <drepper@gmail.com>
17232
bb016596
UD
17233 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17234 __set_errno.
8e58439c
UD
17235 * malloc/hooks.c: Likewise.
17236
aebae053 17237 [BZ #11929]
02d46fc4
UD
17238 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17239 variables statically.
17240 (narenas): Initialize.
17241 (list_lock): Initialize.
bb016596
UD
17242 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17243 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
17244 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17245 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17246 Add initializers to main_arena and mp_.
17247 (malloc_state): Remove pagesize member. Change all users to use
17248 GLRO(dl_pagesize).
17249
17250 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17251 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17252 is always initialized.
17253
22a89187
UD
17254 * malloc/malloc.c: Removed unused configurations and dead code.
17255 * malloc/arena.c: Likewise.
17256 * malloc/hooks.c: Likewise.
02d46fc4 17257 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 17258
d063d164
UD
17259 * include/tls.h: Removed. USE___THREAD must always be defined.
17260 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17261 * elf/dl-libc.c: Likewise.
17262 * elf/dl-tsd.c: Likewise.
17263 * include/errno.h: Likewise.
17264 * include/netdb.h: Likewise.
17265 * include/resolv.h: Likewise.
17266 * inet/herrno-loc.c: Likewise.
17267 * inet/herrno.c: Likewise.
17268 * malloc/arena.c: Likewise.
17269 * malloc/hooks.c: Likewise.
17270 * malloc/malloc.c: Likewise.
17271 * resolv/res-state.c: Likewise.
17272 * resolv/res_libc.c: Likewise.
17273 * sysdeps/i386/dl-machine.h: Likewise.
17274 * sysdeps/ia64/dl-machine.h: Likewise.
17275 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17276 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17277 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17278 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17279 * sysdeps/sh/dl-machine.h: Likewise.
17280 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17281 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17282 * sysdeps/unix/i386/sysdep.S: Likewise.
17283 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17284 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17285 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17286 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17287 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17288 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17289 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17290 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17291 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17293 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17294 * sysdeps/x86_64/dl-machine.h: Likewise.
17295 * tls.make.c: Likewise.
17296
3ce1f295
UD
17297 * configure.in: Remove --with-__thread option. Make tests for
17298 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17299 tls_model attribute fail if no support is available. Remove
17300 USE_IN_LIBIO.
17301 * Makeconfig: Adjust for dropped configure option. All features are
17302 now mandatory.
17303 * Makerules: Likewise.
17304 * Versions.def: Likewise.
17305 * argp/argp-fmtstream.c: Likewise.
17306 * argp/argp-fmtstream.h: Likewise.
17307 * argp/argp-help.c: Likewise.
17308 * assert/assert.c: Likewise.
17309 * config.h.in: Likewise.
17310 * config.make.in: Likewise.
17311 * configure: Likewise.
17312 * configure.in: Likewise.
17313 * csu/Versions: Likewise.
17314 * csu/init.c: Likewise.
17315 * elf/tst-audit2.c: Likewise.
17316 * elf/tst-tls10.c: Likewise.
17317 * elf/tst-tls10.h: Likewise.
17318 * elf/tst-tls11.c: Likewise.
17319 * elf/tst-tls12.c: Likewise.
17320 * elf/tst-tls14.c: Likewise.
17321 * elf/tst-tlsmod11.c: Likewise.
17322 * elf/tst-tlsmod12.c: Likewise.
17323 * elf/tst-tlsmod13.c: Likewise.
17324 * elf/tst-tlsmod13a.c: Likewise.
17325 * elf/tst-tlsmod14a.c: Likewise.
17326 * elf/tst-tlsmod15b.c: Likewise.
17327 * elf/tst-tlsmod16a.c: Likewise.
17328 * elf/tst-tlsmod16b.c: Likewise.
17329 * elf/tst-tlsmod7.c: Likewise.
17330 * elf/tst-tlsmod8.c: Likewise.
17331 * elf/tst-tlsmod9.c: Likewise.
17332 * gmon/gmon.c: Likewise.
17333 * grp/fgetgrent_r.c: Likewise.
17334 * grp/putgrent.c: Likewise.
17335 * hurd/fopenport.c: Likewise.
17336 * include/libc-symbols.h: Likewise.
17337 * include/tls.h: Likewise.
17338 * intl/gettextP.h: Likewise.
17339 * intl/loadinfo.h: Likewise.
17340 * locale/global-locale.c: Likewise.
17341 * locale/localeinfo.h: Likewise.
17342 * mach/devstream.c: Likewise.
17343 * malloc/arena.c: Likewise.
17344 * malloc/set-freeres.c: Likewise.
17345 * misc/err.c: Likewise.
17346 * misc/getttyent.c: Likewise.
17347 * misc/mntent_r.c: Likewise.
17348 * posix/getopt.c: Likewise.
17349 * posix/wordexp.c: Likewise.
17350 * pwd/fgetpwent_r.c: Likewise.
17351 * resolv/Versions: Likewise.
17352 * resolv/res_hconf.c: Likewise.
17353 * shadow/fgetspent_r.c: Likewise.
17354 * shadow/putspent.c: Likewise.
17355 * stdio-common/printf_fphex.c: Likewise.
17356 * stdio-common/tmpfile.c: Likewise.
17357 * stdlib/abort.c: Likewise.
17358 * stdlib/fmtmsg.c: Likewise.
17359 * sunrpc/auth_unix.c: Likewise.
17360 * sunrpc/clnt_perr.c: Likewise.
17361 * sunrpc/clnt_tcp.c: Likewise.
17362 * sunrpc/clnt_udp.c: Likewise.
17363 * sunrpc/clnt_unix.c: Likewise.
17364 * sunrpc/openchild.c: Likewise.
17365 * sunrpc/svc_simple.c: Likewise.
17366 * sunrpc/svc_tcp.c: Likewise.
17367 * sunrpc/svc_udp.c: Likewise.
17368 * sunrpc/svc_unix.c: Likewise.
17369 * sunrpc/xdr.c: Likewise.
17370 * sunrpc/xdr_array.c: Likewise.
17371 * sunrpc/xdr_rec.c: Likewise.
17372 * sunrpc/xdr_ref.c: Likewise.
17373 * sunrpc/xdr_stdio.c: Likewise.
17374
1248c1c4
PB
173752011-09-09 Ulrich Drepper <drepper@gmail.com>
17376
17377 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17378
173792011-07-03 Andreas Jaeger <aj@suse.de>
17380
17381 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
17382 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
17383 regenerate with gen-libm-tests.pl.
17384
173852010-05-12 Petr Baudis <pasky@suse.cz>
17386
17387 [BZ #11589]
17388 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
17389 around j0() zero points by switching to j1().
17390 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17391 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17392 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17393 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17394
f22e1074
UD
173952011-09-09 Ulrich Drepper <drepper@gmail.com>
17396
f19009c1
UD
17397 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
17398 instead of 0.
17399 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
17400 instead of 0. .
17401 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17402 Patch in part by Pavel Roskin <proski@gnu.org>.
17403
3f8cc204
UD
17404 [BZ #13138]
17405 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
17406 realloc.
17407 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
17408 Free memory block if necessary.
17409
f22e1074
UD
17410 [BZ #12847]
17411 * libio/genops.c (INTDEF): For string streams the _lock pointer can
17412 be NULL. Don't lock in this case.
17413
0a2349f9
RM
174142011-09-09 Roland McGrath <roland@hack.frob.com>
17415
17416 * elf/elf.h (ELFOSABI_GNU): New macro.
17417 (ELFOSABI_LINUX): Define to that.
17418
f3cdd467
DZ
174192011-07-29 Denis Zaitceff <zaitceff@gmail.com>
17420
17421 * string/strncat.c (strncat): Undef the symbol in case it has been
17422 defined in bits/string.h.
17423
74718d13
UD
174242011-09-09 Ulrich Drepper <drepper@gmail.com>
17425
633e9e0f
UD
17426 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
17427
0a2349f9 17428 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
17429 link map.
17430
f9924780
AJ
174312011-08-17 Andreas Jaeger <aj@suse.de>
17432
17433 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
17434
7f5517aa
PP
174352011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17436 Ian Lance Taylor <iant@google.com>
17437
17438 * math/libm-test.inc (lround_test): New testcase.
17439 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
17440
762011fe
UD
174412011-09-08 Ulrich Drepper <drepper@gmail.com>
17442
92963737
UD
17443 * Makefile: Remove support for automatic cvs check-ins.
17444 * Makerules: Likewise.
17445 * config.make.in: Likewise.
17446 * configure.in: Likewise.
17447 * intl/Makefile: Likewise.
17448 * locale/Makefile: Likewise.
17449 * po/Makefile: Likewise.
17450 * posix/Makefile: Likewise.
17451 * sysdeps/gnu/Makefile: Likewise.
17452 * sysdeps/mach/hurd/Makefile: Likewise.
17453 * sysdeps/sparc/sparc32/Makefile: Likewise.
17454
b0727fd8
JS
17455 [BZ #13118]
17456 * posix/Makefile (bug-regex32-ENV): Define.
17457 Patch by John Stanley <jpsinthemix@verizon.net>.
17458
a0f33f99
UD
17459 * misc/Makefile (headers): Add bits/select2.h.
17460 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
17461 * misc/bits/select2.h: New file.
17462 * include/bits/select2.h: New file.
17463 * debug/Makefile (routines): Add fdelt_chk.
17464 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
17465 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
17466 FD_ISSET.
17467 * debug/fdelt_chk.c: New file.
17468
762011fe
UD
17469 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
17470 * wcsmbs/test-wmemcmp.c: Likewise.
17471 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 17472 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
17473
174742011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17475
17476 * string/Makefile (strop-tests): Add memcmp.
17477 * string/test-wmemcmp.c: New file.
17478 * string/test-memcmp.c: Add wmemcmp support.
17479
7f513ec8
RM
174802011-09-08 Roland McGrath <roland@hack.frob.com>
17481
0442afb4
RM
17482 [BZ #13153]
17483 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
17484 2011-07-19 change.
17485
7f513ec8
RM
17486 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
17487 garbage value in a __mach_port_mod_refs call in the cases of the
17488 task-self and thread-self ports.
17489
a12b2239
ST
174902011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17491
17492 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
17493
610f9ab4
AS
174942011-09-08 Andreas Schwab <schwab@redhat.com>
17495
7f513ec8 17496 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 17497
48882a1a
LD
174982011-09-07 Ulrich Drepper <drepper@gmail.com>
17499
b49865be
UD
17500 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
17501
fdc86bc9
UD
17502 * elf/dl-libc.c (dlerror_run): Pass back error code from
17503 dl_catch_error.
17504
c966526a
UD
17505 [BZ #13123]
17506 * elf/dl-load.c (lose): Free l_origin if it is valid.
17507
48882a1a
LD
17508 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
17509 names.
17510 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17511 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17512 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17513 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17514 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17515 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
17516
77a2a8b4
AZ
175172011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17518
17519 * sysdeps/powerpc/fpu/e_hypot.c: New file.
17520 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
17521 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
17522 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
17523 * sysdeps/powerpc/fpu/k_cosf.c: New file.
17524 * sysdeps/powerpc/fpu/k_sinf.c: New file.
17525 * sysdeps/powerpc/fpu/s_cosf.c: New file.
17526 * sysdeps/powerpc/fpu/s_sinf.c: New file.
17527 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
17528 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
17529
24f579d8
AM
175302011-08-15 Alan Modra <amodra@gmail.com>
17531
17532 [BZ #13092]
17533 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
17534 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
17535 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
17536 ppc_mcount to static-only-routines.
17537 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
17538 __mcount_internal.
17539 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
17540 __mcount_internal with usual JUMPTARGET. Remove useless nop.
17541
3d4837df
UD
175422011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
17543
17544 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
17545 for finite and infinity parameters.
17546
22700377
WS
175472011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17548
17549 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
17550 and add nop instructions for throughput optimization.
17551 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17552
5025581e
WS
175532011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
17554
17555 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
17556 aligned copy for power7 with vector-scalar instructions.
17557 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17558
08a300c9
L
175592011-07-24 H.J. Lu <hongjiu.lu@intel.com>
17560
17561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
17562 AVX check.
17563
59178ef9
AS
175642011-09-07 Andreas Schwab <schwab@redhat.com>
17565
17566 [BZ #13144]
17567 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
17568 last change.
17569
e38ba7ab
UD
175702011-09-07 Ulrich Drepper <drepper@gmail.com>
17571
17572 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17573 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
17574 syscall wrapper around clock_gettime in __vdso_clock_gettime.
17575 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
17576 clock_gettime.
17577
d53a73ac
UD
175782011-09-06 Ulrich Drepper <drepper@gmail.com>
17579
fc8bffcc
UD
17580 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
17581 Forgot to demangle the pointer.
17582
ceaa0c5d
UD
17583 * sysdeps/i386/sysdep.h: Define atom_text_section.
17584 * sysdeps/x86_64/sysdep.h: Likewise.
17585 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
17586 section with atom_text_section.
17587 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17588 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17589 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17590 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17591 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
17592
a77d3c17
UD
17593 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
17594 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
17595 already be defined. Change to take two parameters and don't assign
17596 result to variable. Adjust all users.
17597 Define INTERNAL_GETTIME if not already defined.
17598 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
17599 call.
17600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
17601 HAVE_CLOCK_GETTIME_VSYSCALL.
17602 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
17603
d53a73ac
UD
17604 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
17605 gettimeofday vsyscall, just use time.
17606
a8f84144
AS
176072011-09-06 Andreas Schwab <schwab@redhat.com>
17608
17609 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
17610 <errno.h>.
17611
ef606249
UD
176122011-09-06 Ulrich Drepper <drepper@gmail.com>
17613
17614 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
17615 syscall on x86-64.
17616 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
17617 syscall.
17618 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17619 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
17620 syscall if possible.
17621
6585cb60
UD
176222011-09-05 Ulrich Drepper <drepper@gmail.com>
17623
17624 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
17625 e_ident. Don't pass to find_mapsXX.
17626 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
17627
a5f524e4
LD
176282011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17629
17630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17631 strchr-sse2-no-bsf strrchr-sse2-no-bsf
17632 * sysdeps/x86_64/multiarch/strchr.S: Update.
17633 Check bit_slow_BSF bit.
17634 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17635 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
17636 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
17637
554881ef
UD
176382011-09-05 Ulrich Drepper <drepper@gmail.com>
17639
d96de963
UD
17640 [BZ #13134]
17641 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
17642 before glibc 2.15.
17643 (tryshell): Define.
17644 (__spawni): Change last parameter to be flag. Test
17645 SPAWN_XFLAGS_USE_PATH flag to use path or not.
17646 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
17647 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
17648 * posix/spawni.c: Likewise.
17649 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
17650 * posix/spawnp.c: Likewise. Change normal version to use
17651 SPAWN_XFLAGS_USE_PATH.
17652 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
17653 SPAWN_XFLAGS_TRY_SHELL.
17654
d48e5868
UD
17655 [BZ #13150]
17656 * posix/glob.h: Remove gcc 1.x support.
17657
554881ef
UD
17658 [BZ #13068]
17659 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
17660
693fb948
LD
176612011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17662
17663 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17664 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
17665 strrchr-sse2-bsf
17666 * sysdeps/i386/i686/multiarch/strchr.S: New file.
17667 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
17668 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
17669 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
17670 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
17671 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
17672
1b48c537
UD
176732011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17674
49d42c37
UD
17675 * sysdeps/x86_64/wcscmp.S: New file.
17676
1b48c537
UD
17677 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17678 wcscmp-c wcscmp-sse2
17679 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17680 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17681 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17682 * wcsmbs/wcscmp.c: Allow renaming.
17683
15c95c5d
DM
176842011-09-05 David S. Miller <davem@davemloft.net>
17685
17686 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17687 stack slot, rather than the struct return pointer slot.
17688 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17689 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17691 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17692
2f0ad8f3
UD
176932011-09-05 Ulrich Drepper <drepper@gmail.com>
17694
d88ae418
UD
17695 * po/ja.po: Update from translation team.
17696
2f0ad8f3
UD
17697 [BZ #13144]
17698 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17699 kernel in 64-bit binaries.
17700
5f4318d1
DM
177012011-09-01 David S. Miller <davem@davemloft.net>
17702
17703 * elf/elf.h (HWCAP_SPARC_*): Move to..
17704 * sysdeps/sparc/sysdep.h: this new file and add new values.
17705 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17706 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17707 _DL_HWCAP_COUNT to 24.
17708 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17709 entries.
17710 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17711 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17712 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17713 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17714 instead of magic constants.
17715 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17716
3ba57516
DM
177172011-08-31 David S. Miller <davem@davemloft.net>
17718
17719 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17720 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17721 Reimplement to do errno handling inline.
17722 (SYSCALL_ERROR_HANDLER): New macro.
17723 (__SYSCALL_STRING): Do not do errno handling in asm.
17724 (__CLONE_SYSCALL_STRING): Delete.
17725 (__INTERNAL_SYSCALL_STRING): Delete.
17726 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17727 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17728 (PSEUDO): Reimplement to do errno handling inline.
17729 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17730 (SYSCALL_ERROR_HANDLER): New macro.
17731 (__SYSCALL_STRING): Do not do errno handling in asm.
17732 (__CLONE_SYSCALL_STRING): Delete.
17733 (__INTERNAL_SYSCALL_STRING): Delete.
17734 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17735 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17736 i386.
17737 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17738 (inline_syscall*): Add 'err' argument.
17739 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17740 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17741 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17742 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17743
17744 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17745 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17746
2bc17433
AS
177472011-08-30 Andreas Schwab <schwab@redhat.com>
17748
17749 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17750
fbeb5f4d
JO
177512011-08-29 Jiri Olsa <jolsa@redhat.com>
17752
17753 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17754 directive.
17755
ad69cc26
DM
177562011-08-24 David S. Miller <davem@davemloft.net>
17757
17758 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17759
39dd69df
AS
177602011-08-24 Andreas Schwab <schwab@redhat.com>
17761
17762 * elf/Makefile: Add rules to build and run unload8 test.
17763 * elf/unload8.c: New file.
17764 * elf/unload8mod1.c: New file.
17765 * elf/unload8mod1x.c: New file.
17766 * elf/unload8mod2.c: New file.
17767 * elf/unload8mod3.c: New file.
17768
17769 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17770 it wasn't used.
17771
2c0b250a
DM
177722011-08-23 David S. Miller <davem@davemloft.net>
17773
17774 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17775 subtract stack bias.
17776 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17777 %sp not %fp in calculations.
17778 (_JMPBUF_UNWINDS_ADJ): Likewise.
17779
22044b48
DM
17780 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17781 (aio_suspend): Call it to force an exception region around the
17782 AIO_MISC_WAIT() invocation.
17783
2cae4995
AS
177842011-08-23 Andreas Schwab <schwab@redhat.com>
17785
17786 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17787 backslash.
17788
873a772e
AJ
177892011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17790
17791 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17792 protection macro.
17793 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17794 and <dl-machine.h>.
17795 (Elf64_FuncDesc): Remove.
17796
25ad0df1
DM
177972011-08-22 David S. Miller <davem@davemloft.net>
17798
17799 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17800 sigaltstack check, add missing cfi directives.
17801 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17802 missing cfi directives, and sigaltstack handling.
17803
e888bcbe
AS
178042011-08-16 Andreas Schwab <schwab@redhat.com>
17805
17806 [BZ #11724]
17807 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17808 object is seen twice.
17809 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17810
17811 * elf/Makefile (distribute): Add tst-initorder2.c.
17812 (tests): Add tst-initorder2.
17813 (modules-names): Add tst-initorder2a tst-initorder2b
17814 tst-initorder2c tst-initorder2d. Add rules to build them.
17815 ($(objpfx)tst-initorder2.out): New rule.
17816 * elf/tst-initorder2.c: New file.
17817 * elf/tst-initorder2.exp: New file.
17818
87162f46
AS
178192011-08-22 Andreas Schwab <schwab@redhat.com>
17820
70538b7f
AS
17821 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17822
f55ffe58
AS
17823 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17824 dependencies back to end of function.
17825
87162f46
AS
17826 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17827 $(elfobjdir)/ld.so.
17828
91b392a4
UD
178292011-08-21 Ulrich Drepper <drepper@gmail.com>
17830
17831 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17832 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17833 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17834 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17835 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17836 of __vdso_gettimeofday.
17837 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17838 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17839 attribute_hidden.
17840 (_libc_vdso_platform_setup): Remove initialization of
17841 __vdso_gettimeofday and __vdso_time.
17842
5c43483f
UD
178432011-08-20 Ulrich Drepper <drepper@gmail.com>
17844
775a77e7
UD
17845 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17846 and fgetc_unlocked.
17847 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17848 getc_unlocked.
89f447ed 17849
49c74ba9
UD
17850 * elf/dl-open.c (add_to_global): Report additions to the global scope
17851 for LD_DEBUG=scopes.
17852 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 17853 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 17854
5c43483f
UD
17855 [BZ #13114]
17856 * stdio-common/Makefile (tests): Add bug24.
17857 * stdio-common/bug24.c: New file.
17858
a101b025
AJ
178592011-08-19 Andreas Jaeger <aj@suse.de>
17860
17861 [BZ #13114]
17862 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17863 non-existant file when using close-on-exec mode.
17864
c88f1766
UD
178652011-08-20 Ulrich Drepper <drepper@gmail.com>
17866
0276a718
UD
17867 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17868 the very first instruction.
17869
c88f1766
UD
17870 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17871 the CFI state in the end.
17872 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17873 inclusion of dl-trampoline.h.
17874 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17875
51ccffa0
AS
178762011-08-19 Andreas Schwab <schwab@redhat.com>
17877
94d7165f
AS
17878 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17879 expectations for long double.
17880
51ccffa0
AS
17881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17882 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17883
fd708658 178842011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
17885
17886 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17887 artificual limit depends upon the system page size.
17888
44f0a71e
UD
178892011-08-17 Ulrich Drepper <drepper@gmail.com>
17890
17891 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17892 * resolv/Makefile: Define CFLAGS-libresolv.
17893
8de79a24
AS
178942011-08-17 Andreas Schwab <schwab@redhat.com>
17895
17896 * nss/makedb.c (compute_tables): Make variables used in nested
17897 function static.
17898
27724598
UD
178992011-08-17 Ulrich Drepper <drepper@gmail.com>
17900
c5305d88
UD
17901 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17902 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17903 if buffer was too small.
17904
27724598
UD
17905 * elf/pldd.c (main): Attach to all threads in the process.
17906 Rewrite /proc handling to use *at functions.
17907
076fe015
UD
179082011-08-16 Ulrich Drepper <drepper@gmail.com>
17909
174baab3
UD
17910 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17911 specifies first scope to show.
17912 (dl_open_worker): Update callers. Move printing scope of new
17913 object to before the relocation.
44f0a71e 17914 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
17915 * sysdeps/generic/ldsodefs.h: Update declaration.
17916
076fe015
UD
17917 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17918 string for the scope number.
17919
a60df2c3
UD
179202011-08-14 Ulrich Drepper <drepper@gmail.com>
17921
17922 * nscd/servicescache.c (cache_addserv): Make sure written is always
17923 initialized.
17924
5e4287d1
RM
179252011-08-14 Roland McGrath <roland@hack.frob.com>
17926
85ae0589
RM
17927 * sysdeps/i386/i486/bits/atomic.h
17928 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17929 statement expression, so as to suppress "set but not used" warning.
17930 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17931
69f63097
RM
17932 * string/strncat.c (STRNCAT): Use prototype definition.
17933
675456ef
RM
17934 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17935 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17936 -Iprograms here.
17937 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17938 (localedef-modules): Add localedef.
17939 (locale-modules): Add locale.
17940
5e4287d1
RM
17941 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17942 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17943 to avoid a warning.
17944
9c96ff23
DM
179452011-08-14 David S. Miller <davem@davemloft.net>
17946
17947 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17948 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17949
f9ddf089
UD
179502011-08-13 Ulrich Drepper <drepper@gmail.com>
17951
44f0a71e 17952 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
17953 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17954 * elf/rtld.c (dl_main): Set l_name of vDSO.
17955 Call _dl_show_scope when DL_DEBUG_SCOPES.
17956 (process_dl_debug): Recognize scopes flag and also set it for all.
17957 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17958 Declare _dl_show_scope.
17959
1dc27704
UD
17960 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17961 (do_dlopen): Pass caller_dlopen to dl_open.
17962 (__libc_dlopen_mode): Initialize caller_dlopen.
17963
f9ddf089
UD
17964 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17965 of libc. Make tolower call locale-independent. Optimize a bit by
17966 using isdigit instead of isalnum.
17967 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17968
9ac533d3
UD
179692011-08-12 Ulrich Drepper <drepper@gmail.com>
17970
17971 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17972 was a dependency or dynamically loaded.
17973
89edf2e9
UD
179742011-08-11 Ulrich Drepper <drepper@gmail.com>
17975
8e999d29
UD
17976 * intl/l10nflist.c: Allow architecture-specific pop function.
17977 * sysdeps/x86_64/l10nflist.c: New file.
17978
89edf2e9
UD
17979 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17980 classification.
17981
14d96785
AS
179822011-08-10 Andreas Schwab <schwab@redhat.com>
17983
17984 * include/dirent.h: Add libc_hidden_proto for scandirat and
17985 scandirat64. Don't declare __scandirat64.
17986 * dirent/scandirat.c: Add libc_hidden_def.
17987 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17988 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17989
6761ac04
DM
179902011-08-10 David S. Miller <davem@davemloft.net>
17991
17992 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17993 enum.
17994 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17995 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17996 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17997
c55fbd1e
UD
179982011-08-09 Ulrich Drepper <drepper@gmail.com>
17999
18000 * Versions.def [libc]: Add GLIBC_2.15.
18001 * dirent/Makefile (routines): Add scandirat and scandirat64.
18002 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18003 GLIBC_2.15.
18004 * dirent/dirent.h: Declare scandirat and scandirat64.
18005 * dirent/scandirat.c: New file.
18006 * dirent/scandirat64.c: New file.
18007 * sysdeps/wordsize-64/scandirat.c: New file.
18008 * sysdeps/wordsize-64/scandirat64.c: New file.
18009 * dirent/opendir.c: Define opendirat.
18010 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18011 using scandirat.
18012 * dirent/scandir64.c: Adjust for scandir.c change.
18013 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18014 __scandirat64, and __scandir_cancel_handler.
18015 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18016 additional parameter and use openat instead of open (outside of ld.so).
18017 Add new __opendir as wrapper around __opendirat.
18018 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18019 here without requiring old scandirat implementation.
18020
879165f2
UD
180212011-08-08 Ulrich Drepper <drepper@gmail.com>
18022
18023 * dirent/scandir.c (cancel_handler): Renamed to
18024 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18025 defined. Adjust users.
18026 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18027 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18028
cb7e923b
UD
180292011-08-04 Ulrich Drepper <drepper@gmail.com>
18030
16292edd
UD
18031 * string/test-string.h (IMPL): Use __STRING to expand name and then
18032 stringify it.
18033
cb7e923b
UD
18034 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18035 of cleanups.
18036
cff82933
LD
180372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18038
18039 * string/Makefile: Update.
18040 (strop-tests): Append strncat.
18041 * string/test-wcscmp.c: New file.
18042 New comprehensive test for wcscmp.
18043 * string/test-strcmp.c: Update.
18044 (WIDE): New define.
18045
9be9bfcc
AS
180462011-07-22 Andreas Schwab <schwab@redhat.com>
18047
18048 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18049 line.
18050
2e96f1c7
AS
180512011-07-26 Andreas Schwab <schwab@redhat.com>
18052
18053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18054 encoding to ACE if AI_IDN.
18055
85188888
JJ
180562011-08-01 Jakub Jelinek <jakub@redhat.com>
18057
18058 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18059 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18060
5fa16e9b
LD
180612011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18062
18063 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18064 Fix overflow bug in strncat.
18065 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18066
18067 * string/test-strncat.c: Update.
18068 Add new tests for checking overflow bugs.
18069
180702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18071
18072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18073 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18074 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18075 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18076 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18077 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18078 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18079 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18080 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18081
18082 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18083 (USE_AS_STRCAT): Define.
18084 Add strcat and strncat support.
18085 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18086
8c1a459f
AS
180872011-07-25 Andreas Schwab <schwab@redhat.com>
18088
18089 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18090 __n bigger than INT_MAX+1.
18091 (__strncmp_g): Likewise.
18092
bba33c28
UD
180932011-07-23 Ulrich Drepper <drepper@gmail.com>
18094
798be72d
UD
18095 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18096 * libio/stido.h: Likewise.
18097
8accd4dc
UD
18098 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18099 (AF_NFC): Define.
18100 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18101 (AF_NFC): Define.
18102
cbff0d96
UD
18103 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18104 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18105 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18106 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18107 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18108
9191c04a
UD
18109 [BZ #13021]
18110 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18111 installed.
18112
bba33c28
UD
18113 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18114 typo.
18115 (_dl_x86_64_save_sse): Likewise.
18116
90f139dd
UD
181172011-07-22 Ulrich Drepper <drepper@gmail.com>
18118
1aae088a
UD
18119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18120 OSXSAVE.
18121 (_dl_x86_64_save_sse): Likewise.
18122
8e2045f5
UD
18123 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18124
90f139dd
UD
18125 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18126
1d002f25
AS
181272011-07-21 Andreas Schwab <schwab@redhat.com>
18128
18129 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18130 change.
18131 (_dl_x86_64_save_sse): Use correct AVX check.
18132
21137f89
UD
181332011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18134
18135 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18136 bug in strncpy/strncat.
18137 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18138
a65c0b7a
UD
181392011-07-21 Ulrich Drepper <drepper@gmail.com>
18140
18141 * string/tester.c (test_strcat): Add tests for different alignments
18142 of source and destination.
18143 (test_strncat): Likewise.
18144
6986b98a
UD
181452011-07-20 Ulrich Drepper <drepper@gmail.com>
18146
90bb2039
UD
18147 [BZ #12852]
18148 * posix/glob.c (glob): Check passed in values before using them in
18149 expressions to avoid some overflows.
18150 (glob_in_dir): Likewise.
18151
5644ef54
UD
18152 [BZ #13007]
18153 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18154 check for AVX enablement so that we don't crash with old kernels and
18155 new hardware.
18156 * elf/tst-audit4.c: Add same checks here.
18157 * elf/tst-audit6.c: Likewise.
18158
18159 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 18160
bfc9dc9b
AS
181612011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18162
18163 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18164
702e64bb
UD
181652011-07-20 Ulrich Drepper <drepper@gmail.com>
18166
18167 * po/cs.po: Update from translation team.
18168 * po/bg.po: Likewise.
18169
295e904f
MP
181702011-07-12 Marek Polacek <mpolacek@redhat.com>
18171
18172 * misc/sys/cdefs.h: Add support for const attribute.
18173 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18174 to gnu_dev_{major,minor,makedev} functions.
18175
3ff94596
MP
181762011-07-20 Marek Polacek <mpolacek@redhat.com>
18177
18178 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18179
28b59fca
AS
181802011-07-20 Andreas Schwab <schwab@redhat.com>
18181
18182 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18183 strlen results.
18184
19df733e
AK
181852011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18186
18187 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18188 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18189 register in order to avoid conflicts with the soft frame pointer
18190 being held in r11 when necessary.
18191 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18192 (INTERNAL_VSYSCALL_NCS): Likewise.
18193
c8835729
MP
181942011-07-14 Marek Polacek <mpolacek@redhat.com>
18195
18196 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18197 * elf/dl-fini.c (_dl_fini): Adjust caller.
18198 * elf/dl-close.c (_dl_close_worker): Likewise.
18199 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18200
b902330c
MP
182012011-07-15 Marek Polacek <mpolacek@redhat.com>
18202
8991e135
MP
18203 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18204 "aux_cache->nlibs < 0".
18205
b902330c
MP
18206 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18207 in the reload-count case.
18208
99710781
LD
182092011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18210
18211 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18212 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18213 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18214 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18215 * sysdeps/x86_64/multiarch/strcat.S: New file.
18216 * sysdeps/x86_64/multiarch/strncat.S: New file.
18217 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18218 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18219 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18220 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18221 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18222 (USE_AS_STRCAT): Define.
18223 Add strcat and strncat support.
18224 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18225 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18226 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18227 * string/strncat.c: Update.
18228 (USE_AS_STRNCAT): Define.
18229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18230 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18231 and i7.
18232 * sysdeps/x86_64/multiarch/init-arch.h
18233 (bit_Prefer_PMINUB_for_stringop): New.
18234 (index_Prefer_PMINUB_for_stringop): Likewise.
18235 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18236 bit_Prefer_PMINUB_for_stringop.
18237
7dc6bd90
UD
182382011-07-19 Ulrich Drepper <drepper@gmail.com>
18239
18240 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18241 buffer64.
18242 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18243 of casting of buffer.
18244 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18245 buffer32 and buffer64.
18246 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18247 writes instead of casting of buffer.
18248 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18249 buffer32.
18250 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18251 casting of buffer.
18252
e0e72284
AS
182532011-07-19 Andreas Schwab <schwab@redhat.com>
18254
18255 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18256
feb1eb0b
UD
182572011-07-19 Ulrich Drepper <drepper@gmail.com>
18258
18259 * nscd/nscd.c (termination_handler): Don't do anything for a database
18260 if it has not yet been initialized.
18261
298711ff
UD
182622011-07-18 Ulrich Drepper <drepper@gmail.com>
18263
18264 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18265
182662011-07-15 Marek Polacek <mpolacek@redhat.com>
18267
18268 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18269
f9d68389
UD
182702011-07-18 Ulrich Drepper <drepper@gmail.com>
18271
18272 * po/nl.po: Update from translation team.
18273 * po/sv.po: Likewise.
18274
db290cf5
RM
182752011-07-16 Roland McGrath <roland@hack.frob.com>
18276
18277 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18278 now disallowed by GCC.
5c550700 18279
fd5e21c7
RM
18280 * configure.in (use-default-link): Default to yes if a test -shared
18281 link meets our qualifications.
18282 * configure: Regenerated.
18283
5c550700
RM
18284 * config.make.in (output-format): New variable.
18285 * configure.in: Check for ld --print-output-format support.
18286 * configure: Regenerated.
18287 * Makerules ($(common-objpfx)format.lds)
18288 [$(output-format) != unknown]: Just use $(output-format),
18289 instead of the linker-script munging.
18290
9fa2c032
RM
182912011-07-14 Roland McGrath <roland@hack.frob.com>
18292
a6928d51
RM
18293 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18294 of $(common-objpfx)shlib.lds.
18295 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18296
661607b3
RM
18297 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18298 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18299
9fa2c032
RM
18300 * configure.in (-z relro check): Adjust test code to add a large
18301 writable data section after it.
18302 * configure: Regenerated.
18303
defe9061
RM
183042011-07-11 Roland McGrath <roland@hack.frob.com>
18305
18306 * configure.in (-z relro check): Fix test code to make the variable
18307 truly const.
18308 * configure: Regenerated.
18309
319b9ad4
UD
183102011-07-11 Ulrich Drepper <drepper@gmail.com>
18311
18312 * nscd/nscd.h (struct traced_file): Define.
18313 (struct database_dyn): Remove inotify_descr, reset_res, and filename
18314 elements. Add traced_files.
18315 (inotify_fd): Declare.
18316 (register_traced_file): Declare.
18317 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
18318 (inotify_fd): Export.
18319 (resolv_conf_descr): Remove.
18320 (nscd_init): Move inotify descriptor creation to main.
18321 Don't register files for notification here.
18322 (register_traced_file): New function.
18323 (invalidate_cache): Don't use reset_res to determine whether to call
18324 res_init, go through the list of registered files.
18325 (main_loop_poll): The inotify descriptors are now stored in the
18326 structures for the traced files.
18327 (main_loop_epoll): Likewise
18328 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
18329 to __nss_disable_nscd.
18330 * nscd/cache.c (prune_cache): There is no single inotify descriptor
18331 for a database anymore. Check the records for all the registered
18332 files instead.
18333 * nss/Makefile (libnss_files-routines): Add files-init.
18334 (libnss_db-routines): Add db-init.
18335 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
18336 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
18337 * nss/nss_db/db-init.c: New file.
18338 * nss/nss_files/files-init.c: New file.
18339 * nss/nsswitch.c (nss_load_library): New function. Broken out of
18340 __nss_lookup_function.
18341 (__nss_lookup_function): Call nss_load_library.
18342 (nss_load_all_libraries): New function.
18343 (__nss_disable_nscd): Take parameter with callback function for files
18344 to register. Set is_nscd. Load all the DSOs for the NSS modules
18345 used for the cached services.
18346 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
18347 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
18348 options for features to all the files in nscd.
18349
18350 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
18351
23bee3e8
RM
183522011-07-10 Roland McGrath <roland@hack.frob.com>
18353
18354 * csu/elf-init.c (__libc_csu_init): Comment typo.
18355
46a5b7f0
UD
183562011-07-09 Ulrich Drepper <drepper@gmail.com>
18357
18358 * po/pl.po: Update from translation team.
18359 * po/ja.po: Likewise.
18360 * po/ru.po: Likewise.
18361 * po/ko.po: Likewise.
18362 * po/fr.po: Likewise.
18363
d30cf5bb
RM
183642011-07-09 Roland McGrath <roland@hack.frob.com>
18365
113ddea4
RM
18366 * configure.in (.ctors/.dtors header and trailer check):
18367 Use an empirical test on a built program.
18368 * configure: Regenerated.
18369
574920b4
RM
18370 * configure.in (-z relro check): Use an empirical test on a built DSO.
18371 Detect, but do not require, on ia64.
18372 * configure: Regenerated.
18373
d30cf5bb
RM
18374 * configure.in (READELF): Find it with AC_CHECK_TOOL.
18375 Update tests that use readelf to use $READELF instead.
18376 * configure: Regenerated.
18377
8538fdb3
UD
183782011-07-08 Ulrich Drepper <drepper@gmail.com>
18379
18380 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
18381 if the result is not used.
18382
04d08991
AJ
183832011-07-05 Andreas Jaeger <aj@suse.de>
18384
18385 [BZ#9696]
18386 * stdlib/tst-strtod.c: Add testcase.
18387
de283087
AD
183882011-07-07 Ulrich Drepper <drepper@gmail.com>
18389
4e5f31c8 18390 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 18391 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
18392 The latter has a higher limit. Take additional parameter to pass to
18393 the new function.
18394 (__pathconf): Pass file to __statfs_link_max.
18395 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
18396 __statfs_link_max.
18397 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
18398 __statfs_link_max.
18399
de283087
AD
18400 [BZ #12868]
18401 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
18402 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18403 Handle Lustre.
18404 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
18405 (__statfs_filesize_max): Likewise.
18406 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
18407
c75fa153
AJ
184082011-07-05 Andreas Jaeger <aj@suse.de>
18409
18410 * resolv/res_comp.c (dn_skipname): Remove unused variable.
18411
1a544854
UD
184122011-07-06 Marek Polacek <mpolacek@redhat.com>
18413
18414 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
18415 `status' variable.
18416 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
18417 Likewise.
18418
6f0eec67
UD
184192011-07-04 H.J. Lu <hongjiu.lu@intel.com>
18420
18421 * Makefile (strop-tests): Add strncat.
18422 * string/test-strncat.c: New file.
18423
aae30307
UD
184242011-06-30 Marek Polacek <mpolacek@redhat.com>
18425
18426 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
18427
c0cfb5eb
UD
184282011-06-21 Andreas Jaeger <aj@suse.de>
18429
18430 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
18431 Copy rule from iconvdata/Makefile.
18432
01636b21
UD
184332011-07-06 Ulrich Drepper <drepper@gmail.com>
18434
18435 [BZ #12922]
18436 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
18437 but no long options are defined, just return 'W'.
18438
9895c8bc
UD
184392011-06-22 Marek Polacek <mpolacek@redhat.com>
18440
18441 [BZ #9696]
18442 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
18443
5d4cf042
UD
184442011-07-06 Ulrich Drepper <drepper@gmail.com>
18445
18446 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
18447 netgroups to read.
960e5535 18448 (innetgr): Likewise.
5d4cf042 18449
751eb97e
RM
184502011-07-05 Roland McGrath <roland@hack.frob.com>
18451
18452 * config.make.in (install_root): Default to $(DESTDIR).
18453
f15f1e45
UD
184542011-07-05 Ulrich Drepper <drepper@gmail.com>
18455
18456 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
18457
4e34ac6a
RM
184582011-07-02 Roland McGrath <roland@hack.frob.com>
18459
5e9b6af4
RM
18460 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
18461
84f9ea0f
RM
18462 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
18463 containing directory rather than embedding absolute directory names.
18464
ea5ee9f7
RM
18465 * scripts/check-local-headers.sh: Rewritten using awk.
18466 Match by word, not by line. Print error messages for matches.
18467 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
18468
1b74661a
RM
18469 * Makerules [shlib-lds-flags empty]:
18470 ($(common-objpfx)libc_pic.opts): New target.
18471 ($(common-objpfx)libc_pic.os.clean): New target.
18472 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
18473
18474 * config.make.in (OBJCOPY): New variable.
18475 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
18476 * configure: Regenerated.
18477
f781ef40
RM
18478 * config.make.in (use-default-link): New variable.
18479 * configure.in (use_default_link): Grok --with-default-link to set it.
18480 * configure: Regenerated.
18481 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
18482 (shlib-lds, shlib-lds-flags): Define to empty.
18483
2d4fa81e
RM
18484 * Makerules (shlib-lds): New variable.
18485 (shlib-lds-flags): New variable.
18486 (build-shlib, build-moduile, build-module-asneeded): Use it.
18487 ($(common-objpfx)libc.so): Use $(shlib-lds).
18488 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
18489 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
18490
31fffa6b
RM
18491 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
18492 DT_FLAGS/DT_FLAGS_1 with zero flags.
18493
4e34ac6a
RM
18494 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
18495 linker script munging.
18496
fcfc776b
UD
184972011-07-02 Ulrich Drepper <drepper@gmail.com>
18498
18499 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
18500 as 128-bit value.
18501 * crypt/sha512.c (sha512_process_block): Perform total addition using
18502 128-bit if possible.
18503 (__sha512_finish_ctx): Likewise.
18504 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
18505 as 64-bit value.
18506 * crypt/sha256.c (SWAP64): Define.
18507 (sha256_process_block): Perform total addition using 64-bit if
18508 possible.
18509 (__sha256_finish_ctx): Likewise.
18510
99231d9a
UD
185112011-07-01 Ulrich Drepper <drepper@gmail.com>
18512
18513 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
18514 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18515 * nscd/hstcache.c (cache_addhst): Likewise.
18516 * nscd/grpcache.c (cache_addgr): Likewise.
18517 * nscd/aicache.c (addhstaiX): Likewise
18518 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
18519
445b4a53
TK
185202011-07-01 Thorsten Kukuk <kukuk@suse.de>
18521
18522 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
18523 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18524 * nscd/hstcache.c (cache_addhst): Likewise.
18525 * nscd/grpcache.c (cache_addgr): Likewise.
18526 * nscd/aicache.c (addhstaiX): Likewise
18527
6d4d8e8e
AS
185282011-07-01 Andreas Schwab <schwab@redhat.com>
18529
18530 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
18531 domain only when needed.
18532
89f654c5
AS
185332011-06-30 Andreas Schwab <schwab@redhat.com>
18534
18535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
18536 is always restored.
18537
cf3b23ff
UD
185382011-06-29 Ulrich Drepper <drepper@gmail.com>
18539
18540 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
18541 are re-adding the entry.
18542 * nscd/servicescache.c (cache_addserv): Likewise.
18543
751626f9
AJ
185442011-06-30 Aurelien Jarno <aurelien@aurel32.net>
18545
18546 * sysdeps/generic/dl-irel.h: fix protection against multiple
18547 inclusions.
18548 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
18549
9113ea1f
UD
185502011-06-28 Ulrich Drepper <drepper@gmail.com>
18551
5c0b8d90
UD
18552 [BZ #12935]
18553 * malloc/memusage.sh: Fix quoting in message.
18554 * debug/xtrace.sh: Likewise.
18555
9113ea1f
UD
18556 * configure.in: Remove support for --experimental-malloc option, make
18557 it the default.
18558 * config.make.in: Likewise.
18559 * malloc/Makefile: Likewise.
18560
a4172181
AS
185612011-06-27 Andreas Schwab <schwab@redhat.com>
18562
18563 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
18564 two-byte characters.
18565
78a7eee7
RM
185662011-06-27 Roland McGrath <roland@hack.frob.com>
18567
62bede13
RM
18568 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
18569 AC_CACHE_CHECK invocation.
18570 * configure: Regenerated.
18571
78a7eee7
RM
18572 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
18573
5ce33a62
UD
185742011-06-27 Ulrich Drepper <drepper@gmail.com>
18575
034807a9
UD
18576 [BZ #12350]
18577 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
18578 bit from old_res_options.
18579
4902da17
UD
18580 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
18581
5ce33a62
UD
18582 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
18583 value type for setfct.
18584
c2344f56
L
185852011-06-23 H.J. Lu <hongjiu.lu@intel.com>
18586
18587 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18588 __gettimeofday instead of gettimeofday.
18589
68468076
UD
185902011-06-26 Ulrich Drepper <drepper@gmail.com>
18591
18592 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
18593
acb0d739
L
185942011-06-24 H.J. Lu <hongjiu.lu@intel.com>
18595
18596 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
18597
18598 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
18599 info.
18600
8912479f
L
186012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18602
18603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18604 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18605 strcpy-sse2-unaligned strncpy-sse2-unaligned
18606 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
18607 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
18608 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
18609 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
18610 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
18611 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
18612 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
18613 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
18614 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
18615 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
18616 (STRCPY): Support SSE2 and SSSE3 versions.
18617
d5495a11
UD
186182011-06-24 Ulrich Drepper <drepper@gmail.com>
18619
18620 [BZ #12874]
18621 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
18622 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
18623 kernels which artificially limit size of requests.
18624
0b1cbaae
L
186252011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18626
18627 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18628 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18629 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
18630 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
18631 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
18632 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
18633 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
18634 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
18635 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
18636 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
18637 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
18638 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
18639 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
18640 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
18641 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
18642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18643 Enable unaligned load optimization for Intel Core i3, i5 and i7
18644 processors.
18645 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
18646 Define.
18647 (index_Fast_Unaligned_Load): Define.
18648 (HAS_FAST_UNALIGNED_LOAD): Define.
18649
07f494a0
MP
186502011-06-23 Marek Polacek <mpolacek@redhat.com>
18651
18652 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
18653
fa3fc0fe
UD
186542011-06-22 Ulrich Drepper <drepper@gmail.com>
18655
18656 [BZ #12907]
18657 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
18658 until it is clear that the information is realy needed.
18659 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
18660
e12df166
AS
186612011-06-22 Andreas Schwab <schwab@redhat.com>
18662
18663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
18664
852eb34d
UD
186652011-06-22 Ulrich Drepper <drepper@gmail.com>
18666
84e2a551
UD
18667 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18668 /sys/devices/system/cpu/online if it is usable.
18669
852eb34d
UD
18670 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
18671 reading the information from the /proc filesystem to once a second.
18672
6e502e19
UD
186732011-06-21 Andreas Jaeger <aj@suse.de>
18674
18675 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
18676 NULL after inclusion of kernel headers.
18677
75d39ff2
UD
186782011-06-21 Ulrich Drepper <drepper@gmail.com>
18679
51f9aa6a
UD
18680 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18681 calls to internal_setent.
18682
c0244a9d
UD
18683 [BZ #12885]
18684 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18685 addresses using gethostbyname4_r ignore IPv4 addresses.
18686
c5e3c2ae
UD
18687 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18688 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
18689
75d39ff2
UD
18690 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18691
42675c6f
DM
186922011-06-20 David S. Miller <davem@davemloft.net>
18693
18694 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18695 inclusions.
18696 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18697
18698 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18699 (elf_irel): Use it.
18700 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18701 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18702 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18703 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18704 * sysdeps/x86_64/dl-irel.h: Likewise.
18705
18706 * elf/dl-runtime.c: Use elf_ifunc_invoke.
18707 * elf/dl-sym.c: Likewise.
18708
57912a71
UD
187092011-06-15 Ulrich Drepper <drepper@gmail.com>
18710
18711 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
18712 need to dereference resplen2.
18713
ee22793d
AS
187142011-06-14 Andreas Schwab <schwab@redhat.com>
18715
18716 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18717
a9e836b0
UD
187182011-06-15 Ulrich Drepper <drepper@gmail.com>
18719
77fb9117
UD
18720 * Makeconfig: Define vardbdir and inst_vardbdir.
18721 * nss/Makefile: Add rules to install db-Makefile.
18722
40c1b22c
UD
18723 * nss/nss_db/db-XXX.c: Cleanup.
18724
9f2da732
UD
18725 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18726 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18727 GLIBC_PRIVATE.
18728 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18729 * nss/makedb.c: Implement -g option to specify that value strings
18730 are generated and should not be added to table iterated over for
18731 get*ent calls.
18732 * nss/nss_db/db-initgroups.c: New file.
18733
82e9a1f7
UD
18734 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18735 interface.
18736
c41af17e
UD
18737 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18738 (internal_getgrouplist): Adjust to name change.
18739 Update use_initgroups_entry if this is not the first call.
18740 * nss/databases.def: Add initgroups entry.
18741
a9e836b0
UD
18742 * nss/makedb.c (compute_tables): Check result of multiple hash table
18743 sizes to minimize maximum chain length.
18744
2666d441
UD
187452011-06-14 Ulrich Drepper <drepper@gmail.com>
18746
18747 * Versions.def: Add entry for libnss_db.
18748 * shlib-versions: Likewise.
18749 * nss/Makefile: Add rules to build libnss_db.
18750 * nss/Versions: Add libnss_db information. Organize libnss_files
18751 entries better.
18752 * nss/db-Makefile: Add gshadow support. Change rules for the new
18753 makedb progra. Some minor improvements to generate smaller files.
18754 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18755 here from...
18756 * nss/makedb.c: ...here.
18757 Improve database format to be smaller and require less memory at
18758 runtime.
18759 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18760 db anymore.
18761 * nss/nss_db/db-netgrp.c: Likewise.
18762 * nss/nss_db/db-open.c: Likewise.
18763 * nss/nss_files/flies-XXX.x: Adjust comments.
18764 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18765 * nss/nss_files/files-grp.c: Likewise.
18766 * nss/nss_files/files-hosts.c: Likewise.
18767 * nss/nss_files/files-network.c: Likewise.
18768 * nss/nss_files/files-proto.c: Likewise.
18769 * nss/nss_files/files-pwd.c: Likewise.
18770 * nss/nss_files/files-rpc.c: Likewise.
18771 * nss/nss_files/files-service.c: Likewise.
18772 * nss/nss_files/files-sgrp.c: Likewise.
18773 * nss/nss_files/files-spwd.c: Likewise.
18774 * nss/nss_db/db-alias.c: Removed.
18775 * nss/nss_db/dummy-db.h: Removed.
18776
9ee76b5a
UD
187772011-06-02 Ulrich Drepper <drepper@gmail.com>
18778
18779 * nss/makedb.c: Rewritten to not use database library.
18780 * nss/Makefile: Update to build new makedb program.
18781
c71ca1f8
AJ
187822011-06-14 Andreas Jaeger <aj@suse.de>
18783
18784 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18785 memset declaration.
18786
3154bfb8
UD
187872011-06-10 Andreas Schwab <schwab@redhat.com>
18788
18789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18790 tmpbuf.
18791
b350afab
RM
187922011-06-10 Roland McGrath <roland@hack.frob.com>
18793
decd4e50
RM
18794 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18795 * elf/Makefile ($(objpfx)ld.so): Likewise.
18796
5615eaf2
RM
18797 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18798 Don't list ld.so twice in dependencies.
18799
18800 * posix/bug-regex31.c: Include <stdlib.h>.
18801
18802 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18803
18804 * nis/nss_compat/compat-spwd.c
18805 (getspent_next_nss_netgr): Remove unused variable.
18806 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18807
18808 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18809 nonmembers" output to use the right array.
18810
18811 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18812
18813 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18814
18815 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18816 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18817 * catgets/gencat.c (read_input_file): Likewise.
18818 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18819
18820 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18821 variable definition inside #if's controlling its use.
18822
18823 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18824
18825 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18826
18827 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18828
18829 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18830 unreachable code.
18831
18832 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18833
b68e08db
RM
18834 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18835 * configure: Regenerated.
18836
b350afab
RM
18837 * Makerules: Revert last change.
18838 * elf/Makefile: Likewise.
18839
28368601
RM
188402011-06-09 Roland McGrath <roland@hack.frob.com>
18841
18842 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18843 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18844 (reloc-link): Likewise.
18845
11988f8f
UD
188462011-06-09 Ulrich Drepper <drepper@gmail.com>
18847
18848 * elf/Makefile: Add rules to build pldd.
18849 * elf/pldd.c: New file.
18850 * elf/pldd-xx.c: New file.
18851
e80fab37
UD
188522011-06-07 Ulrich Drepper <drepper@gmail.com>
18853
18854 * version.h: Update for 2.15 development version.
18855
9b849836
DM
188562011-06-07 David S. Miller <davem@davemloft.net>
18857
18858 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18859 ifuncs.
18860 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18861 elf_machine_lazy_rel): Likewise.
18862 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18863 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18864 elf_machine_lazy_rel): Likewise.
18865 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18866 dl_hwcap via passed in argument.
18867 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18868 Likewise.
18869
5a31b283
AK
188702011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18871
18872 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18873
069e52f8
RM
188742011-06-06 Roland McGrath <roland@hack.frob.com>
18875
18876 [BZ #12849]
18877 * manual/fdl-1.1.texi: New file, verbatim from:
18878 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18879 * manual/lgpl-2.1.texi: New file, verbatim from:
18880 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18881 * manual/Makefile (licenses): New variable, list those new file names.
18882 (texis): Use it.
18883 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18884
18885 * manual/fdl.texi: File removed.
18886 * manual/lesser.texi: File removed.
18887 * manual/libc.texinfo (Copying, Documentation License):
18888 Use new @include file names, put @appendix directive before @include.
18889
f16846a5
JJ
188902011-06-04 Jakub Jelinek <jakub@redhat.com>
18891
18892 [BZ #12841]
18893 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18894 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18895 (mq_open): Add __NTH.
18896
3d29045b
L
188972011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18898
18899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18900 Assume Intel Core i3/i5/i7 processor if AVX is available.
18901
8c297311
UD
189022011-05-31 Ulrich Drepper <drepper@gmail.com>
18903
18904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18905 typo.
18906
c8fc0c91
UD
189072011-05-31 Andreas Schwab <schwab@redhat.com>
18908
18909 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18910 memory. Use alloca_account. Fix memory leak when retrying.
18911
5b27a807
UD
189122011-05-31 Ulrich Drepper <drepper@gmail.com>
18913
356f8bc6
UD
18914 * version.h (RELEASE): Bump for 2.14 release.
18915 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18916
5b27a807
UD
18917 * config.make.in (RANLIB): Remove entry.
18918
01f16ab0
UD
189192011-05-30 Ulrich Drepper <drepper@gmail.com>
18920
41fce8bd
UD
18921 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18922 (libc.pot): Work around missing support for .ksh extension in xgettext.
18923
4769ae77
UD
18924 [BZ #12684]
18925 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18926 if both request failed.
18927 (send_dg): In case of server errors clear resplen or *resplen2.
18928
6b1e7d19
UD
18929 [BZ #12454]
18930 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18931 when there are multiple maps.
18932 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18933 (_dl_fini): Remove test here.
18934
01f16ab0
UD
18935 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18936
b1ebd700
UD
189372011-05-29 Ulrich Drepper <drepper@gmail.com>
18938
7ae22829
UD
18939 [BZ #12350]
18940 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18941 bit from old_res_options.
18942 (gaih_inet): Likewise.
18943
553149f6 18944 [BZ #11099]
18a84741 18945 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
18946 as signed.
18947
652ffab1
UD
18948 * resolv/res_init.c (res_setoptions): Make the code more compact.
18949
16985fd0
UD
18950 [BZ #11558]
18951 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18952 set RES_USEVC.
18953
0464f746
UD
18954 [BZ #11634]
18955 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18956
7d17596c
UD
18957 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18958
cf6bbbd7
UD
18959 [BZ #11781]
18960 * malloc/malloc.h: Declare malloc hook variables as volatile.
18961
13f1ab36
UD
18962 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18963 in last patch.
18964
b1ebd700
UD
18965 [BZ #11799]
18966 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 18967 raise in the comment.
80e2212d
UD
18968 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18969 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18970 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 18971
ce67228d
UD
189722011-05-28 Ulrich Drepper <drepper@gmail.com>
18973
8887a920
UD
18974 [BZ #12811]
18975 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18976 grow the buffers more if it already has to be sufficient.
18977 (build_wcs_upper_buffer): Likewise.
18978 * posix/regexec.c (check_matching): Likewise.
18979 (clean_state_log_if_needed): Likewise.
18980 (extend_buffers): Don't enlarge buffers beyond size of the input
18981 buffer.
18982 Patches mostly by Emil Wojak <emil@wojak.eu>.
18983 * posix/bug-regex32.c: New file.
18984 * posix/Makefile (tests): Add bug-regex32.
18985
4f031072
UD
18986 * locale/findlocale.c (_nl_find_locale): Return right away if
18987 _nl_explode_name failed.
18988 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18989
d0478f0c
UD
18990 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18991
de81b246
UD
18992 * debug/xtrace.sh: Unify messages.
18993 * malloc/memusage.sh: Likewise.
18994
c738465a
UD
18995 [BZ #12813]
18996 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18997 time symbol from vDSO. Substitute with vsyscall if not available.
18998 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18999 __vdso_time.
19000
f1f929d7
UD
19001 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19002 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19003 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19004 Add sendmmsg and internal_sendmmsg.
19005 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19006 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19007 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19008
ce67228d
UD
19009 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19010 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19011 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19012
e57420c6
UD
190132011-05-27 Ulrich Drepper <drepper@gmail.com>
19014
a8509ca5
UD
19015 [BZ #12813]
19016 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19017 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19018 available.
19019 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19020 __vdso_getcpu.
19021
e57420c6
UD
19022 [BZ #12814]
19023 * iconvdata/Makefile (tests): Add bug-iconv9.
19024 * iconvdata/bug-iconv9.c: New file.
19025
4d07db15
AS
190262011-05-27 Andreas Schwab <schwab@redhat.com>
19027
19028 [BZ #12814]
19029 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19030
ea486f69
JJ
190312011-05-25 Jakub Jelinek <jakub@redhat.com>
19032
19033 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19034 (struct user_regs_struct): Change intcs field back to cs.
19035
6f038433
UD
190362011-05-25 Ulrich Drepper <drepper@gmail.com>
19037
19038 * po/ja.po: Update from translation team.
19039
67f86a25
UD
190402011-05-23 Ulrich Drepper <drepper@gmail.com>
19041
19042 [BZ #12795]
19043 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19044 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19045
def7fbd6
AS
190462011-05-20 Andreas Schwab <schwab@redhat.com>
19047
19048 * stdlib/longlong.h: Update from GCC.
19049
f50ef8f1
AS
190502011-05-23 Andreas Schwab <schwab@redhat.com>
19051
19052 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19053 parameter name.
19054 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19055 Add parameter name.
19056 (__sysconf): Pass it down.
19057
de7ce8f1
UD
190582011-05-22 Ulrich Drepper <drepper@gmail.com>
19059
f2962a71
UD
19060 [BZ #12671]
19061 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19062 some situations.
19063 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19064 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19065 add in in __libc_use_alloca calls. Adjust callers.
19066 (glob): Use malloc in some situations.
19067
de7ce8f1
UD
19068 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19069 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19070 pltexit.
19071
aec84f53
UD
190722011-05-21 Ulrich Drepper <drepper@gmail.com>
19073
05bb4a68
UD
19074 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19075 and CLOCK_BOOTTIME_ALARM.
19076
7ea72f99
UD
19077 [BZ #12782]
19078 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19079 is returned.
19080
7e4afad5
UD
19081 * string/_strerror.c (__strerror_r): Print negative errors as signed
19082 numbers.
19083
8e211fec
UD
19084 [BZ #12777]
19085 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19086 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19087 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19088
f7d82dc9
UD
19089 * configure.in: Fix typo in redirection and correct removal of test
19090 files in two cases.
19091
cc9e536d
UD
19092 [BZ #12788]
19093 * locale/setlocale.c (new_composite_name): Fix test to check for
19094 identical name of all categories.
19095
aec84f53
UD
19096 [BZ #12792]
19097 * libio/filedoalloc.c (local_isatty): New function.
19098 (_IO_file_doallocate): Use local_isatty.
19099 * stdio-common/perror.c (perror): In case a new stream is used
19100 forward the stream error.
19101 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19102 error flag.
19103
78e64fdc
RT
191042011-05-20 Ulrich Drepper <drepper@gmail.com>
19105
34a9094f
UD
19106 [BZ #11869]
19107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19108 alloca.
19109 * include/alloca.h (extend_alloca_account): Define.
19110
78e64fdc
RT
19111 [BZ #11857]
19112 * posix/regex.h: Fix comments with documentation of user-accessible
19113 fields after compilation and describe correct free'ing of pattern
19114 after re_compile_pattern.
19115 Patch by Reuben Thomas <rrt@sc3d.org>.
19116
457bddfc
RA
191172011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19118
19119 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19120 and -mno-altivec to prevent the compiler from using Altivec and/or
19121 VSX instructions when the corresponding registers are not available.
19122
a4527b51
AS
191232011-05-19 Andreas Schwab <schwab@redhat.com>
19124
19125 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19126
ed690b2f
UD
191272011-05-19 Ulrich Drepper <drepper@gmail.com>
19128
19129 * libio/freopen.c (freopen): Use __dup2, not dup2.
19130 * libio/freopen64.c (freopen64): Likewise.
19131
8db73634
L
191322011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19133
19134 [BZ #12775]
19135 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19136 * math/Makefile (tests): Add test-powl.
19137 (CFLAGS-test-powl.c): Define.
19138 * math/test-powl.c: New file.
19139
0a197a9d
L
191402011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19141
19142 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19143
ee30c380
UD
191442011-05-17 Ulrich Drepper <drepper@gmail.com>
19145
19146 [BZ #11837]
19147 * iconvdata/gb18030.c: Update to GB18020-2005.
19148
6ce75379
UD
191492011-05-16 Ulrich Drepper <drepper@gmail.com>
19150
a4b89fd8
AR
19151 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19152 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19153 Patch by Aharon Robbins <arnold@skeeve.com>.
19154
ea389b12
UD
19155 [BZ #11892]
19156 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19157 on the stack.
19158
68a3f91f
UD
19159 [BZ #11895]
19160 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19161 through underflows.
19162
15cc7dd1
UD
19163 [BZ #12766]
19164 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19165 point to strings before performing equality test for error_one_per_line
19166 mode.
19167
f3799213
UD
19168 [BZ #11697]
19169 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19170
d79a9c94
UD
19171 [BZ #11820]
19172 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19173 (struct user_fpregs_struct): Avoid __uint*_t types.
19174
56e5eb46
UD
19175 [BZ #6420]
19176 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19177 symbol info. Use it instead of calling _dl_addr locally.
19178 (lock_and_info): New function.
19179 (tr_freehook): Call lock_and_info and pass symbol info as additional
19180 parameter to tr_where.
19181 (tr_mallochook): Likewise.
19182 (tr_reallochook): Likewise.
19183 (tr_memalignhook): Likewise.
19184
6ce75379
UD
19185 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19186 used and couldn't be at all thread-safe.
19187
f8a3b5bf
UD
191882011-05-15 Ulrich Drepper <drepper@gmail.com>
19189
94b7cc37
UD
19190 * libio/freopen.c (freopen): Don't close old file descriptor
19191 before the new one is opened. Instead dup the new file descriptor
19192 to the old one after the new stream is created.
19193 * libio/freopen64.c (freopen64): Likewise.
19194 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19195 * libio/fileops.c (_IO_new_file_close_it): Handle new
19196 _IO_FLAGS2_NOCLOSE flag.
19197 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19198 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19199 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19200 _IO_FLAGS2_NOCLOSE flag.
19201 * include/unistd.h: Add hidden_proto for dup3.
19202 Define __have_dup3.
19203 * io/dup3.c: Define hidden symbol.
19204 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19205
bd25564e
UD
19206 [BZ #7101]
19207 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19208 when an incomplete long option is used.
19209 * posix/tst-getopt_long1.c: New file.
19210 * posix/Makefile (tests): Add tst-getopt_long1.
19211
c84cfef4
UD
19212 [BZ #10138]
19213 * scripts/config.guess: Update from autoconf-2.68.
19214 * scripts/config.sub: Likewise.
19215
3b85df27
UD
19216 [BZ #10157]
19217 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19218 tests into ...
19219 (has_cpuclock): ...this. New function.
19220 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19221 macro here based on has_cpuclock code.
19222
15a856b1
UD
19223 [BZ #10149]
19224 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19225 First byte (not low byte) is now always NUL.
19226 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19227
05f399e6
UD
19228 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19229 Use non-cancelable interfaces.
19230
10a52685 19231 [BZ #9809]
94ecc67d
UD
19232 * locale/iso-639.def: Add entry for Sorani.
19233
f8a3b5bf
UD
19234 [BZ #11901]
19235 * include/stdlib.h: Move include protection to the right place.
19236 Define abort_msg_s. Declare __abort_msg with it.
19237 * stdlib/abort.c (__abort_msg): Adjust type.
19238 * assert/assert.c (__assert_fail_base): New function. Majority
19239 of code from __assert_fail. Allocate memory for __abort_msg with
19240 mmap.
19241 (__assert_fail): Now call __assert_fail_base.
19242 * assert/assert-perr.c: Remove bulk of implementation. Use
19243 __assert_fail_base.
19244 * include/assert.hL Declare __assert_fail_base.
19245 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19246 mmap.
19247 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19248
1af4e298
UD
192492011-05-14 Ulrich Drepper <drepper@gmail.com>
19250
f8a3b5bf 19251 [BZ #11952]
d26dfc60
MG
19252 [BZ #12453]
19253 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19254 until all modules are registered in the DTV.
19255 * elf/Makefile: Add rules to build and run tst-tls19.
19256 * elf/tst-tls19.c: New file.
19257 * elf/tst-tls19mod1.c: New file.
19258 * elf/tst-tls19mod2.c: New file.
19259 * elf/tst-tls19mod3.c: New file.
19260 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19261
2fc54d6f
UD
19262 [BZ #12083]
19263 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19264 correctly.
19265
98d76b46
UD
19266 [BZ #12601]
19267 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19268 two-byte sequence errors.
19269 * iconvdata/Makefile (tests): Add bug-iconv8.
19270 * iconvdata/bug-iconv8.c: New file.
19271
da3c19ef
UD
19272 [BZ #12626]
19273 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19274 buf2 definition.
19275
ca408c15
UD
19276 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19277
d6f67f7d
UD
19278 [BZ #12432]
19279 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19280 (dummy_getcfa): New function.
19281 (init): Get _Unwind_GetCFA address, use dummy if not found.
19282 (backtrace_helper): In recursion check, also check whether CFA changes.
19283 (__backtrace): Completely initialize arg.
19284
1af4e298 19285 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
19286 storing incomplete byte sequence in state object. Avoid testing for
19287 guaranteed too small input if we know there is enough data available.
1af4e298 19288
da62f81b
AS
192892011-05-11 Andreas Schwab <schwab@redhat.com>
19290
19291 * Makeconfig (+link-pie): Indent.
19292 * Rules (binaries-pie): Define if $(have-fpie) and
19293 $(build-shared).
19294 (binaries-shared): Also filter out $(binaries-pie).
19295 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19296 * nscd/Makefile (others-pie): Add nscd.
19297 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19298 ($(objpfx)nscd): Remove command override.
19299 * login/Makefile (others-pie): Add pt_chown.
19300 ($(objpfx)pt_chown): Remove command override.
19301 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19302 remove command overrides.
19303
fcabc0f8
UD
193042011-05-13 Ulrich Drepper <drepper@gmail.com>
19305
20030ae6
UD
19306 * libio/tst_putwc.c: Fix error messages.
19307
fcabc0f8
UD
19308 [BZ #12724]
19309 * libio/fileops.c (_IO_new_file_close_it): Always flush when
19310 currently writing and seek to current position when not.
19311 * libio/Makefile (tests): Add bug-fclose1.
19312 * libio/bug-fclose1.c: New file.
19313
320a5dc0
PB
193142011-05-12 Ulrich Drepper <drepper@gmail.com>
19315
19316 [BZ #12511]
19317 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
19318 don't set DF_1_NODELETE here.
19319 (do_lookup_x): When entering new entry test for copy relocation
19320 and if necessary set DF_1_NODELETE flag.
19321 * elf/tst-unique4.cc: New file.
19322 * elf/tst-unique4.h: New file.
19323 * elf/tst-unique4lib.cc: New file.
19324 * elf/Makefile: Add rules to build and run tst-unique4.
19325 Patch by Piotr Bury <pbury@goahead.com>.
19326
22836f52
UD
193272011-05-11 Ulrich Drepper <drepper@gmail.com>
19328
f574184a
UD
19329 [BZ #12052]
19330 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
19331
e1fb097f
UD
19332 [BZ #12625]
19333 * misc/mntent_r.c (addmntent): Flush the stream after the output
19334
22836f52
UD
19335 [BZ #12393]
19336 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
19337 (is_trusted_path_normalize): Skip initial colon. Append slash
19338 to empty buffer. Duplicate is_trusted_path code but allow
19339 constructed patch to be prefix.
19340 (is_dst): Allow $ORIGIN followed by /.
19341 (_dl_dst_substitute): Correct clearing of check_for_trusted.
19342 Correct testing of result of is_trusted_path_normalize
19343 (decompose_rpath): Fix warning.
19344
7b3b0b2a
UD
193452011-05-10 Ulrich Drepper <drepper@gmail.com>
19346
19347 [BZ #11257]
19348 * grp/initgroups.c (internal_getgrouplist): When we found the service
19349 list through the initgroups entry in nsswitch.conf do not always
19350 continue on a successful lookup. Don't always use the
eac80ce2 19351 __nss_group_database value if it is set.
7b3b0b2a
UD
19352 * nss/nsswitch.conf (initgroups): Change action for successful db
19353 lookup to continue for compatibility.
19354
2a81eaa5
UD
193552011-05-09 Ulrich Drepper <drepper@gmail.com>
19356
be97a69e
UD
19357 [BZ #11532]
19358 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
19359 and CP774 modules.
19360 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
19361 and CP774 modules.
19362 * iconvdata/tst-tables.sh: Likewise.
19363 * iconvdata/cp770.c: New file.
19364 * iconvdata/cp771.c: New file.
19365 * iconvdata/cp772.c: New file.
19366 * iconvdata/cp773.c: New file.
19367 * iconvdata/cp774.c: New file.
19368 * iconvdata/testdata/CP770: New file.
19369 * iconvdata/testdata/CP770..UTF8: New file.
19370 * iconvdata/testdata/CP771: New file.
19371 * iconvdata/testdata/CP771..UTF8: New file.
19372 * iconvdata/testdata/CP772: New file.
19373 * iconvdata/testdata/CP772..UTF8: New file.
19374 * iconvdata/testdata/CP773: New file.
19375 * iconvdata/testdata/CP773..UTF8: New file.
19376 * iconvdata/testdata/CP774: New file.
19377 * iconvdata/testdata/CP774..UTF8: New file.
19378
19379 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
19380 END CHARMAP line.
19381 * iconvdata/gen-8bit-gap.sh: Likewise.
19382 * iconvdata/gen-8bit.sh: Likewise.
19383
c1e9e399
UD
19384 * locale/iso-639.def: Add ary entry.
19385
24c55fb3 19386 [BZ #11258]
96b4b1b0
UD
19387 * locale/C-translit.h.in: Add U20A1 transliteration.
19388
bdc2f971
KB
19389 [BZ #12178]
19390 * locale/iso-639.def: Add wae entry.
19391 Patch by Kevin Bortis <bortis@translate-wae.ch>.
19392
2952b117
UD
19393 [BZ #12545]
19394 * locale/programs/localedef.c (construct_output_path): Use ssize_t
19395 for n.
19396
2a81eaa5
UD
19397 [BZ #12711]
19398 * locale/C-translit.h.in: Add entry for U20B9.
19399 Patch by pravin.d.s@gmail.com.
19400
28377d1b
UD
194012011-05-08 Ulrich Drepper <drepper@gmail.com>
19402
7fb90fb8
UD
19403 [BZ #12713]
19404 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
19405 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
19406 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
19407 in rtld. Use *stat64.
7fb90fb8 19408 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 19409 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 19410 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
19411 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
19412 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
19413 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
19414 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
19415 __fstatat64 macros.
7fb90fb8
UD
19416 * include/dirent.h: Add libc_hidden_proto for rewinddir.
19417 * dirent/rewinddir.c: Add libc_hidden_def.
19418 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 19419 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 19420
28377d1b
UD
19421 * include/dirent.h (__alloc_dir): Add flags parameter.
19422 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
19423 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
19424 __alloc_dir.
19425 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
19426 from fdopendir if O_CLOEXEC is already set.
19427
66bdbaa4
AM
194282011-03-15 Alan Modra <amodra@gmail.com>
19429
19430 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
19431 l_tls_firstbyte_offset non-zero. Save padding offset in
19432 l_tls_firstbyte_offset for later use.
19433 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
19434 freeing static tls block.
19435
95721191
JN
194362011-03-05 Jonathan Nieder <jrnieder@gmail.com>
19437
19438 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
19439 where #ifdef was intended. The intent is to prevent ARG_MAX from
19440 being defined by the kernel headers.
19441
f87dfb1f
UD
194422011-05-07 Ulrich Drepper <drepper@gmail.com>
19443
19444 [BZ #12734]
19445 * resolv/resolv.h: Define RES_NOTLDQUERY.
19446 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
19447 no-tld-query and set RES_NOTLDQUERY.
19448 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
19449 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
19450 modern BIND to search name as TLD unless forbidden.
19451
47c3cd7a
UD
194522011-05-07 Petr Baudis <pasky@suse.cz>
19453 Ulrich Drepper <drepper@gmail.com>
19454
19455 [BZ #12393]
19456 * elf/dl-load.c (fillin_rpath): Move trusted path check...
19457 (is_trusted_path): ...to here.
c1e9ea35 19458 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 19459 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 19460 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 19461
8a35c912
PP
194622011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19463
19464 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
19465 __BEGIN/__END_DECLS.
19466
acd41f47
UD
194672011-05-06 Ulrich Drepper <drepper@gmail.com>
19468
19469 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
19470 NSS_STATUS_NOTFOUND if no record was found.
19471
597df647
AS
194722011-05-05 Andreas Schwab <schwab@redhat.com>
19473
19474 * sunrpc/Makefile (headers): Add rpc/netdb.h.
19475 (headers-not-in-tirpc): Remove rpc/netdb.h
19476 * resolv/netdb.h: Revert last change.
19477
b9af1301
PP
194782011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19479
19480 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
19481 circular dependency between libgcc.a and libc.a.
19482
4e34d5f5
AS
194832011-05-05 Andreas Schwab <schwab@redhat.com>
19484
19485 * resolv/netdb.h: Don't include <rpc/netdb.h>.
19486 * nis/Makefile: Don't install rpcsvc/*.
19487 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
19488 instead of <rpc/types.h>.
19489 (MAXHOSTNAMELEN): Define.
19490
00ee369c
AS
194912011-05-03 Andreas Schwab <schwab@redhat.com>
19492
19493 * elf/ldconfig.c (add_dir): Don't crash on empty path.
19494
0b592a30
MB
194952011-04-28 Maciej Babinski <mbabinski@google.com>
19496
19497 [BZ #12714]
19498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
19499 gethostbyname4_r when IPv6 results are possible.
19500
6e04cbbe
UD
195012011-05-02 Ulrich Drepper <drepper@gmail.com>
19502
19503 [BZ #12723]
19504 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
19505 _PC_PIPE_BUF handling.
19506
e4ecafe0
BH
195072011-04-30 Bruno Haible <bruno@clisp.org>
19508
19509 [BZ #12717]
19510 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
19511 * resolv/netdb.h (getnameinfo): Change type of flags parameter
19512 to 'int'.
19513 * inet/getnameinfo.c (getnameinfo): Likewise.
19514
125ee683
UD
195152011-04-29 Ulrich Drepper <drepper@gmail.com>
19516
19517 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
19518 to groups setting in database lookup.
19519 * nss/nsswitch.conf: Add initgroups entry.
19520
b722481a
EB
195212011-04-22 Ulrich Drepper <drepper@gmail.com>
19522
19523 [BZ #12685]
19524 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
19525 mode string.
19526 Patch by Eric Blake <eblake@redhat.com>.
19527
4df46dbd
L
195282011-04-20 H.J. Lu <hongjiu.lu@intel.com>
19529
19530 * sunrpc/Makefile (need-export-routines): Add svc_run.
19531 (routines): Remove svc_run.
19532 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
19533 * sunrpc/clnt_perr.c (clnt_perrno): Export.
19534 * sunrpc/svc_run.c (svc_run): Likewise.
19535 * sunrpc/svc_udp.c (svcudp_create): Likewise.
19536
e84142d2
UD
195372011-04-21 Ulrich Drepper <drepper@gmail.com>
19538
19539 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
19540 problem in reallocation in last patch.
19541
877175d8
UD
195422011-04-20 Ulrich Drepper <drepper@gmail.com>
19543
19544 * sunrpc/Makefile: Move inclusion of Rules.
19545
ab8eed78
UD
195462011-04-19 Ulrich Drepper <drepper@gmail.com>
19547
19548 * nss/nss_files/files-initgroups.c: New file.
19549 * nss/Makefile (libnss_files-routines): Add files-initgroups.
19550 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
19551 _nss_files_initgroups_dyn.
19552
e3d8f584
RS
195532011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
19554
19555 * elf/elf.h (R_ARM_IRELATIVE): Define.
19556
af190f45
UD
195572011-04-19 Ulrich Drepper <drepper@gmail.com>
19558
19559 * po/ru.po: Update from translation team.
19560
53cf59ef
UD
195612011-04-17 Ulrich Drepper <drepper@gmail.com>
19562
19563 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
19564 dependencies.
19565
4c559bcd
MF
195662011-02-06 Mike Frysinger <vapier@gentoo.org>
19567
19568 [BZ #12653]
19569 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
19570 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
19571 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19572 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19573 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19574
4420675c
AS
195752011-03-28 Andreas Schwab <schwab@linux-m68k.org>
19576
19577 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
19578 differing bytes.
19579 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19580 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19581 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19582
75ea32ab
UD
195832011-04-17 Ulrich Drepper <drepper@gmail.com>
19584
19585 [BZ #12420]
19586 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
19587 storing it.
19588 * stdlib/bug-getcontext.c: New file.
19589 * stdlib/Makefile: Add rules to build and run bug-getcontext.
19590
27390476
AK
195912011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19592
19593 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
19594 instructions into .machine "z9-109".
19595 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19596 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19597
10442705
AK
195982011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19599
19600 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
19601 between environment variables and auxiliary vector.
19602
7b57bfe5
UD
196032011-04-16 Ulrich Drepper <drepper@gmail.com>
19604
19605 * Makefile: Add rules to build linkobj/libc.so.
19606 * include/libc-symbols.h: Define libc_hidden_nolink.
19607 * include/rpc/auth.h: Mark functions which are to be hidden.
19608 * include/rpc/auth_des.h: Likewise.
19609 * include/rpc/auth_unix.h: Likewise.
19610 * include/rpc/clnt.h: Likewise.
19611 * include/rpc/des_crypt.h: Likewise.
19612 * include/rpc/key_prot.h: Likewise.
19613 * include/rpc/pmap_clnt.h: Likewise.
19614 * include/rpc/pmap_prot.h: Likewise.
19615 * include/rpc/pmap_rmt.h: Likewise.
19616 * include/rpc/rpc_msg.h: Likewise.
19617 * include/rpc/svc.h: Likewise.
19618 * include/rpc/svc_auth.h: Likewise.
19619 * include/rpc/xdr.h: Likewise.
19620 * nis/Makefile: Link all DSOs against linkobj/libc.so.
19621 * nss/Makefile: Likewise.
19622 * sunrpc/Makefile: Don't install headers. Build library with normal
19623 entry points. Don't build rpcinfo. Link RPC tests appropriately.
19624 * sunrpc/auth_des.c: Hide exported symbols by default, export some
19625 for the compat linking library. Remove use of INTDEF/INTUSE.
19626 * sunrpc/auth_none.c: Likewise.
19627 * sunrpc/auth_unix.c: Likewise.
19628 * sunrpc/authdes_prot.c: Likewise.
19629 * sunrpc/authuxprot.c: Likewise.
19630 * sunrpc/clnt_gen.c: Likewise.
19631 * sunrpc/clnt_perr.c: Likewise.
19632 * sunrpc/clnt_raw.c: Likewise.
19633 * sunrpc/clnt_simp.c: Likewise.
19634 * sunrpc/clnt_tcp.c: Likewise.
19635 * sunrpc/clnt_udp.c: Likewise.
19636 * sunrpc/clnt_unix.c: Likewise.
19637 * sunrpc/des_crypt.c: Likewise.
19638 * sunrpc/des_soft.c: Likewise.
19639 * sunrpc/get_myaddr.c: Likewise.
19640 * sunrpc/key_call.c: Likewise.
19641 * sunrpc/key_prot.c: Likewise.
19642 * sunrpc/netname.c: Likewise.
19643 * sunrpc/pm_getmaps.c: Likewise.
19644 * sunrpc/pm_getport.c: Likewise.
19645 * sunrpc/pmap_clnt.c: Likewise.
19646 * sunrpc/pmap_prot.c: Likewise.
19647 * sunrpc/pmap_prot2.c: Likewise.
19648 * sunrpc/pmap_rmt.c: Likewise.
19649 * sunrpc/publickey.c: Likewise.
19650 * sunrpc/rpc_cmsg.c: Likewise.
19651 * sunrpc/rpc_common.c: Likewise.
19652 * sunrpc/rpc_dtable.c: Likewise.
19653 * sunrpc/rpc_prot.c: Likewise.
19654 * sunrpc/rpc_thread.c: Likewise.
19655 * sunrpc/rtime.c: Likewise.
19656 * sunrpc/svc.c: Likewise.
19657 * sunrpc/svc_auth.c: Likewise.
19658 * sunrpc/svc_authux.c: Likewise.
19659 * sunrpc/svc_raw.c: Likewise.
19660 * sunrpc/svc_run.c: Likewise.
19661 * sunrpc/svc_simple.c: Likewise.
19662 * sunrpc/svc_tcp.c: Likewise.
19663 * sunrpc/svc_udp.c: Likewise.
19664 * sunrpc/svc_unix.c: Likewise.
19665 * sunrpc/svcauth_des.c: Likewise.
19666 * sunrpc/xcrypt.c: Likewise.
19667 * sunrpc/xdr.c: Likewise.
19668 * sunrpc/xdr_array.c: Likewise.
19669 * sunrpc/xdr_float.c: Likewise.
19670 * sunrpc/xdr_intXX_t.c: Likewise.
19671 * sunrpc/xdr_mem.c: Likewise.
19672 * sunrpc/xdr_rec.c: Likewise.
19673 * sunrpc/xdr_ref.c: Likewise.
19674 * sunrpc/xdr_sizeof.c: Likewise.
19675 * sunrpc/xdr_stdio.c: Likewise.
19676
e6c61494
UD
196772011-04-10 Ulrich Drepper <drepper@gmail.com>
19678
19679 [BZ #12650]
19680 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19681 * sysdeps/ia64/dl-tls.h: Likewise.
19682 * sysdeps/powerpc/dl-tls.h: Likewise.
19683 * sysdeps/s390/dl-tls.h: Likewise.
19684 * sysdeps/sh/dl-tls.h: Likewise.
19685 * sysdeps/sparc/dl-tls.h: Likewise.
19686 * sysdeps/x86_64/dl-tls.h: Likewise.
19687 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19688
34fe483e
AS
196892011-03-14 Andreas Schwab <schwab@redhat.com>
19690
19691 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19692 rpath element also skip the following colon.
19693 (expand_dynamic_string_token): Add is_path parameter and pass
19694 down to DL_DST_REQUIRED and _dl_dst_substitute.
19695 (decompose_rpath): Call expand_dynamic_string_token with
19696 non-zero is_path. Ignore empty rpaths.
19697 (_dl_map_object_from_fd): Call expand_dynamic_string_token
19698 with zero is_path.
19699
f12a32e6
AS
197002011-04-08 Andreas Schwab <schwab@linux-m68k.org>
19701
19702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19703 Make cancelable.
19704
38a7d692
UD
197052011-04-09 Ulrich Drepper <drepper@gmail.com>
19706
19707 [BZ #12655]
19708 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19709 Patch by Filipe David Manana <fdmanana@apache.org>.
19710
e451d22b
AS
197112011-04-07 Andreas Schwab <schwab@redhat.com>
19712
19713 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19714 Maintain aligned stack.
19715 (CHECK_RSP): Remove unused macro.
19716
dedc7c7b
UD
197172011-04-03 Ulrich Drepper <drepper@gmail.com>
19718
19719 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19720 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19721
94521213
UD
197222011-04-02 Ulrich Drepper <drepper@gmail.com>
19723
19724 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19725
8cb700c0 19726 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 19727
0354e355
L
197282011-03-26 H.J. Lu <hongjiu.lu@intel.com>
19729
19730 [BZ #12518]
19731 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19732 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19733 * sysdeps/x86_64/memmove.c: New file.
19734 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19735 (memcpy): Renamed to ...
19736 (__new_memcpy): This.
19737 (memcpy): Provide GLIBC_2_14 memcpy.
19738 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19739 (memcpy): Provide GLIBC_2_2_5 memcpy.
19740
8593482f
UD
197412011-04-01 Ulrich Drepper <drepper@gmail.com>
19742
19743 [BZ #12631]
19744 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19745
81a5726b
AS
197462011-03-30 Andreas Schwab <schwab@redhat.com>
19747
19748 * misc/syncfs.c: New file.
19749 * misc/Makefile (routines): Add syncfs.
19750 * posix/unistd.h: Declare syncfs.
19751 * sysdeps/unix/syscalls.list: Add syncfs.
19752
00e5419f
AS
197532011-04-01 Andreas Schwab <schwab@redhat.com>
19754
19755 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19756 open_by_handle_at.
19757 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19758 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19760 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19761 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19762 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19764
748876bf
UD
197652011-04-01 Ulrich Drepper <drepper@gmail.com>
19766
658e451d
UD
19767 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19768 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19769 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19770 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19771 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19772 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19773 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19774
748876bf
UD
19775 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19776 sync_file_range.c with -fexceptions.
19777 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19778 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19779 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19780 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19781 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19782 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19783 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
19784 sync_file_range as cancellation point
19785 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19786 now a wrapper around __call_sync_file_range with cancellation handling.
19787 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19788 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19789 function name to __call_sync_file_range.
19790 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19791 Add call_sync_file_range.
748876bf 19792
6e63d5e1
AS
197932011-04-01 Andreas Schwab <schwab@redhat.com>
19794
19795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 19796 bits/timex.h.
6e63d5e1 19797
46998f74
UD
197982011-04-01 Ulrich Drepper <drepper@gmail.com>
19799
4c1423ed
UD
19800 * iconv/iconv.h: Fix typo in comment.
19801 * io/fcntl.h: Likewise.
19802 * libio/stdio.h: Likewise.
19803 * posix/spawn.h: Likewise.
19804 * posix/unistd.h: Likewise.
19805 * stdlib/stdlib.h: Likewise.
19806 * time/time.h: Likewise.
19807 * wcsmbs/wchar.h: Likewise.
19808
158648c0
UD
19809 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19810 open_by_handle): Add.
19811 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19812 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19813 Augment a few comments.
19814 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19815 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19816 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19817 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19818 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19819 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19820 open_by_handle.
19821
46998f74
UD
19822 * io/fcntl.h (AT_EMPTY_PATH): Define.
19823
83fe108b
UD
198242011-03-30 Ulrich Drepper <drepper@gmail.com>
19825
19826 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19827 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19828 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19829 to...
19830 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
19831 * Versions.def: Add GLIBC_2.14.
19832 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19833 Export.
83fe108b 19834
bb242059
UD
198352011-03-22 Ulrich Drepper <drepper@gmail.com>
19836
19837 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19838 round counter.
19839 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19840
c97a1282
L
198412011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19842
19843 [BZ #12597]
19844 * string/test-strncmp.c (do_page_test): New function.
19845 (check2): Likewise.
19846 (test_main): Call check2.
19847 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19848
2a115601
UD
198492011-03-20 Ulrich Drepper <drepper@gmail.com>
19850
19851 [BZ #12587]
19852 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19853 Handle cache information in CPU leaf 4.
19854 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19855
8126d904
UD
198562011-03-18 Ulrich Drepper <drepper@gmail.com>
19857
042c49c6 19858 [BZ #12583]
8126d904
UD
19859 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19860 character representation.
19861 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19862
ccfe366e
RA
198632011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19864
19865 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19866 END(__isnan) to END(__isnanf) to match function entry point/label
19867 EALIGN(__isnanf,...).
19868
c6e13027
JJ
198692011-03-10 Jakub Jelinek <jakub@redhat.com>
19870
19871 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19872
33f85a3f
UD
198732011-03-10 Ulrich Drepper <drepper@gmail.com>
19874
028478fa
UD
19875 [BZ #12510]
19876 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19877 copy from the symbol referenced in the relocation to initialize the
19878 used variable.
19879 Patch by Piotr Bury <pbury@goahead.com>.
19880 * elf/Makefile: Add rules to build and tst-unique3.
19881 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19882 * elf/tst-unique3.cc: New file.
19883 * elf/tst-unique3.h: New file.
19884 * elf/tst-unique3lib.cc: New file.
19885 * elf/tst-unique3lib2.cc: New file.
19886
33f85a3f
UD
19887 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19888
03592fc7
MF
198892011-03-10 Mike Frysinger <vapier@gentoo.org>
19890
19891 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19892 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19893 to _start.
03592fc7 19894
6a5ee102
UD
198952011-03-06 Ulrich Drepper <drepper@gmail.com>
19896
19897 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19898 to-be-loaded object along a path to loader is ld.so.
19899
7e4ba49c
HJ
199002011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19901 Ulrich Drepper <drepper@gmail.com>
19902
19903 * sysdeps/x86_64/memset.S: After aligning destination, code
19904 branches to different locations depending on the value of
19905 misalignment, when multiarch is enabled. Fix this.
19906
199072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19908
19909 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19910 Set _x86_64_preferred_memory_instruction for AMD processsors.
19911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19912 Set bit_Prefer_SSE_for_memop for AMD processors.
19913
13a804de
UD
199142011-03-04 Ulrich Drepper <drepper@gmail.com>
19915
19916 * libio/fmemopen.c (fmemopen): Optimize a bit.
19917
9d25c392
AS
199182011-03-03 Andreas Schwab <schwab@redhat.com>
19919
19920 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19921
a5543c6a
RM
199222011-03-03 Roland McGrath <roland@redhat.com>
19923
19924 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19925
012d35f7
DM
199262011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19927
7e4ba49c 19928 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
19929 __bzero_ultra1 instead of __memset_ultra1.
19930
4bff6e01
AS
199312011-02-23 Andreas Schwab <schwab@redhat.com>
19932 Ulrich Drepper <drepper@gmail.com>
19933
19934 [BZ #12509]
19935 * include/link.h (struct link_map): Add l_orig_initfini.
19936 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19937 returning unsuccessfully.
19938 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19939 close of a file loaded at startup, restore the original l_initfini
19940 list.
19941 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19942 list, store the pointer.
19943 * elf/Makefile ($(objpfx)noload-mem): New rule.
19944 (noload-ENV): Define.
19945 (tests): Add $(objpfx)noload-mem.
19946 * elf/noload.c: Include <memcheck.h>.
19947 (main): Call mtrace. Close all opened handles.
19948
f2092faf
AS
199492011-02-17 Andreas Schwab <schwab@redhat.com>
19950
19951 [BZ #12454]
19952 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19953 dependencies are missing.
19954
6c8a2e88
ST
199552011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19956
f2092faf 19957 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
19958 Hurd needs munmap.
19959 * sysdeps/mach/hurd/ifreq.h: New file.
19960
84a42118
PB
199612011-01-27 Petr Baudis <pasky@suse.cz>
19962 Ulrich Drepper <drepper@gmail.com>
19963
071f805e 19964 [BZ 12445]#
84a42118
PB
19965 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19966 to extend_alloca().
19967 * stdio-common/bug23.c: New file.
19968 * stdio-common/Makefile (tests): Add bug23.
19969
e23fe25b
AS
199702010-09-28 Andreas Schwab <schwab@redhat.com>
19971 Ulrich Drepper <drepper@gmail.com>
19972
19973 [BZ #12489]
19974 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19975 before performing relro protection. At old place add assertion
19976 to make sure nothing changed.
19977
d3f02e10
NS
199782011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19979 Glauber de Oliveira Costa <glommer@gmail.com>
19980
19981 * elf/elf.h: Add new ARM TLS relocs.
19982
d55fd7a5
RA
199832011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19984
19985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19986 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19987 cast from r3.
19988 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19989 'tests' variable.
19990 * sysdeps/wordsize-64/tst-writev.c: New file.
19991
2206397e
RA
199922011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19993
19994 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19995 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19996 insns in _dl_start to prevent a TOC reference before relocs are
19997 resolved.
19998
e9433893
UD
199992011-02-15 Ulrich Drepper <drepper@gmail.com>
20000
20001 [BZ #12469]
20002 * Makeconfig: Remove RANLIB definition.
20003 * Makerules: Don't use RANLIB.
20004 * aclocal.m4: Remove ranlib test.
20005 * configure.in: No need to check for ranlib.
20006 * elf/rtld-Rules: Don't use RANLIB.
20007
f75286c6
ST
200082011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20009
8e31c82d
ST
20010 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20011 protection macro.
20012 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20013 inclusion protection macro.
20014
f75286c6
ST
20015 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20016 SIGRTMIN and SIGRTMAX and print information in that case only when
20017 SIGRTMIN is defined.
20018
c1d0e639
JJ
200192011-02-11 Jakub Jelinek <jakub@redhat.com>
20020
20021 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20022 arginfo fn returning -1.
20023
20024 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20025 and thousands string is zero terminated.
20026
edf9294e
AS
200272011-02-03 Andreas Schwab <schwab@redhat.com>
20028
20029 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20030 sysdeps/unix/sysv/linux/bits/socket.h.
20031
2b7e92df
ST
200322011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20033
edf9294e
AS
20034 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20035 (__CPU_COUNT): Remove old macros.
20036 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20037 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20038 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
20039 (__sched_cpualloc, __sched_cpufree): Add declarations.
20040
a4c7ea7b
UD
200412011-02-05 Ulrich Drepper <drepper@gmail.com>
20042
20043 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20044 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20045 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20046 (readdhstai): Return value of addhstaiX call.
20047 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20048 (addgrbyX): Return value returned by cache_addgr.
20049 (readdgrbyname): Return value returned by addgrbyX.
20050 (readdgrbygid): Likewise.
20051 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20052 (addpwbyX): Return value returned by cache_addpw.
20053 (readdpwbyname): Return value returned by addhstbyX.
20054 (readdpwbyuid): Likewise.
20055 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20056 (addservbyX): Return value returned by cache_addserv.
20057 (readdservbyname): Return value returned by addservbyX:
20058 (readdservbyport): Likewise.
20059 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20060 (addhstbyX): Return value returned by cache_addhst.
20061 (readdhstbyname): Return value returned by addhstbyX.
20062 (readdhstbyaddr): Likewise.
20063 (readdhstbynamev6): Likewise.
20064 (readdhstbyaddrv6): Likewise.
20065 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20066 (readdinitgroups): Return value returned by addinitgroupsX.
20067 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20068 (prune_cache): Keep track of timeout value of re-added entries.
20069 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20070 * nscd/nscd.h: Adjust prototypes of readd* functions.
20071
a0bf67cc
RM
200722011-02-04 Roland McGrath <roland@redhat.com>
20073
20074 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20075 (nis_stats): Likewise.
20076 * nis/nis_modify.c (nis_modify): Likewise.
20077 * nis/nis_remove.c (nis_remove): Likewise.
20078 * nis/nis_add.c (nis_add): Likewise.
20079
20080 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20081
20082 * posix/fnmatch_loop.c: Add some consts.
20083
20084 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20085
435b95eb
L
200862011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20087
20088 [BZ #12460]
20089 * config.make.in (config-cflags-novzeroupper): Define.
20090 * configure.in: Substitute libc_cv_cc_novzeroupper.
20091 * elf/Makefile (AVX-CFLAGS): Define.
20092 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20093 (CFLAGS-tst-auditmod4a.c): Likewise.
20094 (CFLAGS-tst-auditmod4b.c): Likewise.
20095 (CFLAGS-tst-auditmod6b.c): Likewise.
20096 (CFLAGS-tst-auditmod6c.c): Likewise.
20097 (CFLAGS-tst-auditmod7b.c): Likewise.
20098 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20099
8517b15e
UD
201002011-02-02 Ulrich Drepper <drepper@gmail.com>
20101
20102 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20103 function to the callback.
20104 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20105
10a656fe
AS
201062011-02-02 Andreas Schwab <schwab@redhat.com>
20107
20108 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20109 of errno.
20110
968dad0a
UD
201112011-01-19 Ulrich Drepper <drepper@gmail.com>
20112
9f94d2ea 20113 [BZ #11724]
968dad0a
UD
20114 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20115 of constructors.
20116 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20117 of destructors.
20118 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20119
20120 [BZ #11724]
20121 * elf/Makefile: Add rules to build and run new test.
20122 * elf/tst-initorder.c: New file.
20123 * elf/tst-initorder.exp: New file.
20124 * elf/tst-initordera1.c: New file.
20125 * elf/tst-initordera2.c: New file.
20126 * elf/tst-initordera3.c: New file.
20127 * elf/tst-initordera4.c: New file.
20128 * elf/tst-initorderb1.c: New file.
20129 * elf/tst-initorderb2.c: New file.
20130 * elf/tst-order-a1.c: New file.
20131 * elf/tst-order-a2.c: New file.
20132 * elf/tst-order-a3.c: New file.
20133 * elf/tst-order-a4.c: New file.
20134 * elf/tst-order-b1.c: New file.
20135 * elf/tst-order-b2.c: New file.
20136 * elf/tst-order-main.c: New file.
20137 New test case by George Gensure <werkt0@gmail.com>.
20138
86e92359
UD
201392010-10-01 Andreas Schwab <schwab@redhat.com>
20140
20141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20142 decoding ACE if AI_CANONIDN.
20143
5d5732b0
UD
201442011-01-18 Ulrich Drepper <drepper@gmail.com>
20145
20146 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20147
a77e8cbc
UD
201482011-01-17 Ulrich Drepper <drepper@gmail.com>
20149
6392473f
UD
20150 * version.h (RELEASE): Bump for 2.13 release.
20151 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20152
620a0529
UD
20153 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20154
18ba70a5
UD
20155 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20156 MADV_NOHUGEPAGE.
32465c3e
UD
20157 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20158 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20159 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20160 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20161 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20162 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20163
c0dafcf1
UD
20164 * posix/getconf.c: Update copyright year.
20165 * catgets/gencat.c: Likewise.
20166 * csu/version.c: Likewise.
20167 * debug/catchsegv.sh: Likewise.
20168 * debug/xtrace.sh: Likewise.
20169 * elf/ldconfig.c: Likewise.
20170 * elf/ldd.bash.in: Likewise.
20171 * elf/sprof.c (print_version): Likewise.
20172 * iconv/iconv_prog.c: Likewise.
20173 * iconv/iconvconfig.c: Likewise.
20174 * locale/programs/locale.c: Likewise.
20175 * locale/programs/localedef.c: Likewise.
20176 * malloc/memusage.sh: Likewise.
20177 * malloc/mtrace.pl: Likewise.
20178 * nscd/nscd.c (print_version): Likewise.
20179 * nss/getent.c: Likewise.
20180
a77e8cbc
UD
20181 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20182 PF_CAIF, and PF_ALG.
20183 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20184
77e8bddf
AS
201852011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20186
1f20b93a
AS
20187 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20188 (modules-names): Use them.
20189 (ifunc-test-modules, ifunc-pie-tests): Define.
20190 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20191 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20192 (test-extras): Likewise.
20193 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20194 $(compile-command.c).
20195 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20196 (all-built-dso): Define.
20197 (check-textrel.out, check-execstack.out): Depend on it.
20198
77e8bddf
AS
20199 * configure.in: Don't override --enable-multi-arch.
20200
bc425b33
UD
202012011-01-15 Ulrich Drepper <drepper@gmail.com>
20202
20203 [BZ #6812]
20204 * nscd/hstcache.c (tryagain): Define.
20205 (cache_addhst): Return tryagain not notfound for temporary errors.
20206 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20207 failed.
20208
794c3ad3
UD
202092011-01-14 Ulrich Drepper <drepper@gmail.com>
20210
70181fdd
UD
20211 [BZ #10563]
20212 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20213 to make the syscall.
20214 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20215
794c3ad3
UD
20216 [BZ #12378]
20217 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20218 and fall back to matching as normal character if the string ends before
20219 the matching ']' is found. This is what POSIX requires.
20220 * posix/testfnm.c: Adjust test result.
20221 * posix/globtest.sh: Adjust test result. Add new test.
20222 * posix/tst-fnmatch.input: Likewise.
20223 * posix/tst-fnmatch2.c: Add new test.
20224
68dc9497
AS
202252010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20226
20227 * elf/Makefile (check-execstack): Revert last change. Depend on
20228 check-execstack.h.
20229 (check-execstack.h): New target.
20230 (generated): Add check-execstack.h.
20231 * elf/check-execstack.c: Include "check-execstack.h".
20232 (main): Revert last change.
20233 (handle_file): Return zero if GNU_STACK is absent and
20234 DEFAULT_STACK_PERMS doesn't include PF_X.
20235
451f001b
UD
202362011-01-13 Ulrich Drepper <drepper@gmail.com>
20237
cfa28e56
UD
20238 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20239 in child fails because the descriptor is already closed.
8cf8ce17
UD
20240 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20241 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20242 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 20243
1086d70d
UD
20244 [BZ #12397]
20245 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20246 syscall.
20247
451f001b
UD
20248 [BZ #10484]
20249 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20250 temporary buffer used to handle multi lookups locally.
a85b5cb4 20251 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 20252
08769175
UD
202532011-01-12 Ulrich Drepper <drepper@gmail.com>
20254
20255 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20256 loader is ld.so.
20257
5e49c52e
UD
202582011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20259
20260 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20261 alignment for SSE2.
20262
60522a5f
UD
202632011-01-12 Ulrich Drepper <drepper@gmail.com>
20264
20265 [BZ #12394]
20266 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20267 characters. When rounding increased number of integer digits recompute
20268 number of groups.
20269 * stdio-common/tst-grouping.c: New file.
20270 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20271
f257bbd7
UD
202722011-01-09 Ulrich Drepper <drepper@gmail.com>
20273
20274 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20275 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20276
20277 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20278 void.
20279 * bits/select.h: Likewise.
20280
fa9c15cb
UD
202812011-01-08 Ulrich Drepper <drepper@gmail.com>
20282
20283 * po/ja.po: Update from translation team.
20284
16c2895f
DM
202852011-01-04 David S. Miller <davem@sunset.davemloft.net>
20286
20287 [BZ #11155]
20288 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20289 implementation just like for lxstat, fxstatat, et al.
20290
2543fef2
JM
202912010-12-27 Jim Meyering <meyering@redhat.com>
20292
20293 [BZ #12348]
20294 * posix/regexec.c (build_trtable): Return failure indication upon
20295 calloc failure. Otherwise, re_search_internal could infloop on OOM.
20296
98727dbe
UD
202972010-12-25 Ulrich Drepper <drepper@gmail.com>
20298
5bd6dc5c
UD
20299 [BZ #12201]
20300 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20301 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20302 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20303 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20304
97983464
UD
20305 [BZ #12207]
20306 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20307
98727dbe
UD
20308 [BZ #12204]
20309 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
20310 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
20311
4a531bb0
L
203122010-12-15 H.J. Lu <hongjiu.lu@intel.com>
20313
20314 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
20315 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
20316 script has SORT_BY_INIT_PRIORITY.
20317 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
20318 NO_CTORS_DTORS_SECTIONS is defined.
20319 * elf/soinit.c: Likewise.
20320 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
20321 NO_CTORS_DTORS_SECTIONS is defined.
20322 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
20323 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
20324 * sysdeps/sh/init-first.c: Likewise.
20325 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
20326
07eb4b71
UD
203272010-12-24 Ulrich Drepper <drepper@gmail.com>
20328
20329 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
20330 always use the slow path.
20331
30950a5f
RA
203322010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
20333
20334 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
20335 similar rule which adds the sysdep directories to the header search in
20336 order to pick up the correct platform stackinfo.h.
20337 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
20338 perform test if it is, otherwise return successfully without testing.
20339 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
20340 DEFAULT_STACK_PERMS define in stackinfo.h.
20341 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
20342 defined in stackinfo.h.
20343 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
20344 DEFAULT_STACK_PERMS defined in stackinfo.h.
20345 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
20346 * sysdeps/ia64/stackinfo.h: Likewise.
20347 * sysdeps/s390/stackinfo.h: Likewise.
20348 * sysdeps/sh/stackinfo.h: Likewise.
20349 * sysdeps/sparc/stackinfo.h: Likewise.
20350 * sysdeps/x86_64/stackinfo.h: Likewise.
20351 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
20352 PF_X for powerpc64. Retain PF_X for powerpc32.
20353
db753e2c
UD
203542010-12-19 Ulrich Drepper <drepper@gmail.com>
20355
14b697f7
UD
20356 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
20357 accurately.
db753e2c
UD
20358 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
20359 GETDENTS_64BIT_ALIGNED.
20360
28300719
UD
203612010-12-14 Ulrich Drepper <dreper@gmail.com>
20362
14b697f7 20363 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 20364
4f197237
AS
203652010-12-10 Andreas Schwab <schwab@redhat.com>
20366
dbb0472f
AS
20367 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
20368 _GNU_SOURCE.
20369
4f197237
AS
20370 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
20371 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
20372 Remove __restrict.
20373 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
20374 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
20375
fb88ac72
UD
203762010-12-09 Ulrich Drepper <drepper@gmail.com>
20377
20378 [BZ #11655]
20379 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
20380 are initialized.
20381
42acbb92
JJ
203822010-12-09 Jakub Jelinek <jakub@redhat.com>
20383
20384 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
20385
c038d98d
UD
203862010-12-03 Ulrich Drepper <drepper@gmail.com>
20387
20388 * po/it.po: Update from translation team.
20389
3a4a2499
L
203902010-12-01 H.J. Lu <hongjiu.lu@intel.com>
20391
20392 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
20393 unused codes.
20394
1e24cf6e
UD
203952010-11-30 Ulrich Drepper <drepper@gmail.com>
20396
20397 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
20398
a7690819
AS
203992010-11-24 Andreas Schwab <schwab@redhat.com>
20400
20401 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
20402 specially.
20403 (gaih_getanswer_slice): Likewise.
20404
3bf8d1b1
JJ
204052010-10-20 Jakub Jelinek <jakub@redhat.com>
20406
20407 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
20408
6db52fbb
PB
204092010-05-31 Petr Baudis <pasky@suse.cz>
20410
20411 [BZ #11149]
20412 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
20413 silently even in the chroot mode.
20414
eaca7569
UD
204152010-11-22 Ulrich Drepper <drepper@gmail.com>
20416
20417 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
20418 last patch a bit. Pretty printing
20419
3056dcdb
UD
204202010-05-31 Petr Baudis <pasky@suse.cz>
20421
20422 [BZ #10085]
20423 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
20424 initialization of skip_initgroups_dyn.
20425
cf7c9078
UD
204262010-11-19 Ulrich Drepper <drepper@gmail.com>
20427
20428 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
20429 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20430
a1fb5e3e
UD
204312010-11-16 Ulrich Drepper <drepper@gmail.com>
20432
20433 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
20434
3540d66b
AS
204352010-11-11 Andreas Schwab <schwab@redhat.com>
20436
20437 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
20438 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
20439 (tst-fnmatch-ENV): Set MALLOC_TRACE.
20440 ($(objpfx)tst-fnmatch-mem): New rule.
20441 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
20442 * posix/tst-fnmatch.c (main): Call mtrace.
20443
13b69574
L
204442010-11-11 H.J. Lu <hongjiu.lu@intel.com>
20445
20446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20447 Support Intel processor model 6 and model 0x2c.
20448
da93d214
LM
204492010-11-10 Luis Machado <luisgpm@br.ibm.com>
20450
20451 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
20452 signed comparison.
20453
8ca52c6e
L
204542010-11-09 H.J. Lu <hongjiu.lu@intel.com>
20455
20456 [BZ #12205]
20457 * string/test-strncasecmp.c (check_result): New function.
20458 (do_one_test): Use it.
20459 (check1): New function.
20460 (test_main): Use it.
20461 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
20462 Support strcasecmp and strncasecmp.
20463
69da074d
UD
204642010-11-08 Ulrich Drepper <drepper@gmail.com>
20465
20466 [BZ #12194]
20467 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
20468 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20469
ff02d528
L
204702010-11-07 H.J. Lu <hongjiu.lu@intel.com>
20471
20472 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
20473 IFUNC support.
20474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20475 memset-x86-64.
20476 * sysdeps/x86_64/multiarch/bzero.S: New file.
20477 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
20478 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
20479 * sysdeps/x86_64/multiarch/memset.S: New file.
20480 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
20481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20482 Set bit_Prefer_SSE_for_memop for Intel processors.
20483 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
20484 Define.
20485 (index_Prefer_SSE_for_memop): Define.
20486 (HAS_PREFER_SSE_FOR_MEMOP): Define.
20487
344d0b54
LM
204882010-11-04 Luis Machado <luisgpm@br.ibm.com>
20489
20490 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
20491 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
20492
c0dde15b
UD
204932010-11-03 H.J. Lu <hongjiu.lu@intel.com>
20494
20495 [BZ #12191]
20496 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20497 (__x86_64_raw_data_cache_size_half): Likewise.
20498 (__x86_64_raw_shared_cache_size): Likewise.
20499 (__x86_64_raw_shared_cache_size_half): Likewise.
20500
20501 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20502 (__x86_64_raw_data_cache_size_half): Likewise.
20503 (__x86_64_raw_shared_cache_size): Likewise.
20504 (__x86_64_raw_shared_cache_size_half): Likewise.
20505 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
20506 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
20507 and __x86_64_raw_shared_cache_size_half. Round
20508 __x86_64_data_cache_size_half, __x86_64_data_cache_size
20509 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
20510 to multiple of 256 bytes.
20511
0e516e0e
MS
205122010-11-03 Ulrich Drepper <drepper@gmail.com>
20513
20514 [BZ #12167]
20515 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
20516 of inacessible symlinks. Verify result of symlink before returning it.
20517 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20518 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
20519
0e012e87
ER
205202010-10-28 Erich Ritz <erichritz@gmail.com>
20521
20522 * math/math.h (isinf): Fix typo in comment.
20523
de0ff7bc
UD
205242010-11-01 Ulrich Drepper <drepper@gmail.com>
20525
20526 * po/da.po: Update from translation team.
20527
fa41c84d
UD
205282010-10-26 Ulrich Drepper <drepper@gmail.com>
20529
20530 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
20531 is added to the list.
20532
f0967738
AK
205332010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20534 Ulrich Drepper <drepper@gmail.com>
20535
20536 * elf/dl-object.c (_dl_new_object): Don't append the new object to
20537 the global list here. Move code to...
20538 (_dl_add_to_namespace_list): ...here. New function.
20539 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
20540 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
20541 * elf/dl-load.c (lose): Don't remove the element from the list.
20542 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
20543 (_dl_map_object): Likewise.
20544
205452010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
20546
20547 [BZ #12159]
20548 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
20549 into all bytes of SSE register.
20550 Patch by Richard Li <richardpku@gmail.com>.
20551
f0967738 205522010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
20553
20554 [BZ #12140]
20555 * malloc/malloc.c (_int_free): Fill correct number of bytes when
20556 perturbing.
20557
d0b9e94f
MB
205582010-10-20 Michael B. Brutman <brutman@us.ibm.com>
20559
20560 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
20561 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
20562 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
20563 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
20565 submachine.
20566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
20567
8e9f92e9
AS
205682010-10-22 Andreas Schwab <schwab@redhat.com>
20569
20570 * include/dlfcn.h (__RTLD_SECURE): Define.
20571 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
20572 mode & __RTLD_SECURE instead.
20573 (open_path): Rename preloaded parameter to secure.
20574 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
20575 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
20576 * elf/dl-deps.c (openaux): Likewise.
20577 * elf/rtld.c (struct map_args): Remove is_preloaded.
20578 (map_doit): Don't use it.
20579 (dl_main): Likewise.
20580 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
20581 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
20582
bc96fbda
AS
205832010-09-09 Andreas Schwab <schwab@redhat.com>
20584
20585 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
20586 (sysd-rules-targets): Remove duplicates.
20587 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
20588 rtld-%.$o dependency.
20589
22cd1c9b
AS
205902010-10-18 Andreas Schwab <schwab@redhat.com>
20591
20592 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
20593 _dl_map_object do it.
20594
18edac48
UD
205952010-10-19 Ulrich Drepper <drepper@gmail.com>
20596
20597 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
20598 fast fma builtins, define the macros in the C99 standard.
20599 (FP_FAST_FMAF): Likewise.
20600 (FP_FAST_FMAL): Likewise.
20601 * sysdeps/x86_64/bits/mathdef.h: Likewise.
20602
20603 * bits/mathdef.h: Update copyright year.
20604 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20605
d2050124
MM
206062010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
20607
20608 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
20609 builtins, define the macros in the C99 standard.
20610 (FP_FAST_FMAF): Likewise.
20611 (FP_FAST_FMAL): Likewise.
20612 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
20613 multiply/add.
20614 (FP_FAST_FMAF): Likewise.
20615
475facd1
JJ
206162010-10-15 Jakub Jelinek <jakub@redhat.com>
20617
20618 [BZ #3268]
20619 * math/libm-test.inc (fma_test): Some new testcases.
20620 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
20621 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
20622 y and infinite z. Do multiplication by C already in long double.
20623 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
20624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
20625 y and infinite z. Do bitwise or of inexact bit into u.d.
20626 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
20627 * sysdeps/i386/fpu/s_fmaf.S: Removed.
20628 * sysdeps/i386/fpu/s_fma.S: Removed.
20629 * sysdeps/i386/fpu/s_fmal.S: Removed.
20630
7c08a05c
JJ
206312010-10-16 Jakub Jelinek <jakub@redhat.com>
20632
20633 [BZ #3268]
20634 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
20635 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
20636 computation is not scheduled after fetestexcept. Fix value
20637 of minimum denormal long double.
20638
f3f7372d
JJ
206392010-10-14 Jakub Jelinek <jakub@redhat.com>
20640
20641 [BZ #3268]
20642 * math/libm-test.inc (fma_test): Add some more tests.
20643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
20644 correctly.
20645
14d43591
AS
206462010-10-15 Andreas Schwab <schwab@redhat.com>
20647
20648 * scripts/data/localplt-s390-linux-gnu.data: New file.
20649 * scripts/data/localplt-s390x-linux-gnu.data: New file.
20650
5e908464
JJ
206512010-10-13 Jakub Jelinek <jakub@redhat.com>
20652
20653 [BZ #3268]
20654 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
20655 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
20656 instead of dbl-64.
20657 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
20658 inlines.
20659 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
20660 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
20661 if one of x and y is very large and the other is subnormal.
20662 * sysdeps/s390/fpu/s_fmaf.c: New file.
20663 * sysdeps/s390/fpu/s_fma.c: New file.
20664 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
20665 * sysdeps/powerpc/fpu/s_fma.S: New file.
20666 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
20667 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
20668 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
20669
206702010-10-12 Jakub Jelinek <jakub@redhat.com>
20671
20672 [BZ #3268]
20673 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
20674 fma tests.
20675 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
20676 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20677 * sysdeps/i386/i686/multiarch/s_fma.c: Include
20678 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20679 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20680 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20681 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20682
b833d51f
UD
206832010-10-12 Ulrich Drepper <drepper@redhat.com>
20684
20685 [BZ #12078]
20686 * posix/regcomp.c (parse_branch): One more memory leak plugged.
20687 * posix/bug-regex31.input: Add test case.
20688
1751705d
UD
206892010-10-11 Ulrich Drepper <drepper@gmail.com>
20690
e9b9cbf5
UD
20691 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20692 * posix/bug-regex31.input: New file.
20693
20694 [BZ #12078]
20695 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20696 (parse_sub_exp): Fix last change, use postorder.
20697
ef06edbe
UD
20698 * posix/bug-regex31.c: New file.
20699 * posix/Makefile: Add rules to build and run bug-regex31.
20700
a129c80d
UD
20701 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20702
20703 [BZ #12078]
20704 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20705
b76b818e
UD
20706 [BZ #12108]
20707 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20708 to have entries in sys_siglist.
20709
1751705d
UD
20710 [BZ #12093]
20711 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20712 be NULL.
20713
9ff8d36f
JJ
207142010-10-07 Jakub Jelinek <jakub@redhat.com>
20715
20716 [BZ #3268]
20717 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20718 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20719 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20720 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20721 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20722 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20723 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20724 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20725 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20726 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20727 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20728 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20729 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20730 * math/ftestexcept.c (fetestexcept): Likewise.
20731 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20732 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20733 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20734 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20735 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20736 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20737 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20738
af325969
UD
207392010-10-11 Ulrich Drepper <drepper@gmail.com>
20740
c579b202 20741 [BZ #12107]
af325969
UD
20742 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20743 newline.
20744
67a67b95
UD
207452010-10-06 Ulrich Drepper <drepper@gmail.com>
20746
20747 * string/bug-strstr1.c: New file.
20748 * string/Makefile: Add rules to build and run bug-strstr1.
20749
5fb308bc
EB
207502010-10-05 Eric Blake <eblake@redhat.com>
20751
20752 [BZ #12092]
20753 * string/str-two-way.h (two_way_long_needle): Always clear memory
20754 when skipping input due to the shift table.
20755
45db99c7
UD
207562010-10-03 Ulrich Drepper <drepper@gmail.com>
20757
3b111893
UD
20758 [BZ #12005]
20759 * malloc/mcheck.c: Handle large requests.
20760
45db99c7
UD
20761 [BZ #12077]
20762 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20763 for strncmp and strncasecmp.
20764 * string/stratcliff.c: Add tests for strcmp and strncmp.
20765 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20766
cf7a1eb8
NI
207672010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20768
20769 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20770 __set_fpscr.
20771
6484ba5e
AJ
207722010-09-30 Andreas Jaeger <aj@suse.de>
20773
20774 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20775 (CGROUP_SUPER_MAGIC): Define.
20776 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20777 Handle btrfs and cgroup file systems.
20778 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20779 Likewise.
20780
91c42559
LM
207812010-09-27 Luis Machado <luisgpm@br.ibm.com>
20782
20783 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20784 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20785
87a97932
AK
207862010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20787
20788 [BZ #12067]
20789 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20790 trying to locate the ELF header.
20791
c21cc9bc
AS
207922010-09-27 Andreas Schwab <schwab@redhat.com>
20793
20794 [BZ #11611]
20795 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20796 Mask out sign-bit copies when constructing f_fsid.
20797
315970f6
PB
207982010-09-24 Petr Baudis <pasky@suse.cz>
20799
20800 * debug/stack_chk_fail_local.c: Add missing licence exception.
20801 * debug/warning-nop.c: Likewise.
20802
1ac7a2c7
JM
208032010-09-15 Joseph Myers <joseph@codesourcery.com>
20804
20805 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20806 implementing getdents64 using getdents syscall, set d_type if
20807 __ASSUME_GETDENTS32_D_TYPE.
20808
56801c50
AS
208092010-09-16 Andreas Schwab <schwab@redhat.com>
20810
20811 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20812 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20813
dda51327
UD
208142010-09-21 Ulrich Drepper <drepper@redhat.com>
20815
20816 [BZ #12037]
20817 * posix/unistd.h: Undo change of feature selection for ftruncate from
20818 2010-01-11.
20819
8ffcee4a
UD
208202010-09-20 Ulrich Drepper <drepper@redhat.com>
20821
a545ecd9 20822 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
20823 detection.
20824
e24f0a8b
AS
208252010-09-20 Andreas Schwab <schwab@redhat.com>
20826
20827 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20828 fanotify_mark.
20829 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20830
7291c56f
AS
208312010-09-14 Andreas Schwab <schwab@redhat.com>
20832
20833 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20834 variables after CHECK_SP call.
20835 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20836
bc5fb037
AS
208372010-09-13 Andreas Schwab <schwab@redhat.com>
20838 Ulrich Drepper <drepper@redhat.com>
20839
20840 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20841 re-relocationg ld.so.
20842 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20843 _dl_init_paths call.
20844 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20845 here anymore.
20846
e66e7419
UD
208472010-09-14 Ulrich Drepper <drepper@redhat.com>
20848
20849 * resolv/res_init.c (__res_vinit): Count the default server we added.
20850
c044aa75
CLT
208512010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20852 Ulrich Drepper <drepper@redhat.com>
20853
20854 [BZ #11968]
20855 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20856 (____longjmp_chk): Use %ebx for saving value across system call.
20857 Add unwind info.
20858
32cf4069
AS
208592010-09-06 Andreas Schwab <schwab@redhat.com>
20860
20861 * manual/Makefile: Don't mix pattern rules with normal rules.
20862
817328ee
AS
208632010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20864
20865 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20866 operation.
20867 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20868 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20869 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20870 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20871 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20872 Likewise.
20873
29fddf61
UD
208742010-09-04 Ulrich Drepper <drepper@redhat.com>
20875
20876 [BZ #11979]
20877 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20878 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20879
0959ffc9
UD
208802010-09-02 Ulrich Drepper <drepper@redhat.com>
20881
20882 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20883 * sysdeps/x86_64/addmul_1.S: Likewise.
20884 * sysdeps/x86_64/lshift.S: Likewise.
20885 * sysdeps/x86_64/mul_1.S: Likewise.
20886 * sysdeps/x86_64/rshift.S: Likewise.
20887 * sysdeps/x86_64/sub_n.S: Likewise.
20888 * sysdeps/x86_64/submul_1.S: Likewise.
20889
ece29840
ST
208902010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20891
0959ffc9
UD
20892 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20893 Define __sched_param instead of SCHED_* and sched_param when
ece29840 20894 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 20895 * bits/sched.h [__need_schedparam]
ece29840 20896 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
20897 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20898 (__defined_schedparam): Define to 1.
ece29840
ST
20899 (__sched_param): New structure, identical to sched_param.
20900 (__need_schedparam): Undefine.
20901
e53a31fe
MF
209022010-08-31 Mike Frysinger <vapier@gentoo.org>
20903
fdc0c10d
MF
20904 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20905 (epoll_create1): Declare.
20906
e53a31fe
MF
20907 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20908
a726d796
AS
209092010-08-31 Andreas Schwab <schwab@redhat.com>
20910
20911 [BZ #7066]
20912 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20913 shifting retval into place.
20914
2f3e3dc7
UD
209152010-09-01 Ulrich Drepper <drepper@redhat.com>
20916
f2933da9
UD
20917 * nis/rpcsvc/nis.h: Update copyright notice.
20918 * nis/rpcsvc/nis.x: Likewise.
20919 * nis/rpcsvc/nis_callback.h: Likewise.
20920 * nis/rpcsvc/nis_callback.x: Likewise.
20921 * nis/rpcsvc/nis_object.x: Likewise.
20922 * nis/rpcsvc/nis_tags.h: Likewise.
20923 * nis/rpcsvc/yp.h: Likewise.
20924 * nis/rpcsvc/yp.x: Likewise.
20925 * nis/rpcsvc/ypupd.h: Likewise.
20926 * nis/yp_xdr.c: Likewise.
20927 * nis/ypupdate_xdr.c: Likewise.
20928
2f3e3dc7
UD
20929 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20930 mainly the body of pmap_getport. Add parameters to specify timeouts.
20931 (pmap_getport): Use __libc_rpc_getport.
20932 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20933 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20934 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20935
f3dcc2f9
AS
209362010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20937
20938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20939 fanotify_mark.
20940
6d34eb5b
RM
209412010-08-27 Roland McGrath <roland@redhat.com>
20942
20943 * sysdeps/i386/i686/multiarch/Makefile
20944 (CFLAGS-varshift.c): New variable.
20945
9ea3de11
UD
209462010-08-27 Ulrich Drepper <drepper@redhat.com>
20947
c96d23fc
UD
20948 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20949 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20950
9ea3de11
UD
20951 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20952
20953 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20954
623aac7f
L
209552010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20956
20957 * sysdeps/x86_64/strlen.S: Unroll the loop.
20958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20959 strlen-sse2 strlen-sse2-bsf.
20960 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20961 __strlen_no_bsf if bit_Slow_BSF is set.
20962 (__strlen_sse42): Removed.
20963 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20964 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20965
8b2b7715
RM
209662010-08-25 Roland McGrath <roland@redhat.com>
20967
20968 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20969 * sysdeps/x86_64/multiarch/varshift.c: New file.
20970 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20971 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20972 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20973 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20974
e73015f2
L
209752010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20976
20977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20978 strlen-sse2 strlen-sse2-bsf.
20979 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20980 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20981 (__strlen_sse2): Removed.
20982 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20983 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20985 bit_Slow_BSF for Atom.
20986 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20987 (index_Slow_BSF): Define.
20988 (HAS_SLOW_BSF): Define.
20989
df24a73e
UD
209902010-08-25 Ulrich Drepper <drepper@redhat.com>
20991
20992 [BZ #10851]
20993 * resolv/res_init.c (__res_vinit): When no server address at all
20994 is given default to loopback.
20995
f2ac4868
RM
209962010-08-24 Roland McGrath <roland@redhat.com>
20997
09055553
RM
20998 * configure.in: Remove config-name.h generation.
20999 * configure: Regenerated.
21000 * config-name.in: File removed.
21001 * scripts/config-uname.sh: New file.
21002 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21003 ($(objdir)config-name.h): New target.
21004
f2ac4868
RM
21005 * sunrpc/rpc_parse.h: Avoid nested comment.
21006
73f27d5e
RH
210072010-08-24 Richard Henderson <rth@redhat.com>
21008 Ulrich Drepper <drepper@redhat.com>
21009 H.J. Lu <hongjiu.lu@intel.com>
21010
21011 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21012 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21013 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21014 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21015 _mm_alignr_epi8 with _mm_loadu_si128.
21016 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21017 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21018 (__m128i_shift_right): Removed.
21019 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21020 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21021 * sysdeps/x86_64/multiarch/varshift.h: New file.
21022 * sysdeps/x86_64/multiarch/varshift.S: New file.
21023
84b9230c
MF
210242010-08-21 Mike Frysinger <vapier@gentoo.org>
21025
21026 * configure.in: Move assembler checks to before sysdep dir checking.
21027
9bbd0ddc
PB
210282010-08-20 Petr Baudis <pasky@suse.cz>
21029
21030 * LICENSES: Sync the sunrpc license.
21031
9da4bb31
UD
210322010-08-19 Ulrich Drepper <drepper@redhat.com>
21033
a7ab6ec8
UD
21034 * sunrpc/auth_des.c: Update copyright notice once again.
21035 * sunrpc/auth_none.c: Likewise.
21036 * sunrpc/auth_unix.c: Likewise.
21037 * sunrpc/authdes_prot.c: Likewise.
21038 * sunrpc/authuxprot.c: Likewise.
21039 * sunrpc/bindrsvprt.c: Likewise.
21040 * sunrpc/clnt_gen.c: Likewise.
21041 * sunrpc/clnt_perr.c: Likewise.
21042 * sunrpc/clnt_raw.c: Likewise.
21043 * sunrpc/clnt_simp.c: Likewise.
21044 * sunrpc/clnt_tcp.c: Likewise.
21045 * sunrpc/clnt_udp.c: Likewise.
21046 * sunrpc/clnt_unix.c: Likewise.
21047 * sunrpc/des_crypt.c: Likewise.
21048 * sunrpc/des_soft.c: Likewise.
21049 * sunrpc/get_myaddr.c: Likewise.
21050 * sunrpc/getrpcport.c: Likewise.
21051 * sunrpc/key_call.c: Likewise.
21052 * sunrpc/key_prot.c: Likewise.
21053 * sunrpc/openchild.c: Likewise.
21054 * sunrpc/pm_getmaps.c: Likewise.
21055 * sunrpc/pm_getport.c: Likewise.
21056 * sunrpc/pmap_clnt.c: Likewise.
21057 * sunrpc/pmap_prot.c: Likewise.
21058 * sunrpc/pmap_prot2.c: Likewise.
21059 * sunrpc/pmap_rmt.c: Likewise.
21060 * sunrpc/rpc/auth.h: Likewise.
21061 * sunrpc/rpc/auth_unix.h: Likewise.
21062 * sunrpc/rpc/clnt.h: Likewise.
21063 * sunrpc/rpc/des_crypt.h: Likewise.
21064 * sunrpc/rpc/key_prot.h: Likewise.
21065 * sunrpc/rpc/netdb.h: Likewise.
21066 * sunrpc/rpc/pmap_clnt.h: Likewise.
21067 * sunrpc/rpc/pmap_prot.h: Likewise.
21068 * sunrpc/rpc/pmap_rmt.h: Likewise.
21069 * sunrpc/rpc/rpc.h: Likewise.
21070 * sunrpc/rpc/rpc_des.h: Likewise.
21071 * sunrpc/rpc/rpc_msg.h: Likewise.
21072 * sunrpc/rpc/svc.h: Likewise.
21073 * sunrpc/rpc/svc_auth.h: Likewise.
21074 * sunrpc/rpc/types.h: Likewise.
21075 * sunrpc/rpc/xdr.h: Likewise.
21076 * sunrpc/rpc_clntout.c: Likewise.
21077 * sunrpc/rpc_cmsg.c: Likewise.
21078 * sunrpc/rpc_common.c: Likewise.
21079 * sunrpc/rpc_cout.c: Likewise.
21080 * sunrpc/rpc_dtable.c: Likewise.
21081 * sunrpc/rpc_hout.c: Likewise.
21082 * sunrpc/rpc_main.c: Likewise.
21083 * sunrpc/rpc_parse.c: Likewise.
21084 * sunrpc/rpc_parse.h: Likewise.
21085 * sunrpc/rpc_prot.c: Likewise.
21086 * sunrpc/rpc_sample.c: Likewise.
21087 * sunrpc/rpc_scan.c: Likewise.
21088 * sunrpc/rpc_scan.h: Likewise.
21089 * sunrpc/rpc_svcout.c: Likewise.
21090 * sunrpc/rpc_tblout.c: Likewise.
21091 * sunrpc/rpc_util.c: Likewise.
21092 * sunrpc/rpc_util.h: Likewise.
21093 * sunrpc/rpcinfo.c: Likewise.
21094 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21095 * sunrpc/rpcsvc/key_prot.x: Likewise.
21096 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21097 * sunrpc/rpcsvc/mount.x: Likewise.
21098 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21099 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21100 * sunrpc/rpcsvc/rex.x: Likewise.
21101 * sunrpc/rpcsvc/rstat.x: Likewise.
21102 * sunrpc/rpcsvc/rusers.x: Likewise.
21103 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21104 * sunrpc/rpcsvc/spray.x: Likewise.
21105 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21106 * sunrpc/rtime.c: Likewise.
21107 * sunrpc/svc.c: Likewise.
21108 * sunrpc/svc_auth.c: Likewise.
21109 * sunrpc/svc_authux.c: Likewise.
21110 * sunrpc/svc_raw.c: Likewise.
21111 * sunrpc/svc_run.c: Likewise.
21112 * sunrpc/svc_simple.c: Likewise.
21113 * sunrpc/svc_tcp.c: Likewise.
21114 * sunrpc/svc_udp.c: Likewise.
21115 * sunrpc/svc_unix.c: Likewise.
21116 * sunrpc/svcauth_des.c: Likewise.
21117 * sunrpc/xcrypt.c: Likewise.
21118 * sunrpc/xdr.c: Likewise.
21119 * sunrpc/xdr_array.c: Likewise.
21120 * sunrpc/xdr_float.c: Likewise.
21121 * sunrpc/xdr_mem.c: Likewise.
21122 * sunrpc/xdr_rec.c: Likewise.
21123 * sunrpc/xdr_ref.c: Likewise.
21124 * sunrpc/xdr_sizeof.c: Likewise.
21125 * sunrpc/xdr_stdio.c: Likewise.
21126
9da4bb31
UD
21127 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21128 handling.
21129
bdaa77bc
AS
211302010-08-19 Andreas Schwab <schwab@redhat.com>
21131
21132 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21133
fe2f79db
LM
211342010-08-19 Luis Machado <luisgpm@br.ibm.com>
21135
21136 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21137 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21138 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21139 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21140 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21141 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21142 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21143 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21144 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21145 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21146 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21147 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21148 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21149 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21150
b9b42ee0
AB
211512010-07-26 Anton Blanchard <anton@samba.org>
21152
21153 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21154 * malloc/arena.c (heap_trim): Likewise.
21155
1c06ba31
UD
211562010-08-16 Ulrich Drepper <drepper@redhat.com>
21157
21158 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21159 here. Not...
21160 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21161 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21162
f8392f40
L
211632010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21164
21165 * sysdeps/i386/elf/Makefile: New file.
21166
3162f12e
AS
211672010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21168
21169 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21170 from fanotify_init.
21171 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21172 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21173
28c90b2c
UD
211742010-08-15 Ulrich Drepper <drepper@redhat.com>
21175
21176 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21177 of strncasecmp_l.
1feccb6c 21178 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 21179
ca6bb004
UD
211802010-08-14 Ulrich Drepper <drepper@redhat.com>
21181
e9f82e0d
UD
21182 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21183 strncase_l-nonascii.
21184 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21185 Add strncase_l-ssse3.
21186 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21187 * sysdeps/x86_64/strcmp.S: Likewise.
21188 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21189 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21190 * sysdeps/x86_64/strncase.S: New file.
21191 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21192 * sysdeps/x86_64/strncase_l.S: New file.
21193 * string/Makefile (strop-tests): Add strncasecmp.
21194 * string/test-strncasecmp.c: New file.
21195
21196 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21197 warning.
21198
ca6bb004
UD
21199 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21200 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21201
052fa7b3
AS
212022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21203
21204 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21205
962dba78
UD
212062010-08-12 Ulrich Drepper <drepper@redhat.com>
21207
21208 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21209 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21210 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21211
bebff237
AM
212122010-05-01 Alan Modra <amodra@gmail.com>
21213
21214 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21215 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21216 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21217 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21218 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21219 tidying. Don't tail-call __sigjmp_save for static lib.
21220 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21221 save location.
21222 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21223 (CALL_MCOUNT): Add eh info, and nop after bl.
21224 (TAIL_CALL_SYSCALL_ERROR): New macro.
21225 (PSEUDO_RET): Use it.
21226 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21227 Correct save location of integer regs and cr.
21228 (_dl_profile_resolve): Correct cr save location. Delete nops
21229 after bl when SHARED. Reduce cfi size a little by better
21230 placement of cfi directives.
21231 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21232 make a stack frame. Instead use parm save area as a temp.
21233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21234 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21236 Don't make a stack frame for parent, use parm save area.
21237 Increase child stack frame to 112 bytes. Don't save unused reg,
21238 and adjust reg usage. Set up cfi on error recovery and
21239 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21241 (__makecontext): Add dummy nop after jump to exit.
21242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21243 Use correct parm save area and cr save, reduce stack frame.
21244 Correct cfi for possible PSEUDO_RET frame setup.
21245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21246 Branch to local label emitted by PSEUDO_RET rather than
21247 __syscall_error.
21248
02637374
AS
212492010-08-12 Andreas Schwab <schwab@redhat.com>
21250
21251 [BZ #11904]
21252 * locale/programs/locale.c (print_assignment): New function.
21253 (show_locale_vars): Use it.
21254
c3e2f19b
UD
212552010-08-11 Ulrich Drepper <drepper@redhat.com>
21256
3cdaa6ad
UD
21257 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21258 field.
21259 (struct statfs64): Likewise.
21260 (_STATFS_F_FLAGS): Define.
21261 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21262 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21263 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21264 (ST_VALID): Define locally.
21265 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21266 __statvfs_getflags, use the provided value.
21267 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21268 __ASSUME_STATFS_F_FLAGS.
21269
754f7da3
UD
21270 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21271
10b3bedc
UD
21272 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21273 Add sys/fanotify.h.
21274 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21275 fanotify_mask for GLIBC_2.13.
21276 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21277 fanotify_init and fanotify_mark.
21278 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21279 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21280
c08fb0d7
UD
21281 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21282 Add prlimit.
21283 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21284 prlimit64 for GLIBC_2.13.
21285 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21286 prlimit64.
21287 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21288 syscall.
21289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21290 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21291 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21292 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21293 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
21294 add prlimit alias.
21295 * sysdeps/unix/sysv/linux/prlimit.c: New file.
21296
15bac72b
UD
21297 [BZ #11903]
21298 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21299 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21300
c3e2f19b
UD
21301 * nss/Makefile: Add rules to build and run tst-nss-test1.
21302 * shlib-versions: Add entry for libnss_test1.
21303 * nss/nss_test1.c: New file.
21304 * nss/tst-nss-test1.c: New file.
21305
21306 * nss/nsswitch.c (__nss_database_custom): Define new variable.
21307 (__nss_configure_lookup): Set appropriate entry in
21308 __nss_configure_lookup to true.
21309 * nss/nsswitch.h: Define enum with indeces of databases in
21310 databases and __nss_database_custom arrays. Declare
21311 __nss_database_custom.
21312 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
21313 to avoid using nscd when custom rules are installed.
21314 * nss/getXXbyYY_r.c: Likewise.
21315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21316
21317 * nss/nss_files/files-parse.c: Whitespace fixes.
21318
f15ce4d8
UD
213192010-08-09 Ulrich Drepper <drepper@redhat.com>
21320
21321 [BZ #11883]
21322 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
21323 * posix/fnmatch_loop.c: Likewise.
21324
d22e4cc9
AK
213252010-07-17 Andi Kleen <ak@linux.intel.com>
21326
21327 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
21328 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
21329 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
21330 * Versions.def [GLIBC_2.13]: Add.
21331
805bc17d
UD
213322010-08-06 Ulrich Drepper <drepper@redhat.com>
21333
21334 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21335 Also fail if tpwd after pwuid call is NULL.
21336
5a42321d
ST
213372010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
21338
21339 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
21340 when converting to ms.
21341
fd3ebeda
ST
213422010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21343
21344 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
21345 EOPNOTSUPP errors with ENOTTY.
21346 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
21347 EOPNOTSUPP errors with ENOTTY.
21348
73507d3a
UD
213492010-07-31 Ulrich Drepper <drepper@redhat.com>
21350
21351 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21352 Add strcasecmp_l-ssse3.
21353 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
21354 strcasecmp.
21355 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
21356 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
21357 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
21358
fe36dd02
UD
213592010-07-30 Ulrich Drepper <drepper@redhat.com>
21360
66f6765a
UD
21361 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
21362
42e08a54
UD
21363 * string/Makefile (strop-tests): Add strcasecmp.
21364 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21365 strcasecmp_l-nonascii.
21366 (gen-as-const-headers): Add locale-defines.sym.
21367 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
21368 * sysdeps/x86_64/strcasecmp.S: New file.
21369 * sysdeps/x86_64/strcasecmp_l.S: New file.
21370 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
21371 * sysdeps/x86_64/locale-defines.sym: New file.
21372 * string/test-strcasecmp.c: New file.
21373
fe36dd02
UD
21374 * string/test-strcasestr.c: Test both ends of the range of characters.
21375 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
21376
48cbc0d6
RM
213772010-07-29 Roland McGrath <roland@redhat.com>
21378
76e6d6bc 21379 [BZ #11856]
48cbc0d6
RM
21380 * manual/locale.texi (Yes-or-No Questions): Fix example code.
21381
880113d9
UD
213822010-07-27 Ulrich Drepper <drepper@redhat.com>
21383
21384 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
21385 for ld.so.
21386
deb9cabb
AS
213872010-07-27 Andreas Schwab <schwab@redhat.com>
21388
21389 * manual/memory.texi (Malloc Tunable Parameters): Document
21390 M_PERTURB.
21391
1c7570ff
RM
213922010-07-26 Roland McGrath <roland@redhat.com>
21393
21394 [BZ #11840]
21395 * configure.in (-fgnu89-inline check): Set and substitute
21396 gnu89_inline, not libc_cv_gnu89_inline.
21397 * configure: Regenerated.
21398 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
21399
24fb0f88
UD
214002010-07-26 Ulrich Drepper <drepper@redhat.com>
21401
21402 * string/test-strnlen.c: New file.
21403 * string/Makefile (strop-tests): Add strnlen.
21404 * string/tester.c (test_strnlen): Add a few more test cases.
21405 * string/tst-strlen.c: Better error reporting.
21406
21407 * sysdeps/x86_64/strnlen.S: New file.
21408
8e96b93a
UD
214092010-07-24 Ulrich Drepper <drepper@redhat.com>
21410
21411 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
21412 lower-latency instructions.
21413
dbc676d4
UD
214142010-07-23 Ulrich Drepper <drepper@redhat.com>
21415
21416 * string/test-strcasestr.c: New file.
21417 * string/test-strstr.c: New file.
21418 * string/Makefile (strop-tests): Add strstr and strcasestr.
21419 * string/str-two-way.h: Don't undefine MAX.
21420 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
21421
f6a31e0e
AS
214222010-07-21 Andreas Schwab <schwab@redhat.com>
21423
21424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21425 strcasestr-nonascii.
21426 (CFLAGS-strcasestr-nonascii.c): Define.
21427 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
21428 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
21429 Remove unused attribute.
21430
5dbc3b6c
RM
214312010-07-20 Roland McGrath <roland@redhat.com>
21432
21433 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
21434 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
21435 ld.so.cache was broken. With it, there is no way to disable dsocaps
21436 like LD_HWCAP_MASK can disable hwcaps.
21437
23d101d8
EPM
214382010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21439
21440 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
21441
cc9f2e47
UD
214422010-07-16 Ulrich Drepper <drepper@redhat.com>
21443
21444 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
21445 call in strcasestr.
21446 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
21447 __strcasestr_sse42_nonascii.
21448 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
21449 strcasestr-nonascii.c.
21450 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
21451
77c1b069
LM
214522010-06-15 Luis Machado <luisgpm@br.ibm.com>
21453
21454 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
21455 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
21456 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
21457 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
21458
440566c3
UD
214592010-07-09 Ulrich Drepper <drepper@redhat.com>
21460
21461 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
21462 fcntl.
21463
5be9d05d
AS
214642010-07-06 Andreas Schwab <schwab@redhat.com>
21465
c30b7ee2 21466 [BZ #11577]
5be9d05d
AS
21467 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
21468 dl_signal_cerror.
21469
8a492a67
UD
214702010-07-06 Ulrich Drepper <drepper@redhat.com>
21471
21472 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
21473 _PC_PIPE_BUF using F_GETPIPE_SZ.
21474
713df3d5
RM
214752010-07-05 Roland McGrath <roland@redhat.com>
21476
21477 * manual/arith.texi (Rounding Functions): Fix rint description
21478 implicit in round description.
21479
702e8f14
UD
214802010-07-02 Ulrich Drepper <drepper@redhat.com>
21481
21482 * elf/Makefile: Fix linking for a few tests to make recent linker
21483 happy.
21484
52ed8be9
AS
214852010-06-30 Andreas Schwab <schwab@redhat.com>
21486
21487 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21488 $(common-objpfx)libc_nonshared.a.
21489
f47c9a11
LM
214902010-06-21 Luis Machado <luisgpm@br.ibm.com>
21491
21492 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
21493 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
21494 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21495 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21496 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
21497 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
21498 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21499 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
21501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
21502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
21503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
21505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
21507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
21508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
21509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
21510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
21512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
21514 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
21515 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
21516 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
21517 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
21518 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
21519 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
21520 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
21521 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
21522 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
21523 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
21524 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
21525 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
21526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
21527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
21528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
21529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
21530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
21531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
21532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
21533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
21534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
21535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
21536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
21537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
21538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
21539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
21540
6fb8cbcb
L
215412010-06-25 H.J. Lu <hongjiu.lu@intel.com>
21542
21543 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
21544 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
21545 * string/memmove.c (memmove): Renamed to ...
21546 (MEMMOVE): ...this. Default to memmove.
21547 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
21548 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
21549 (END_CHK): Define.
21550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21551 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
21552 mempcpy-ssse3-back memmove-ssse3-back.
21553 * sysdeps/x86_64/multiarch/bcopy.S: New file .
21554 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
21555 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
21556 * sysdeps/x86_64/multiarch/memcpy.S: New file.
21557 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
21558 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
21559 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
21560 * sysdeps/x86_64/multiarch/memmove.c: New file.
21561 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
21562 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
21563 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
21564 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
21565 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
21566 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
21567 Define.
21568 (index_Fast_Copy_Backward): Define.
21569 (HAS_ARCH_FEATURE): Define.
21570 (HAS_FAST_REP_STRING): Define.
21571 (HAS_FAST_COPY_BACKWARD): Define.
21572
4e733bac 215732010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
21574
21575 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21576 Restore proper fallback handling.
21577
63c4ed22
UD
215782010-06-19 Ulrich Drepper <drepper@redhat.com>
21579
ac2b484c
UD
21580 [BZ #11701]
21581 * posix/group_member.c (__group_member): Correct checking loop.
21582
63c4ed22
UD
21583 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
21584 OOM in getpwuid_r correctly. Return error number when the caller
21585 should return, otherwise -1.
21586 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
21587 call returning > 0 value.
21588 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
21589
765ade4b
AS
215902010-06-07 Andreas Schwab <schwab@redhat.com>
21591
21592 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
21593 libc_nonshared.a from targets in modules-names.
21594
80da2e09
KS
215952010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
21596
21597 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
21598 requires it.
21599
158db122
LM
216002010-06-10 Luis Machado <luisgpm@br.ibm.com>
21601
21602 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
21603 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
21604 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
21605 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
21606
caa78cf8
AS
216072010-06-02 Andreas Schwab <schwab@redhat.com>
21608
21609 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
21610
b2ef2c01
UD
216112010-06-14 Ulrich Drepper <drepper@redhat.com>
21612
21613 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
21614 and F_GETPIPE_SZ.
21615 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21616 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21617 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21618 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21619 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21620 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
21621
fbd643b6
RM
216222010-06-14 Roland McGrath <roland@redhat.com>
21623
21624 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
21625
f32f2869
JJ
216262010-06-07 Jakub Jelinek <jakub@redhat.com>
21627
21628 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
21629 __REDIRECT followed by __THROW.
21630 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
21631 * posix/getopt.h (getopt): Likewise.
21632
2a50c078
EPM
216332010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21634
21635 * hurd/lookup-at.c (__file_name_lookup_at): Accept
21636 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
21637 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
21638 in AT_FLAGS.
21639 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
21640 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
21641
eb5ad2eb
LM
216422010-05-28 Luis Machado <luisgpm@br.ibm.com>
21643
21644 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
21645
3c88fe1e
L
216462010-05-26 H.J. Lu <hongjiu.lu@intel.com>
21647
21648 [BZ #11640]
21649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21650 Properly check family and model.
21651
d2f73151
TY
216522010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
21653
21654 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
21655
ebd2e13d
LM
216562010-05-24 Luis Machado <luisgpm@br.ibm.com>
21657
21658 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
21659
b32b8b45
UD
216602010-05-21 Ulrich Drepper <drepper@redhat.com>
21661
21662 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
21663 symbol reference.
21664
9acbe24d
AS
216652010-05-19 Andreas Schwab <schwab@redhat.com>
21666
21667 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
21668 symbol reference.
21669
f0ccf6ea
AS
216702010-05-21 Andreas Schwab <schwab@redhat.com>
21671
3d04ff3a
AS
21672 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
21673 and internal_recvmmsg.
21674 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
21675 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
21676 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21677 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21678
f0ccf6ea
AS
21679 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21680 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21681 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21682
5b08ac57
AS
216832010-05-20 Andreas Schwab <schwab@redhat.com>
21684
21685 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21686
4828935d
LM
216872010-05-17 Luis Machado <luisgpm@br.ibm.com>
21688
21689 POWER7 optimizations.
21690 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21691 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21692
373d545e
UD
216932010-05-19 Ulrich Drepper <drepper@redhat.com>
21694
21695 * version.h: Update for 2.13 development version.
21696
21a2b1ae
AS
216972010-05-12 Andrew Stubbs <ams@codesourcery.com>
21698
21699 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21700 exceptions. Return 0.
21701
3f7dcb2b
RM
217022010-05-07 Roland McGrath <roland@redhat.com>
21703
21704 * elf/ldconfig.c (main): Add a const.
21705
5f24d53a 217062010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 21707
a160f8d8
UD
21708 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21709 (args_options): Add no-idn option.
21710 (ahosts_keys_int): Add idn_flags to ai_flags.
21711 (parse_option): Handle 'i' option to clear idn_flags.
21712
5f24d53a
UD
21713 * malloc/malloc.c (_int_free): Possible race in the most recently
21714 added check. Only act on the data if no current modification
21715 happened.
265bb1ce
UD
21716
21717See ChangeLog.17 for earlier changes.